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

Github actions fails after new VMs deployed #9733

Closed
1 of 13 tasks
eenagy opened this issue Apr 24, 2024 · 29 comments
Closed
1 of 13 tasks

Github actions fails after new VMs deployed #9733

eenagy opened this issue Apr 24, 2024 · 29 comments

Comments

@eenagy
Copy link

eenagy commented Apr 24, 2024

Description

When running github actions when the VMs are in active deployment the github actions fail.
Taken from workflow actions log.
Please disable action running, while VM is deploying or only allow queuing.

 Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Err:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:7 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1610 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [303 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1830 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [311 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1070 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [244 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.2 kB]
Hit:15 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1392 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [243 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1768 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [299 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [848 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [163 kB]
Reading package lists...
E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Ubuntu LTS

Is it regression?

Not sure

Expected behavior

Either do not run the GitHub workflow or make it queue.

Actual behavior

Workflows fail.

Repro steps

  1. Create a workflow actions
  2. Use Ubuntu LTS
  3. run apt update as workflow step

Temporary Workaround

Actually

sudo apt-get update || true

won't help because apt index would be incomplete and the error to be ignored.

The problem is not in the image itself but in the Microsoft's apt repo, we are reaching them out.

the better workaround would be the following snippet of code:

    run: |
     sudo rm /etc/apt/sources.list.d/microsoft-prod.list
     sudo apt-get update

Update 13:10 UTC issue has been reported fixed

We are keeping an eye

@greenstatic
Copy link

Can confirm, I am getting the same error on my workflow runs.

@n-thumann
Copy link

n-thumann commented Apr 24, 2024

Seems to be the same as reported in microsoft/linux-package-repositories#130.

@jserpapinto
Copy link

We are getting this as well on all our repos.

@Antse
Copy link

Antse commented Apr 24, 2024

same for us

@mihaTrajbaric
Copy link

Same issue on our repos.

@roharon
Copy link

roharon commented Apr 24, 2024

We got same issues in Github Actions that using ubuntu-latest.

@reachlin
Copy link

reachlin commented Apr 24, 2024

content-length: 0

(base) lincai@Charles-Cai-MBP16 makomo % curl -v https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease
*   Trying 13.107.213.74:443...
* Connected to packages.microsoft.com (13.107.213.74) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=packages.microsoft.com
*  start date: Feb 20 15:27:19 2024 GMT
*  expire date: Feb 14 15:27:19 2025 GMT
*  subjectAltName: host "packages.microsoft.com" matched cert's "packages.microsoft.com"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure RSA TLS Issuing CA 08
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: packages.microsoft.com]
* [HTTP/2] [1] [:path: /ubuntu/22.04/prod/dists/jammy/InRelease]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET /ubuntu/22.04/prod/dists/jammy/InRelease HTTP/2
> Host: packages.microsoft.com
> User-Agent: curl/8.4.0
> Accept: */*
> 
< HTTP/2 200 
< date: Wed, 24 Apr 2024 09:47:50 GMT
< content-length: 0
< x-ms-request-id: 7d5ed39a-501e-0024-4d26-963923000000
< x-ms-version: 2021-08-06
< x-ms-error-code: InvalidRange
< strict-transport-security: max-age=31536000; includeSubDomains
< x-azure-ref: 20240424T094750Z-1656cf4dd4dfpwdca5zpavt7c4000000087g000000000pn9
< cache-control: public, max-age=31536000
< x-fd-int-roxy-purgeid: 66945124
< x-cache: TCP_HIT
< accept-ranges: bytes
< 
* Connection #0 to host packages.microsoft.com left intact

@sciutand
Copy link

same here on ubuntu latest

licy183 referenced this issue in termux/termux-packages Apr 24, 2024
@zviryatko
Copy link

For myself added sudo rm /etc/apt/sources.list.d/microsoft-prod.list before the sudo apt-get update
I don't care for ms repos in my pipelines, so should work.

@JesusPoderoso
Copy link

Some workarounds we've seen are adding || true to the apt update command:
sudo apt-get update || true
Hope it helps

@yongsk0066
Copy link

same here too 🥹

@pavanm-huma
Copy link

Same issue for us too. Changing 'runs-on: latest' to 'runs-on: ubuntu-20.04' helped.

@mikhailkoliada
Copy link
Contributor

Actually

sudo apt-get update || true

won't help because apt index would be incomplete and the error to be ignored.

The problem is not in the image itself but in the Microsoft's apt repo, we are reaching them out.

the better workaround would be the following snippet of code:

        run: |
         sudo rm /etc/apt/sources.list.d/microsoft-prod.list
         sudo apt-get update

@sciutand
Copy link

strange my browser can fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease no problem, but with curl it fails. Even when using copy with curl to ensure the headers are the same.
... wget https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease works as well.

hebasto added a commit to hebasto/bitcoin that referenced this issue Apr 24, 2024
…ction

ece2ffc ci: Workaround Microsoft mirror issue for GitHub Action (Hennadii Stepanov)

Pull request description:

  Upstream:
   - issue -- actions/runner-images#9733
   - code snippet -- actions/runner-images#9733 (comment)

Top commit has no ACKs.

Tree-SHA512: e2ce211de020fb1f22fba79d2f8d3ea8831d5543eb24ed3e0e6b88ea9eb09ad695edc2c360c68f46b6b5b4cd52446f9d8beb9eb4378b28b8f4e1c0b13ce1b438
skirpichev added a commit to skirpichev/mpmath that referenced this issue Apr 24, 2024
didrocks added a commit to ubuntu/WSL that referenced this issue Apr 24, 2024
mergify bot pushed a commit to winglang/wing that referenced this issue Apr 24, 2024
Running `playwright install --with-deps` fails because it executes `apt update` in the background, which is failing on the `latest ubuntu-22.04` image release.

Related to [Issue #9733](actions/runner-images#9733).

Thanks to the temporary fix provided [here](actions/runner-images#9733 (comment)) 🙌.
siarheiyelin added a commit to epam/UUI that referenced this issue Apr 24, 2024
Upgrade Playwright to 1.43.1 and apply temporary fix to the global GitHub issue (actions/runner-images#9733)
satoshiotomakan added a commit to trustwallet/wallet-core that referenced this issue Apr 24, 2024
skirpichev added a commit to diofant/diofant that referenced this issue Apr 24, 2024
ediardi added a commit to ediardi/poo-151-2024 that referenced this issue Apr 24, 2024
lukaszstolarczuk added a commit to lukaszstolarczuk/unified-memory-framework that referenced this issue Apr 24, 2024
It's a workaround for GHA issue.
Ref. actions/runner-images#9733
@mikhailkoliada
Copy link
Contributor

Update 13:10 UTC issue has been reported fixed

We are keeping an eye

@rvecmanis
Copy link

Seems to be fixed, our runners work as intended.

lukaszstolarczuk added a commit to lukaszstolarczuk/unified-memory-framework that referenced this issue Apr 24, 2024
It's a workaround for GHA issue.
Ref. actions/runner-images#9733
ediardi added a commit to ediardi/poo-151-2024 that referenced this issue Apr 24, 2024
@pntgoswami18
Copy link

Our github actions are now working as intended, the issue seems fixed for us

ediardi added a commit to ediardi/poo-151-2024 that referenced this issue Apr 24, 2024
@mikhailkoliada
Copy link
Contributor

We got confirmation that the issue has been fully addressed, closing now!

skirpichev added a commit to skirpichev/mpmath that referenced this issue Apr 24, 2024
skirpichev added a commit to skirpichev/mpmath that referenced this issue Apr 24, 2024
satoshiotomakan added a commit to trustwallet/wallet-core that referenced this issue Apr 24, 2024
* [misc]: Add TWError, TWResult, TWErrorKind, and traits

* Use `TWError` in `tw_coin_entry`

* [misc]: Return SigningError, SigningResult back, make TWError<E> generic

* [misc]: Add `tw_aptos` error contexts

* [misc]: Add `tw_sui` error contexts

* [misc]: Simplify `TWError` casts, add tests

* [misc]: Add contexts in `tw_cosmos_sdk`

* [misc]: Add contexts in `tw_evm`

* [misc]: Fix compilation of `tw_ethereum`, `tw_ronin`, `tw_bitcoin`, `tw_native_evmos`, `tw_native_injective`, `tw_thorchain`

* [misc]: Add error contexts in `tw_solana`

* [misc]: Fix `tw_bitcoin` compilation errors

* [misc]: Add error contexts to `tw_greenfield`

* [misc]: Fix other compilation errors

* [CI] Trigger CI

* [codegen-v2]: Fix Rust codegen templates

* [misc]: Add `TWError` doc comments

* [CI]: Apply a workaround

* [CI]: Apply a work around actions/runner-images#9733

* [CI]: Try to disable workaround

* [CI]: Try to disable workaround

* [CI]: Fix broken dependencies cache

* [CI]: Apply the changes for linux-sampleapp-ci.yml
skirpichev added a commit to diofant/diofant that referenced this issue Apr 24, 2024
vasild pushed a commit to vasild/bitcoin that referenced this issue Apr 30, 2024
Herocoin816 added a commit to Herocoin816/Wallet that referenced this issue Sep 16, 2024
* [misc]: Add TWError, TWResult, TWErrorKind, and traits

* Use `TWError` in `tw_coin_entry`

* [misc]: Return SigningError, SigningResult back, make TWError<E> generic

* [misc]: Add `tw_aptos` error contexts

* [misc]: Add `tw_sui` error contexts

* [misc]: Simplify `TWError` casts, add tests

* [misc]: Add contexts in `tw_cosmos_sdk`

* [misc]: Add contexts in `tw_evm`

* [misc]: Fix compilation of `tw_ethereum`, `tw_ronin`, `tw_bitcoin`, `tw_native_evmos`, `tw_native_injective`, `tw_thorchain`

* [misc]: Add error contexts in `tw_solana`

* [misc]: Fix `tw_bitcoin` compilation errors

* [misc]: Add error contexts to `tw_greenfield`

* [misc]: Fix other compilation errors

* [CI] Trigger CI

* [codegen-v2]: Fix Rust codegen templates

* [misc]: Add `TWError` doc comments

* [CI]: Apply a workaround

* [CI]: Apply a work around actions/runner-images#9733

* [CI]: Try to disable workaround

* [CI]: Try to disable workaround

* [CI]: Fix broken dependencies cache

* [CI]: Apply the changes for linux-sampleapp-ci.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests