distributedcloud: build error

Bug #2043479 reported by Davlet Panech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Davlet Panech

Bug Description

Brief Description
-----------------
Build fails in "downloader", caused by the invalid URL in meta_data.xml in python3-redfish package: https://review.opendev.org/c/starlingx/distcloud/+/897488/23/python/python3-redfish/debian/meta_data.yaml#7 .

The URL contains newlines.

Severity
--------
Major

Steps to Reproduce
------------------
Run downloader

Expected Behavior
------------------
Downloader succeeds

Actual Behavior
----------------
Downloader fails on redfish-3.2.1.tar.gz

Reproducibility
---------------
Seen once

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
Master/2023-11-13

Last Pass
---------
N/A

Timestamp/Logs
--------------
19:38:14 2023-11-14 00:38:14,782 - debrepack - INFO: === Package Path: /localdisk/designer/jenkins/wrcp-master-debian/cgcs-root/stx/distributedcloud/python/python3-redfish
19:38:14 2023-11-14 00:38:14,784 - debrepack - INFO: Download https://files.pythonhosted.org/packages/ea/04/ 0e08ec3ad8af6de811edc864c7f3c505e22af14a7da735c45c512dfe9e9c/ redfish-3.2.1.tar.gz
19:38:14 to redfish-3.2.1.tar.gz
19:38:14 2023-11-14 00:38:14,784 - debrepack - INFO: [ Run - "['curl', '--fail', '--location', '--connect-timeout', '15', '--speed-time', '15', '--speed-limit', '1', '--retry', '5', '-o', 'redfish-3.2.1.tar.gz', 'https://files.pythonhosted.org/packages/ea/04/ 0e08ec3ad8af6de811edc864c7f3c505e22af14a7da735c45c512dfe9e9c/ redfish-3.2.1.tar.gz\n']" ]
19:38:14 2023-11-14 00:38:14,804 - debrepack - DEBUG: stderr: curl: (3) URL using bad/illegal format or missing URL
19:38:14 2023-11-14 00:38:14,804 - debrepack - ERROR: [ Command failed with a non-zero return code: "['curl', '--fail', '--location', '--connect-timeout', '15', '--speed-time', '15', '--speed-limit', '1', '--retry', '5', '-o', 'redfish-3.2.1.tar.gz', 'https://files.pythonhosted.org/packages/ea/04/ 0e08ec3ad8af6de811edc864c7f3c505e22af14a7da735c45c512dfe9e9c/ redfish-3.2.1.tar.gz\n']" return code: 3 ]
19:38:14 2023-11-14 00:38:14,804 - downloader - ERROR: [ Command failed with a non-zero return code: "['curl', '--fail', '--location', '--connect-timeout', '15', '--speed-time', '15', '--speed-limit', '1', '--retry', '5', '-o', 'redfish-3.2.1.tar.gz', 'https://files.pythonhosted.org/packages/ea/04/ 0e08ec3ad8af6de811edc864c7f3c505e22af14a7da735c45c512dfe9e9c/ redfish-3.2.1.tar.gz\n']" return code: 3 ]
19:38:14 2023-11-14 00:38:14,804 - downloader - ERROR: Failed to download source with /localdisk/designer/jenkins/wrcp-master-debian/cgcs-root/stx/distributedcloud/python/python3-redfish
19:38:14 2023-11-14 00:38:14,807 - debrepack - INFO: === Package Name: python3-k8sapp-security-profiles-operator
19:38:14 2023-11-14 00:38:14,807 - debrepack - INFO: === Debian Package Name: python3-k8sapp-security-profiles-operator
19:38:14 2023-11-14 00:38:14,807 - debrepack - INFO: === Package Version: 1.0-1

Test Activity
-------------
N/A

Workaround
----------
N/A

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to distcloud (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/distcloud/+/900908

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to distcloud (master)

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/900908
Committed: https://opendev.org/starlingx/distcloud/commit/ada777567d92aed9fadcf32c35d59707fd0b71bf
Submitter: "Zuul (22348)"
Branch: master

commit ada777567d92aed9fadcf32c35d59707fd0b71bf
Author: Davlet Panech <email address hidden>
Date: Tue Nov 14 09:29:45 2023 -0500

    python3-redfish: fix URL spelling

    Redfish tarball URL contained newlines, causing downloader failures.
    Spell URL correctly to avoid this.

    TESTS
    =============================
    - Run downloader
    - Build python3-redfish

    Closes-Bug: 2043479
    Change-Id: I9fb25a04b95b84d30683fe5003c02a484611ffb6
    Signed-off-by: Davlet Panech <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.9.0 stx.build stx.distcloud
Changed in starlingx:
assignee: nobody → Davlet Panech (dpanech)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.