Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-6503]:Add support for unmanaged deployments with YAML extension. #5860

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ehsavoie
Copy link
Contributor

  • checking that the YAML deployment is unmanaged.
  • adding the unmanaged deployment to the list of operations
  • adding some light esting on this

Jira: https://issues.redhat.com/browse/WFCORE-6503
Proposal: wildfly/wildfly-proposals#554

@ehsavoie ehsavoie marked this pull request as ready for review February 14, 2024 13:57
@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Feb 14, 2024
@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@mnovak1
Copy link
Contributor

mnovak1 commented Feb 29, 2024

For WARN message it seems to be logging some null values. For example:

 is ignored
09:46:09,663 WARN  [org.jboss.as.controller.management-operation] (main) WFLYCTL0506: The yaml element org.jboss.as.failure: {module: org.jboss.as.failure}
 is ignored
09:46:09,664 WARN  [org.jboss.as.controller.management-operation] (main) WFLYCTL0506: The yaml element null
 is ignored

for yaml:

wildfly-configuration:
    extension:
      org.jboss.as.failure:
        module: org.jboss.as.failure
    socket-binding-group:
        standard-sockets:
          default-interface: public
          port-offset: ${jboss.socket.binding.port-offset:0}
          socket-binding:
              http:
                interface: public
              https:
          remote-destination-outbound-socket-binding:
            mail-snmt:  
              host: foo
              port: 8081
            foo2:
              host: foo2
              port: 8082

I should log the name of yaml tag which is ignored.

@ehsavoie ehsavoie force-pushed the WFCORE-6503 branch 2 times, most recently from d00ce87 to 3d5976c Compare March 1, 2024 10:44
@ehsavoie ehsavoie force-pushed the WFCORE-6503 branch 2 times, most recently from cf04996 to fd8e69e Compare March 1, 2024 16:01
@ehsavoie ehsavoie force-pushed the WFCORE-6503 branch 6 times, most recently from c6dcfa8 to b3b2923 Compare March 13, 2024 13:03
@wildfly-ci

This comment was marked as outdated.

@bstansberry bstansberry added Feature This PR adds a new feature to WildFly missing-reqs This PR is missing external requirements before it can be merged labels Mar 18, 2024
@yersan
Copy link
Collaborator

yersan commented Mar 19, 2024

Hello @bstansberry, you added "Feature" and "missing-reqs" labels to this PR. So far we are treating this as an enhancement, do you want this to be treated as a Feature Request instead? There is more information about this on the Jira.

@wildfly-ci
Copy link

Core -> Full Integration Build 13373 outcome was FAILURE using a merge of 34bacd1
Summary: Tests failed: 1 (1 new), passed: 4034, ignored: 51 Build time: 03:24:22

Failed tests

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulTimeoutTestCase.timeout: java.lang.AssertionError: expected:<4> but was:<0>
	at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulTimeoutTestCase.timeout(StatefulTimeoutTestCase.java:88)
	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 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 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 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 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 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 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 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 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 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 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 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)
