Build failures due to snapshot.debian.org
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
New
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
CENGN's overnight StarlingX builds have failed semi-regularly on network download issues.
The problem usually strikes in the 2:00-3:00 am Eastern time window when accessing snapshot.debian.org to download files. Recent build failures were Nov 18 and Nov 22.
We have seen issues with both construction of build containers and during the download step.
CENGN IT claims no network issues on those time windows, nor does the build servers connectivity audit show any issues with general network access. Whatever the issue, it is closer to the debian side.
We need to look into adding retries and/or falling back to an alternative mirror for these, if not all downloads.
Severity
--------
Minor:
Steps to Reproduce
------------------
Scenario 1)
stx-init-env --rebuild
Scenario 2)
downloader -b -s -B std,rt
Expected Behavior
------------------
Build passes
Actual Behavior
----------------
Build fails
Reproducibility
---------------
Intermittent: Perhaps 20% of builds when triggered between 2-3 am Eastern
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Branch and the time when code was pulled or git commit or cengn load info
Last Pass
---------
Did this test scenario pass previously? If so, please indicate the load/pull time info of the last pass.
Use this section to also indicate if this is a new test scenario.
Timestamp/Logs
--------------
Scenario 1)
./stx-init-env --rebuild
...
02:20:35 Step 5/19 : RUN cd /tmp && wget http://
02:20:35 ---> Running in aa077b054066
02:20:35 [91m--2022-11-16 07:20:32-- http://
02:20:35 Resolving snapshot.debian.org (snapshot.
02:20:35 Connecting to snapshot.debian.org (snapshot.
02:21:43 [0m[91mHTTP request sent, awaiting response... [0m[91m503 Backend fetch failed
02:21:43 [0m[91m2022-11-16 07:21:32 ERROR 503: Backend fetch failed.
02:21:43
02:21:43 [0mThe command '/bin/sh -c cd /tmp && wget http://
Scenario 2)
downloader -b -s -B std,rt
...
02:38:45 2022-11-21 07:38:45,386 - [1mrepo_
02:38:45 2022-11-21 07:38:45,386 - [1mdownloader[0m - [1;32mINFO[0m: firmware-
02:38:45 2022-11-21 07:38:45,386 - [1mdownloader[0m - [1;34mDEBUG[0m: package firmware-
02:38:45 2022-11-21 07:38:45,386 - [1mdownloader[0m - [1;32mINFO[0m: [ Run - "['rm', '-rf', '/import/
02:38:45 2022-11-21 07:38:45,398 - [1mdownloader[0m - [1;32mINFO[0m: [ Run - "['curl', '-k', '-f', 'https:/
02:38:51 2022-11-21 07:38:51,907 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: % Total % Received % Xferd Average Speed Time Time Time Current
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: Dload Upload Total Spent Left Speed
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 1 8742k 1 127k 0 0 52361 0 0:02:50 0:00:02 0:02:48 52340
02:38:51 2022-11-21 07:38:51,908 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 13 8742k 13 1152k 0 0 321k 0 0:00:27 0:00:03 0:00:24 321k
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 24 8742k 24 2173k 0 0 482k 0 0:00:18 0:00:04 0:00:14 482k
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 35 8742k 35 3069k 0 0 515k 0 0:00:16 0:00:05 0:00:11 662k
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 38 8742k 38 3344k 0 0 515k 0 0:00:16 0:00:06 0:00:10 769k
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: 38 8742k 38 3368k 0 0 518k 0 0:00:16 0:00:06 0:00:10 809k
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;34mDEBUG[0m: stderr: curl: (18) transfer closed with 5503728 bytes remaining to read
02:38:51 2022-11-21 07:38:51,909 - [1mdownloader[0m - [1;31mERROR[0m: [ Command failed with a non-zero return code: "['curl', '-k', '-f', 'https:/
02:38:51 Traceback (most recent call last):
02:38:51 File "/localdisk/
02:38:51 binary_dl.start()
02:38:51 File "/localdisk/
02:38:51 self.download_
02:38:51 File "/localdisk/
02:38:51 ret = self.download(
02:38:51 File "/localdisk/
02:38:51 utils.run_
02:38:51 File "/localdisk/
02:38:52 raise Exception(msg)
02:38:52 Exception: [ Command failed with a non-zero return code: "['curl', '-k', '-f', 'https:/
Test Activity
-------------
Build
Workaround
----------
Wait for snapshot.debian.org to come back, and try again.
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.build |