Giter VIP home page Giter VIP logo

Comments (4)

nvukas59 avatar nvukas59 commented on June 2, 2024 1

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.

maximeancellin avatar maximeancellin commented on June 2, 2024

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.

nvukas59 avatar nvukas59 commented on June 2, 2024

The issue has been resolved by Bump checkov container version to 3.1.3 ! It's working fine now.

from checkov-action.

eptw4by avatar eptw4by commented on June 2, 2024

Works fine for me as well

from checkov-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.