------- Stdout: -------
 [0m20:33:17,729 INFO  [org.jboss.modules] (main) JBoss Modules version 2.1.3.Final
 [0m [0m20:33:18,420 INFO  [org.jboss.msc] (main) JBoss MSC version 1.5.3.Final
 [0m [0m20:33:18,433 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
 [0m [0m20:33:18,587 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0049: WildFly Full 32.0.0.Beta1-SNAPSHOT (WildFly Core 24.0.0.Beta3-SNAPSHOT) starting
 [0m [0m20:33:20,190 INFO  [org.wildfly.security] (ServerService Thread Pool -- 21) ELY00001: WildFly Elytron version 2.3.1.Final
 [0m [0m20:33:21,621 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 17) WFLYCTL0028: Attribute 'cluster' in the resource at address '/subsystem=ejb3/service=remote' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m20:33:21,881 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
 [0m [0m20:33:21,918 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.8.13.Final
 [0m [0m20:33:21,941 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.8.13.Final
 [0m [0m20:33:22,014 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.28.Final
 [0m [0m20:33:22,099 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 48) WFLYNAM0001: Activating Naming Subsystem
 [0m [0m20:33:22,113 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 40) WFLYCLINF0001: Activating Infinispan subsystem.


@wildfly-ci
Copy link

Core -> Full Integration Build 13666 outcome was FAILURE using a merge of 04fa197
Summary: Tests failed: 1 (1 new), passed: 5820, ignored: 111 Build time: 03:41:05

Failed tests

org.jboss.as.test.integration.ejb.stateful.passivation.PassivationFailedTestCase(basic-integration-default-web).testPassivationFailure: java.lang.AssertionError
	at deployment.PassivationFailedTestCase.jar//org.jboss.as.test.integration.ejb.stateful.passivation.PassivationFailedTestCase.testPassivationFailure(PassivationFailedTestCase.java:68)
	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 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 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 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 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 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 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 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 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 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 deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.doRunTestMethod(ArquillianService.java:204)
	at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:179)
	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.GeneratedMethodAccessor18.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at java.management/com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at java.management/com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
	at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.jboss.as.jmx@24.0.0.Beta4-SNAPSHOT//org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1482)
	at org.jboss.as.jmx@24.0.0.Beta4-SNAPSHOT//org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:714)
	at org.jboss.as.jmx@24.0.0.Beta4-SNAPSHOT//org.jboss.as.jmx.BlockingNotificationMBeanServer.invoke(BlockingNotificationMBeanServer.java:151)
	at org.jboss.as.jmx@24.0.0.Beta4-SNAPSHOT//org.jboss.as.jmx.AuthorizingMBeanServer.invoke(AuthorizingMBeanServer.java:245)
	at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:947)


@yersan yersan removed the Feature This PR adds a new feature to WildFly label Apr 3, 2024
@yersan yersan removed the missing-reqs This PR is missing external requirements before it can be merged label Apr 3, 2024
Copy link
Collaborator

@yersan yersan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments to think about whether some stuff that could be moved to simply a bit the changes on the reload handlers and ModelControllerImpl, they can be evolved later, but it took me some time to figure out why we needed them.

In general, it looks pretty isolated to yaml work, so, except the additional trailing white space on the --yaml option, looks good and I think we can go with them. However, if possible, we should move the conditions added on reload handlers and ModelControllerImpl to the ConfigurationExtension.shouldProcessOperations.

Comment on lines 60 to 62
default boolean hasStored() {
return false;
}
Copy link
Collaborator

@yersan yersan Apr 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isStored() looks like a more natural choice, but up to you

config.remove(excluded);
boolean isPresent = config.containsKey(excluded);
Object value = config.remove(excluded);
if (value != null && value instanceof Map && DEPLOYMENT.equals(excluded)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: but value != null is not necessary here since it is protected by the instanceof operator

@@ -17,6 +17,7 @@ public class RunningModeControl {
private volatile boolean useCurrentConfig;
private volatile String newBootFileName;
private volatile Boolean suspend;
private volatile boolean applyConfigurationExtension;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RunningModeControl has evolved keeping more stuff than only the required information to provide control over the server's current RunningMode. However, instead of adding information on whether the configuration extensions should be applied, wouldn't be easier if we just save here the value of extensibleConfigurationPersister.hasStored()?

With this information and the other field values we could derive in ConfigurationExtension.shouldProcessOperations() whether the yaml configuration should be applied again after a reload.

Copy link
Contributor Author

@ehsavoie ehsavoie Apr 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand what you are proposing there :) The persister is not persisted between reloads

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ehsavoie I mean, move all the logic that calculates the applyConfigurationExtension from the reload handler to ConfigExtension.shouldProcessOperations() method and instead save in the RunningModeControl the flag that indicates the persistent storage has been stored. e.g extensibleConfigurationPersister.hasStored() value.

With the RunningModeControl class field values you should be able to calculate on ConfigExtension.shouldProcessOperations() whether the YAML operations should be loaded again.

Understanding the logic and purpose of applyConfigurationExtension calculation by looking at the handlers is a bit unclear, if you prefer to keep what you currently have, at least write a java doc explaining the applyConfigurationExtension purpose and meaning on RunningModeControl accessors.

Out of curiosity, I am not sure how the stored method is invoked even when we are using a read-only configuration file policy, but, if the user writes something after reloading, all the configuration, including those derived from the YAML files, will be available from the persistent storage? I understand that's the reason why you don't want to apply the YAML config again to do not overwrite any modification done after the previous reloading

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we are in read-only mode the changes are persisted to the standalone-boot.xml so that when you reload you keep them. That's when the store method is invoked.
When you start or restart the standalone-boot.xml is overwritten by the standalone.xml.

@ehsavoie
Copy link
Contributor Author

ehsavoie commented Apr 5, 2024

@bstansberry @yersan I've rebased on #5934 so only the feature part where unmanaged deployments are supported is here now.

@yersan
Copy link
Collaborator

yersan commented Apr 5, 2024

@bstansberry I removed the feature label due to the https://issues.redhat.com/browse/WFCORE-6503 comments. That probably was a mistake since you added them after the Jira discussions.

Just to be clear, do you want to treat this as a pure feature request instead of an enhancement that adds more value to a released feature request?

@wildfly-ci
Copy link

Core -> Full Integration Build 13686 outcome was FAILURE using a merge of d1d9329
Summary: Tests failed: 1 (1 new), passed: 6012, ignored: 93 Build time: 03:48:17

Failed tests

org.wildfly.test.manual.management.ManagementOnlyModeTestCase.testManagementOnlyMode: java.lang.RuntimeException: Could not start container
	at org.wildfly.core.testrunner.Server.start(Server.java:322)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:140)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:81)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:64)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:60)
	at org.wildfly.core.testrunner.ServerController.startInAdminMode(ServerController.java:159)
	at org.wildfly.test.manual.management.ManagementOnlyModeTestCase.testManagementOnlyMode(ManagementOnlyModeTestCase.java:44)
	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 org.wildfly.core.testrunner.WildFlyRunner$WrappedStatement.evaluate(WildFlyRunner.java:340)
	at org.wildfly.core.testrunner.WildFlyRunner.run(WildFlyRunner.java:194)
Caused by: java.lang.RuntimeException: Managed server was not started within 60 seconds.
	at org.wildfly.core.testrunner.Server.start(Server.java:317)
	... 36 more
------- Stdout: -------
[client] 12:15:34,663 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
[client] 12:15:35,067 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.28.Final
[client] 12:15:35,125 INFO  [org.xnio] (main) XNIO version 3.8.13.Final
[client] 12:15:35,147 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.8.13.Final
 [0m12:15:35,223 INFO  [org.jboss.modules] (main) JBoss Modules version 2.1.4.Final
 [0m[client] 12:15:35,302 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 2.4.0.CR1
[client] 12:15:35,348 INFO  [org.jboss.ejb.client] (main) EJBCLIENT000069: Using legacy jboss-ejb-client.properties security configuration
 [0m12:15:35,875 INFO  [org.jboss.msc] (main) JBoss MSC version 1.5.3.Final
 [0m [0m12:15:35,894 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
 [0m [0m12:15:36,003 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 32.0.0.Beta1-SNAPSHOT (WildFly Core 24.0.0.Beta4-SNAPSHOT) starting
 [0m [0m12:15:37,164 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 2.4.0.CR1
 [0m [0m12:15:37,209 INFO  [org.jboss.as.controller] (Controller Boot Thread) OPVDX003: No schemas available from /opt/buildAgent/work/e8e0dd9c7c4ba60/full/testsuite/integration/manualmode/target/wildfly/docs/schema - disabling validation error pretty printing
 [0m [31m12:15:37,211 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.ServerService.boot(ServerService.java:386)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:362)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0505: elytron-oidc-client subsystem namespace urn:wildfly:elytron-oidc-client:preview:2.0 is not enabled by the current stability level
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.extension.UnstableSubsystemNamespaceParser.readElement(UnstableSubsystemNamespaceParser.java:29)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.extension.UnstableSubsystemNamespaceParser.readElement(UnstableSubsystemNamespaceParser.java:20)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:118)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:65)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.parseServerProfile(StandaloneXml_18.java:649)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.readServerElement(StandaloneXml_18.java:227)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.readElement(StandaloneXml_18.java:128)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:115)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:35)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:118)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:72)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
	... 3 more

 [0m [31m12:15:37,213 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml
 [0m [0m12:15:37,257 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 32.0.0.Beta1-SNAPSHOT (WildFly Core 24.0.0.Beta4-SNAPSHOT) stopped in 37ms


@wildfly-ci
Copy link

Core -> Full Integration Build 13700 outcome was FAILURE using a merge of d1d9329
Summary: Tests failed: 1, passed: 6012, ignored: 93 Build time: 03:16:11

Failed tests

org.wildfly.test.manual.management.ManagementOnlyModeTestCase.testManagementOnlyMode: java.lang.RuntimeException: Could not start container
	at org.wildfly.core.testrunner.Server.start(Server.java:322)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:140)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:81)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:64)
	at org.wildfly.core.testrunner.ServerController.start(ServerController.java:60)
	at org.wildfly.core.testrunner.ServerController.startInAdminMode(ServerController.java:159)
	at org.wildfly.test.manual.management.ManagementOnlyModeTestCase.testManagementOnlyMode(ManagementOnlyModeTestCase.java:44)
	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 org.wildfly.core.testrunner.WildFlyRunner$WrappedStatement.evaluate(WildFlyRunner.java:340)
	at org.wildfly.core.testrunner.WildFlyRunner.run(WildFlyRunner.java:194)
Caused by: java.lang.RuntimeException: Managed server was not started within 60 seconds.
	at org.wildfly.core.testrunner.Server.start(Server.java:317)
	... 36 more
------- Stdout: -------
[client] 14:46:31,937 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
[client] 14:46:32,091 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.28.Final
[client] 14:46:32,111 INFO  [org.xnio] (main) XNIO version 3.8.13.Final
[client] 14:46:32,119 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.8.13.Final
[client] 14:46:32,170 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 2.4.0.CR1
[client] 14:46:32,205 INFO  [org.jboss.ejb.client] (main) EJBCLIENT000069: Using legacy jboss-ejb-client.properties security configuration
 [0m14:46:32,454 INFO  [org.jboss.modules] (main) JBoss Modules version 2.1.4.Final
 [0m [0m14:46:32,729 INFO  [org.jboss.msc] (main) JBoss MSC version 1.5.3.Final
 [0m [0m14:46:32,736 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
 [0m [0m14:46:32,812 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 32.0.0.Final-SNAPSHOT (WildFly Core 24.0.0.Beta4-SNAPSHOT) starting
 [0m [0m14:46:33,700 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 2.4.0.CR1
 [0m [0m14:46:33,727 INFO  [org.jboss.as.controller] (Controller Boot Thread) OPVDX003: No schemas available from /opt/buildAgent/work/e8e0dd9c7c4ba60/full/testsuite/integration/manualmode/target/wildfly/docs/schema - disabling validation error pretty printing
 [0m [31m14:46:33,728 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.ServerService.boot(ServerService.java:386)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:362)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0505: elytron-oidc-client subsystem namespace urn:wildfly:elytron-oidc-client:preview:2.0 is not enabled by the current stability level
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.extension.UnstableSubsystemNamespaceParser.readElement(UnstableSubsystemNamespaceParser.java:29)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.extension.UnstableSubsystemNamespaceParser.readElement(UnstableSubsystemNamespaceParser.java:20)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:118)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:65)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.parseServerProfile(StandaloneXml_18.java:649)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.readServerElement(StandaloneXml_18.java:227)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml_18.readElement(StandaloneXml_18.java:128)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:115)
	at org.jboss.as.server@24.0.0.Beta4-SNAPSHOT//org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:35)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:118)
	at org.jboss.staxmapper@1.5.0.Final//org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:72)
	at org.jboss.as.controller@24.0.0.Beta4-SNAPSHOT//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
	... 3 more

 [0m [31m14:46:33,730 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml
 [0m [0m14:46:33,758 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Full 32.0.0.Final-SNAPSHOT (WildFly Core 24.0.0.Beta4-SNAPSHOT) stopped in 23ms


@yersan
Copy link
Collaborator

yersan commented Apr 26, 2024

/retest

* checking that the YAML deployment is unmanaged.
* adding the unmanaged deployment to the list of operations
* adding some light testing on this

Jira: https://issues.redhat.com/browse/WFCORE-6503
Proposal: wildfly/wildfly-proposals#554

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
5 participants