Skip to content
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

MGMT-13081: CI to use CentOS8 #4845

Merged

Conversation

nmagnezi
Copy link
Contributor

assisted service is expected to build and run on CentOS8 / RHEL8.
This PR is aligning CI to use that instead of CentOS9.

/cc @osherdp

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

@openshift-ci openshift-ci bot requested a review from osherdp December 29, 2022 08:12
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 29, 2022
@openshift-ci
Copy link

openshift-ci bot commented Dec 29, 2022

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@nmagnezi
Copy link
Contributor Author

/test ?

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 29, 2022
@openshift-ci
Copy link

openshift-ci bot commented Dec 29, 2022

@nmagnezi: The following commands are available to trigger required jobs:

  • /test e2e-agent-compact
  • /test edge-assisted-operator-catalog-publish-verify
  • /test edge-ci-index
  • /test edge-e2e-ai-operator-ztp
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers-late-binding
  • /test edge-e2e-metal-assisted
  • /test edge-e2e-metal-assisted-4-10
  • /test edge-e2e-metal-assisted-4-11
  • /test edge-e2e-metal-assisted-4-12
  • /test edge-e2e-metal-assisted-4-8
  • /test edge-e2e-metal-assisted-4-9
  • /test edge-e2e-metal-assisted-cnv
  • /test edge-e2e-metal-assisted-lvm
  • /test edge-e2e-metal-assisted-ocs
  • /test edge-e2e-metal-assisted-odf
  • /test edge-images
  • /test edge-lint
  • /test edge-subsystem-aws
  • /test edge-subsystem-kubeapi-aws
  • /test edge-unit-test
  • /test edge-verify-generated-code
  • /test images
  • /test mce-images

The following commands are available to trigger optional jobs:

  • /test edge-e2e-ai-operator-ztp-3masters
  • /test edge-e2e-ai-operator-ztp-capi
  • /test edge-e2e-ai-operator-ztp-compact-day2-masters
  • /test edge-e2e-ai-operator-ztp-compact-day2-workers
  • /test edge-e2e-ai-operator-ztp-converged
  • /test edge-e2e-ai-operator-ztp-disconnected
  • /test edge-e2e-ai-operator-ztp-hypershift-zero-nodes
  • /test edge-e2e-ai-operator-ztp-ipv4v6-3masters
  • /test edge-e2e-ai-operator-ztp-ipv4v6-3masters-ocp-411
  • /test edge-e2e-ai-operator-ztp-ipv4v6-sno
  • /test edge-e2e-ai-operator-ztp-ipv4v6-sno-ocp-411
  • /test edge-e2e-ai-operator-ztp-multiarch-3masters-ocp-411
  • /test edge-e2e-ai-operator-ztp-multiarch-sno-ocp-411
  • /test edge-e2e-ai-operator-ztp-sno-day2-masters
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers-ignitionoverride
  • /test edge-e2e-metal-assisted-day2
  • /test edge-e2e-metal-assisted-day2-single-node
  • /test edge-e2e-metal-assisted-ipv4v6
  • /test edge-e2e-metal-assisted-ipv6
  • /test edge-e2e-metal-assisted-kube-api-late-binding-single-node
  • /test edge-e2e-metal-assisted-kube-api-late-unbinding-ipv4-single-node
  • /test edge-e2e-metal-assisted-kube-api-net-suite
  • /test edge-e2e-metal-assisted-none
  • /test edge-e2e-metal-assisted-onprem
  • /test edge-e2e-metal-assisted-single-node
  • /test edge-e2e-metal-assisted-static-ip-suite
  • /test edge-e2e-metal-assisted-tang
  • /test edge-e2e-metal-assisted-tpmv2
  • /test edge-e2e-metal-assisted-upgrade-agent
  • /test edge-e2e-nutanix-assisted
  • /test edge-e2e-nutanix-assisted-2workers
  • /test edge-e2e-vsphere-assisted
  • /test edge-e2e-vsphere-assisted-umn
  • /test edge-push-pr-image
  • /test push-pr-image

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-assisted-service-master-e2e-agent-compact
  • pull-ci-openshift-assisted-service-master-edge-ci-index
  • pull-ci-openshift-assisted-service-master-edge-images
  • pull-ci-openshift-assisted-service-master-edge-lint
  • pull-ci-openshift-assisted-service-master-edge-unit-test
  • pull-ci-openshift-assisted-service-master-edge-verify-generated-code
  • pull-ci-openshift-assisted-service-master-images
  • pull-ci-openshift-assisted-service-master-mce-images

