Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ubuntu-18.04] Mirror http://azure.archive.ubuntu.com/ubuntu now corrupted for i386, breaks libexpat CI #4746

Closed
1 of 7 tasks
hartwork opened this issue Dec 16, 2021 · 5 comments
Labels
investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Ubuntu

Comments

@hartwork
Copy link

Description

Starting today, a corruption of files in default mirror http://azure.archive.ubuntu.com/ubuntu breaks sudo dpkg --add-architecture i386 && sudo apt-get update and hence now makes image ubuntu-18.04 builds fail for libexpat that were working fine yesterday:

[..]
# sudo dpkg --add-architecture i386
# sudo apt-get update
[..]
Err:12 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
  File has unexpected size (1386788 != 1386576). Mirror sync in progress? [IP: 52.250.76.244 80]
  Hashes of expected file:
   - Filesize:1386576 [weak]
   - SHA256:d3d30b2c4850b0509bb30096b534bc70358cc3b32ace288d4bf2360128a039f7
   - SHA1:f9963614468ce6227f3baff07d651d4a270f410f [weak]
   - MD5Sum:4313a0c7624a8b92ef4f2737ff97b76d [weak]
  Release file created at: Wed, 15 Dec 2021 22:24:39 +0000
[..]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/Packages.xz  File has unexpected size (1386788 != 1386576). Mirror sync in progress? [IP: 52.250.76.244 80]
   Hashes of expected file:
    - Filesize:1386576 [weak]
    - SHA256:d3d30b2c4850b0509bb30096b534bc70358cc3b32ace288d4bf2360128a039f7
    - SHA1:f9963614468ce6227f3baff07d651d4a270f410f [weak]
    - MD5Sum:4313a0c7624a8b92ef4f2737ff97b76d [weak]
   Release file created at: Wed, 15 Dec 2021 22:24:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
[..]

I have given it some time to go away, but after a few hours and build attempt 4 with the same failure, reporting the issue here seemed like the right step. Any chance this could be fixed?

Version: 20211209.3
Build: https://github.com/libexpat/libexpat/runs/4541423933

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Version: 20211209.3
Build: https://github.com/libexpat/libexpat/runs/4541423933

Is it regression?

20211209.3 (same version, worked yesterday)

Expected behavior

Default mirror http://azure.archive.ubuntu.com/ubuntu should be free of corruptions and sudo dpkg --add-architecture i386 && apt-get update should work out of the box, like it still did yesterday. Thank you!

Actual behavior

Mirror http://azure.archive.ubuntu.com/ubuntu seems to have become corrupted:

[..]
# sudo dpkg --add-architecture i386
# sudo apt-get update
[..]
Err:12 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
  File has unexpected size (1386788 != 1386576). Mirror sync in progress? [IP: 52.250.76.244 80]
  Hashes of expected file:
   - Filesize:1386576 [weak]
   - SHA256:d3d30b2c4850b0509bb30096b534bc70358cc3b32ace288d4bf2360128a039f7
   - SHA1:f9963614468ce6227f3baff07d651d4a270f410f [weak]
   - MD5Sum:4313a0c7624a8b92ef4f2737ff97b76d [weak]
  Release file created at: Wed, 15 Dec 2021 22:24:39 +0000
[..]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/Packages.xz  File has unexpected size (1386788 != 1386576). Mirror sync in progress? [IP: 52.250.76.244 80]
   Hashes of expected file:
    - Filesize:1386576 [weak]
    - SHA256:d3d30b2c4850b0509bb30096b534bc70358cc3b32ace288d4bf2360128a039f7
    - SHA1:f9963614468ce6227f3baff07d651d4a270f410f [weak]
    - MD5Sum:4313a0c7624a8b92ef4f2737ff97b76d [weak]
   Release file created at: Wed, 15 Dec 2021 22:24:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
[..]

Repro steps

  • Use image ubuntu-18.04
  • sudo dpkg --add-architecture i386
  • sudo apt-get update
@nikolai-frolov nikolai-frolov added investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Ubuntu and removed needs triage labels Dec 16, 2021
@nikolai-frolov
Copy link
Contributor

Hello @hartwork. Thanks for reporting, we'll take care about the issue investigation.

@hartwork
Copy link
Author

A quick update: attempt #5 seems to have worked just now: https://github.com/libexpat/libexpat/actions/runs/1583922433 .

@miketimofeev
Copy link
Contributor

@hartwork look like there was an issue on Canonical side rather than the problem with the image

@hartwork
Copy link
Author

@miketimofeev I see your point. Should we close the issue?

@miketimofeev
Copy link
Contributor

@hartwork yes, please. If the problem appears again feel free to reopen the issue.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Ubuntu
Projects
None yet
Development

No branches or pull requests

4 participants
@hartwork @miketimofeev @nikolai-frolov and others