{"action":"created","issue":{"url":"https://api.github.com/repos/fossology/fossology/issues/1092","repository_url":"https://api.github.com/repos/fossology/fossology","labels_url":"https://api.github.com/repos/fossology/fossology/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/fossology/fossology/issues/1092/comments","events_url":"https://api.github.com/repos/fossology/fossology/issues/1092/events","html_url":"https://github.com/fossology/fossology/pull/1092","id":321036331,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2NTIyMTQx","number":1092,"title":"fix(testCases): Fix scheduler and ununpack test cases","user":{"login":"GMishx","id":18077542,"node_id":"MDQ6VXNlcjE4MDc3NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/18077542?v=4","gravatar_id":"","url":"https://api.github.com/users/GMishx","html_url":"https://github.com/GMishx","followers_url":"https://api.github.com/users/GMishx/followers","following_url":"https://api.github.com/users/GMishx/following{/other_user}","gists_url":"https://api.github.com/users/GMishx/gists{/gist_id}","starred_url":"https://api.github.com/users/GMishx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMishx/subscriptions","organizations_url":"https://api.github.com/users/GMishx/orgs","repos_url":"https://api.github.com/users/GMishx/repos","events_url":"https://api.github.com/users/GMishx/events{/privacy}","received_events_url":"https://api.github.com/users/GMishx/received_events","type":"User","site_admin":false},"labels":[{"id":287442899,"node_id":"MDU6TGFiZWwyODc0NDI4OTk=","url":"https://api.github.com/repos/fossology/fossology/labels/in%20review","name":"in review","color":"88d369","default":false},{"id":722625962,"node_id":"MDU6TGFiZWw3MjI2MjU5NjI=","url":"https://api.github.com/repos/fossology/fossology/labels/needs%20test","name":"needs test","color":"78e27d","default":false}],"state":"open","locked":false,"assignee":{"login":"ag4ums","id":6360640,"node_id":"MDQ6VXNlcjYzNjA2NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6360640?v=4","gravatar_id":"","url":"https://api.github.com/users/ag4ums","html_url":"https://github.com/ag4ums","followers_url":"https://api.github.com/users/ag4ums/followers","following_url":"https://api.github.com/users/ag4ums/following{/other_user}","gists_url":"https://api.github.com/users/ag4ums/gists{/gist_id}","starred_url":"https://api.github.com/users/ag4ums/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ag4ums/subscriptions","organizations_url":"https://api.github.com/users/ag4ums/orgs","repos_url":"https://api.github.com/users/ag4ums/repos","events_url":"https://api.github.com/users/ag4ums/events{/privacy}","received_events_url":"https://api.github.com/users/ag4ums/received_events","type":"User","site_admin":false},"assignees":[{"login":"ag4ums","id":6360640,"node_id":"MDQ6VXNlcjYzNjA2NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6360640?v=4","gravatar_id":"","url":"https://api.github.com/users/ag4ums","html_url":"https://github.com/ag4ums","followers_url":"https://api.github.com/users/ag4ums/followers","following_url":"https://api.github.com/users/ag4ums/following{/other_user}","gists_url":"https://api.github.com/users/ag4ums/gists{/gist_id}","starred_url":"https://api.github.com/users/ag4ums/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ag4ums/subscriptions","organizations_url":"https://api.github.com/users/ag4ums/orgs","repos_url":"https://api.github.com/users/ag4ums/repos","events_url":"https://api.github.com/users/ag4ums/events{/privacy}","received_events_url":"https://api.github.com/users/ag4ums/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-05-08T04:11:15Z","updated_at":"2018-05-31T10:00:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/fossology/fossology/pulls/1092","html_url":"https://github.com/fossology/fossology/pull/1092","diff_url":"https://github.com/fossology/fossology/pull/1092.diff","patch_url":"https://github.com/fossology/fossology/pull/1092.patch"},"body":"**Changes:**\r\n\r\n1.  Can directly call `make test` from top directory to test every agent.\r\n2.  Prevent printing VERSION file command.\r\n3.  Change LLVM repository from precise to trusty.\r\n4.  Changes suggested by clang-7 (C++17):\r\n>  Removed call to move for copy elision.\r\n>  ![copyright_error](https://user-images.githubusercontent.com/18077542/39737474-e97e36be-52a2-11e8-9d04-f826bdaa96ff.png)\r\n>  ![wget_error](https://user-images.githubusercontent.com/18077542/39737475-e9c004d6-52a2-11e8-9469-7ab1c8928d70.png)\r\n\r\n**How to test:**\r\n\r\n1.  Make directory `/srv/fossologyTestRepo` and give permission to current user:\r\n```\r\nsudo mkdir -p /srv/fossologyTestRepo\r\nsudo chown $(whoami) /srv/fossologyTestRepo\r\n```\r\n2.  Create `fossologytest` and `fossy` user in PostgreSQL and save their passwords in `~/.pgpass`.\r\n```\r\npsql -c \"CREATE USER fossy WITH CREATEDB LOGIN PASSWORD 'fossy';\" -U postgres\r\npsql -c \"CREATE USER fossologytest WITH CREATEDB LOGIN PASSWORD 'fossologytest';\" -U postgres\r\necho \"localhost:*:*:fossy:fossy\" >> ~/.pgpass\r\necho \"localhost:*:*:fossologytest:fossologytest\" >> ~/.pgpass\r\nchmod 0600 ~/.pgpass\r\n```\r\n3.  Install composer dependencies\r\n```\r\ncd src && composer install\r\n```\r\n4.  Run `make all test`\r\n5.  Install cppcheck `sudo apt-get install cppcheck`.\r\n6.  Run `cppcheck -q -isrc/nomos/agent_tests/testdata/NomosTestfiles/ -isrc/testing/dataFiles/ --suppress=*:src/copyright/agent/json.hpp src/`"},"comment":{"url":"https://api.github.com/repos/fossology/fossology/issues/comments/393480830","html_url":"https://github.com/fossology/fossology/pull/1092#issuecomment-393480830","issue_url":"https://api.github.com/repos/fossology/fossology/issues/1092","id":393480830,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzQ4MDgzMA==","user":{"login":"ag4ums","id":6360640,"node_id":"MDQ6VXNlcjYzNjA2NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6360640?v=4","gravatar_id":"","url":"https://api.github.com/users/ag4ums","html_url":"https://github.com/ag4ums","followers_url":"https://api.github.com/users/ag4ums/followers","following_url":"https://api.github.com/users/ag4ums/following{/other_user}","gists_url":"https://api.github.com/users/ag4ums/gists{/gist_id}","starred_url":"https://api.github.com/users/ag4ums/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ag4ums/subscriptions","organizations_url":"https://api.github.com/users/ag4ums/orgs","repos_url":"https://api.github.com/users/ag4ums/repos","events_url":"https://api.github.com/users/ag4ums/events{/privacy}","received_events_url":"https://api.github.com/users/ag4ums/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T10:00:36Z","updated_at":"2018-05-31T10:00:36Z","author_association":"CONTRIBUTOR","body":"though not failing in travis but seems there are some problem with unpack test:\r\n![image](https://user-images.githubusercontent.com/6360640/40776144-8a2bcdb4-64e7-11e8-9039-231591e05560.png)\r\n"}}
{"actor":{"display_login":"ag4ums"}}