[WFCORE-6937] Testing of write-attribute calls is low for the Elytron…
… subsystem
https://issues.redhat.com/browse/WFCORE-6937
Hello, pedro-hos. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment.
/ok-to-test
Core -> WildFly Preview Integration Build 13924 outcome was UNKNOWN using a merge of df2416d0e7ff148197f0a16b5806d598f9ef4bf0 Summary: Canceled (Tests failed: 1 (1 new), passed: 4942, ignored: 60; Step 5/6) Build time: 03:23:37
Failed tests
org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase(layers-test): org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase(layers-test).org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase: java.lang.AssertionError
at org.wildfly.test.integration.elytron.oidc.client.OidcBaseTest.sendRealmCreationRequest(OidcBaseTest.java:136)
at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase$KeycloakAndSubsystemSetup.setup(OidcIdentityPropagationTestCase.java:775)
at org.jboss.as.arquillian.container.ServerSetupObserver$ServerSetupTaskHolder.setup(ServerSetupObserver.java:249)
at org.jboss.as.arquillian.container.ServerSetupObserver.executeSetup(ServerSetupObserver.java:180)
at org.jboss.as.arquillian.container.ServerSetupObserver.handleBeforeDeployment(ServerSetupObserver.java:113)
at jdk.internal.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
------- Stdout: -------
[0m15:44:20,633 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
[0m [0m15:44:20,635 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0008: Undertow HTTP listener default suspending
[0m [0m15:44:20,636 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
[0m [0m15:44:20,636 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 2.3.17.Final stopping
[0m [0m15:44:20,650 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment arquillian-service (runtime-name: arquillian-service) in 20ms
[0m [0m15:44:20,663 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Preview 34.0.0.Beta1-SNAPSHOT (WildFly Core 26.0.0.Beta4-SNAPSHOT) stopped in 33ms
[0m [0m15:44:20,664 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Preview 34.0.0.Beta1-SNAPSHOT (WildFly Core 26.0.0.Beta4-SNAPSHOT) starting
[0m [0m15:44:20,781 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
[0m [33m15:44:20,813 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY00023: KeyStore file '/opt/buildAgent/work/e8e0dd9c7c4ba60/full/testsuite/integration/elytron-oidc-client/target/wildfly/standalone/configuration/application.keystore' does not exist. Used blank.
[0m [33m15:44:20,814 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY01084: KeyStore /opt/buildAgent/work/e8e0dd9c7c4ba60/full/testsuite/integration/elytron-oidc-client/target/wildfly/standalone/configuration/application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost
[0m [0m15:44:20,817 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem.
[0m [0m15:44:20,822 INFO [org.wildfly.extension.elytron.oidc._private] (ServerService Thread Pool -- 35) WFLYOIDC0001: Activating WildFly Elytron OIDC Subsystem
[0m [0m15:44:20,832 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors
[0m [0m15:44:20,833 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
[0m [0m15:44:20,833 INFO [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 16 (per class), which is derived from thread worker pool sizing.
[0m [0m15:44:20,834 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 38) WFLYRS0016: RESTEasy version 7.0.0.Alpha3
[0m [0m15:44:20,836 INFO [org.jboss.as.connector] (MSC service thread 1-7) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 3.0.10.Final)
[0m [0m15:44:20,838 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 42) WFLYNAM0001: Activating Naming Subsystem
[0m [0m15:44:20,840 INFO [org.jboss.as.naming] (MSC service thread 1-7) WFLYNAM0003: Starting Naming Service
[0m [33m15:44:20,844 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 47) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
[0m [0m15:44:20,855 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003: Undertow 2.3.17.Final starting
[0m [0m15:44:20,860 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/buildAgent/work/e8e0dd9c7c4ba60/full/testsuite/integration/elytron-oidc-client/target/wildfly/standalone/deployments
[0m [0m15:44:20,860 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "arquillian-service" (runtime-name: "arquillian-service")
[0m [0m15:44:20,860 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0012: Started server default-server.
Core -> Full Integration Build 14145 outcome was UNKNOWN using a merge of df2416d0e7ff148197f0a16b5806d598f9ef4bf0 Summary: Canceled (Tests passed: 3946, ignored: 55; Step 6/7) Build time: 03:24:27
Core -> Full Integration Build 14164 outcome was FAILURE using a merge of 27bc5a4aaf56acf312a766947c0d37cda7a33d53 Summary: Tests failed: 1 (1 new), passed: 5869, ignored: 119 Build time: 04:37:04
Failed tests
org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase(standalone-enabled-microprofile-test).testInvokeEJBWithinSingleDeploymentOutflowNotConfigured: java.lang.AssertionError: expectedMessage:[targetCallerPrincipal: anonymous, targetIsCallerAdmin: false] returned msg:[hello + testUser, hasJWT: true, targetCallerPrincipal: testUser, targetIsCallerAdmin: false]
at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJB(JWTIdentityPropagationTestCase.java:335)
at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJBWithinSingleDeploymentOutflowNotConfigured(JWTIdentityPropagationTestCase.java:269)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Test failure at Full integration - Windows in unrelated
There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.
Hello @fjuma do you think that we can have this merged or do I need to make some change?
There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.
/retest
@yersan the PR still failing on Full Integration Windows, but seems not related to my changes.
@pedro-hos It is unrelated, the Windows test is an integration test on WildFly testsuite, and your PR does not modify any Elytron base code
Thanks @pedro-hos