Skip to content

community_build_a fails intermittently with corrupt scalatest artifacts #11604

Closed
@griggt

Description

@griggt

For some weeks or months now, community_build_a fails intermittently in CI with corrupt scalatest artifacts. The issue seems to arise more often when the CI is under heavy load.

Examples of error messages observed in the CI logs:

[error] lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] file:///root/.ivy2/local/org.scalatest/scalatest-core_3.0.0-RC2/3.2.3/bundles/scalatest-core_3.0.0-RC2.jar: wrong checksum: /root/.ivy2/local/org.scalatest/scalatest-core_3.0.0-RC2/3.2.3/bundles/scalatest-core_3.0.0-RC2.jar (expected SHA-1 7e3c896002ef95528f8205305904a22b8e1c1f3f in /root/.ivy2/local/org.scalatest/scalatest-core_3.0.0-RC2/3.2.3/bundles/scalatest-core_3.0.0-RC2.jar.sha1, got 55de3b3142a807c18d64786b52a8a06fa49b7443)
[error] error while loading <root>,
[error] Error accessing /root/.ivy2/local/org.scalatest/scalatest-flatspec_3.0.0-RC1/3.2.3/bundles/scalatest-flatspec_3.0.0-RC1.jar
[error] Could not find package scala from compiler core libraries.
[error] Make sure the compiler core libraries are on the classpath.
[error] (scalatestCoreDotty / publishLocal) java.io.IOException: size of source file /__w/dotty/dotty/community-build/community-projects/scalatest/dotty/core/target/scala-3.0.0-M3/scalatest-core_3.0.0-M3-3.2.3.jar(0) differs from size of dest file /root/.ivy2/local/org.scalatest/scalatest-core_3.0.0-M3/3.2.3/bundles/scalatest-core_3.0.0-M3.jar(5270082) - please retry
[error] (scalatestCoreDotty / publishLocal) Missing files for publishing:
[error] 	/__w/dotty/dotty/community-build/community-projects/scalatest/dotty/core/target/scala-3.0.0-M3/scalatest-core_3.0.0-M3-3.2.3.jar

Links to some failing CI runs:

https://github.com/lampepfl/dotty/runs/2034290606?check_suite_focus=true#step:7:3717
https://github.com/lampepfl/dotty/runs/1814806014?check_suite_focus=true#step:7:2520
https://github.com/lampepfl/dotty/runs/1806534005?check_suite_focus=true#step:7:2488
https://github.com/lampepfl/dotty/runs/1701458513?check_suite_focus=true#step:7:2530
https://github.com/lampepfl/dotty/runs/1720784830?check_suite_focus=true#step:7:2533
https://github.com/lampepfl/dotty/runs/1715832346?check_suite_focus=true#step:7:2532
https://github.com/lampepfl/dotty/runs/1588578361?check_suite_focus=true#step:7:2480

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions