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