Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[WFCORE-4369] Fixing JDK 13 test issue #3702
Conversation
This comment has been minimized.
This comment has been minimized.
|
Please review @darranl |
This comment has been minimized.
This comment has been minimized.
wildfly-ci
commented
Mar 12, 2019
|
Core - Full Integration Build 8408 outcome was FAILURE using a merge of 95e2cfe |
This comment has been minimized.
This comment has been minimized.
|
This seems to be suffering from a lot of CI problems. |
….Provider was replaced with sun.security.ssl.SunJSSE.
This comment has been minimized.
This comment has been minimized.
|
All should be OK now @darranl |
This comment has been minimized.
This comment has been minimized.
|
@mchoma Do you have an IBM environment available to double check this one? I would like to get it merged but our CI doesn't cover the IBM JDK. |
This comment has been minimized.
This comment has been minimized.
|
We don't seem to have an IBM JDK11 in our CI. |
This comment has been minimized.
This comment has been minimized.
|
we dont have ibm jdk11 neither. |
| <!-- for needs of SaslTestCase and KeyStoresTestCase --> | ||
| <subsystem xmlns="urn:wildfly:elytron:7.0" default-ssl-context="ClientSslContextNoAuth"> | ||
| <providers> | ||
| <provider-loader name="ManagerProviderLoader" class-names="sun.security.ssl.SunJSSE"/> |
This comment has been minimized.
This comment has been minimized.
mchoma
Mar 26, 2019
Contributor
so that is only one change compared to tls-sun.xml. Could be tls-sun.xml parametrized?
This comment has been minimized.
This comment has been minimized.
ropalka
Mar 26, 2019
Author
Contributor
I'm not that familiar with WildFly configuration mock test support @mchoma .
@darranl @bstansberry @kabir is it possible to parametrize subsystem test configurations
based on condition comparing 'java.specification.version' JVM property?
This comment has been minimized.
This comment has been minimized.
bstansberry
Mar 26, 2019
Contributor
If the attribute supports expressions you can put an expression in the xml and then set a system property before running the test; e.g. the code you have now that's selecting which config file could instead set a property.
I haven't looked, but these may not support expressions. Historically we didn't for 'class name' attributes. For no great reason really. This is the first good use case for using them in that kind of attribute that I've seen.
This comment has been minimized.
This comment has been minimized.
ropalka
Mar 27, 2019
•
Author
Contributor
@mchoma I'm not going to investigate this. Let's leave the proposed changes as they are - it's all just about tests and not implementation.
This comment has been minimized.
This comment has been minimized.
mchoma
Mar 27, 2019
Contributor
Ok I dont insist. Setting /elytron/provider-loader/class-names/expressions-allowed = true would help. But as Brian said it is everywhere else false. So we should be consistent.
This comment has been minimized.
This comment has been minimized.
bstansberry
Mar 27, 2019
Contributor
I don't mind changing an expressions-allowed setting if that's what Darran/Farah/Jeff Mesnil prefer. There's really not a good reason for having those as false and if there's a reasonable, understandable use case for true for a particular attribute I don't think we have to enforce a rule against it.
I agree a change like that is beyond the scope of this PR though.
This comment has been minimized.
This comment has been minimized.
mchoma
Mar 27, 2019
Contributor
Thinking again. Shouldn't it work without provider-loader name="ManagerProviderLoader" by default?. So by default using just system providers? Or is specifying provider loader what is tested here?
This comment has been minimized.
This comment has been minimized.
darranl
Mar 27, 2019
Contributor
Off topic for this PR but when we started defining attributes with expression support enabled and disabled it was primarily to avoid references to other parts of the model being handled as an expression, but at the time we didn't have support for capabilities.
I wonder if we are getting nearer to a point where expression support is enabled unless the attribute is a capability reference.
This comment has been minimized.
This comment has been minimized.
|
I've commented on this PR as part of general discussing but am not approving or disapproving, so don't wait for me. Looks like @darranl is reviewing. The custom IBM JDK 8 test job I ran against this branch (link above) produced the same results as the normal nightly runs. We get 13 failures, which would be good to sort, but that's out of scope for this PR. No failures in the elytron subsystem tests. |
a988279
into
wildfly:master
ropalka commentedMar 12, 2019
https://issues.jboss.org/browse/WFCORE-4369