YannickRe / azuredevops-buildagents

Generate self-hosted build agents for Azure DevOps, just like Microsoft does.
MIT License
151 stars 90 forks source link

Failure in building Ubuntu 2204 image #37

Closed Arash-Sabet closed 1 year ago

Arash-Sabet commented 1 year ago

We started getting the following error message effective today:

2023-03-02T18:26:34.9819577Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:26:34.9823918Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:26:34.9829150Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 19 attempts left 2023-03-02T18:27:08.6926940Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:27:08.6930948Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:27:08.6936179Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 18 attempts left 2023-03-02T18:27:40.0008634Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:27:40.0012821Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:27:40.0024019Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 17 attempts left 2023-03-02T18:28:11.1161656Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:28:11.1166057Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:28:11.1171523Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 16 attempts left 2023-03-02T18:28:42.8183498Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:28:42.8188112Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:28:42.8193530Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 15 attempts left 2023-03-02T18:29:14.7422271Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:29:14.7426379Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:29:14.7431695Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 14 attempts left 2023-03-02T18:29:45.3858832Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:29:45.3862874Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:29:45.3868354Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 13 attempts left 2023-03-02T18:30:16.2499116Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:30:16.2503284Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:30:16.2508757Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 12 attempts left 2023-03-02T18:30:47.0776538Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:30:47.0780607Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:30:47.0785821Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 11 attempts left 2023-03-02T18:31:18.2482382Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:31:18.2486815Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:31:18.2491964Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 10 attempts left 2023-03-02T18:31:50.8730167Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:31:50.8734672Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:31:50.8739880Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 9 attempts left 2023-03-02T18:32:21.8498290Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:32:21.8502637Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:32:21.8507831Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 8 attempts left 2023-03-02T18:32:52.6230790Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:32:52.6235698Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:32:52.6241043Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 7 attempts left 2023-03-02T18:33:23.7646518Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:33:23.7651980Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:33:23.7657932Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 6 attempts left 2023-03-02T18:33:54.7310483Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:33:54.7314935Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:33:54.7320099Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 5 attempts left 2023-03-02T18:34:25.9124051Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:34:25.9128382Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:34:25.9133492Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 4 attempts left 2023-03-02T18:34:56.9730816Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:34:56.9735212Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:34:56.9740362Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 3 attempts left 2023-03-02T18:35:28.1015871Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:35:28.1020134Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:35:28.1025413Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 2 attempts left 2023-03-02T18:35:58.7471148Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:35:58.7476208Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:35:58.7481950Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 1 attempts left 2023-03-02T18:36:30.6204673Z azure-arm.build_vhd: Error — Either HTTP response code for 'https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip 2023-03-02T18:36:30.6208895Z azure-arm.build_vhd: commandlinetools-linux-9645777_latest.zip 2023-03-02T18:36:30.6214305Z azure-arm.build_vhd: commandlinetools-linux-9644228_latest.zip' is wrong - '200000000' or exit code is not 0 - '6'. Waiting 30 seconds before the next attempt, 0 attempts left 2023-03-02T18:37:00.6226144Z azure-arm.build_vhd: Could not download https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip

SamBonavika commented 1 year ago

Just an FYI, it ain't just you ... ;-}

I've been having this issue for a couple days, even when running on a local machine per the instructions from https://msftplayground.com/2021/02/private-azure-devops-agent-pool-based-the-microsoft-hosted-agents/. IOW ... it isn't Yannick's stuff that's blowing up.

Arash-Sabet commented 1 year ago

@SamBonavika That's what I guessed too! I think it makes sense to open this issue on Microsoft's github.

Arash-Sabet commented 1 year ago

@SamBonavika @YannickRe I reported this issue to Microsoft.

YannickRe commented 1 year ago

Yeah, most likely this is because they use their repo as a "work-in-progress" and I just copy from that latest version of their code, bleeding edge. There have been discussions to make adjustments so we by default take the code base from the latest release of each of the images, but no one has gotten around to implement that just yet. MS is pretty quick to fix their issues, so it could be that this has been resolved tomorrow but for continuous work, it be better if we based on stable releases.