ci/gha: add i386 unit test#2768
Merged
kolyshkin merged 2 commits intoopencontainers:masterfrom Feb 26, 2021
Merged
Conversation
fdf653e to
fa04b78
Compare
Contributor
Author
|
|
AkihiroSuda
reviewed
Jan 27, 2021
zhsj
reviewed
Jan 28, 2021
7553ee7 to
bfacf7f
Compare
46813dd to
3ffcc1c
Compare
Contributor
Author
|
It's up and running now, and uncovered a set of issues: #2783 |
bd980ea to
47a9649
Compare
Contributor
Author
|
OK, it's working now. |
Contributor
Author
|
Depend on #2741, waiting for it to be merged. |
This test fails to compile on i386: > libcontainer/seccomp/patchbpf/enosys_linux_test.go:180:20: constant 3735928559 overflows int > libcontainer/seccomp/patchbpf/enosys_linux_test.go:204:19: constant 3735928559 overflows int > libcontainer/seccomp/patchbpf/enosys_linux_test.go:227:25: constant 3735928559 overflows int This is because golang.org/x/net/bpf returns an int from their emulated BPF VM implementation when they should really be returning uint32. Fix by switching to uint32 in the test code. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
AkihiroSuda
approved these changes
Feb 7, 2021
mrunalp
approved these changes
Feb 25, 2021
Contributor
Author
|
Failure in centos is a flake (#2760); restarted. |
This was referenced Mar 12, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run unit tests on i386. This might help to uncover some issues in the code related to 32-bit arches.
Proposed changelog entry