{"action":"created","issue":{"url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/399","repository_url":"https://api.github.com/repos/arquillian/arquillian-cube","labels_url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/399/comments","events_url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/399/events","html_url":"https://github.com/arquillian/arquillian-cube/issues/399","id":166284348,"number":399,"title":"Can't build the master","user":{"login":"iocanel","id":402008,"avatar_url":"https://avatars.githubusercontent.com/u/402008?v=3","gravatar_id":"","url":"https://api.github.com/users/iocanel","html_url":"https://github.com/iocanel","followers_url":"https://api.github.com/users/iocanel/followers","following_url":"https://api.github.com/users/iocanel/following{/other_user}","gists_url":"https://api.github.com/users/iocanel/gists{/gist_id}","starred_url":"https://api.github.com/users/iocanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocanel/subscriptions","organizations_url":"https://api.github.com/users/iocanel/orgs","repos_url":"https://api.github.com/users/iocanel/repos","events_url":"https://api.github.com/users/iocanel/events{/privacy}","received_events_url":"https://api.github.com/users/iocanel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-19T09:17:26Z","updated_at":"2016-07-19T09:57:48Z","closed_at":null,"body":"I tried to build the master and hit all kinds of issues, so apparently I miss something.\r\n\r\n1. Tried with JDK 1.7.0_79 and I am hitting `is missing value for the attribute <clinit>`.\r\n2. Tried with JDK 1.8.0_91 and I am having test failures:\r\n\r\n<details>\r\n  <summary>Failed tests</summary>\r\n````\r\n CubeConfiguratorTest.dockerUriConfigurationParameterShouldTakePrecedenceOverSystemEnv:413 \r\nExpected: map containing [is \"certPath\"->a string ending with \".boot2docker/certs/boot2docker-vm\"]\r\n     but: map was [<serverUri=tcp://192.168.0.1:22222>, <dockerServerIp=192.168.0.1>, <tlsVerify=false>]\r\n  CubeConfiguratorTest.shouldUseBoot2DockerIfDockerHostIsSetOnServerURIByDefault:109 \r\nExpected: map containing [is \"certPath\"->a string ending with \".boot2docker/certs/boot2docker-vm\"]\r\n     but: map was [<serverUri=tcp://192.168.0.1:22222>, <dockerServerIp=192.168.0.1>, <tlsVerify=false>]\r\n  CubeConfiguratorTest.tlsVerifyShouldBeTrueInCaseOfCertPathPresent:333 \r\nExpected: map containing [\"tlsVerify\"->\"true\"]\r\n     but: map was [<serverUri=tcp://192.168.0.2:22222>, <dockerServerIp=192.168.0.2>, <tlsVerify=false>]\r\n  CubeConfiguratorTest.tlsVerifyShouldBeTrueInCaseOfNotSetAndDockerHostTagNotPresent:271 \r\nExpected: map containing [\"tlsVerify\"->\"true\"]\r\n     but: map was [<serverUri=tcp://192.168.0.2:22222>, <dockerServerIp=192.168.0.2>, <tlsVerify=false>]\r\n  CubeConfiguratorTest.tlsVerifyShouldBeTrueInCaseOfNotSetAndDockerHostTagPresent:317 \r\nExpected: map containing [\"tlsVerify\"->\"true\"]\r\n     but: map was [<serverUri=tcp://192.168.0.2:22222>, <dockerServerIp=192.168.0.2>, <tlsVerify=false>]\r\n````\r\n</details>\r\n<details>\r\n  <summary>Tests in error</summary>\r\n````\r\n  AwaitStrategyTest.should_be_able_to_use_wait_for_it_await_strategy:41 » Execution\r\n````\r\n</details>\r\n\r\nIn both cases tried with maven  3.3.9 \r\n\r\nSome of the failures give me the impression that certain env variables or system properties are expected to be found. Now, I would expect that these are either set by surefire or documented?\r\n\r\nEDIT: With a closer look it seems that most of my problems come from the fact that the value of tlsVerify is false. This is also the root cause why the `certPath` is not present. FWIW I am on linux.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/comments/233585803","html_url":"https://github.com/arquillian/arquillian-cube/issues/399#issuecomment-233585803","issue_url":"https://api.github.com/repos/arquillian/arquillian-cube/issues/399","id":233585803,"user":{"login":"iocanel","id":402008,"avatar_url":"https://avatars.githubusercontent.com/u/402008?v=3","gravatar_id":"","url":"https://api.github.com/users/iocanel","html_url":"https://github.com/iocanel","followers_url":"https://api.github.com/users/iocanel/followers","following_url":"https://api.github.com/users/iocanel/following{/other_user}","gists_url":"https://api.github.com/users/iocanel/gists{/gist_id}","starred_url":"https://api.github.com/users/iocanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocanel/subscriptions","organizations_url":"https://api.github.com/users/iocanel/orgs","repos_url":"https://api.github.com/users/iocanel/repos","events_url":"https://api.github.com/users/iocanel/events{/privacy}","received_events_url":"https://api.github.com/users/iocanel/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T09:57:48Z","updated_at":"2016-07-19T09:57:48Z","body":"@lordofthejars: There is something missing here (or I am missing something obvious).\r\n\r\nTake `tlsVerifyShouldBeTrueInCaseOfNotSetAndDockerHostTagPresent` for example:\r\n\r\n- docker uri is provided explicitly\r\n- tls is not set\r\n\r\nso its expected that tlsVerify = true but I do get tlsVerify=false, why?\r\n\r\naccording to https://github.com/arquillian/arquillian-cube/blob/2889021b9ef893da32f7f9e6bd577dda0b489625/docker/docker/src/main/java/org/arquillian/cube/docker/impl/client/CubeDockerConfigurator.java#L346 if you are on linux and docker machine is not set, then tlsVerify shoud be false. Now, I am on Linux and the test case doesn't mock something related to docker machines (or at least this is my understanding).\r\n\r\n\r\n"}}
{"actor":{"display_login":"iocanel"}}