Skip to content

Part 6: enable windows unit test#3546

Closed
apostasie wants to merge 10 commits intocontainerd:mainfrom
apostasie:part6
Closed

Part 6: enable windows unit test#3546
apostasie wants to merge 10 commits intocontainerd:mainfrom
apostasie:part6

Conversation

@apostasie
Copy link
Copy Markdown
Contributor

@apostasie apostasie commented Oct 15, 2024

First commit is marking a few tests as flaky.
Second commit enables unit testing for windows.

Depends on:

Changes to make the tests pass (besides above PRs):

See inline comments.

Leaving as draft until the dependencies are merged.

@AkihiroSuda AkihiroSuda added the area/ci e.g., CI failure label Oct 15, 2024
@apostasie apostasie force-pushed the part6 branch 7 times, most recently from 2f6e503 to e92e453 Compare October 16, 2024 02:51
@apostasie apostasie changed the title [WIP] Test rework, part 6 Enable windows unit test Oct 16, 2024
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- if: ${{ matrix.goos=='windows' }}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests depend on CNI being installed.

vType: "bind",
src: "dummy",
optsRaw: "rw",
wants: []string{},
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either the code or the test should be changed.

I am opting for changing the test.

@apostasie apostasie marked this pull request as ready for review October 16, 2024 03:04
@apostasie apostasie marked this pull request as draft October 16, 2024 03:06
@apostasie apostasie force-pushed the part6 branch 2 times, most recently from 4d4e613 to 0c6b778 Compare October 16, 2024 03:15
@apostasie apostasie changed the title Enable windows unit test Part 6: enable windows unit test Oct 16, 2024
@apostasie
Copy link
Copy Markdown
Contributor Author

Re-run failures are:

TestLogsWithInheritedFlags for Docker - already spotted as flaky with Docker before - is the test broken or is docker broken?
TestAttach: despite a lot of efforts to tweak delays, this keeps failing again
Note that these are failing in-spite of the retries ^

Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
@apostasie
Copy link
Copy Markdown
Contributor Author

Failure is fixed with #3563

@apostasie apostasie closed this Oct 17, 2024
@apostasie apostasie deleted the part6 branch October 17, 2024 21:34
@apostasie
Copy link
Copy Markdown
Contributor Author

Geez.

Closing was not what I meant.
Will reopen a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci e.g., CI failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants