You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2026/06/04 12:47:28 UTC

Build failed in Jenkins: Ant » AntUnit #20

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

Changes:

[Stefan Bodewig] more external references


------------------------------------------
[...truncated 1.97 KiB...]

update-prepare-script:
     [echo] updating prepare.xml

bootstrap:
     [echo] Bootstrap done. Next step:
     [echo]   ant -f prepare.xml prepare

BUILD SUCCESSFUL
Total time: 0 seconds
[AntUnit] $ /home/jenkins/tools/ant/latest/bin/ant -file prepare.xml prepare
Buildfile: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/prepare.xml>

get-antunit:

prepare:
     [echo] Preparation done. Next steps:
     [echo]  ant clean distribution
     [echo]  ant -lib ant-antunit.jar -lib build/lib test

BUILD SUCCESSFUL
Total time: 0 seconds
[AntUnit] $ /home/jenkins/tools/ant/latest/bin/ant clean distribution
Buildfile: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build.xml>

setup-properties:

clean:
   [delete] Deleting directory <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build>
   [delete] Deleting directory <https://ci-builds.apache.org/job/Ant/job/AntUnit/20/artifact/distribution>

setup-properties:

setup:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build/classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/ws/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/20/artifact/build/lib>

ready-to-compile:

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 public
[ivy:resolve] 	found org.apache.commons#commons-lang3;3.20.0 in public
[ivy:resolve] 	found org.apache.commons#commons-collections4;4.5.0 in public
[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 public
[ivy:resolve] :: resolution report :: resolve 944ms :: artifacts dl 37ms
	---------------------------------------------------------------------
	|                  |            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/5ms)
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync]
[ivy:retrieve] 	confs: [test]
[ivy:retrieve] 	0 artifacts copied, 1 already retrieved (0kB/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/20/artifact/build/lib/ant-antunit-1.5alpha.jar>

ready-to-distribute:

distribution:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/20/artifact/distribution/binaries>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/Ant/job/AntUnit/20/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 public
[ivy:resolve] 	found org.apache.commons#commons-lang3;3.20.0 in public
[ivy:resolve] 	found org.apache.commons#commons-collections4;4.5.0 in public
[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 public
[ivy:resolve] :: resolution report :: resolve 479ms :: artifacts dl 38ms
	---------------------------------------------------------------------
	|                  |            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/5ms)
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync]
[ivy:retrieve] 	confs: [test]
[ivy:retrieve] 	0 artifacts copied, 1 already retrieved (0kB/3ms)

-no-fetch-cyclonedx:

fetch-cyclonedx:
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-antunit [sync]
[ivy:retrieve] 	confs: [build]
[ivy:retrieve] 	0 artifacts copied, 18 already retrieved (0kB/9ms)

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>:127: 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: 6 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?

Jenkins build is back to normal : Ant » AntUnit #21

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Ant/job/AntUnit/21/display/redirect?page=changes>