Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3341

org.jboss.as.test.integration.respawn.RespawnTestCase fails on IBMJDK due to 'JPS executable not found'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.Alpha1
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:

      IBM JDK

      Description

      The reason is IBMJDK doesn't contain jps.

      See:
      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/wildfly-as-testsuite-RHEL-matrix-IBMJDK7/jdk=ibm17,label_exp=RHEL6%26%26x86_64/3/testReport/org.jboss.as.test.integration.respawn/RespawnTestCase/org_jboss_as_test_integration_respawn_RespawnTestCase/

      Stacktrace

      java.lang.AssertionError: JPS executable not found. File: /qa/hudson_workspace/workspace/wildfly-as-testsuite-RHEL-matrix-IBMJDK7/e8d3a83a/jdk/jre/../bin/jps
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.jboss.as.test.integration.respawn.RespawnTestCase$UnixProcessUtil.getJpsCommand(RespawnTestCase.java:700)
      at org.jboss.as.test.integration.respawn.RespawnTestCase$ProcessUtil.listProcesses(RespawnTestCase.java:604)
      at org.jboss.as.test.integration.respawn.RespawnTestCase$ProcessUtil.getInitialProcessIds(RespawnTestCase.java:570)
      at org.jboss.as.test.integration.respawn.RespawnTestCase$ProcessUtil.<init>(RespawnTestCase.java:566)
      at org.jboss.as.test.integration.respawn.RespawnTestCase$UnixProcessUtil.<init>(RespawnTestCase.java:691)
      at org.jboss.as.test.integration.respawn.RespawnTestCase.createProcessController(RespawnTestCase.java:116)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pjelinek Pavel Jelinek
                Reporter:
                pjelinek Pavel Jelinek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: