Comment 0 for bug 1945717

Revision history for this message
JunyoungHwang (juuns) wrote :

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.