Skip to contentSkip to conversation

Last-minute changes in new colo

PATCH New Ian Jackson 1 participant 5 messages Mar 31, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Last-minute changes in new colo

During commissioning, I found it necessary to included these four[*] patches, on top of the 32-patch series already posted earlier. They are already in the production branch. I am posting them for form's sake, and to allow review and submission of any necessary followups.

[*] 4/5 is missing from this patchbomb because it was an empty patch pushed for operational reasons.

#1 lore raw

PATCH 1/5 ts-debian-install: Honour DebianMirrorProxy, HttpProxy

---
 ts-debian-install |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
ts-debian-install +8 -1
index fcef827..0dfe40c 100755
@@ -76,7 +76,12 @@ sub ginstall () {
             fi
 END
     }
-    target_cmd_root($ho, <<END, 2000);
+    my $cmd = '';
+    my $useproxy = $c{DebianMirrorProxy} // $c{HttpProxy};
+    $cmd .= <<END if defined $useproxy;
+        http_proxy=$useproxy \\
+END
+    $cmd .= <<END;
         xen-create-image \\
             --dhcp --mac $gho->{Ether} \\
             --memory ${ram_mb}Mb --swap ${swap_mb}Mb \\
@@ -89,6 +94,8 @@ END
             $initrd_opt \\
             $archarg
 END
+    target_cmd_root($ho, $cmd, 2000);
+
     my $cfg= "/etc/xen/$gho->{Name}.cfg";
     store_runvar("$gho->{Guest}_cfgpath", $cfg);
     store_runvar("$gho->{Guest}_swap_lv", "$gho->{Name}-swap");
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/5 mg-branch-setup: Make initial push optional in mg-branch-setup

In reply to Ian Jackson
---
 mg-branch-setup |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
mg-branch-setup +12 -4
index b0c9712..d465882 100755
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # usage:
-#  ./mg-branch-setup BRANCH bisect INITIAL-TESTED-VERSION
+#  ./mg-branch-setup BRANCH bisect [INITIAL-TESTED-VERSION]
 #  ./mg-branch-setup BRANCH no-bisect
 #  ./mg-branch-setup BRANCH no-check
 #
@@ -33,19 +33,25 @@ mode=$1; shift
 case "$mode" in
 bisect)
 	fetch=true
-	push=true
 	bisect=true
-	push_version="$1"; shift
-	need_value "$push_version"
+	push=false
+	fetchbase=true
+	if [ $# != 0 ]; then
+		push=true
+		push_version="$1"; shift
+		need_value "$push_version"
+	fi
 	;;
 no-bisect)
 	fetch=true
 	push=false
+	fetchbase=false
 	bisect=false
 	;;
 no-check)
 	fetch=false
 	push=false
+	fetchbase=false
 	bisect=false
 	;;
 *)
@@ -83,6 +89,8 @@ fi
 
 if $push; then
 	x ./ap-push $branch "$push_version"~0
+fi
+if $fetchbase; then
 	x ./ap-fetch-version-baseline $branch
 fi
 
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/5 Configs: Replace xenbits.xensource.com with xenbits.xen.org

In reply to Ian Jackson
---
 ap-common         |    2 +-
 production-config |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
ap-common +1 -1
index f1eba6f..64749e3 100644
@@ -19,7 +19,7 @@
 
 # $xenbranch must already be set
 
-: ${XENBITS:[email protected]}
+: ${XENBITS:[email protected]}
 
 : ${TREE_XEN:=git://xenbits.xen.org/xen.git}
 : ${PUSH_TREE_XEN:=$XENBITS:/home/xen/git/xen.git}
production-config +2 -2
index 5e8a477..cb68111 100644
@@ -60,7 +60,7 @@ GlobalLockDir /home/osstest/testing.git
 LogsPublish= "$c{Publish}/logs"
 ResultsPublish= "$c{Publish}/results"
 
-HarnessPublishGitUserHost [email protected]
+HarnessPublishGitUserHost [email protected]
 HarnessPublishGitRepoDir git/osstest.git
 
 ReportTrailer= <<END
@@ -68,7 +68,7 @@ Logs, config files, etc. are available at
     $c{ReportHtmlPubBaseUrl}
 
 Test harness code can be found at
-    http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary
+    http://xenbits.xen.org/gitweb?p=osstest.git;a=summary
 END
 
 PlanRogueAllocationDuration= 86400*7
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 5/5 Remove passthrough tests

In reply to Ian Jackson

These tests have never passed in the old infrastructure. The new colo does not have the SRIOV NICs required.

---
 make-flight |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make-flight +1 -1
index 63b14f5..d186658 100755
@@ -401,7 +401,7 @@ test_matrix_do_one () {
     done
 
   fi
-  do_passthrough_tests
+  #do_passthrough_tests
 }
 
 test_matrix_iterate
Signature · 1 line
1.7.10.4