Skip to content

cannot scan rustc software - keeps timing out - after 24 hours #1623

@ilovemaui

Description

@ilovemaui

Describe the bug
So I have been trying for a week now to scan Rust for licenses, and no matter what I do, it keeps timing out after 24 hours. I am not sure how to get this to scan, or possibly to extend the 24 hour timeout.

System configuration

  • scancode.io version 34.9.5
  • running app using docker
  • windows laptop -
    Device name PF4FF87R
    Processor 12th Gen Intel(R) Core(TM) i7-1270P 2.20 GHz
    Installed RAM 32.0 GB (31.6 GB usable)
    Device ID 2BFEED46-1F14-4226-9935-88F501727E7A
    Product ID 00330-80000-00000-AA029
    System type 64-bit operating system, x64-based processor
    Pen and touch No pen or touch input is available for this display

Edition Windows 10 Enterprise
Version 22H2
Installed on ‎8/‎25/‎2023
OS build 19045.5487
Experience Windows Feature Experience Pack 1000.19061.1000.0

To Reproduce
Steps to reproduce the behavior:

  1. download source input as listed above
  2. create new project
  3. load downloaded input as listed above
  4. select scan_single_package
  5. create pipeline
  6. after 24 hours i see error:
    Task exceeded maximum timeout value (86400 seconds)

Traceback:
File "/opt/scancodeio/aboutcode/pipeline/init.py", line 199, in execute
step(self)
File "/opt/scancodeio/scanpipe/pipelines/scan_single_package.py", line 107, in run_scan
scanning_errors = scancode.run_scan(
^^^^^^^^^^^^^^^^^^
File "/opt/scancodeio/scanpipe/pipes/scancode.py", line 749, in run_scan
_success, results = scancode_run_scan(
^^^^^^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/scancode/cli.py", line 944, in run_scan
scan_success = run_scanners(
^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/scancode/cli.py", line 1186, in run_scanners
scan_success = scan_codebase(
^^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/scancode/cli.py", line 1294, in scan_codebase
scan_timings) = next(scans)
^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/scancode/pool.py", line 74, in wrap
result = func(self, timeout=timeout or 3600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 861, in next
self._cond.wait(timeout)
File "/usr/local/lib/python3.12/threading.py", line 359, in wait
gotit = waiter.acquire(True, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/rq/timeouts.py", line 63, in handle_death_penalty
raise self._exception('Task exceeded maximum timeout value ({0} seconds)'.format(self._timeout))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions