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-4228] Add methods to the management API to get Capability Runtime API as an Optional object #3597

Merged
merged 1 commit into from Jan 18, 2019

Conversation

yersan
Copy link
Collaborator

@yersan yersan commented Nov 15, 2018

  • Required changes in wildfly core for WFLY-11186
  • Add additional method signature to allow get an optional capability API

Jira issue: https://issues.jboss.org/browse/WFCORE-4228

@wildfly-ci
Copy link

Core - Full Integration Build 8163 outcome was FAILURE using a merge of a205e7b
Summary: Tests failed: 1 (1 new), passed: 4688, ignored: 131; failed to parse xml report (new) Build time: 01:52:42

Failed tests

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.noFailover: java.lang.AssertionError: expected:<200> but was:<500>
	at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.queryCount(StatefulFailoverTestCase.java:315)
	at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.noFailover(StatefulFailoverTestCase.java:117)
------- Stdout: -------
 [0m11:19:26,479 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/wildfly-1/standalone/data/content/d9/f343e482f45187d496505c80a1470e3c18cd63/content
 [0m [0m11:19:26,481 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "StatefulFailoverTestCase.war" (runtime-name: "StatefulFailoverTestCase.war")
 [0m [0m11:19:26,514 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for test
 [0m [0m11:19:26,524 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 27) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'StatefulFailoverTestCase.war#test'
 [0m [0m11:19:26,524 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 27) HHH000204: Processing PersistenceUnitInfo [
	name: test
	...]
 [0m [0m11:19:26,540 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment StatefulFailoverTestCase.war
 [0m [0m11:19:26,554 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'TimeoutIncrementorBean' in deployment unit 'deployment "StatefulFailoverTestCase.war"' are as follows:

	java:global/StatefulFailoverTestCase/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/StatefulFailoverTestCase/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	ejb:StatefulFailoverTestCase/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor?stateful
	java:global/StatefulFailoverTestCase/TimeoutIncrementorBean
	java:app/StatefulFailoverTestCase/TimeoutIncrementorBean
	java:module/TimeoutIncrementorBean

 [0m [0m11:19:26,554 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'SimpleIncrementorBean' in deployment unit 'deployment "StatefulFailoverTestCase.war"' are as follows:

	java:global/StatefulFailoverTestCase/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/StatefulFailoverTestCase/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	ejb:StatefulFailoverTestCase/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor?stateful
	java:global/StatefulFailoverTestCase/SimpleIncrementorBean
	java:app/StatefulFailoverTestCase/SimpleIncrementorBean
	java:module/SimpleIncrementorBean

 [0m [0m11:19:26,554 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'JDBCResourceManagerConnectionFactoryIncrementorBean' in deployment unit 'deployment "StatefulFailoverTestCase.war"' are as follows:

	java:global/StatefulFailoverTestCase/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/StatefulFailoverTestCase/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	ejb:StatefulFailoverTestCase/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor?stateful
	java:global/StatefulFailoverTestCase/JDBCResourceManagerConnectionFactoryIncrementorBean
	java:app/StatefulFailoverTestCase/JDBCResourceManagerConnectionFactoryIncrementorBean
	java:module/JDBCResourceManagerConnectionFactoryIncrementorBean

 [0m [0m11:19:26,554 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'TimerIncrementorBean' in deployment unit 'deployment "StatefulFailoverTestCase.war"' are as follows:

	java:global/StatefulFailoverTestCase/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/StatefulFailoverTestCase/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	ejb:StatefulFailoverTestCase/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor?stateful
	java:global/StatefulFailoverTestCase/TimerIncrementorBean
	java:app/StatefulFailoverTestCase/TimerIncrementorBean
	java:module/TimerIncrementorBean


@wildfly-ci
Copy link

Core - Full Integration Build 8164 outcome was FAILURE using a merge of a205e7b
Summary: Tests failed: 2 (2 new), passed: 4688, ignored: 131 Build time: 01:55:27

Failed tests

org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite: java.lang.RuntimeException: java.lang.RuntimeException: java.nio.file.FileSystemException: /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/../../build/target/wildfly-15.0.0.CR1-SNAPSHOT/domain/configuration/logging.properties -> /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/target/domains/KernelBehavior640TestSuite/master/configuration/logging.properties: No space left on device
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:158)
	at org.jboss.as.test.integration.domain.mixed.KernelBehaviorTestSuite.getSupport(KernelBehaviorTestSuite.java:41)
	at org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite.initializeDomain(KernelBehavior640TestSuite.java:42)
Caused by: java.lang.RuntimeException: java.nio.file.FileSystemException: /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/../../build/target/wildfly-15.0.0.CR1-SNAPSHOT/domain/configuration/logging.properties -> /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/target/domains/KernelBehavior640TestSuite/master/configuration/logging.properties: No space left on device
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.copyConfigFile(DomainLifecycleUtil.java:687)
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.start(DomainLifecycleUtil.java:206)
	at org.jboss.as.test.integration.domain.management.util.DomainTestSupport.start(DomainTestSupport.java:375)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:116)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:154)
	... 20 more
Caused by: java.nio.file.FileSystemException: /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/../../build/target/wildfly-15.0.0.CR1-SNAPSHOT/domain/configuration/logging.properties -> /store/work/tc-work/37b47ae8b9c60325/full/testsuite/mixed-domain/target/domains/KernelBehavior640TestSuite/master/configuration/logging.properties: No space left on device
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
	at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
	at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
	at java.nio.file.Files.copy(Files.java:1274)
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.copyConfigFile(DomainLifecycleUtil.java:685)
	... 24 more


org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: No space left on device
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:150)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:125)
	at org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite.initializeDomain(LegacyConfig640TestSuite.java:37)
Caused by: java.lang.RuntimeException: java.io.IOException: No space left on device
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier.expandAsInstance(OldVersionCopier.java:93)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier.getOldVersionDir(OldVersionCopier.java:63)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.create(MixedDomainTestSupport.java:99)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.create(MixedDomainTestSupport.java:93)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:144)
	... 21 more
Caused by: java.io.IOException: No space left on device
	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
	at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
	at sun.nio.ch.IOUtil.write(IOUtil.java:65)
	at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
	at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
	at java.nio.channels.Channels.writeFully(Channels.java:101)
	at java.nio.channels.Channels.access$000(Channels.java:61)
	at java.nio.channels.Channels$1.write(Channels.java:174)
	at java.nio.file.Files.copy(Files.java:2909)
	at java.nio.file.Files.copy(Files.java:3027)
	at java.nio.file.CopyMoveHelper.copyToForeignTarget(CopyMoveHelper.java:126)
	at java.nio.file.Files.copy(Files.java:1277)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier$1.visitFile(OldVersionCopier.java:156)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier$1.visitFile(OldVersionCopier.java:149)
	at java.nio.file.Files.walkFileTree(Files.java:2670)
	at java.nio.file.Files.walkFileTree(Files.java:2742)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier.unzip(OldVersionCopier.java:149)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier.expandAsInstance(OldVersionCopier.java:100)
	at org.jboss.as.test.integration.domain.mixed.OldVersionCopier.expandAsInstance(OldVersionCopier.java:91)
	... 25 more


@wildfly-ci
Copy link

Core - Full Integration Build 8180 outcome was UNKNOWN using a merge of e7eb021
Summary: Canceled (Error while applying patch; cannot find commit e8799a7 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3597/merge branch was updated and the commit selected for the ... Build time: 00:00:15

@yersan
Copy link
Collaborator Author

yersan commented Nov 29, 2018

Retest this please

@bstansberry
Copy link
Contributor

If @jmesnil is ok with this API addition, can you update the commit message, PR title, PR and JIRA description to match the current scope of the change?

@wildfly-ci
Copy link

Core - Full Integration Build 8267 outcome was UNKNOWN using a merge of 130c2bb
Summary: Canceled (Error while applying patch; cannot find commit c26779e in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3597/merge branch was updated and the commit selected for the ... Build time: 00:00:22

@yersan yersan changed the title [WFCORE-4228] Weld subsystem should declare a capability [WFCORE-4228] Add methods to the management API to get Capability Runtime API as an Optional object Jan 15, 2019
@yersan
Copy link
Collaborator Author

yersan commented Jan 15, 2019

Rebased. PR title, PR and JIRA description updated.

@jmesnil jmesnil added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Jan 17, 2019
@jmesnil jmesnil merged commit 5f60441 into wildfly:master Jan 18, 2019
@yersan yersan deleted the bugs/WFCORE-4228 branch January 18, 2019 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
4 participants