Debian downloader fails to fallback to upstream source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Scott Little |
Bug Description
Brief Description
-----------------
The debian downloader failed because CENGN was unable to supply on file.
The debian downloader should have retired using the upstream URL, but
it didn't even try.
Severity
--------
Critical: builds fail if CENGN is less than 100% healthy.
Steps to Reproduce
------------------
downloader -b -s
Expected Behavior
------------------
All files download
Actual Behavior
----------------
Download of setuptools from CENGN fails. CENGN is looking in that as a seperate bug.
However the downloader should be making a second download attempt from the original
upstream URL. It's failing to do so, which causes downloader to fail.
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Apr 1, 2022
Last Pass
---------
Mar 27, 2022
Timestamp/Logs
--------------
debrepack - INFO - === Package Name: setuptools
debrepack - INFO - === Debian Package Name: setuptools
debrepack - INFO - === Package Version: 52.0.0-4
debrepack - INFO - === Package Path: /localdisk/
debrepack - INFO - validating setuptools_
debrepack - INFO - [ Run - "dget -d http://
debrepack - DEBUG - dget: retrieving http://
debrepack - DEBUG - dget: retrieving http://
debrepack - DEBUG - setuptools_
debrepack - DEBUG - Good signature found
debrepack - ERROR - % Total % Received % Xferd Average Speed Time Time Time Current
debrepack - ERROR - Dload Upload Total Spent Left Speed
debrepack - ERROR -
debrepack - ERROR - 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
debrepack - ERROR - 100 2078 100 2078 0 0 86583 0 --:--:-- --:--:-- --:--:-- 86583
debrepack - ERROR - % Total % Received % Xferd Average Speed Time Time Time Current
debrepack - ERROR - Dload Upload Total Spent Left Speed
debrepack - ERROR -
debrepack - ERROR - 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
debrepack - ERROR - 58 2003k 58 1166k 0 0 4858k 0 --:--:-- --:--:-- --:--:-- 4858k
debrepack - ERROR - curl: (56) Recv failure: Connection reset by peer
debrepack - ERROR - dget: curl setuptools_
debrepack - ERROR - skipping setuptools_
debrepack - ERROR - skipping setuptools_
debrepack - ERROR - dscverify: setuptools_
debrepack - ERROR - Validation FAILED!!
Test Activity
-------------
Build
Workaround
----------
Manual download of the offending file using wget.
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.7.0 stx.build stx.debian |
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Scott Little (slittle1) |
Reviewed: https:/ /review. opendev. org/c/starlingx /root/+ /836213 /opendev. org/starlingx/ root/commit/ 81e5f92b6855e57 61d22f937a9cf59 ece7c6512b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 81e5f92b6855e57 61d22f937a9cf59 ece7c6512b
Author: Scott Little <email address hidden>
Date: Fri Apr 1 16:58:00 2022 -0400
Fix downloader -s cengn-first strategy
downloader -s fails on setuptools, reason unknown.
That issue is being tracked separately.
However the point of the cengn-first strategy is to actually
try the upstream url if the download from cengn fails.
This update covers the Sourced download step of the below
launchpad. The binary download step will be addressed as a
separate update.
Partial-Bug: 1967898 247931355e55d89 bcbc375c401
Signed-off-by: Scott Little <email address hidden>
Change-Id: Ie216dc104022f3