Fixes for server_cockpit_updates@64bit on rocky-8.4-dvd-iso-x86_64 #47

Merged
tcooper merged 5 commits from issue_14 into develop 2021-09-30 02:16:17 +00:00
tcooper commented 2021-09-20 22:51:30 +00:00 (Migrated from github.com)

Description

Fixes server_cockpit_updates on rocky-8.4-dvd-iso-x86_64 for PACKAGE_SET=server.

Fixes #14

How Has This Been Tested?

  • installed openQA dev host with Rocky Ansible playbook for openQA
  • implemented included changes for server_cockpit_updates
  • captured additional needles (as required).
  • ran full test sequences with POST of DVD ISO for PACKAGE_SET=server
  • server_cockpit_updates were verified to complete successfully

ISO POST

[rocky@openqa-dev rocky]$ openqa-cli api -X POST isos \
  ISO=Rocky-8.4-x86_64-dvd1.iso ARCH=x86_64 \
  DISTRI=rocky \
  FLAVOR=dvd-iso \
  PACKAGE_SET=minimal \
  VERSION=8.4 \
  BUILD=$(date +%Y%m%d.%H%M%S).0
install_default_upload_all_dependencies

Testsuite JSON for server_cockpit_updates

[rocky@openqa-dev needles]$ openqa-cli api jobs/304 | jq '.'
{
  "job": {
    "assets": {
      "hdd": [
        "00000197-disk_64bit_cockpit.qcow2"
      ],
      "iso": [
        "Rocky-8.4-x86_64-dvd1.iso"
      ]
    },
    "assigned_worker_id": 1,
    "blocked_by_id": null,
    "children": {
      "Chained": [],
      "Directly chained": [],
      "Parallel": []
    },
    "clone_id": null,
    "group": "Rocky",
    "group_id": 1,
    "has_parents": 1,
    "id": 304,
    "name": "rocky-8.4-dvd-iso-x86_64-Build20210917.005323.0-server_cockpit_updates@64bit",
    "origin_id": 303,
    "parents": {
      "Chained": [
        197
      ],
      "Directly chained": [],
      "Parallel": []
    },
    "parents_ok": 1,
    "priority": 30,
    "result": "passed",
    "settings": {
      "ARCH": "x86_64",
      "ARCH_BASE_MACHINE": "64bit",
      "BACKEND": "qemu",
      "BOOTFROM": "c",
      "BUILD": "20210917.005323.0",
      "DEPLOY_UPLOAD_TEST": "install_default_upload",
      "DISTRI": "rocky",
      "FLAVOR": "dvd-iso",
      "HDD_1": "disk_64bit_cockpit.qcow2",
      "ISO": "Rocky-8.4-x86_64-dvd1.iso",
      "MACHINE": "64bit",
      "NAME": "00000304-rocky-8.4-dvd-iso-x86_64-Build20210917.005323.0-server_cockpit_updates@64bit",
      "PACKAGE_SET": "minimal",
      "PART_TABLE_TYPE": "mbr",
      "POSTINSTALL": "server_cockpit_updates server_cockpit_autoupdate",
      "QEMUCPU": "Nehalem",
      "QEMUCPUS": "2",
      "QEMURAM": "2048",
      "QEMUVGA": "virtio",
      "QEMU_VIRTIO_RNG": "1",
      "ROOT_PASSWORD": "weakpassword",
      "START_AFTER_TEST": "server_cockpit_default",
      "TEST": "server_cockpit_updates",
      "TEST_SUITE_NAME": "server_cockpit_updates",
      "TEST_TARGET": "ISO",
      "USER_LOGIN": "false",
      "VERSION": "8.4",
      "WORKER_CLASS": "qemu_x86_64"
    },
    "state": "done",
    "t_finished": "2021-09-20T05:22:09",
    "t_started": "2021-09-20T03:34:19",
    "test": "server_cockpit_updates"
  }
}

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
## Description Fixes `server_cockpit_updates` on `rocky-8.4-dvd-iso-x86_64` for `PACKAGE_SET=server`. Fixes #14 ## How Has This Been Tested? - installed openQA dev host with Rocky Ansible playbook for openQA - implemented included changes for `server_cockpit_updates` - captured additional needles (as required). - ran full test sequences with `POST` of DVD ISO for `PACKAGE_SET=server` - `server_cockpit_updates` were verified to complete successfully ### ISO POST ```bash [rocky@openqa-dev rocky]$ openqa-cli api -X POST isos \ ISO=Rocky-8.4-x86_64-dvd1.iso ARCH=x86_64 \ DISTRI=rocky \ FLAVOR=dvd-iso \ PACKAGE_SET=minimal \ VERSION=8.4 \ BUILD=$(date +%Y%m%d.%H%M%S).0 ``` <img width="1175" alt="install_default_upload_all_dependencies" src="https://user-images.githubusercontent.com/542846/134086185-f6705c9a-26d9-4ad6-a984-d0e2023b1c56.png"> ### Testsuite JSON for `server_cockpit_updates` ```bash [rocky@openqa-dev needles]$ openqa-cli api jobs/304 | jq '.' ``` ```json { "job": { "assets": { "hdd": [ "00000197-disk_64bit_cockpit.qcow2" ], "iso": [ "Rocky-8.4-x86_64-dvd1.iso" ] }, "assigned_worker_id": 1, "blocked_by_id": null, "children": { "Chained": [], "Directly chained": [], "Parallel": [] }, "clone_id": null, "group": "Rocky", "group_id": 1, "has_parents": 1, "id": 304, "name": "rocky-8.4-dvd-iso-x86_64-Build20210917.005323.0-server_cockpit_updates@64bit", "origin_id": 303, "parents": { "Chained": [ 197 ], "Directly chained": [], "Parallel": [] }, "parents_ok": 1, "priority": 30, "result": "passed", "settings": { "ARCH": "x86_64", "ARCH_BASE_MACHINE": "64bit", "BACKEND": "qemu", "BOOTFROM": "c", "BUILD": "20210917.005323.0", "DEPLOY_UPLOAD_TEST": "install_default_upload", "DISTRI": "rocky", "FLAVOR": "dvd-iso", "HDD_1": "disk_64bit_cockpit.qcow2", "ISO": "Rocky-8.4-x86_64-dvd1.iso", "MACHINE": "64bit", "NAME": "00000304-rocky-8.4-dvd-iso-x86_64-Build20210917.005323.0-server_cockpit_updates@64bit", "PACKAGE_SET": "minimal", "PART_TABLE_TYPE": "mbr", "POSTINSTALL": "server_cockpit_updates server_cockpit_autoupdate", "QEMUCPU": "Nehalem", "QEMUCPUS": "2", "QEMURAM": "2048", "QEMUVGA": "virtio", "QEMU_VIRTIO_RNG": "1", "ROOT_PASSWORD": "weakpassword", "START_AFTER_TEST": "server_cockpit_default", "TEST": "server_cockpit_updates", "TEST_SUITE_NAME": "server_cockpit_updates", "TEST_TARGET": "ISO", "USER_LOGIN": "false", "VERSION": "8.4", "WORKER_CLASS": "qemu_x86_64" }, "state": "done", "t_finished": "2021-09-20T05:22:09", "t_started": "2021-09-20T03:34:19", "test": "server_cockpit_updates" } } ``` # Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] Any dependent changes have been merged and published in downstream modules
tcooper commented 2021-09-20 22:55:32 +00:00 (Migrated from github.com)

@akatch , @lumarel or @StackKorora Can one of you test this in your system to make sure it passes. Numerous issues with running on my (slow) system have been resolved but I don't want to merge code that only takes care of unique issues with my environment. After one of you verify the test passes and it doesn't take inordinately long I'll unblock it from being merged.

@akatch , @lumarel or @StackKorora Can one of you test this in your system to make sure it passes. Numerous issues with running on my (slow) system have been resolved but I don't want to merge code that only takes care of unique issues with my environment. After one of you verify the test passes and it doesn't take inordinately long I'll unblock it from being merged.
akatch commented 2021-09-21 20:36:50 +00:00 (Migrated from github.com)

This looks good to me. Run time was 11:42, which seems reasonable to me.

This looks good to me. Run time was 11:42, which seems reasonable to me.
tcooper commented 2021-09-21 20:41:46 +00:00 (Migrated from github.com)

Thanks @akatch ... switched from draft to full pull request.

Thanks @akatch ... switched from draft to full pull request.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testing/os-autoinst-distri-rocky-migrated#47
No description provided.