[yast-commit] Build failed in Jenkins: yast-yast-journal-master #1
See <https://ci.suse.de/job/yast-yast-journal-master/1/display/redirect> ------------------------------------------ [...truncated 37.76 KB...] [ 9s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff (ldiff) in auto mode [ 9s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff-1.3 (ldiff-1.3) in auto mode [ 9s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff.ruby2.5 (ldiff.ruby2.5) in auto mode [ 9s] ruby2.5-rubygem-rspec-expectations-3.7######################################## [ 9s] ruby2.5-rubygem-rspec-mocks-3.7.0-1.24######################################## [ 9s] ruby2.5-rubygem-cheetah-0.5.0-1.28 ######################################## [ 9s] ruby2.5-rubygem-rspec-core-3.7.0-1.24 ######################################## [ 9s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec (rspec) in auto mode [ 9s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec-3.7.0 (rspec-3.7.0) in auto mode [ 9s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec.ruby2.5 (rspec.ruby2.5) in auto mode [ 9s] ruby-2.5-1.21 ######################################## [ 9s] ruby2.5-rubygem-fast_gettext-1.6.0-1.1######################################## [ 9s] yast2-ruby-bindings-4.1.4-1.1 ######################################## [ 9s] yast2-hardware-detection-4.1.0-2.1 ######################################## [ 9s] ruby2.5-rubygem-simpleidn-0.0.9-1.17 ######################################## [ 9s] ruby2.5-rubygem-packaging_rake_tasks-1######################################## [ 10s] ruby2.5-rubygem-ruby-augeas-0.5.0-1.31######################################## [ 10s] ruby2.5-rubygem-cfa-0.7.0-28.1 ######################################## [ 10s] yast2-4.1.66-1.1 ######################################## [ 10s] Updating /etc/sysconfig/yast2 ... [ 10s] ruby2.5-rubygem-yast-rake-0.2.33-2.1 ######################################## [ 10s] ruby2.5-rubygem-rspec-3.7.0-1.24 ######################################## [ 10s] update-desktop-files-84.87-1.16 ######################################## [ 10s] libyui-ncurses-tools-2.50.4-5.24 ######################################## [ 10s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 10s] now finalizing build dir... [ 11s] ----------------------------------------------------------------- [ 11s] I have the following modifications for yast2-journal.spec: [ 11s] 21c21 [ 11s] < Release: 0 [ 11s] --- [ 11s] > Release: 1 [ 11s] 74a75 [ 11s] > %changelog [ 11s] ----------------------------------------------------------------- [ 11s] ----- building yast2-journal.spec (user abuild) [ 11s] ----------------------------------------------------------------- [ 11s] ----------------------------------------------------------------- [ 11s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 11s] setting SOURCE_DATE_EPOCH=1559304000 [ 11s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gyWlhn [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + rm -rf yast2-journal-4.2.1 [ 11s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 11s] + /usr/bin/tar -xof - [ 11s] + STATUS=0 [ 11s] + '[' 0 -ne 0 ']' [ 11s] + cd yast2-journal-4.2.1 [ 11s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 11s] + exit 0 [ 11s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YwwFbp [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 11s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 11s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 11s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 11s] + cd yast2-journal-4.2.1 [ 11s] + exit 0 [ 11s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9gWE6q [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd yast2-journal-4.2.1 [ 11s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 11s] + '[' -f Rakefile ']' [ 11s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 11s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 11s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 11s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 11s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 11s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 11s] + '[' -d '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2]' [ 11s] /var/tmp/rpm-tmp.9gWE6q: line 53: [: missing `]' [ 11s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 11s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 11s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 11s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 11s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] + /usr/lib/rpm/brp-compress [ 11s] + /usr/lib/rpm/brp-suse [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 11s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 11s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 11s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 11s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 11s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 11s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sPj2Nu [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd yast2-journal-4.2.1 [ 11s] + libyui-terminal rake test:unit [ 11s] Using libyui-terminal to run "rake test:unit" [ 12s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 12s] [ 12s] Y2Journal::EntriesDialog [ 12s] #initialize [ 12s] can get optional query [ 12s] executes query [ 12s] #dialog_content [ 12s] returns Term [ 12s] #dialog_options [ 12s] returns Term [ 12s] #filter_handler [ 12s] reports an error when journalctl fails [ 12s] [ 12s] Y2Journal::Query [ 12s] #execute [ 12s] provides the right arguments to Entry.all [ 12s] #entries [ 12s] returns the result of last call to #execute [ 12s] returns an empty array if #execute has not being called yet [ 12s] #journalctl_options [ 12s] when both arguments are nil [ 12s] generates an empty hash [ 12s] when interval is a scalar [ 12s] passes the value directly to 'boot' [ 12s] when interval is an empty array [ 12s] generates an empty hash [ 12s] when interval is an array with one element [ 12s] passes the value to 'since' [ 12s] when interval is an array with two elements [ 12s] passes the values to 'since' and 'until' [ 12s] when interval is an array with more than two elements [ 12s] the surplus elements are ignored [ 12s] when interval is an empty hash [ 12s] generates an empty hash [ 12s] when interval is a hash with :until [ 12s] passes the value to 'until' [ 12s] when interval is a hash with :until and :since [ 12s] passes the values to 'until' and 'since' [ 12s] when interval is a hash with unrecognized keys [ 12s] ignores the invalid keys [ 12s] when filters include an invalid key [ 12s] raises an error [ 12s] when interval and filters are used [ 12s] includes the valid filters [ 12s] excludes the match key [ 12s] includes the processed interval [ 12s] #journalctl_matches [ 12s] with empty filters [ 12s] returns an empty array [ 12s] with non-empty filters [ 12s] returns the value of the 'match' filter as an array [ 12s] .boots [ 12s] returns an array of hashes [ 12s] returns a Hash per boot entry [ 12s] correctly maps every boot into three fields [ 12s] [ 12s] Y2Journal::Journalctl [ 12s] #output [ 12s] when journalctl works [ 12s] returns the command output [ 12s] when journalctl reports 'Failed to determine timestamp' [ 12s] returns an empty string [ 12s] when journalctl reports 'Failed to get realtime timestamp' [ 12s] returns an empty string [ 12s] when journalctl reports an unexpected error [ 12s] raises RuntimeError [ 12s] #command [ 12s] generation of journalctl matches [ 12s] adds the strings separated by space at the end of the command [ 12s] generation of journalctl options [ 12s] when receiving an option with a nil value [ 12s] includes the option without assigned value [ 12s] when receiving an option with a string value [ 12s] assigns the string [ 12s] when receiving an option with a numeric value [ 12s] assigns the value as a string [ 12s] when receiving an option with a time object [ 12s] assigns the formatted time [ 12s] when receiving an option with an array [ 12s] includes the option as many times as needed [ 12s] [ 12s] Y2Journal::QueryPresenter [ 12s] #entries [ 12s] returns an array of EntryPresenter objects [ 12s] delegates the fetching to its query [ 12s] #initialize [ 12s] redefines the Query default interval [ 12s] .intervals [ 12s] returns three options if there are enough boots [ 12s] returns only two options if there is only one boot [ 12s] [ 12s] Y2Journal::QueryDialog [ 12s] #match_value_handler [ 12s] terminate called after throwing an instance of 'YUIPluginException' [ 12s] what(): Couldn't load plug-in ncurses [ 12s] rake aborted! [ 12s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 12s] [ 12s] Tasks: TOP => test:unit [ 12s] (See full trace by running task with --trace) [ 12s] libyui-terminal finished [ 12s] error: Bad exit status from /var/tmp/rpm-tmp.sPj2Nu (%check) [ 12s] [ 12s] [ 12s] RPM build errors: [ 12s] Bad exit status from /var/tmp/rpm-tmp.sPj2Nu (%check) [ 12s] [ 12s] vm-yast-ci-worker2 failed "build yast2-journal.spec" at Fri Jun 21 08:08:04 UTC 2019. [ 12s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 8751 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #1](https://ci.suse.de/job/yast-yast-journal-master/1/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-yast-journal-master/2/display/redirect> ------------------------------------------ [...truncated 30.51 KB...] [ 3s] Preparing... ######################################## [ 3s] Updating / installing... [ 3s] ruby2.5-rubygem-rspec-support-3.7.0-1.######################################## [ 3s] ruby2.5-rubygem-diff-lcs-1.3-1.30 ######################################## [ 3s] update-alternatives: using /usr/bin/htmldiff.ruby2.5-1.3 to provide /usr/bin/htmldiff (htmldiff) in auto mode [ 3s] update-alternatives: using /usr/bin/htmldiff.ruby2.5-1.3 to provide /usr/bin/htmldiff-1.3 (htmldiff-1.3) in auto mode [ 3s] update-alternatives: using /usr/bin/htmldiff.ruby2.5-1.3 to provide /usr/bin/htmldiff.ruby2.5 (htmldiff.ruby2.5) in auto mode [ 3s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff (ldiff) in auto mode [ 3s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff-1.3 (ldiff-1.3) in auto mode [ 3s] update-alternatives: using /usr/bin/ldiff.ruby2.5-1.3 to provide /usr/bin/ldiff.ruby2.5 (ldiff.ruby2.5) in auto mode [ 3s] ruby2.5-rubygem-rspec-expectations-3.7######################################## [ 3s] ruby2.5-rubygem-rspec-mocks-3.7.0-1.24######################################## [ 3s] ruby2.5-rubygem-rspec-core-3.7.0-1.24 ######################################## [ 3s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec (rspec) in auto mode [ 3s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec-3.7.0 (rspec-3.7.0) in auto mode [ 3s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec.ruby2.5 (rspec.ruby2.5) in auto mode [ 3s] libyui9-3.4.2-4.24 ######################################## [ 3s] libyui-ncurses9-2.50.4-5.24 ######################################## [ 3s] screen-4.6.2-3.14 ######################################## [ 3s] Warning: running kernel does not support fscaps [ 3s] ruby2.5-rubygem-packaging_rake_tasks-1######################################## [ 3s] ruby2.5-rubygem-yast-rake-0.2.33-2.1 ######################################## [ 3s] libyui-ncurses-tools-2.51.0-1.1 ######################################## [ 3s] ruby2.5-rubygem-rspec-3.7.0-1.24 ######################################## [ 3s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 4s] now finalizing build dir... [ 4s] ----------------------------------------------------------------- [ 4s] I have the following modifications for yast2-journal.spec: [ 4s] 21c21 [ 4s] < Release: 0 [ 4s] --- [ 4s] > Release: 1 [ 4s] 74a75 [ 4s] > %changelog [ 4s] ----------------------------------------------------------------- [ 4s] ----- building yast2-journal.spec (user abuild) [ 4s] ----------------------------------------------------------------- [ 4s] ----------------------------------------------------------------- [ 5s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 5s] setting SOURCE_DATE_EPOCH=1559304000 [ 5s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z4encz [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + rm -rf yast2-journal-4.2.1 [ 5s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 5s] + /usr/bin/tar -xof - [ 5s] + STATUS=0 [ 5s] + '[' 0 -ne 0 ']' [ 5s] + cd yast2-journal-4.2.1 [ 5s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 5s] + exit 0 [ 5s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X4u6DP [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 5s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 5s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 5s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 5s] + cd yast2-journal-4.2.1 [ 5s] + exit 0 [ 5s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qaej75 [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + cd yast2-journal-4.2.1 [ 5s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 5s] + '[' -f Rakefile ']' [ 5s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 5s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 5s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 5s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 5s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 5s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 5s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 5s] + '[' -d '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2]' [ 5s] /var/tmp/rpm-tmp.qaej75: line 53: [: missing `]' [ 5s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 5s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 5s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 5s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 5s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] + /usr/lib/rpm/brp-compress [ 5s] + /usr/lib/rpm/brp-suse [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 5s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 5s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 6s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 6s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 6s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 6s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 6s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 6s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 6s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 6s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 6s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 6s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 6s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 6s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 6s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ikbieq [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + cd yast2-journal-4.2.1 [ 6s] + libyui-terminal rake test:unit [ 6s] Using libyui-terminal to run "rake test:unit" [ 7s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 7s] [ 7s] Y2Journal::EntriesDialog [ 7s] #initialize [ 7s] can get optional query [ 7s] executes query [ 7s] #dialog_content [ 7s] returns Term [ 7s] #dialog_options [ 7s] returns Term [ 7s] #filter_handler [ 7s] reports an error when journalctl fails [ 7s] [ 7s] Y2Journal::Query [ 7s] #execute [ 7s] provides the right arguments to Entry.all [ 7s] #entries [ 7s] returns the result of last call to #execute [ 7s] returns an empty array if #execute has not being called yet [ 7s] #journalctl_options [ 7s] when both arguments are nil [ 7s] generates an empty hash [ 7s] when interval is a scalar [ 7s] passes the value directly to 'boot' [ 7s] when interval is an empty array [ 7s] generates an empty hash [ 7s] when interval is an array with one element [ 7s] passes the value to 'since' [ 7s] when interval is an array with two elements [ 7s] passes the values to 'since' and 'until' [ 7s] when interval is an array with more than two elements [ 7s] the surplus elements are ignored [ 7s] when interval is an empty hash [ 7s] generates an empty hash [ 7s] when interval is a hash with :until [ 7s] passes the value to 'until' [ 7s] when interval is a hash with :until and :since [ 7s] passes the values to 'until' and 'since' [ 7s] when interval is a hash with unrecognized keys [ 7s] ignores the invalid keys [ 7s] when filters include an invalid key [ 7s] raises an error [ 7s] when interval and filters are used [ 7s] includes the valid filters [ 7s] excludes the match key [ 7s] includes the processed interval [ 7s] #journalctl_matches [ 7s] with empty filters [ 7s] returns an empty array [ 7s] with non-empty filters [ 7s] returns the value of the 'match' filter as an array [ 7s] .boots [ 7s] returns an array of hashes [ 7s] returns a Hash per boot entry [ 7s] correctly maps every boot into three fields [ 7s] [ 7s] Y2Journal::Journalctl [ 7s] #output [ 7s] when journalctl works [ 7s] returns the command output [ 7s] when journalctl reports 'Failed to determine timestamp' [ 7s] returns an empty string [ 7s] when journalctl reports 'Failed to get realtime timestamp' [ 7s] returns an empty string [ 7s] when journalctl reports an unexpected error [ 7s] raises RuntimeError [ 7s] #command [ 7s] generation of journalctl matches [ 7s] adds the strings separated by space at the end of the command [ 7s] generation of journalctl options [ 7s] when receiving an option with a nil value [ 7s] includes the option without assigned value [ 7s] when receiving an option with a string value [ 7s] assigns the string [ 7s] when receiving an option with a numeric value [ 7s] assigns the value as a string [ 7s] when receiving an option with a time object [ 7s] assigns the formatted time [ 7s] when receiving an option with an array [ 7s] includes the option as many times as needed [ 7s] [ 7s] Y2Journal::QueryPresenter [ 7s] #entries [ 7s] returns an array of EntryPresenter objects [ 7s] delegates the fetching to its query [ 7s] #initialize [ 7s] redefines the Query default interval [ 7s] .intervals [ 7s] returns three options if there are enough boots [ 7s] returns only two options if there is only one boot [ 7s] [ 7s] Y2Journal::QueryDialog [ 7s] #match_value_handler [ 7s] terminate called after throwing an instance of 'YUIPluginException' [ 7s] what(): Couldn't load plug-in ncurses [ 7s] rake aborted! [ 7s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 7s] [ 7s] Tasks: TOP => test:unit [ 7s] (See full trace by running task with --trace) [ 7s] libyui-terminal finished [ 7s] error: Bad exit status from /var/tmp/rpm-tmp.ikbieq (%check) [ 7s] [ 7s] [ 7s] RPM build errors: [ 7s] Bad exit status from /var/tmp/rpm-tmp.ikbieq (%check) [ 7s] [ 7s] yast-ci-worker-3 failed "build yast2-journal.spec" at Fri Jun 21 11:35:16 UTC 2019. [ 7s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 26772 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #2](https://ci.suse.de/job/yast-yast-journal-master/2/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-yast-journal-master/3/display/redirect> ------------------------------------------ [...truncated 40.66 KB...] [ 7s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec-3.7.0 (rspec-3.7.0) in auto mode [ 7s] update-alternatives: using /usr/bin/rspec.ruby2.5-3.7.0 to provide /usr/bin/rspec.ruby2.5 (rspec.ruby2.5) in auto mode [ 8s] yast2-pkg-bindings-4.2.0-1.2 ######################################## [ 8s] screen-4.6.2-3.14 ######################################## [ 8s] Warning: running kernel does not support fscaps [ 8s] ruby2.5-rubygem-cfa-1.0.0-29.2 ######################################## [ 8s] yast2-buildtools-4.2.3-1.2 ######################################## [ 8s] ruby2.5-rubygem-packaging_rake_tasks-1######################################## [ 8s] ruby2.5-rubygem-abstract_method-1.2.1-######################################## [ 8s] yast2-logs-4.2.10-1.1 ######################################## [ 8s] libyui10-3.5.0-3.1 ######################################## [ 8s] yast2-ycp-ui-bindings-4.1.0-3.2 ######################################## [ 8s] yast2-ruby-bindings-4.2.1-1.3 ######################################## [ 8s] yast2-hardware-detection-4.1.0-2.3 ######################################## [ 8s] yast2-perl-bindings-4.1.0-2.4 ######################################## [ 8s] libglib-2_0-0-2.54.3-4.15.1 ######################################## [ 8s] desktop-file-utils-0.23-2.17 ######################################## [ 8s] update-desktop-files-84.87-1.16 ######################################## [ 8s] yast2-4.2.10-1.1 ######################################## [ 8s] Updating /etc/sysconfig/yast2 ... [ 8s] ruby2.5-rubygem-yast-rake-0.2.33-2.2 ######################################## [ 8s] yast2-devtools-4.2.3-1.2 ######################################## [ 8s] libyui-ncurses-tools-2.51.0-1.2 ######################################## [ 8s] ruby2.5-rubygem-rspec-3.7.0-1.24 ######################################## [ 8s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 8s] now finalizing build dir... [ 9s] ----------------------------------------------------------------- [ 9s] I have the following modifications for yast2-journal.spec: [ 9s] 21c21 [ 9s] < Release: 0 [ 9s] --- [ 9s] > Release: 1 [ 9s] 74a75 [ 9s] > %changelog [ 9s] ----------------------------------------------------------------- [ 9s] ----- building yast2-journal.spec (user abuild) [ 9s] ----------------------------------------------------------------- [ 9s] ----------------------------------------------------------------- [ 9s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 9s] setting SOURCE_DATE_EPOCH=1559304000 [ 9s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nxvmua [ 9s] + umask 022 [ 9s] + cd /home/abuild/rpmbuild/BUILD [ 9s] + cd /home/abuild/rpmbuild/BUILD [ 9s] + rm -rf yast2-journal-4.2.1 [ 9s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 9s] + /usr/bin/tar -xof - [ 9s] + STATUS=0 [ 9s] + '[' 0 -ne 0 ']' [ 9s] + cd yast2-journal-4.2.1 [ 9s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 9s] + exit 0 [ 9s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yc6no4 [ 9s] + umask 022 [ 9s] + cd /home/abuild/rpmbuild/BUILD [ 9s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 9s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 9s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 9s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 9s] + cd yast2-journal-4.2.1 [ 9s] + exit 0 [ 9s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m8qdkY [ 9s] + umask 022 [ 9s] + cd /home/abuild/rpmbuild/BUILD [ 9s] + cd yast2-journal-4.2.1 [ 9s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 9s] + '[' -f Rakefile ']' [ 9s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 10s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 10s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 10s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 10s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 10s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 10s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 10s] + '[' -d '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2]' [ 10s] /var/tmp/rpm-tmp.m8qdkY: line 53: [: missing `]' [ 10s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 10s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 10s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 10s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 10s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 10s] + /usr/lib/rpm/brp-compress [ 10s] + /usr/lib/rpm/brp-suse [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 10s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 10s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 11s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 11s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 11s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 11s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 11s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 11s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BNZA7V [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd yast2-journal-4.2.1 [ 11s] + libyui-terminal rake test:unit [ 11s] Using libyui-terminal to run "rake test:unit" [ 11s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 11s] [ 11s] Y2Journal::EntriesDialog [ 11s] #initialize [ 11s] can get optional query [ 11s] executes query [ 11s] #dialog_content [ 11s] returns Term [ 11s] #dialog_options [ 11s] returns Term [ 11s] #filter_handler [ 11s] reports an error when journalctl fails [ 11s] [ 11s] Y2Journal::Query [ 11s] #execute [ 11s] provides the right arguments to Entry.all [ 11s] #entries [ 11s] returns the result of last call to #execute [ 11s] returns an empty array if #execute has not being called yet [ 11s] #journalctl_options [ 11s] when both arguments are nil [ 11s] generates an empty hash [ 11s] when interval is a scalar [ 11s] passes the value directly to 'boot' [ 11s] when interval is an empty array [ 11s] generates an empty hash [ 11s] when interval is an array with one element [ 11s] passes the value to 'since' [ 11s] when interval is an array with two elements [ 11s] passes the values to 'since' and 'until' [ 11s] when interval is an array with more than two elements [ 11s] the surplus elements are ignored [ 11s] when interval is an empty hash [ 11s] generates an empty hash [ 11s] when interval is a hash with :until [ 11s] passes the value to 'until' [ 11s] when interval is a hash with :until and :since [ 11s] passes the values to 'until' and 'since' [ 11s] when interval is a hash with unrecognized keys [ 11s] ignores the invalid keys [ 11s] when filters include an invalid key [ 11s] raises an error [ 11s] when interval and filters are used [ 11s] includes the valid filters [ 11s] excludes the match key [ 11s] includes the processed interval [ 11s] #journalctl_matches [ 11s] with empty filters [ 11s] returns an empty array [ 11s] with non-empty filters [ 11s] returns the value of the 'match' filter as an array [ 11s] .boots [ 11s] returns an array of hashes [ 11s] returns a Hash per boot entry [ 11s] correctly maps every boot into three fields [ 11s] [ 11s] Y2Journal::Journalctl [ 11s] #output [ 11s] when journalctl works [ 11s] returns the command output [ 11s] when journalctl reports 'Failed to determine timestamp' [ 11s] returns an empty string [ 11s] when journalctl reports 'Failed to get realtime timestamp' [ 11s] returns an empty string [ 11s] when journalctl reports an unexpected error [ 11s] raises RuntimeError [ 11s] #command [ 11s] generation of journalctl matches [ 11s] adds the strings separated by space at the end of the command [ 11s] generation of journalctl options [ 11s] when receiving an option with a nil value [ 11s] includes the option without assigned value [ 11s] when receiving an option with a string value [ 11s] assigns the string [ 11s] when receiving an option with a numeric value [ 11s] assigns the value as a string [ 11s] when receiving an option with a time object [ 11s] assigns the formatted time [ 11s] when receiving an option with an array [ 11s] includes the option as many times as needed [ 11s] [ 11s] Y2Journal::QueryPresenter [ 11s] #entries [ 11s] returns an array of EntryPresenter objects [ 11s] delegates the fetching to its query [ 11s] #initialize [ 11s] redefines the Query default interval [ 11s] .intervals [ 11s] returns three options if there are enough boots [ 11s] returns only two options if there is only one boot [ 11s] [ 11s] Y2Journal::QueryDialog [ 11s] #match_value_handler [ 11s] terminate called after throwing an instance of 'YUIPluginException' [ 11s] what(): Couldn't load plug-in ncurses [ 11s] rake aborted! [ 11s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 11s] [ 11s] Tasks: TOP => test:unit [ 11s] (See full trace by running task with --trace) [ 11s] libyui-terminal finished [ 12s] error: Bad exit status from /var/tmp/rpm-tmp.BNZA7V (%check) [ 12s] [ 12s] [ 12s] RPM build errors: [ 12s] Bad exit status from /var/tmp/rpm-tmp.BNZA7V (%check) [ 12s] [ 12s] yast-ci-worker-3 failed "build yast2-journal.spec" at Fri Jun 21 15:31:28 UTC 2019. [ 12s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 10161 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #3](https://ci.suse.de/job/yast-yast-journal-master/3/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-yast-journal-master/4/display/redirect> ------------------------------------------ [...truncated 28.29 KB...] [ 3s] [209/232] keeping sysuser-shadow-2.0-2.151 [ 3s] [210/232] keeping yast2-pkg-bindings-4.2.0-1.2 [ 3s] [211/232] keeping util-linux-systemd-2.33.1-2.14 [ 3s] [212/232] keeping sysconfig-netconfig-0.85.2-1.12 [ 3s] [213/232] keeping system-group-hardware-20170617-4.155 [ 3s] [214/232] keeping system-user-mail-20170617-4.155 [ 3s] [215/232] keeping system-user-nobody-20170617-4.155 [ 3s] [216/232] keeping yast2-4.2.10-1.1 [ 3s] [217/232] keeping libutempter0-1.1.6-3.42 [ 3s] [218/232] keeping postfix-3.3.1-5.7.1 [ 3s] [219/232] keeping libmilter1_0-8.15.2-8.3.1 [ 3s] [220/232] keeping screen-4.6.2-3.14 [ 3s] [221/232] keeping util-linux-2.33.1-2.28 [ 3s] [222/232] keeping libyui-ncurses-tools-2.51.0-1.2 [ 3s] [223/232] keeping ruby-common-2.1-3.15 [ 3s] [224/232] keeping aaa_base-84.87+git20180409.04c9dae-3.9.1 [ 3s] [225/232] keeping clamav-0.100.3-3.9.1 [ 3s] [226/232] keeping rpm-build-4.14.1-10.16.1 [ 3s] [227/232] keeping aaa_base-malloccheck-84.87+git20180409.04c9dae-3.9.1 [ 3s] [228/232] keeping clamav-database-201906170015-3.171.1 [ 3s] [229/232] keeping desktop-file-utils-0.23-2.17 [ 3s] [230/232] keeping post-build-checks-malwarescan-0.1-1.23 [ 3s] [231/232] keeping update-desktop-files-84.87-1.16 [ 3s] [232/232] keeping post-build-checks-84.88+git20181015.ceb5c96-3.4.1 [ 3s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 3s] now finalizing build dir... [ 3s] ----------------------------------------------------------------- [ 3s] I have the following modifications for yast2-journal.spec: [ 3s] 21c21 [ 3s] < Release: 0 [ 3s] --- [ 3s] > Release: 1 [ 3s] 74a75 [ 3s] > %changelog [ 3s] ----------------------------------------------------------------- [ 3s] ----- building yast2-journal.spec (user abuild) [ 3s] ----------------------------------------------------------------- [ 3s] ----------------------------------------------------------------- [ 4s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 4s] setting SOURCE_DATE_EPOCH=1559304000 [ 4s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GUDFtH [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + rm -rf yast2-journal-4.2.1 [ 4s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 4s] + /usr/bin/tar -xof - [ 4s] + STATUS=0 [ 4s] + '[' 0 -ne 0 ']' [ 4s] + cd yast2-journal-4.2.1 [ 4s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 4s] + exit 0 [ 4s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iJlCAY [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 4s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] + cd yast2-journal-4.2.1 [ 4s] + exit 0 [ 4s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.px2aJf [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd yast2-journal-4.2.1 [ 4s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 4s] + '[' -f Rakefile ']' [ 4s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 4s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 4s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 4s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 4s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 4s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 4s] + '[' -d '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2]' [ 4s] /var/tmp/rpm-tmp.px2aJf: line 53: [: missing `]' [ 4s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 4s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 4s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 4s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 4s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 4s] + /usr/lib/rpm/brp-compress [ 4s] + /usr/lib/rpm/brp-suse [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 4s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 4s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 5s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 5s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 5s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 5s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hXxMqA [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + cd yast2-journal-4.2.1 [ 5s] + libyui-terminal rake test:unit [ 5s] Using libyui-terminal to run "rake test:unit" [ 6s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 6s] [ 6s] Y2Journal::EntriesDialog [ 6s] #initialize [ 6s] can get optional query [ 6s] executes query [ 6s] #dialog_content [ 6s] returns Term [ 6s] #dialog_options [ 6s] returns Term [ 6s] #filter_handler [ 6s] reports an error when journalctl fails [ 6s] [ 6s] Y2Journal::Query [ 6s] #execute [ 6s] provides the right arguments to Entry.all [ 6s] #entries [ 6s] returns the result of last call to #execute [ 6s] returns an empty array if #execute has not being called yet [ 6s] #journalctl_options [ 6s] when both arguments are nil [ 6s] generates an empty hash [ 6s] when interval is a scalar [ 6s] passes the value directly to 'boot' [ 6s] when interval is an empty array [ 6s] generates an empty hash [ 6s] when interval is an array with one element [ 6s] passes the value to 'since' [ 6s] when interval is an array with two elements [ 6s] passes the values to 'since' and 'until' [ 6s] when interval is an array with more than two elements [ 6s] the surplus elements are ignored [ 6s] when interval is an empty hash [ 6s] generates an empty hash [ 6s] when interval is a hash with :until [ 6s] passes the value to 'until' [ 6s] when interval is a hash with :until and :since [ 6s] passes the values to 'until' and 'since' [ 6s] when interval is a hash with unrecognized keys [ 6s] ignores the invalid keys [ 6s] when filters include an invalid key [ 6s] raises an error [ 6s] when interval and filters are used [ 6s] includes the valid filters [ 6s] excludes the match key [ 6s] includes the processed interval [ 6s] #journalctl_matches [ 6s] with empty filters [ 6s] returns an empty array [ 6s] with non-empty filters [ 6s] returns the value of the 'match' filter as an array [ 6s] .boots [ 6s] returns an array of hashes [ 6s] returns a Hash per boot entry [ 6s] correctly maps every boot into three fields [ 6s] [ 6s] Y2Journal::Journalctl [ 6s] #output [ 6s] when journalctl works [ 6s] returns the command output [ 6s] when journalctl reports 'Failed to determine timestamp' [ 6s] returns an empty string [ 6s] when journalctl reports 'Failed to get realtime timestamp' [ 6s] returns an empty string [ 6s] when journalctl reports an unexpected error [ 6s] raises RuntimeError [ 6s] #command [ 6s] generation of journalctl matches [ 6s] adds the strings separated by space at the end of the command [ 6s] generation of journalctl options [ 6s] when receiving an option with a nil value [ 6s] includes the option without assigned value [ 6s] when receiving an option with a string value [ 6s] assigns the string [ 6s] when receiving an option with a numeric value [ 6s] assigns the value as a string [ 6s] when receiving an option with a time object [ 6s] assigns the formatted time [ 6s] when receiving an option with an array [ 6s] includes the option as many times as needed [ 6s] [ 6s] Y2Journal::QueryPresenter [ 6s] #entries [ 6s] returns an array of EntryPresenter objects [ 6s] delegates the fetching to its query [ 6s] #initialize [ 6s] redefines the Query default interval [ 6s] .intervals [ 6s] returns three options if there are enough boots [ 6s] returns only two options if there is only one boot [ 6s] [ 6s] Y2Journal::QueryDialog [ 6s] #match_value_handler [ 6s] terminate called after throwing an instance of 'YUIPluginException' [ 6s] what(): Couldn't load plug-in ncurses [ 6s] rake aborted! [ 6s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 6s] [ 6s] Tasks: TOP => test:unit [ 6s] (See full trace by running task with --trace) [ 6s] libyui-terminal finished [ 6s] error: Bad exit status from /var/tmp/rpm-tmp.hXxMqA (%check) [ 6s] [ 6s] [ 6s] RPM build errors: [ 6s] Bad exit status from /var/tmp/rpm-tmp.hXxMqA (%check) [ 6s] [ 6s] yast-ci-worker-3 failed "build yast2-journal.spec" at Fri Jun 21 17:19:06 UTC 2019. [ 6s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 16045 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #4](https://ci.suse.de/job/yast-yast-journal-master/4/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-yast-journal-master/5/display/redirect> Changes: ------------------------------------------ [...truncated 33.00 KB...] [ 5s] libyui10-3.6.0-1.1 ######################################## [ 5s] yast2-ycp-ui-bindings-4.1.0-3.11 ######################################## [ 5s] yast2-ruby-bindings-4.2.1-1.13 ######################################## [ 5s] yast2-perl-bindings-4.1.0-2.14 ######################################## [ 5s] libsystemd0-mini-234-24.33.1 ######################################## [ 5s] util-linux-systemd-2.33.1-2.14 ######################################## [ 6s] sysconfig-0.85.2-1.12 ######################################## [ 6s] Updating /etc/sysconfig/network/dhcp ... [ 6s] Updating /etc/sysconfig/network/config ... [ 6s] sysconfig-netconfig-0.85.2-1.12 ######################################## [ 6s] libx86emu2-2.2-1.8 ######################################## [ 6s] hwinfo-21.66-3.3.3 ######################################## [ 6s] yast2-hardware-detection-4.1.0-2.11 ######################################## [ 6s] yast2-4.2.18-1.3 ######################################## [ 6s] Updating /etc/sysconfig/yast2 ... [ 6s] yast2-devtools-4.2.5-1.6 ######################################## [ 6s] libyui-ncurses-tools-2.52.0-1.1 ######################################## [ 30s] clamav-database-201908050014-3.192.1 ######################################## [ 30s] rpmlint-mini-1.10-7.2.1 ######################################## [ 31s] libgcrypt20-1.8.2-8.9.1 ######################################## [ 31s] kernel-obs-build-4.12.14-197.15.1 ######################################## [ 31s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 31s] now finalizing build dir... [ 32s] ----------------------------------------------------------------- [ 32s] I have the following modifications for yast2-journal.spec: [ 32s] 21c21 [ 32s] < Release: 0 [ 32s] --- [ 32s] > Release: 1 [ 32s] 74a75 [ 32s] > %changelog [ 32s] ----------------------------------------------------------------- [ 32s] ----- building yast2-journal.spec (user abuild) [ 32s] ----------------------------------------------------------------- [ 32s] ----------------------------------------------------------------- [ 32s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 32s] setting SOURCE_DATE_EPOCH=1559304000 [ 32s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v3b6Eu [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + rm -rf yast2-journal-4.2.1 [ 32s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 32s] + /usr/bin/tar -xof - [ 32s] + STATUS=0 [ 32s] + '[' 0 -ne 0 ']' [ 32s] + cd yast2-journal-4.2.1 [ 32s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 32s] + exit 0 [ 32s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.llA3nM [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 32s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 32s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 32s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 32s] + cd yast2-journal-4.2.1 [ 32s] + exit 0 [ 32s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZZ3N83 [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd yast2-journal-4.2.1 [ 32s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 32s] + '[' -f Rakefile ']' [ 32s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 33s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 33s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 33s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 33s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 33s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 33s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 33s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2 ']' [ 33s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 33s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 33s] + d=org.opensuse.yast.Journal.desktop [ 33s] + /usr/lib/rpm/suse_update_desktop_file.sh -d ycc_org.opensuse.yast.Journal org.opensuse.yast.Journal [ 33s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 33s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 33s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 33s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 33s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 33s] + /usr/lib/rpm/brp-compress [ 33s] + /usr/lib/rpm/brp-suse [ 33s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 33s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 33s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 33s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 33s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 33s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 33s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 33s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 33s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 34s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 34s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 34s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 34s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 34s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 34s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 34s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 34s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 34s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 34s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 34s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2dwyMp [ 34s] + umask 022 [ 34s] + cd /home/abuild/rpmbuild/BUILD [ 34s] + cd yast2-journal-4.2.1 [ 34s] + libyui-terminal rake test:unit [ 34s] Using libyui-terminal to run "rake test:unit" [ 34s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 34s] [ 34s] Y2Journal::EntriesDialog [ 34s] #initialize [ 34s] can get optional query [ 34s] executes query [ 34s] #dialog_content [ 34s] returns Term [ 34s] #dialog_options [ 34s] returns Term [ 34s] #filter_handler [ 34s] reports an error when journalctl fails [ 34s] [ 34s] Y2Journal::Query [ 34s] #execute [ 34s] provides the right arguments to Entry.all [ 34s] #entries [ 34s] returns the result of last call to #execute [ 34s] returns an empty array if #execute has not being called yet [ 34s] #journalctl_options [ 34s] when both arguments are nil [ 34s] generates an empty hash [ 34s] when interval is a scalar [ 34s] passes the value directly to 'boot' [ 34s] when interval is an empty array [ 34s] generates an empty hash [ 34s] when interval is an array with one element [ 34s] passes the value to 'since' [ 34s] when interval is an array with two elements [ 34s] passes the values to 'since' and 'until' [ 34s] when interval is an array with more than two elements [ 34s] the surplus elements are ignored [ 34s] when interval is an empty hash [ 34s] generates an empty hash [ 34s] when interval is a hash with :until [ 34s] passes the value to 'until' [ 34s] when interval is a hash with :until and :since [ 34s] passes the values to 'until' and 'since' [ 34s] when interval is a hash with unrecognized keys [ 34s] ignores the invalid keys [ 34s] when filters include an invalid key [ 34s] raises an error [ 34s] when interval and filters are used [ 34s] includes the valid filters [ 34s] excludes the match key [ 34s] includes the processed interval [ 34s] #journalctl_matches [ 34s] with empty filters [ 34s] returns an empty array [ 34s] with non-empty filters [ 34s] returns the value of the 'match' filter as an array [ 34s] .boots [ 34s] returns an array of hashes [ 34s] returns a Hash per boot entry [ 34s] correctly maps every boot into three fields [ 34s] [ 34s] Y2Journal::Journalctl [ 34s] #output [ 34s] when journalctl works [ 34s] returns the command output [ 34s] when journalctl reports 'Failed to determine timestamp' [ 34s] returns an empty string [ 34s] when journalctl reports 'Failed to get realtime timestamp' [ 34s] returns an empty string [ 34s] when journalctl reports an unexpected error [ 34s] raises RuntimeError [ 34s] #command [ 34s] generation of journalctl matches [ 34s] adds the strings separated by space at the end of the command [ 34s] generation of journalctl options [ 34s] when receiving an option with a nil value [ 34s] includes the option without assigned value [ 34s] when receiving an option with a string value [ 34s] assigns the string [ 34s] when receiving an option with a numeric value [ 34s] assigns the value as a string [ 34s] when receiving an option with a time object [ 34s] assigns the formatted time [ 34s] when receiving an option with an array [ 34s] includes the option as many times as needed [ 34s] [ 34s] Y2Journal::QueryPresenter [ 34s] #entries [ 34s] returns an array of EntryPresenter objects [ 34s] delegates the fetching to its query [ 34s] #initialize [ 34s] redefines the Query default interval [ 34s] .intervals [ 34s] returns three options if there are enough boots [ 34s] returns only two options if there is only one boot [ 34s] [ 34s] Y2Journal::QueryDialog [ 34s] #match_value_handler [ 34s] terminate called after throwing an instance of 'YUIPluginException' [ 34s] what(): Couldn't load plug-in ncurses [ 34s] rake aborted! [ 34s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 34s] [ 34s] Tasks: TOP => test:unit [ 34s] (See full trace by running task with --trace) [ 34s] libyui-terminal finished [ 34s] error: Bad exit status from /var/tmp/rpm-tmp.2dwyMp (%check) [ 34s] [ 34s] [ 34s] RPM build errors: [ 34s] Bad exit status from /var/tmp/rpm-tmp.2dwyMp (%check) [ 34s] [ 34s] yast-ci-worker-3 failed "build yast2-journal.spec" at Thu Aug 15 14:14:05 UTC 2019. [ 34s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 32471 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #5](https://ci.suse.de/job/yast-yast-journal-master/5/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-yast-journal-master/6/display/redirect> Changes: ------------------------------------------ [...truncated 28.77 KB...] [ 3s] [212/232] keeping sysconfig-netconfig-0.85.2-1.12 [ 3s] [213/232] keeping system-group-hardware-20170617-4.155 [ 3s] [214/232] keeping system-user-mail-20170617-4.155 [ 3s] [215/232] keeping system-user-nobody-20170617-4.155 [ 3s] [216/232] keeping yast2-4.2.18-1.3 [ 3s] [217/232] keeping libutempter0-1.1.6-3.42 [ 3s] [218/232] keeping postfix-3.3.1-5.10.1 [ 3s] [219/232] keeping libmilter1_0-8.15.2-8.3.1 [ 3s] [220/232] keeping screen-4.6.2-3.14 [ 3s] [221/232] keeping util-linux-2.33.1-2.28 [ 3s] [222/232] keeping libyui-ncurses-tools-2.52.0-1.1 [ 3s] [223/232] keeping ruby-common-2.1-3.15 [ 3s] [224/232] keeping aaa_base-84.87+git20180409.04c9dae-3.9.1 [ 3s] [225/232] keeping clamav-0.100.3-3.9.1 [ 3s] [226/232] keeping rpm-build-4.14.1-10.16.1 [ 3s] [227/232] keeping aaa_base-malloccheck-84.87+git20180409.04c9dae-3.9.1 [ 3s] [228/232] keeping clamav-database-201908050014-3.192.1 [ 3s] [229/232] keeping desktop-file-utils-0.23-2.17 [ 3s] [230/232] keeping post-build-checks-malwarescan-0.1-1.23 [ 3s] [231/232] keeping update-desktop-files-84.87-1.16 [ 3s] [232/232] keeping post-build-checks-84.88+git20181015.ceb5c96-3.4.1 [ 3s] removing nis flags from /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64/etc/nsswitch.conf... [ 3s] now finalizing build dir... [ 4s] ----------------------------------------------------------------- [ 4s] I have the following modifications for yast2-journal.spec: [ 4s] 21c21 [ 4s] < Release: 0 [ 4s] --- [ 4s] > Release: 1 [ 4s] 74a75 [ 4s] > %changelog [ 4s] ----------------------------------------------------------------- [ 4s] ----- building yast2-journal.spec (user abuild) [ 4s] ----------------------------------------------------------------- [ 4s] ----------------------------------------------------------------- [ 4s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 4s] setting SOURCE_DATE_EPOCH=1559304000 [ 4s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MrqTHs [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + rm -rf yast2-journal-4.2.1 [ 4s] + /usr/bin/tar -xof - [ 4s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-4.2.1.tar.bz2 [ 4s] + STATUS=0 [ 4s] + '[' 0 -ne 0 ']' [ 4s] + cd yast2-journal-4.2.1 [ 4s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 4s] + exit 0 [ 4s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eM1bfq [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 4s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] + cd yast2-journal-4.2.1 [ 4s] + exit 0 [ 4s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.89E9Nn [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd yast2-journal-4.2.1 [ 4s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 4s] + '[' -f Rakefile ']' [ 4s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64 [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/ [ 4s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 4s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/lib/YaST2/ [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/fillup-templates [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/ [ 4s] cp -r 'src/desktop/org.opensuse.yast.Journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/applications/YaST2/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 4s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/ [ 4s] cp -r 'src/icons/hicolor' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/icons/' [ 4s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/YaST2/theme/ [ 4s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2 ']' [ 4s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 4s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 4s] + d=org.opensuse.yast.Journal.desktop [ 4s] + /usr/lib/rpm/suse_update_desktop_file.sh -d ycc_org.opensuse.yast.Journal org.opensuse.yast.Journal [ 4s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/metainfo/ [ 4s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 4s] + for f in $(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop') [ 4s] + /usr/share/YaST2/data/devtools/bin/y2metainfo -f /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop -l 'GPL-2.0 or GPL-3.0' -o /home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64//usr/share/metainfo/ -u https://github.com/yast/yast-journal -v 4.2.1 [ 4s] + /usr/lib/rpm/find-debuginfo.sh -j2 --build-id-seed 4.2.1-1 --unique-debug-suffix -4.2.1-1.x86_64 --unique-debug-src-base yast2-journal-4.2.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/yast2-journal-4.2.1 [ 4s] + /usr/lib/rpm/brp-compress [ 4s] + /usr/lib/rpm/brp-suse [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 4s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 4s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 4s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-70-extract-translations [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/polkit-1/actions/': No such file or directory [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/mime/': No such file or directory [ 5s] find: '//home/abuild/rpmbuild/BUILDROOT/yast2-journal-4.2.1-1.x86_64/usr/share/appdata/': No such file or directory [ 5s] trimmed output to /home/abuild/rpmbuild/OTHER/desktopfiles//usr/share/applications/YaST2/org.opensuse.yast.Journal.desktop [ 5s] trimmed output to /home/abuild/rpmbuild/OTHER/yast2-journal.desktopfiles [ 5s] ~/rpmbuild/OTHER/desktopfiles ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/OTHER/appstream ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] ~/rpmbuild/BUILD/yast2-journal-4.2.1 [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 5s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OJKeep [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + cd yast2-journal-4.2.1 [ 5s] + libyui-terminal rake test:unit [ 5s] Using libyui-terminal to run "rake test:unit" [ 6s] rspec --color --format doc 'test/entries_dialog_test.rb' 'test/query_test.rb' 'test/journalctl_test.rb' 'test/query_presenter_test.rb' 'test/query_dialog_test.rb' 'test/entry_presenter_test.rb' 'test/entry_test.rb' [ 6s] [ 6s] Y2Journal::EntriesDialog [ 6s] #initialize [ 6s] can get optional query [ 6s] executes query [ 6s] #dialog_content [ 6s] returns Term [ 6s] #dialog_options [ 6s] returns Term [ 6s] #filter_handler [ 6s] reports an error when journalctl fails [ 6s] [ 6s] Y2Journal::Query [ 6s] #execute [ 6s] provides the right arguments to Entry.all [ 6s] #entries [ 6s] returns the result of last call to #execute [ 6s] returns an empty array if #execute has not being called yet [ 6s] #journalctl_options [ 6s] when both arguments are nil [ 6s] generates an empty hash [ 6s] when interval is a scalar [ 6s] passes the value directly to 'boot' [ 6s] when interval is an empty array [ 6s] generates an empty hash [ 6s] when interval is an array with one element [ 6s] passes the value to 'since' [ 6s] when interval is an array with two elements [ 6s] passes the values to 'since' and 'until' [ 6s] when interval is an array with more than two elements [ 6s] the surplus elements are ignored [ 6s] when interval is an empty hash [ 6s] generates an empty hash [ 6s] when interval is a hash with :until [ 6s] passes the value to 'until' [ 6s] when interval is a hash with :until and :since [ 6s] passes the values to 'until' and 'since' [ 6s] when interval is a hash with unrecognized keys [ 6s] ignores the invalid keys [ 6s] when filters include an invalid key [ 6s] raises an error [ 6s] when interval and filters are used [ 6s] includes the valid filters [ 6s] excludes the match key [ 6s] includes the processed interval [ 6s] #journalctl_matches [ 6s] with empty filters [ 6s] returns an empty array [ 6s] with non-empty filters [ 6s] returns the value of the 'match' filter as an array [ 6s] .boots [ 6s] returns an array of hashes [ 6s] returns a Hash per boot entry [ 6s] correctly maps every boot into three fields [ 6s] [ 6s] Y2Journal::Journalctl [ 6s] #output [ 6s] when journalctl works [ 6s] returns the command output [ 6s] when journalctl reports 'Failed to determine timestamp' [ 6s] returns an empty string [ 6s] when journalctl reports 'Failed to get realtime timestamp' [ 6s] returns an empty string [ 6s] when journalctl reports an unexpected error [ 6s] raises RuntimeError [ 6s] #command [ 6s] generation of journalctl matches [ 6s] adds the strings separated by space at the end of the command [ 6s] generation of journalctl options [ 6s] when receiving an option with a nil value [ 6s] includes the option without assigned value [ 6s] when receiving an option with a string value [ 6s] assigns the string [ 6s] when receiving an option with a numeric value [ 6s] assigns the value as a string [ 6s] when receiving an option with a time object [ 6s] assigns the formatted time [ 6s] when receiving an option with an array [ 6s] includes the option as many times as needed [ 6s] [ 6s] Y2Journal::QueryPresenter [ 6s] #entries [ 6s] returns an array of EntryPresenter objects [ 6s] delegates the fetching to its query [ 6s] #initialize [ 6s] redefines the Query default interval [ 6s] .intervals [ 6s] returns three options if there are enough boots [ 6s] returns only two options if there is only one boot [ 6s] [ 6s] Y2Journal::QueryDialog [ 6s] #match_value_handler [ 6s] terminate called after throwing an instance of 'YUIPluginException' [ 6s] what(): Couldn't load plug-in ncurses [ 6s] rake aborted! [ 6s] Command failed with status (): [rspec --color --format doc 'test/entries_d...] [ 6s] [ 6s] Tasks: TOP => test:unit [ 6s] (See full trace by running task with --trace) [ 6s] libyui-terminal finished [ 6s] error: Bad exit status from /var/tmp/rpm-tmp.OJKeep (%check) [ 6s] [ 6s] [ 6s] RPM build errors: [ 6s] Bad exit status from /var/tmp/rpm-tmp.OJKeep (%check) [ 6s] [ 6s] yast-ci-worker-3 failed "build yast2-journal.spec" at Thu Aug 15 15:21:36 UTC 2019. [ 6s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP2_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 3761 exited with value 1 Scanning for a pull request... Found pull request #43 Adding comment ":x: Internal Jenkins [job #6](https://ci.suse.de/job/yast-yast-journal-master/6/) failed" to pull request https://github.com/yast/yast-journal/pull/43 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-journal/issues/43/comments... OK Success Build step 'Execute shell' marked build as failure
participants (1)
-
jenkins@suse.de