[JBoss JIRA] (DROOLS-3652) DMN popover - Enter to apply
by Liz Clayton (Jira)
Liz Clayton created DROOLS-3652:
-----------------------------------
Summary: DMN popover - Enter to apply
Key: DROOLS-3652
URL: https://issues.jboss.org/browse/DROOLS-3652
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Reporter: Liz Clayton
Assignee: Michael Anstis
Attachments: Screen Shot 2019-02-13 at 1.20.35 PM.png
When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
!Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFCORE-4329) The launcher API may incorrectly assume the JVM is a non-modular JVM
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFCORE-4329?page=com.atlassian.jira.plugi... ]
James Perkins commented on WFCORE-4329:
---------------------------------------
One option could be to check the {{java.home}} for the {{release}} file and if not there launch a new process to check the VM. If it is there we could instead check the file as it should be quicker. However I suppose we consider the user may not have permissions to read the file. Which again would fallback to the new process check.
> The launcher API may incorrectly assume the JVM is a non-modular JVM
> --------------------------------------------------------------------
>
> Key: WFCORE-4329
> URL: https://issues.jboss.org/browse/WFCORE-4329
> Project: WildFly Core
> Issue Type: Bug
> Components: Launcher
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Major
>
> The launcher API checks the {{$JAVA_HOME/jmods}} directory and if missing assumes it's a non-modular JVM, e.g. Java 8 or lower. In some cases this directory does not exist. We need a better way to determine the JVM version.
> It's done in the wildfly-maven-plugin like:
> {code}
> /**
> * Checks to see if the {@code javaHome} is a modular JVM.
> *
> * @param javaHome the Java Home if {@code null} an attempt to discover the Java Home will be done
> *
> * @return {@code true} if this is a modular environment
> */
> public static boolean isModularJvm(final Path javaHome) {
> boolean result;
> final List<String> cmd = new ArrayList<>();
> cmd.add(getJavaCommand(javaHome));
> cmd.add("--add-modules=java.se");
> cmd.add("-version");
> final ProcessBuilder builder = new ProcessBuilder(cmd);
> Process process = null;
> Path stdout = null;
> try {
> // Create a temporary file for stdout
> stdout = Files.createTempFile("stdout", ".txt");
> process = builder.redirectErrorStream(true)
> .redirectOutput(stdout.toFile()).start();
> if (process.waitFor(1, TimeUnit.SECONDS)) {
> result = process.exitValue() == 0;
> } else {
> if (LOGGER.isDebugEnabled()) {
> LOGGER.debug(getStdoutMessage("The process timed out waiting for the response.", stdout));
> }
> result = false;
> }
> } catch (IOException | InterruptedException e) {
> if (LOGGER.isDebugEnabled()) {
> LOGGER.debug(getStdoutMessage("The process ended in error.", stdout), e);
> }
> result = false;
> } finally {
> if (process != null && process.isAlive()) {
> process.destroyForcibly();
> }
> if (stdout != null) {
> try {
> Files.deleteIfExists(stdout);
> } catch (IOException ignore) {
> }
> }
> }
> return result;
> }
> {code}
> This works, however requires a new process to be created and launched which is not ideal.
> It does look like there might be a {{$JAVA_HOME/release}} file which looks like a properties file with the {{JAVA_VERSION}} property. However we need to determine if all vendors include this file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11706) Deadlock in cleanup following DatabaseCertLoginModuleTestCase
by Tom Jenkinson (Jira)
[ https://issues.jboss.org/browse/WFLY-11706?page=com.atlassian.jira.plugin... ]
Tom Jenkinson commented on WFLY-11706:
--------------------------------------
That works for me - thanks Ondra
> Deadlock in cleanup following DatabaseCertLoginModuleTestCase
> -------------------------------------------------------------
>
> Key: WFLY-11706
> URL: https://issues.jboss.org/browse/WFLY-11706
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite, Transactions
> Reporter: Brian Stansberry
> Assignee: Ondra Chaloupka
> Priority: Critical
> Attachments: hang.txt
>
>
> A test hung due to a server-side deadlock.
> https://ci.wildfly.org/viewLog.html?buildId=139407&buildTypeId=WFPR&tab=b...
> Build log output stopped at this point:
> [18:27:07][Step 2/3] [INFO] Running org.jboss.as.test.manualmode.security.OutboundLdapConnectionTestCase
> [18:27:42][Step 2/3] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.744 s - in org.jboss.as.test.manualmode.security.OutboundLdapConnectionTestCase
> [18:27:43][Step 2/3] [INFO] Running org.jboss.as.test.manualmode.web.ssl.DatabaseCertLoginModuleTestCase
> The 'main' thread of the test shows the test was shutting down the server:
> {code}
> "main" #1 prio=5 os_prio=0 tid=0xf6507c00 nid=0x205c in Object.wait() [0xf667d000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0xc807a168> (a java.lang.UNIXProcess)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
> - locked <0xc807a168> (a java.lang.UNIXProcess)
> at org.wildfly.core.launcher.ProcessHelper.destroyProcess(ProcessHelper.java:60)
> at org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.stopInternal(ManagedDeployableContainer.java:294)
> at org.jboss.as.arquillian.container.CommonDeployableContainer.stop(CommonDeployableContainer.java:135)
> at org.jboss.arquillian.container.impl.ContainerImpl.stop(ContainerImpl.java:217)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:178)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$9.perform(ContainerLifecycleController.java:172)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
> at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.stopContainer(ContainerLifecycleController.java:171)
> {code}
> The server-side thread dump shows the hang:
> {code}
> Found one Java-level deadlock:
> =============================
> "Periodic Recovery":
> waiting to lock monitor 0xbcc6dbc0 (object 0xc8f80918, a java.util.concurrent.atomic.AtomicInteger),
> which is held by "ServerService Thread Pool -- 8"
> "ServerService Thread Pool -- 8":
> waiting to lock monitor 0xc1a6ffc8 (object 0xc8f64470, a com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule),
> which is held by "Periodic Recovery"
> Java stack information for the threads listed above:
> ===================================================
> "Periodic Recovery":
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.setScanState(XARecoveryModule.java:1088)
> - waiting to lock <0xc8f80918> (a java.util.concurrent.atomic.AtomicInteger)
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:240)
> - locked <0xc8f64470> (a com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule)
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:816)
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:382)
> "ServerService Thread Pool -- 8":
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.removeXAResourceRecoveryHelper(XARecoveryModule.java:119)
> - waiting to lock <0xc8f64470> (a com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule)
> - locked <0xc8f80918> (a java.util.concurrent.atomic.AtomicInteger)
> at com.arjuna.ats.jbossatx.jta.RecoveryManagerService.removeXAResourceRecovery(RecoveryManagerService.java:129)
> at org.jboss.jca.core.tx.jbossts.XAResourceRecoveryRegistryImpl.removeXAResourceRecovery(XAResourceRecoveryRegistryImpl.java:63)
> at org.jboss.as.connector.subsystems.datasources.XaDataSourceService.stopService(XaDataSourceService.java:66)
> - locked <0xc8f95a38> (a org.jboss.as.connector.subsystems.datasources.XaDataSourceService)
> at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$1.run(AbstractDataSourceService.java:188)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Found 1 deadlock.
> {code}
> I'll attach the full thread dump.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFCORE-4330) Subsystem test framework does not work with model overrides
by Radoslav Husar (Jira)
[ https://issues.jboss.org/browse/WFCORE-4330?page=com.atlassian.jira.plugi... ]
Radoslav Husar updated WFCORE-4330:
-----------------------------------
Description:
JGroups subsystem is using model overrides, however the test framework fails with the following when tranforming current model to e.g. 7.2.:
{noformat}
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.029 s <<< FAILURE! - in org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] testTransformerEAP720(org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase) Time elapsed: 1.435 s <<< FAILURE!
java.lang.AssertionError:
WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.jboss.as.model.test.ModelTestUtils.checkOutcome(ModelTestUtils.java:134)
at org.jboss.as.model.test.ModelTestUtils.checkResultAndGetContents(ModelTestUtils.java:119)
at org.jboss.as.subsystem.test.MainKernelServicesImpl.readTransformedModel(MainKernelServicesImpl.java:135)
at org.jboss.as.subsystem.test.SubsystemTestDelegate.checkSubsystemModelTransformation(SubsystemTestDelegate.java:430)
at org.jboss.as.subsystem.test.AbstractSubsystemTest.checkSubsystemModelTransformation(AbstractSubsystemTest.java:222)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformation(JGroupsTransformersTestCase.java:165)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformerEAP720(JGroupsTransformersTestCase.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] JGroupsTransformersTestCase.testTransformerEAP720:135->testTransformation:165->AbstractSubsystemTest.checkSubsystemModelTransformation:222 WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
[INFO]
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
{noformat}
was:
JGroups subsystem is using model overrides, however the test framework fails with the following:
{noformat}
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.029 s <<< FAILURE! - in org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] testTransformerEAP720(org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase) Time elapsed: 1.435 s <<< FAILURE!
java.lang.AssertionError:
WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.jboss.as.model.test.ModelTestUtils.checkOutcome(ModelTestUtils.java:134)
at org.jboss.as.model.test.ModelTestUtils.checkResultAndGetContents(ModelTestUtils.java:119)
at org.jboss.as.subsystem.test.MainKernelServicesImpl.readTransformedModel(MainKernelServicesImpl.java:135)
at org.jboss.as.subsystem.test.SubsystemTestDelegate.checkSubsystemModelTransformation(SubsystemTestDelegate.java:430)
at org.jboss.as.subsystem.test.AbstractSubsystemTest.checkSubsystemModelTransformation(AbstractSubsystemTest.java:222)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformation(JGroupsTransformersTestCase.java:165)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformerEAP720(JGroupsTransformersTestCase.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] JGroupsTransformersTestCase.testTransformerEAP720:135->testTransformation:165->AbstractSubsystemTest.checkSubsystemModelTransformation:222 WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
[INFO]
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
{noformat}
> Subsystem test framework does not work with model overrides
> -----------------------------------------------------------
>
> Key: WFCORE-4330
> URL: https://issues.jboss.org/browse/WFCORE-4330
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 8.0.0.Beta5
> Reporter: Radoslav Husar
> Assignee: Kabir Khan
> Priority: Major
>
> JGroups subsystem is using model overrides, however the test framework fails with the following when tranforming current model to e.g. 7.2.:
> {noformat}
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.029 s <<< FAILURE! - in org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
> [ERROR] testTransformerEAP720(org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase) Time elapsed: 1.435 s <<< FAILURE!
> java.lang.AssertionError:
> WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
> ("subsystem" => "jgroups"),
> ("stack" => "*"),
> ("protocol" => "*")
> ]
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.jboss.as.model.test.ModelTestUtils.checkOutcome(ModelTestUtils.java:134)
> at org.jboss.as.model.test.ModelTestUtils.checkResultAndGetContents(ModelTestUtils.java:119)
> at org.jboss.as.subsystem.test.MainKernelServicesImpl.readTransformedModel(MainKernelServicesImpl.java:135)
> at org.jboss.as.subsystem.test.SubsystemTestDelegate.checkSubsystemModelTransformation(SubsystemTestDelegate.java:430)
> at org.jboss.as.subsystem.test.AbstractSubsystemTest.checkSubsystemModelTransformation(AbstractSubsystemTest.java:222)
> at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformation(JGroupsTransformersTestCase.java:165)
> at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformerEAP720(JGroupsTransformersTestCase.java:135)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
> at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] JGroupsTransformersTestCase.testTransformerEAP720:135->testTransformation:165->AbstractSubsystemTest.checkSubsystemModelTransformation:222 WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
> ("subsystem" => "jgroups"),
> ("stack" => "*"),
> ("protocol" => "*")
> ]
> [INFO]
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFCORE-4330) Subsystem test framework does not work with model overrides
by Radoslav Husar (Jira)
Radoslav Husar created WFCORE-4330:
--------------------------------------
Summary: Subsystem test framework does not work with model overrides
Key: WFCORE-4330
URL: https://issues.jboss.org/browse/WFCORE-4330
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Affects Versions: 8.0.0.Beta5
Reporter: Radoslav Husar
Assignee: Kabir Khan
JGroups subsystem is using model overrides, however the test framework fails with the following:
{noformat}
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.029 s <<< FAILURE! - in org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase
[ERROR] testTransformerEAP720(org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase) Time elapsed: 1.435 s <<< FAILURE!
java.lang.AssertionError:
WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.jboss.as.model.test.ModelTestUtils.checkOutcome(ModelTestUtils.java:134)
at org.jboss.as.model.test.ModelTestUtils.checkResultAndGetContents(ModelTestUtils.java:119)
at org.jboss.as.subsystem.test.MainKernelServicesImpl.readTransformedModel(MainKernelServicesImpl.java:135)
at org.jboss.as.subsystem.test.SubsystemTestDelegate.checkSubsystemModelTransformation(SubsystemTestDelegate.java:430)
at org.jboss.as.subsystem.test.AbstractSubsystemTest.checkSubsystemModelTransformation(AbstractSubsystemTest.java:222)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformation(JGroupsTransformersTestCase.java:165)
at org.jboss.as.clustering.jgroups.subsystem.JGroupsTransformersTestCase.testTransformerEAP720(JGroupsTransformersTestCase.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] JGroupsTransformersTestCase.testTransformerEAP720:135->testTransformation:165->AbstractSubsystemTest.checkSubsystemModelTransformation:222 WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYCTL0282: Model contains fields that are not known in definition, fields: [key-alias, key-store, key-credential-reference], path: [
("subsystem" => "jgroups"),
("stack" => "*"),
("protocol" => "*")
]
[INFO]
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
{noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11712) Test execution of layers
by Jean-Francois Denise (Jira)
Jean-Francois Denise created WFLY-11712:
-------------------------------------------
Summary: Test execution of layers
Key: WFLY-11712
URL: https://issues.jboss.org/browse/WFLY-11712
Project: WildFly
Issue Type: Enhancement
Components: Test Suite
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
Now that core dependency has been upgraded to 8.0.Beta5, we can use API exposed in core testsuite/shared to test layers execution.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months