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 ## BNC# 866692 : "YaST sw_single crashes with libproxy1-config-kde4" (RESOLVED/FIXED) ## BNC# 889323 : "systemd uses graphical-targed, even if yast2 said multi-targed" (RESOLVED/FIXED) ## BNC# 885973 : "Slideshow: Timing of slides unequal" (NEEDINFO/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2/yast2.changes 2014-07-29 11:43:53.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2/yast2.changes 2014-07-30 11:39:32.000000000 +0200 @@ -1,0 +2,22 @@ +Wed Jul 30 07:50:20 UTC 2014 - lslezak@suse.cz + +- fixed a crash in package management when running in Qt UI with + libproxy1-config-kde4 package installed (bnc#866692) +- 3.1.92 + +------------------------------------------------------------------- +Wed Jul 30 09:13:36 CEST 2014 - locilka@suse.com + +- Fixed setting the default target during installation - systemctl + doesn't return any target properties while running in chroot so + we have to guess the Id and AllowIsolate properties (bnc#889323) +- 3.1.91 + +------------------------------------------------------------------- +Tue Jul 29 13:30:04 UTC 2014 - jreidinger@suse.com + +- Fix timing of slideshow - now slides goes in cycle and all have + equal time to display which improve user experience (bnc#885973) +- 3.1.90 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2 - at least 73 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2 (Old) and /mounts/work_src_done/SLE12/yast2 (BS:build ID:41976 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-3.1.89.tar.bz2 New: ---- yast2-3.1.92.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.ETUNPm/_old 2014-07-30 14:39:04.000000000 +0200 +++ /var/tmp/diff_new_pack.ETUNPm/_new 2014-07-30 14:39:04.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.89 +Version: 3.1.92 Release: 0 URL: https://github.com/yast/yast-yast2 @@ -94,8 +94,8 @@ Conflicts: yast2-installation < 2.18.5 Conflicts: yast2-update < 2.16.1 -# Modules 'Slides' and 'SlideShow' moved from yast2-packager to yast2 -Conflicts: yast2-packager < 2.17.12 +# Older packager use removed API +Conflicts: yast2-packager < 3.1.34 Conflicts: yast2-mouse < 2.16.0 Conflicts: autoyast2-installation < 2.16.2 # country_long.ycp and country.ycp moved to yast2 ++++++ yast2-3.1.89.tar.bz2 -> yast2-3.1.92.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/general/test/Makefile.am new/yast2-3.1.92/library/general/test/Makefile.am --- old/yast2-3.1.89/library/general/test/Makefile.am 2014-07-29 10:49:35.000000000 +0200 +++ new/yast2-3.1.92/library/general/test/Makefile.am 2014-07-30 11:30:42.000000000 +0200 @@ -1,9 +1,10 @@ TESTS = \ asciifile_test.rb \ - linuxrc_test.rb \ hooks_test.rb \ + linuxrc_test.rb \ os_release_test.rb \ - popup_test.rb + popup_test.rb \ + agents_test/proc_meminfo_agent_test.rb TEST_EXTENSIONS = .rb RB_LOG_COMPILER = rspec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/general/test/agents_test/proc_meminfo_agent_test.rb new/yast2-3.1.92/library/general/test/agents_test/proc_meminfo_agent_test.rb --- old/yast2-3.1.89/library/general/test/agents_test/proc_meminfo_agent_test.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-3.1.92/library/general/test/agents_test/proc_meminfo_agent_test.rb 2014-07-30 11:30:42.000000000 +0200 @@ -0,0 +1,34 @@ +require_relative "../test_helper" +require "yast" + +describe ".proc.meminfo" do + + AGENT_PATH = Yast::Path.new(".proc.meminfo") + before :each do + root = File.join(File.dirname(__FILE__), "test_root") + check_version = false + handle = Yast::WFM.SCROpen("chroot=#{root}:scr", check_version) + Yast::WFM.SCRSetDefault(handle) + end + + after :each do + Yast::WFM.SCRClose(Yast::WFM.SCRGetDefault) + end + + describe ".Read" do + it "read content of /proc/meminfo return hash" do + content = Yast::SCR.Read(AGENT_PATH) + expect(content).to be_a(Hash) + end + + it "returned hash contain memtotal key" do + content = Yast::SCR.Read(AGENT_PATH) + expect(content).to include("memtotal" => 1021032) + end + + it "returned hash contain memfree key" do + content = Yast::SCR.Read(AGENT_PATH) + expect(content).to include("memfree" => 83408) + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/general/test/agents_test/test_root/proc/meminfo new/yast2-3.1.92/library/general/test/agents_test/test_root/proc/meminfo --- old/yast2-3.1.89/library/general/test/agents_test/test_root/proc/meminfo 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-3.1.92/library/general/test/agents_test/test_root/proc/meminfo 2014-07-30 11:30:42.000000000 +0200 @@ -0,0 +1,42 @@ +MemTotal: 1021032 kB +MemFree: 83408 kB +Buffers: 215132 kB +Cached: 278812 kB +SwapCached: 1280 kB +Active: 353916 kB +Inactive: 395504 kB +Active(anon): 88012 kB +Inactive(anon): 171404 kB +Active(file): 265904 kB +Inactive(file): 224100 kB +Unevictable: 0 kB +Mlocked: 0 kB +SwapTotal: 514072 kB +SwapFree: 471668 kB +Dirty: 28 kB +Writeback: 0 kB +AnonPages: 254412 kB +Mapped: 27508 kB +Shmem: 3940 kB +Slab: 151292 kB +SReclaimable: 127604 kB +SUnreclaim: 23688 kB +KernelStack: 2200 kB +PageTables: 21072 kB +NFS_Unstable: 0 kB +Bounce: 0 kB +WritebackTmp: 0 kB +CommitLimit: 1024588 kB +Committed_AS: 813988 kB +VmallocTotal: 34359738367 kB +VmallocUsed: 3512 kB +VmallocChunk: 34359734775 kB +HardwareCorrupted: 0 kB +AnonHugePages: 22528 kB +HugePages_Total: 0 +HugePages_Free: 0 +HugePages_Rsvd: 0 +HugePages_Surp: 0 +Hugepagesize: 2048 kB +DirectMap4k: 49144 kB +DirectMap2M: 999424 kB diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/packages/src/modules/SlideShow.rb new/yast2-3.1.92/library/packages/src/modules/SlideShow.rb --- old/yast2-3.1.89/library/packages/src/modules/SlideShow.rb 2014-07-29 10:49:36.000000000 +0200 +++ new/yast2-3.1.92/library/packages/src/modules/SlideShow.rb 2014-07-30 11:30:43.000000000 +0200 @@ -136,9 +136,7 @@ @current_slide_no = 0 @slide_start_time = 0 - @slide_min_interval = 30 # const - minimum seconds between slide changes - @slide_max_interval = 3 * 60 # const - maximum seconds between slide changes - @slide_interval = @slide_min_interval + @slide_interval = 30 # FIXME constant @language = "en" @widgets_created = false @user_switched_to_details = false @@ -464,7 +462,8 @@ # @param [Fixnum] slide_no number of slide to load # def LoadSlide(slide_no) - slide_no = 0 if Ops.greater_than(slide_no, Builtins.size(Slides.slides)) + slide_no = 0 if slide_no >= Slides.slides.size + log.info "load slide #{slide_no}" @current_slide_no = slide_no @@ -481,16 +480,8 @@ # necessary. # def ChangeSlideIfNecessary - if Ops.less_than( - Ops.add(@current_slide_no, 1), - Builtins.size(Slides.slides) - ) && - Ops.greater_than( - Builtins.time, - Ops.add(@slide_start_time, @slide_interval) - ) - Builtins.y2debug("Loading slide #%1", Ops.add(@current_slide_no, 2)) - LoadSlide(Ops.add(@current_slide_no, 1)) + if Builtins.time > (@slide_start_time + @slide_interval) + LoadSlide(@current_slide_no + 1) end nil @@ -784,7 +775,7 @@ # Initialize generic data to default values def Reset - @current_slide_no = 0 + @current_slide_no = -1 @slide_start_time = 0 @total_time_elapsed = 0 @start_time = -1 @@ -1058,8 +1049,6 @@ publish :variable => :next_recalc_time, :type => "integer" publish :variable => :current_slide_no, :type => "integer" publish :variable => :slide_start_time, :type => "integer" - publish :variable => :slide_min_interval, :type => "integer" - publish :variable => :slide_max_interval, :type => "integer" publish :variable => :slide_interval, :type => "integer" publish :variable => :language, :type => "string" publish :variable => :widgets_created, :type => "boolean" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/systemd/src/modules/systemd_target.rb new/yast2-3.1.92/library/systemd/src/modules/systemd_target.rb --- old/yast2-3.1.89/library/systemd/src/modules/systemd_target.rb 2014-07-29 10:49:36.000000000 +0200 +++ new/yast2-3.1.92/library/systemd/src/modules/systemd_target.rb 2014-07-30 11:30:43.000000000 +0200 @@ -42,6 +42,8 @@ end class SystemdTargetClass < Module + include Yast::Logger + UNIT_SUFFIX = ".target" DEFAULT_TARGET = "default.target" PROPERTIES = { :allow_isolate => "AllowIsolate" } @@ -49,7 +51,12 @@ def find target_name, properties={} target_name += UNIT_SUFFIX unless target_name.end_with?(UNIT_SUFFIX) target = Target.new(target_name, PROPERTIES.merge(properties)) - return nil if target.properties.not_found? + + if target.properties.not_found? + log.error "Target #{target_name} not found: #{target.properties.inspect}" + return nil + end + target end @@ -73,7 +80,12 @@ def set_default target target_unit = target.is_a?(Target) ? target : find(target) - return false unless target_unit + + unless target_unit + log.error "Cannot find target #{target.inspect}" + return false + end + target_unit.set_default end @@ -83,13 +95,22 @@ undef_method :start, :stop, :enable, :disable, :restart def allow_isolate? - properties.allow_isolate == 'yes' + # We cannot find out a target properties from /mnt in inst-sys + # systemctl doesn't return any properties in chroot + # See bnc#889323 + ['yes', nil].include?(properties.allow_isolate) end def set_default - return false unless allow_isolate? + unless allow_isolate? + log.error "Cannot set #{id.inspect} as default target: Cannot be isolated (#{properties.allow_isolate})" + return false + end + + # Constructing a fallback target ID if we can't get it from systemctl + target_name = id ? id : "#{name}.target" - result = Systemctl.execute("set-default --force " << id) + result = Systemctl.execute("set-default --force #{target_name}") result.exit.zero? end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/library/systemd/test/systemd_target_test.rb new/yast2-3.1.92/library/systemd/test/systemd_target_test.rb --- old/yast2-3.1.89/library/systemd/test/systemd_target_test.rb 2014-07-29 10:49:36.000000000 +0200 +++ new/yast2-3.1.92/library/systemd/test/systemd_target_test.rb 2014-07-30 11:30:43.000000000 +0200 @@ -99,6 +99,16 @@ target = SystemdTarget.find("network") expect(target.set_default).to be_false end + + context "when target properties cannot be found out (e.g. in chroot)" do + it "it returns true if the target unit object has been set as default target" do + expect(Systemctl).to receive(:execute).with("set-default --force multi-user-in-installation.target") + .and_return(OpenStruct.new('exit'=>0, 'stdout'=>'', 'stderr'=>'')) + stub_targets(:target=>"multi-user-in-installation") + target = SystemdTarget.find("multi-user-in-installation") + expect(target.set_default).to be_true + end + end end describe "#allow_isolate?" do @@ -112,6 +122,14 @@ target = SystemdTarget.find("network") expect(target.allow_isolate?).to be_false end + + context "when target properties cannot be found out (e.g. in chroot)" do + it "returns true" do + stub_targets(:target=>"multi-user-in-installation") + target = SystemdTarget.find("multi-user-in-installation") + expect(target.allow_isolate?).to be_true + end + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/package/yast2.changes new/yast2-3.1.92/package/yast2.changes --- old/yast2-3.1.89/package/yast2.changes 2014-07-29 10:49:37.000000000 +0200 +++ new/yast2-3.1.92/package/yast2.changes 2014-07-30 11:30:43.000000000 +0200 @@ -1,4 +1,26 @@ ------------------------------------------------------------------- +Wed Jul 30 07:50:20 UTC 2014 - lslezak@suse.cz + +- fixed a crash in package management when running in Qt UI with + libproxy1-config-kde4 package installed (bnc#866692) +- 3.1.92 + +------------------------------------------------------------------- +Wed Jul 30 09:13:36 CEST 2014 - locilka@suse.com + +- Fixed setting the default target during installation - systemctl + doesn't return any target properties while running in chroot so + we have to guess the Id and AllowIsolate properties (bnc#889323) +- 3.1.91 + +------------------------------------------------------------------- +Tue Jul 29 13:30:04 UTC 2014 - jreidinger@suse.com + +- Fix timing of slideshow - now slides goes in cycle and all have + equal time to display which improve user experience (bnc#885973) +- 3.1.90 + +------------------------------------------------------------------- Tue Jul 29 08:09:27 UTC 2014 - ancor@suse.com - Fixed .proc.cmdline parsing to support more situations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/package/yast2.spec new/yast2-3.1.92/package/yast2.spec --- old/yast2-3.1.89/package/yast2.spec 2014-07-29 10:49:37.000000000 +0200 +++ new/yast2-3.1.92/package/yast2.spec 2014-07-30 11:30:43.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.89 +Version: 3.1.92 Release: 0 URL: https://github.com/yast/yast-yast2 @@ -94,8 +94,8 @@ Conflicts: yast2-installation < 2.18.5 Conflicts: yast2-update < 2.16.1 -# Modules 'Slides' and 'SlideShow' moved from yast2-packager to yast2 -Conflicts: yast2-packager < 2.17.12 +# Older packager use removed API +Conflicts: yast2-packager < 3.1.34 Conflicts: yast2-mouse < 2.16.0 Conflicts: autoyast2-installation < 2.16.2 # country_long.ycp and country.ycp moved to yast2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.89/scripts/yast2 new/yast2-3.1.92/scripts/yast2 --- old/yast2-3.1.89/scripts/yast2 2014-07-29 10:49:37.000000000 +0200 +++ new/yast2-3.1.92/scripts/yast2 2014-07-30 11:30:43.000000000 +0200 @@ -19,9 +19,15 @@ unset GEM_HOME GEM_PATH RUBYLIB RUBYPATH RUBYOPT # we need input methods for many locales bnc#776567 - export QT_IM_MODULE=xim GTK_IM_MODULE=xim +# Do not load libproxy modules (config_kde4 module crashes because of Qt4/Qt5 +# clash), empty path causes that the installed modules are not found. Sysconfig +# and envvar extensions are still loaded, /etc/sysconfig/proxy values are still +# used correctly (see bnc#866692 for details). +export PX_MODULE_PATH="" + + # allow for a different prefix # strip the basename off $0, which can be: (bnc#382216, bnc#458385) # /sbin/yast2, /sbin/yast, yast2 (sh -x yast2 ...), /sbin/yast2 (PATH=/sbin/:...) continue with "q"... Checked in at Wed Jul 30 14:44:25 CEST 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