You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2024/03/21 14:09:07 UTC
Build failed in Jenkins: Brooklyn » Brooklyn - Server module » master #549
See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/549/display/redirect>
Changes:
------------------------------------------
[...truncated 68448 lines...]
2024-03-21 14:08:44,898 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.feed.http.HttpFeedTest.setUp() finished in 73 ms
2024-03-21 14:08:44,898 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.feed.http.HttpFeedTest.testUsesExceptionHandlerOn4xxAndNoFailureHandler()
2024-03-21 14:08:44,906 INFO c.g.m.MockWebServer Received request: GET / HTTP/1.1 and responded: HTTP/1.1 401 OK
2024-03-21 14:08:44,907 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.feed.http.HttpFeedTest.testUsesExceptionHandlerOn4xxAndNoFailureHandler() finished in 9 ms
2024-03-21 14:08:44,907 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.feed.http.HttpFeedTest.tearDown()
2024-03-21 14:08:44,912 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.feed.http.HttpFeedTest.tearDown() finished in 5 ms
2024-03-21 14:08:44,913 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.feed.http.HttpFeedTest.setUp()
2024-03-21 14:08:44,986 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.feed.http.HttpFeedTest.setUp() finished in 73 ms
2024-03-21 14:08:44,986 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.feed.http.HttpFeedTest.testUsesFailureHandlerOn4xx()
2024-03-21 14:08:44,993 INFO c.g.m.MockWebServer Received request: GET / HTTP/1.1 and responded: HTTP/1.1 401 OK
2024-03-21 14:08:44,995 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.feed.http.HttpFeedTest.testUsesFailureHandlerOn4xx() finished in 9 ms
2024-03-21 14:08:44,995 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.feed.http.HttpFeedTest.tearDown()
2024-03-21 14:08:45,002 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.feed.http.HttpFeedTest.tearDown() finished in 7 ms
2024-03-21 14:08:45,328 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG
===============================================
Surefire test
Tests run: 2743, Failures: 2, Skips: 0
===============================================
2024-03-21 14:08:45,329 WARN t.r.usage Management Context LocalManagementContext[?-FrME9JIQ] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:144)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:166)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
at org.apache.brooklyn.core.test.entity.LocalManagementContextForTests.<init>(LocalManagementContextForTests.java:45)
at org.apache.brooklyn.core.test.entity.LocalManagementContextForTests$Builder.build(LocalManagementContextForTests.java:185)
at org.apache.brooklyn.core.BrooklynVersionTest.testGetFeatures(BrooklynVersionTest.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:132)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
2024-03-21 14:08:45,390 INFO t.r.usage BrooklynLeakListener.onFinish attempting to terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; excludedGroups=[Acceptance, Integration, Live, Live-sanity, Broken, WIP]; suiteName=Surefire suite; outDir=/home/jenkins/workspace/Brooklyn_brooklyn-server_master/core/target/surefire-reports/testng-native-results/Surefire suite: 1 ManagementContexts terminated
[GC (Allocation Failure) 402376K->159166K(777216K), 0.0121261 secs]
[GC (Allocation Failure) 402878K->159282K(769536K), 0.0099528 secs]
2024-03-21 14:08:48,607 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG RUNNING: Suite: "Surefire test" containing "0" Tests (config: null)
2024-03-21 14:08:48,677 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo()
2024-03-21 14:08:48,681 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo() finished in 14 ms
2024-03-21 14:08:48,681 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId()
2024-03-21 14:08:48,682 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId() finished in 15 ms
2024-03-21 14:08:48,682 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithSearchSinglePhrase()
2024-03-21 14:08:48,682 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithSearchSinglePhrase() finished in 15 ms
2024-03-21 14:08:48,682 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase()
2024-03-21 14:08:48,682 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase() finished in 14 ms
2024-03-21 14:08:48,683 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId()
2024-03-21 14:08:48,683 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId() finished in 15 ms
2024-03-21 14:08:48,683 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange()
2024-03-21 14:08:48,683 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange() finished in 15 ms
2024-03-21 14:08:48,683 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase()
2024-03-21 14:08:48,684 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase() finished in 15 ms
2024-03-21 14:08:48,684 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel()
2024-03-21 14:08:48,685 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel() finished in 17 ms
2024-03-21 14:08:48,685 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange()
2024-03-21 14:08:48,685 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange() finished in 17 ms
2024-03-21 14:08:48,685 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom()
2024-03-21 14:08:48,685 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom() finished in 17 ms
2024-03-21 14:08:48,686 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange()
2024-03-21 14:08:48,686 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange() finished in 18 ms
2024-03-21 14:08:48,686 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest()
2024-03-21 14:08:48,686 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest() finished in 18 ms
2024-03-21 14:08:48,690 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG
===============================================
Surefire test
Tests run: 12, Failures: 0, Skips: 0
===============================================
Tests run: 2755, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 833.499 sec <<< FAILURE! - in TestSuite
testCustomWorkflowLockInterrupted(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest) Time elapsed: 26.961 sec <<< FAILURE!
java.lang.AssertionError:
Workflow task should have finished: Waiting on: Task[1 - workflow]@DPUioLV8
Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server restart)]@OaHvRO1y
Submitted by: Task[Resuming with failure 9 interrupted workflows]@P4y9r14N
Children:
Task[1 - workflow]@DPUioLV8: Waiting on: Task[workflow (sub-workflow) (Resumed dangling on server restart)]@BVzUbyq5
Thread waiting (notify) on java.util.concurrent.FutureTask@5578cb71
At: com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62)
org.apache.brooklyn.util.core.task.BasicTask.get(BasicTask.java:384)
org.apache.brooklyn.util.core.task.BasicTask.getUnchecked(BasicTask.java:393)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.runCurrentStepInstanceApproved(WorkflowExecutionContext.java:1542)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1118)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$590/1179712857.call(Unknown Source)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1051)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:973)
org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:382)
org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:910)
at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterrupted(WorkflowNestedAndCustomExtensionTest.java:576)
testCustomWorkflowLockInterruptedNoAutoReplay(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest) Time elapsed: 32.349 sec <<< FAILURE!
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:608)
Caused by: java.util.concurrent.TimeoutException
at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:608)
2024-03-21 14:08:48,811 INFO o.a.b.c.m.i.BrooklynShutdownHooks Brooklyn shutdown: stopping entities [TestEntityImpl{id=dr23udiz0h}, TestEntityImpl{id=yn6koxox1o}, BlockingEntityImpl{id=ftw2z9xirw}]
Results :
Failed tests:
WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterrupted:576 Workflow task should have finished: Waiting on: Task[1 - workflow]@DPUioLV8
Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server restart)]@OaHvRO1y
Submitted by: Task[Resuming with failure 9 interrupted workflows]@P4y9r14N
Children:
Task[1 - workflow]@DPUioLV8: Waiting on: Task[workflow (sub-workflow) (Resumed dangling on server restart)]@BVzUbyq5
Thread waiting (notify) on java.util.concurrent.FutureTask@5578cb71
At: com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62)
org.apache.brooklyn.util.core.task.BasicTask.get(BasicTask.java:384)
org.apache.brooklyn.util.core.task.BasicTask.getUnchecked(BasicTask.java:393)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.runCurrentStepInstanceApproved(WorkflowExecutionContext.java:1542)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1118)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$590/1179712857.call(Unknown Source)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1051)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:973)
org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:382)
org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:910)
WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay:608 » PropagatedRuntime
Tests run: 2755, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Server Root ............................... SUCCESS [ 17.759 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [ 18.854 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 13.116 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 0.561 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 36.561 s]
[INFO] Brooklyn API ....................................... SUCCESS [ 3.732 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [ 0.265 s]
[INFO] CAMP Base .......................................... SUCCESS [ 4.354 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [ 3.503 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 6.202 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.262 s]
[INFO] CAMP Server ........................................ SUCCESS [ 11.410 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 5.159 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 3.046 s]
[INFO] Brooklyn Core ...................................... FAILURE [15:25 min]
[INFO] Brooklyn Policies .................................. SKIPPED
[INFO] Brooklyn WinRM Software Entities ................... SKIPPED
[INFO] Brooklyn Secure JMXMP Agent ........................ SKIPPED
[INFO] Brooklyn JMX RMI Agent ............................. SKIPPED
[INFO] Brooklyn Jclouds Location Targets .................. SKIPPED
[INFO] Brooklyn Software Base ............................. SKIPPED
[INFO] Brooklyn CAMP ...................................... SKIPPED
[INFO] Brooklyn Launcher Common ........................... SKIPPED
[INFO] Brooklyn REST API .................................. SKIPPED
[INFO] Brooklyn REST Resources ............................ SKIPPED
[INFO] Brooklyn REST Server ............................... SKIPPED
[INFO] Brooklyn Launcher .................................. SKIPPED
[INFO] Brooklyn Container Location Targets ................ SKIPPED
[INFO] Brooklyn Command Line Interface .................... SKIPPED
[INFO] Brooklyn Test Framework ............................ SKIPPED
[INFO] Brooklyn OSGi init ................................. SKIPPED
[INFO] Brooklyn OSGi start ................................ SKIPPED
[INFO] Brooklyn Karaf ..................................... SKIPPED
[INFO] Jetty config fragment .............................. SKIPPED
[INFO] Apache Http Component extension .................... SKIPPED
[INFO] Brooklyn Karaf Features ............................ SKIPPED
[INFO] Brooklyn Karaf Shell Commands ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:50 min
[INFO] Finished at: 2024-03-21T14:08:49Z
[INFO] Final Memory: 91M/2715M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-core: There are test failures.
[ERROR]
[ERROR] Please refer to /home/jenkins/workspace/Brooklyn_brooklyn-server_master/core/target/surefire-reports for the individual test results.
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :brooklyn-core
[Pipeline] }
$ docker stop --time=1 ac87c1c5ecf53a082d4f6822f88f5a4ee90855c9ad6def6add0181179ec2050d
$ docker rm -f --volumes ac87c1c5ecf53a082d4f6822f88f5a4ee90855c9ad6def6add0181179ec2050d
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] testNG
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-1.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-2.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-3.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-4.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-5.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-6.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results-7.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/549/testng/testng-results.xml'
0.058754% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step
Build failed in Jenkins: Brooklyn » Brooklyn - Server module » master #550
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/550/display/redirect>
Changes:
------------------------------------------
Push event to branch master
Connecting to https://api.github.com using This is to connect to Brooklyn repos on GitHub
Obtained Jenkinsfile from e48b67e6dc31462c05042f75949f0dd1dce1e0f2
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘ubuntu’
Running on EC2 (ec2-Jenkins Ephemeral Node User-CLI) - Jenkins Ephemeral Node - ubuntu label (i-0db53cd708764716a) in /home/jenkins/workspace/Brooklyn_brooklyn-server_master
[Pipeline] {
[Pipeline] catchError
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone repository)
[Pipeline] checkout
The recommended git tool is: git
using credential Read only (Brooklyn repos)
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/apache/brooklyn-server.git
> git init /home/jenkins/workspace/Brooklyn_brooklyn-server_master # timeout=10
Fetching upstream changes from https://github.com/apache/brooklyn-server.git
> git --version # timeout=10
> git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials This is to connect to Brooklyn repos on GitHub
> git fetch --no-tags --force --progress -- https://github.com/apache/brooklyn-server.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision e48b67e6dc31462c05042f75949f0dd1dce1e0f2 (master)
> git config remote.origin.url https://github.com/apache/brooklyn-server.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Commit message: "allow on_update_child, and accept numbers as entity id's"
> git config core.sparsecheckout # timeout=10
> git checkout -f e48b67e6dc31462c05042f75949f0dd1dce1e0f2 # timeout=10
> git rev-list --no-walk b47cbd8107454373ca18002f1697b05a03fdeb52 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare environment)
[Pipeline] echo
Creating maven cache ...
[Pipeline] sh
+ mkdir -p /home/jenkins/workspace/Brooklyn_brooklyn-server_master/.m2
[Pipeline] sh
+ docker logout
Removing login credentials for https://index.docker.io/v1/
[Pipeline] echo
Building docker image for test environment ...
[Pipeline] echo
Using docker tag DOCKER_TAG=jenkins-Brooklyn-brooklyn-server-master-550
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker build -t brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.03kB done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s
#3 [internal] load metadata for docker.io/library/maven:3.5.2-jdk-8-alpine
#3 DONE 0.4s
#4 [1/3] FROM docker.io/library/maven:3.5.2-jdk-8-alpine@sha256:7cebda60f8a541e1bf2330306d22f9786f989187f4ec96539d398a0d4dbfdadb
#4 DONE 0.0s
#5 [2/3] RUN apk add --no-cache git
#5 CACHED
#6 [3/3] RUN mkdir -p /var/maven/.m2/ && chmod -R 777 /var/maven/
#6 CACHED
#7 exporting to image
#7 exporting layers done
#7 writing image sha256:6e9aa868afb4d442373b1ec813f96951939e65fd3b51a61f5cffbf3181b38adf done
#7 naming to docker.io/library/brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 0.0s done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run tests)
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . brooklyn:jenkins-Brooklyn-brooklyn-server-master-550
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
EC2 (ec2-Jenkins Ephemeral Node User-CLI) - Jenkins Ephemeral Node - ubuntu label (i-0db53cd708764716a) does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -i --name brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount type=bind,source=${HOME}/.m2/settings.xml,target=/var/maven/.m2/settings.xml,readonly -v ${WORKSPACE}:/usr/build -w /usr/build -w /home/jenkins/workspace/Brooklyn_brooklyn-server_master -v /home/jenkins/workspace/Brooklyn_brooklyn-server_master:/home/jenkins/workspace/Brooklyn_brooklyn-server_master:rw,z -v /home/jenkins/workspace/Brooklyn_brooklyn-server_master@tmp:/home/jenkins/workspace/Brooklyn_brooklyn-server_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** brooklyn:jenkins-Brooklyn-brooklyn-server-master-550 cat
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 4d98146e-edb5-4131-b3fd-6437c644e47d
java.io.IOException: Failed to run image 'brooklyn:jenkins-Brooklyn-brooklyn-server-master-550'. Error: docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/jenkins/.m2/settings.xml.
See 'docker run --help'.
at org.jenkinsci.plugins.docker.workflow.client.DockerClient.run(DockerClient.java:148)
at org.jenkinsci.plugins.docker.workflow.WithContainerStep$Execution.start(WithContainerStep.java:200)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:323)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.methodCall(LoggingInvoker.java:105)
at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(Docker.groovy:140)
at org.jenkinsci.plugins.docker.workflow.Docker.node(Docker.groovy:66)
at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(Docker.groovy:125)
at WorkflowScript.run(WorkflowScript:50)
at ___cps.transform___(Native Method)
at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:116)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85)
at jdk.internal.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46)
at com.cloudbees.groovy.cps.Next.step(Next.java:83)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:97)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] testNG
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Did not find any matching files.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step