Add scripts to verify BZ1980679#1231
Add scripts to verify BZ1980679#1231HuijingHei wants to merge 11 commits intocoreos:testing-develfrom HuijingHei:testing-devel
Conversation
The remote ignition file will be used to verify BZ1980679, including inject kernel arguments and write something to /etc/testfile
config.ign to include remote.ign verify kernel arg and exists /etc/testfile
|
Test with qemu image, get error: Test with azure, result is passed |
|
hmm other qemu tests of ours that need internet work just fine.. this might actually be an issue with our "we need internet, so let's bring up the network" detection logic in the initramfs not working like it should. I can try to dig into this more tomorrow. The summary is that this should absolutely work (unless I'm extremely confused) and if it doesn't work it's a bug we should fix. |
Thanks! Perhaps my env is not correct, I will try to find |
travier
left a comment
There was a problem hiding this comment.
LGTM. Can you squash everything into a single commit?
|
Here are the related console logs when testing on qemu qcow2 image, is this because guest (with ip 10.0.2.15) can not reach github? |
|
The test passes for me locally with FCOS and with the latest 4.9 RHCOS. What version string of RHCOS are you testing with? Also maybe it has something to do with your environment not being able to get DNS somehow? To test that theory you could substitute the hostname in the url with an ip address. |
| { | ||
| "ignition": { | ||
| "version": "3.3.0", | ||
| "config": { | ||
| "merge": [ | ||
| { | ||
| "source": "https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/tests/kola/ignition/remote/remote.ign", | ||
| "verification": { | ||
| "hash": "sha512-1c840823419a2eae431356b58d0c498f4ec84ef3d2b9a4fa42f75749a89fe1f413a848d9082d5dc6c243324b57fa7a76b4ef6dde5d023f9bba549b7755836170" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
optional: for some reason I prefer these files to be in butane format (a little more easy to read and hack on if we need to add anything in the future). We could convert this to butane and rename it to config.bu.
I use the latest 4.9 RHCOS. |
yeah sorry. that was a bad idea on my part. Sorry for leading you down that path. |
|
summary of why it was failing for @HuijingHei on qemu - |
|
Thanks @dustymabe to find the root cause https://www.tutorialexample.com/fix-raw-githubusercontent-com-is-not-accessed-in-china-and-download-files/, will remove the related lines |
This works with qemu-unpriv Co-authored-by: Dusty Mabe <dusty@dustymabe.com>
c0554b1
Remove exclusion for qemu-unpriv
Remove exclusion for qemu-unpriv
|
Looks good to me but we need to squash everything down into a single commit |
Co-authored-by: Dusty Mabe <dusty@dustymabe.com>
|
Sorry I delete my forked repo by mistake. Make this duplicate of #1232 |
This PR is to add scripts to verify https://bugzilla.redhat.com/show_bug.cgi?id=1980679:
Add comment to put an exclusion on qemu: