-
Notifications
You must be signed in to change notification settings - Fork 14
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 nightly tests #876
Fix nightly tests #876
Conversation
The runner labels used by the nightly job are not correctly evaluated. We'll fix this by switching to the newly added one-string node labels.
d5eec84
to
3fd51bf
Compare
The containerd base dir setting is currently ignored when joining nodes. The reason is that yaml parser ignores a struct field which is marked as private. Making it public fixes the issue. At the same time, the test expects the default containerd folders to be missing when configured to use a different base dir. However, the tests are currently placing the registry settings in /etc/containerd. We also get an empty /run/containerd folder. For now, we'll update the test to ignore these folders. There's also an os.path.join call that doesn't produce the expected result if the last element is an absolute path, we'll need to remove a slash when constructing the paths.
51be17d
to
72d17d3
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 looking into the containerd issue @petrutlucian94!
Left some comments here:
@@ -17,7 +17,7 @@ jobs: | |||
release: ["latest/edge"] | |||
fail-fast: false # TODO: remove once arm64 works | |||
|
|||
runs-on: ${{ matrix.arch == 'arm64' && ["self-hosted", "Linux", "ARM64", "jammy", "large"] || ["self-hosted", "Linux", "AMD64", "jammy", "large"] }} | |||
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted-linux-arm64-jammy-large' || 'self-hosted-linux-amd64-jammy-large' }} |
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.
Should we make this adjustment in our daily test as well?
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.
Not necessarily, we need it here because of the matrix.arch == 'arm64' &&
check, which doesn't work when followed by a list.
c385305
to
4a287d7
Compare
We're adding a few checks to the integration tests workflow. We'll use the "weekly" tag in case of backports (targeting the release-* branches) and whenever there are test changes.
One of the tests uses a custom containerd base dir. We'll add a marker so that the registry mirror settings can be applied to that containerd folder.
4a287d7
to
79f14d4
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.
LGTM
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, one small thing
79f14d4
to
c4140d7
Compare
Fix nightly job
tests
dir and in case of backports