{"action":"opened","number":10385,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385","id":230779761,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNzc5NzYx","html_url":"https://github.com/RIOT-OS/RIOT/pull/10385","diff_url":"https://github.com/RIOT-OS/RIOT/pull/10385.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/10385.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10385","number":10385,"state":"open","locked":false,"title":"tests/puf_sram: add input args to automation script","user":{"login":"PeterKietzmann","id":7765855,"node_id":"MDQ6VXNlcjc3NjU4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7765855?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"body":"### Contribution description\r\n\r\nThis PR adds optional input arguments to the automation script for estimating the minimum entropy of the SRAM based random seed (*tests/puf_sram*). It is needed to change the serial port or baudrate when changing to platforms with different serial parameters.\r\n\r\n### Testing procedure\r\n\r\n- Calling the script without parameters should lead to the same behavior as before\r\n- Calling script help (`example_test.py -h`) should show information about input parameters\r\n```\r\nusage: example_test.py [-h] [-n NUMBER] [-t OFF_TIME] [-p PORT] [-b BAUDRATE]\r\n                       [-d]\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  -n NUMBER, --number NUMBER\r\n                        Number of iterations, default: 500\r\n  -t OFF_TIME, --off_time OFF_TIME\r\n                        Off time, default: 1 [s]\r\n  -p PORT, --port PORT  Serial port, default: /dev/ttyUSB0\r\n  -b BAUDRATE, --baudrate BAUDRATE\r\n                        Baudrate of the serial port, default: 115200\r\n  -d, --disable_output  Disable verbose output\r\n```\r\n- `example_test.py -n 3 -t 10` should reduce the number of iterations to 3 and the power-off time before restart to 10 seconds\r\n- - `example_test.py -d` disables intermediate status reports but the board reboots anyway (status LEDs turn of repeatedly)\r\n- Changing the `-p` or `-b` parameters doesn't make sense right now, as these parameters are fixed for boards\r\n\r\n### Issues/PRs references\r\nn/a","created_at":"2018-11-14T10:18:25Z","updated_at":"2018-11-14T10:18:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":89588546,"node_id":"MDU6TGFiZWw4OTU4ODU0Ng==","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Area:%20tests","name":"Area: tests","color":"6600ff","default":false},{"id":23399100,"node_id":"MDU6TGFiZWwyMzM5OTEwMA==","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Type:%20enhancement","name":"Type: enhancement","color":"ffff66","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10385/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/08c56fa57cb4381093197a7c483c768b001cbf8e","head":{"label":"PeterKietzmann:pr_tests_puf_args","ref":"pr_tests_puf_args","sha":"08c56fa57cb4381093197a7c483c768b001cbf8e","user":{"login":"PeterKietzmann","id":7765855,"node_id":"MDQ6VXNlcjc3NjU4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7765855?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"repo":{"id":20397381,"node_id":"MDEwOlJlcG9zaXRvcnkyMDM5NzM4MQ==","name":"RIOT","full_name":"PeterKietzmann/RIOT","private":false,"owner":{"login":"PeterKietzmann","id":7765855,"node_id":"MDQ6VXNlcjc3NjU4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7765855?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"html_url":"https://github.com/PeterKietzmann/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/PeterKietzmann/RIOT","forks_url":"https://api.github.com/repos/PeterKietzmann/RIOT/forks","keys_url":"https://api.github.com/repos/PeterKietzmann/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterKietzmann/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterKietzmann/RIOT/teams","hooks_url":"https://api.github.com/repos/PeterKietzmann/RIOT/hooks","issue_events_url":"https://api.github.com/repos/PeterKietzmann/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/PeterKietzmann/RIOT/events","assignees_url":"https://api.github.com/repos/PeterKietzmann/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/PeterKietzmann/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/PeterKietzmann/RIOT/tags","blobs_url":"https://api.github.com/repos/PeterKietzmann/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterKietzmann/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterKietzmann/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterKietzmann/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterKietzmann/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterKietzmann/RIOT/languages","stargazers_url":"https://api.github.com/repos/PeterKietzmann/RIOT/stargazers","contributors_url":"https://api.github.com/repos/PeterKietzmann/RIOT/contributors","subscribers_url":"https://api.github.com/repos/PeterKietzmann/RIOT/subscribers","subscription_url":"https://api.github.com/repos/PeterKietzmann/RIOT/subscription","commits_url":"https://api.github.com/repos/PeterKietzmann/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterKietzmann/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterKietzmann/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterKietzmann/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterKietzmann/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/PeterKietzmann/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterKietzmann/RIOT/merges","archive_url":"https://api.github.com/repos/PeterKietzmann/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterKietzmann/RIOT/downloads","issues_url":"https://api.github.com/repos/PeterKietzmann/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/PeterKietzmann/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterKietzmann/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterKietzmann/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterKietzmann/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/PeterKietzmann/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/PeterKietzmann/RIOT/deployments","created_at":"2014-06-02T08:28:21Z","updated_at":"2016-01-14T12:33:56Z","pushed_at":"2018-11-14T10:05:35Z","git_url":"git://github.com/PeterKietzmann/RIOT.git","ssh_url":"git@github.com:PeterKietzmann/RIOT.git","clone_url":"https://github.com/PeterKietzmann/RIOT.git","svn_url":"https://github.com/PeterKietzmann/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":60848,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"83ca890ef737263c48a8d1a66e8fc1c6599c7fea","user":{"login":"RIOT-OS","id":3079480,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzk0ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"node_id":"MDEwOlJlcG9zaXRvcnk3MzcwMjQx","name":"RIOT","full_name":"RIOT-OS/RIOT","private":false,"owner":{"login":"RIOT-OS","id":3079480,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzk0ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2018-11-14T08:17:41Z","pushed_at":"2018-11-14T07:51:51Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":59336,"stargazers_count":2101,"watchers_count":2101,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1177,"mirror_url":null,"archived":false,"open_issues_count":878,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":1177,"open_issues":878,"watchers":2101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/10385"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10385"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/10385/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/10385/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/08c56fa57cb4381093197a7c483c768b001cbf8e"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":25,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"PeterKietzmann"}}