centos_tarball-dl.lst fails to download e1000e-3.6.0.tar.gz

Bug #1945717 reported by JunyoungHwang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Unassigned

Bug Description

Brief Description
-----------------
https://github.com/starlingx/kernel/blob/r/stx.4.0/centos_tarball-dl.lst
https://github.com/starlingx/kernel/blob/r/stx.5.0/centos_tarball-dl.lst
https://github.com/starlingx/kernel/blob/master/centos_tarball-dl.lst

When building packages in stx.4.0, stx.5.0, and master, e1000e-3.6.0.tar.gz, which is required for package build, cannot be downloaded and the package build fails.

Severity
--------

<Critical: System/Feature is not usable due to the defect>

Steps to Reproduce / Logs
------------------
build-pkgs logs

12:51:12 Start: rpmbuild e1000e-kmod-3.6.0-0.tis.11.src.rpm
12:51:12 Start: Outputting list of installed packages
12:51:12 Finish: Outputting list of installed packages
12:51:12 ERROR: Exception(/localdisk/loadbuild/builder/ecobox/std/rpmbuild/SRPMS/e1000e-kmod-3.6.0-0.tis.11.src.rpm) Config(mock/b0) 0 minutes 3 seconds
12:51:12 INFO: Results and/or logs in: /localdisk/loadbuild/builder/ecobox/std/results/builder-ecobox-4.0.1-std/e1000e-kmod-3.6.0-0.tis.11
12:51:12 ERROR: Command failed:
12:51:12 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/e1000e-kmod.spec
12:51:12
12:51:12 ===== wait for last jobs in iteration 3 to complete =====
12:51:12 End build on 'b0': /localdisk/loadbuild/builder/ecobox/std/rpmbuild/SRPMS/e1000e-kmod-3.6.0-0.tis.11.src.rpm
12:51:12 Error building e1000e-kmod-3.6.0-0.tis.11.src.rpm on 'b0'.
12:51:12 Will try to build again (if some other package will succeed).
12:51:12 ===== iteration 3 complete =====
12:51:12 failed=['/localdisk/loadbuild/builder/ecobox/std/rpmbuild/SRPMS/e1000e-kmod-3.6.0-0.tis.11.src.rpm']
12:51:12 to_be_built=['/localdisk/loadbuild/builder/ecobox/std/rpmbuild/SRPMS/e1000e-kmod-3.6.0-0.tis.11.src.rpm']
12:51:12
12:51:12 *** Build Failed ***
12:51:12 Tried 3 times - following pkgs could not be successfully built:
12:51:12 *** Build Failed ***
12:51:12 /localdisk/loadbuild/builder/ecobox/std/rpmbuild/SRPMS/e1000e-kmod-3.6.0-0.tis.11.src.rpm
12:51:12
12:51:12

build.log
BUILDSTDERR: error: File /builddir/build/SOURCES/e1000e-3.6.0.tar.gz is smaller than 13 bytes
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k7TePw
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf e1000e-3.6.0
+ /usr/bin/tar -xof /builddir/build/SOURCES/e1000e-3.6.0.tar.gz
BUILDSTDERR: /usr/bin/tar: This does not look like a tar archive
BUILDSTDERR: gzip: stdin: unexpected end of file
BUILDSTDERR: /usr/bin/tar: Child returned status 1
BUILDSTDERR: /usr/bin/tar: Error is not recoverable: exiting now
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.k7TePw (%prep)
RPM build errors:
BUILDSTDERR: File /builddir/build/SOURCES/e1000e-3.6.0.tar.gz is smaller than 13 bytes
BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.k7TePw (%prep)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 736, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed:
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/e1000e-kmod.spec

Expected Behavior
------------------
Unable to build normally

Reproducibility
---------------
100% reproducible in stx.4.0, stx.5.0

System Configuration
--------------------
Build System

