aboutcode-org / aboutcode-org/scancode.io

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

Đang mở
#1,623 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

**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

- What inputs are you using?
https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.xz
- Which pipeline are you running?
Scan_single_package

**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))

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.