-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cirrus: add podman_machine_aarch64 #15031
Cirrus: add podman_machine_aarch64 #15031
Conversation
I'm not seeing any way that the separate arch64 tasks can be combined into the existing ones, so I suppose we have to live with it. I'm seeing this as an attempt to get CI working, and am assuming that everyone's goal is to merge #14972 first, then #14719, then rebase and review this one. If that is not a correct assumption, please respond here. |
@edsantiago Exactly as you said. I only included those cause @cevich said it contains some fixes. |
d49a974
to
54fdd3e
Compare
54fdd3e
to
54861a2
Compare
@cevich remind me please, do i need some label to get the machine tests to run ? |
can't quite figure out the exact failure in x86_64 machine test |
@cevich @edsantiago would |
As best I can tell, the new stanza is identical to the old one except for the AARCH64 parts (and whitespace differences). The tag should apply, I don't see anything in cirrus docs indicating that "it only works for one task" or anything like that. So, no idea why the new one didn't trigger, and no idea why the first one failed. Sorry. |
01312d4
to
d93eefe
Compare
1654af4
to
2a860dc
Compare
40d55dd
to
c59317a
Compare
9ff6812
to
8595482
Compare
Go expert needed. Looks like go lint is smart enough to realize that
Go expert, please give the solution. |
Oh, never mind. @lsm5 try this: diff --git a/pkg/machine/e2e/basic_test.go b/pkg/machine/e2e/basic_test.go
index 2228259f9..923e7cde4 100644
--- a/pkg/machine/e2e/basic_test.go
+++ b/pkg/machine/e2e/basic_test.go
@@ -1,6 +1,8 @@
package e2e_test
import (
+ "os"
+
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/gexec"
@@ -20,7 +22,9 @@ var _ = Describe("run basic podman commands", func() {
})
It("Basic ops", func() {
- Skip("FIXME: #15347 - Basic ops fails on PR runs and on x86_64")
+ if os.Getenv("CIRRUS_CI") != "" {
+ Skip("FIXME: #15347 - Basic ops fails on PR runs and on x86_64")
+ }
name := randomString()
i := new(initMachine) |
8595482
to
581c5d2
Compare
Very minimally tested: Just above the bmOnlyToMarkUsed := basicMachine{}
_ = bmOnlyToMarkUsed.withPodmanCommand
Skip("…") and possibly similarly for other unused methods. |
581c5d2
to
4b16f53
Compare
FWIW the I’d only recommend a minor improvement: something like |
… and to add a comment to the |
4b16f53
to
f67a377
Compare
PTAL at changes. |
Sorry that I missed this today. If needed I can assist @baude with the known_hosts patch. Everything @mtrmac is right, we opted not to write to a file if the key did not exist. Adding a way to enable/disable this (with the default option to be disable) seems like the best fix. I can fire away a c/common PR if no one has tried that route yet. I'm back from PTO this Sunday, so I will look for other issues with the machine tests that might have slipped through before then to ensure nothing else breaks. |
Careful, for anybody using |
That's a feature (albeit not one I had intended): anyone using The important thing right now is to get this PR merged, and the way to do that is by skipping the test in Cirrus. |
Well, we can hope at least. Otherwise this will be a constant nag for anybody trying to play with anything podman-machine related in Either way, you're right, we do need to get this PR merged ASAP. |
Run machine tests on every PR as label-driven machine test triggering is currently hard to predict and debug. Co-authored-by: Ed Santiago <[email protected]> Co-authored-by: Miloslav Trmač <[email protected]> Signed-off-by: Lokesh Mandvekar <[email protected]>
f67a377
to
2a6daa1
Compare
@baude @edsantiago @cevich good to go. PTAL. |
@lsm5 I'm sitting here watching the spinning CI and waiting for it to finish... |
yup 😆 I meant apart from the artifacts test |
/lgtm \o/ |
Good job everybody, esp. @lsm5 leading this. Pretty soon I'll be completely out of a job 🤣 |
with my awesome yaml skills, you have at least a 100 years worth of job security 😆 |
Depends on #14801
Does this PR introduce a user-facing change?