See <https://ci-builds.apache.org/job/Ant/job/AntUnit/19/display/redirect?page=changes>
Changes: [Stefan Bodewig] publish SBOMs to maven repo ------------------------------------------ [...truncated 9.58 KiB...] [ivy:resolve] ... (20kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.apache.ant#ant-launcher;1.10.13!ant-launcher.jar (76ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/org/apache/ant/ant-testutil/1.10.13/ant-testutil-1.10.13.jar ... [ivy:resolve] .... (28kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.apache.ant#ant-testutil;1.10.13!ant-testutil.jar (73ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/org/apache/ant/ant-cyclonedx/0.1/ant-cyclonedx-0.1.jar ... [ivy:resolve] .... (40kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.apache.ant#ant-cyclonedx;0.1!ant-cyclonedx.jar (79ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/org/cyclonedx/cyclonedx-core-java/12.2.0/cyclonedx-core-java-12.2.0.jar ... [ivy:resolve] ........................................................................................................................................................................... (2649kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.cyclonedx#cyclonedx-core-java;12.2.0!cyclonedx-core-java.jar (143ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/commons-codec/commons-codec/1.21.0/commons-codec-1.21.0.jar ... [ivy:resolve] ........................... (393kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] commons-codec#commons-codec;1.21.0!commons-codec.jar (84ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/github/package-url/packageurl-java/1.5.0/packageurl-java-1.5.0.jar ... [ivy:resolve] ... (16kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.github.package-url#packageurl-java;1.5.0!packageurl-java.jar (74ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.21.1/jackson-dataformat-xml-2.21.1.jar ... [ivy:resolve] .......... (132kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.jackson.dataformat#jackson-dataformat-xml;2.21.1!jackson-dataformat-xml.jar (78ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/networknt/json-schema-validator/2.0.1/json-schema-validator-2.0.1.jar ... [ivy:resolve] ...................................... (563kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.networknt#json-schema-validator;2.0.1!json-schema-validator.jar(bundle) (88ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.21.1/jackson-core-2.21.1.jar ... [ivy:resolve] ....................................... (580kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.jackson.core#jackson-core;2.21.1!jackson-core.jar (88ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.21/jackson-annotations-2.21.jar ... [ivy:resolve] ....... (80kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.jackson.core#jackson-annotations;2.21!jackson-annotations.jar (72ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.21.1/jackson-databind-2.21.1.jar ... [ivy:resolve] ........................................................................................................... (1661kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.jackson.core#jackson-databind;2.21.1!jackson-databind.jar (116ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/org/codehaus/woodstox/stax2-api/4.2.2/stax2-api-4.2.2.jar ... [ivy:resolve] .............. (191kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.codehaus.woodstox#stax2-api;4.2.2!stax2-api.jar(bundle) (79ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/woodstox/woodstox-core/7.1.1/woodstox-core-7.1.1.jar ... [ivy:resolve] .......................................................................................................... (1574kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.woodstox#woodstox-core;7.1.1!woodstox-core.jar(bundle) (114ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/ethlo/time/itu/1.14.0/itu-1.14.0.jar ... [ivy:resolve] ..... (56kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.ethlo.time#itu;1.14.0!itu.jar(bundle) (74ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.21.1/jackson-dataformat-yaml-2.21.1.jar ... [ivy:resolve] ..... (59kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] com.fasterxml.jackson.dataformat#jackson-dataformat-yaml;2.21.1!jackson-dataformat-yaml.jar (75ms) [ivy:resolve] downloading https://repo1.maven.org/maven2/org/yaml/snakeyaml/2.5/snakeyaml-2.5.jar ... [ivy:resolve] ......................... (332kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] org.yaml#snakeyaml;2.5!snakeyaml.jar(bundle) (80ms) [ivy:resolve] :: resolution report :: resolve 7741ms :: artifacts dl 1801ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 2 | 2 | 2 | 0 || 2 | 2 | | provided | 2 | 2 | 2 | 0 || 2 | 2 | | test | 1 | 1 | 1 | 0 || 1 | 1 | | build | 18 | 14 | 14 | 0 || 18 | 14 | --------------------------------------------------------------------- [ivy:resolve] [ivy:resolve] :: problems summary :: [ivy:resolve] :::: ERRORS [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] unknown resolver maven2 [ivy:resolve] [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS [ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync] [ivy:retrieve] confs: [default] [ivy:retrieve] 2 artifacts copied, 0 already retrieved (419kB/10ms) [ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync] [ivy:retrieve] confs: [test] [ivy:retrieve] 1 artifacts copied, 0 already retrieved (28kB/3ms) compile: [javac] Compiling 24 source files to <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build/classes> [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. check-for-NOTICE: ready-to-package: antlib: [copy] Copying 1 file to <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build/classes> [jar] Building jar: <https://ci-builds.apache.org/job/Ant/job/AntUnit/19/artifact/build/lib/ant-antunit-1.5alpha.jar> ready-to-distribute: distribution: [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/19/artifact/distribution/binaries> [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/19/artifact/distribution/source> setup-properties: download-ivy: [echo] installing ivy... [get] Getting: https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.3/ivy-2.5.3.jar [get] To: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/ivy/ivy.jar> [get] Not modified - so not downloaded install-ivy: -no-resolve: resolve: [ivy:resolve] :: Apache Ivy 2.5.3 - 20241223125031 :: https://ant.apache.org/ivy/ :: [ivy:resolve] :: loading settings :: url = jar:<https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml> [ivy:resolve] :: resolving dependencies :: org.apache.ant#ant-antunit;1.5alpha [ivy:resolve] confs: [default, provided, test, build] [ivy:resolve] found junit#junit;4.13.2 in public [ivy:resolve] found org.hamcrest#hamcrest-core;1.3 in public [ivy:resolve] found org.apache.ant#ant;1.10.13 in public [ivy:resolve] found org.apache.ant#ant-launcher;1.10.13 in public [ivy:resolve] found org.apache.ant#ant-testutil;1.10.13 in public [ivy:resolve] found org.apache.ant#ant-cyclonedx;0.1 in public [ivy:resolve] found org.cyclonedx#cyclonedx-core-java;12.2.0 in public [ivy:resolve] found commons-codec#commons-codec;1.21.0 in public [ivy:resolve] found commons-io#commons-io;2.21.0 in default [ivy:resolve] found org.apache.commons#commons-lang3;3.20.0 in default [ivy:resolve] found org.apache.commons#commons-collections4;4.5.0 in default [ivy:resolve] found com.github.package-url#packageurl-java;1.5.0 in public [ivy:resolve] found com.fasterxml.jackson.dataformat#jackson-dataformat-xml;2.21.1 in public [ivy:resolve] found com.fasterxml.jackson.core#jackson-core;2.21.1 in public [ivy:resolve] found com.fasterxml.jackson.core#jackson-annotations;2.21 in public [ivy:resolve] found com.fasterxml.jackson.core#jackson-databind;2.21.1 in public [ivy:resolve] found org.codehaus.woodstox#stax2-api;4.2.2 in public [ivy:resolve] found com.fasterxml.woodstox#woodstox-core;7.1.1 in public [ivy:resolve] found com.networknt#json-schema-validator;2.0.1 in public [ivy:resolve] found com.ethlo.time#itu;1.14.0 in public [ivy:resolve] found com.fasterxml.jackson.dataformat#jackson-dataformat-yaml;2.21.1 in public [ivy:resolve] found org.yaml#snakeyaml;2.5 in public [ivy:resolve] found org.slf4j#slf4j-api;2.0.17 in default [ivy:resolve] :: resolution report :: resolve 476ms :: artifacts dl 21ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 2 | 0 | 0 | 0 || 2 | 0 | | provided | 2 | 0 | 0 | 0 || 2 | 0 | | test | 1 | 0 | 0 | 0 || 1 | 0 | | build | 18 | 0 | 0 | 0 || 18 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync] [ivy:retrieve] confs: [default] [ivy:retrieve] 0 artifacts copied, 2 already retrieved (0kB/3ms) [ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync] [ivy:retrieve] confs: [test] [ivy:retrieve] 0 artifacts copied, 1 already retrieved (0kB/2ms) -no-fetch-cyclonedx: fetch-cyclonedx: [ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync] [ivy:retrieve] confs: [build] [ivy:retrieve] 18 artifacts copied, 0 already retrieved (10546kB/101ms) define-cyclonedx-components: setup: ready-to-compile: compile: check-for-NOTICE: ready-to-package: antlib: create-antlib-sbom: BUILD FAILED <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/common/build.xml>:379: The following error occurred while executing this line: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/cyclonedx.xml>:118: java.lang.IllegalArgumentException: java.security.NoSuchAlgorithmException: SHA3-256 MessageDigest not available at org.apache.commons.codec.digest.DigestUtils.getDigest(DigestUtils.java:156) at org.apache.commons.codec.digest.DigestUtils.getSha3_256Digest(DigestUtils.java:261) at org.cyclonedx.util.BomUtils.getDigestForAlgorithm(BomUtils.java:147) at org.cyclonedx.util.BomUtils.calculateHashes(BomUtils.java:98) at org.cyclonedx.util.BomUtils.calculateHashes(BomUtils.java:71) at org.apache.ant.cyclonedx.Component.addHashes(Component.java:827) at org.apache.ant.cyclonedx.Component.toCycloneDxComponent(Component.java:666) at org.apache.ant.cyclonedx.Component.toMainCycloneDxComponent(Component.java:559) at org.apache.ant.cyclonedx.ComponentBomTask.createBom(ComponentBomTask.java:251) at org.apache.ant.cyclonedx.ComponentBomTask.execute(ComponentBomTask.java:223) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) at org.apache.tools.ant.Main.runBuild(Main.java:818) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.security.NoSuchAlgorithmException: SHA3-256 MessageDigest not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.security.Security.getImpl(Security.java:695) at java.security.MessageDigest.getInstance(MessageDigest.java:170) at org.apache.commons.codec.digest.DigestUtils.getMessageDigest(DigestUtils.java:214) at org.apache.commons.codec.digest.DigestUtils.getDigest(DigestUtils.java:154) ... 38 more Total time: 13 seconds Build step 'Invoke Ant' marked build as failure Archiving artifacts Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
