-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Calico (v3.0.1) calico/node unit test on SLES 12 SP2 frozen #1676
Comments
@fasaxc have we recently changed the version of iptables we require? |
No, but it's possible that we've introduced a new module requirement (maybe xt_ipvs). @samding01 can you run the felix FV tests in the felix repo? |
@fasaxc see test_sles12_2_fv.zip, |
We are still observing this issue in v3.0.3. We too suspect that this issue is w.r.t IPVS. Commenting line 91 in github.com/projectcalico/felix/iptables/match_builder_test.go @@ -88,6 +88,6 @@ var _ = DescribeTable("MatchBuilder",
Entry("Protocol and ports", Match().Protocol("tcp").SourcePorts(1234).DestPorts(8080),
"-p tcp -m multiport --source-ports 1234 -m multiport --destination-ports 8080"),
// IPVS.
- Entry("IPVSConnection", Match().IPVSConnection(), "-m ipvs --ipvs"),
+ //Entry("IPVSConnection", Match().IPVSConnection(), "-m ipvs --ipvs"),
Entry("NotIPVSConnection", Match().NotIPVSConnection(), "-m ipvs ! --ipvs"),
)
we were able to reduce the test failure from 150 to 31 with |
@samding01 @guirish Do the tests pass if you manually load the Can you reproduce on any of our officially supported distributions (Ubuntu or RH/CentOS) or is this SLES-specific? |
@fasaxc this issue is SLES specific only , we did not observe it on RHEL(7.3 and 7.4) and Ubuntu(16.04 and 17.10) distros. Does it mean that Calico is NOT going to officially claim support of SLES? |
This appears down to IPVS support on the system. iptables should still work fine, as should Calico in iptables mode, and IPVS may well work too if the correct version of In general, I think UTs are not guaranteed to pass on any given system, even in supported environments. |
Calico (v3.0.1) calico/node unit test on SLES 12 SP2 frozen, the problem is related to
iptables
.The version is v.1.4.x,
Expected Behavior
Current Behavior
Running
calico/node
unit test bymake st
onSLES 12 SP2
is frozen.The log shows there are ERRORs in
felix
log, which asks for higher version ofiptables
(current on SLES is v1.4.21)see st.log
When running unit test on RHEL 7.x or Ubuntu, no problem as the
iptables
version is v1.6.x.The previous Calico versions do not have such a problem.
Possible Solution
Steps to Reproduce (for bugs)
calico/calico_node
folder, runmake st
Context
Your Environment
The text was updated successfully, but these errors were encountered: