← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/auto-upgrade-testing-specifications:add_server_jobs into auto-upgrade-testing-specifications:main

 

Tim Andersson has proposed merging ~andersson123/auto-upgrade-testing-specifications:add_server_jobs into auto-upgrade-testing-specifications:main.

Requested reviews:
  Canonical Platform QA Team (canonical-platform-qa)

For more details, see:
https://code.launchpad.net/~andersson123/auto-upgrade-testing-specifications/+git/auto-upgrade-testing-specifications/+merge/453811
-- 
Your team Canonical Platform QA Team is requested to review the proposed merge of ~andersson123/auto-upgrade-testing-specifications:add_server_jobs into auto-upgrade-testing-specifications:main.
diff --git a/profiles/ubuntu-jammy-lunar-server-amd64_qemu.yaml b/profiles/ubuntu-jammy-lunar-server-amd64_qemu.yaml
new file mode 100644
index 0000000..8405e91
--- /dev/null
+++ b/profiles/ubuntu-jammy-lunar-server-amd64_qemu.yaml
@@ -0,0 +1,23 @@
+---
+- testname: "jammy->lunar desktop upgrade"
+  provisioning:
+    backend: qemu
+    arch: amd64
+    flavor: ubuntu
+    image_name: jammy_lunar_ubuntu_server_amd64.img
+    build_args:
+      - "--post-command 'sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install server^' -v --timeout 14400"
+    releases:
+      - "jammy"
+      - "lunar"
+
+  script_location: file://../tests
+  pre_upgrade_scripts:
+    - "check-ubuntu-server"
+    - "enable-apport-noui"
+
+  post_upgrade_tests:
+    - "check-conffile-prompt"
+    - "check-var-crash-empty"
+
+  run_system_tests: true
diff --git a/profiles/ubuntu-lunar-mantic-server-amd64_qemu.yaml b/profiles/ubuntu-lunar-mantic-server-amd64_qemu.yaml
new file mode 100644
index 0000000..a3659a1
--- /dev/null
+++ b/profiles/ubuntu-lunar-mantic-server-amd64_qemu.yaml
@@ -0,0 +1,23 @@
+---
+- testname: "lunar->mantic desktop upgrade"
+  provisioning:
+    backend: qemu
+    arch: amd64
+    flavor: ubuntu
+    image_name: lunar_mantic_ubuntu_server_amd64.img
+    build_args:
+      - "--post-command 'sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install server^' -v --timeout 14400"
+    releases:
+      - "lunar"
+      - "mantic"
+
+  script_location: file://../tests
+  pre_upgrade_scripts:
+    - "check-ubuntu-server"
+    - "enable-apport-noui"
+
+  post_upgrade_tests:
+    - "check-conffile-prompt"
+    - "check-var-crash-empty"
+
+  run_system_tests: true
diff --git a/tests/check-ubuntu-server b/tests/check-ubuntu-server
new file mode 100755
index 0000000..8dad05b
--- /dev/null
+++ b/tests/check-ubuntu-server
@@ -0,0 +1 @@
+dpkg-query -W ubuntu-server
\ No newline at end of file

Follow ups