[JBoss JIRA] (ISPN-12018) Fix JpaStoreCompatibilityTest failure
by Pedro Ruivo (Jira)
Pedro Ruivo created ISPN-12018:
----------------------------------
Summary: Fix JpaStoreCompatibilityTest failure
Key: ISPN-12018
URL: https://issues.redhat.com/browse/ISPN-12018
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 11.0.1.Final
jboss-parent uses a different {{java.io.tmpdir}} to run the tests. When the JPA test suite is built, the {{persistence.xml}} file is configured with {{java.io.tmpdir=/tmp}} but when it runs, {{java.io.tmpdir=.../target/}} folder.
The test is unable to find the 10.1x data and it fails.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Surefire plugin is not able to read the JAVA8_HOME environment variable
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison reassigned ISPN-12017:
------------------------------------
Assignee: Diego Lovison
> Surefire plugin is not able to read the JAVA8_HOME environment variable
> -----------------------------------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> The logs say the following:
> {noformat}
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
> ....
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>${java8.home}/bin/java</jvm>{noformat}
> and then it failed with
> {noformat}
> Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
> It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Surefire plugin is not able to read the JAVA8_HOME environment variable
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12017:
---------------------------------
Status: Open (was: New)
> Surefire plugin is not able to read the JAVA8_HOME environment variable
> -----------------------------------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> The logs say the following:
> {noformat}
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
> ....
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>${java8.home}/bin/java</jvm>{noformat}
> and then it failed with
> {noformat}
> Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
> It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Surefire plugin is not able to read the JAVA8_HOME environment variable
by Diego Lovison (Jira)
Diego Lovison created ISPN-12017:
------------------------------------
Summary: Surefire plugin is not able to read the JAVA8_HOME environment variable
Key: ISPN-12017
URL: https://issues.redhat.com/browse/ISPN-12017
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 11.0.0.Final
Reporter: Diego Lovison
The logs say the following:
{noformat}
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
....
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>${java8.home}/bin/java</jvm>{noformat}
and then it failed with
{noformat}
Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months