[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Kabir Khan resolved WFLY-10996.
-------------------------------
Resolution: Duplicate Issue
The missing dependency was added in WFLY-10974 so I am closing this issue as this has been fixed for WF15
> Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10996
> URL: https://issues.jboss.org/browse/WFLY-10996
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 14.0.0.Final
> Environment: CentOS 7/Mac OS
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz, standalone-full.diff
>
>
> Basically WildFly is unable to either build the persistence context or it fails to query postgres db.
> The changes are so minimal that it should basically work.
> Attached:
> # error.log - exception in the server log
> # jpa-war.tar.gz - maven module that can be used to reproduce the issue
> # pgsql.module.tar.gz - postgres driver module that can be unpacked under modules/system/layers/base/org/postgresql
> # standalone-full.diff - diff that can be applied to standalone-full.xml to define required datasource
> Note:
> - Tested same steps with wildfly 13 and there its woking fine.
> - Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1). Postgres driver is thus ruled out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10996:
-------------------------------------
FYI, adding the org.wildfly.transaction.client dependency will be fixed for WildFly 15, via [https://issues.jboss.org/browse/WFLY-10974].
> Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10996
> URL: https://issues.jboss.org/browse/WFLY-10996
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 14.0.0.Final
> Environment: CentOS 7/Mac OS
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz, standalone-full.diff
>
>
> Basically WildFly is unable to either build the persistence context or it fails to query postgres db.
> The changes are so minimal that it should basically work.
> Attached:
> # error.log - exception in the server log
> # jpa-war.tar.gz - maven module that can be used to reproduce the issue
> # pgsql.module.tar.gz - postgres driver module that can be unpacked under modules/system/layers/base/org/postgresql
> # standalone-full.diff - diff that can be applied to standalone-full.xml to define required datasource
> Note:
> - Tested same steps with wildfly 13 and there its woking fine.
> - Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1). Postgres driver is thus ruled out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10996:
-------------------------------------
Hmm, it still doesn't recreate for me when I execute "curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet". Perhaps that has something to do with me using h2 instead of postgresql-42.2.5 driver.
[~rakcheru] Could you please try updating your wildfly 14.0.0.Final wildfly/modules/system/layers/base/org/jboss/ironjacamar/impl/main/module.xml file, to also contain <module name="org.wildfly.transaction.client"/>?
Something like:
{code}
<module name="org.jboss.ironjacamar.impl" xmlns="urn:jboss:module:1.5">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="ironjacamar-common-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-core-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-deployers-common-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-validator-1.4.11.Final.jar"/>
</resources>
<dependencies>
<module name="sun.jdk"/>
<!-- javax.security.auth.callback -->
<module name="javax.api"/>
<module name="javax.resource.api"/>
<module name="javax.security.auth.message.api"/>
<module name="javax.validation.api"/>
<module name="org.hibernate.validator"/>
<module name="org.jboss.as.naming"/>
<module name="org.jboss.as.transactions"/>
<module name="org.jboss.jboss-transaction-spi"/>
<module name="org.jboss.ironjacamar.api"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.threads"/>
<!-- org.jboss.security -->
<module name="org.picketbox"/>
<module name="javax.xml.stream.api"/>
<!--jgroups -->
<module name="org.jgroups"/>
<module name="org.wildfly.transaction.client"/>
</dependencies>
</module>
{code}
Let me know if that helps.
> Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10996
> URL: https://issues.jboss.org/browse/WFLY-10996
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 14.0.0.Final
> Environment: CentOS 7/Mac OS
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz, standalone-full.diff
>
>
> Basically WildFly is unable to either build the persistence context or it fails to query postgres db.
> The changes are so minimal that it should basically work.
> Attached:
> # error.log - exception in the server log
> # jpa-war.tar.gz - maven module that can be used to reproduce the issue
> # pgsql.module.tar.gz - postgres driver module that can be unpacked under modules/system/layers/base/org/postgresql
> # standalone-full.diff - diff that can be applied to standalone-full.xml to define required datasource
> Note:
> - Tested same steps with wildfly 13 and there its woking fine.
> - Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1). Postgres driver is thus ruled out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10996:
-------------------------------------
Hmm, I built WildFly 14.0.0.Final from source and don't see org.wildfly.transaction.client:
{code}
<module name="org.jboss.ironjacamar.impl" xmlns="urn:jboss:module:1.5">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="ironjacamar-common-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-core-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-deployers-common-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-validator-1.4.11.Final.jar"/>
</resources>
<dependencies>
<module name="sun.jdk"/>
<!-- javax.security.auth.callback -->
<module name="javax.api"/>
<module name="javax.resource.api"/>
<module name="javax.security.auth.message.api"/>
<module name="javax.validation.api"/>
<module name="org.hibernate.validator"/>
<module name="org.jboss.as.naming"/>
<module name="org.jboss.as.transactions"/>
<module name="org.jboss.jboss-transaction-spi"/>
<module name="org.jboss.ironjacamar.api"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.threads"/>
<!-- org.jboss.security -->
<module name="org.picketbox"/>
<module name="javax.xml.stream.api"/>
<!--jgroups -->
<module name="org.jgroups"/>
</dependencies>
</module>
{code}
I will try to recreate now with WildFly 14.0.0.Final...
> Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10996
> URL: https://issues.jboss.org/browse/WFLY-10996
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 14.0.0.Final
> Environment: CentOS 7/Mac OS
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz, standalone-full.diff
>
>
> Basically WildFly is unable to either build the persistence context or it fails to query postgres db.
> The changes are so minimal that it should basically work.
> Attached:
> # error.log - exception in the server log
> # jpa-war.tar.gz - maven module that can be used to reproduce the issue
> # pgsql.module.tar.gz - postgres driver module that can be unpacked under modules/system/layers/base/org/postgresql
> # standalone-full.diff - diff that can be applied to standalone-full.xml to define required datasource
> Note:
> - Tested same steps with wildfly 13 and there its woking fine.
> - Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1). Postgres driver is thus ruled out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-10996:
-------------------------------------
I'm trying to recreate the "java.lang.ClassNotFoundException: org.wildfly.transaction.client.ContextTransactionManager from [Module \"org.jboss.ironjacamar.impl\" version 1.4.11.Final from local module" error locally. So far, I haven't recreated it. I am using the WildFly master branch. I made a minimal change to your persistence.xml, to workaround my h2 database, not having the "just_another_entity" table. My updated persistence.xml is now using create-drop:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" version="2.1">
<persistence-unit name="jpa-war-persistence" transaction-type="JTA">
<description>JPA War Persistence</description>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<class>com.test.JustAnotherEntity</class>
<properties>
<property name="jboss.entity.manager.factory.jndi.name" value="java:/ManagerFactory"/>
<property name="hibernate.cache.use_second_level_cache" value="true"/>
<property name="hibernate.cache.use_query_cache" value="true"/>
<property name="hibernate.id.new_generator_mappings" value="false"/>
<property name="hibernate.integration.envers.enabled" value="false"/>
<property name="hibernate.show_sql" value="false"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
</properties>
</persistence-unit>
</persistence>
{code}
>From your the information in the error log, it sounds like your wildfly/modules/system/layers/base/org/jboss/ironjacamar/impl/main/module.xml file is missing the org.wildfly.transaction.client, could you verify that you see the same in your module.xml for this folder. It doesn't seem likely that this is the problem but please check. My module.xml contains:
{code}
<module name="org.jboss.ironjacamar.impl" xmlns="urn:jboss:module:1.5">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="ironjacamar-common-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-core-impl-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-deployers-common-1.4.11.Final.jar"/>
<resource-root path="ironjacamar-validator-1.4.11.Final.jar"/>
</resources>
<dependencies>
<module name="sun.jdk"/>
<!-- javax.security.auth.callback -->
<module name="javax.api"/>
<module name="javax.resource.api"/>
<module name="javax.security.auth.message.api"/>
<module name="javax.validation.api"/>
<module name="org.hibernate.validator"/>
<module name="org.jboss.as.naming"/>
<module name="org.jboss.as.transactions"/>
<module name="org.jboss.jboss-transaction-spi"/>
<module name="org.jboss.ironjacamar.api"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.threads"/>
<!-- org.jboss.security -->
<module name="org.picketbox"/>
<module name="javax.xml.stream.api"/>
<!--jgroups -->
<module name="org.jgroups"/>
<module name="org.wildfly.transaction.client"/>
</dependencies>
</module>
{code}
> Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10996
> URL: https://issues.jboss.org/browse/WFLY-10996
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.1.Final, 14.0.0.Final
> Environment: CentOS 7/Mac OS
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz, standalone-full.diff
>
>
> Basically WildFly is unable to either build the persistence context or it fails to query postgres db.
> The changes are so minimal that it should basically work.
> Attached:
> # error.log - exception in the server log
> # jpa-war.tar.gz - maven module that can be used to reproduce the issue
> # pgsql.module.tar.gz - postgres driver module that can be unpacked under modules/system/layers/base/org/postgresql
> # standalone-full.diff - diff that can be applied to standalone-full.xml to define required datasource
> Note:
> - Tested same steps with wildfly 13 and there its woking fine.
> - Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1). Postgres driver is thus ruled out.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFCORE-4103) JDK11 Some security tests fail on closed channel exception
by Jan Kalina (JIRA)
Jan Kalina created WFCORE-4103:
----------------------------------
Summary: JDK11 Some security tests fail on closed channel exception
Key: WFCORE-4103
URL: https://issues.jboss.org/browse/WFCORE-4103
Project: WildFly Core
Issue Type: Bug
Components: Security, Test Suite
Affects Versions: 6.0.0.Alpha5
Reporter: Jan Kalina
Assignee: Jan Kalina
Priority: Blocker
Fix For: 6.0.0.CR2
With latest JDK11 (build 11-ea+25) the following tests fail due to closed channel exception:
* domain-management/src/test/java/org/jboss/as/domain/management/security/auditlog/AuditLogHandlerBootEnabledTestCase.java
* testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/HTTPSManagementInterfaceTestCase.java
* testsuite/elytron/src/test/java/org/wildfly/test/integration/elytron/sasl/mgmt/KerberosNativeMgmtSaslTestCase.java
* testsuite/elytron/src/test/java/org/wildfly/test/integration/elytron/sasl/mgmt/ScramPlusMgmtSaslTestCase.java
* testsuite/manualmode/src/test/java/org/wildfly/core/test/standalone/mgmt/HTTPSManagementInterfaceTestCase.java
Is there a known SSL issue in JDK11? Could somebody from our security team investigate this issue?
When these tests will start passing WFCORE test suite will be passing 100% of tests on JDK11.
Potential investigator from our security team may want to include this PR:
https://github.com/wildfly/wildfly-core/pull/3420
to fix known JDK11 issues.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2820) [DMN Designer] [IE11] Node deletion throws an Error
by Daniel José dos Santos (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2820?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos reassigned DROOLS-2820:
----------------------------------------------
Assignee: Daniel José dos Santos (was: Michael Anstis)
> [DMN Designer] [IE11] Node deletion throws an Error
> ---------------------------------------------------
>
> Key: DROOLS-2820
> URL: https://issues.jboss.org/browse/DROOLS-2820
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
>
> After node deletion error dialo appears: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFCORE-4102) ModelPersistenceTestCase fails when running after ReadConfigAsFeaturesStandaloneTestCase
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-4102?page=com.atlassian.jira.plugi... ]
Jan Kalina updated WFCORE-4102:
-------------------------------
Description:
ModelPersistenceTestCase fails when ReadConfigAsFeaturesStandaloneTestCase runs in order before it.
Not depending on JDK version - affects JDK 8,9,11.
{code}
[INFO] Running org.wildfly.core.test.standalone.mgmt.api.core.ReadConfigAsFeaturesStandaloneTestCase
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.29 s - in org.wildfly.core.test.standalone.mgmt.api.core.ReadConfigAsFeaturesStandaloneTestCase
[INFO] Running org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase
[ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.088 s <<< FAILURE! - in org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase
[ERROR] testTakeAndDeleteSnapshot(org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase) Time elapsed: 0.017 s <<< ERROR!
java.io.FileNotFoundException: /home/jkalina/work/wildfly-core/testsuite/standalone/target/wildfly-core/standalone/configuration/standalone_xml_history/20180910-161302223standalone.last.xml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.apache.commons.io.FileUtils.checksum(FileUtils.java:2873)
at org.apache.commons.io.FileUtils.checksumCRC32(FileUtils.java:2846)
at org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase.testTakeAndDeleteSnapshot(ModelPersistenceTestCase.java:207)
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.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.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:109)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
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.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
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)
{code}
was:
ModelPersistenceTestCase fails when ReadConfigAsFeaturesStandaloneTestCase runs in order before it.
Not depending on JDK version - affects JDK 8,9,11.
> ModelPersistenceTestCase fails when running after ReadConfigAsFeaturesStandaloneTestCase
> ----------------------------------------------------------------------------------------
>
> Key: WFCORE-4102
> URL: https://issues.jboss.org/browse/WFCORE-4102
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 6.0.1.Final
> Reporter: Jan Kalina
>
> ModelPersistenceTestCase fails when ReadConfigAsFeaturesStandaloneTestCase runs in order before it.
> Not depending on JDK version - affects JDK 8,9,11.
> {code}
> [INFO] Running org.wildfly.core.test.standalone.mgmt.api.core.ReadConfigAsFeaturesStandaloneTestCase
> [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.29 s - in org.wildfly.core.test.standalone.mgmt.api.core.ReadConfigAsFeaturesStandaloneTestCase
> [INFO] Running org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase
> [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.088 s <<< FAILURE! - in org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase
> [ERROR] testTakeAndDeleteSnapshot(org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase) Time elapsed: 0.017 s <<< ERROR!
> java.io.FileNotFoundException: /home/jkalina/work/wildfly-core/testsuite/standalone/target/wildfly-core/standalone/configuration/standalone_xml_history/20180910-161302223standalone.last.xml (No such file or directory)
> at java.io.FileInputStream.open0(Native Method)
> at java.io.FileInputStream.open(FileInputStream.java:195)
> at java.io.FileInputStream.<init>(FileInputStream.java:138)
> at org.apache.commons.io.FileUtils.checksum(FileUtils.java:2873)
> at org.apache.commons.io.FileUtils.checksumCRC32(FileUtils.java:2846)
> at org.wildfly.core.test.standalone.mgmt.api.ModelPersistenceTestCase.testTakeAndDeleteSnapshot(ModelPersistenceTestCase.java:207)
> 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.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.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:109)
> at org.junit.runners.Suite.runChild(Suite.java:128)
> at org.junit.runners.Suite.runChild(Suite.java:27)
> 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.junitcore.JUnitCore.run(JUnitCore.java:55)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months