<86>Dec 4 16:49:43 userdel[405745]: delete user 'rooter' <86>Dec 4 16:49:43 groupadd[405764]: group added to /etc/group: name=rooter, GID=687 <86>Dec 4 16:49:43 groupadd[405764]: group added to /etc/gshadow: name=rooter <86>Dec 4 16:49:43 groupadd[405764]: new group: name=rooter, GID=687 <86>Dec 4 16:49:43 useradd[405782]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Dec 4 16:49:43 userdel[405815]: delete user 'builder' <86>Dec 4 16:49:43 userdel[405815]: removed group 'builder' owned by 'builder' <86>Dec 4 16:49:43 userdel[405815]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 16:49:43 groupadd[405851]: group added to /etc/group: name=builder, GID=688 <86>Dec 4 16:49:43 groupadd[405851]: new group: name=builder, GID=688 <86>Dec 4 16:49:43 useradd[405865]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/grep-warnings-1-alt1.nosrc.rpm 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.11087 + 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.11087 + 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 + 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) 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) Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.11087 + 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 + wc -l + /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c 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 ++ sort ++ /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 + 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 ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c + 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 ++ 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 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/' ++ sort ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings --rpmb c 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 ++ sort ++ /usr/src/tmp/grep-warnings-buildroot/usr/bin/grep-warnings + 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.RDF7EW find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ADtwCU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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 1.50user 0.35system 0:03.40elapsed 54%CPU (0avgtext+0avgdata 10712maxresident)k 0inputs+0outputs (0major+104470minor)pagefaults 0swaps 5.56user 2.35system 0:20.58elapsed 38%CPU (0avgtext+0avgdata 103160maxresident)k 0inputs+0outputs (0major+301336minor)pagefaults 0swaps