Kevin Yeh has proposed merging ~kevinyeh/hwcert-jenkins-jobs:add-katy-suv into hwcert-jenkins-jobs:master.
Commit message: Add: add katy 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/435243 -- Your team hwcert-jenkins is requested to review the proposed merge of ~kevinyeh/hwcert-jenkins-jobs:add-katy-suv into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/configs/checkbox.conf.katy b/jobs/snap-testing/configs/checkbox.conf.katy new file mode 100644 index 0000000..44e37a1 --- /dev/null +++ b/jobs/snap-testing/configs/checkbox.conf.katy @@ -0,0 +1,33 @@ +# Please keep the indents below, for yaml formatting/templating + [environment] + WIFI_INTERFACE=wlan0 + WATCHDOG_KERNEL_MOD=iTCO_wdt + OPEN_N_SSID=cert-n-open-tel-l3-01 + OPEN_BG_SSID=cert-bg-open-tel-l3-01 + OPEN_AC_SSID=cert-ac-open-tel-l3-01 + WPA_N_SSID=cert-n-wpa-tel-l3-01 + WPA_BG_SSID=cert-bg-wpa-tel-l3-01 + WPA_AC_SSID=cert-ac-wpa-tel-l3-01 + WPA_N_PSK=insecure + WPA_BG_PSK=insecure + WPA_AC_PSK=insecure + BTDEVADDR=C0:B5:D7:C1:74:38 + WWAN_APN=internet + WWAN_NET_IF=ppp0 + WWAN_CONTROL_IF=ttyACM3 + STRESS_BOOT_ITERATIONS=30 + STRESS_S3_ITERATIONS=30 + STRESS_S4_ITERATIONS=30 + TEST_TARGET_IPERF=10.102.88.25,10.102.182.100,10.102.182.137,10.102.182.101 + STRESS_S4_WAIT_DELAY=120 + STRESS_S4_SLEEP_DELAY=60 + STRESS_S3_SLEEP_DELAY=60 + STRESS_BOOT_WAKEUP_DELAY=60 + STRESS_S3_WAIT_DELAY=120 + STRESS_BOOT_WAIT_DELAY=120 + WIFI_AP_SETUPTIME=30 + WWAN_SETUPTIME=30 + TPM2TOOLS_TCTI_NAME=device + TPM2TOOLS_DEVICE_FILE=/dev/tpm0 + STORE_ID=Eg0UzssYv7SioNhetBUp + SERIAL_PORTS_STATIC=/dev/ttyS0 diff --git a/jobs/snap-testing/launchers/katy-automated b/jobs/snap-testing/launchers/katy-automated new file mode 100644 index 0000000..fecd33a --- /dev/null +++ b/jobs/snap-testing/launchers/katy-automated @@ -0,0 +1,19 @@ +# Please keep the indents below, for yaml formatting/templating + [launcher] + app_id = com.canonical.qa.katy:checkbox + launcher_version = 1 + stock_reports = text, submission_files, certification + + [test plan] + unit = com.canonical.qa.katy::katy-automated + forced = yes + + [test selection] + forced = yes + exclude = com.canonical.certification::image/model-grade + + [ui] + type = silent + auto_retry = yes + max_attempts = 4 + delay_before_retry = 30 diff --git a/jobs/snap-testing/manifests/katy_manifest.conf b/jobs/snap-testing/manifests/katy_manifest.conf new file mode 100644 index 0000000..b408af8 --- /dev/null +++ b/jobs/snap-testing/manifests/katy_manifest.conf @@ -0,0 +1,20 @@ +# keep formatting + [manifest] + com.canonical.certification::has_audio_capture = false + com.canonical.certification::has_audio_playback = false + com.canonical.certification::has_ethernet_adapter = false + com.canonical.certification::has_bt_adapter = true + com.canonical.certification::has_bt_smart = false + com.canonical.certification::has_card_reader = false + com.canonical.certification::has_i2c = false + com.canonical.certification::has_special_keys = false + com.canonical.certification::has_thunderbolt = false + com.canonical.certification::has_thunderbolt3 = false + com.canonical.certification::has_touchscreen = false + com.canonical.certification::has_tpm_chip = false + com.canonical.certification::has_tpm2_chip = true + com.canonical.certification::has_usb_storage = true + com.canonical.certification::has_usb_type_c = false + com.canonical.certification::has_wwan_module = false + com.canonical.certification::has_wlan_adapter = false + com.canonical.certification::has_camera = false diff --git a/jobs/snap-testing/projects/katy.yaml b/jobs/snap-testing/projects/katy.yaml new file mode 100644 index 0000000..19b714c --- /dev/null +++ b/jobs/snap-testing/projects/katy.yaml @@ -0,0 +1,43 @@ +- project: + name: katy + queue: katy + email: [email protected] + arch: amd64 + store: Eg0UzssYv7SioNhetBUp + checkbox_snap: checkbox-katy + launcher: '' + provision_data: | + provision_data: + distro: core20-latest-stable + extra_setup_cmds: + _run sudo snap install bluez --channel=latest/stable + custom_launcher: + !include-raw-escape: jobs/snap-testing/launchers/katy-automated + has-serial-assertion: False + snap_reset_needed: True + track: latest + user: ubuntu + test_data: | + # user and password for havana-dome + test_username: ubuntu + test_password: ubuntu + checkbox_track: latest + checkbox_channel: edge + checkbox_conf: + !include-raw-escape: jobs/snap-testing/configs/checkbox.conf.katy + manifest: + !include-raw-escape: jobs/snap-testing/manifests/katy_manifest.conf + jobs: + - '{prefix}-{name}-{snap}-{channel}': + snap: checkbox-katy + channel: edge + extra_args: --devmode + - '{prefix}-{name}-{snap}-{channel}': + snap: checkbox20 + - '{prefix}-{name}-{snap}-{channel}': + snap: core20 + - '{prefix}-{name}-{snap}-{track}-{channel}': + snap: iot-kernel + track: 20 + - '{prefix}-{name}-{snap}-{channel}': + snap: snapd
-- Mailing list: https://launchpad.net/~canonical-hw-cert Post to : [email protected] Unsubscribe : https://launchpad.net/~canonical-hw-cert More help : https://help.launchpad.net/ListHelp

