debian build - downloader fails to follow redirects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
A redirect is used to aid in the transition from mirror.
Curl does not support redirects, unless the -L/--location options are specified.
The 'downloader' used by the debian build fails to use -L.
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
downloader -s -b -B std
Expected Behavior
------------------
Download success
Actual Behavior
----------------
Download failure
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
July 25, 2023
Last Pass
---------
July 23, 2023 (pre-CENGN cutover)
Timestamp/Logs
--------------
2023-07-25 13:59:11,147 - downloader - INFO: [ Run - "['curl', '-k', '-f', 'http://
2023-07-25 13:59:11,352 - downloader - DEBUG: stderr: % Total % Received % Xferd Average Speed Time Time Time Current
2023-07-25 13:59:11,353 - downloader - DEBUG: stderr: Dload Upload Total Spent Left Speed
2023-07-25 13:59:11,353 - downloader - DEBUG: stderr: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-07-25 13:59:11,353 - downloader - DEBUG: stderr: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-07-25 13:59:11,353 - downloader - INFO: [ Run - "['mv', '/import/
2023-07-25 13:59:11,362 - downloader - INFO: firmware-
2023-07-25 13:59:11,546 - repo_manager - INFO: Delete package, package not found.
2023-07-25 13:59:11,546 - repo_manager - INFO: Delete package, package not found.
2023-07-25 13:59:11,546 - downloader - DEBUG: Tried to delete the old firmware-ath9k-htc, ret 0
2023-07-25 13:59:11,570 - repo_manager - DEBUG: upload_pkg: upload package /import/
2023-07-25 13:59:11,570 - repo_manager - DEBUG: upload_pkg: upload package /import/
2023-07-25 13:59:11,570 - repo_manager - ERROR: Error: Unable to find global header
2023-07-25 13:59:11,570 - repo_manager - ERROR: Error: Unable to find global header
2023-07-25 13:59:11,571 - repo_manager - ERROR: Binary package /import/
2023-07-25 13:59:11,571 - repo_manager - ERROR: Binary package /import/
2023-07-25 13:59:11,571 - downloader - ERROR: Binary package error.
2023-07-25 13:59:11,571 - downloader - ERROR: Exception on uploading /import/
Test Activity
-------------
Build
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Changed in starlingx: | |
importance: | Undecided → Critical |
tags: | added: stx.9.0 stx.build |
Changed in starlingx: | |
status: | New → Fix Committed |
summary: |
- debial build - downloader fails to follow redirects + debian build - downloader fails to follow redirects |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
Partial-Bug: https:/ /review. opendev. org/c/starlingx /root/+ /889438