Skip to content

Fix up hostprocess integration tests#1434

Merged
dcantah merged 2 commits intomicrosoft:masterfrom
dcantah:upgrade-test-criapi
Jun 24, 2022
Merged

Fix up hostprocess integration tests#1434
dcantah merged 2 commits intomicrosoft:masterfrom
dcantah:upgrade-test-criapi

Conversation

@dcantah
Copy link
Copy Markdown
Contributor

@dcantah dcantah commented Jun 17, 2022

This fixes a couple issues with the host process integration tests and upgrades our CRI api version used in the tests to 0.24.1 as it was necessary to get the HostProcess CRI fields.

dcantah added 2 commits June 17, 2022 10:58
Upgrades CRI api dep to the same containerd depends on at the moment. This
is mostly to get access to the HostProcess fields that were added in 1.22.

Signed-off-by: Daniel Canter <[email protected]>
This fixes a couple issues with the host process integration tests.

- Instead of passing the annotation to ask for a host process pod, use the
hostprocess CRI fields instead. The annotations used to work, however
containerd now overrides these with the value of the hostprocess CRI field
so this is the only way to ask for hpc now.

- The VHD test would hit a "Paramter is incorrect" error on attaching the vhd.
Not sure what's causing this but it's probably the set of flags used to open
the vhd inside AttachVhd, as supplying no flags has the open succeed.

- Now that there's new behavior for mounts for hpc if the bindflt dll is
available, gate some of the tests that tested the old behavior behind
rs5 for now.

Signed-off-by: Daniel Canter <[email protected]>
@dcantah dcantah requested a review from a team as a code owner June 17, 2022 18:15
@dcantah dcantah merged commit 2c31b1a into microsoft:master Jun 24, 2022
anmaxvl added a commit that referenced this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants