-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test/system: some small fixes #26947
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the CI results and found only one issue. The other failures look like flakes. Otherwise, LGTM.
test/system/120-load.bats
Outdated
# Bind-mount the archive to a container running httpd | ||
run_podman run -d --name myweb -p "$HOST_PORT:80" \ | ||
run_podman $safe_opts run -d --name myweb -p "$HOST_PORT:80" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are failing because podman-remote
doesn't support the --root
flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah right, but I don't like to skip the test one remote as the download path should be tested there as well.
I guess I have to use a second image
This is an unnecessary network connection that flakes from time to time. Spawn our own local server instead and use that. That also allows to check that the actual file content has been copied. Signed-off-by: Paul Holzinger <[email protected]>
The test pulled a new $IMAGE already because it runs the http server container. So this doesn't striclty ensure the load works correctly. Make sure to actually test the load of a different image, so we use $PODMAN_NONLOCAL_IMAGE_FQN for that like another load test already does. I noticed this as the image pull on the webserver start flaked in a openQA run. Using _prefetch should help to reduce the network pulls here as it caches the image locally once it is pulled for the first time. Signed-off-by: Paul Holzinger <[email protected]>
The distro-integration tag was added for fedora openQA to only run a subset of tests. However since it was added only a few new tests have been labelled like that and in general a normal contributor or even maintianer has no idea when to add this tag. We also have been seeing several regressions getting into fedora that these tests would have caught. As such I worked with Adam to enable all tests for fedora openQA so we actually have proper coverage. This has been working for a few weeks so I think we can dop these tags so upstream does not need to bother with them at all. https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/373 Signed-off-by: Paul Holzinger <[email protected]>
9cc4729
to
247a80d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The tests look like flakes.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Honny1, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
see commits
Does this PR introduce a user-facing change?