Bug 913489 - Missing org.apache.maven.plugin.surefire.report.plexus.util.xml.XmlStreamReader class while executing maven-failsafe-plugin
Summary: Missing org.apache.maven.plugin.surefire.report.plexus.util.xml.XmlStreamRead...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-surefire
Version: 18
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 914165
TreeView+ depends on / blocked
 
Reported: 2013-02-21 10:57 UTC by Marek Goldmann
Modified: 2013-03-11 14:13 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-11 14:13:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Goldmann 2013-02-21 10:57:52 UTC
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.979s
[INFO] Finished at: Thu Feb 21 11:04:52 CET 2013
[INFO] Final Memory: 28M/660M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.12.4:verify (javaops.TestArithmetic) on project byteman: Execution javaops.TestArithmetic of goal org.apache.maven.plugins:maven-failsafe-plugin:2.12.4:verify failed: A required class was missing while executing org.apache.maven.plugins:maven-failsafe-plugin:2.12.4:verify: org/apache/maven/plugin/surefire/report/plexus/util/xml/XmlStreamReader
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.maven.plugins:maven-failsafe-plugin:2.9
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/usr/share/maven/repository/JPP/maven-failsafe-plugin.jar
[ERROR] urls[1] = file:/usr/share/maven/repository/JPP/atinject.jar
[ERROR] urls[2] = file:/usr/share/maven/repository/JPP/sisu/sisu-inject-bean.jar
[ERROR] urls[3] = file:/usr/share/maven/repository/JPP/guice/google-guice.jar
[ERROR] urls[4] = file:/usr/share/maven/repository/JPP/guava.jar
[ERROR] urls[5] = file:/usr/share/maven/repository/JPP/xbean/xbean-reflect.jar
[ERROR] urls[6] = file:/usr/share/maven/repository/JPP/maven-surefire/booter.jar
[ERROR] urls[7] = file:/usr/share/maven/repository/JPP/maven-surefire/api.jar
[ERROR] urls[8] = file:/usr/share/maven/repository/JPP/maven-surefire/common.jar
[ERROR] urls[9] = file:/usr/share/maven/repository/JPP/apache-commons-lang3.jar
[ERROR] urls[10] = file:/usr/share/maven/repository/JPP/maven-common-artifact-filters.jar
[ERROR] urls[11] = file:/usr/share/maven/repository/JPP/plexus/utils.jar
[ERROR] urls[12] = file:/usr/share/maven/repository/JPP/backport-util-concurrent.jar
[ERROR] urls[13] = file:/usr/share/maven/repository/JPP/plexus/interpolation.jar
[ERROR] urls[14] = file:/usr/share/maven/repository/JPP/aether/util.jar
[ERROR] urls[15] = file:/usr/share/maven/repository/JPP/plexus/containers-component-annotations.jar
[ERROR] urls[16] = file:/usr/share/maven/repository/JPP/plexus/plexus-sec-dispatcher.jar
[ERROR] urls[17] = file:/usr/share/maven/repository/JPP/plexus/plexus-cipher.jar
[ERROR] urls[18] = file:/usr/share/maven/repository/JPP/maven-plugin-tools/maven-plugin-annotations.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------: org.apache.maven.plugin.surefire.report.plexus.util.xml.XmlStreamReader
[ERROR] -> [Help 1]
[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/PluginContainerException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :byteman
error: Bad exit status from /var/tmp/rpm-tmp.FjqWHI (%build)

Comment 1 Marek Goldmann 2013-02-21 12:18:10 UTC
The issue exists on Fedora 18, not on Rawhide.

Test scratch builds (currently in progress):

* F18: http://koji.fedoraproject.org/koji/taskinfo?taskID=5039427
* Rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=5039434

Comment 2 Mikolaj Izdebski 2013-02-22 08:48:27 UTC
(In reply to comment #1)
> The issue exists on Fedora 18, not on Rawhide.

That would explain why I couldn't reproduce that in rawhide yesterday.

Thank you for the report.

Comment 3 Mikolaj Izdebski 2013-02-26 10:21:11 UTC
Reproduced. Priority: high

Comment 4 Michal Srb 2013-03-11 14:08:16 UTC
I tried to build it in koji today and it seems to be working now:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5106434

Comment 5 Mikolaj Izdebski 2013-03-11 14:13:44 UTC
It looks like the bug is reproducible only under some circumstances (and we're not exactly sure what was causing it).

In Fedora 19 maven-shade-plugin was disabled, which fixed which bug. Testing confirms that. None of us was able to reproduce this bug in Fedora 19.

The bugfix from Fedora 19 would be too invasive and possibly cause some regressions, so I am closing this bug as NEXTRELEASE (no bugfix is planned for Fedora 18). If you're affected by this bug then either provide a reproducer with detailed information how to use it or skip running tests.


Note You need to log in before you can comment on or make changes to this bug.