<86>Dec 25 00:14:30 userdel[2380725]: delete user 'rooter' <86>Dec 25 00:14:30 userdel[2380725]: removed group 'rooter' owned by 'rooter' <86>Dec 25 00:14:30 userdel[2380725]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 00:14:30 groupadd[2380759]: group added to /etc/group: name=rooter, GID=1847 <86>Dec 25 00:14:30 groupadd[2380759]: group added to /etc/gshadow: name=rooter <86>Dec 25 00:14:30 groupadd[2380759]: new group: name=rooter, GID=1847 <86>Dec 25 00:14:30 useradd[2380789]: new user: name=rooter, UID=1847, GID=1847, home=/root, shell=/bin/bash, from=none <86>Dec 25 00:14:30 userdel[2380831]: delete user 'builder' <86>Dec 25 00:14:30 userdel[2380831]: removed group 'builder' owned by 'builder' <86>Dec 25 00:14:30 userdel[2380831]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 00:14:30 groupadd[2380868]: group added to /etc/group: name=builder, GID=1848 <86>Dec 25 00:14:30 groupadd[2380868]: group added to /etc/gshadow: name=builder <86>Dec 25 00:14:30 groupadd[2380868]: new group: name=builder, GID=1848 <86>Dec 25 00:14:30 useradd[2380900]: new user: name=builder, UID=1848, GID=1848, home=/usr/src, shell=/bin/bash, from=none Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/grep-warnings-1-alt1.nosrc.rpm (w1.gzdio) Installing grep-warnings-1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.55642 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf grep-warnings-1-tests + echo 'Source #1 (grep-warnings-1-tests.tar):' Source #1 (grep-warnings-1-tests.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/grep-warnings-1-tests.tar + cd grep-warnings-1-tests + /bin/chmod -c -Rf u+rwX,go-w . + sed -re '/warning: header field '\''Language'\'' still has the initial default value/ d' -i hsh-apt.e2kv4/hsh.log.0 hsh-apt.e2kv4/hsh.log.1 hsh-apt.x86_64/hsh.log.0 hsh-apt.x86_64/hsh.log.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.55642 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/grep-warnings-buildroot + : + /bin/rm -rf -- /usr/src/tmp/grep-warnings-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd grep-warnings-1-tests + install -pm0755 -D /usr/src/RPM/SOURCES/grep-warnings -T /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/grep-warnings-buildroot (auto) Verifying and fixing files in /usr/src/tmp/grep-warnings-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/grep-warnings-buildroot/ (default) Compressing files in /usr/src/tmp/grep-warnings-buildroot (auto) Verifying ELF objects in /usr/src/tmp/grep-warnings-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/grep-warnings-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.80043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd grep-warnings-1-tests + GREP_WARNINGS=/usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + ./test.sh + set -o pipefail + : /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings ++ realpath -- ./test.sh + MY=/usr/src/RPM/BUILD/grep-warnings-1-tests/test.sh ++ dirname /usr/src/RPM/BUILD/grep-warnings-1-tests/test.sh + MY=/usr/src/RPM/BUILD/grep-warnings-1-tests + readonly MY + echo 'Check that wrong usage is detected' Check that wrong usage is detected + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings FILE Usage: /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings [--rpmb (p|c|i|STAGE)] + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb x Unknown stage given for --rpmb: x Usage: /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings [--rpmb (p|c|i|STAGE)] + echo 'Check that it processes an empty file without errors' Check that it processes an empty file without errors + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb build + echo 'Check that it processes a non-empty file (with some warnings) without errors' Check that it processes a non-empty file (with some warnings) without errors + for f in "$MY"/*/hsh.log.* + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + wc -l 1009 + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + wc -l 981 + for f in "$MY"/*/hsh.log.* + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + wc -l 1033 + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + wc -l 981 + for f in "$MY"/*/hsh.log.* + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + wc -l 481 + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + wc -l 465 + for f in "$MY"/*/hsh.log.* + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + wc -l 481 + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + wc -l 465 + echo 'Check that there is no diff for x86_64 logs' Check that there is no diff for x86_64 logs + diff /dev/fd/63 /dev/fd/62 ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort + echo 'Check that there is no diff for e2kv4 logs' Check that there is no diff for e2kv4 logs + diff /dev/fd/63 /dev/fd/62 ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort + echo 'Check that there is a diff for x86_64 logs after we append smth to one of them' Check that there is a diff for x86_64 logs after we append smth to one of them + diff -q /dev/fd/63 /dev/fd/62 ++ sed -re '/warning/ s/$/ foo/' ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort ++ sort Files /dev/fd/63 and /dev/fd/62 differ + echo 'Check that there is a diff for e2kv4 logs after we append smth to one of them' Check that there is a diff for e2kv4 logs after we append smth to one of them + diff -q /dev/fd/63 /dev/fd/62 ++ sed -re '/предупреждение/ s/$/ foo/' ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ sort Files /dev/fd/63 and /dev/fd/62 differ + echo 'Check that there is no diff for x86_64 whole logs' Check that there is no diff for x86_64 whole logs + diff /dev/fd/63 /dev/fd/62 ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings ++ sort + exit 0 Processing files: grep-warnings-1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0E6B2b find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WhXCU9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cat sed Requires: /bin/sh, coreutils, sed Wrote: /usr/src/RPM/RPMS/noarch/grep-warnings-1-alt1.noarch.rpm (w2.lzdio) 0.22user 0.65system 0:02.38elapsed 36%CPU (0avgtext+0avgdata 7796maxresident)k 0inputs+0outputs (0major+105157minor)pagefaults 0swaps 3.75user 2.14system 0:10.81elapsed 54%CPU (0avgtext+0avgdata 130304maxresident)k 0inputs+0outputs (0major+141385minor)pagefaults 0swaps