Details

    • Similar Issues:

      Description

      Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

      The error result:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running InjectedTest
      [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
      [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest)  Time elapsed: 0.016 s  <<< ERROR!
      com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
              at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
              at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
              at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
              at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
              at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
              at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
              at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
              at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
              at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
              at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
              at junit.framework.TestSuite.runTest(TestSuite.java:252)
              at junit.framework.TestSuite.run(TestSuite.java:247)
              at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
      
      [ERROR] initializationError(org.junit.runner.manipulation.Filter)  Time elapsed: 0.008 s  <<< ERROR!
      java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
              at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
      
      [ERROR] initializationError(org.junit.runner.manipulation.Filter)  Time elapsed: 0.001 s  <<< ERROR!
      java.lang.Exception: No runnable methods
              at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
              at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
              at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
              at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
              at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
              at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
              at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
      
      [ERROR] initializationError(org.junit.runner.manipulation.Filter)  Time elapsed: 0.001 s  <<< ERROR!
      java.lang.Exception: No runnable methods
              at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
              at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
              at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
              at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
              at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
              at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
              at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
      
      [ERROR] initializationError(org.junit.runner.manipulation.Filter)  Time elapsed: 0 s  <<< ERROR!
      java.lang.Exception: No runnable methods
              at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
              at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
              at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
              at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
              at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
              at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
              at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
              at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
              at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
      [ERROR]   Run 1: Filter.initializationError »  No tests found matching Method org.jvnet.hudson....
      [ERROR]   Run 2: Filter.initializationError »  No runnable methods
      [ERROR]   Run 3: Filter.initializationError »  No runnable methods
      [ERROR]   Run 4: Filter.initializationError »  No runnable methods
      [INFO] 
      [ERROR]   FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
      [INFO] 
      [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 25.741 s
      [INFO] Finished at: 2019-04-06T12:41:09+05:30
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
      [ERROR] 
      [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
      [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      
      

      This probably caused by the gitlab4j dependency. Any information or leads to isolate the problem can help solving this issue.

        Attachments

          Activity

          baymac Parichay Barpanda created issue -
          baymac Parichay Barpanda made changes -
          Field Original Value New Value
          Description Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          The plugin was generated using an empty Jenkins Plugin generator.
          baymac Parichay Barpanda made changes -
          Description Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          The plugin was generated using an empty Jenkins Plugin generator.
          Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          This probably caused to the gitlab4j dependency. Any information or leads to isolate the problem can help solving this issue.
          baymac Parichay Barpanda made changes -
          Description Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          This probably caused to the gitlab4j dependency. Any information or leads to isolate the problem can help solving this issue.
          Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

          The error result:
          {code:java}
          [INFO] -------------------------------------------------------
          [INFO] T E S T S
          [INFO] -------------------------------------------------------
          [INFO] Running InjectedTest
          [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.913 s <<< FAILURE! - in InjectedTest
          [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.016 s <<< ERROR!
          com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:37843/closures/?uuid=a15be251-9620-4497-b5ed-a8ba8e8f9e49
                  at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
                  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1602)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1590)
                  at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1510)
                  at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1360)
                  at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157)
                  at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51)
                  at junit.framework.TestSuite.runTest(TestSuite.java:252)
                  at junit.framework.TestSuite.run(TestSuite.java:247)
                  at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.008 s <<< ERROR!
          java.lang.Exception: No tests found matching Method org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) from org.junit.internal.requests.ClassRequest@15639440
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0.001 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [ERROR] initializationError(org.junit.runner.manipulation.Filter) Time elapsed: 0 s <<< ERROR!
          java.lang.Exception: No runnable methods
                  at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
                  at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
                  at org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
                  at org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
                  at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
                  at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
                  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
                  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
                  at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:36)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:379)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

          [INFO]
          [INFO] Results:
          [INFO]
          [ERROR] Errors:
          [ERROR] org.junit.runner.manipulation.Filter.initializationError(org.junit.runner.manipulation.Filter)
          [ERROR] Run 1: Filter.initializationError » No tests found matching Method org.jvnet.hudson....
          [ERROR] Run 2: Filter.initializationError » No runnable methods
          [ERROR] Run 3: Filter.initializationError » No runnable methods
          [ERROR] Run 4: Filter.initializationError » No runnable methods
          [INFO]
          [ERROR] FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite » FailingHttpStatusCode
          [INFO]
          [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
          [INFO]
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILURE
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 25.741 s
          [INFO] Finished at: 2019-04-06T12:41:09+05:30
          [INFO] ------------------------------------------------------------------------
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gitlab-api: There are test failures.
          [ERROR]
          [ERROR] Please refer to /home/parichay/gsoc/gitlab-api-plugin/target/surefire-reports for the individual test results.
          [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
          [ERROR] -> [Help 1]
          [ERROR]
          [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [ERROR]
          [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

          {code}

          This probably caused by the gitlab4j dependency. Any information or leads to isolate the problem can help solving this issue.
          baymac Parichay Barpanda made changes -
          Assignee Parichay Barpanda [ baymac ]
          Hide
          baymac Parichay Barpanda added a comment -

          This issue was resolved after upgrading to new gitlab4j api version 4.10.12. Still the cause of the problem is unknown.

          Show
          baymac Parichay Barpanda added a comment - This issue was resolved after upgrading to new gitlab4j api version 4.10.12. Still the cause of the problem is unknown.
          baymac Parichay Barpanda made changes -
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          baymac Parichay Barpanda made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
          baymac Parichay Barpanda made changes -
          Epic Link JENKINS-57445 [ 199258 ]
          baymac Parichay Barpanda made changes -
          Labels gitlab plugin testing gitlab gsoc-2019 plugin testing

            People

            • Assignee:
              baymac Parichay Barpanda
              Reporter:
              baymac Parichay Barpanda
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: