-
Notifications
You must be signed in to change notification settings - Fork 1k
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
kata-ctl: Disable network check on s390x #5439
kata-ctl: Disable network check on s390x #5439
Conversation
Rework the architecture-specific `check()` call by moving all the conditional logic out of the function. Fixes: kata-containers#5402. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
/test |
Some clippy warnings for s390x:
|
5c100a8
to
5e9b5ef
Compare
s390x apparently does not support rust-tls, which is required by the network check (due to the `reqwest` crate dependency). Disable the network check on s390x until we can find a solution to the problem. > **Note:** > > This fix is assumed to be a temporary one until we find a solution. > Hence, I have not moved the network check code (which should be entirely > generic) into an architecture specific module. Fixes: kata-containers#5435. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
5e9b5ef
to
00981b3
Compare
Hi @jodh-intel , @BbolroC ,
I would say, it is not Not sure if there are some alternatives for doing the tests or if we need to work and wait on above dependency. |
/test |
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 @jodh-intel nice fix
/test-ubuntu |
looks like more use sections need to be skipped for s390x, so WIP |
@jodh-intel @hbrueckner maybe |
@liubin, @hbrueckner - possibly, but see #5438. I'm going to merge this PR to unblock the CI but I agree that someone with s390x experience could probably fix this in a better way (please do! ;) |
Hi, @jodh-intel. I still do not get the point |
Hi @jodh-intel ,
I looked a bit into this issue and also to re-enable the CI tests on s390x. Two things that I need to sort out: there are some missing However, the good thing is that s390 use libc (not musl) so the Let me know if I should open a PR for what I have? |
@jodh-intel solved above issues, here we go #5447 . Please have a look. Thanks. |
#[cfg(not(any( | ||
target_arch = "aarch64", | ||
target_arch = "powerpc64le", | ||
target_arch = "s390x", | ||
target_arch = "x86_64" | ||
)))] | ||
compile_error!("unknown architecture"); |
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.
@jodh-intel I don't think this is needed. You will have a compile-time error anyway from arch_specific::check()
for any non-supported platforms.
s390x apparently does not support rust-tls, which is required by the
network check (due to the
reqwest
crate dependency).Disable the network check on s390x until we can find a solution to the
problem.
Fixes: #5435.
Signed-off-by: James O. D. Hunt james.o.hunt@intel.com
Also fixes:
kata-ctl: arch: Improve check call
Rework the architecture-specific
check()
call by moving all theconditional logic out of the function.
Fixes: #5402.
Signed-off-by: James O. D. Hunt james.o.hunt@intel.com