[jboss-jira] [JBoss JIRA] (WFLY-12899) Failing JMXPropertyEditorsTestCase in 18.0.0.Final
James Crowley (Jira)
issues at jboss.org
Wed Jan 15 08:34:52 EST 2020
[ https://issues.redhat.com/browse/WFLY-12899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949136#comment-13949136 ]
James Crowley commented on WFLY-12899:
--------------------------------------
[~baranowb] You are correct that Jenkins is triggering the docker to test WFLY.
Manually, setting USER works but seems odd. I agree most of the time on Linux systems USER will be set, but here we are with the issue with Docker.
If this is suppose check env variables expansion, could you not assert a random environment variable specifically for this test? I feel that would be cleaner then assuming the Linux system will have USER set.
> Failing JMXPropertyEditorsTestCase in 18.0.0.Final
> --------------------------------------------------
>
> Key: WFLY-12899
> URL: https://issues.redhat.com/browse/WFLY-12899
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 18.0.0.Final
> Reporter: James Crowley
> Assignee: Bartosz Baranowski
> Priority: Major
>
> When calling "./mvnw install -DallTests", it gets up to the JMXPropertyEditorsTestCase and fails with this error, "Caused by: java.lang.IllegalStateException: Failed to resolve expression: env.USER"}}}}".
> Looking at the source code for the test [here|https://github.com/wildfly/wildfly/blob/1bf993be72b570a0c780a58ba05cabafe1ce7935/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ee/jmx/property/JMXPropertyEditorsTestCase.java#L148], it looks like USER is suppose to be defined by USER_SYS_PROP.
> I am not sure what the problem is but I know it is failing somewhere in the above test.
> You can see the full log in the in Adopt's test [here|https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1436/consoleText].
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list