← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~pwlars/hwcert-jenkins-jobs:no-power-management-unmatched into hwcert-jenkins-jobs:master

 

Paul Larson has proposed merging ~pwlars/hwcert-jenkins-jobs:no-power-management-unmatched into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~pwlars/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/427226

These tests break in both focal and jammy, and seem to get stuck trying to modify a lightdm.conf, then prevent any further execution so the entire run fails. lightdm.conf is definitely not going to be on the server install, so I'm not sure why these should run at all.
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~pwlars/hwcert-jenkins-jobs:no-power-management-unmatched into hwcert-jenkins-jobs:master.
diff --git a/jobs/image-testing/launchers/checkbox-sru-nostress-nopowermanagement.conf b/jobs/image-testing/launchers/checkbox-sru-nostress-nopowermanagement.conf
new file mode 100644
index 0000000..1aa01dd
--- /dev/null
+++ b/jobs/image-testing/launchers/checkbox-sru-nostress-nopowermanagement.conf
@@ -0,0 +1,21 @@
+# Please keep the indents below, for yaml formatting/templating
+        #!/usr/bin/env checkbox-cli
+        [launcher]
+        launcher_version = 1
+
+        [daemon]
+        normal_user = ubuntu
+
+        [test plan]
+        unit = com.canonical.certification::sru
+        forced = yes
+
+        [test selection]
+        forced = yes
+        exclude = .*disk/disk_stress_ng_.* .*stress/cpu_stress_ng_test .*power-management.*
+
+        [ui]
+        type = silent
+        auto_retry = yes
+        max_attempts = 3
+        delay_before_retry = 15
diff --git a/jobs/image-testing/projects/unmatched-server.yaml b/jobs/image-testing/projects/unmatched-server.yaml
index 6047914..5ee02a2 100644
--- a/jobs/image-testing/projects/unmatched-server.yaml
+++ b/jobs/image-testing/projects/unmatched-server.yaml
@@ -8,7 +8,7 @@
       provision_data:
             url: {image_base_url}/{image_file}
     custom_launcher:
-      !include-raw-escape: jobs/image-testing/launchers/checkbox-sru-nostress.conf
+      !include-raw-escape: jobs/image-testing/launchers/checkbox-sru-nostress-nopowermanagement.conf
     manifest: >-
       [manifest]
               com.canonical.certification::has_audio_playback = true

Follow ups