[jira] [Updated] (MNG-6095) mvn script warns on Solaris

2016-09-23 Thread Sergey Mashkov (JIRA)

 [ 
https://issues.apache.org/jira/browse/MNG-6095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Mashkov updated MNG-6095:

Description: 
I can see warnings at every build complaining about local

{noformat}
local: not found [No such file or directory]
{noformat}

See full excerpt

{noformat}
sol ❯ vagrant ssh 
Last login: Fri Sep 23 07:56:07 2016 from 10.0.2.2
Oracle Corporation  SunOS 5.11  11.3September 2015
vagrant@solaris:~$ mvn --version
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[200]: local: not 
found [No such file or directory]
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[201]: local: not 
found [No such file or directory]
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00)
Maven home: /export/home/vagrant/.sdkman/candidates/maven/current
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/jdk/instances/jdk1.8.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "sunos", version: "5.11", arch: "amd64", family: "unix"
{noformat}

However it looks like it doesn't cause any real issues


  was:
I can see warnings at every build complaining about local

{noformat}
local: not found [No such file or directory]
{noformat}

See full excerpt

{noformat}
sol ❯ vagrant ssh   

   ⏎
Last login: Fri Sep 23 07:56:07 2016 from 10.0.2.2
Oracle Corporation  SunOS 5.11  11.3September 2015
vagrant@solaris:~$ mvn --version
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[200]: local: not 
found [No such file or directory]
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[201]: local: not 
found [No such file or directory]
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00)
Maven home: /export/home/vagrant/.sdkman/candidates/maven/current
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/jdk/instances/jdk1.8.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "sunos", version: "5.11", arch: "amd64", family: "unix"
{noformat}

However it looks like it doesn't cause any real issues



> mvn script warns on Solaris
> ---
>
> Key: MNG-6095
> URL: https://issues.apache.org/jira/browse/MNG-6095
> Project: Maven
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 3.3.9
> Environment: Solaris 11.3, ksh 93u, maven 3.3.9
>Reporter: Sergey Mashkov
>Priority: Minor
>  Labels: solaris
>
> I can see warnings at every build complaining about local
> {noformat}
> local: not found [No such file or directory]
> {noformat}
> See full excerpt
> {noformat}
> sol ❯ vagrant ssh 
> Last login: Fri Sep 23 07:56:07 2016 from 10.0.2.2
> Oracle Corporation  SunOS 5.11  11.3September 2015
> vagrant@solaris:~$ mvn --version
> /export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[200]: local: 
> not found [No such file or directory]
> /export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[201]: local: 
> not found [No such file or directory]
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
> 2015-11-10T11:41:47-05:00)
> Maven home: /export/home/vagrant/.sdkman/candidates/maven/current
> Java version: 1.8.0_60, vendor: Oracle Corporation
> Java home: /usr/jdk/instances/jdk1.8.0/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "sunos", version: "5.11", arch: "amd64", family: "unix"
> {noformat}
> However it looks like it doesn't cause any real issues



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MNG-6095) mvn script warns on Solaris

2016-09-23 Thread Sergey Mashkov (JIRA)
Sergey Mashkov created MNG-6095:
---

 Summary: mvn script warns on Solaris
 Key: MNG-6095
 URL: https://issues.apache.org/jira/browse/MNG-6095
 Project: Maven
  Issue Type: Bug
  Components: Command Line
Affects Versions: 3.3.9
 Environment: Solaris 11.3, ksh 93u, maven 3.3.9

Reporter: Sergey Mashkov
Priority: Minor


I can see warnings at every build complaining about local

{noformat}
local: not found [No such file or directory]
{noformat}

See full excerpt

{noformat}
sol ❯ vagrant ssh   

   ⏎
Last login: Fri Sep 23 07:56:07 2016 from 10.0.2.2
Oracle Corporation  SunOS 5.11  11.3September 2015
vagrant@solaris:~$ mvn --version
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[200]: local: not 
found [No such file or directory]
/export/home/vagrant/.sdkman/candidates/maven/current/bin/mvn[201]: local: not 
found [No such file or directory]
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00)
Maven home: /export/home/vagrant/.sdkman/candidates/maven/current
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/jdk/instances/jdk1.8.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "sunos", version: "5.11", arch: "amd64", family: "unix"
{noformat}

However it looks like it doesn't cause any real issues




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SUREFIRE-1159) JUnit47 runner failing in parallel mode

2015-05-28 Thread Sergey Mashkov (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14562843#comment-14562843
 ] 

Sergey Mashkov commented on SUREFIRE-1159:
--

So cool, thanks for fast response and fix

 JUnit47 runner failing in parallel mode
 ---

 Key: SUREFIRE-1159
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1159
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.18.1
Reporter: Sergey Mashkov
Assignee: Tibor Digana
  Labels: parallel
 Fix For: 2.19


 JUnit47 runner failing in parallel mode. Due to some reason at 
 TestSet.java:115 it evaluates isJunit3 = true and trying to get first 
 children of empty TestSetDescription 
 {noformat}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
 project kotlinx.css: ExecutionException: java.lang.RuntimeException: There 
 was an error in the forked process
 [ERROR] org.apache.maven.surefire.testset.TestSetFailedException: 
 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, 
 Size: 0
 [ERROR] at 
 org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:89)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:58)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
 [ERROR] Caused by: java.lang.RuntimeException: 
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:100)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.ConcurrentRunListener.testSetCompleted(ConcurrentRunListener.java:82)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreRunListener.testRunFinished(JUnitCoreRunListener.java:73)
 [ERROR] at 
 org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
 [ERROR] ... 6 more
 [ERROR] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
 [ERROR] at java.util.ArrayList.get(ArrayList.java:429)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.createReportEntry(TestSet.java:115)
 [ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:74)
 [ERROR] ... 15 more
 [ERROR] - [Help 1]
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SUREFIRE-1159) JUnit47 runner failing in parallel mode

2015-05-26 Thread Sergey Mashkov (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14559007#comment-14559007
 ] 

Sergey Mashkov commented on SUREFIRE-1159:
--

Custom runner is inside Spek implementation

 JUnit47 runner failing in parallel mode
 ---

 Key: SUREFIRE-1159
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1159
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.18.1
Reporter: Sergey Mashkov
Assignee: Tibor Digana
  Labels: parallel

 JUnit47 runner failing in parallel mode. Due to some reason at 
 TestSet.java:115 it evaluates isJunit3 = true and trying to get first 
 children of empty TestSetDescription 
 {noformat}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
 project kotlinx.css: ExecutionException: java.lang.RuntimeException: There 
 was an error in the forked process
 [ERROR] org.apache.maven.surefire.testset.TestSetFailedException: 
 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, 
 Size: 0
 [ERROR] at 
 org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:89)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:58)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
 [ERROR] Caused by: java.lang.RuntimeException: 
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:100)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.ConcurrentRunListener.testSetCompleted(ConcurrentRunListener.java:82)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreRunListener.testRunFinished(JUnitCoreRunListener.java:73)
 [ERROR] at 
 org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
 [ERROR] ... 6 more
 [ERROR] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
 [ERROR] at java.util.ArrayList.get(ArrayList.java:429)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.createReportEntry(TestSet.java:115)
 [ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:74)
 [ERROR] ... 15 more
 [ERROR] - [Help 1]
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SUREFIRE-1159) JUnit47 runner failing in parallel mode

2015-05-25 Thread Sergey Mashkov (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14558080#comment-14558080
 ] 

Sergey Mashkov commented on SUREFIRE-1159:
--

Yes, it is 4.12. However I believe the root case is inside custom JUnit Runner. 
In spite of I still think the mentioned line that checking junit version looks 
incorrect and should be done another way

 JUnit47 runner failing in parallel mode
 ---

 Key: SUREFIRE-1159
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1159
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.18.1
Reporter: Sergey Mashkov
Assignee: Tibor Digana
  Labels: parallel

 JUnit47 runner failing in parallel mode. Due to some reason at 
 TestSet.java:115 it evaluates isJunit3 = true and trying to get first 
 children of empty TestSetDescription 
 {noformat}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
 project kotlinx.css: ExecutionException: java.lang.RuntimeException: There 
 was an error in the forked process
 [ERROR] org.apache.maven.surefire.testset.TestSetFailedException: 
 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, 
 Size: 0
 [ERROR] at 
 org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:89)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:58)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
 [ERROR] Caused by: java.lang.RuntimeException: 
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:100)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.ConcurrentRunListener.testSetCompleted(ConcurrentRunListener.java:82)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreRunListener.testRunFinished(JUnitCoreRunListener.java:73)
 [ERROR] at 
 org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
 [ERROR] ... 6 more
 [ERROR] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
 [ERROR] at java.util.ArrayList.get(ArrayList.java:429)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.createReportEntry(TestSet.java:115)
 [ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:74)
 [ERROR] ... 15 more
 [ERROR] - [Help 1]
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SUREFIRE-1159) JUnit47 runner failing in parallel mode

2015-05-25 Thread Sergey Mashkov (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14558535#comment-14558535
 ] 

Sergey Mashkov commented on SUREFIRE-1159:
--

Yes, it is caused by custom runner so it is JMM visibility issue causes tests 
list to be empty. And it need to be fixed on custom runner side, not at 
surefire side. However I believe presence of tests list is not a flag to be 
used to detect JUnit version so I guess something should be done at 
TestSet.java:115 anyway.

To reproduce it see https://github.com/cy6erGn0m/kotlinx.css/tree/SUREFIRE-1159 
(notice branch name)
If I use forkCount=N instead of parallel mode, or disable concurrent execution 
at all then issue disappear.

 JUnit47 runner failing in parallel mode
 ---

 Key: SUREFIRE-1159
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1159
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.18.1
Reporter: Sergey Mashkov
Assignee: Tibor Digana
  Labels: parallel

 JUnit47 runner failing in parallel mode. Due to some reason at 
 TestSet.java:115 it evaluates isJunit3 = true and trying to get first 
 children of empty TestSetDescription 
 {noformat}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
 project kotlinx.css: ExecutionException: java.lang.RuntimeException: There 
 was an error in the forked process
 [ERROR] org.apache.maven.surefire.testset.TestSetFailedException: 
 java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, 
 Size: 0
 [ERROR] at 
 org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:89)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:58)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
 [ERROR] at 
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
 [ERROR] Caused by: java.lang.RuntimeException: 
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:100)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.ConcurrentRunListener.testSetCompleted(ConcurrentRunListener.java:82)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreRunListener.testRunFinished(JUnitCoreRunListener.java:73)
 [ERROR] at 
 org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
 [ERROR] at 
 org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
 [ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
 [ERROR] ... 6 more
 [ERROR] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 [ERROR] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
 [ERROR] at java.util.ArrayList.get(ArrayList.java:429)
 [ERROR] at 
 org.apache.maven.surefire.junitcore.TestSet.createReportEntry(TestSet.java:115)
 [ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:74)
 [ERROR] ... 15 more
 [ERROR] - [Help 1]
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SUREFIRE-1159) JUnit47 runner failing in parallel mode

2015-05-23 Thread Sergey Mashkov (JIRA)
Sergey Mashkov created SUREFIRE-1159:


 Summary: JUnit47 runner failing in parallel mode
 Key: SUREFIRE-1159
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1159
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.18.1
Reporter: Sergey Mashkov


JUnit47 runner failing in parallel mode. Due to some reason at TestSet.java:115 
it evaluates isJunit3 = true and trying to get first children of empty 
TestSetDescription 

{noformat}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project kotlinx.css: ExecutionException: java.lang.RuntimeException: There was 
an error in the forked process
[ERROR] org.apache.maven.surefire.testset.TestSetFailedException: 
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, 
Size: 0
[ERROR] at 
org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:89)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:58)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
[ERROR] at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
[ERROR] at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
[ERROR] at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[ERROR] Caused by: java.lang.RuntimeException: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:100)
[ERROR] at 
org.apache.maven.surefire.junitcore.ConcurrentRunListener.testSetCompleted(ConcurrentRunListener.java:82)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreRunListener.testRunFinished(JUnitCoreRunListener.java:73)
[ERROR] at 
org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42)
[ERROR] at 
org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103)
[ERROR] at 
org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
[ERROR] at 
org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100)
[ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
[ERROR] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[ERROR] at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
[ERROR] ... 6 more
[ERROR] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[ERROR] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
[ERROR] at java.util.ArrayList.get(ArrayList.java:429)
[ERROR] at 
org.apache.maven.surefire.junitcore.TestSet.createReportEntry(TestSet.java:115)
[ERROR] at org.apache.maven.surefire.junitcore.TestSet.replay(TestSet.java:74)
[ERROR] ... 15 more
[ERROR] - [Help 1]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)