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

DeploymentScannerTestCase from wf-core fails intermittently

    XMLWordPrintable

Details

    • Regression

    Description

      Description of problem:
      DeploymentScannerTestCase from wf-core fails intermittently

      This is regression against EAP 7.1.0.DR15

      How reproducible:
      5%, but reproducer job can reproduce this issue with 100% probability

      Steps to Reproduce:

      export SETTINGS_XML=`pwd`/tools/maven/conf/settings.xml
      cd testsuite
      for (( i = 1; i <= 100 ; i++ )) ; do
          echo $i
          mvn install -DfailIfNoTests=false -B -Dmaven.repo.local=$MAVEN_REPO_LOCAL -fae -s $SETTINGS_XML -llr -DfailIfNoTests=false -Dtest=DeploymentScannerTestCase
      done
      

      Actual results:
      StackTrace:

      org.junit.ComparisonFailure: Unexpected outcome {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0436: Cannot register capability 'org.wildfly.management.deployment-scanner.testScanner' at location '[
          (\"subsystem\" => \"deployment-scanner\"),
          (\"scanner\" => \"testScanner\")
      ]' as it is already registered in context 'global' at location(s) '[[
          (\"subsystem\" => \"deployment-scanner\"),
          (\"scanner\" => \"testScanner\")
      ]]'",
          "rolled-back" => true
      } of adding the test deployment scanner: {
          "operation" => "add",
          "address" => [
              ("subsystem" => "deployment-scanner"),
              ("scanner" => "testScanner")
          ],
          "scan-interval" => 1000,
          "path" => "/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-deployment-scanner/4f840434/testsuite/standalone/target/tempDeployment"
      } expected:<[success]> but was:<[failed]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.wildfly.core.test.standalone.mgmt.api.DeploymentScannerTestCase.addDeploymentScanner(DeploymentScannerTestCase.java:197)
      	at org.wildfly.core.test.standalone.mgmt.api.DeploymentScannerTestCase.testAddRemove(DeploymentScannerTestCase.java:108)
      

      Standard output:

      [0m10:46:08,129 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory /tmp/DeploymentScannerTestCase/nonExistingPath
      [0m[33m10:46:08,139 WARN  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0037: /tmp/DeploymentScannerTestCase/nonExistingPath does not exist
      [0m[33m10:46:08,140 WARN  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0043: Deployment directory scan failed due to inaccessible deployment directory: /tmp/DeploymentScannerTestCase/nonExistingPath
      [0m[0m10:46:08,269 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-deployment-scanner/4f840434/testsuite/standalone/target/tempDeployment
      [0m[0m10:46:08,413 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0236: Suspending server with no timeout.
      [0m[0m10:46:08,430 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
      [0m[0m10:46:08,530 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Core 3.0.0.Beta13-redhat-1 "Kenny" stopped in 45ms
      [0m
      

      Expected results:
      No error

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: