add addition data collection #45

Merged
tcooper merged 1 commits from issue_30 into develop 2021-09-09 23:12:46 +00:00
tcooper commented 2021-09-08 17:47:59 +00:00 (Migrated from github.com)

Description

Adds additional data collection tasks to _collect_data.pl test.

Fixes #30

How Has This Been Tested?

Reran existing test install_minimal@64bit for rocky-8.4-minimal-iso.x86_64 originally submitted as part of ansible automation as...

tasks/openqa.yml

- name: POST a job
  command: |
    openqa-cli api -X POST isos \
      ISO=Rocky-{{ rocky_version }}-{{ rocky_arch }}-minimal.iso \
      ARCH={{ rocky_arch }} \
      DISTRI=rocky \
      FLAVOR=minimal-iso \
      VERSION={{ rocky_version }} \
      BUILD="{{ '%Y%m%d.%H%M%S' | strftime }}.0"    
  changed_when: "1 != 1"

Test completed to 100% and additional data collected was uploaded to the openQA server.

issue_30_test_success

sample output - _collect_data-lsblk.log

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0          11:0    1  1.9G  0 rom  
vda         252:0    0   10G  0 disk 
├─vda1      252:1    0    1G  0 part /boot
└─vda2      252:2    0    9G  0 part 
  ├─rl-root 253:0    0    8G  0 lvm  /
  └─rl-swap 253:1    0    1G  0 lvm  [SWAP]

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 Adds additional data collection tasks to `_collect_data.pl` test. Fixes #30 # How Has This Been Tested? Reran existing test `install_minimal@64bit` for `rocky-8.4-minimal-iso.x86_64` originally submitted as part of ansible automation as... **tasks/openqa.yml** ```yaml - name: POST a job command: | openqa-cli api -X POST isos \ ISO=Rocky-{{ rocky_version }}-{{ rocky_arch }}-minimal.iso \ ARCH={{ rocky_arch }} \ DISTRI=rocky \ FLAVOR=minimal-iso \ VERSION={{ rocky_version }} \ BUILD="{{ '%Y%m%d.%H%M%S' | strftime }}.0" changed_when: "1 != 1" ``` Test completed to 100% and additional data collected was uploaded to the openQA server. <img width="803" alt="issue_30_test_success" src="https://user-images.githubusercontent.com/542846/132558762-ec4aea95-3d51-4524-a237-f6a536fca6a7.png"> **sample output - `_collect_data-lsblk.log`** ``` NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1.9G 0 rom vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 9G 0 part ├─rl-root 253:0 0 8G 0 lvm / └─rl-swap 253:1 0 1G 0 lvm [SWAP] ``` # 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
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#45
No description provided.