-
Notifications
You must be signed in to change notification settings - Fork 170
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
tests: add ostree.sync test #3998
Conversation
Skipping CI for Draft Pull Request. |
There are still 2 issues:
More debug info on qemu:
The |
6d79dbc
to
6f63a4a
Compare
778121e
to
6f821b7
Compare
Except the above #3998 (comment), and test failed using unfixed Ready to review now, thanks! |
6f821b7
to
ea38775
Compare
We may need to forward port 111 too for NFS but it's giving me an error when I try it. I'll have to dig in some more. The other test is using an NFS container. I wonder if it is configured differently than using NFS directly on the host. |
I tried JB's #3922, run locally and passed. Maybe I should try with NFS container. |
Tried NFS container, made some changes to the containerfile and push to Also tried manually mount in kdump case:
Not sure if there is any workaround for this. |
Yeah I noticed the same. I don't understand why this happens. In the kdump test that does not matter too much but in your case it's important, we should get to the bottom of this :) |
Add hostforwardport 111 like |
looks like nfs3 requires port 111. nfs4 only requires port 2049 but it has a concept of a global root directory:
While I was unable to do
I was able to do
|
ea38775
to
e9ef874
Compare
6bc96f5
to
8c28664
Compare
Thanks @mike-nguyen and @jbtrystram for the pointer! Though the CI failed, manually run 5 times, all passed.
|
ecaa8ca
to
a8ab2af
Compare
/retest-required |
Something strange is going on with CI. I created #4000 to see why we're getting a 403 to the f41-coreos-continous repos. If I add a |
a8ab2af
to
8b93ac0
Compare
Thank you for the debugging, seems the 403 issue is fixed, but failed with another reason, will look at it. |
bd33db4
to
8c21f51
Compare
CI is fixed by #4002, rebase the patch and rerun, ready to review, thanks! |
Hold on, find this also passed on |
f16dc32
to
21823c2
Compare
@jbtrystram put
|
Add test for https://issues.redhat.com/browse/OCPBUGS-15917, to verify ostree can sync the filesystem with the disconnected network volume(NFS). As we do not have ceph for testing, according to the suggestion from Colin and Joseph: `use something like NFS, we should in theory see the same error if we disconnected the NFS volume and we could not sync the filesystem.` Coworked with JB.
21823c2
to
6781a18
Compare
@jmarrero could you help to review this PR when you are available? Thanks! |
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.
thanks for the extensive test @HuijingHei It looks to me that is doing what we need.
/lgtm
/lgtm |
Thank you all for the help, will merge this if no objection! |
Add test for https://issues.redhat.com/browse/OCPBUGS-15917, to verify ostree works in the siutation with disconnected the network volume.
As we do not have ceph for testing, according to the suggestion from Colin and Joseph:
use something like NFS, we should in theory see the same error if we disconnected the NFS volume and we could not sync the filesystem.
Xref to steps in comment.