aboutcode-org / aboutcode-org/scancode-toolkit
ScanCode 31.2.1 fail to scan a large XMI file
- Ngôn ngữ chính
- Python
- Star
- 2.6k
- Fork
- 791
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
### Description
Scanning https://raw.githubusercontent.com/apache/poi/51cdefee23536aa916dd93f229c5cd6301be378c/src/models/poi.xmi with `--copyright --license --info --strip-root -n 4 --timeout 300 --processes 7` results in
```
09:59:43.356 [main] INFO org.ossreviewtoolkit.scanner.Scanner - Scan of RepositoryProvenance(vcsInfo=VcsInfo(type=Git, url=https://github.com/apache/poi.git, revision=, path=), resolvedRevision=51cdefee23536aa916dd93f229c5cd6301be378c) with path scanner 'ScanCode' started.
09:59:43.359 [main] INFO org.ossreviewtoolkit.utils.common.ProcessCapture - Running 'scancode --copyright --license --info --strip-root -n 4 --timeout 300 --processes 7 /tmp/ort-DefaultProvenanceDownloader12179513788909952484 --json-pp /tmp/ort-ScanCode727923217993477194/result.json' in '/home/ort'...
Exception in thread "main" java.io.IOException: Running 'scancode --copyright --license --info --strip-root -n 4 --timeout 300 --processes 7 /tmp/ort-DefaultProvenanceDownloader12179513788909952484 --json-pp /tmp/ort-ScanCode727923217993477194/result.json' in '/home/ort' failed with exit code 1:
Setup plugins...
Collect file inventory...
Scan files for: info, licenses, copyrights with 7 process(es)...
Scanning done.
Some files failed to scan properly:
Path: ort-DefaultProvenanceDownloader12179513788909952484/src/models/poi.xmi
Summary: info, licenses, copyrights with 7 process(es)
Errors count: 1
Scan Speed: 2.36 files/sec. 54.30 KB/sec.
Initial counts: 4259 resource(s): 3836 file(s) and 423 directorie(s)
Final counts: 4258 resource(s): 3836 file(s) and 422 directorie(s) for 86.02 MB
Timings:
scan_start: 2022-12-15T095944.898917
scan_end: 2022-12-15T102654.718183
setup_scan:licenses: 5.10s
setup: 5.10s
inventory: 1.09s
scan: 1622.26s
output:json-pp: 3.77s
output: 3.77s
total: 1633.86s
Removing temporary files...done.
at org.ossreviewtoolkit.utils.common.ProcessCapture.requireSuccess(ProcessCapture.kt:154)
at org.ossreviewtoolkit.utils.common.CommandLineTool$DefaultImpls.run(CommandLineTool.kt:74)
at org.ossreviewtoolkit.scanner.CommandLinePathScannerWrapper.run(CommandLinePathScannerWrapper.kt:32)
```
and exit code 1.
Full log is available at https://foundation.eclipse.org/ci/infra/job/ort/job/Staging/job/staging_run_ort/20/console
### How To Reproduce
See above.
### System configuration
* What OS are you running on? Linux
* What version of scancode-toolkit was used to generate the scan file? 31.2.1
* What installation method was used to install/run scancode? pip
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.