[JIRA] (JENKINS-57444) Failing maven tests

19 views
Skip to first unread message

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 2:53:03 AM5/14/19
to jenkinsc...@googlegroups.com
Parichay Barpanda created an issue
 
Jenkins / Bug JENKINS-57444
Failing maven tests
Issue Type: Bug Bug
Assignee: Unassigned
Components: gitlab-api-plugin
Created: 2019-05-14 06:52
Labels: plugin testing gitlab
Priority: Major Major
Reporter: Parichay Barpanda

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 2:55:03 AM5/14/19
to jenkinsc...@googlegroups.com
Parichay Barpanda updated an issue
Change By: Parichay Barpanda
Test fails for compiling the new gitlab-api-plugin with command `mvn clean install`.

The error result:
{code:java}
{code}

The plugin was generated using an empty Jenkins Plugin generator.

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 2:59:15 AM5/14/19
to jenkinsc...@googlegroups.com
The plugin was generated using an empty Jenkins Plugin generator This probably caused to the gitlab4j dependency . Any information or leads to isolate the problem can help solving this issue.

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 3:03:02 AM5/14/19
to jenkinsc...@googlegroups.com
This probably caused to by the gitlab4j dependency. Any information or leads to isolate the problem can help solving this issue.

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 3:11:02 AM5/14/19
to jenkinsc...@googlegroups.com
Parichay Barpanda assigned an issue to Parichay Barpanda
Change By: Parichay Barpanda
Assignee: Parichay Barpanda

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 3:13:01 AM5/14/19
to jenkinsc...@googlegroups.com
Parichay Barpanda commented on Bug JENKINS-57444
 
Re: Failing maven tests

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

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 3:13:02 AM5/14/19
to jenkinsc...@googlegroups.com
Change By: Parichay Barpanda
Status: Open Fixed but Unreleased
Resolution: Fixed

parichay.barpanda@gmail.com (JIRA)

unread,
May 14, 2019, 3:15:01 AM5/14/19
to jenkinsc...@googlegroups.com
Change By: Parichay Barpanda
Status: Fixed but Unreleased Resolved

parichay.barpanda@gmail.com (JIRA)

unread,
May 18, 2019, 7:02:02 AM5/18/19
to jenkinsc...@googlegroups.com
Parichay Barpanda updated an issue
Change By: Parichay Barpanda
Labels: gitlab gsoc-2019 plugin testing
Reply all
Reply to author
Forward
0 new messages