Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27130

ProductInfoTestCase failing due to bad version and formatting

XMLWordPrintable

    • False
    • None
    • False

      ProductInfoTestCase.testRootResourceProductInfo and ProductInfoTestCase.testProductInfoOperation are failing [1] on bad version:

      } expected:<8.0[.3.GA]> but was:<8.0[ Update 2.0]>
      

      set in base server sources in jboss-eap-8.0.2.GA-CR1-src.zip. This zip contains base server sources for XP5. Test must be adjusted to deal with different version formatting.

      [1] https://jenkins.eapqe.psi.redhat.com/job/eap-8.x-as-testsuite-bootablejar-rhel/195/jdk=adoptiumjdk-17,label_exp=RHEL8&&dynamic&&large/testReport/junit/org.jboss.as.test.integration.management.api/ProductInfoTestCase/

      Full JUnit error message:

      org.junit.ComparisonFailure: 
      {
          "host-name" => "rhos-d-rhel8-large-dualstack-54274",
          "instance-identifier" => "460a9c20-b6a1-4799-b0bb-dce55120a436",
          "product-name" => "JBoss EAP",
          "product-version" => "8.0 Update 2.0",
          "product-community-identifier" => "Product",
          "product-home" => "/home/hudson/hudson_workspace/as-testsuite-bootablejar-rhel/03edfd1a/base-server-sources/testsuite/integration/basic/target/wildfly",
          "standalone-or-domain-identifier" => "STANDALONE_SERVER",
          "host-operating-system" => "Red Hat Enterprise Linux 8.9 (Ootpa)",
          "host-cpu" => {
              "host-cpu-arch" => "amd64",
              "host-core-count" => 4
          },
          "jvm" => {
              "name" => "Java HotSpot(TM) 64-Bit Server VM",
              "java-version" => "11",
              "jvm-version" => "11.0.22",
              "jvm-vendor" => "Oracle Corporation",
              "java-home" => "/home/hudson/hudson_workspace/as-testsuite-bootablejar-rhel/03edfd1a/tools/java"
          }
      } expected:<8.0[.3.GA]> but was:<8.0[ Update 2.0]>
      	at org.junit.Assert.assertEquals(Assert.java:117)
      	at org.jboss.as.test.integration.management.api.ProductInfoTestCase.assertProductInfo(ProductInfoTestCase.java:81)
      	at org.jboss.as.test.integration.management.api.ProductInfoTestCase.testProductInfoOperation(ProductInfoTestCase.java:58)
      

            Unassigned Unassigned
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: