Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1356

intermittent (machine wise) test failure on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-beta-1
    • 1.1-beta-2
    • Core - Profiles
    • None

    Description

      I have been noticing an odd test case that has been failing on certain machines but have been unable to reproduce it locally on my dev box.

      Working on a fresh installation on a friends machine I was able to find and maybe isolate the error with some more output.

      Maybe the profile work lately has caused this to happen but some of us have something installed in our local repo's that suppress the problem. It looks to me that the creation of a project with a bogus module definition is adding an additional error to the building results on these machines and with this output we can see that its not the /test-classes/projects/continuum/pom.xml artifact causing the problem but the I'm-not-here-project one.

      I am making this issue so we have a bit of a record on it and maybe we can track down why this doesn't manifest on installations such as mine (and I think emm as well)

      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-core/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-model/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-plexus-application/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-web/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-xmlrpc/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/continuum-notifiers/pom.xml
      [INFO] Downloading file:/home/jjchapman/src/trunks/continuum/continuum-core/targ
      et/test-classes/projects/continuum/I'm-not-here-project/pom.xml
      add.project.artifact.not.found.error
      add.project.missing.pom.error

      [ stderr ] ---------------------------------------------------------------

      [ stacktrace ] -----------------------------------------------------------

      junit.framework.AssertionFailedError: expected:<1> but was:<2>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:282)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:201)
      at junit.framework.Assert.assertEquals(Assert.java:207)
      at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumPro
      jectBuilderTest.testCreateProjectsWithModules(MavenTwoContinuumProjectBuilderTes
      t.java:200)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)

      Attachments

        Activity

          People

            jesse Jesse Stockall
            jmcconnell Jesse McConnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: