Comments (4)
We have also the same issue on 3.1.2, it's seems to be related to your commits @gruebel. Could you please tell us when this will be resolved ?
from checkov-action.
Hi,
I have same issue on checkov version: 3.1.1
and action: bridgecrewio/checkov-action@v12
On friday when I ran my check all my pipelines ended by success.
Today on same resources, all ended on following error:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/runners/runner_registry.py", line 788, in _parallel_run
report = runner.run(
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/secrets/runner.py", line 131, in run
bc_integration.set_s3_client()
File "/usr/local/lib/python3.11/site-packages/checkov/common/bridgecrew/platform_integration.py", line 397, in set_s3_client
raise ValueError("Credentials for client are not set")
ValueError: Credentials for client are not set
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/checkov/main.py", line 523, in run
self.scan_reports = runner_registry.run(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/runners/runner_registry.py", line 158, in run
parallel_runner_results = parallel_runner.run_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/parallelizer/parallel_runner.py", line 52, in run_function
return self._run_function_multiprocess_spawn(func, items, group_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/parallelizer/parallel_runner.py", line 122, in _run_function_multiprocess_spawn
return p.starmap(func, items, chunksize=group_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line [37](https://github.com/trusk-official/trusk-infra-iac/actions/runs/6930867496/job/18851358557#step:4:38)5, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 774, in get
raise self._value
ValueError: Credentials for client are not set
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/runners/runner_registry.py", line 788, in _parallel_run
report = runner.run(
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/secrets/runner.py", line 131, in run
bc_integration.set_s3_client()
File "/usr/local/lib/python3.11/site-packages/checkov/common/bridgecrew/platform_integration.py", line [39](https://github.com/trusk-official/trusk-infra-iac/actions/runs/6930867496/job/18851358557#step:4:40)7, in set_s3_client
raise ValueError("Credentials for client are not set")
ValueError: Credentials for client are not set
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/checkov", line 9, in <module>
sys.exit(Checkov().run())
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/main.py", line [52](https://github.com/trusk-official/trusk-infra-iac/actions/runs/6930867496/job/18851358557#step:4:53)3, in run
self.scan_reports = runner_registry.run(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/runners/runner_registry.py", line 158, in run
parallel_runner_results = parallel_runner.run_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/parallelizer/parallel_runner.py", line 52, in run_function
return self._run_function_multiprocess_spawn(func, items, group_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/checkov/common/parallelizer/parallel_runner.py", line 122, in _run_function_multiprocess_spawn
return p.starmap(func, items, chunksize=group_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/multiprocessing/pool.py", line 774, in get
raise self._value
ValueError: Credentials for client are not set
Thanks by advance for support.
from checkov-action.
The issue has been resolved by Bump checkov container version to 3.1.3 ! It's working fine now.
from checkov-action.
Works fine for me as well
from checkov-action.
Related Issues (20)
- Cloning module issues for checkov action (IAC Scan issues) HOT 2
- Checkov-action started failing after the recent update in the docker image HOT 3
- Seeing An Issue Downloading External Terraform Modules HOT 4
- Add branch
- Add support of custom values.yaml
- Checkov severity levels appear in Code Scanning Filter HOT 1
- Adding Checkov in Github Actions HOT 4
- Checkov adopting root permissions in Github Actions Runs when creating results folder, cannot clean itself up afterwards HOT 1
- In download external modules defaults to git clone ssh url. how to change it to use https url HOT 3
- Checkov GitHub Action Reports SKIPPED Findings as Warnings HOT 3
- Missing '--skip-framework' parameter HOT 1
- Sarif output does not reflect the enrichment (Terraform plan with --repo-root-for-plan-enrichment) HOT 1
- Missing option of setting prisma-api-url / PRISMA_API_URL HOT 2
- Add --skip-results-upload to Git Actions HOT 1
- Write failures as comments in PRs HOT 1
- Replace the 'tfc_token' input with 'tf_registry_token' HOT 1
- Add annotations to files in github pr HOT 4
- Using skip_cve_package parameter with CVE-2023-46298 returns a failure HOT 2
- bump to image version 3.2.4 is causing failures HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkov-action.