sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: sling-contrib-extensions-distribution-1.8 #2
Date Tue, 27 Sep 2016 17:37:26 GMT
See <https://builds.apache.org/job/sling-contrib-extensions-distribution-1.8/2/changes>

Changes:

[rombert] SLING-6061 - Create per-module Jenkins jobs

Build the distribution module using a reactor, to make it simpler to
exclude it from the main Jenkins build.

------------------------------------------
[...truncated 27102 lines...]
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Running org.apache.sling.distribution.it.DistributorTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.418 sec <<< FAILURE!
- in org.apache.sling.distribution.it.DistributorTest
testAddContent(org.apache.sling.distribution.it.DistributorTest)  Time elapsed: 9.19 sec 
<<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.sling.distribution.it.DistributionUtils.assertEmptyFolder(DistributionUtils.java:300)
	at org.apache.sling.distribution.it.DistributionIntegrationTestBase.checkNoPackagesLeft(DistributionIntegrationTestBase.java:139)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Running org.apache.sling.distribution.it.ForwardBinaryDistributionTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.474 sec <<< FAILURE!
- in org.apache.sling.distribution.it.ForwardBinaryDistributionTest
testBinaryDistribution[0](org.apache.sling.distribution.it.ForwardBinaryDistributionTest)
 Time elapsed: 9.211 sec  <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.sling.distribution.it.DistributionUtils.assertEmptyFolder(DistributionUtils.java:300)
	at org.apache.sling.distribution.it.DistributionIntegrationTestBase.checkNoPackagesLeft(DistributionIntegrationTestBase.java:139)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


Results :

Failed tests: 
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
org.apache.sling.distribution.it.DistributionAgentResourcesIntegrationTest.testAgentConfigurationResourceExtended(org.apache.sling.distribution.it.DistributionAgentResourcesIntegrationTest)
  Run 1: DistributionAgentResourcesIntegrationTest.testAgentConfigurationResourceExtended:174
path /etc/distribution/sample-create-config5e3304b4-4fa5-491b-87fe-eec36cfc3990 doesn't exist
  Run 2: DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>

  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionAgentResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionPackageExporterImporterTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionPackageExporterImporterTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionPackageImporterResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributionPackageImporterResourcesIntegrationTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  DistributorTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardBinaryDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
org.apache.sling.distribution.it.MultipleForwardDistributionTest.testAddContent(org.apache.sling.distribution.it.MultipleForwardDistributionTest)
  Run 1: MultipleForwardDistributionTest.clean:103 POST request to http://localhost:36824/libs/sling/distribution/services/agents/publish-multiple/queues/passivequeue1:
expecting status 200 expected:<200> but was:<500>
  Run 2: MultipleForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>

org.apache.sling.distribution.it.MultipleForwardDistributionTest.testDeleteContent(org.apache.sling.distribution.it.MultipleForwardDistributionTest)
  Run 1: MultipleForwardDistributionTest.clean:103 POST request to http://localhost:36824/libs/sling/distribution/services/agents/publish-multiple/queues/passivequeue1:
expecting status 200 expected:<200> but was:<500>
  Run 2: MultipleForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>

  MultipleQueueDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  MultipleQueueDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  MultipleQueueDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
  ReverseDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139 expected:<0>
but was:<1>
org.apache.sling.distribution.it.SelectiveForwardDistributionTest.testAddContent(org.apache.sling.distribution.it.SelectiveForwardDistributionTest)
  Run 1: SelectiveForwardDistributionTest.testAddContent:58 path /content/news/forward_add_4280942501703253/5eb46ff5-da38-4568-b363-a12d65a3d9eb
doesn't exist
  Run 2: SelectiveForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>

  SelectiveForwardDistributionTest.testDeleteContent:73 path /content/news/forward_del_4280828449373089/72aa5770-8ac0-4020-8a3f-a8df3aa9b3df
still exists
Tests in error: 
org.apache.sling.distribution.it.MultipleForwardDistributionTest.testAddContentCheckPassiveQueue(org.apache.sling.distribution.it.MultipleForwardDistributionTest)
  Run 1: MultipleForwardDistributionTest.testAddContentCheckPassiveQueue:75 ยป JSON JSON...
  Run 2: MultipleForwardDistributionTest.clean:103 POST request to http://localhost:36824/libs/sling/distribution/services/agents/publish-multiple/queues/passivequeue1:
expecting status 200 expected:<200> but was:<500>
  Run 3: MultipleForwardDistributionTest>DistributionIntegrationTestBase.checkNoPackagesLeft:139
expected:<0> but was:<1>


Tests run: 53, Failures: 47, Errors: 1, Skipped: 3

[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.distribution.it
---
[INFO] Checking legal files in: org.apache.sling.distribution.it-0.1.3-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.distribution.it-0.1.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ org.apache.sling.distribution.it
---
[INFO] artifact org.apache.sling:org.apache.sling.distribution.it: checking for updates from
Nexus
[INFO] artifact org.apache.sling:org.apache.sling.distribution.it: checking for updates from
central
Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.distribution.it/0.1.2/org.apache.sling.distribution.it-0.1.2.jar
3/20 KB          
5/20 KB   
8/20 KB   
11/20 KB   
13/20 KB   
16/20 KB   
19/20 KB   
20/20 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.distribution.it/0.1.2/org.apache.sling.distribution.it-0.1.2.jar
(20 KB at 514.4 KB/sec)
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 2016-09-27T17:36Z
based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.distribution.it version 0.1.3-SNAPSHOT to version
0.1.2
[INFO] 
[INFO]   PACKAGE_NAME                                       DELTA      CUR_VER    BASE_VER
  REC_VER    WARNINGS  
[INFO] = ================================================== ========== ========== ==========
========== ==========
[INFO] Baseline analysis complete, 0 error(s), 0 warning(s)
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.distribution.it ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] Exclude: derby.log
[INFO] Exclude: src/main/resources/**/*.*
[INFO] Exclude: src/test/resources/**/*.*
[INFO] 17 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 17 licence.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @ org.apache.sling.distribution.it
---
[INFO] Failsafe report directory: <https://builds.apache.org/job/sling-contrib-extensions-distribution-1.8/ws/it/target/failsafe-reports>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Sling Distribution API ...................... SUCCESS [ 14.052 s]
[INFO] Apache Sling Distribution Core ..................... SUCCESS [ 13.024 s]
[INFO] Apache Sling Distribution Extensions ............... SUCCESS [  6.787 s]
[INFO] Apache Sling Distribution Sample ................... SUCCESS [  1.529 s]
[INFO] Apache Sling Distribution Integration Tests ........ FAILURE [17:21 min]
[INFO] Apache Sling Distribution Reactor .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:59 min
[INFO] Finished at: 2016-09-27T17:36:53+00:00
[INFO] Final Memory: 82M/1592M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify
(verify) on project org.apache.sling.distribution.it: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/sling-contrib-extensions-distribution-1.8/ws/it/target/failsafe-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 :org.apache.sling.distribution.it
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
Found 156 test results

Mime
View raw message