[yast-commit] [ci_new_pac] JFYI yast2 -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2 -> sle12 Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2/yast2.changes 2014-03-27 14:11:01.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2/yast2.changes 2014-03-28 11:36:29.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Mar 27 10:15:12 UTC 2014 - vmoravec@suse.com + +- Fix for template systemd units properties +- 3.1.32 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2 - at least 72 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2 (Old) and /mounts/work_src_done/SLE12/yast2 (BS:build ID:35068 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-3.1.31.tar.bz2 New: ---- yast2-3.1.32.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.Twh2En/_old 2014-03-28 12:00:19.000000000 +0100 +++ /var/tmp/diff_new_pack.Twh2En/_new 2014-03-28 12:00:19.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.31 +Version: 3.1.32 Release: 0 URL: https://github.com/yast/yast-yast2 ++++++ yast2-3.1.31.tar.bz2 -> yast2-3.1.32.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/runlevel/Makefile.am new/yast2-3.1.32/library/runlevel/Makefile.am --- old/yast2-3.1.31/library/runlevel/Makefile.am 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/library/runlevel/Makefile.am 2014-03-28 11:28:36.000000000 +0100 @@ -1,3 +1,3 @@ # # Makefile.am for yast2/runlevel -SUBDIRS = doc src testsuite +SUBDIRS = doc src testsuite test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/runlevel/test/Makefile.am new/yast2-3.1.32/library/runlevel/test/Makefile.am --- old/yast2-3.1.31/library/runlevel/test/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-3.1.32/library/runlevel/test/Makefile.am 2014-03-28 11:28:36.000000000 +0100 @@ -0,0 +1,10 @@ +TESTS = \ + test_helper.rb \ + service_test.rb + +TEST_EXTENSIONS = .rb +RB_LOG_COMPILER = rspec +VERBOSE = 1 + +EXTRA_DIST = $(TESTS) + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/runlevel/test/service_test.rb new/yast2-3.1.32/library/runlevel/test/service_test.rb --- old/yast2-3.1.31/library/runlevel/test/service_test.rb 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/library/runlevel/test/service_test.rb 2014-03-28 11:28:36.000000000 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env rspec -# + require_relative 'test_helper' module Yast diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/runlevel/test/test_helper.rb new/yast2-3.1.32/library/runlevel/test/test_helper.rb --- old/yast2-3.1.31/library/runlevel/test/test_helper.rb 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/library/runlevel/test/test_helper.rb 2014-03-28 11:28:36.000000000 +0100 @@ -1,9 +1,11 @@ -require 'rspec' +#!/usr/bin/env rspec -ENV["Y2DIR"] = File.expand_path("../../src", __FILE__) +require 'rspec' require "yast" +ENV["Y2DIR"] = File.expand_path("../../src", __FILE__) + Yast.import 'Service' # We need the stubs used for SystemdService tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/systemd/src/lib/yast2/systemd_unit.rb new/yast2-3.1.32/library/systemd/src/lib/yast2/systemd_unit.rb --- old/yast2-3.1.31/library/systemd/src/lib/yast2/systemd_unit.rb 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/library/systemd/src/lib/yast2/systemd_unit.rb 2014-03-28 11:28:36.000000000 +0100 @@ -115,18 +115,30 @@ error.clear command_result = yield error << command_result.stderr + return false unless error.empty? + refresh! command_result.exit.zero? end class Properties < OpenStruct + include Yast::Logger def initialize systemd_unit super() self[:systemd_unit] = systemd_unit - raw_properties = load_systemd_properties - self[:raw] = raw_properties.stdout - self[:error] = raw_properties.stderr + raw_output = load_systemd_properties + self[:error] = raw_output.stderr + + if !raw_output.exit.zero? + message = "Failed to get properties for unit '#{systemd_unit.unit_name}' ; " + message << "Command `#{raw_output.command}` returned error: #{error}" + log.error(message) + self[:not_found?] = true + return + end + + self[:raw] = raw_output.stdout extract_properties self[:active?] = active_state == "active" self[:running?] = sub_state == "running" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/library/systemd/test/Makefile.am new/yast2-3.1.32/library/systemd/test/Makefile.am --- old/yast2-3.1.31/library/systemd/test/Makefile.am 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/library/systemd/test/Makefile.am 2014-03-28 11:28:36.000000000 +0100 @@ -3,7 +3,8 @@ systemctl_test.rb \ systemd_unit_test.rb \ systemd_socket_test.rb \ - systemd_target_test.rb + systemd_target_test.rb \ + systemd_service_test.rb TEST_EXTENSIONS = .rb RB_LOG_COMPILER = rspec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/package/yast2.changes new/yast2-3.1.32/package/yast2.changes --- old/yast2-3.1.31/package/yast2.changes 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/package/yast2.changes 2014-03-28 11:28:36.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Mar 27 10:15:12 UTC 2014 - vmoravec@suse.com + +- Fix for template systemd units properties +- 3.1.32 + +------------------------------------------------------------------- Thu Mar 27 10:03:16 UTC 2014 - lslezak@suse.cz - fixed popup_test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.31/package/yast2.spec new/yast2-3.1.32/package/yast2.spec --- old/yast2-3.1.31/package/yast2.spec 2014-03-27 12:39:23.000000000 +0100 +++ new/yast2-3.1.32/package/yast2.spec 2014-03-28 11:28:36.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.31 +Version: 3.1.32 Release: 0 URL: https://github.com/yast/yast-yast2 continue with "q"... Checked in at Fri Mar 28 12:00:34 CET 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro