See
<https://builds.apache.org/job/incubator-brooklyn-master-windows/313/changes>
Changes:
[svetoslav.neykov] White list https protocol for camp URL references
[svetoslav.neykov] CAMP parsing improvements
[svetoslav.neykov] PlanToSpecTransformer for old-style xml catalog items
[svetoslav.neykov] Split BrooklynComponentTemplateResolver into independent
[svetoslav.neykov] Remove duplicate dependency
[svetoslav.neykov] Fix catalog items recursive check
[svetoslav.neykov] Move ServiceSpecResolver and its implementations to core
[svetoslav.neykov] Test ServiceTypeResolver usage
[svetoslav.neykov] Get BrooklynServiceTypeResolver back in, used by Clocker
[svetoslav.neykov] Get back plan tagging in, so it's visible in UI
[svetoslav.neykov] Address code review comments (PR 955)
[svetoslav.neykov] Rename entity resolvers to better match their functionality,
now that
[svetoslav.neykov] Extract identical code to utils
[svetoslav.neykov] Move policy & location resolving logic to core, allowing it
to be
------------------------------------------
[...truncated 28232 lines...]
2015-10-15 15:46:20,060 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
SUREFIRE-859: [GC 701500K->489845K(762560K), 0.0266394 secs]
2015-10-15 15:46:20,985 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
finished in 925 ms
2015-10-15 15:46:20,986 INFO TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testUnversionedReference()
2015-10-15 15:46:21,106 INFO CAMP placing 'BasicApplicationImpl{id=Gr3MqaX8}'
under management
2015-10-15 15:46:21,108 INFO Test - created
org.apache.brooklyn.camp.spi.Assembly@547782b2[id=Gr3MqaX8; type=Assembly]
2015-10-15 15:46:21,108 INFO App - BasicApplicationImpl{id=Gr3MqaX8}
2015-10-15 15:46:21,115 INFO Started application
BasicApplicationImpl{id=Gr3MqaX8}
2015-10-15 15:46:21,116 INFO TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testUnversionedReference()
finished in 131 ms
2015-10-15 15:46:21,116 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
2015-10-15 15:46:21,118 INFO Stopping application
BasicApplicationImpl{id=Gr3MqaX8}
2015-10-15 15:46:21,119 INFO Stopped application
BasicApplicationImpl{id=Gr3MqaX8}
2015-10-15 15:46:21,400 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
finished in 284 ms
2015-10-15 15:46:21,400 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
SUREFIRE-859: [GC 705461K->488566K(766080K), 0.0134629 secs]
2015-10-15 15:46:22,118 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
finished in 718 ms
2015-10-15 15:46:22,118 INFO TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReference()
2015-10-15 15:46:22,230 INFO CAMP placing 'BasicApplicationImpl{id=n1CtzoMR}'
under management
2015-10-15 15:46:22,232 INFO Test - created
org.apache.brooklyn.camp.spi.Assembly@3f6e92fc[id=n1CtzoMR; type=Assembly]
2015-10-15 15:46:22,233 INFO App - BasicApplicationImpl{id=n1CtzoMR}
2015-10-15 15:46:22,240 INFO Started application
BasicApplicationImpl{id=n1CtzoMR}
2015-10-15 15:46:22,255 INFO TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReference()
finished in 137 ms
2015-10-15 15:46:22,255 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
SUREFIRE-859: [GC 709046K->490358K(765120K), 0.0144988 secs]
2015-10-15 15:46:22,273 INFO Stopping application
BasicApplicationImpl{id=n1CtzoMR}
2015-10-15 15:46:22,274 INFO Stopped application
BasicApplicationImpl{id=n1CtzoMR}
2015-10-15 15:46:22,570 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
finished in 315 ms
2015-10-15 15:46:22,571 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
SUREFIRE-859: [GC 710838K->495052K(768384K), 0.0258801 secs]
2015-10-15 15:46:23,430 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
finished in 859 ms
2015-10-15 15:46:23,431 INFO TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReferenceJustAddedExplicitVersion()
2015-10-15 15:46:23,551 INFO CAMP placing 'BasicApplicationImpl{id=eQCl63rd}'
under management
2015-10-15 15:46:23,554 INFO Test - created
org.apache.brooklyn.camp.spi.Assembly@5aa7d2fc[id=eQCl63rd; type=Assembly]
2015-10-15 15:46:23,554 INFO App - BasicApplicationImpl{id=eQCl63rd}
2015-10-15 15:46:23,564 INFO Started application
BasicApplicationImpl{id=eQCl63rd}
2015-10-15 15:46:23,565 INFO TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReferenceJustAddedExplicitVersion()
finished in 135 ms
2015-10-15 15:46:23,566 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
2015-10-15 15:46:23,568 INFO Stopping application
BasicApplicationImpl{id=eQCl63rd}
2015-10-15 15:46:23,571 INFO Stopped application
BasicApplicationImpl{id=eQCl63rd}
2015-10-15 15:46:23,915 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
finished in 349 ms
2015-10-15 15:46:23,916 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
SUREFIRE-859: [GC 719820K->493571K(767104K), 0.0106846 secs]
2015-10-15 15:46:24,564 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.setUp()
finished in 648 ms
2015-10-15 15:46:24,564 INFO TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReferenceJustAddedImplicitVersionSyntax()
2015-10-15 15:46:24,658 INFO CAMP placing 'BasicApplicationImpl{id=okXfS9Ts}'
under management
2015-10-15 15:46:24,660 INFO Test - created
org.apache.brooklyn.camp.spi.Assembly@6c54fa6f[id=okXfS9Ts; type=Assembly]
2015-10-15 15:46:24,660 INFO App - BasicApplicationImpl{id=okXfS9Ts}
2015-10-15 15:46:24,669 INFO Started application
BasicApplicationImpl{id=okXfS9Ts}
2015-10-15 15:46:24,670 INFO TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlVersioningTest.testVersionedReferenceJustAddedImplicitVersionSyntax()
finished in 106 ms
2015-10-15 15:46:24,671 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
2015-10-15 15:46:24,672 INFO Stopping application
BasicApplicationImpl{id=okXfS9Ts}
2015-10-15 15:46:24,674 INFO Stopped application
BasicApplicationImpl{id=okXfS9Ts}
2015-10-15 15:46:27,403 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
finished in 2733 ms
2015-10-15 15:46:27,404 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@BeforeMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp()
SUREFIRE-859: [GC 718339K->492663K(769984K), 0.0089740 secs]
2015-10-15 15:46:28,307 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp()
finished in 904 ms
2015-10-15 15:46:28,307 INFO TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.spi.creation.service.ServiceTypeResolverTest.testAddCatalogItemVerySimple()
2015-10-15 15:46:28,319 INFO TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.camp.brooklyn.spi.creation.service.ServiceTypeResolverTest.testAddCatalogItemVerySimple()
finished in 12 ms
2015-10-15 15:46:28,320 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
2015-10-15 15:46:28,631 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
finished in 311 ms
2015-10-15 15:46:28,693 INFO TESTNG
===============================================
Surefire test
Tests run: 226, Failures: 1, Skips: 0
===============================================
2015-10-15 15:46:28,694 INFO BrooklynLeakListener.onFinish attempting to
terminate all extant ManagementContexts: name=Surefire test; includedGroups=[];
excludedGroups=[Integration, Acceptance, Live, WIP]; suiteName=Surefire suite;
outDir=F:\hudson\hudson-slave\workspace\incubator-brooklyn-master-windows\usage\camp\target\surefire-reports\Surefire
suite: no org.apache.brooklyn.core.management.internal.LocalManagementContext
available, so skipped
SUREFIRE-859: [GC 721207K->491219K(769280K), 0.0093258 secs]
Tests run: 226, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 264.333 sec
<<< FAILURE! - in TestSuite
testRebindWithCatalogPropertiesForDeprecationAndEnablementAbsent(org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlRebindTest)
Time elapsed: 0.253 sec <<< FAILURE!
java.nio.file.InvalidPathException: Illegal char <:> at index 73:
C:\Windows\TEMP\CatalogYamlRebindTest-WaUT\catalog\my.catalog.app.id.load:0.1.0.LdwqHvZA.tmp
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:176)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:147)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.io.File.toPath(File.java:2069)
at
org.apache.brooklyn.util.io.FilePermissions.apply(FilePermissions.java:61)
at
org.apache.brooklyn.util.io.FileUtil.setFilePermissionsTo600(FileUtil.java:72)
at
org.apache.brooklyn.core.mgmt.persist.FileBasedStoreObjectAccessor.put(FileBasedStoreObjectAccessor.java:82)
at
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlRebindTest$1.apply(CatalogYamlRebindTest.java:216)
at
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlRebindTest$1.apply(CatalogYamlRebindTest.java:209)
at
org.apache.brooklyn.core.mgmt.rebind.RebindTestUtils.rebindAll(RebindTestUtils.java:433)
at
org.apache.brooklyn.core.mgmt.rebind.RebindTestUtils.rebind(RebindTestUtils.java:318)
at
org.apache.brooklyn.core.mgmt.rebind.RebindTestFixture.rebind(RebindTestFixture.java:258)
at
org.apache.brooklyn.camp.brooklyn.AbstractYamlRebindTest.rebind(AbstractYamlRebindTest.java:86)
at
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlRebindTest.runRebindWithCatalogAndApp(CatalogYamlRebindTest.java:208)
at
org.apache.brooklyn.camp.brooklyn.catalog.CatalogYamlRebindTest.testRebindWithCatalogPropertiesForDeprecationAndEnablementAbsent(CatalogYamlRebindTest.java:123)
Results :
Failed tests:
CatalogYamlRebindTest.testRebindWithCatalogPropertiesForDeprecationAndEnablementAbsent:123->runRebindWithCatalogAndApp:208->AbstractYamlRebindTest.rebind:86->RebindTestFixture.rebind:258
ยป InvalidPath
Tests run: 226, Failures: 1, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[JENKINS] Archiving disabled
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn REST Server
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn REST JavaScript Web GUI
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Launcher
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Command Line Interface
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn All Things
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Simple Web Cluster Example
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Global Web Fabric Example
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Simple Messaging Publish-Subscribe Example
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn NoSQL Cluster Examples
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn Distribution
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn QA
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Brooklyn REST Client
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Root ..................................... SUCCESS [3.136s]
[INFO] Brooklyn Parent Project ........................... SUCCESS [5.027s]
[INFO] Brooklyn Logback Configuration .................... SUCCESS [4.570s]
[INFO] Brooklyn Test Support Utilities ................... SUCCESS [3.040s]
[INFO] Brooklyn Logback Includable Configuration ......... SUCCESS [2.145s]
[INFO] Brooklyn Common Utilities ......................... SUCCESS [28.241s]
[INFO] Brooklyn API ...................................... SUCCESS [8.948s]
[INFO] Brooklyn Test Support ............................. SUCCESS [3.304s]
[INFO] CAMP Server Parent Project ........................ SUCCESS [0.780s]
[INFO] CAMP Base ......................................... SUCCESS [7.822s]
[INFO] Brooklyn Groovy Utilities ......................... SUCCESS [11.271s]
[INFO] Brooklyn Core ..................................... SUCCESS [4:23.058s]
[INFO] Brooklyn Policies ................................. SUCCESS [1:52.002s]
[INFO] Brooklyn Jclouds Location Targets ................. SUCCESS [50.910s]
[INFO] Brooklyn Secure JMXMP Agent ....................... SUCCESS [12.912s]
[INFO] Brooklyn JMX RMI Agent ............................ SUCCESS [2.658s]
[INFO] Brooklyn Software Base ............................ SUCCESS [1:24.094s]
[INFO] Brooklyn Web App Software Entities ................ SUCCESS [2:07.922s]
[INFO] Brooklyn Database Software Entities ............... SUCCESS [10.919s]
[INFO] Brooklyn NoSQL Data Store Software Entities ....... SUCCESS [34.657s]
[INFO] Brooklyn CAMP REST API ............................ FAILURE [4:44.552s]
[INFO] Brooklyn REST Server .............................. SKIPPED
[INFO] Brooklyn REST JavaScript Web GUI .................. SKIPPED
[INFO] Brooklyn Launcher ................................. SKIPPED
[INFO] Brooklyn Command Line Interface ................... SKIPPED
[INFO] Brooklyn All Things ............................... SKIPPED
[INFO] Brooklyn Simple Web Cluster Example ............... SKIPPED
[INFO] Brooklyn Global Web Fabric Example ................ SKIPPED
[INFO] Brooklyn Simple Messaging Publish-Subscribe Example SKIPPED
[INFO] Brooklyn NoSQL Cluster Examples ................... SKIPPED
[INFO] Brooklyn Distribution ............................. SKIPPED
[INFO] Brooklyn QA ....................................... SKIPPED
[INFO] Brooklyn REST Client .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:54.580s
[INFO] Finished at: Thu Oct 15 15:46:31 BST 2015
[INFO] Final Memory: 62M/240M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on
project brooklyn-camp: There are test failures.
[ERROR]
[ERROR] Please refer to
F:\hudson\hudson-slave\workspace\incubator-brooklyn-master-windows\usage\camp\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-camp
channel stopped