Skip to contentSkip to conversation

smoke tests: Build arm64 with XSM, instead of without

PATCH New Ian Jackson 1 participant 2 messages Dec 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 smoke tests: Build arm64 with XSM, instead of without

The smoke flight contains test-arm64-arm64-xl-xsm so it should contain build-arm64-xsm (and not contain build-arm64).

I have checked the results with
OSSTEST_CONFIG=standalone-config-example eatmydata ./standalone-generate-dump-flight-runvars
and looking at the diff shows precisely the expected change.

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>
---
 make-flight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make-flight +1 -1
index 48fbc01..7d807f9 100755
@@ -72,7 +72,7 @@ job_create_build_filter_callback () {
         build-amd64-libvirt)	;;
         build-armhf)		;;
         build-armhf-pvops)	;;
-        build-arm64)		;;
+        build-arm64-xsm)	;;
         build-arm64-pvops)	;;
         *)			return 1 ;;
       esac
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

PATCH 2/2 smoke tests: Fix job reuse globs in cr-daily-branch

A symptom that the old patterns lack !build-arm64-xsm, so the xsm job might be reused. The overall cause is that it contained a (partial) list of architectures.

Instead, we observe that:
* The things we want to avoid reusing are Xen and libvirt (which builds against Xen.
* Non-Xen builds are invariably build-<arch>-<thing> (or even longer) so we can match them all with build-*-*.
* We need to exclude the Xen builds and the libvirt builds. The libvirt builds are obvious. The Xen builds are either build-<arch> which does not match build-*-*, or build-<arch>-xsm.

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>
---
 cr-daily-branch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cr-daily-branch +1 -1
index d05d953..14e8595 100755
@@ -343,7 +343,7 @@ xen-unstable-smoke)
 	: ${SMOKE_HARNESS_REV:=$harness_rev}
 
 	./mg-adjust-flight-makexrefs -v $flight \
-		'!build-amd64 !build-amd64-libvirt !build-armhf build-*' \
+		'!build-*-xsm !build-*-libvirt build-*-*' \
 		--debug --blessings=real				\
 		--branch=xen-unstable,xen-unstable-smoke,osstest	\
 		--revision-osstest=$SMOKE_HARNESS_REV
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel