Closed ffromani closed 4 months ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ffromani
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Thank you for the cleanup. This looks good to me, but letting other reviewers comment. Only one super-nit:
diff --git a/pkg/tuned/controller.go b/pkg/tuned/controller.go
index cce3334a..561a60dc 100644
--- a/pkg/tuned/controller.go
+++ b/pkg/tuned/controller.go
@@ -403,7 +403,7 @@ type ExtractedProfiles struct {
// ProfilesExtract extracts TuneD daemon profiles to tunedProfilesDirCustom directory.
// Returns:
-// - ExtractedProfile with the details of the operation performed
+// - ExtractedProfiles with the details of the operation performed.
// - Error if any or nil.
func ProfilesExtract(profiles []tunedv1.TunedProfile, recommendedProfile string) (ExtractedProfiles, error) {
klog.Infof("profilesExtract(): extracting %d TuneD profiles (recommended=%s)", len(profiles), recommendedProfile)
Thank you for the cleanup. This looks good to me, but letting other reviewers comment. Only one super-nit:
diff --git a/pkg/tuned/controller.go b/pkg/tuned/controller.go index cce3334a..561a60dc 100644 --- a/pkg/tuned/controller.go +++ b/pkg/tuned/controller.go @@ -403,7 +403,7 @@ type ExtractedProfiles struct { // ProfilesExtract extracts TuneD daemon profiles to tunedProfilesDirCustom directory. // Returns: -// - ExtractedProfile with the details of the operation performed +// - ExtractedProfiles with the details of the operation performed. // - Error if any or nil. func ProfilesExtract(profiles []tunedv1.TunedProfile, recommendedProfile string) (ExtractedProfiles, error) { klog.Infof("profilesExtract(): extracting %d TuneD profiles (recommended=%s)", len(profiles), recommendedProfile)
thanks, fixed
/cc @Tal-or as he did most of the comments I'm addressing here
@ffromani I don't see where the actual skip is done? We should have something like this: https://github.com/openshift/cluster-node-tuning-operator/blob/master/Makefile#L260C135-L260C162 Am I missing something here?
@ffromani I don't see where the actual skip is done? We should have something like this: https://github.com/openshift/cluster-node-tuning-operator/blob/master/Makefile#L260C135-L260C162 Am I missing something here?
because is not yet :) I'll still need to do the skipping part consuming the labels
/hold
incomplete PR
/lgtm Thanks!
/hold
/unhold
before the latest update:
$ make test-e2e
for d in deferred; do \
KUBERNETES_CONFIG="/home/fromani/clusters/cnflab/kubeconfig" GOOS=linux GO111MODULE=on GOFLAGS=-mod=vendor go test -v -timeout 40m ./test/e2e/$d -ginkgo.v -ginkgo.no-color -ginkgo.fail-fast -ginkgo.label-filter=\"!flaky\" || exit; \
done
=== RUN TestNodeTuningOperatorDeferred
Ginkgo detected configuration issues:
Syntax Error Parsing Label Filter
"!flaky"
Invalid token '!'.
Learn more at: http://onsi.github.io/ginkgo/#spec-labels
FAIL github.com/openshift/cluster-node-tuning-operator/test/e2e/deferred 0.021s
FAIL
make: *** [Makefile:103: test-e2e] Error 1
/retest
The label is Flaky
(begin with capital letter) but the filter is !flaky
(small letter).
Are you sure it would match the label?
The label is
Flaky
(begin with capital letter) but the filter is!flaky
(small letter). Are you sure it would match the label?
good catch. Partial update. Fixing.
uhm, kube standard is to use Capitalized
nouns, but the rest of the tests is using lowercase-dash-separated
/lgtm Thank you for the fixes
thank you for the careful review! low caffeine intake today
New changes are detected. LGTM label has been removed.
Thank you @ffromani , the last change was requested by me.
/lgtm
@ffromani: This pull request references Jira Issue OCPBUGS-28647, which is valid.
Requesting review from QA contact: /cc @shajmakh
The bug has been updated to refer to the pull request using the external bug tracker.
/jira refresh
@ffromani: This pull request references Jira Issue OCPBUGS-28647, which is valid.
Requesting review from QA contact: /cc @shajmakh
@ffromani: all tests passed!
Full PR test history. Your PR dashboard.
@ffromani: Jira Issue OCPBUGS-28647: Some pull requests linked via external trackers have merged:
The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh
.
Jira Issue OCPBUGS-28647 has not been moved to the MODIFIED state.
[ART PR BUILD NOTIFIER]
Distgit: cluster-node-tuning-operator This PR has been included in build cluster-node-tuning-operator-container-v4.18.0-202407232010.p0.ga869242.assembly.stream.el9. All builds following this will include this PR.
cleanups suggested late in the #1019 cycle or emerged after the first nightly CI run