[
https://issues.redhat.com/browse/WFLY-12899?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFLY-12899:
-----------------------------------------
[~james-crowley-ibm]
The test assumes an environment variable identifying the user will be available in the
server process. What env var it expects depends on the type of system. The logic to work
out what env var to check is at
https://github.com/wildfly/wildfly/blob/1bf993be72b570a0c780a58ba05cabafe...
If there's some additional logic that can be added there to find a property that will
be set in your env we could look at that. Otherwise we'd need to work out how to
disable that part of the test, or the test altogether, if there is no property.
Looking at the log you linked I see '[2019-12-17T02:14:30.524Z] USER=jenkins' so
perhaps this is just a matter of your test setup propagating that env var?
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
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/1bf993be72b570a0c780a58ba05c...],
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/conso...].
--
This message was sent by Atlassian Jira
(v7.13.8#713008)