Skip to content

Scanner stuck in ScanCode loop without any error #10563

@voidpetal

Description

@voidpetal

Describe the bug

The Scanner gets stuck for a very long time in scancode loop and doesn't output anything to help debug what's the issue.

To Reproduce

This is tied to a couple projects, still didn't find any connection between them so that I can say how to replicate...

Expected behavior

ORT outputs helpful debug statements and finishes scanning sooner.

Console / log output

10:45:47.537 [main] INFO  org.ossreviewtoolkit.utils.common.ProcessCapture - Running 'scancode --copyright --license --info --strip-root --timeout 300 --processes 1 --license-references --json /tmp/ort-ScanCode18304449959201815913/result.json /tmp/ort-DefaultProvenanceDownloader2867394273174419430' in '/builds/ort'...
10:45:51.152 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Pool stats (total=5/5, idle=5/5, active=0, waiting=0)
10:45:51.152 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled.
10:46:21.152 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Pool stats (total=5/5, idle=5/5, active=0, waiting=0)
10:46:21.152 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled.
10:46:28.374 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - keepalive: connection org.postgresql.jdbc.PgConnection@58ba1760 is alive
10:46:29.108 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - keepalive: connection org.postgresql.jdbc.PgConnection@60a739ee is alive
...
11:07:45.180 [HikariPool-1:connection-closer] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Closing connection org.postgresql.jdbc.PgConnection@23a5fa34: (connection has passed maxLifetime)
11:07:45.182 [HikariPool-1:connection-adder] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Attempting to create/setup new connection (a0b4057c-60dd-4526-bd6f-3b6f3fe6f117)
11:07:45.229 [HikariPool-1:connection-adder] DEBUG com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Established new connection (a0b4057c-60dd-4526-bd6f-3b6f3fe6f117)
11:07:45.229 [HikariPool-1:connection-adder] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@1ee571d7
11:07:51.163 [HikariPool-1:housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Pool stats 
...

Environment

  • ORT version: 3b72c0e
  • Java version: 21
  • OS: linux alpine
  • ScanCode version: 32.3.3
  • Python-inspector version: 0.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoAn issue where further information is requiredscannerAbout the scanner toolthird-partyIssues that are caused by a third-party

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions