Bug 2113938 - Fix e2e tests for [reboots][machine_config_labels] (tsc=nowatchdog)
Summary: Fix e2e tests for [reboots][machine_config_labels] (tsc=nowatchdog)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Tuning Operator
Version: 4.12
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Jiří Mencák
QA Contact: liqcui
URL:
Whiteboard:
Depends On: 2113936
Blocks: 2116545
TreeView+ depends on / blocked
 
Reported: 2022-08-02 11:23 UTC by Jiří Mencák
Modified: 2022-08-23 15:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2113936
Environment:
Last Closed: 2022-08-23 15:09:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-node-tuning-operator pull 411 0 None open Bug 2113938: [release-4.11] e2e: check for tsc=reliable instead of tsc=nowatchdog 2022-08-02 11:27:08 UTC
Red Hat Product Errata RHSA-2022:6103 0 None None None 2022-08-23 15:10:24 UTC

Description Jiří Mencák 2022-08-02 11:23:24 UTC
+++ This bug was initially created as a clone of Bug #2113936 +++

Description of problem:
e2e tests currently fail due to changes in the underlying TuneD shipped via FDP.

Additional info:
PR with the fix and more detail:
https://github.com/openshift/cluster-node-tuning-operator/pull/410

Comment 2 liqcui 2022-08-15 02:56:05 UTC
Verified Result:
[ocpadmin@ec2-18-217-45-133 cluster-node-tuning-operator]$ make test-e2e
for d in core basic reboots; do \
  KUBERNETES_CONFIG="/home/ocpadmin/.kube/config" GOOS=linux GO111MODULE=on GOFLAGS=-mod=vendor go test -v -timeout 40m ./test/e2e/$d -ginkgo.v -ginkgo.noColor -ginkgo.failFast || exit; \
done
=== RUN   TestNodeTuningOperator
Running Suite: Node Tuning Operator e2e tests: core
===================================================
Random Seed: 1660529227
Will run 1 of 1 specs


run command 'oc [delete -f ../../../examples/realtime-mcp.yaml]':
  out=
  err=Error from server (NotFound): error when deleting "../../../examples/realtime-mcp.yaml": machineconfigpools.machineconfiguration.openshift.io "worker-rt" not found
  ret=exit status 1

• [SLOW TEST:256.289 seconds]
[reboots][machine_config_labels] Node Tuning Operator machine config labels
/home/ocpadmin/ocp-psap-testcase/nto/cluster-node-tuning-operator/test/e2e/reboots/machine_config_labels.go:18
  machine config labels
  /home/ocpadmin/ocp-psap-testcase/nto/cluster-node-tuning-operator/test/e2e/reboots/machine_config_labels.go:26
    kernel parameters set
    /home/ocpadmin/ocp-psap-testcase/nto/cluster-node-tuning-operator/test/e2e/reboots/machine_config_labels.go:43
------------------------------

Ran 3 of 3 Specs in 905.657 seconds
SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestNodeTuningOperator (905.66s)
PASS
ok  	github.com/openshift/cluster-node-tuning-operator/test/e2e/reboots	905.676s

$ git branch
  0a
  master
* release-4.11
[ocpadmin@ec2-18-217-45-133 cluster-node-tuning-operator]$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-08-11-023608   True        False         75m     Cluster version is 4.11.0-0.nightly-2022-08-11-023608
[ocpadmin@ec2-18-217-45-133 cluster-node-tuning-operator]$

Comment 5 errata-xmlrpc 2022-08-23 15:09:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.11.1 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:6103


Note You need to log in before you can comment on or make changes to this bug.