Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2393

ParserRegistryTest fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • warnings-plugin
    • None
    • Platform: All, OS: All

      Tests in ParserRegistryTest.java fail,
      see maven-surefire report below:

      -------------------------------------------------------------------------------
      Test set: hudson.plugins.warnings.parser.ParserRegistryTest
      -------------------------------------------------------------------------------
      Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.109 sec <<<
      FAILURE!
      issue2359(hudson.plugins.warnings.parser.ParserRegistryTest) Time elapsed:
      1.781 sec <<< FAILURE!
      junit.framework.AssertionFailedError: Wrong number of annotations parsed
      expected:<140> but was:<148>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:277)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:195)
      at
      hudson.plugins.warnings.parser.ParserRegistryTest.issue2359(ParserRegistryTest.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
      org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
      at
      org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
      at
      org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      at
      org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
      at
      org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
      at
      org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      at
      org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at
      org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at
      org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
      org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

      multiplePatternsIssue2359(hudson.plugins.warnings.parser.ParserRegistryTest)
      Time elapsed: 1.781 sec <<< FAILURE!
      junit.framework.AssertionFailedError: Wrong number of annotations parsed
      expected:<133> but was:<148>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:277)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:195)
      at
      hudson.plugins.warnings.parser.ParserRegistryTest.multiplePatternsIssue2359(ParserRegistryTest.java:76)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
      org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
      at
      org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
      at
      org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      at
      org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
      at
      org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
      at
      org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      at
      org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at
      org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at
      org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at
      org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

            sjancke sjancke
            sjancke sjancke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: