Skip to content

CI: net6 build still fails with parallel build race on ScyllaDB.deps.json #204

@dkropachev

Description

@dkropachev

Description

The net6 CI job (integration-tests (PRIOR, net6, 6.0.x)) fails during make test-unit with a file locking error on ScyllaDB.deps.json:

error MSB4018: The "GenerateDepsFile" task failed unexpectedly.
System.IO.IOException: The process cannot access the file
  '.../src/Cassandra/bin/Debug/netstandard2.0/ScyllaDB.deps.json'
  because it is being used by another process.

PR #192 (fix/ci-parallel-build-race) was merged to address this, but the issue persists.

Reproduction

Observed in CI run: https://github.com/scylladb/csharp-driver/actions/runs/22953537794/job/66624477477

The failure is intermittent — it depends on timing of parallel MSBuild targets writing to the same output path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions