[jboss-as7-dev] Building JBoss-As7 : Why I see Integration tests all the time broken on my machine
Vimal Kansal
vkansal at redhat.com
Wed Jun 15 22:04:08 EDT 2011
Hi,
I have followed all the steps as described in "Hacking on AS7"
(http://community.jboss.org/wiki/HackingOnAS7). However, when I run
"build install", every time at the end, I am getting 'build failure as
shown below. Can somebody please help.
Thx
Vimal
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.as.arquillian.container.managed.IntegrationTestCase
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 17.69
sec <<< F
ILURE!
Running org.jboss.as.arquillian.container.managed.ManagedAsClientTestCase
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.234
sec <<< F
ILURE!
Running org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.156
sec <<< F
ILURE!
Results :
Tests in error:
org.jboss.as.arquillian.container.managed.IntegrationTestCase:
file:\C:\vkk\J
oss-AS7\jboss-as\arquillian\protocol-jmx\target\jboss-as-arquillian-protocol-jm
-7.0.0.Beta4-SNAPSHOT.jar!\arquillian-service\META-INF\services\org.jboss.msc.s
rvice.ServiceActivator was not found in any available ClassLoaders
org.jboss.as.arquillian.container.managed.IntegrationTestCase
org.jboss.as.arquillian.container.managed.ManagedAsClientTestCase:
file:\C:\v
k\JBoss-AS7\jboss-as\arquillian\protocol-jmx\target\jboss-as-arquillian-protoco
-jmx-7.0.0.Beta4-SNAPSHOT.jar!\arquillian-service\META-INF\services\org.jboss.m
c.service.ServiceActivator was not found in any available ClassLoaders
org.jboss.as.arquillian.container.managed.ManagedAsClientTestCase
org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase:
file:\C
\vkk\JBoss-AS7\jboss-as\arquillian\protocol-jmx\target\jboss-as-arquillian-prot
col-jmx-7.0.0.Beta4-SNAPSHOT.jar!\arquillian-service\META-INF\services\org.jbos
.msc.service.ServiceActivator was not found in any available ClassLoaders
org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss Application Server: Build Configuration ..... SUCCESS [2.808s]
[INFO] JBoss Application Server: Parent Aggregator ....... SUCCESS [5.819s]
[INFO] JBoss Application Server: Protocol Utilities ...... SUCCESS [5.008s]
[INFO] JBoss Application Server: Controller Client ....... SUCCESS [4.024s]
[INFO] JBoss Application Server: Command line interface .. SUCCESS [7.754s]
[INFO] JBoss Application Server: Controller Core ......... SUCCESS [8.314s]
[INFO] JBoss Application Server: Domain Management ....... SUCCESS [1.342s]
[INFO] JBoss Application Server: Domain HTTP API ......... SUCCESS [2.090s]
[INFO] JBoss Application Server: Deployment Repository ... SUCCESS [1.108s]
[INFO] JBoss Application Server: Embedded ................ SUCCESS [1.654s]
[INFO] JBoss Application Server: Process Controller ...... SUCCESS [1.138s]
[INFO] JBoss Application Server: Server .................. SUCCESS [11.514s]
[INFO] JBoss Application Server: Threading Subsystem ..... SUCCESS [2.668s]
[INFO] JBoss Application Server: Naming Subsystem ........ SUCCESS [2.667s]
[INFO] JBoss Application Server: EE ...................... SUCCESS [5.897s]
[INFO] JBoss Application Server: Clustering Subsystem .... SUCCESS [6.443s]
[INFO] JBoss Application Server: Transaction Subsystem ... SUCCESS [13.338s]
[INFO] JBoss Application Server: Security Subsystem ...... SUCCESS [2.636s]
[INFO] JBoss Application Server: Connector Subsystem ..... SUCCESS [6.630s]
[INFO] JBoss Application Server: Deployment Scanner ...... SUCCESS [3.105s]
[INFO] JBoss Application Server: Domain Controller ....... SUCCESS [2.199s]
[INFO] JBoss Application Server: EJB Subsystem ........... SUCCESS [6.911s]
[INFO] JBoss Application Server: Web Subsystem ........... SUCCESS [3.401s]
[INFO] JBoss Application Server: JPA Subsystem ........... SUCCESS [13.557s]
[INFO] JBoss Application Server: Weld Integration ........ SUCCESS [3.010s]
[INFO] JBoss Application Server: JAX-RS Integration ...... SUCCESS [1.763s]
[INFO] JBoss Application Server: JMX Subsystem ........... SUCCESS [1.404s]
[INFO] JBoss Application Server: Host Controller ......... SUCCESS [2.793s]
[INFO] JBoss Application Server: JacORB Subsystem ........ SUCCESS [5.350s]
[INFO] JBoss Application Server: Logging Subsystem ....... SUCCESS [2.106s]
[INFO] JBoss Application Server: Messaging Subsystem ..... SUCCESS [2.949s]
[INFO] JBoss Application Server: ModCluster Subsystem .... SUCCESS [1.341s]
[INFO] JBoss Application Server: OSGi .................... SUCCESS [0.344s]
[INFO] JBoss Application Server: OSGi Subsystem .......... SUCCESS [3.541s]
[INFO] JBoss Application Server: OSGi Config Admin ....... SUCCESS [3.931s]
[INFO] JBoss Application Server: Remoting Subsystem ...... SUCCESS [2.855s]
[INFO] JBoss Application Server: Service Archive Subsystem SUCCESS [3.120s]
[INFO] JBoss Application Server: Web Services Subsystem .. SUCCESS [0.359s]
[INFO] JBoss Application Server: Web Services Server Integration
Subsystem SUC
ESS [9.765s]
[INFO] JBoss Application Server: Build ................... SUCCESS [50.513s]
[INFO] JBoss Application Server: Arquillian .............. SUCCESS [0.437s]
[INFO] JBoss Application Server: Arquillian TestEnricher MSC SUCCESS
[1.576s]
[INFO] JBoss Application Server: Arquillian Common ....... SUCCESS [3.151s]
[INFO] JBoss Application Server: Arquillian Protocol JMX . SUCCESS [2.153s]
[INFO] JBoss Application Server: Arquillian Managed Container FAILURE
[54.475s
[INFO] JBoss Application Server: Arquillian Managed Domain Container
SKIPPED
[INFO] JBoss Application Server: Demos: Aggregator ....... SKIPPED
[INFO] JBoss Application Server: Demos: AS7 API .......... SKIPPED
[INFO] JBoss Application Server: Demos: Spec ............. SKIPPED
[INFO] JBoss Application Server: Demos: AS7 Internals .... SKIPPED
[INFO] JBoss Application Server: Demos: Legacy TO BE MOVED SKIPPED
[INFO] JBoss Application Server: Distribution ............ SKIPPED
[INFO] JBoss Application Server: Microcontainer Subsystem SKIPPED
[INFO] JBoss Application Server: OSGi Integration Plugin . SKIPPED
[INFO] JBoss Application Server: Web Services Tests Integration
Subsystem SKIP
ED
[INFO] JBoss Application Server Test Suite: Aggregator ... SKIPPED
[INFO] JBoss Application Server Test Suite: Smoke Tests .. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:42.814s
[INFO] Finished at: Thu Jun 16 11:55:24 EST 2011
[INFO] Final Memory: 90M/216M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2
8.1:test (default-test) on project
jboss-as-arquillian-container-managed: There
are test failures.
[ERROR]
[ERROR] Please refer to
C:\vkk\JBoss-AS7\jboss-as\arquillian\container-managed\
arget\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swi
ch.
[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 re
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureEx
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
comman
[ERROR] mvn <goals> -rf :jboss-as-arquillian-container-managed
Press any key to continue . . .
More information about the jboss-as7-dev
mailing list