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

CI scripts improvements #523

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Oct 18, 2023

Updates to OCP:

  • add a retry to the policy create to fix OCP CI flake
  • add more ram to the OCP master single node
  • add a wait for registry to be available
  • update the ocp version to latest 4.14 rc release

Updates for K8s:

  • switch to not use dockerhub for the registry image to overcome the pull limit

github actions:

  • always remove the cluster

Signed-off-by: Sebastian Sch sebassch@gmail.com

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

coveralls commented Oct 18, 2023

Pull Request Test Coverage Report for Build 6602752479

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 25.589%

Files with Coverage Reduction New Missed Lines %
api/v1/helper.go 3 42.04%
Totals Coverage Status
Change from base Build 6597902850: 0.02%
Covered Lines: 2315
Relevant Lines: 9047

💛 - Coveralls

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@SchSeba
Copy link
Collaborator Author

SchSeba commented Oct 19, 2023

The retry on the resource creation make it

2023/10/19 00:00:46 http: TLS handshake error from 10.132.0.9:51698: remote error: tls: bad certificate
2023/10/19 00:00:47 http: TLS handshake error from 10.132.0.9:51714: remote error: tls: bad certificate
2023/10/19 00:00:49 http: TLS handshake error from 10.132.0.9:51728: remote error: tls: bad certificate
I1019 00:02:59.949878       1 start.go:70] handling request: {"kind":"AdmissionReview","apiVersion":"admission.k8s.io/v1","request":{"uid":"b740b3e8-90be-4826-8cfb-4a78d813a230","kind":{"group":"sriovnetwork.openshift.io","version":"v1","kind":"SriovNetworkNodePolicy"},"resource":{"group":"sriovnetwork.openshift.io","version":"v1","resource":"sriovnetworknodepolicies"},"requestKind":{"group":"sriovnetwork.openshift.io","version":"v1","kind":"SriovNetworkNodePolicy"},"requestResource":{"group":"sriovnetwork.openshift.io","version":"v1","resource":"sriovnetworknodepolicies"},"name":"test-policysnnrt","namespace":"openshift-sriov-network-operator","operation":"DELETE","userInfo":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"object":null,"oldObject":{"apiVersion":"sriovnetwork.openshift.io/v1","kind":"SriovNetworkNodePolicy","metadata":{"creationTimestamp":"2023-10-19T00:00:44Z","generateName":"test-policy","generation":1,"managedFields":[{"apiVersion":"sriovnetwork.openshift.io/v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:generateName":{}},"f:spec":{".":{},"f:deviceType":{},"f:nicSelector":{".":{},"f:pfNames":{}},"f:nodeSelector":{".":{},"f:kubernetes.io/hostname":{}},"f:numVfs":{},"f:priority":{},"f:resourceName":{}}},"manager":"conformance.test","operation":"Update","time":"2023-10-19T00:00:44Z"}],"name":"test-policysnnrt","namespace":"openshift-sriov-network-operator","resourceVersion":"24318","uid":"f84c44f2-2ec1-4c6b-9626-72727ca6cab6"},"spec":{"deviceType":"netdevice","isRdma":false,"nicSelector":{"pfNames":["enp22s0"]},"nodeSelector":{"kubernetes.io/hostname":"ocp-runner-1-worker-0.lab"},"numVfs":5,"priority":99,"resourceName":"testresource"}},"dryRun":false,"options":{"kind":"DeleteOptions","apiVersion":"meta.k8s.io/v1"}}}

looks like OCP refresh certificates and it take a few seconds for the new secret to be mounted and reloaded in the webhook pod

@SchSeba SchSeba changed the title bump ocp version for CI Add e2e test policy creation retry Oct 19, 2023
@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@SchSeba
Copy link
Collaborator Author

SchSeba commented Oct 19, 2023

@e0ne @zeeke please take a look

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@zeeke
Copy link
Member

zeeke commented Oct 20, 2023

This fix will be useful to be sure we have no regression with:

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@SchSeba SchSeba changed the title Add e2e test policy creation retry CI scripts improvements Oct 21, 2023
@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

Updates to OCP:
* add a retry to the policy create to fix OCP CI flake
* add more ram to the OCP master single node
* add a wait for registry to be available
* update the ocp version to latest 4.14 rc release

Updates for K8s:
* switch to not use dockerhub for the registry image to overcome the pull limit
* add alias for golang to the dockerhub image

github actions:
* always remove the cluster

Signed-off-by: Sebastian Sch <sebassch@gmail.com>
@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@SchSeba
Copy link
Collaborator Author

SchSeba commented Oct 22, 2023

two approve merging

@SchSeba SchSeba merged commit 10a8201 into k8snetworkplumbingwg:master Oct 22, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants