Failed
fr.inria.spirals.repairnator.process.step.TestGatherTestInformation.testGatherTestInformationOnlyOneErroring
Failing for the past 1 build
(Since Failed
)
Error Message
Expected: is <FailureLocation{className='nopol_examples.nopol_example_1.NopolExampleTest', failingMethods={}, erroringMethods={test5=[BugType{name='java.lang.StringIndexOutOfBoundsException', detail='java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:693) at nopol_examples.nopol_example_1.NopolExample.charAt(NopolExample.java:16) at nopol_examples.nopol_example_1.NopolExampleTest.test5(NopolExampleTest.java:39) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)'}]}, nbFailures=0, nbErrors=1}> but: was <FailureLocation{className='nopol_examples.nopol_example_1.NopolExampleTest', failingMethods={}, erroringMethods={test5=[BugType{name='java.lang.StringIndexOutOfBoundsException', detail='java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:693) at nopol_examples.nopol_example_1.NopolExample.charAt(NopolExample.java:16) at nopol_examples.nopol_example_1.NopolExampleTest.test5(NopolExampleTest.java:39) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)'}]}, nbFailures=0, nbErrors=1}>
Stacktrace
java.lang.AssertionError: Expected: is <FailureLocation{className='nopol_examples.nopol_example_1.NopolExampleTest', failingMethods={}, erroringMethods={test5=[BugType{name='java.lang.StringIndexOutOfBoundsException', detail='java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:693) at nopol_examples.nopol_example_1.NopolExample.charAt(NopolExample.java:16) at nopol_examples.nopol_example_1.NopolExampleTest.test5(NopolExampleTest.java:39) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)'}]}, nbFailures=0, nbErrors=1}> but: was <FailureLocation{className='nopol_examples.nopol_example_1.NopolExampleTest', failingMethods={}, erroringMethods={test5=[BugType{name='java.lang.StringIndexOutOfBoundsException', detail='java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:693) at nopol_examples.nopol_example_1.NopolExample.charAt(NopolExample.java:16) at nopol_examples.nopol_example_1.NopolExampleTest.test5(NopolExampleTest.java:39) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)'}]}, nbFailures=0, nbErrors=1}> at fr.inria.spirals.repairnator.process.step.TestGatherTestInformation.testGatherTestInformationOnlyOneErroring(TestGatherTestInformation.java:200)
Standard Output
[main] 13:47:50.369 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.process.git.GitHelper&#27;[0;39m - Init git submodules. [Thread-130] 13:47:55.634 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project test-projects: There are test failures. [Thread-130] 13:47:55.634 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] [Thread-130] 13:47:55.634 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] Please refer to /tmp/test_gathertest1720228763591369691/repo/target/surefire-reports for the individual test results. [Thread-130] 13:47:55.634 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] -> [Help 1] [Thread-130] 13:47:55.641 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] [Thread-130] 13:47:55.641 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] Re-run Maven using the -X switch to enable full debug logging. [Thread-130] 13:47:55.641 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] [Thread-130] 13:47:55.641 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] For more information about the errors and possible solutions, please read the following articles: [Thread-130] 13:47:55.641 &#27;[1;31mERROR&#27;[0;39m &#27;[36mf.i.s.r.p.m.o.MavenFilterOutputHandler&#27;[0;39m - [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [main] 13:47:56.393 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.paths.ComputeSourceDir&#27;[0;39m - 1 source dir was found: [main] 13:47:56.393 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.paths.ComputeSourceDir&#27;[0;39m - /tmp/test_gathertest1720228763591369691/repo/src/main/java [main] 13:47:56.397 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Get the following failing module path: /tmp/test_gathertest1720228763591369691/repo [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - ---Test results--- [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Total tests: 8 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Tests run: 8 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Tests passing: 7 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Failures: 0 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Errors: 1 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Skipped: 0 [main] 13:47:56.399 &#27;[34mINFO &#27;[0;39m &#27;[36mf.i.s.r.p.s.g.GatherTestInformation&#27;[0;39m - Serialize all data for build: 208897371