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

Changes:

[Stefan Bodewig] add SBOM generation


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds26 (ubuntu) in workspace 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir 
 > <https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/ant-antlibs-props.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/ant-antlibs-props.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- 
 > https://gitbox.apache.org/repos/asf/ant-antlibs-props.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 815da33ce84cd32c8cb1f6c2105d3c3fce861a41 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 815da33ce84cd32c8cb1f6c2105d3c3fce861a41 # timeout=10
Commit message: "add SBOM generation"
 > git rev-list --no-walk a3495af9e9c441cb0f7185205d867539b579fa70 # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.common.url # timeout=10
 > git config -f .gitmodules --get submodule.common.path # timeout=10
 > git submodule update --init --recursive common # timeout=10
[AntLib-props] $ /home/jenkins/tools/ant/latest/bin/ant -file prepare.xml 
update-prepare-script
Buildfile: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/prepare.xml>

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

BUILD SUCCESSFUL
Total time: 0 seconds
[AntLib-props] $ /home/jenkins/tools/ant/latest/bin/ant -file prepare.xml 
prepare
Buildfile: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/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
[AntLib-props] $ /home/jenkins/tools/ant/latest/bin/ant clean distribution
Buildfile: <https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/build.xml>

setup-properties:

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

setup-properties:

setup:
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/build/classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/build/test-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/9/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/AntLib-props/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/AntLib-props/ws/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml>
[ivy:resolve] :: resolving dependencies :: org.apache.ant#ant-props;1.0Alpha
[ivy:resolve]   confs: [default, provided, test]
[ivy:resolve]   found org.apache.ant#ant;1.8.0 in public
[ivy:resolve]   found org.apache.ant#ant-launcher;1.8.0 in public
[ivy:resolve]   found org.apache.ant#ant-antunit;1.4.1 in public
[ivy:resolve] :: resolution report :: resolve 267ms :: artifacts dl 10ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   0   |   0   |   0   |   0   ||   0   |   0   |
        |     provided     |   2   |   0   |   0   |   0   ||   2   |   0   |
        |       test       |   1   |   0   |   0   |   0   ||   1   |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-props [sync]
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 0 already retrieved (0kB/4ms)
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-props [sync]
[ivy:retrieve]  confs: [test]
[ivy:retrieve]  0 artifacts copied, 1 already retrieved (0kB/5ms)

compile:
    [javac] Compiling 23 source files to 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/build/classes>
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

check-for-NOTICE:

ready-to-package:

antlib:
     [copy] Copying 1 file to 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/build/classes>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/9/artifact/build/lib/ant-props-1.0Alpha.jar>

ready-to-distribute:

distribution:
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/9/artifact/distribution/binaries>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/9/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/AntLib-props/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/AntLib-props/ws/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml>
[ivy:resolve] :: resolving dependencies :: org.apache.ant#ant-props;1.0Alpha
[ivy:resolve]   confs: [default, provided, test]
[ivy:resolve]   found org.apache.ant#ant;1.8.0 in public
[ivy:resolve]   found org.apache.ant#ant-launcher;1.8.0 in public
[ivy:resolve]   found org.apache.ant#ant-antunit;1.4.1 in public
[ivy:resolve] :: resolution report :: resolve 131ms :: artifacts dl 8ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   0   |   0   |   0   |   0   ||   0   |   0   |
        |     provided     |   2   |   0   |   0   |   0   ||   2   |   0   |
        |       test       |   1   |   0   |   0   |   0   ||   1   |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-props [sync]
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 0 already retrieved (0kB/3ms)
[ivy:retrieve] :: retrieving :: org.apache.ant#ant-props [sync]
[ivy:retrieve]  confs: [test]
[ivy:retrieve]  0 artifacts copied, 1 already retrieved (0kB/3ms)

fetch-cyclonedx:
[ivy:cachepath] downloading 
https://repo1.maven.org/maven2/org/apache/ant/ant-cyclonedx/0.1/ant-cyclonedx-0.1.jar
 ...
[ivy:cachepath] ................................. (40kB)
[ivy:cachepath] .. (0kB)
[ivy:cachepath]         [SUCCESSFUL ] 
org.apache.ant#ant-cyclonedx;0.1!ant-cyclonedx.jar (121ms)

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/AntLib-props/ws/common/build.xml>:379:
 The following error occurred while executing this line:
<https://ci-builds.apache.org/job/Ant/job/AntLib-props/ws/cyclonedx.xml>:124: 
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
Skipped archiving because build is not successful
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files 
were found. Configuration error?

Reply via email to