#9459 Provide installed_pkgs.log for builds
Closed: It's all good 3 years ago by orion. Opened 3 years ago by orion.

  • Describe the issue

When I run mock locally i get an installed_pkg.log file. It would be nice to be able to have access to this in koji to compare local and koji builds.

  • When do you need this? (YYYY/MM/DD)

As soon as convenient.

  • When is this no longer needed or useful? (YYYY/MM/DD)

I think it will always be useful.

  • If we cannot complete your request, what is the impact?

Often builds fail locally but succeed in koji or vice-versa due to differences in package sets and it is currently quite hard to compare this information due to differences in root.log output.


Interestingly we have this plugin enabled, but it writes it's output into root.log instead of a seperate file. Will need investigating to see why that is the case.

Often builds fail locally but succeed in koji or vice-versa due to differences in package sets and it is currently quite hard to compare this information due to differences in root.log output.

:100:

Note that it is very trivial to get this information from koji.

https://koji.fedoraproject.org/koji/taskinfo?taskID=44606534

for example, taking buildroot of the task:

❯ koji list-buildroot 20764635
alternatives-1.11-6.fc32.armv7hl
annobin-9.21-1.fc33.armv7hl
audit-libs-3.0-0.19.20191104git1c2f876.fc33.armv7hl
autoconf-2.69-33.fc33.noarch
automake-1.16.2-1.fc33.noarch
basesystem-11-9.fc32.noarch
bash-5.0.11-2.fc32.armv7hl
binutils-2.34-4.fc33.armv7hl
binutils-gold-2.34-4.fc33.armv7hl
bzip2-1.0.8-2.fc32.armv7hl
bzip2-libs-1.0.8-2.fc32.armv7hl
ca-certificates-2020.2.40-3.fc32.noarch
coreutils-8.32-6.fc33.armv7hl
coreutils-common-8.32-6.fc33.armv7hl
cpio-2.13-5.fc33.armv7hl
cpp-10.1.1-1.fc33.armv7hl
cracklib-2.9.6-22.fc32.armv7hl
crypto-policies-20200312-1.git3ae59d2.fc33.noarch
curl-7.70.0-1.fc33.armv7hl
cyrus-sasl-lib-2.1.27-5.fc33.armv7hl
diffutils-3.7-4.fc32.armv7hl
dwz-0.13-2.fc32.armv7hl
efi-srpm-macros-4-4.fc32.noarch
elfutils-0.179-2.fc33.armv7hl
elfutils-default-yama-scope-0.179-2.fc33.noarch
elfutils-libelf-0.179-2.fc33.armv7hl
elfutils-libs-0.179-2.fc33.armv7hl
emacs-filesystem-26.3-3.fc33.noarch
expat-2.2.8-2.fc32.armv7hl
fedora-gpg-keys-33-0.5.noarch
fedora-release-33-0.8.noarch
fedora-release-common-33-0.8.noarch
fedora-release-identity-basic-33-0.8.noarch
fedora-repos-33-0.5.noarch
fedora-repos-rawhide-33-0.5.noarch
file-5.38-3.fc33.armv7hl
file-libs-5.38-3.fc33.armv7hl
filesystem-3.14-2.fc32.armv7hl
findutils-4.7.0-4.fc33.armv7hl
fonts-srpm-macros-3.0.3-1.fc33.noarch
fpc-srpm-macros-1.3-1.fc32.noarch
gawk-5.0.1-7.fc32.armv7hl
gc-8.0.4-3.fc32.armv7hl
gcc-10.1.1-1.fc33.armv7hl
gdb-minimal-9.1-6.fc33.armv7hl
gdbm-libs-1.18.1-3.fc32.armv7hl
ghc-srpm-macros-1.5.0-2.fc32.noarch
glib2-2.64.2-2.fc33.armv7hl
glibc-2.31.9000-13.fc33.armv7hl
glibc-common-2.31.9000-13.fc33.armv7hl
glibc-devel-2.31.9000-13.fc33.armv7hl
glibc-minimal-langpack-2.31.9000-13.fc33.armv7hl
gmp-6.2.0-1.fc33.armv7hl
gnat-srpm-macros-4-11.fc32.noarch
go-srpm-macros-3.0.8-5.fc32.noarch
grep-3.4-1.fc33.armv7hl
groff-base-1.22.4-1.fc33.armv7hl
guile22-2.2.6-4.fc32.armv7hl
gzip-1.10-2.fc32.armv7hl
info-6.7-7.fc33.armv7hl
isl-0.16.1-10.fc32.armv7hl
kernel-headers-5.7.0-0.rc5.git0.1.fc33.armv7hl
keyutils-libs-1.6-4.fc32.armv7hl
krb5-libs-1.18.1-4.fc33.armv7hl
libacl-2.2.53-5.fc32.armv7hl
libarchive-3.4.2-1.fc33.armv7hl
libasan-10.1.1-1.fc33.armv7hl
libatomic-10.1.1-1.fc33.armv7hl
libattr-2.4.48-8.fc32.armv7hl
libblkid-2.35.1-9.fc33.armv7hl
libbrotli-1.0.7-10.fc32.armv7hl
libcap-2.26-7.fc32.armv7hl
libcap-ng-0.7.10-2.fc32.armv7hl
libcom_err-1.45.6-2.fc33.armv7hl
libcurl-7.70.0-1.fc33.armv7hl
libdb-5.3.28-40.fc32.armv7hl
libfdisk-2.35.1-9.fc33.armv7hl
libffi-3.1-25.fc33.armv7hl
libgcc-10.1.1-1.fc33.armv7hl
libgcrypt-1.8.5-6.fc33.armv7hl
libgomp-10.1.1-1.fc33.armv7hl
libgpg-error-1.37-1.fc33.armv7hl
libidn2-2.3.0-2.fc32.armv7hl
libmetalink-0.1.3-10.fc32.armv7hl
libmount-2.35.1-9.fc33.armv7hl
libmpc-1.1.0-8.fc32.armv7hl
libnghttp2-1.40.0-2.fc32.armv7hl
libnsl2-1.2.0-6.20180605git4a062cf.fc32.armv7hl
libpkgconf-1.6.3-3.fc32.armv7hl
libpsl-0.21.0-4.fc32.armv7hl
libpwquality-1.4.2-2.fc32.armv7hl
libselinux-3.0-4.fc33.armv7hl
libsemanage-3.0-3.fc32.armv7hl
libsepol-3.0-3.fc32.armv7hl
libsigsegv-2.11-10.fc32.armv7hl
libsmartcols-2.35.1-9.fc33.armv7hl
libssh-0.9.4-2.fc33.armv7hl
libssh-config-0.9.4-2.fc33.noarch
libstdc++-10.1.1-1.fc33.armv7hl
libtasn1-4.16.0-1.fc32.armv7hl
libtirpc-1.2.6-0.fc33.armv7hl
libtool-2.4.6-34.fc33.armv7hl
libtool-ltdl-2.4.6-34.fc33.armv7hl
libubsan-10.1.1-1.fc33.armv7hl
libunistring-0.9.10-7.fc32.armv7hl
libutempter-1.1.6-18.fc32.armv7hl
libuuid-2.35.1-9.fc33.armv7hl
libverto-0.3.0-9.fc32.armv7hl
libxcrypt-4.4.16-3.fc33.armv7hl
libxcrypt-devel-4.4.16-3.fc33.armv7hl
libxml2-2.9.10-4.fc33.armv7hl
libzstd-1.4.4-2.fc32.armv7hl
lua-libs-5.3.5-7.fc32.armv7hl
lz4-libs-1.9.1-2.fc32.armv7hl
m4-1.4.18-12.fc32.armv7hl
make-4.3-1.fc33.armv7hl
mingw-binutils-generic-2.32-7.fc32.armv7hl
mingw-filesystem-base-111-1.fc33.noarch
mingw32-binutils-2.32-7.fc32.armv7hl
mingw32-bzip2-1.0.8-2.fc32.noarch
mingw32-cpp-9.2.1-6.fc32.armv7hl
mingw32-crt-6.0.0-4.fc32.noarch
mingw32-expat-2.2.8-1.fc32.noarch
mingw32-filesystem-111-1.fc33.noarch
mingw32-gcc-9.2.1-6.fc32.armv7hl
mingw32-gcc-c++-9.2.1-6.fc32.armv7hl
mingw32-headers-6.0.0-3.fc32.noarch
mingw32-libffi-3.1-9.fc33.noarch
mingw32-openssl-1.1.1c-2.fc32.noarch
mingw32-pkg-config-0.28-14.fc32.armv7hl
mingw32-readline-8.0-2.fc32.noarch
mingw32-sqlite-3.31.1.0-2.fc32.noarch
mingw32-tcl-8.6.8-5.fc32.noarch
mingw32-termcap-1.3.1-26.fc32.noarch
mingw32-tk-8.6.8-7.fc32.noarch
mingw32-winpthreads-6.0.0-3.fc32.noarch
mingw32-zlib-1.2.11-2.fc32.noarch
mingw64-binutils-2.32-7.fc32.armv7hl
mingw64-bzip2-1.0.8-2.fc32.noarch
mingw64-cpp-9.2.1-6.fc32.armv7hl
mingw64-crt-6.0.0-4.fc32.noarch
mingw64-expat-2.2.8-1.fc32.noarch
mingw64-filesystem-111-1.fc33.noarch
mingw64-gcc-9.2.1-6.fc32.armv7hl
mingw64-gcc-c++-9.2.1-6.fc32.armv7hl
mingw64-headers-6.0.0-3.fc32.noarch
mingw64-libffi-3.1-9.fc33.noarch
mingw64-openssl-1.1.1c-2.fc32.noarch
mingw64-pkg-config-0.28-14.fc32.armv7hl
mingw64-readline-8.0-2.fc32.noarch
mingw64-sqlite-3.31.1.0-2.fc32.noarch
mingw64-tcl-8.6.8-5.fc32.noarch
mingw64-termcap-1.3.1-26.fc32.noarch
mingw64-tk-8.6.8-7.fc32.noarch
mingw64-winpthreads-6.0.0-3.fc32.noarch
mingw64-zlib-1.2.11-2.fc32.noarch
mpfr-4.0.2-4.fc33.armv7hl
ncurses-6.2-1.20200222.fc33.armv7hl
ncurses-base-6.2-1.20200222.fc33.noarch
ncurses-libs-6.2-1.20200222.fc33.armv7hl
nim-srpm-macros-3-2.fc32.noarch
ocaml-srpm-macros-6-2.fc32.noarch
openblas-srpm-macros-2-7.fc32.noarch
openldap-2.4.47-4.fc32.armv7hl
openssl-libs-1.1.1g-2.fc33.armv7hl
p11-kit-0.23.20-1.fc32.armv7hl
p11-kit-trust-0.23.20-1.fc32.armv7hl
pam-1.3.1-26.fc33.armv7hl
patch-2.7.6-12.fc32.armv7hl
pcre-8.44-1.fc33.armv7hl
pcre2-10.35-1.fc33.armv7hl
pcre2-syntax-10.35-1.fc33.noarch
perl-B-1.76-453.fc33.armv7hl
perl-Carp-1.50-440.fc32.noarch
perl-Class-Struct-0.65-453.fc33.noarch
perl-Data-Dumper-2.174-443.fc32.armv7hl
perl-DynaLoader-1.45-453.fc33.armv7hl
perl-Encode-3.06-445.fc33.armv7hl
perl-Errno-1.30-453.fc33.armv7hl
perl-Exporter-5.74-2.fc32.noarch
perl-Fcntl-1.13-453.fc33.armv7hl
perl-File-Basename-2.85-453.fc33.noarch
perl-File-Compare-1.100.600-453.fc33.noarch
perl-File-Copy-2.34-453.fc33.noarch
perl-File-Find-1.36-453.fc33.noarch
perl-File-Path-2.16-440.fc32.noarch
perl-File-Temp-0.230.900-440.fc32.noarch
perl-File-stat-1.08-453.fc33.noarch
perl-Getopt-Long-2.51-2.fc32.noarch
perl-Getopt-Std-1.12-453.fc33.noarch
perl-HTTP-Tiny-0.076-440.fc32.noarch
perl-IO-1.40-453.fc33.armv7hl
perl-IPC-Open3-1.20-453.fc33.noarch
perl-MIME-Base64-3.15-440.fc32.armv7hl
perl-POSIX-1.88-453.fc33.armv7hl
perl-PathTools-3.78-441.fc32.armv7hl
perl-Pod-Escapes-1.07-440.fc32.noarch
perl-Pod-Perldoc-3.28.01-444.fc33.noarch
perl-Pod-Simple-3.40-2.fc32.noarch
perl-Pod-Usage-1.70-1.fc33.noarch
perl-Scalar-List-Utils-1.55-441.fc33.armv7hl
perl-SelectSaver-1.02-453.fc33.noarch
perl-Socket-2.029-5.fc32.armv7hl
perl-Storable-3.15-443.fc32.armv7hl
perl-Symbol-1.08-453.fc33.noarch
perl-Term-ANSIColor-5.01-2.fc32.noarch
perl-Term-Cap-1.17-440.fc32.noarch
perl-Text-ParseWords-3.30-440.fc32.noarch
perl-Text-Tabs+Wrap-2013.0523-440.fc32.noarch
perl-Thread-Queue-3.13-440.fc32.noarch
perl-Time-Local-1.300-2.fc32.noarch
perl-constant-1.33-441.fc32.noarch
perl-if-0.60.800-453.fc33.noarch
perl-interpreter-5.30.2-453.fc33.armv7hl
perl-libs-5.30.2-453.fc33.armv7hl
perl-macros-5.30.2-453.fc33.noarch
perl-mro-1.22-453.fc33.armv7hl
perl-overload-1.30-453.fc33.noarch
perl-overloading-0.02-453.fc33.noarch
perl-parent-0.238-1.fc32.noarch
perl-podlators-4.14-2.fc32.noarch
perl-srpm-macros-1-34.fc32.noarch
perl-subs-1.03-453.fc33.noarch
perl-threads-2.22-442.fc32.armv7hl
perl-threads-shared-1.60-441.fc32.armv7hl
perl-vars-1.05-453.fc33.noarch
pkgconf-1.6.3-3.fc32.armv7hl
pkgconf-m4-1.6.3-3.fc32.noarch
pkgconf-pkg-config-1.6.3-3.fc32.armv7hl
popt-1.16-19.fc32.armv7hl
publicsuffix-list-dafsa-20190417-3.fc32.noarch
python-pip-wheel-20.0.2-4.fc33.noarch
python-rpm-macros-3.8-7.fc33.noarch
python-setuptools-wheel-46.2.0-1.fc33.noarch
python-srpm-macros-3.8-7.fc33.noarch
python3-3.8.3-1.fc33.armv7hl
python3-devel-3.8.3-1.fc33.armv7hl
python3-libs-3.8.3-1.fc33.armv7hl
python3-rpm-generators-11-6.fc33.noarch
python3-rpm-macros-3.8-7.fc33.noarch
python3-setuptools-46.2.0-1.fc33.noarch
qt5-srpm-macros-5.14.2-3.fc33.noarch
readline-8.0-4.fc32.armv7hl
redhat-rpm-config-154-1.fc33.noarch
rpm-4.15.90-0.git14971.12.fc33.armv7hl
rpm-build-4.15.90-0.git14971.12.fc33.armv7hl
rpm-build-libs-4.15.90-0.git14971.12.fc33.armv7hl
rpm-libs-4.15.90-0.git14971.12.fc33.armv7hl
rust-srpm-macros-14-1.fc33.noarch
sed-4.8-1.fc33.armv7hl
setup-2.13.6-2.fc32.noarch
shadow-utils-4.8.1-3.fc33.armv7hl
sqlite-libs-3.31.1-1.fc33.armv7hl
systemd-libs-245.5-2.fc33.armv7hl
tar-1.32-4.fc32.armv7hl
tzdata-2020a-1.fc33.noarch
unzip-6.0-47.fc32.armv7hl
util-linux-2.35.1-9.fc33.armv7hl
which-2.21-19.fc33.armv7hl
xxhash-libs-0.7.3-1.fc33.armv7hl
xz-5.2.5-1.fc33.armv7hl
xz-libs-5.2.5-1.fc33.armv7hl
zip-3.0-26.fc32.armv7hl
zlib-1.2.11-21.fc32.armv7hl
zstd-1.4.4-2.fc32.armv7hl

Metadata Update from @mohanboddu:
- Issue tagged with: meeting

3 years ago

From RelEng meeting today:

#info It needs some investigation, we will take a look at it when we get a chance, probably next week.

Note that it is very trivial to get this information from koji.
https://koji.fedoraproject.org/koji/taskinfo?taskID=44606534

Thanks, that's helpful.

@ignatenkobrain Does that work on failed builds?

$ koji list-buildroot 45596245

Gives me nothing.

@churchyard https://koji.fedoraproject.org/koji/taskinfo?taskID=45596245 is the task, you need buildroot ID which is https://koji.fedoraproject.org/koji/buildrootinfo?buildrootID=21053518

koji list-buildroot 21053518 shows all packages :) Though it is quite slow because of some bug in Koji that is either already fixed in .1 release or there is a pending PR for it.

@churchyard https://koji.fedoraproject.org/koji/taskinfo?taskID=45596245 is the task, you need buildroot ID which is https://koji.fedoraproject.org/koji/buildrootinfo?buildrootID=21053518
koji list-buildroot 21053518 shows all packages :) Though it is quite slow because of some bug in Koji that is either already fixed in .1 release or there is a pending PR for it.

@orion Does this option work for you or you need pkgs.log? If it doesn't work, we need to work with koji folks to fix this issue.

I'm pretty sure this would work for me.

Metadata Update from @orion:
- Issue close_status updated to: It's all good
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata