Skip to content

Chisel is flaky when the archive is updating #295

Closed

Description

@zhijie-yang

Chisel is flaky when there are ongoing updates in the archive, and it often leads to cut failures with the following logs:

...
026-05-07 11:25:10.798 :: 2026/05/07 11:25:10 Fetching ubuntu 24.04 noble-updates suite details...
2026-05-07 11:25:10.802 :: 2026/05/07 11:25:10 Release date: Thu, 07 May 2026 10:17:06 UTC
2026-05-07 11:25:10.802 :: 2026/05/07 11:25:10 Fetching index for ubuntu 24.04 noble-updates main component...
2026-05-07 11:25:10.876 :: error: cannot fetch from archive: expected digest 9e43a1e44de6364b420cee4ed3a875d86c91c303dbe0a430e223fdfab46203c2, got 94d992c6890c67af4e8f6ceed7a8cdb501128d91a770345779e8544304fcfe35

Propose: Chisel should implement a mechanism similar to AptByHash to ensure the consistency of its cache.

Activity

  1. mohnabilibrahim commented on May 12, 2026

    @mohnabilibrahim

    I've been hitting the same issue as well:
    12.48 2026/05/12 10:29:28 Fetching index for ubuntu 22.04 jammy-updates main component...
    14.21 error: cannot fetch from archive: expected digest bac00d88aead4e7ddc382f82d2db26ea3c3277c208c027dfd4f825f9c612e3ea, got 8a3da10e4cf7cbfc806136a0c47991d88e45f10ee8a8288e4cfc8b001fd96e99

    Any possible work-around?

  2. gruyaume commented on May 14, 2026

    @gruyaume
    Contributor

    Hello,

    We face these issues regularly in our CI making our rockcraft builds very flaky.

    rockcraft_chisel_build_log.txt

    Thank you!

  3. norrisjeremy commented on Jun 4, 2026

    @norrisjeremy

    Is there any progress on remedying this issue?
    It is frustrating having CI jobs continually fail because of this.

  4. eddiegrau commented on Jun 10, 2026

    @eddiegrau

    Also running into CI failures caused by this :(

  5. norrisjeremy commented on Jun 24, 2026

    @norrisjeremy

    Asking yet again: what is the progress on getting this issue remedied?
    We are continually having CI jobs fail because of this problem.

  6. upils commented on Jun 24, 2026

    @upils
    Collaborator

    We are fully aware of the impact of the issue and are also experiencing CI jobs failures on our end. The fix (#296), which addresses this problem, is our top priority and is currently in the final review queue.

  7. norrisjeremy commented on Jul 2, 2026

    @norrisjeremy

    Are there any updates on getting this issue resolved?
    It's been another week with seemingly no progress.

  8. added a commit that references this issue on Jul 7, 2026
    1262471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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