[
https://issues.apache.org/jira/browse/SUREFIRE-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559936#comment-14559936
]
Tibor Digana commented on SUREFIRE-1159:
----------------------------------------
{quote}
[INFO]
[INFO] --- maven-surefire-plugin:2.19-SNAPSHOT:test (default-test) @
kotlinx.css ---
[INFO] Surefire report directory:
d:\vcs\cy6erGn0m\kotlinx.css-SUREFIRE-1159\target\surefire-reports
[INFO] parallel='classes', perCoreThreadCount=true, threadCount=8,
useUnlimitedThreads=false, threadCountSuites=0, threadC
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running it should build tag.style#id selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build tag.style#id selector
Running it should build .style#id selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build .style#id selector
Running it should generate tag selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in
it should generate tag selector
Running it should build a:not([href]) selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build a:not([href]) selector
Running it should build tag#id selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
it should build tag#id selector
Running it should build a:hover selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
it should build a:hover selector
Running it should build #id selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build #id selector
Running it should build @media { div } selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build @media { div } selector
Running it should build .style selector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in it
should build .style selector
Results :
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{quote}
> 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)