In response to this:

/test ?

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 kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 29, 2022
@nmagnezi
Copy link
Contributor Author

/test edge-lint
/test edge-subsystem-aws
/test edge-subsystem-kubeapi-aws
/test edge-unit-test

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 29, 2022
@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Merging #4845 (ee64418) into master (2d215c9) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head ee64418 differs from pull request most recent head 2ceca12. Consider uploading reports for the commit 2ceca12 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4845      +/-   ##
==========================================
+ Coverage   67.77%   67.78%   +0.01%     
==========================================
  Files         202      202              
  Lines       30087    30077      -10     
==========================================
- Hits        20390    20387       -3     
+ Misses       7889     7882       -7     
  Partials     1808     1808              
Impacted Files Coverage Δ
internal/cluster/validations/validations.go 25.40% <0.00%> (-0.41%) ⬇️
internal/versions/versions.go 87.50% <0.00%> (-0.08%) ⬇️
internal/bminventory/inventory_v2_handlers.go 62.03% <0.00%> (+1.13%) ⬆️

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 1, 2023

/test edge-lint

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 1, 2023
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 1, 2023

/test edge-lint

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 1, 2023

/test edge-lint
/test edge-subsystem-aws
/test edge-subsystem-kubeapi-aws
/test edge-unit-test

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 1, 2023

/test edge-unit-test

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 1, 2023

/test edge-subsystem-aws

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 2, 2023

/test edge-unit-test

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 3, 2023

/test edge-unit-test

@openshift-ci openshift-ci bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 3, 2023
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 3, 2023

/test edge-unit-test

1 similar comment
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 4, 2023

/test edge-unit-test

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 4, 2023

/test edge-unit-test

@nmagnezi nmagnezi closed this Jan 4, 2023
@nmagnezi nmagnezi reopened this Jan 4, 2023
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 4, 2023

/test edge-unit-test

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 4, 2023

/test edge-lint

@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 4, 2023

/test edge-unit-test
/test edge-lint

@nmagnezi nmagnezi marked this pull request as ready for review January 5, 2023 00:18
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 5, 2023
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 5, 2023

/retest-required

@nmagnezi nmagnezi force-pushed the MGMT-13081_CI_Use_CentOS8 branch 3 times, most recently from bc1ac69 to 40934d9 Compare January 5, 2023 08:29
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 5, 2023

/test mce-images

1 similar comment
@nmagnezi
Copy link
Contributor Author

nmagnezi commented Jan 5, 2023

/test mce-images

internal/host/host_test.go Outdated Show resolved Hide resolved
internal/cluster/cluster_test.go Outdated Show resolved Hide resolved
internal/cluster/cluster_test.go Show resolved Hide resolved
internal/cluster/cluster_test.go Outdated Show resolved Hide resolved
internal/cluster/cluster_test.go Outdated Show resolved Hide resolved
assisted service is expected to build and run on CentOS8 / RHEL8.
This PR is aligning CI to use that instead of CentOS9.

Additionally, some unit tests were fixed to be less flaky when
working with slower databases. Some tests were besing on object
ordering which was never ensured and failed
those tests from time to time.
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jan 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nmagnezi, osherdp

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link

openshift-ci bot commented Jan 5, 2023

@nmagnezi: all tests passed!

Full PR test history. Your PR dashboard.

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 kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 4eae3a2 into openshift:master Jan 5, 2023
eliorerz pushed a commit to eliorerz/assisted-service that referenced this pull request Jan 29, 2023
assisted service is expected to build and run on CentOS8 / RHEL8.
This PR is aligning CI to use that instead of CentOS9.

Additionally, some unit tests were fixed to be less flaky when
working with slower databases. Some tests were besing on object
ordering which was never ensured and failed
those tests from time to time.
danielerez pushed a commit to danielerez/assisted-service that referenced this pull request Oct 15, 2023
assisted service is expected to build and run on CentOS8 / RHEL8.
This PR is aligning CI to use that instead of CentOS9.

Additionally, some unit tests were fixed to be less flaky when
working with slower databases. Some tests were besing on object
ordering which was never ensured and failed
those tests from time to time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants