Brief Description
-----------------
Image "cadvisor" fails to compile causing Jenkins' daily build failures. The downloaded file's checksum doesn't match expectations (https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz). This was observed once and seems to have been caused by an HTTP download hiccup. Suggest to add a retry to Dockerfile.
Severity
--------
Major
Steps to Reproduce
------------------
Try to build cadvisor
Brief Description /sourceforge. net/projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz). This was observed once and seems to have been caused by an HTTP download hiccup. Suggest to add a retry to Dockerfile.
-----------------
Image "cadvisor" fails to compile causing Jenkins' daily build failures. The downloaded file's checksum doesn't match expectations (https:/
Severity
--------
Major
Steps to Reproduce
------------------
Try to build cadvisor
Expected Behavior
------------------
Build succeeds
Actual Behavior /sourceforge. net/projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz with a checksum error.
----------------
Build fails while downloading https:/
Reproducibility
---------------
Seen once
System Configuration ------- ------
-------
N/A
Branch/Pull Time/Commit ------- ------- --
-------
master/2023-09-06
Last Pass
---------
master/2023-09-05
Timestamp/Logs
--------------
From: https:/ /mirror. starlingx. cengn.ca/ mirror/ starlingx/ master/ debian/ monolithic/ 20230907T060000 Z/logs/ build-docker- images- stable. log.txt
[2023-09- 07T13:03: 35.297Z] Removing intermediate container 81f3437b49a7 07T13:03: 35.297Z] ---> d7915ebb9bdc 07T13:03: 35.297Z] Step 3/23 : RUN wget https:/ /sourceforge. net/projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz && echo "112bced9a67d56 5ff0ce6c2bb9045 2516d1183e5 libpfm- 4.11.0. tar.gz" | sha1sum -c && tar -xzf libpfm- 4.11.0. tar.gz && rm libpfm- 4.11.0. tar.gz 07T13:03: 35.297Z] ---> Running in cd08a9eb5ada 07T13:03: 35.297Z] --2023-09-07 13:03:34-- https:/ /sourceforge. net/projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz 07T13:03: 35.297Z] Resolving sourceforge.net (sourceforge. net)... 18.238.192.29, 18.238.192.76, 18.238.192.2, ... 07T13:03: 35.297Z] Connecting to sourceforge.net (sourceforge. net)|18. 238.192. 29|:443. .. connected. 07T13:03: 35.297Z] HTTP request sent, awaiting response... 302 Moved Temporarily 07T13:03: 35.297Z] Location: https:/ /sourceforge. net/#!/ projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz [following] 07T13:03: 35.297Z] --2023-09-07 13:03:35-- https:/ /sourceforge. net/ 07T13:03: 35.297Z] Reusing existing connection to sourceforge. net:443. 07T13:03: 35.297Z] HTTP request sent, awaiting response... 200 OK 07T13:03: 35.297Z] Length: 746 [text/html] 07T13:03: 35.297Z] Saving to: 'libpfm- 4.11.0. tar.gz' 07T13:03: 35.297Z] 07T13:03: 35.297Z] 0K 100% 242M=0s 07T13:03: 35.297Z] 07T13:03: 35.297Z] 2023-09-07 13:03:35 (242 MB/s) - 'libpfm- 4.11.0. tar.gz' saved [746/746] 07T13:03: 35.297Z] 07T13:03: 35.297Z] libpfm- 4.11.0. tar.gz: FAILED 07T13:03: 35.297Z] sha1sum: WARNING: 1 of 1 computed checksums did NOT match 07T13:03: 35.548Z] The command '/bin/sh -c wget https:/ /sourceforge. net/projects/ perfmon2/ files/libpfm4/ libpfm- 4.11.0. tar.gz && echo "112bced9a67d56 5ff0ce6c2bb9045 2516d1183e5 libpfm- 4.11.0. tar.gz" | sha1sum -c && tar -xzf libpfm- 4.11.0. tar.gz && rm libpfm- 4.11.0. tar.gz' returned a non-zero code: 1 07T13:03: 35.548Z] cadvisor image build done 07T13:03: 35.548Z] Error response from daemon: No such image: jenkins/ cadvisor: master- debian- stable- build 07T13:03: 35.548Z] Running: docker push starlingx/ cadvisor: master- debian- stable- 20230907T060000 Z.0 07T13:03: 35.798Z] An image does not exist locally with the tag: starlingx/cadvisor 07T13:03: 35.798Z] The push refers to repository [docker. io/starlingx/ cadvisor] 07T13:03: 35.798Z] Command (docker) failed, attempt 1 of 3.
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
[2023-09-
Test Activity
-------------
N/A
Workaround
----------
Try building again