Closed mazulo closed 1 year ago
Check the output of "snyk test -d --json --print-deps --severity-threshold=high --org='[redacted]' --file=./requirements/release.txt --package-manager=pip" first. I suspect something is not right with the depgraph
Hey @aarlaud thanks for the fastest response I've seen haha!
I think this is the output for the snyk test
:
2022-11-29T13:27:24.304Z snyk test <ref *1> {
_: [ [Circular *1] ],
debug: true,
json: true,
'print-deps': true,
org: '[redacted]',
file: './requirements/release.txt',
packageManager: 'pip',
severityThreshold: 'high'
}
2022-11-29T13:27:24.576Z snyk inline mode
2022-11-29T13:27:26.108Z snyk Potential policy locations found: [ '/home/runner/work/my-project/my-project/requirements' ]
2022-11-29T13:27:26.174Z snyk:prune rootPkg { name: 'requirements', version: '0.0.0' }
2022-11-29T13:27:26.174Z snyk:prune prePrunePathsCount: 266
2022-11-29T13:27:26.174Z snyk:prune isDenseGraph false
2022-11-29T13:27:26.176Z snyk sending request to: https://api.snyk.io/v1/test-dep-graph
2022-11-29T13:27:26.177Z snyk request body size: [15](https://github.com/mazulo/my-project/actions/runs/[redacted]/jobs/[redacted]#step:9:16)204
2022-11-29T13:27:26.177Z snyk gzipped request body size: 2685
2022-11-29T13:27:26.179Z snyk not using proxy
2022-11-29T13:27:26.578Z snyk analytics {
"args": [
{
"debug": true,
"json": true,
"print-deps": true,
"org": "[redacted]",
"file": "./requirements/release.txt",
"packageManager": "pip",
"severityThreshold": "high"
}
],
"command": "test",
"org": "[redacted]",
"metadata": {
"upgradable-snyk-protect-paths": 0,
"local": true,
"pluginName": "snyk-python-plugin",
"policies": 1,
"policyLocations": [
"/home/runner/work/my-project/my-project/requirements"
],
"packageManager": "pip",
"packageName": "requirements",
"packageVersion": "0.0.0",
"package": "requirements@0.0.0",
"prePrunedPathsCount": 266,
"depGraph": true,
"isDocker": false,
"vulns-pre-policy": 0,
"vulns": 0
},
"os": "Linux 5.15",
"osPlatform": "linux",
"osRelease": "5.15.0-1023-azure",
"osArch": "x64",
"version": "1.1064.0",
"nodeVersion": "v[16](https://github.com/mazulo/my-project/actions/runs/[redacted]/jobs/[redacted]#step:9:17).16.0",
"standalone": true,
"integrationName": "GITHUB_ACTIONS",
"integrationVersion": "setup (Linux)",
"integrationEnvironment": "",
"integrationEnvironmentVersion": "",
"id": "[redacted][17](https://github.com/mazulo/my-project/actions/runs/[redacted]/jobs/[redacted]#step:9:18)",
"ci": true,
"durationMs": 2243,
"metrics": {
"network_time": {
"type": "timer",
"values": [
397
],
"total": 397
},
"cpu_time": {
"type": "synthetic",
"values": [
[18](https://github.com/mazulo/my-project/actions/runs/[redacted]/jobs/[redacted]#step:9:19)46
],
"total": 1846
}
}
}
That doesn't look like standard output... it's only the debug output You should see something like a dep graph or dep tree first then a set of issues if any issues were found, or a no issues found kinda deal. Feel free to open a support ticket if you need assistance from our support team here.
Hey @aarlaud thank you for the support so far. In the end the issue was on our end. Everything looks good now!
@mazulo what was the issue?
Hi team!
So I have a GitHub Action that runs
snyk test
withsnyk-delta
but all of a sudden it started failing with the following error messsage:My GitHub action looks like this:
Any ideas of what's happening?