See http://river.suse.de/job/yast-journal-master/11/changes Changes: [lslezak] switch to rspec 3.3.0 in .travis.yml ------------------------------------------ [...truncated 291 lines...] [ 10s] cumulate yast2-pkg-bindings-3.1.27-2.1 [ 10s] [190/190] now installing cumulated packages [ 10s] Preparing... ######################################## [ 10s] Updating / installing... [ 10s] ruby2.1-rubygem-packaging_rake_tasks-1######################################## [ 10s] ruby2.1-rubygem-yast-rake-0.1.8-3.1 ######################################## [ 10s] yast2-pkg-bindings-3.1.27-2.1 ######################################## [ 11s] libyui-ncurses6-2.47.1-1.1 ######################################## [ 11s] removing nis flags from /var/tmp/build-root-SLE-12-SP1/etc/nsswitch.conf... [ 11s] 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] 70a71 [ 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] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pc5cqE [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + rm -rf yast2-journal-0.2.3 [ 11s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-0.2.3.tar.bz2 [ 11s] + /bin/tar -xvvf - [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/ [ 11s] -rw-r--r-- jenkins/users 662 2015-07-31 12:40 yast2-journal-0.2.3/README.md [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/src/ [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/ [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/ [ 11s] -rw-r--r-- jenkins/users 2092 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/entry.rb [ 11s] -rw-r--r-- jenkins/users 4456 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/entries_dialog.rb [ 11s] -rw-r--r-- jenkins/users 7176 2015-07-31 12:10 yast2-journal-0.2.3/src/lib/systemd_journal/query_dialog.rb [ 11s] -rw-r--r-- jenkins/users 3546 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/journalctl.rb [ 11s] -rw-r--r-- jenkins/users 2522 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/time_helpers.rb [ 11s] -rw-r--r-- jenkins/users 4816 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/query_presenter.rb [ 11s] -rw-r--r-- jenkins/users 5073 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/query.rb [ 11s] -rw-r--r-- jenkins/users 1473 2015-07-31 12:40 yast2-journal-0.2.3/src/lib/systemd_journal/entry_presenter.rb [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/src/clients/ [ 11s] -rw-r--r-- jenkins/users 830 2015-07-31 12:40 yast2-journal-0.2.3/src/clients/journal.rb [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/src/desktop/ [ 11s] -rw-r--r-- jenkins/users 467 2015-07-31 12:40 yast2-journal-0.2.3/src/desktop/journal.desktop [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/package/ [ 11s] -rw-r--r-- jenkins/users 1409 2015-07-31 12:40 yast2-journal-0.2.3/package/yast2-journal.changes [ 11s] -rw-r--r-- jenkins/users 1890 2015-07-31 12:40 yast2-journal-0.2.3/package/yast2-journal.spec [ 11s] -rw-r--r-- jenkins/users 14 2015-07-31 12:40 yast2-journal-0.2.3/RPMNAME [ 11s] -rw-r--r-- jenkins/users 24 2015-07-31 12:40 yast2-journal-0.2.3/.coveralls.yml [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/test/ [ 11s] -rwxr-xr-x jenkins/users 6391 2015-07-31 12:40 yast2-journal-0.2.3/test/query_test.rb [ 11s] -rwxr-xr-x jenkins/users 3889 2015-07-31 12:40 yast2-journal-0.2.3/test/journalctl_test.rb [ 11s] -rwxr-xr-x jenkins/users 2200 2015-07-31 12:40 yast2-journal-0.2.3/test/query_presenter_test.rb [ 11s] -rw-r--r-- jenkins/users 2532 2015-07-31 12:40 yast2-journal-0.2.3/test/spec_helper.rb [ 11s] -rwxr-xr-x jenkins/users 3696 2015-07-31 12:40 yast2-journal-0.2.3/test/query_dialog_test.rb [ 11s] -rwxr-xr-x jenkins/users 1608 2015-07-31 12:40 yast2-journal-0.2.3/test/entry_presenter_test.rb [ 11s] drwxr-xr-x jenkins/users 0 2015-07-31 12:40 yast2-journal-0.2.3/test/data/ [ 11s] -rw-r--r-- jenkins/users 96 2015-07-31 12:40 yast2-journal-0.2.3/test/data/list-boots-1.out [ 11s] -rw-r--r-- jenkins/users 738 2015-07-31 12:40 yast2-journal-0.2.3/test/data/nfs-entry.json [ 11s] -rw-r--r-- jenkins/users 5811 2015-07-31 12:40 yast2-journal-0.2.3/test/data/journalctl.out [ 11s] -rw-r--r-- jenkins/users 564 2015-07-31 12:40 yast2-journal-0.2.3/test/data/kernel-entry.json [ 11s] -rw-r--r-- jenkins/users 1061 2015-07-31 12:40 yast2-journal-0.2.3/test/data/list-boots-11.out [ 11s] -rwxr-xr-x jenkins/users 3697 2015-07-31 12:40 yast2-journal-0.2.3/test/entry_test.rb [ 11s] -rw-r--r-- jenkins/users 602 2015-07-31 12:40 yast2-journal-0.2.3/.rubocop.yml [ 11s] -rw-r--r-- jenkins/users 387 2015-07-31 12:40 yast2-journal-0.2.3/.travis.yml [ 11s] -rw-r--r-- jenkins/users 74 2015-07-31 12:40 yast2-journal-0.2.3/.yardopts [ 11s] -rw-r--r-- jenkins/users 938 2015-07-31 12:40 yast2-journal-0.2.3/Rakefile [ 11s] -rw-r--r-- jenkins/users 18092 2015-07-31 12:40 yast2-journal-0.2.3/COPYING [ 11s] + STATUS=0 [ 11s] + '[' 0 -ne 0 ']' [ 11s] + cd yast2-journal-0.2.3 [ 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.7XGA8n [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 11s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 11s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 11s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 11s] + cd yast2-journal-0.2.3 [ 11s] + exit 0 [ 11s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1H6FR7 [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd yast2-journal-0.2.3 [ 11s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/ [ 11s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/' [ 11s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/lib/YaST2/ [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/var/adm/fillup-templates/ [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/applications/YaST2/ [ 11s] cp -r 'src/desktop/journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/applications/YaST2/' [ 11s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 11s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 11s] cp -r 'COPYING' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 11s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/yast2-journal-0.2.3 [ 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] setting /var/adm/ 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-20-check-la [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 12s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 12s] WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist [ 12s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 12s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 12s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0DZXWS [ 12s] + umask 022 [ 12s] + cd /home/abuild/rpmbuild/BUILD [ 12s] + cd yast2-journal-0.2.3 [ 12s] + rake test:unit [ 12s] rspec --color --format doc 'test/query_test.rb' [ 12s] [ 12s] SystemdJournal::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] Finished in 0.01652 seconds (files took 0.11462 seconds to load) [ 12s] 22 examples, 0 failures [ 12s] [ 12s] rspec --color --format doc 'test/journalctl_test.rb' [ 12s] [ 12s] SystemdJournal::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] Finished in 0.01318 seconds (files took 0.10642 seconds to load) [ 12s] 10 examples, 0 failures [ 12s] [ 12s] rspec --color --format doc 'test/query_presenter_test.rb' [ 12s] [ 12s] SystemdJournal::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] Finished in 0.00989 seconds (files took 0.11447 seconds to load) [ 12s] 5 examples, 0 failures [ 12s] [ 12s] rspec --color --format doc 'test/query_dialog_test.rb' [ 12s] [ 12s] SystemdJournal::QueryDialog [ 12s] #match_value_handler [ 12s] Error opening terminal: unknown. [ 12s] rake aborted! [ 12s] Command failed with status (1): [rspec --color --format doc 'test/query_dia...] [ 12s] [ 12s] Tasks: TOP => test:unit [ 12s] (See full trace by running task with --trace) [ 12s] error: Bad exit status from /var/tmp/rpm-tmp.0DZXWS (%check) [ 12s] [ 12s] [ 12s] RPM build errors: [ 12s] Bad exit status from /var/tmp/rpm-tmp.0DZXWS (%check) Skipping verification of package signatures Writing build configuration Running build The buildroot was: /var/tmp/build-root-SLE-12-SP1 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 Build step 'Execute shell' marked build as failure