canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #74093
[Merge] ~kevinyeh/hwcert-jenkins-jobs:add-guanyin-suv into hwcert-jenkins-jobs:master
Kevin Yeh has proposed merging ~kevinyeh/hwcert-jenkins-jobs:add-guanyin-suv into hwcert-jenkins-jobs:master.
Commit message:
Add: add inventec-e200 for snap testing.
Requested reviews:
hwcert-jenkins (hwcert-jenkins)
For more details, see:
https://code.launchpad.net/~kevinyeh/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/437248
--
Your team hwcert-jenkins is requested to review the proposed merge of ~kevinyeh/hwcert-jenkins-jobs:add-guanyin-suv into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/configs/checkbox.conf.guanyin b/jobs/snap-testing/configs/checkbox.conf.guanyin
new file mode 100644
index 0000000..e9c9c43
--- /dev/null
+++ b/jobs/snap-testing/configs/checkbox.conf.guanyin
@@ -0,0 +1,25 @@
+# Please keep the indents below, for yaml formatting/templating
+ [environment]
+ WIFI_INTERFACE =
+ WATCHDOG_KERNEL_MOD = iTCO_wdt
+ ROUTERS = multiple
+ WPA_BG_SSID = cert-bg-wpa-tel-l3-01
+ WPA_BG_PSK = insecure
+ WPA_N_SSID = cert-n-wpa-tel-l3-01
+ WPA_N_PSK = insecure
+ WPA_AC_SSID = cert-ac-wpa-tel-l3-01
+ WPA_AC_PSK = insecure
+ WPA_AX_SSID = cert-ax-wpa-tel-l3-01
+ WPA_AX_PSK = insecure
+ OPEN_BG_SSID = cert-bg-open-tel-l3-01
+ OPEN_N_SSID = cert-n-open-tel-l3-01
+ OPEN_AC_SSID = cert-ac-open-tel-l3-01
+ OPEN_AX_SSID = cert-ax-open-tel-l3-01
+ TRANSFER_SERVER = cdimage.ubuntu.com
+ TEST_TARGET_IPERF = 10.101.48.243
+ OBEX_TARGET = 00:02:72:3E:83:D6
+ NET_DRIVER_INFO =
+ SUDO_USER=ubuntu
+ STRESS_BOOT_ITERATIONS=10
+ SNAPD_TASK_TIMEOUT=120
+ STORE_ID=wIi98fGHdYxBz8j36NJ8
diff --git a/jobs/snap-testing/launchers/guanyin-automated b/jobs/snap-testing/launchers/guanyin-automated
new file mode 100644
index 0000000..9e3724c
--- /dev/null
+++ b/jobs/snap-testing/launchers/guanyin-automated
@@ -0,0 +1,22 @@
+# Please keep the indents below, for yaml formatting/templating
+ [launcher]
+ app_id = com.canonical.certification:checkbox-snappy
+ launcher_version = 1
+ stock_reports = text, submission_files
+
+ [test plan]
+ unit = com.canonical.certification::client-cert-iot-ubuntucore-20-automated
+ forced = yes
+
+ [test selection]
+ forced = yes
+ exclude = .*suspend.*
+ com.canonical.certification::after-suspend.*
+ com.canonical.certification::tpm2.*
+ com.intel.ipdt::ipdt/PCH-x86_64
+
+ [ui]
+ type = silent
+ auto_retry = yes
+ max_attempts = 4
+ delay_before_retry = 30
diff --git a/jobs/snap-testing/manifests/guanyin_manifest.conf b/jobs/snap-testing/manifests/guanyin_manifest.conf
new file mode 100644
index 0000000..2ffbab2
--- /dev/null
+++ b/jobs/snap-testing/manifests/guanyin_manifest.conf
@@ -0,0 +1,15 @@
+# keep formatting
+ [manifest]
+ com.canonical.certification::has_audio_playback = false
+ com.canonical.certification::has_audio_capture = false
+ com.canonical.certification::has_bt_adapter = true
+ com.canonical.certification::has_ethernet_adapter = true
+ com.canonical.certification::has_i2c = true
+ com.canonical.certification::has_card_reader = false
+ com.canonical.certification::has_thunderbolt3 = false
+ com.canonical.certification::has_usb_type_c = true
+ com.canonical.certification::has_usb_storage = true
+ com.canonical.certification::has_hardware_watchdog = true
+ com.canonical.certification::has_wlan_adapter = true
+ com.canonical.certification::has_wwan_module = true
+ com.canonical.certification::has_tpm2_chip = true
diff --git a/jobs/snap-testing/projects/guanyin.yaml b/jobs/snap-testing/projects/guanyin.yaml
new file mode 100644
index 0000000..6e23dba
--- /dev/null
+++ b/jobs/snap-testing/projects/guanyin.yaml
@@ -0,0 +1,43 @@
+- project:
+ name: inventec-e200
+ queue: inventec-e200-c29873
+ arch: amd64
+ store: wIi98fGHdYxBz8j36NJ8
+ has-serial-assertion: True
+ checkbox_snap: checkbox
+ checkbox_track: 'uc20'
+ launcher: client-cert-iot-ubuntucore
+ starting_sleep: 0
+ provision_data: |
+ provision_data:
+ distro: core20-latest-stable
+ checkbox_conf:
+ !include-raw-escape: jobs/snap-testing/configs/checkbox.conf.guanyin
+ manifest:
+ !include-raw-escape: jobs/snap-testing/manifests/guanyin_manifest.conf
+ custom_launcher:
+ !include-raw-escape: jobs/snap-testing/launchers/guanyin-automated
+ snap_reset_needed: True
+ extra_setup_cmds: |
+ declare -A snap_track_map
+ snap_track_map=( ["intel-kernel"]="20" ["pc"]="20" ["bluez"]="20" ["modem-manager"]="20" ["network-manager"]="20" )
+ jobs:
+ - '{prefix}-{name}-{snap}-{track}-{channel}':
+ snap: pc
+ track: 20
+ - '{prefix}-{name}-{snap}-{track}-{channel}':
+ snap: intel-kernel
+ track: 20
+ - '{prefix}-{name}-{snap}-{channel}':
+ snap: snapd
+ - '{prefix}-{name}-{snap}-{channel}':
+ snap: core20
+ - '{prefix}-{name}-{snap}-{track}-{channel}':
+ snap: bluez
+ track: 20
+ - '{prefix}-{name}-{snap}-{track}-{channel}':
+ snap: modem-manager
+ track: 20
+ - '{prefix}-{name}-{snap}-{track}-{channel}':
+ snap: network-manager
+ track: 20
Follow ups