Skip to content

swift test is hanging on GitHub Actions, started in Swift 6.0+ #8394

Open
@czechboy0

Description

@czechboy0

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

swift test is hanging on GitHub Actions, started in Swift 6.0+

Example: https://github.com/apple/swift-distributed-actors/actions/runs/13964630089/job/39092176843

GHA cancels the job after 6 hours.

Expected behavior

swift test would continue to building and running tests.

Actual behavior

swift test hangs after cloning, before building.

Steps to reproduce

I haven't been able to reproduce locally, but happens frequently on this CI job: https://github.com/apple/swift-distributed-actors/actions/runs/13964630089/job/39092176843

Swift Package Manager version/commit hash

6.0 and newer, doesn't reproduce on 5.9/5.10

Swift & OS version (output of swift --version ; uname -a)

swift:6.0-jammy container

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions