{"action":"created","issue":{"url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/111","repository_url":"https://api.github.com/repos/GraphWalker/graphwalker-project","labels_url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/111/comments","events_url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/111/events","html_url":"https://github.com/GraphWalker/graphwalker-project/issues/111","id":193286706,"number":111,"title":"Error occurred in starting fork on building GW locally","user":{"login":"nbdnnm","id":22072588,"avatar_url":"https://avatars.githubusercontent.com/u/22072588?v=3","gravatar_id":"","url":"https://api.github.com/users/nbdnnm","html_url":"https://github.com/nbdnnm","followers_url":"https://api.github.com/users/nbdnnm/followers","following_url":"https://api.github.com/users/nbdnnm/following{/other_user}","gists_url":"https://api.github.com/users/nbdnnm/gists{/gist_id}","starred_url":"https://api.github.com/users/nbdnnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbdnnm/subscriptions","organizations_url":"https://api.github.com/users/nbdnnm/orgs","repos_url":"https://api.github.com/users/nbdnnm/repos","events_url":"https://api.github.com/users/nbdnnm/events{/privacy}","received_events_url":"https://api.github.com/users/nbdnnm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-03T13:26:12Z","updated_at":"2016-12-03T22:06:13Z","closed_at":null,"body":"Given:\r\nThe latest GW snapshot is building on windows 10, maven version info is\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)\r\nMaven home: C:\\Program Files (x86)\\apache-maven-3.3.9\\bin\\..\r\nJava version: 1.8.0_73, vendor: Oracle Corporation\r\nJava home: C:\\Program Files (x86)\\Java\\jdk1.8.0_73\\jre\r\nDefault locale: ru_RU, platform encoding: Cp1251\r\nOS name: \"windows 10\", version: \"10.0\", arch: \"x86\", family: \"dos\"\r\n\r\nWhen:\r\nCommand for building is mvn -e clean package -DskipTest\r\n\r\nThen:\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project graphwalker-cli: ExecutionException Error occurred in starting fork, check output in log -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project graphwalker-cli: ExecutionException Error occurred in starting fork, check output in log\r\n\r\nLog file is below\r\n[mvn_output.zip](https://github.com/GraphWalker/graphwalker-project/files/628877/mvn_output.zip)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/comments/264668726","html_url":"https://github.com/GraphWalker/graphwalker-project/issues/111#issuecomment-264668726","issue_url":"https://api.github.com/repos/GraphWalker/graphwalker-project/issues/111","id":264668726,"user":{"login":"nbdnnm","id":22072588,"avatar_url":"https://avatars.githubusercontent.com/u/22072588?v=3","gravatar_id":"","url":"https://api.github.com/users/nbdnnm","html_url":"https://github.com/nbdnnm","followers_url":"https://api.github.com/users/nbdnnm/followers","following_url":"https://api.github.com/users/nbdnnm/following{/other_user}","gists_url":"https://api.github.com/users/nbdnnm/gists{/gist_id}","starred_url":"https://api.github.com/users/nbdnnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbdnnm/subscriptions","organizations_url":"https://api.github.com/users/nbdnnm/orgs","repos_url":"https://api.github.com/users/nbdnnm/repos","events_url":"https://api.github.com/users/nbdnnm/events{/privacy}","received_events_url":"https://api.github.com/users/nbdnnm/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T22:06:13Z","updated_at":"2016-12-03T22:06:13Z","body":"Yes, I have found already that it should be -DskipTests, I took it from https://github.com/GraphWalker/graphwalker-project/blob/master/appveyor.yml#L4\r\n\r\nAnd regarding this fork error, I have found the root cause as well.\r\nIt is due to this line\r\nhttps://github.com/GraphWalker/graphwalker-project/blob/master/graphwalker-cli/pom.xml#L82\r\nOn my laptop 4 threads so I suppose it fails when tries to create a fifth one.\r\nI see there is possible to set <forkCount>1C</forkCount> which means to take the number of cores\r\n\r\nDon't waste your time, I will send a pull request.\r\n"}}
{"actor":{"display_login":"nbdnnm"}}