-
Notifications
You must be signed in to change notification settings - Fork 296
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
Fix CI tests #1892
Fix CI tests #1892
Conversation
c9e2317
to
82784ef
Compare
This wasn't available when I originally wrote this, but it ensures that the running gpg-agent in tmpgpghome is killed in case the tests exit early.
The ability to expire subkeys using gpg's --quick-set-expire is only available on gnupg 2.1.22. If expiring a subkey fails, assume this is why and skip the tests that require it but run the actions that the subsequent tests depend on. This was failing on the Debian Stretch CI tests since stretch has gnupg 2.1.18.
Move the OstreeKernelArgs autoptr cleanup definition to ostree-autocleanups.h, which will only expose the definitions when building ostree or if glib is new enough. The include of ostree-kernel-args.h needs to be moved before ostree-autocleanups.h in ostree.h so that the OstreeKernelArgs type is declared when the autoptr cleanup is defined. All the places it's used already pull in libglnx.h first so that the compat macros are picked up if glib it too old during the ostree build.
I did what I could but I don't believe I can fix the Anyways, this is ready for review. |
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.
Just one comment, otherwise looks good to me!
I did what I could but I don't believe I can fix the
f29-rpmostree
failure.
It should work to just bump RPMOSTREE_TAG
to v2019.3
, but feel free to leave that one alone for now.
I'll give it a shot. |
The test-ucontainer.sh test in rpmostree 2019.1 is failing for non-ostree reasons. This is fixed in [1], which is part of 2019.3. I believe this is still a relevant test of f29 since that's what's shipped in f29-updates. 1. coreos/rpm-ostree@45b6186
All tests passing now. I forget, does homu take care of squashing my fixups or should I rewrite the history myself? |
Homu will squash. Thanks so much for doing this! I owe you 🍻 |
Well, one of them I introduced myself, so 😛 |
@cgwalters it doesn't look like the merge was initiated. |
All green, beautiful!
Ahh yup, we're missing an |
⚡ Test exempted: merge already tested. |
The ability to expire subkeys using gpg's --quick-set-expire is only available on gnupg 2.1.22. If expiring a subkey fails, assume this is why and skip the tests that require it but run the actions that the subsequent tests depend on. This was failing on the Debian Stretch CI tests since stretch has gnupg 2.1.18. Closes: #1892 Approved by: jlebon
Move the OstreeKernelArgs autoptr cleanup definition to ostree-autocleanups.h, which will only expose the definitions when building ostree or if glib is new enough. The include of ostree-kernel-args.h needs to be moved before ostree-autocleanups.h in ostree.h so that the OstreeKernelArgs type is declared when the autoptr cleanup is defined. All the places it's used already pull in libglnx.h first so that the compat macros are picked up if glib it too old during the ostree build. Closes: #1892 Approved by: jlebon
The test-ucontainer.sh test in rpmostree 2019.1 is failing for non-ostree reasons. This is fixed in [1], which is part of 2019.3. I believe this is still a relevant test of f29 since that's what's shipped in f29-updates. 1. coreos/rpm-ostree@45b6186 Closes: #1892 Approved by: jlebon
This wasn't available when I originally wrote this, but it ensures that the running gpg-agent in tmpgpghome is killed in case the tests exit early. Closes: ostreedev#1892 Approved by: jlebon
The ability to expire subkeys using gpg's --quick-set-expire is only available on gnupg 2.1.22. If expiring a subkey fails, assume this is why and skip the tests that require it but run the actions that the subsequent tests depend on. This was failing on the Debian Stretch CI tests since stretch has gnupg 2.1.18. Closes: ostreedev#1892 Approved by: jlebon
Move the OstreeKernelArgs autoptr cleanup definition to ostree-autocleanups.h, which will only expose the definitions when building ostree or if glib is new enough. The include of ostree-kernel-args.h needs to be moved before ostree-autocleanups.h in ostree.h so that the OstreeKernelArgs type is declared when the autoptr cleanup is defined. All the places it's used already pull in libglnx.h first so that the compat macros are picked up if glib it too old during the ostree build. Closes: ostreedev#1892 Approved by: jlebon
The test-ucontainer.sh test in rpmostree 2019.1 is failing for non-ostree reasons. This is fixed in [1], which is part of 2019.3. I believe this is still a relevant test of f29 since that's what's shipped in f29-updates. 1. coreos/rpm-ostree@45b6186 Closes: ostreedev#1892 Approved by: jlebon
Some of the CI tests are always failing, which makes it hard to know if your PR is adding new failures.