{"action":"created","issue":{"url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/5","repository_url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage","labels_url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/5/comments","events_url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/5/events","html_url":"https://github.com/julianghionoiu/dpnt-coverage/pull/5","id":326320011,"number":5,"title":"Java container test for challenges SUM and CHK","user":{"login":"neomatrix369","id":1570917,"avatar_url":"https://avatars0.githubusercontent.com/u/1570917?v=4","gravatar_id":"","url":"https://api.github.com/users/neomatrix369","html_url":"https://github.com/neomatrix369","followers_url":"https://api.github.com/users/neomatrix369/followers","following_url":"https://api.github.com/users/neomatrix369/following{/other_user}","gists_url":"https://api.github.com/users/neomatrix369/gists{/gist_id}","starred_url":"https://api.github.com/users/neomatrix369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomatrix369/subscriptions","organizations_url":"https://api.github.com/users/neomatrix369/orgs","repos_url":"https://api.github.com/users/neomatrix369/repos","events_url":"https://api.github.com/users/neomatrix369/events{/privacy}","received_events_url":"https://api.github.com/users/neomatrix369/received_events","type":"User","site_admin":false},"labels":[{"id":816100951,"url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-24T22:34:27Z","updated_at":"2018-05-25T14:42:41Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/pulls/5","html_url":"https://github.com/julianghionoiu/dpnt-coverage/pull/5","diff_url":"https://github.com/julianghionoiu/dpnt-coverage/pull/5.diff","patch_url":"https://github.com/julianghionoiu/dpnt-coverage/pull/5.patch"},"body":"- a skeleton test put in place based on the descriptions on https://gist.github.com/julianghionoiu/7d00a280ae1a8beeb60d9c929500a636\r\n- README in the `/dpnt-coverage/container/README.md` folder may not have all the details\r\n- was unable to run this instance on local machine due to the below (might be missing setup):\r\n```\r\n+ echo '~~~~~~ Clone and switch to TAG ~~~~~~'\r\n+ LOCAL_REPO_DESTINATION=/srv/tdl-runner\r\n+ [[ https://github.com/julianghionoiu/tdl-runner-java == s3://* ]]\r\n+ echo 'Assuming Git repo'\r\n+ git clone https://github.com/julianghionoiu/tdl-runner-java /srv/tdl-runner\r\nCloning into '/srv/tdl-runner'...    <==== cloning in the /srv/... folder is undesired, does not work well on local machines\r\n+ local_git='git --git-dir=/srv/tdl-runner/.git --work-tree=/srv/tdl-runner'\r\n+ git --git-dir=/srv/tdl-runner/.git --work-tree=/srv/tdl-runner checkout master\r\nAlready on 'master'\r\n+ git --git-dir=/srv/tdl-runner/.git --work-tree=/srv/tdl-runner pull origin master\r\nFrom https://github.com/julianghionoiu/tdl-runner-java\r\n * branch            master     -> FETCH_HEAD\r\n+ COVERAGE_SCRIPT=/srv/tdl-runner/get_coverage_for_challenge.sh\r\n+ chmod a+x /srv/tdl-runner/get_coverage_for_challenge.sh\r\n+ sed -i 's/\\r//g' /srv/tdl-runner/get_coverage_for_challenge.sh\r\n+ echo '~~~~~~ START run external script ~~~~~~'\r\n+ /srv/tdl-runner/get_coverage_for_challenge.sh SUM\r\n+ set -e\r\n+ set -u\r\n+ set -o pipefail\r\n+++ dirname /srv/tdl-runner/get_coverage_for_challenge.sh\r\n++ cd /srv/tdl-runner\r\n++ pwd\r\n+ SCRIPT_CURRENT_DIR=/srv/tdl-runner\r\n+ CHALLENGE_ID=SUM\r\n+ JACOCO_TEST_REPORT_XML_FILE=/srv/tdl-runner/build/reports/jacoco/test/jacocoTestReport.xml\r\n+ mkdir -p /srv/tdl-runner/target\r\n+ JAVA_CODE_COVERAGE_INFO=/srv/tdl-runner/target/java-code-coverage.txt\r\n+ ./gradlew -q clean test jacocoTestReport\r\n/srv/tdl-runner/get_coverage_for_challenge.sh: line 15: ./gradlew: No such file or directory\r\n+ true\r\n+ '[' -e /srv/tdl-runner/target/java-code-coverage.txt ']'\r\n+ '[' -f /srv/tdl-runner/build/reports/jacoco/test/jacocoTestReport.xml ']'\r\n+ echo 'No coverage report was found'\r\n+ exit -1\r\nTest failed due to exit code mismatch\r\n   Actual exit code: 255\r\n   Expected exit code: 0\r\nTest failed due to result mismatch\r\n   Actual result: 'Compute language specific name+version\r\nRunning accelerate-io/dpnt-coverage-java:0.1 from the local docker registry\r\nAssuming Git repo\r\nYour branch is up-to-date with 'origin/master'.\r\nAlready up-to-date.\r\nNo coverage report was found'\r\n   Expected result: '100'\r\n```\r\n- docker java image is installing components that could have been installed in the base image (image building is taking a bit long):\r\n```\r\nGet:123 http://deb.debian.org/debian/ jessie/main libsisu-guice-java all 3.2.4-1 [614 kB]\r\nGet:124 http://deb.debian.org/debian/ jessie/main libsisu-ioc-java all 2.3.0-5 [458 kB]\r\nGet:125 http://deb.debian.org/debian/ jessie/main libaether-java all 1.13.1-2 [495 kB]\r\nGet:126 http://deb.debian.org/debian/ jessie/main libjackrabbit-java all 2.3.6-1+deb8u2 [276 kB]\r\nGet:127 http://deb.debian.org/debian/ jessie/main libjsch-agent-proxy-java all 0.0.7-1 [23.1 kB]\r\nGet:128 http://deb.debian.org/debian/ jessie/main libmaven-parent-java all 21-2 [5744 B]\r\nGet:129 http://deb.debian.org/debian/ jessie/main libwagon2-java all 2.7-1 [2021 kB]\r\nGet:130 http://deb.debian.org/debian/ jessie/main maven all 3.0.5-3 [1281 kB]\r\nGet:131 http://deb.debian.org/debian/ jessie/main libgradle-core-java all 1.5-2 [4000 kB]\r\n```"},"comment":{"url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/comments/392079836","html_url":"https://github.com/julianghionoiu/dpnt-coverage/pull/5#issuecomment-392079836","issue_url":"https://api.github.com/repos/julianghionoiu/dpnt-coverage/issues/5","id":392079836,"user":{"login":"neomatrix369","id":1570917,"avatar_url":"https://avatars0.githubusercontent.com/u/1570917?v=4","gravatar_id":"","url":"https://api.github.com/users/neomatrix369","html_url":"https://github.com/neomatrix369","followers_url":"https://api.github.com/users/neomatrix369/followers","following_url":"https://api.github.com/users/neomatrix369/following{/other_user}","gists_url":"https://api.github.com/users/neomatrix369/gists{/gist_id}","starred_url":"https://api.github.com/users/neomatrix369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomatrix369/subscriptions","organizations_url":"https://api.github.com/users/neomatrix369/orgs","repos_url":"https://api.github.com/users/neomatrix369/repos","events_url":"https://api.github.com/users/neomatrix369/events{/privacy}","received_events_url":"https://api.github.com/users/neomatrix369/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T14:42:41Z","updated_at":"2018-05-25T14:42:41Z","author_association":"COLLABORATOR","body":"https://github.com/julianghionoiu/dpnt-coverage/pull/5#issuecomment-392079333: Have you had successful runs with the new refactored version? Did all the programs run in the root context? "}}
{"actor":{"display_login":"neomatrix369"}}