[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v2 0/4] Avoid running Linux on hosts for the given version lacks drivers



As discussed in the thread at 
http://lists.xen.org/archives/html/xen-devel/2015-09/msg01067.html some
older versions of Linux lack drivers for hardware in some of our test
hosts, meaning in particular that the linux-3.4 branch is now stuck trying
to run all of its jobs on hosts which linux-3.4.y cannot possibly work on
and for which a backported driver is thought unlikely right now.

Fix this by introducing support to the resource allocator for filtering
candidates based on resource properties, which will be used specifically to
filter hosts by their LinuxKernelMin property.

Before applying this the following new host properties should be added:

./mg-hosts setprops chardonnay\* -- LinuxKernelMin 3.8
./mg-hosts setprops huxelrebe\* -- LinuxKernelMin 3.5

(strictly speaking chardonnay is actually fixed by 3.7-rc1).

The first patch was just for debugging, via the script attached to v1 and
some spurious host properties added in Cambridge. This could be dropped...

The full diff of ./standalone-generate-dump-flight-runvars is huge, a
representative hunk after sorting both files is:

@@ -501,7 +501,7 @@
 linux-3.0                  build-i386-xsm                                      
  tree_qemuu                  
git://xenbits.xen.org/staging/qemu-upstream-unstable.git                        
                   
 linux-3.0                  build-i386-xsm                                      
  tree_seabios                                                                  
                                                 
 linux-3.0                  build-i386-xsm                                      
  tree_xen                    git://xenbits.xen.org/xen.git                     
                                                 
-linux-3.0                  test-amd64-amd64-amd64-pvgrub                       
  all_hostflags               
arch-amd64,arch-xen-amd64,suite-jessie,purpose-test                             
                   
+linux-3.0                  test-amd64-amd64-amd64-pvgrub                       
  all_hostflags               
arch-amd64,arch-xen-amd64,suite-jessie,purpose-test,PropMinVer:LinuxKernelMin:3.0
                  
 linux-3.0                  test-amd64-amd64-amd64-pvgrub                       
  arch                        amd64                                             
                                                 
 linux-3.0                  test-amd64-amd64-amd64-pvgrub                       
  buildjob                    build-amd64                                       
                                                 
 linux-3.0                  test-amd64-amd64-amd64-pvgrub                       
  debian_arch                 amd64                                             
                                                 

This only occurs for linux-X.Y and not for other branches (including not
for non-numeric linux-FOO):

$ diff -u  before-min-linux after-min-linux  | grep ^[+-][^+-]| cut -f1 -d\  | 
sort | uniq
-linux-3.0
+linux-3.0
-linux-3.10
+linux-3.10
-linux-3.14
+linux-3.14
-linux-3.16
+linux-3.16
-linux-3.18
+linux-3.18
-linux-3.4
+linux-3.4
-linux-4.1
+linux-4.1

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.