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

backport test fixes and bug fixes to RHEL 8 AppStream #12390

Merged

Conversation

martinpitt
Copy link
Member

No description provided.

martinpitt and others added 6 commits July 22, 2019 16:54
So that we can run semaphore tests on this rhel-8-appstream branch.
Add a mechanism for skipping slow tests when requested by an environment
variable (which we set, by default, when running tests under valgrind).

Use this new API from the /ssh-bridge/echo-large test.  For some reason,
it's extremely slow under valgrind, particularly on i386 — slow enough
that we're regularly hitting the alarm() timeout of 120 seconds on
semaphore.

Cherry-picked from master commit c7c3a6a.
Add some code to cockpit-bridge to detect if it's running under valgrind
(ie: as part of 'make check-memory') and cause it to delay its exit by 5
seconds in that case.

This helps avoid https://bugs.kde.org/show_bug.cgi?id=409367, which
otherwise will cause the units test container to hang fairly regularly
on Ubuntu 19.04.

Cherry-picked from master commit 5716079.
git worktrees have a .git file instead of a directory. Relax the file
type tests in our tools to get along with these.

Cherry-picked from upstream commit ef49e35.
…e of the installation

Only try to redefine the domain when the installation failed and the
domain is appearing in the 'virsh list' command.
In case the domain is not present, the user manually deleted the domain
and in this case we should not undo the user's action.

https://bugzilla.redhat.com/show_bug.cgi?id=1715399

Cherry-picked from master commit 9b3927
…active

This commit calls the poolRefresh API everytime when fetching the list storage
pools. This will trigger the refresh event to get emited, which will
call the GET_STORAGE_POOL for each refreshed pool.
Inactive pools don't have events, so call directly the GET_STORAGE_POOL
method for those.

This commit will allow the user to refresh pool data by reloading the browser page.

https://bugzilla.redhat.com/show_bug.cgi?id=1680293

Cherry-picked from master commit 026dd4.
@martinpitt martinpitt added the backport apply a commit from master to a stable branch label Jul 22, 2019
@martinpitt martinpitt changed the title backport test fixes and a first bug fix to RHEL 8 AppStream backport test fixes and bug fixes to RHEL 8 AppStream Jul 22, 2019
@martinpitt
Copy link
Member Author

Backported fix for this crash as well.

@martinpitt
Copy link
Member Author

There's a timeout on check-realms on rhel-8-0-distropkg. But this PR doesn't touch pkg/realmd and doesn't aim at 8.0 (but 8.1), so I think it's good enough.

@marusak
Copy link
Member

marusak commented Jul 23, 2019

Needs to rebase to master since #12367 changed tests names

Copy link
Member

@marusak marusak left a comment

Choose a reason for hiding this comment

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

Thank you :)

@martinpitt martinpitt merged commit 173a909 into cockpit-project:rhel-8-appstream Jul 23, 2019
@martinpitt martinpitt deleted the rhel-8-appstream branch July 23, 2019 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport apply a commit from master to a stable branch needs-rebase unrelated-test-failure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants