See http://ci.opensuse.org/job/yast-journal-master/7/changes Changes: [ancor] Unit tests for QueryDialog [ancor] Fix shebang for al rspec tests [ancor] Documentation and more descriptive names in query_dialog_test [ancor] Skip UI tests in travis (libyui-ncurses not available) [ancor] Use #open_ncurses, #close_ncurses to fix RSpec interaction (boo#937026). [ancor] Mock the call to journalctl in query_dialog_test [ancor] Fix from review: call SimpleCov.start only once [ancor] Update to the new libyui testing API ------------------------------------------ [...truncated 456 lines...] [ 47s] Updating /etc/sysconfig/network/config... [ 47s] wicked-service-0.6.18-1.2 ######################################## [ 47s] Running in chroot, ignoring request. [ 47s] libudev-mini1-219-6.2 ######################################## [ 48s] udev-mini-219-6.2 ######################################## [ 48s] libusb-1_0-0-1.0.19-3.3 ######################################## [ 48s] libusb-0_1-4-0.1.13-35.1 ######################################## [ 48s] libsasl2-3-2.1.26-11.2 ######################################## [ 48s] libldap-2_4-2-2.4.39-14.3 ######################################## [ 48s] libnpth0-1.2-1.2 ######################################## [ 48s] gpg2-2.1.5-2.1 ######################################## [ 49s] liblwres141-9.10.2-9.1 ######################################## [ 49s] libkeyutils1-1.5.9-5.2 ######################################## [ 49s] libirs141-9.10.2-9.1 ######################################## [ 49s] libcom_err2-1.42.13-2.1 ######################################## [ 49s] krb5-mini-1.13.2-2.2 ######################################## [ 49s] Updating /etc/sysconfig/kadmind... [ 51s] Updating /etc/sysconfig/krb5kdc... [ 51s] libdns160-9.10.2-9.1 ######################################## [ 51s] libisccfg140-9.10.2-9.1 ######################################## [ 51s] libbind9-140-9.10.2-9.1 ######################################## [ 51s] bind-utils-9.10.2-9.1 ######################################## [ 51s] libcurl4-7.43.0-1.1 ######################################## [ 52s] libzypp-15.6.0-1.1 ######################################## [ 52s] yast2-pkg-bindings-3.1.26-1.1 ######################################## [ 52s] yast2-3.1.139-1.3 ######################################## [ 52s] Updating /etc/sysconfig/yast2 ... [ 53s] update-desktop-files-12.1-31.1 ######################################## [ 53s] ruby2.2-rubygem-yast-rake-0.2.3-1.3 ######################################## [ 54s] ruby2.2-rubygem-rspec-3.3.0-1.1 ######################################## [ 54s] suse-module-tools-12.3-17.1 ######################################## [ 54s] Please run mkinitrd as soon as your system is complete. [ 54s] removing nis flags from /var/tmp/build-root-openSUSE_Factory/etc/nsswitch.conf... [ 54s] now finalizing build dir... [ 55s] ----------------------------------------------------------------- [ 55s] I have the following modifications for yast2-journal.spec: [ 55s] 21c21 [ 55s] < Release: 0 [ 55s] --- [ 55s] > Release: 1 [ 55s] ----------------------------------------------------------------- [ 55s] ----- building yast2-journal.spec (user abuild) [ 55s] ----------------------------------------------------------------- [ 55s] ----------------------------------------------------------------- [ 55s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature /home/abuild/rpmbuild/SOURCES/yast2-journal.spec [ 55s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5mNrX7 [ 55s] + umask 022 [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + rm -rf yast2-journal-0.2.3 [ 55s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-journal-0.2.3.tar.bz2 [ 55s] + /bin/tar -xvvf - [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/ [ 55s] -rw-r--r-- jenkins/users 662 2015-07-09 09:02 yast2-journal-0.2.3/README.md [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/src/ [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/ [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/ [ 55s] -rw-r--r-- jenkins/users 5073 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/query.rb [ 55s] -rw-r--r-- jenkins/users 4456 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/entries_dialog.rb [ 55s] -rw-r--r-- jenkins/users 2522 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/time_helpers.rb [ 55s] -rw-r--r-- jenkins/users 6586 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/query_dialog.rb [ 55s] -rw-r--r-- jenkins/users 2092 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/entry.rb [ 55s] -rw-r--r-- jenkins/users 3546 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/journalctl.rb [ 55s] -rw-r--r-- jenkins/users 1473 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/entry_presenter.rb [ 55s] -rw-r--r-- jenkins/users 4816 2015-07-09 09:02 yast2-journal-0.2.3/src/lib/systemd_journal/query_presenter.rb [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/src/clients/ [ 55s] -rw-r--r-- jenkins/users 830 2015-07-09 09:02 yast2-journal-0.2.3/src/clients/journal.rb [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/src/desktop/ [ 55s] -rw-r--r-- jenkins/users 467 2015-07-09 09:02 yast2-journal-0.2.3/src/desktop/journal.desktop [ 55s] -rw-r--r-- jenkins/users 24 2015-07-09 09:02 yast2-journal-0.2.3/.coveralls.yml [ 55s] -rw-r--r-- jenkins/users 602 2015-07-09 09:02 yast2-journal-0.2.3/.rubocop.yml [ 55s] -rw-r--r-- jenkins/users 938 2015-07-09 09:02 yast2-journal-0.2.3/Rakefile [ 55s] -rw-r--r-- jenkins/users 18092 2015-07-09 09:02 yast2-journal-0.2.3/COPYING [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/test/ [ 55s] -rwxr-xr-x jenkins/users 2200 2015-07-09 09:02 yast2-journal-0.2.3/test/query_presenter_test.rb [ 55s] -rw-r--r-- jenkins/users 2532 2015-07-09 09:02 yast2-journal-0.2.3/test/spec_helper.rb [ 55s] -rwxr-xr-x jenkins/users 1608 2015-07-09 09:02 yast2-journal-0.2.3/test/entry_presenter_test.rb [ 55s] -rwxr-xr-x jenkins/users 3889 2015-07-09 09:02 yast2-journal-0.2.3/test/journalctl_test.rb [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/test/data/ [ 55s] -rw-r--r-- jenkins/users 564 2015-07-09 09:02 yast2-journal-0.2.3/test/data/kernel-entry.json [ 55s] -rw-r--r-- jenkins/users 5811 2015-07-09 09:02 yast2-journal-0.2.3/test/data/journalctl.out [ 55s] -rw-r--r-- jenkins/users 96 2015-07-09 09:02 yast2-journal-0.2.3/test/data/list-boots-1.out [ 55s] -rw-r--r-- jenkins/users 738 2015-07-09 09:02 yast2-journal-0.2.3/test/data/nfs-entry.json [ 55s] -rw-r--r-- jenkins/users 1061 2015-07-09 09:02 yast2-journal-0.2.3/test/data/list-boots-11.out [ 55s] -rwxr-xr-x jenkins/users 3697 2015-07-09 09:02 yast2-journal-0.2.3/test/entry_test.rb [ 55s] -rwxr-xr-x jenkins/users 3696 2015-07-09 09:02 yast2-journal-0.2.3/test/query_dialog_test.rb [ 55s] -rwxr-xr-x jenkins/users 6391 2015-07-09 09:02 yast2-journal-0.2.3/test/query_test.rb [ 55s] -rw-r--r-- jenkins/users 74 2015-07-09 09:02 yast2-journal-0.2.3/.yardopts [ 55s] -rw-r--r-- jenkins/users 14 2015-07-09 09:02 yast2-journal-0.2.3/RPMNAME [ 55s] -rw-r--r-- jenkins/users 388 2015-07-09 09:02 yast2-journal-0.2.3/.travis.yml [ 55s] drwxr-xr-x jenkins/users 0 2015-07-09 09:02 yast2-journal-0.2.3/package/ [ 55s] -rw-r--r-- jenkins/users 1890 2015-07-09 09:02 yast2-journal-0.2.3/package/yast2-journal.spec [ 55s] -rw-r--r-- jenkins/users 1409 2015-07-09 09:02 yast2-journal-0.2.3/package/yast2-journal.changes [ 55s] + STATUS=0 [ 55s] + '[' 0 -ne 0 ']' [ 55s] + cd yast2-journal-0.2.3 [ 55s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 55s] + exit 0 [ 55s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1x1ScV [ 55s] + umask 022 [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 55s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 55s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 55s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 55s] + cd yast2-journal-0.2.3 [ 55s] + exit 0 [ 55s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SiRUtI [ 55s] + umask 022 [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + cd yast2-journal-0.2.3 [ 55s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64 [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/ [ 55s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/' [ 55s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/' [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/lib/YaST2/ [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/var/adm/fillup-templates/ [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/applications/YaST2/ [ 55s] cp -r 'src/desktop/journal.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/applications/YaST2/' [ 55s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/ [ 55s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 55s] cp -r 'COPYING' '/home/abuild/rpmbuild/BUILDROOT/yast2-journal-0.2.3-1.x86_64/usr/share/doc/packages/yast2-journal/' [ 55s] + /usr/lib/rpm/brp-compress [ 55s] + /usr/lib/rpm/brp-suse [ 55s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 55s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 55s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 55s] setting /var/adm/ to root:root 0755. (wrong owner/group abuild:abuild) [ 55s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 55s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 55s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 55s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 55s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 55s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 55s] Unknown 'DefaultLayout': [ 55s] 'HASH(0x1df97c8) 0 [ 55s] Merge ARRAY(0x1e072a8) 0 [ 55s] Merge ARRAY(0x1e090c0) 0 [ 55s] ' [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 56s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 56s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KSeLAy [ 56s] + umask 022 [ 56s] + cd /home/abuild/rpmbuild/BUILD [ 56s] + cd yast2-journal-0.2.3 [ 56s] + rake test:unit [ 56s] rspec --color --format doc 'test/query_presenter_test.rb' 'test/entry_presenter_test.rb' 'test/journalctl_test.rb' 'test/entry_test.rb' 'test/query_dialog_test.rb' 'test/query_test.rb' [ 56s] [ 56s] SystemdJournal::EntryPresenter [ 56s] delegation [ 56s] delegates raw to its entry [ 56s] delegates uid to its entry [ 56s] delegates timestamp to its entry [ 56s] delegates message to its entry [ 56s] #formatted_time [ 56s] returns a string including the time [ 56s] [ 56s] SystemdJournal::Entry [ 56s] .all [ 56s] journalctl invocation [ 56s] when called with no options or matches [ 56s] invokes journalctl without filters [ 56s] when called with additional options [ 56s] passes the arguments to journalctl [ 56s] when called with additional matches [ 56s] passes the arguments to journalctl [ 56s] journalctl parsing [ 56s] ignores journalctl markers [ 56s] returns an array of Entry objects [ 56s] honours the entries order [ 56s] #initialize [ 56s] stores the hostname as a string [ 56s] stores the timestamp as a Time object [ 56s] when the _COM attribute is included [ 56s] stores it as #process_name [ 56s] when the _COM attribute is not present [ 56s] sets process_name to nil [ 56s] [ 56s] SystemdJournal::Journalctl [ 56s] #output [ 56s] when journalctl works [ 56s] returns the command output [ 56s] when journalctl reports 'Failed to determine timestamp' [ 56s] returns an empty string [ 56s] when journalctl reports 'Failed to get realtime timestamp' [ 56s] returns an empty string [ 56s] when journalctl reports an unexpected error [ 56s] raises RuntimeError [ 56s] #command [ 56s] generation of journalctl matches [ 56s] adds the strings separated by space at the end of the command [ 56s] generation of journalctl options [ 56s] when receiving an option with a nil value [ 56s] includes the option without assigned value [ 56s] when receiving an option with a string value [ 56s] assigns the string [ 56s] when receiving an option with a numeric value [ 56s] assigns the value as a string [ 56s] when receiving an option with a time object [ 56s] assigns the formatted time [ 56s] when receiving an option with an array [ 56s] includes the option as many times as needed [ 56s] [ 56s] SystemdJournal::QueryDialog [ 56s] #match_value_handler [ 56s] Error opening terminal: unknown. [ 56s] rake aborted! [ 56s] Command failed with status (1): [rspec --color --format doc 'test/query_pre...] [ 56s] [ 56s] Tasks: TOP => test:unit [ 56s] (See full trace by running task with --trace) [ 56s] error: Bad exit status from /var/tmp/rpm-tmp.KSeLAy (%check) [ 56s] [ 56s] [ 56s] RPM build errors: [ 56s] Bad exit status from /var/tmp/rpm-tmp.KSeLAy (%check) Run source service: /usr/lib/obs/service/format_spec_file --outdir /tmp/tmpsaKqiH Run source service: /usr/lib/obs/service/source_validator --outdir /tmp/tmp8QwnMR Run source service: /usr/lib/obs/service/format_spec_file --outdir /tmp/tmpjWfbwo Run source service: /usr/lib/obs/service/source_validator --outdir /tmp/tmpC23xof Building yast2-journal.spec for openSUSE_Factory/x86_64 Getting buildinfo from server and store to http://ci.opensuse.org/job/yast-journal-master/ws/YaST:Head/yast2-journal/.osc/_buildinfo-openSUSE_Factory-x86_64.xml Getting buildconfig from server and store to http://ci.opensuse.org/job/yast-journal-master/ws/YaST:Head/yast2-journal/.osc/_buildconfig-openSUSE_Factory-x86_64 Updating cache of required packages 1.5% cache miss. 202/205 dependencies cached. 1/3 (YaST:Head) yast2-3.1.139-1.3.x86_64.rpm 2/3 (YaST:Head) yast2-ycp-ui-bindings-3.1.9-1.1.x86_64.rpm 3/3 (YaST:Head) libyui-ncurses6-2.47.0-2.1.x86_64.rpm Skipping verification of package signatures Writing build configuration Running build The buildroot was: /var/tmp/build-root-openSUSE_Factory rm -rf YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] 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