See 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/49/display/redirect?page=changes>

Changes:

[Stefan Bodewig] fix locating of Antlib jar for tool information


------------------------------------------
[...truncated 15.02 KiB...]
[au:antunit] Target: testSbomLinkDoesntOverrideExistingBomExternalLink  caused 
an ERROR
[au:antunit]    at line 203, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.079 sec
[au:antunit] Target: testDependenciesAreEmptyByDefault  caused an ERROR
[au:antunit]    at line 501, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.067 sec
[au:antunit] Target: 
testSupplierIsManufacturerMustNotBeTrueWhenSupplierIsPresent  caused an ERROR
[au:antunit]    at line 413, column 64
[au:antunit]    Message: Expected build failure with message 'component with 
manufacturer can't use supplier as manufacturer' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.07 sec
[au:antunit] Target: testComponentTypeCanBeSetInLowerCase  caused an ERROR
[au:antunit]    at line 96, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.067 sec
[au:antunit] Target: testIsExternalCanBeSetForAdditionalComponent  caused an 
ERROR
[au:antunit]    at line 194, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.067 sec
[au:antunit] Target: testIsExternalFalseIsPermittedForMainComponent  caused an 
ERROR
[au:antunit]    at line 161, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.063 sec
[au:antunit] Target: testMinimalComponentData  caused an ERROR
[au:antunit]    at line 68, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.063 sec
[au:antunit] Target: testExternalReferenceSetWorksAsReference  caused an ERROR
[au:antunit]    at line 483, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.064 sec
[au:antunit] Target: testIsExternalTrueIsProhibitedForMainComponent  caused an 
ERROR
[au:antunit]    at line 151, column 50
[au:antunit]    Message: Expected build failure with message 'isExternal can 
not be true for the main bom component' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.062 sec
[au:antunit] Target: testScopeIsProhibitedForMainComponent  caused an ERROR
[au:antunit]    at line 141, column 50
[au:antunit]    Message: Expected build failure with message 'scope must not be 
set for the main bom component' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.064 sec
[au:antunit] Target: testComponentBomRefsMustBeUnique  caused an ERROR
[au:antunit]    at line 48, column 50
[au:antunit]    Message: Expected build failure with message 'BOM contains 
multiple components with bom-ref 1' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.063 sec
[au:antunit] Target: testDependencyComponentRefMustPointToComponent  caused an 
ERROR
[au:antunit]    at line 569, column 64
[au:antunit]    Message: Expected build failure with message 'componentRef 
'bar' doesn't refer to a component' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.065 sec
[au:antunit] Target: testComponentWithRefIdDoesntAllowOtherAttributes took 
0.057 sec
[au:antunit] Target: testDataFromLinkedSbomCanBeOverwrittenOrMerged  caused an 
ERROR
[au:antunit]    at line 203, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.065 sec
[au:antunit] Target: testDependencyBomRefAndComponentRefAreExclusive  caused an 
ERROR
[au:antunit]    at line 537, column 64
[au:antunit]    Message: Expected build failure with message 'only one of 
bomRef and componentRef are permitted' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.061 sec
[au:antunit] Target: testSupplierIsCopiedToManufacturerWhenRequested  caused an 
ERROR
[au:antunit]    at line 385, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.06 sec
[au:antunit] Target: testComponentsDetectCircularReferences  caused an ERROR
[au:antunit]    at line 34, column 50
[au:antunit]    Message: Expected build failure with message 'This data type 
contains a circular reference' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.062 sec
[au:antunit] Target: testSbomLinkUsesDataFromLinkedSbom  caused an ERROR
[au:antunit]    at line 203, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.067 sec
[au:antunit] Target: testSbomLinkDoesntAddBomExternalLinkWhenDisabled  caused 
an ERROR
[au:antunit]    at line 203, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.067 sec
[au:antunit] Target: testPurlAndBomRefCanBeSet  caused an ERROR
[au:antunit]    at line 124, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.062 sec
[au:antunit] Target: testSupplierIsNotCopiedToManufacturerByDefault  caused an 
ERROR
[au:antunit]    at line 359, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.063 sec
[au:antunit] Target: testExternalReferenceWorksNestedIntoSet  caused an ERROR
[au:antunit]    at line 454, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.089 sec
[au:antunit] Target: testScopeCanBeSetForAdditionalComponent  caused an ERROR
[au:antunit]    at line 168, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.064 sec
[au:antunit] Target: testLicenseWorksAsReference  caused an ERROR
[au:antunit]    at line 436, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.087 sec
[au:antunit] Target: testDependencyComponentRefMustPointToComponentWithBomRef  
caused an ERROR
[au:antunit]    at line 583, column 64
[au:antunit]    Message: Expected build failure with message 'component with id 
'bar' doesn't provide a bomRef' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.068 sec
[au:antunit] Target: testReMappingOfLinkedDependencies  caused an ERROR
[au:antunit]    at line 1201, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.069 sec
[au:antunit] Target: testCalculatesPurlAndBomRef  caused an ERROR
[au:antunit]    at line 108, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.068 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/componentbom-test.xml>
[au:antunit] Tests run: 18, Failures: 0, Errors: 13, Time elapsed: 1.369 sec
[au:antunit] Target: testMulipleTools  caused an ERROR
[au:antunit]    at line 130, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.06 sec
[au:antunit] Target: testPureFileComponentsMustNotContainNonFileResources took 
0.192 sec
[au:antunit] Target: testOutputDirectoryDefaultsToBaseDir  caused an ERROR
[au:antunit]    at line 256, column 80
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.058 sec
[au:antunit] Target: testPureFileComponentsAddsFileComponents  caused an ERROR
[au:antunit]    at line 446, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.064 sec
[au:antunit] Target: testOutputDirectoryMustExist took 0.056 sec
[au:antunit] Target: testComponentIsRequired took 0.054 sec
[au:antunit] Target: testOutputDirectoryMustBeADirectory took 0.056 sec
[au:antunit] Target: testAntlibsOwnBom  caused an ERROR
[au:antunit]    at line 474, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.063 sec
[au:antunit] Target: testOnlyOneComponentIsPermitted took 0.062 sec
[au:antunit] Target: testToolMetadataInXmlFormat  caused an ERROR
[au:antunit]    at line 130, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.078 sec
[au:antunit] Target: testDependencyMustExist  caused an ERROR
[au:antunit]    at line 433, column 50
[au:antunit]    Message: Expected build failure with message 'dependency 'test' 
is unknown' but was 'component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file'
[au:antunit]    took 0.061 sec
[au:antunit] Target: testSpecVersionAsEnumValue  caused an ERROR
[au:antunit]    at line 325, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.061 sec
[au:antunit] Target: testSupplierAndManufacturerInMeta  caused an ERROR
[au:antunit]    at line 148, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.059 sec
[au:antunit] Target: testSpecVersionAsVersionString  caused an ERROR
[au:antunit]    at line 311, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.059 sec
[au:antunit] Target: testNestedComponentDependencies  caused an ERROR
[au:antunit]    at line 392, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.061 sec
[au:antunit] Target: testDependencies  caused an ERROR
[au:antunit]    at line 336, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.058 sec
[au:antunit] Target: testToolMetadataInJsonFormat  caused an ERROR
[au:antunit]    at line 26, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.076 sec
[au:antunit] Target: testNestedComponents  caused an ERROR
[au:antunit]    at line 363, column 67
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.064 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/distributionbom-test.xml>
[au:antunit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.094 sec
[au:antunit] Target: testAntlibsSourceTarball  caused an ERROR
[au:antunit]    at line 77, column 37
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.092 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/externalreferences-test.xml>
[au:antunit] Tests run: 8, Failures: 0, Errors: 4, Time elapsed: 0.549 sec
[au:antunit] Target: testExternalReferenceWorksAsDirectChildOfComponent  caused 
an ERROR
[au:antunit]    at line 67, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.071 sec
[au:antunit] Target: testExternalReferenceRequiresUrl took 0.096 sec
[au:antunit] Target: testExternalReferenceFailsForUnsupportedType took 0.057 sec
[au:antunit] Target: testExternalReferenceWithRefIdDoesntAllowNestedChildren 
took 0.047 sec
[au:antunit] Target: testExternalReferenceSuppportsEnumValuesAsType  caused an 
ERROR
[au:antunit]    at line 86, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.064 sec
[au:antunit] Target: testExternalReferenceWorksViaReferenceToASet  caused an 
ERROR
[au:antunit]    at line 132, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.061 sec
[au:antunit] Target: testExternalReferenceRequiresType took 0.053 sec
[au:antunit] Target: testExternalReferenceWorksNestedIntoAsSet  caused an ERROR
[au:antunit]    at line 105, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.06 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/license-test.xml>
[au:antunit] Tests run: 6, Failures: 0, Errors: 2, Time elapsed: 0.401 sec
[au:antunit] Target: testLicenseDoesntAllowMultipleUrls took 0.052 sec
[au:antunit] Target: testLicenseWorksAsDirectChildOfComponent  caused an ERROR
[au:antunit]    at line 56, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.06 sec
[au:antunit] Target: testLicenseRequiresIdOrName took 0.053 sec
[au:antunit] Target: testLicenseWithRefIdDoesntAllowNestedChildren took 0.11 sec
[au:antunit] Target: testLicenseWithRefIdDoesntAllowOtherAttributes took 0.038 
sec
[au:antunit] Target: testLicenseWorksViaReference  caused an ERROR
[au:antunit]    at line 82, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.052 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/organization-test.xml>
[au:antunit] Tests run: 5, Failures: 0, Errors: 3, Time elapsed: 0.247 sec
[au:antunit] Target: testLicenseWithRefIdDoesntAllowOtherAttributes took 0.038 
sec
[au:antunit] Target: testOrganizationWithRefIdDoesntAllowNestedChildren took 
0.038 sec
[au:antunit] Target: testOrganizationAllowsMultipleUrlChildren  caused an ERROR
[au:antunit]    at line 46, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.052 sec
[au:antunit] Target: testOrganizationAsDirectChildOfComponent  caused an ERROR
[au:antunit]    at line 25, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.05 sec
[au:antunit] Target: testOrganizationWorksViaReference  caused an ERROR
[au:antunit]    at line 72, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.051 sec
[au:antunit] Build File: 
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/src/tests/antunit/properties-test.xml>
[au:antunit] Tests run: 5, Failures: 0, Errors: 3, Time elapsed: 0.281 sec
[au:antunit] Target: testPropertyWorksViaReferenceToASet  caused an ERROR
[au:antunit]    at line 91, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.052 sec
[au:antunit] Target: testPropertyWorksAsDirectChildOfComponent  caused an ERROR
[au:antunit]    at line 47, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.056 sec
[au:antunit] Target: testPropertySetWithRefIdDoesntAllowNestedChildren took 
0.043 sec
[au:antunit] Target: testPropertyRequiresName took 0.054 sec
[au:antunit] Target: testPropertyWorksNestedIntoAsSet  caused an ERROR
[au:antunit]    at line 66, column 53
[au:antunit]    Message: component resource 
/home/jenkins/jenkins-agent/workspace/Ant/CycloneDX%20Antlib/build/lib/ant-cyclonedx-0.2alpha.jar
 doesn't provide a file
[au:antunit]    took 0.057 sec

test:

BUILD FAILED
<https://ci-builds.apache.org/job/Ant/job/CycloneDX%20Antlib/ws/common/build.xml>:225:
 At least one AntUnit test has failed.

Total time: 11 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to