ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14346) Apache Build Failure: Surefire crashes
Date Sun, 13 Dec 2015 03:59:46 GMT

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

Jayush Luniya updated AMBARI-14346:
-----------------------------------
    Attachment: AMBARI-14346.addendum.patch

> Apache Build Failure: Surefire crashes
> --------------------------------------
>
>                 Key: AMBARI-14346
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14346
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.3.0
>            Reporter: Jayush Luniya
>            Assignee: Ajit Kumar
>            Priority: Blocker
>             Fix For: 2.3.0
>
>         Attachments: AMBARI-14346.addendum.patch, rb41267.patch
>
>
> https://builds.apache.org/job/Ambari-trunk-Commit/4012/console
> Surefire crashes. This looks like https://issues.apache.org/jira/browse/SUREFIRE-967.
We should update surefire plugin version from 2.13 to 2.15+
> {code}
> ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (ambari-web
unit tests) on project ambari-web: Command execution failed. Process exited with an error:
1 (Exit value: 1) -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test
(default-test) on project ambari-server: ExecutionException; nested exception is java.util.concurrent.ExecutionException:
java.lang.RuntimeException: There was an error in the forked process
> [ERROR] org.apache.maven.surefire.testset.TestSetFailedException: java.lang.ArrayIndexOutOfBoundsException:
0; nested exception is java.lang.ArrayIndexOutOfBoundsException: 0
> [ERROR] java.lang.ArrayIndexOutOfBoundsException: 0
> [ERROR] at org.apache.maven.surefire.report.SmartStackTraceParser.rootIsInclass(SmartStackTraceParser.java:176)
> [ERROR] at org.apache.maven.surefire.report.SmartStackTraceParser.getString(SmartStackTraceParser.java:131)
> [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4StackTraceWriter.smartTrimmedStackTrace(JUnit4StackTraceWriter.java:73)
> [ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:328)
> [ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:312)
> [ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.toString(ForkingRunListener.java:258)
> [ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.testError(ForkingRunListener.java:131)
> [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:111)
> [ERROR] at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100)
> [ERROR] at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
> [ERROR] at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:97)
> [ERROR] at org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:26)
> [ERROR] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:267)
> [ERROR] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> [ERROR] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> [ERROR] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> [ERROR] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> [ERROR] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> [ERROR] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> [ERROR] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> [ERROR] at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
> [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:606)
> [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
> [ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
> [ERROR] -> [Help 2]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :ambari-web
> Build step 'Execute shell' marked build as failure
> Updating AMBARI-14277
> Recording test results
> Warning: you have no plugins providing access control for builds, so falling back to
legacy behavior of permitting any downstream builds to be triggered
> Triggering a new build of Ambari-view
> Finished: FAILURE
> Page generated: Dec 11, 2015 7:04:24 PMREST APIJenkins ver. 1.609.3
> {code}



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

Mime
View raw message