Branch/Pull Time/Commit
-----------------------
https://github.com/starlingx/kernel/blob/r/stx.4.0/centos_tarball-dl.lst
https://github.com/starlingx/kernel/blob/r/stx.5.0/centos_tarball-dl.lst
https://github.com/starlingx/kernel/blob/master/centos_tarball-dl.lst

Workaround
----------
Describe workaround if available

This problem occurs because the download address of e1000e-3.6.0.tar.gz in the centos_tarball-dl.lst file is changed.
The error address is below. Line 3 of centos_tarball-dl.lst file. https://sourceforge.net/projects/e1000/files/e1000e%20stable/3.6.0/e1000e-3.6.0.tar.gz If you connect to this address, an error occurs like the attached file (picture).
It occurs because the address of sourceforge.net serving e1000e-3.6.0.tar.gz changed on July 20, 2021.
The address to download e1000e-3.6.0.tar.gz correctly is as follows.
https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz

Sincerely, JunyoungHwang.

Revision history for this message
JunyoungHwang (juuns) wrote :
tags: added: stx.4.0
tags: added: stx.5
tags: added: stx.5.0 stx.build stx.kernel
removed: stx.5
JunyoungHwang (juuns)
description: updated
JunyoungHwang (juuns)
description: updated
Revision history for this message
JunyoungHwang (juuns) wrote :
Download full text (15.8 KiB)

+ for line in '$(cat $tarball_file)'
+ [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^# ]]
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f1-1
+ tarball_name=e1000e-3.6.0.tar.gz
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f2-2
+ directory_name=e1000e-3.6.0
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f3-3
+ tarball_url=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f4-4
+ method=http
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f5-5
+ util=
++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http##
++ cut -d# -f6-6
+ script=
+ tarball_name=e1000e-3.6.0.tar.gz
+ [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^pupp* ]]
+ download_path=./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz
+ download_directory=./output/stx/CentOS/downloads
+ '[' -e ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz ']'
+ [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^! ]]
+ '[' -e ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz ']'
+ '[' http == git ']'
+ for dl_src in '$dl_source'
+ case $dl_src in
++ url_to_stx_mirror_url https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz centos
++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
++ local DISTRO=centos
++ local URL_PATH=
++ local FS_PATH=
++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']'
++ '[' centos == '' ']'
+++ repo_url_to_sub_path https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
+++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
+++ local FAMILY=
+++ local SERVER=
+++ local URL_PATH=
+++ local FS_PATH=
+++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']'
+++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
+++ grep -q 'centos[.]org'
+++ grep -q 'fedoraproject[.]org[/]pub[/]epel'
+++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar....

Revision history for this message
JunyoungHwang (juuns) wrote :

Even if I change the address, the download fails.
It seems to fail because it takes about 1m5.094s?

time wget -q -t 5 --wait=15 https://sourceforge.net/projects/e1000/files/e1000e%20h
istoric%20archive/3.6.0/e1000e-3.6.0.tar.gz

real 1m5.094s
user 0m0.000s
sys 0m0.035s

Revision history for this message
JunyoungHwang (juuns) wrote :

-rw-r--r-- 1 builder cgts 0 Oct 1 02:23 e1000e-3.6.0.tar.gz

It creates a file with zero bytes, the package download says it already exists, and it doesn't download normally.

+ echo 'Already have ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz'
Already have ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz

Revision history for this message
JunyoungHwang (juuns) wrote :

It seems that the problem is not received normally because of the following.

wget -t 5 --wait=15 https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
--2021-10-01 02:36:58-- https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz
Resolving sourceforge.net (sourceforge.net)... 204.68.111.105
Connecting to sourceforge.net (sourceforge.net)|204.68.111.105|:443... connected.
ERROR: cannot verify sourceforge.net's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to sourceforge.net insecurely, use `--no-check-certificate'.

Revision history for this message
JunyoungHwang (juuns) wrote :

When the `--no-check-certificate' option is used, the download is normally performed from the changed address.

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.