-
Notifications
You must be signed in to change notification settings - Fork 114
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
virtual cluster e2e tests changes #462
virtual cluster e2e tests changes #462
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 6328795228
💛 - Coveralls |
doc/testing-virtual-machine.md
Outdated
Second step is to add the intel virtual nic to the supported nics configmap. | ||
|
||
``` | ||
Intel_ixgbe_82576: 8086 10c9 10ca |
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.
Can we permanently add this NIC to the config-map? What are the drawbacks?
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.
for example right now there are the two bugs on the nic so I will not like to add a nic that doesn't pass our tests.
maybe after the kernel fix the driver we can think on adding the nic, and asking Intel if they are fine supporting it :)
/cc @Eoghan1232
34e20d4
to
56165c6
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
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
doc/testing-virtual-machine.md
Outdated
WantedBy=network-online.target | ||
``` | ||
|
||
# TBD |
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.
nit: we need this TBD ?
@@ -37,6 +38,10 @@ func CreateSriovNetwork(clientSet *testclient.ClientSet, intf *sriovv1.Interface | |||
LinkState: "enable", | |||
}} | |||
|
|||
if cluster.VirtualCluster() { | |||
sriovNetwork.Spec.LinkState = "" |
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.
not working with emulated intel nic ?
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.
right the driver doesn't support it.
@@ -511,6 +511,11 @@ var _ = Describe("[sriov] operator", func() { | |||
|
|||
// 25961 | |||
It("Should configure the the link state variable", func() { | |||
if cluster.VirtualCluster() { | |||
// https://bugzilla.redhat.com/show_bug.cgi?id=2214976 |
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.
can u make those bugs public ? i dont have access to them.
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.
done
56165c6
to
f24a8cb
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
f24a8cb
to
f53c1ac
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
f53c1ac
to
f581586
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
f581586
to
270b434
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
270b434
to
ebb3e9f
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
ebb3e9f
to
f664ae1
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
f664ae1
to
439db4f
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
439db4f
to
da29355
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
da29355
to
f96af39
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
f96af39
to
db23ea3
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
db23ea3
to
ef36f8f
Compare
ea5971f
to
bff8985
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
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.
Left few comments. This PR will boost our review process, great work!
hack/test.sh
Outdated
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.
can you remove this file?
bff8985
to
aecf9fd
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
aecf9fd
to
fb0b85e
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
fb0b85e
to
c8fe268
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
c8fe268
to
d78b789
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
d78b789
to
30b9bbc
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
30b9bbc
to
fcc605a
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
fcc605a
to
404ca97
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
404ca97
to
f53b66c
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
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
cluster_name=${CLUSTER_NAME:-ocp-virt} | ||
domain_name=lab | ||
|
||
api_ip=${API_IP:-192.168.122.253} |
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.
AFAIR, 192.168.122.0/24 a default libvirt network. will it work if this network isn't created? IMO, it's better to create a separate network
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.
sure np
trap cleanup EXIT | ||
fi | ||
|
||
kcli create network -c 192.168.${virtual_router_id}.0/24 --nodhcp -i $cluster_name |
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.
How will it work with defined $api_ip
?
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.
that is fine because the igb device is connected to an isolated network and the API is connected to a NAT network
export ENABLE_ADMISSION_CONTROLLER=true | ||
export SKIP_VAR_SET="" | ||
export NAMESPACE="openshift-sriov-network-operator" | ||
export OPERATOR_NAMESPACE="openshift-sriov-network-operator" |
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.
nit: OPERATOR_NAMESPACE=$NAMESPACE
f53b66c
to
41aaca7
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Signed-off-by: Sebastian Sch <[email protected]>
41aaca7
to
2c5fc1b
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
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.
Thanks for addressing my comments, @SchSeba
Initial work to be able to run our conformance tests on a virtual cluster
Run output