Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7874

ESB tests fail when run outside all-in-one collection of tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • 3.2.0.CR1
    • esb
    • None

    Description

      I've created a new ESB-only build job [0].

      [0] http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.component--esb/

      Unfortunately, it's not passing all its tests (unlike when run in the all-in-one job) [1].

      [1] http://hudson.qa.jboss.com/hudson/view/DevStudio_Trunk/job/jbosstools-3.2_trunk.tests/lastCompletedBuild/testReport/org.jboss.tools.esb.project.core.test/ESBProjectAllTests/

      Here's a snippet of the errors [2].

      [2] http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_trunk.component--esb/2/console

      Running org.jboss.tools.esb.project.core.test.ESBProjectAllTests
      [ResourceUtils]:Target Import Location: /esbTestProject
      [ResourceUtils]:Full path to source: /qa/hudson_ws/workspace/jbosstools-3.2_trunk.component--esb/sources/tests/org.jboss.tools.esb.project.core.test/projects/esbTestProject/
      [ResourceUtils]:Protocol: file
      [Fatal Error] :1:1: Premature end of file.
      [Fatal Error] :1:1: Premature end of file.
      [ResourceUtils]:Target Import Location: /esbTestProject_2
      [ResourceUtils]:Full path to source: /qa/hudson_ws/workspace/jbosstools-3.2_trunk.component--esb/sources/tests/org.jboss.tools.esb.project.core.test/projects/esbTestProject_2/
      [ResourceUtils]:Protocol: file
      [Fatal Error] :1:1: Premature end of file.
      Tests run: 7, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 12.279 sec <<< FAILURE!

      testUserCustomizedESBRuntime(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 8.246 sec <<< FAILURE!
      junit.framework.AssertionFailedError: unalbe to read User customized ESB runtime, jbossesb-rosetta.jar is not in classpath. expected:<true> but was:<false>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:283)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:143)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testUserCustomizedESBRuntime(ESBProjectDeploymentTest.java:233)

      testSOAP50Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 0.008 sec <<< FAILURE!
      junit.framework.AssertionFailedError: null
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertTrue(Assert.java:27)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.createServer(ESBProjectDeploymentTest.java:354)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testESBDeployment(ESBProjectDeploymentTest.java:266)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testSOAP50Deployment(ESBProjectDeploymentTest.java:238)

      testSOAP43Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 0.008 sec <<< FAILURE!
      junit.framework.AssertionFailedError: null
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertTrue(Assert.java:27)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.createServer(ESBProjectDeploymentTest.java:354)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testESBDeployment(ESBProjectDeploymentTest.java:266)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testSOAP43Deployment(ESBProjectDeploymentTest.java:243)

      testJBossServer50Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 0.008 sec <<< FAILURE!
      junit.framework.AssertionFailedError: null
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertTrue(Assert.java:27)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.createServer(ESBProjectDeploymentTest.java:354)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testESBDeployment(ESBProjectDeploymentTest.java:266)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testJBossServer50Deployment(ESBProjectDeploymentTest.java:248)

      testJbossServer51Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 0.017 sec <<< FAILURE!
      junit.framework.AssertionFailedError: null
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertTrue(Assert.java:27)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.createServer(ESBProjectDeploymentTest.java:354)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testESBDeployment(ESBProjectDeploymentTest.java:266)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testJbossServer51Deployment(ESBProjectDeploymentTest.java:253)

      testJbossServer42Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest) Time elapsed: 0.012 sec <<< FAILURE!
      junit.framework.AssertionFailedError: null
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertTrue(Assert.java:27)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.createServer(ESBProjectDeploymentTest.java:354)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testESBDeployment(ESBProjectDeploymentTest.java:266)
      at org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest.testJbossServer42Deployment(ESBProjectDeploymentTest.java:258)

      Results :

      Failed tests:
      testUserCustomizedESBRuntime(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)
      testSOAP50Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)
      testSOAP43Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)
      testJBossServer50Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)
      testJbossServer51Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)
      testJbossServer42Deployment(org.jboss.tools.esb.project.core.test.ESBProjectDeploymentTest)

      Tests run: 7, Failures: 6, Errors: 0, Skipped: 0

      [INFO] org.jboss.tools.esb.project.core .................. SUCCESS [51.084s]
      [INFO] org.jboss.tools.esb.core .......................... SUCCESS [4.492s]
      [INFO] org.jboss.tools.esb.ui ............................ SUCCESS [3.644s]
      [INFO] org.jboss.tools.esb.project.ui .................... SUCCESS [4.373s]
      [INFO] org.jboss.tools.esb.validator ..................... SUCCESS [6.520s]
      [INFO] org.jboss.tools.esb.feature ....................... SUCCESS [2.651s]
      [INFO] org.jboss.tools.esb.core.test ..................... SUCCESS [1:41.159s]
      [INFO] org.jboss.tools.esb.project.core.test ............. FAILURE [54.543s]
      [INFO] org.jboss.tools.esb.validator.test ................ SUCCESS [28.226s]
      [INFO] org.jboss.tools.esb.test.feature .................. SKIPPED
      [INFO] esb.features ...................................... SUCCESS [0.065s]
      [INFO] esb.plugins ....................................... SUCCESS [0.006s]
      [INFO] esb.tests ......................................... SUCCESS [0.006s]
      [INFO] esb.site .......................................... SUCCESS [4.788s]
      [INFO] esb.all ........................................... SUCCESS [0.005s]

      Attachments

        Activity

          People

            nivologd@gmail.com Denis Golovin (Inactive)
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: