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-installation -> sle12 ## BNC# 869172 : "libGL error (via ssh): failed to load driver: <native GL hardware driver>" (NEW/) ## BNC# 871178 : "No network during upgrade" (RESOLVED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-installation/yast2-installation.changes 2014-04-02 16:09:15.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-installation/yast2-installation.changes 2014-04-09 10:23:01.000000000 +0200 @@ -1,0 +2,19 @@ +Wed Apr 9 10:07:02 CEST 2014 - snwint@suse.de + +- save a copy of pbl.log +- 3.1.64 + +------------------------------------------------------------------- +Fri Apr 4 15:33:40 CEST 2014 - snwint@suse.de + +- remove LIBGL_ALWAYS_INDIRECT (bnc #869172) +- 3.1.63 + +------------------------------------------------------------------- +Thu Apr 3 12:15:49 UTC 2014 - jreidinger@suse.com + +- do not write network configuration from upgrade to system + (bnc#871178) +- 3.1.62 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-installation - at least 20 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-installation (Old) and /mounts/work_src_done/SLE12/yast2-installation (BS:build ID:35688 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-installation", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-installation-3.1.61.tar.bz2 New: ---- yast2-installation-3.1.64.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.hHRfQB/_old 2014-04-09 17:06:12.000000000 +0200 +++ /var/tmp/diff_new_pack.hHRfQB/_new 2014-04-09 17:06:12.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.61 +Version: 3.1.64 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-installation-3.1.61.tar.bz2 -> yast2-installation-3.1.64.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/package/yast2-installation.changes new/yast2-installation-3.1.64/package/yast2-installation.changes --- old/yast2-installation-3.1.61/package/yast2-installation.changes 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/package/yast2-installation.changes 2014-04-09 10:18:26.000000000 +0200 @@ -1,4 +1,23 @@ ------------------------------------------------------------------- +Wed Apr 9 10:07:02 CEST 2014 - snwint@suse.de + +- save a copy of pbl.log +- 3.1.64 + +------------------------------------------------------------------- +Fri Apr 4 15:33:40 CEST 2014 - snwint@suse.de + +- remove LIBGL_ALWAYS_INDIRECT (bnc #869172) +- 3.1.63 + +------------------------------------------------------------------- +Thu Apr 3 12:15:49 UTC 2014 - jreidinger@suse.com + +- do not write network configuration from upgrade to system + (bnc#871178) +- 3.1.62 + +------------------------------------------------------------------- Wed Apr 2 09:25:38 UTC 2014 - jreidinger@suse.com - remove ssh_service_finish as it is handle in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/package/yast2-installation.spec new/yast2-installation-3.1.64/package/yast2-installation.spec --- old/yast2-installation-3.1.61/package/yast2-installation.spec 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/package/yast2-installation.spec 2014-04-09 10:18:26.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.61 +Version: 3.1.64 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/src/clients/copy_logs_finish.rb new/yast2-installation-3.1.64/src/clients/copy_logs_finish.rb --- old/yast2-installation-3.1.61/src/clients/copy_logs_finish.rb 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/src/clients/copy_logs_finish.rb 2014-04-09 10:18:26.000000000 +0200 @@ -118,6 +118,11 @@ InjectFile(Ops.add(Ops.add(Directory.logdir, "/"), file)) end end + + WFM.Execute( + path(".local.bash"), + "/bin/cp /var/log/pbl.log '#{Installation.destdir}/#{Directory.logdir}/pbl-instsys.log'" + ) else Builtins.y2error("unknown function: %1", @func) @ret = nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/src/clients/network_finish.rb new/yast2-installation-3.1.64/src/clients/network_finish.rb --- old/yast2-installation-3.1.61/src/clients/network_finish.rb 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/src/clients/network_finish.rb 2014-04-09 10:18:26.000000000 +0200 @@ -67,7 +67,7 @@ "steps" => 1, # progress step title "title" => _("Saving network configuration..."), - "when" => [:installation, :update, :autoinst] + "when" => [:installation, :autoinst] } elsif @func == "Write" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/src/modules/ImageInstallation.rb new/yast2-installation-3.1.64/src/modules/ImageInstallation.rb --- old/yast2-installation-3.1.61/src/modules/ImageInstallation.rb 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/src/modules/ImageInstallation.rb 2014-04-09 10:18:27.000000000 +0200 @@ -36,6 +36,8 @@ module Yast class ImageInstallationClass < Module + include Yast::Logger + def main Yast.import "UI" Yast.import "Pkg" @@ -139,6 +141,9 @@ "steps_reserved" => 10 } } + + # Images selected by FindImageSet() + @selected_images = {} end # Set the repository to get images from @@ -886,7 +891,7 @@ # trying to find all matching patterns Builtins.foreach(image_sets) do |image| - pattern = Ops.get_string(image, "patterns", "") + pattern = image["patterns"] imageset_patterns = Builtins.splitstring(pattern, ", ") Ops.set( patterns_in_imagesets, @@ -917,11 +922,7 @@ end end - Builtins.y2debug( - "Matching patterns: %1, sizes: %2", - possible_patterns, - matching_patterns - ) + log.info "Matching patterns: #{possible_patterns}, sizes: #{matching_patterns}" # selecting the best imageset last_pattern = "" @@ -957,6 +958,7 @@ end Builtins.y2milestone("Result: %1/%2", last_pattern, result) + @selected_images = result # No matching pattern if result == {} @@ -1486,10 +1488,16 @@ @_image_order = [] @images_details = {} @_mounted_images = [] + @selected_images = {} nil end + # Only for checking in tests now + def selected_images + @selected_images + end + publish :function => :SetRepo, :type => "void (integer)" publish :variable => :last_patterns_selected, :type => "list <string>" publish :variable => :changed_by_user, :type => "boolean" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/startup/YaST2.call new/yast2-installation-3.1.64/startup/YaST2.call --- old/yast2-installation-3.1.61/startup/YaST2.call 2014-04-02 15:48:21.000000000 +0200 +++ new/yast2-installation-3.1.64/startup/YaST2.call 2014-04-09 10:18:27.000000000 +0200 @@ -139,7 +139,6 @@ # : export Y2STYLE="installation_slim" - export LIBGL_ALWAYS_INDIRECT=1 set_inst_qt_env } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/test/data/images/images.xml new/yast2-installation-3.1.64/test/data/images/images.xml --- old/yast2-installation-3.1.61/test/data/images/images.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-installation-3.1.64/test/data/images/images.xml 2014-04-09 10:18:27.000000000 +0200 @@ -0,0 +1,346 @@ +<?xml version="1.0"?> +<!DOCTYPE images> +<image_installation xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> +<image_sets config:type="list" > + <!-- Example taken from openSUSE 13.1 GM --> + <image_set> + <patterns>base,enhanced_base,games,imaging,kde4,kde4_basis,multimedia,sw_management,x11</patterns> + <archs>i386</archs> + <pkg_image>kde-meta-i386.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>KDE [base]</name> + <type>tar</type> + <file>common-base-i386.tar.xz</file> + </image> + <image> + <name>KDE [xorg]</name> + <type>tar</type> + <file>common-xorg-i386.tar.xz</file> + </image> + <image> + <name>KDE [desktop]</name> + <type>tar</type> + <file>common-desktop-i386.tar.xz</file> + </image> + <image> + <name>KDE</name> + <type>tar</type> + <file>kde-i386.tar.xz</file> + </image> + <image> + <name>KDE [meta]</name> + <type>tar</type> + <file>kde-meta-i386.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,games,gnome,gnome_basis,imaging,multimedia,sw_management,x11</patterns> + <archs>i386</archs> + <pkg_image>gnome-meta-i386.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>GNOME [1]</name> + <type>tar</type> + <file>common-base-i386.tar.xz</file> + </image> + <image> + <name>GNOME [2]</name> + <type>tar</type> + <file>common-xorg-i386.tar.xz</file> + </image> + <image> + <name>GNOME [4]</name> + <type>tar</type> + <file>common-desktop-i386.tar.xz</file> + </image> + <image> + <name>GNOME</name> + <type>tar</type> + <file>gnome-i386.tar.xz</file> + </image> + <image> + <name>GNOME [meta]</name> + <type>tar</type> + <file>gnome-meta-i386.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,sw_management</patterns> + <archs>i386</archs> + <pkg_image>base-meta-i386.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>BASE [1]</name> + <type>tar</type> + <file>base-meta-i386.tar.xz</file> + </image> + <image> + <name>BASE [2]</name> + <type>tar</type> + <file>base-i386.tar.xz</file> + </image> + <image> + <name>BASE [3]</name> + <type>tar</type> + <file>common-base-i386.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,sw_management,x11</patterns> + <archs>i386</archs> + <pkg_image>x11-meta-i386.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>X11 [1]</name> + <type>tar</type> + <file>x11-meta-i386.tar.xz</file> + </image> + <image> + <name>X11 [2]</name> + <type>tar</type> + <file>x11-i386.tar.xz</file> + </image> + <image> + <name>X11 [3]</name> + <type>tar</type> + <file>common-xorg-i386.tar.xz</file> + </image> + <image> + <name>X11 [4]</name> + <type>tar</type> + <file>common-base-i386.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,games,imaging,kde4,kde4_basis,multimedia,sw_management,x11</patterns> + <archs>x86_64</archs> + <pkg_image>kde-meta-x86_64.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>KDE [base]</name> + <type>tar</type> + <file>common-base-x86_64.tar.xz</file> + </image> + <image> + <name>KDE [xorg]</name> + <type>tar</type> + <file>common-xorg-x86_64.tar.xz</file> + </image> + <image> + <name>KDE [desktop]</name> + <type>tar</type> + <file>common-desktop-x86_64.tar.xz</file> + </image> + <image> + <name>KDE</name> + <type>tar</type> + <file>kde-x86_64.tar.xz</file> + </image> + <image> + <name>KDE [meta]</name> + <type>tar</type> + <file>kde-meta-x86_64.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,games,gnome,gnome_basis,imaging,multimedia,sw_management,x11</patterns> + <archs>x86_64</archs> + <pkg_image>gnome-meta-x86_64.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>GNOME [1]</name> + <type>tar</type> + <file>common-base-x86_64.tar.xz</file> + </image> + <image> + <name>GNOME [2]</name> + <type>tar</type> + <file>common-xorg-x86_64.tar.xz</file> + </image> + <image> + <name>GNOME [4]</name> + <type>tar</type> + <file>common-desktop-x86_64.tar.xz</file> + </image> + <image> + <name>GNOME</name> + <type>tar</type> + <file>gnome-x86_64.tar.xz</file> + </image> + <image> + <name>GNOME [meta]</name> + <type>tar</type> + <file>gnome-meta-x86_64.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,sw_management</patterns> + <archs>x86_64</archs> + <pkg_image>base-meta-x86_64.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>BASE [1]</name> + <type>tar</type> + <file>base-meta-x86_64.tar.xz</file> + </image> + <image> + <name>BASE [2]</name> + <type>tar</type> + <file>base-x86_64.tar.xz</file> + </image> + <image> + <name>BASE [3]</name> + <type>tar</type> + <file>common-base-x86_64.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,sw_management,x11</patterns> + <archs>x86_64</archs> + <pkg_image>x11-meta-x86_64.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>X11 [1]</name> + <type>tar</type> + <file>x11-meta-x86_64.tar.xz</file> + </image> + <image> + <name>X11 [2]</name> + <type>tar</type> + <file>x11-x86_64.tar.xz</file> + </image> + <image> + <name>X11 [3]</name> + <type>tar</type> + <file>common-xorg-x86_64.tar.xz</file> + </image> + <image> + <name>X11 [4]</name> + <type>tar</type> + <file>common-base-x86_64.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,games,imaging,kde4,kde4_basis,multimedia,sw_management,x11</patterns> + <archs>ppc</archs> + <pkg_image>kde-meta-ppc.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>KDE [base]</name> + <type>tar</type> + <file>common-base-ppc.tar.xz</file> + </image> + <image> + <name>KDE [xorg]</name> + <type>tar</type> + <file>common-xorg-ppc.tar.xz</file> + </image> + <image> + <name>KDE [desktop]</name> + <type>tar</type> + <file>common-desktop-ppc.tar.xz</file> + </image> + <image> + <name>KDE</name> + <type>tar</type> + <file>kde-ppc.tar.xz</file> + </image> + <image> + <name>KDE [meta]</name> + <type>tar</type> + <file>kde-meta-ppc.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,games,gnome,gnome_basis,imaging,multimedia,sw_management,x11</patterns> + <archs>ppc</archs> + <pkg_image>gnome-meta-ppc.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>GNOME [1]</name> + <type>tar</type> + <file>common-base-ppc.tar.xz</file> + </image> + <image> + <name>GNOME [2]</name> + <type>tar</type> + <file>common-xorg-ppc.tar.xz</file> + </image> + <image> + <name>GNOME [4]</name> + <type>tar</type> + <file>common-desktop-ppc.tar.xz</file> + </image> + <image> + <name>GNOME</name> + <type>tar</type> + <file>gnome-ppc.tar.xz</file> + </image> + <image> + <name>GNOME [meta]</name> + <type>tar</type> + <file>gnome-meta-ppc.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,sw_management</patterns> + <archs>ppc</archs> + <pkg_image>base-meta-ppc.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>BASE [1]</name> + <type>tar</type> + <file>base-meta-ppc.tar.xz</file> + </image> + <image> + <name>BASE [2]</name> + <type>tar</type> + <file>base-ppc.tar.xz</file> + </image> + <image> + <name>BASE [3]</name> + <type>tar</type> + <file>common-base-ppc.tar.xz</file> + </image> + </images> + </image_set> + <image_set> + <patterns>base,enhanced_base,fonts,sw_management,x11</patterns> + <archs>ppc</archs> + <pkg_image>x11-meta-ppc.tar.xz</pkg_image> + <images config:type="list"> + <image> + <name>X11 [1]</name> + <type>tar</type> + <file>x11-meta-ppc.tar.xz</file> + </image> + <image> + <name>X11 [2]</name> + <type>tar</type> + <file>x11-ppc.tar.xz</file> + </image> + <image> + <name>X11 [3]</name> + <type>tar</type> + <file>common-xorg-ppc.tar.xz</file> + </image> + <image> + <name>X11 [4]</name> + <type>tar</type> + <file>common-base-ppc.tar.xz</file> + </image> + </images> + </image_set> +</image_sets> +</image_installation> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.61/test/image_installation_test.rb new/yast2-installation-3.1.64/test/image_installation_test.rb --- old/yast2-installation-3.1.61/test/image_installation_test.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-installation-3.1.64/test/image_installation_test.rb 2014-04-09 10:18:27.000000000 +0200 @@ -0,0 +1,71 @@ +#! /usr/bin/env rspec + +require_relative "./test_helper" + +Yast.import "ImageInstallation" +Yast.import "Installation" + +# For mocking +Yast.import "Pkg" +Yast.import "Arch" + +IMAGES_DESCR_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "data/images/images.xml") + +KDE4_PATTERNS = ["base","enhanced_base","games","imaging","kde4","kde4_basis","multimedia","sw_management","x11"] +GNOME_PATTERNS = ["base","enhanced_base","fonts","games","gnome","gnome_basis","imaging","multimedia","sw_management","x11"] +X11_PATTERNS = ["base","enhanced_base","fonts","sw_management","x11"] +BASE_PATTERNS = ["base","enhanced_base","sw_management"] + +NON_MATCHING_PATTERNS_1 = ["games", "gnome_basis"] +NON_MATCHING_PATTERNS_2 = ["enhanced_base"] + +NON_MATCHING_ARCH = "unsupported" + +ARCHS = ["i386", "x86_64", "ppc"] + +describe Yast::ImageInstallation do + describe "#FindImageSet" do + before(:each) do + Yast::Pkg.stub(:SourceProvideDigestedFile).and_return(IMAGES_DESCR_FILE) + end + + it "finds images matching architecture and selected patterns and returns if processing was successful" do + ARCHS.each do |arch| + Yast::Arch.stub(:arch_short).and_return(arch) + + [KDE4_PATTERNS, GNOME_PATTERNS, X11_PATTERNS, BASE_PATTERNS].each do |patterns| + Yast::ImageInstallation.FreeInternalVariables() + expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true + expect(Yast::Installation.image_installation).to be_true + expect(Yast::ImageInstallation.selected_images["archs"]).to eq(arch) + end + end + end + + it "does not find any image using unsupported architecture and returns if processing was successful" do + [KDE4_PATTERNS, GNOME_PATTERNS, X11_PATTERNS, BASE_PATTERNS].each do |patterns| + Yast::Arch.stub(:arch_short).and_return(NON_MATCHING_ARCH) + Yast::ImageInstallation.FreeInternalVariables() + + expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true + expect(Yast::Installation.image_installation).to be_false + expect(Yast::ImageInstallation.selected_images).to be_empty + end + end + + it "does not find any image using unsupported patterns and returns if processing was successful" do + ARCHS.each do |arch| + Yast::Arch.stub(:arch_short).and_return(arch) + + [NON_MATCHING_PATTERNS_2, NON_MATCHING_PATTERNS_2].each do |patterns| + Yast::ImageInstallation.FreeInternalVariables() + + expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true + expect(Yast::Installation.image_installation).to be_false + expect(Yast::ImageInstallation.selected_images).to be_empty + end + end + end + + end +end continue with "q"... Checked in at Wed Apr 9 17:07:22 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