<86>Jun 3 05:12:45 userdel[3838718]: delete user 'rooter' <86>Jun 3 05:12:45 userdel[3838718]: removed group 'rooter' owned by 'rooter' <86>Jun 3 05:12:45 userdel[3838718]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 3 05:12:45 groupadd[3838732]: group added to /etc/group: name=rooter, GID=1814 <86>Jun 3 05:12:45 groupadd[3838732]: group added to /etc/gshadow: name=rooter <86>Jun 3 05:12:45 groupadd[3838732]: new group: name=rooter, GID=1814 <86>Jun 3 05:12:45 useradd[3838744]: new user: name=rooter, UID=1814, GID=1814, home=/root, shell=/bin/bash, from=none <86>Jun 3 05:12:45 userdel[3838771]: delete user 'builder' <86>Jun 3 05:12:45 userdel[3838771]: removed group 'builder' owned by 'builder' <86>Jun 3 05:12:45 userdel[3838771]: removed shadow group 'builder' owned by 'builder' <86>Jun 3 05:12:45 groupadd[3838791]: group added to /etc/group: name=builder, GID=1815 <86>Jun 3 05:12:45 groupadd[3838791]: group added to /etc/gshadow: name=builder <86>Jun 3 05:12:45 groupadd[3838791]: new group: name=builder, GID=1815 <86>Jun 3 05:12:45 useradd[3838797]: new user: name=builder, UID=1815, GID=1815, home=/usr/src, shell=/bin/bash, from=none Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/grep-warnings-1-alt1.nosrc.rpm (w1.gzdio) Installing grep-warnings-1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10605 + 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.10605 + 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:/bin:/usr/bin:/usr/X11R6/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) Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.10605 + 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 ++ /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 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.oNckYX 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.MhLHQL 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.34user 0.32system 0:02.34elapsed 28%CPU (0avgtext+0avgdata 7912maxresident)k 0inputs+0outputs (0major+89692minor)pagefaults 0swaps 1.86user 0.95system 0:06.62elapsed 42%CPU (0avgtext+0avgdata 103976maxresident)k 0inputs+0outputs (0major+132405minor)pagefaults 0swaps