-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve Nightly Test runs to pass #701
Conversation
ad8c14b
to
6172383
Compare
@pytest.mark.xfail("cilium failures are blocking this from working") | ||
@pytest.mark.xfail(reason="cilium failures are blocking this from working") |
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.
repairs a syntax error on this xfail call
@cached_property | ||
def arch(self) -> str: | ||
return self.exec( | ||
["dpkg", "--print-architecture"], text=True, capture_output=True | ||
).stdout.strip() | ||
|
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.
yay! an instance can know what architecture its running on
@@ -1,47 +1,46 @@ | |||
[tox] | |||
no_package = True |
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.
All these changes are to make this more compatible with tox 3. Why tox 3? Because that's what you get with apt on focal and jammy. Why not pip install it? Arm64 runners were having severe trouble loading python libraries from a virtual env on the GH runners for reasons i never was able to understand. I think it's a combination of running tox with sg but i'm not sure. LD_PYTHON_PATH got lost though -- using the system-wide tox
improves this
6172383
to
77127b4
Compare
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 fixes. I added some comments.
Btw, just a general comment : We eventually need to refactor this nightly test in the future since e.g. we have release independent tests (upgrade tests) and release dependent tests with various flavours.
44ade1b
to
86176e8
Compare
18f8c65
to
f8357a7
Compare
Hi, looks like pyspelling job found some issues, you can check it here |
Hi, looks like pyspelling job found some issues, you can check it here |
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.
LGTM, thanks!
* Use the correct snap when upgrading * Make etcd tests arch aware * bump etcd version to 3.4.34 * Only use tmate if we're debugging a pull-reqeust * bump metrics server version that contains ARM fix
Overview
Resolves a number of tests issues the nightly tests were having to run effectively on arm64 and amd64 units.
Details
pytest.mark.xfail
tox.ini
to be tox 3 and 4 compatible