-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
We're encountering an error running the action and it's unclear what the root cause is. The last step that appears successful is this one:
SBOM Generated: ./bom.jsonIs it possible the ./bom.json is not actually being generated despite the previous command exiting with a zero status?
Stacktrace:
Installed syft
Generating SBOM using: manifest-cli sbom --generator-preset="recommended" --generator-config="" --file=./bom --output="cyclonedx-json" --name="<Snip>" --generator="syft" --publish=false /home/runner/work/<Snip> --version=""0.1.0""
SBOM Generated: ./bom.json
node:internal/errors:984
const err = new Error(message);
^
Error: Command failed: SBOM_FILENAME=./bom.json SBOM_OUTPUT=cyclonedx-json SBOM_NAME=<Snip> SBOM_VERSION="0.1.0" bash /home/runner/work/_actions/manifest-cyber/manifest-github-action/main/update-sbom.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 989 100 989 0 0 9384 0 --:--:-- --:--:-- --:--:-- 9330
100 989 100 989 0 0 93[67](<Snip>) 0 --:--:-- --:--:-- --:--:-- 9330
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1,
killed: false,
signal: null,
cmd: 'SBOM_FILENAME=./bom.json SBOM_OUTPUT=cyclonedx-json SBOM_NAME=<Snip> SBOM_VERSION="0.1.0" bash /home/runner/work/_actions/manifest-cyber/manifest-github-action/main/update-sbom.sh',
stdout: 'Error: input file does not exist\n',
stderr: ' % Total % Received % Xferd Average Speed Time Time Time Current\n' +
' Dload Upload Total Spent Left Speed\n' +
'\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 989 100 989 0 0 93[84](<Snip>) 0 --:--:-- --:--:-- --:--:-- 9330\r100 989 100 989 0 0 9367 0 --:--:-- --:--:-- --:--:-- 9330\n'
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels