Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8438

Cannot run single tests(one test) in EAP

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • EAP 6.0.0 ER 2, EAP 6.0.0 ER 3_Beta1, EAP 6.0.0 ER 6_Beta2
    • EAP 6 Optional
    • Testsuite
    • None
    • ASSIGNED

    Description

      It is still not possible to run one-test(single tests) in EAP6 yet which is of major concern as it hinders analysis of failed tests.

      I followed https://docs.jboss.org/author/display/AS71/AS+7+Integration+Testsuite+User+Guide

      Step 1:

      Command from jboss-eap

      mvn install -s settings.xml -Pnormal -Ppublic-repositories -Ppublic-plugin-repositories -Dtest='*Clustered*' -Dintegration.module -Dts.basic
      

      Stacktrace:

      org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [ERROR] 'dependencies.dependency.version' for org.jacorb:jacorb:jar must be a valid version but is '${version.org.jacorb}'. @ com.jboss.eap:jboss-eap-parent:6.0.0.ER3, /home/msadhukh/REDHAT/EAP6/AlphaTest/ER3/jboss-eap/pom.xml, line 1133, column 26
      [ERROR] 'dependencies.dependency.version' for net.jcip:jcip-annotations:jar must be a valid version but is '${version.net.jcip}'. @ com.jboss.eap:jboss-eap-parent:6.0.0.ER3, /home/msadhukh/REDHAT/EAP6/AlphaTest/ER3/jboss-eap/pom.xml, line 1298, column 26
      
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:632)
          at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:581)
      

      Step 2:

      Command executed from jboss-eap/testsuite

      mvn install -e -s /home/msadhukh/REDHAT/EAP6/AlphaTest/ER3/settings.xml -Pnormal -Ppublic-repositories -Ppublic-plugin-repositories -Dtest='*Clustered*' -Dts.basic
      

      Stacktrace:

      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.jboss.as:jboss-as-testsuite:pom:7.1.0.Final-redhat-1: Failed to collect dependencies for [org.jboss.as:jboss-as-testsuite-shared:jar:7.1.0.Final-redhat-1 (test), org.jboss.as:jboss-as-build:pom:7.1.0.Final-redhat-1 (compile), org.projectodd.stilts:stilts-stomp-client:jar:[0.1.26,0.1.26-redhat-1] (compile), org.projectodd.stilts:stilts-stomplet-server-core:jar:[0.1.26,0.1.26-redhat-1] (compile), org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.0.Final-redhat-1 (compile), org.jboss.arquillian.junit:arquillian-junit-container:jar:[1.0.0.CR7,1.0.0.CR7-redhat-1] (test), org.jboss.as:jboss-as-arquillian-container-managed:jar:7.1.0.Final-redhat-1 (compile), junit:junit:jar:[4.8.2,4.8.2-redhat-1] (test), org.jboss.as:jboss-as-build-config:jar:7.1.0.Final-redhat-1 (compile)]
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:139)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171)
          ... 22 more
      Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for [org.jboss.as:jboss-as-testsuite-shared:jar:7.1.0.Final-redhat-1 (test), org.jboss.as:jboss-as-build:pom:7.1.0.Final-redhat-1 (compile), org.projectodd.stilts:stilts-stomp-client:jar:[0.1.26,0.1.26-redhat-1] (compile), org.projectodd.stilts:stilts-stomplet-server-core:jar:[0.1.26,0.1.26-redhat-1] (compile), org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.0.Final-redhat-1 (compile), org.jboss.arquillian.junit:arquillian-junit-container:jar:[1.0.0.CR7,1.0.0.CR7-redhat-1] (test), org.jboss.as:jboss-as-arquillian-container-managed:jar:7.1.0.Final-redhat-1 (compile), junit:junit:jar:[4.8.2,4.8.2-redhat-1] (test), org.jboss.as:jboss-as-build-config:jar:7.1.0.Final-redhat-1 (compile)]
          at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:262)
          at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:345)
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:131)
          ... 23 more
      Caused by: org.sonatype.aether.resolution.VersionRangeResolutionException: No versions available for org.jboss.remotingjmx:remoting-jmx:jar:[1.0.0.Final,1.0.0.Final-redhat-1] within specified range
      

      Attachments

        Issue Links

          Activity

            People

              ozizka_jira Ondrej Zizka (Inactive)
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Misty Stanley-Jones Misty Stanley-Jones (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: