{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenLiberty/liberty-arquillian/issues/22","repository_url":"https://api.github.com/repos/OpenLiberty/liberty-arquillian","labels_url":"https://api.github.com/repos/OpenLiberty/liberty-arquillian/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/OpenLiberty/liberty-arquillian/issues/22/comments","events_url":"https://api.github.com/repos/OpenLiberty/liberty-arquillian/issues/22/events","html_url":"https://github.com/OpenLiberty/liberty-arquillian/issues/22","id":344110684,"node_id":"MDU6SXNzdWUzNDQxMTA2ODQ=","number":22,"title":"Invoking liberty-arquillian plugin via maven uses shell 'WLP_USER_DIR' env var, which may not be set correctly.","user":{"login":"scottkurz","id":4081634,"node_id":"MDQ6VXNlcjQwODE2MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4081634?v=4","gravatar_id":"","url":"https://api.github.com/users/scottkurz","html_url":"https://github.com/scottkurz","followers_url":"https://api.github.com/users/scottkurz/followers","following_url":"https://api.github.com/users/scottkurz/following{/other_user}","gists_url":"https://api.github.com/users/scottkurz/gists{/gist_id}","starred_url":"https://api.github.com/users/scottkurz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottkurz/subscriptions","organizations_url":"https://api.github.com/users/scottkurz/orgs","repos_url":"https://api.github.com/users/scottkurz/repos","events_url":"https://api.github.com/users/scottkurz/events{/privacy}","received_events_url":"https://api.github.com/users/scottkurz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-24T16:22:21Z","updated_at":"2018-07-24T16:22:21Z","closed_at":null,"author_association":"MEMBER","body":"### Issue Overview\r\n\r\nInvoking **liberty-arquillian** plugin via mvn with the **WLP_USER_DIR** set can cause a failure to start the Liberty server, if it is not set to _wlpHome_/usr.\r\n\r\n##### Steps To Reproduce\r\n1.  From your shell:\r\n> export WLP_USER_DIR=.../some/other/wlp/usr\r\n2.  Clone the ci.maven project (will take a few minutes to get this far)\r\n> git@github.com:WASdev/ci.maven.git\r\n3.  Run integration tests\r\n>  mvn install -Ponline-its -Druntime=ol -DruntimeVersion=18.0.0.2\r\n4. Look for the failure in:  _.../target/it/arquillian-tests/build.log_\r\n\r\n#### Workaround\r\n\r\nYou can workaround by:\r\n> unset WLP_USER_DIR\r\n\r\n## Suggested solution\r\n\r\nBack [here](https://github.com/OpenLiberty/liberty-arquillian/commit/4a4b74429dbc41d23858d9dc6) deploy was changed to only look at **WLP_USER_DIR** in one of the **server.env** locations.\r\n\r\nPerhaps, to be consistent we should do something similar.\r\n\r\nThere are a few variations on this I could think up quick:\r\n* perhaps `WLPManagedContainer.start()` should unset this **WLP_USER_DIR** env var before launching the server\r\n* perhaps server.env should itself contain the location when it is generated\r\n\r\n\r\n\r\nto only look at one of the server.env files.\r\n\r\n"}}
{"actor":{"display_login":"scottkurz"}}