ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9963) Tests with mvn command invocation failed if path to M2_HOME contains spaces.
Date Mon, 22 Oct 2018 11:58:00 GMT
Sergey Antonov created IGNITE-9963:
--------------------------------------

             Summary: Tests with mvn command invocation failed if path to M2_HOME contains
spaces.
                 Key: IGNITE-9963
                 URL: https://issues.apache.org/jira/browse/IGNITE-9963
             Project: Ignite
          Issue Type: Bug
            Reporter: Sergey Antonov
            Assignee: Sergey Antonov


If path to M2_HOME contains spaces, tests with mvn invocation are failed with following exception:
{noformat}
Command='C:\Program Files\apache-maven-3.5.4/bin/mvn help:effective-settings' couldn't be
executed: 'C:\Program' is not recognized as an internal or external command, operable program
or batch file. UTF-8 java.lang.Exception: Abnormal exit value of 1 for pid 4652 [2018-10-22
14:49:28,032][INFO ][main][root] >>> Stopping test: PersistenceBasicCompatibilityTest#testNodeStartByOldVersionPersistenceData_2_1
in 968 ms <<< [2018-10-22 14:49:28,028][ERROR][main][root] Test failed. java.lang.Exception:
Abnormal exit value of 1 for pid 4652 at org.apache.ignite.compatibility.testframework.util.MavenUtils.exec(MavenUtils.java:191)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.defineMavenLocalRepositoryPath(MavenUtils.java:132)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getMavenLocalRepositoryPath(MavenUtils.java:120)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getPathToArtifact(MavenUtils.java:101)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getPathToIgniteArtifact(MavenUtils.java:70)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest$1.filteredJvmArgs(IgniteCompatibilityAbstractTest.java:186)
at org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy.<init>(IgniteProcessProxy.java:173)
at org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy.<init>(IgniteProcessProxy.java:148)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest$1.<init>(IgniteCompatibilityAbstractTest.java:143)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest.startGrid(IgniteCompatibilityAbstractTest.java:143)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest.startGrid(IgniteCompatibilityAbstractTest.java:116)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.doTestStartupWithOldVersion(PersistenceBasicCompatibilityTest.java:113)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.doTestStartupWithOldVersion(PersistenceBasicCompatibilityTest.java:139)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1(PersistenceBasicCompatibilityTest.java:89)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2176)
at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:142)
at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2091)
at java.lang.Thread.run(Thread.java:748) java.lang.Exception: Abnormal exit value of 1 for
pid 4652 at org.apache.ignite.compatibility.testframework.util.MavenUtils.exec(MavenUtils.java:191)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.defineMavenLocalRepositoryPath(MavenUtils.java:132)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getMavenLocalRepositoryPath(MavenUtils.java:120)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getPathToArtifact(MavenUtils.java:101)
at org.apache.ignite.compatibility.testframework.util.MavenUtils.getPathToIgniteArtifact(MavenUtils.java:70)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest$1.filteredJvmArgs(IgniteCompatibilityAbstractTest.java:186)
at org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy.<init>(IgniteProcessProxy.java:173)
at org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy.<init>(IgniteProcessProxy.java:148)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest$1.<init>(IgniteCompatibilityAbstractTest.java:143)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest.startGrid(IgniteCompatibilityAbstractTest.java:143)
at org.apache.ignite.compatibility.testframework.junits.IgniteCompatibilityAbstractTest.startGrid(IgniteCompatibilityAbstractTest.java:116)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.doTestStartupWithOldVersion(PersistenceBasicCompatibilityTest.java:113)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.doTestStartupWithOldVersion(PersistenceBasicCompatibilityTest.java:139)
at org.apache.ignite.compatibility.persistence.PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1(PersistenceBasicCompatibilityTest.java:89)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2176)
at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:142)
at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2091)
at java.lang.Thread.run(Thread.java:748)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message