Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domtime: update for s390x #5936

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smitterl
Copy link
Contributor

@smitterl smitterl commented Oct 9, 2024

hwclock is not available on s390x and guest agent operators that modify the time either.

  1. Don't try to restore time (with --now flag) during teardown.
  2. Disable test cases that try to modify time.
  3. Skip step that uses hwclock.

@smitterl
Copy link
Contributor Author

smitterl commented Oct 9, 2024

JOB ID     : c2abf4ec26995daa203755684f49cb314dc88c4f
JOB LOG    : /var/log/avocado/job-results/job-2024-10-09T13.11-c2abf4e/job.log
 (1/8) type_specific.io-github-autotest-libvirt.virsh.domtime.positive.get_time:  PASS (21.59 s)
 (2/8) type_specific.io-github-autotest-libvirt.virsh.domtime.positive.with_pretty:  PASS (22.58 s)
 (3/8) type_specific.io-github-autotest-libvirt.virsh.domtime.positive.suspend_vm:  PASS (32.88 s)
 (4/8) type_specific.io-github-autotest-libvirt.virsh.domtime.positive.managedsave_vm:  PASS (50.37 s)
 (5/8) type_specific.io-github-autotest-libvirt.virsh.domtime.negative.shutdown_vm:  PASS (31.83 s)
 (6/8) type_specific.io-github-autotest-libvirt.virsh.domtime.negative.no_agent_channel:  PASS (23.68 s)
 (7/8) type_specific.io-github-autotest-libvirt.virsh.domtime.negative.no_agent:  PASS (22.31 s)
 (8/8) type_specific.io-github-autotest-libvirt.virsh.domtime.negative.readonly_test.get_time_readonly:  PASS (22.74 s)
RESULTS    : PASS 8 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/log/avocado/job-results/job-2024-10-09T13.11-c2abf4e/results.html
JOB TIME   : 228.39 s

@@ -3,23 +3,36 @@
start_vm = no
take_regular_screendumps = "no"
vm_stop_duration = 10
s390-virtio:
positive:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think line 7 ~ line 10 are not necessary since you already add no s390-virtio in respective variant name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chunfuwen You are right there is duplication but the intention of 7-10 is exactly to prevent each variant from having its own 'no s390-virtio', this way all config is in one place. So I removed the subvariant specific 'no s390-virtio' filters.

hwclock is not available on s390x and guest agent operators that
modify the time either.

1. Don't try to restore time (with --now flag) during teardown.
2. Disable test cases that try to modify time.
3. Skip step that uses hwclock.

Signed-off-by: Sebastian Mitterle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants