OCPBUGS-87161: [release-4.22] OCPBUGS-87027: MCO-2212: MCO-2213: Migrate mco_observability and mco_daemon test-suite#6143
Conversation
…rivate Migrated 15 tests from openshift-tests-private to machine-config-operator test suite under the longduration suite. Tests migrated from mco_observability.go (7 tests): - 43151: add node label to service monitor - 46424: Check run level - 51219: Check ClusterRole rules - 54937: logs and events are flood with clusterrole and clusterrolebinding - 54974: silence audit log events for container infra - 56706: Move MCD drain alert into the MCC, revisit error mode - 68683: nodelogs feature works fine Tests migrated from mco_daemon.go (8 tests): - 43084: shutdown machine config daemon with SIGTERM - 42704: disable auto reboot for mco - 43085: check mcd crash-loop-back-off error in log - 68687: HostToContainer propagation in MCD - 68688: kubeconfig must have 600 permissions in all nodes - 69091: Machine-Config-Operator skips reboot when configuration matches during node bootstrap pivot - 68682: daemon should not pull baremetalRuntimeCfg every time - 68686: MCD No invalid memory address or nil pointer dereference when kubeconfig file is not present in a node Added helper functions and constants: - Platform constants: AlibabaCloudPlatform, OpenstackPlatform, OvirtPlatform, NutanixPlatform, OnPremPlatforms - MachineConfig constants: MachineConfigOperator, MachineConfigDaemonEvents - Utility functions: containsMultipleStrings, WrapWithBracketsIfIpv6, skipTestIfNotIPI, IsInstalledWithAssistedInstallerOrFail, IsOnPremPlatform, SkipIfNotOnPremPlatform, getSATokenFromContainer, getHostFromRoute, getPrometheusQueryResults, getMachineConfigOperatorPod, getAlertsByName, ToInterfaceSlice - Controller methods: GetLogsAsList, GetFilteredLogsAsList, GetFilteredLogs - Node methods: GetJournalLogs, GetAllCoreOsNodesOrFail, FilterSchedulableNodesOrFail Copied template files: - create-pod.yaml - add-mc-to-trigger-node-drain.yaml - pod-disruption-budget.yaml Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@ptalgulk01: This pull request references Jira Issue OCPBUGS-87027, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/jira cherrypick OCPBUGS-87027 |
|
@isabella-janssen: Jira Issue OCPBUGS-87027 has been cloned as Jira Issue OCPBUGS-87161. Will retitle bug to link to clone. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@ptalgulk01: This pull request references Jira Issue OCPBUGS-87161, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@isabella-janssen: This pull request references Jira Issue OCPBUGS-87161, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
isabella-janssen
left a comment
There was a problem hiding this comment.
/lgtm
/label backport-risk-assessed
Looks like a clean BP and this should be safe since it is just adding tests to our longrunning suite
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: isabella-janssen, ptalgulk01 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test unit |
|
/retest |
|
@ptalgulk01: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Manual cherry-pick #5875