Skip to content

OCPBUGS-39373: Redo the PR #29082#29096

Closed
metlos wants to merge 1 commit intoopenshift:masterfrom
metlos:fix-missed-perl-version-updates
Closed

OCPBUGS-39373: Redo the PR #29082#29096
metlos wants to merge 1 commit intoopenshift:masterfrom
metlos:fix-missed-perl-version-updates

Conversation

@metlos
Copy link
Copy Markdown
Contributor

@metlos metlos commented Sep 12, 2024

Turns out the fix in PR #29082 was not correct and wouldn't have been sufficient even if it were.

This PR fixes the Perl test and updates it to work with the new perl:5.32-ubi8 image that has different defaults and settings available (notice the disappearance of PERL_APACHE2_RELOAD env var setting in https://github.com/sclorg/s2i-perl-container/tree/master/5.32 vs https://github.com/sclorg/s2i-perl-container/tree/master/5.30).

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 12, 2024
@openshift-ci-robot
Copy link
Copy Markdown

@metlos: This pull request references Jira Issue OCPBUGS-39373, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is MODIFIED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Turns out I missed an update of one place important for the image ecosystem perl 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 openshift-eng/jira-lifecycle-plugin repository.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

/test ci/prow/e2e-aws-ovn-image-ecosystem

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 12, 2024

@metlos: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test e2e-aws-jenkins
  • /test e2e-aws-ovn-edge-zones
  • /test e2e-aws-ovn-fips
  • /test e2e-aws-ovn-image-registry
  • /test e2e-aws-ovn-serial
  • /test e2e-gcp-ovn
  • /test e2e-gcp-ovn-builds
  • /test e2e-gcp-ovn-image-ecosystem
  • /test e2e-gcp-ovn-upgrade
  • /test e2e-metal-ipi-ovn-ipv6
  • /test images
  • /test lint
  • /test unit
  • /test verify
  • /test verify-deps

The following commands are available to trigger optional jobs:

  • /test 4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback
  • /test e2e-agnostic-ovn-cmd
  • /test e2e-aws
  • /test e2e-aws-csi
  • /test e2e-aws-disruptive
  • /test e2e-aws-etcd-certrotation
  • /test e2e-aws-etcd-recovery
  • /test e2e-aws-ovn
  • /test e2e-aws-ovn-cgroupsv2
  • /test e2e-aws-ovn-etcd-scaling
  • /test e2e-aws-ovn-ipsec-serial
  • /test e2e-aws-ovn-kube-apiserver-rollout
  • /test e2e-aws-ovn-kubevirt
  • /test e2e-aws-ovn-microshift
  • /test e2e-aws-ovn-microshift-serial
  • /test e2e-aws-ovn-single-node
  • /test e2e-aws-ovn-single-node-serial
  • /test e2e-aws-ovn-single-node-techpreview
  • /test e2e-aws-ovn-single-node-techpreview-serial
  • /test e2e-aws-ovn-single-node-upgrade
  • /test e2e-aws-ovn-upgrade
  • /test e2e-aws-ovn-upi
  • /test e2e-aws-proxy
  • /test e2e-azure
  • /test e2e-azure-ovn-etcd-scaling
  • /test e2e-azure-ovn-upgrade
  • /test e2e-baremetalds-kubevirt
  • /test e2e-external-aws
  • /test e2e-external-aws-ccm
  • /test e2e-external-vsphere-ccm
  • /test e2e-gcp-csi
  • /test e2e-gcp-disruptive
  • /test e2e-gcp-fips-serial
  • /test e2e-gcp-ovn-etcd-scaling
  • /test e2e-gcp-ovn-rt-upgrade
  • /test e2e-gcp-ovn-techpreview
  • /test e2e-gcp-ovn-techpreview-serial
  • /test e2e-metal-ipi-ovn
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-ovn-dualstack-local-gateway
  • /test e2e-metal-ipi-ovn-kube-apiserver-rollout
  • /test e2e-metal-ipi-serial
  • /test e2e-metal-ipi-serial-ovn-ipv6
  • /test e2e-metal-ipi-virtualmedia
  • /test e2e-openstack-ovn
  • /test e2e-openstack-serial
  • /test e2e-vsphere
  • /test e2e-vsphere-ovn-dualstack-primaryv6
  • /test e2e-vsphere-ovn-etcd-scaling
  • /test okd-e2e-gcp
  • /test okd-scos-images

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

  • pull-ci-openshift-origin-master-e2e-agnostic-ovn-cmd
  • pull-ci-openshift-origin-master-e2e-aws-csi
  • pull-ci-openshift-origin-master-e2e-aws-ovn-cgroupsv2
  • pull-ci-openshift-origin-master-e2e-aws-ovn-edge-zones
  • pull-ci-openshift-origin-master-e2e-aws-ovn-fips
  • pull-ci-openshift-origin-master-e2e-aws-ovn-ipsec-serial
  • pull-ci-openshift-origin-master-e2e-aws-ovn-kube-apiserver-rollout
  • pull-ci-openshift-origin-master-e2e-aws-ovn-microshift
  • pull-ci-openshift-origin-master-e2e-aws-ovn-microshift-serial
  • pull-ci-openshift-origin-master-e2e-aws-ovn-serial
  • pull-ci-openshift-origin-master-e2e-aws-ovn-single-node
  • pull-ci-openshift-origin-master-e2e-aws-ovn-single-node-serial
  • pull-ci-openshift-origin-master-e2e-aws-ovn-single-node-upgrade
  • pull-ci-openshift-origin-master-e2e-aws-ovn-upgrade
  • pull-ci-openshift-origin-master-e2e-gcp-csi
  • pull-ci-openshift-origin-master-e2e-gcp-ovn
  • pull-ci-openshift-origin-master-e2e-gcp-ovn-rt-upgrade
  • pull-ci-openshift-origin-master-e2e-gcp-ovn-upgrade
  • pull-ci-openshift-origin-master-e2e-metal-ipi-ovn
  • pull-ci-openshift-origin-master-e2e-metal-ipi-ovn-ipv6
  • pull-ci-openshift-origin-master-e2e-metal-ipi-ovn-kube-apiserver-rollout
  • pull-ci-openshift-origin-master-e2e-openstack-ovn
  • pull-ci-openshift-origin-master-images
  • pull-ci-openshift-origin-master-lint
  • pull-ci-openshift-origin-master-unit
  • pull-ci-openshift-origin-master-verify
  • pull-ci-openshift-origin-master-verify-deps
Details

In response to this:

/test ci/prow/e2e-aws-ovn-image-ecosystem

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-sigs/prow repository.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

/test e2e-gcp-ovn-image-ecosystem

@openshift-ci openshift-ci Bot requested review from deads2k and sjenning September 12, 2024 09:27
@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 12, 2024
@openshift-ci-robot
Copy link
Copy Markdown

@metlos: This pull request references Jira Issue OCPBUGS-39373, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jitendar-singh

Details

In response to this:

/jira refresh

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.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

/test e2e-gcp-ovn-image-ecosystem

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

Note that e2e-gcp-ovn-image-ecosystem actually should still fail, but it should not fail because of the perl tests, which is what we are fixing here.

@ausil
Copy link
Copy Markdown

ausil commented Sep 12, 2024

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 12, 2024
@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 12, 2024

/retest

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 13, 2024

/retest

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 13, 2024
@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 13, 2024

/test e2e-gcp-ovn-image-ecosystem

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 13, 2024

/retest

@openshift-trt-bot
Copy link
Copy Markdown

Job Failure Risk Analysis for sha: e6b215e

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-gcp-ovn-upgrade High
[sig-node] static pods should start after being created
This test has passed 99.66% of 1175 runs on jobs ['periodic-ci-openshift-release-master-ci-4.18-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-nightly-4.18-e2e-gcp-ovn-upgrade'] in the last 14 days.

Open Bugs
Static pod controller pods sometimes fail to start
pull-ci-openshift-origin-master-e2e-aws-ovn-upgrade High
[sig-api-machinery] disruption/openshift-api connection/new should be available throughout the test
This test has passed 99.75% of 806 runs on jobs ['periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-upgrade'] in the last 14 days.
---
[sig-api-machinery] disruption/kube-api connection/new should be available throughout the test
This test has passed 99.75% of 806 runs on jobs ['periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-upgrade'] in the last 14 days.
---
[sig-api-machinery] disruption/oauth-api connection/new should be available throughout the test
This test has passed 99.63% of 806 runs on jobs ['periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-upgrade'] in the last 14 days.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 16, 2024

/test e2e-gcp-ovn-image-ecosystem

@metlos metlos changed the title OCPBUGS-39373: Update the places missed in PR #29082 OCPBUGS-39373: Redo the PR #29082 Sep 16, 2024
@openshift-ci-robot
Copy link
Copy Markdown

@metlos: This pull request references Jira Issue OCPBUGS-39373, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jitendar-singh

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Turns out the fix in PR #29082 was not correct and wouldn't have been sufficient even if it were.

This PR fixes the Perl test and updates it to work with the new perl:5.32-ubi8 image that has different defaults and settings available.

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.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 16, 2024

/retest

@openshift-trt-bot
Copy link
Copy Markdown

Job Failure Risk Analysis for sha: 75569a5

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-aws-ovn-ipsec-serial High
[bz-Management Console] clusteroperator/console should not change condition/Available
This test has passed 100.00% of 52 runs on jobs ['periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-serial' 'periodic-ci-openshift-release-master-nightly-4.18-e2e-aws-ovn-serial'] in the last 14 days.

Open Bugs
clusteroperator/console: unexpected state transitions during e2e test run

@fbm3307
Copy link
Copy Markdown
Contributor

fbm3307 commented Sep 18, 2024

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2024
@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 18, 2024

/assign stbenjam

Copy link
Copy Markdown
Contributor

@adambkaplan adambkaplan left a comment

Choose a reason for hiding this comment

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

Please squash your commits, and ensure the commit has a well formatted title and description. Include the reasoning for deleting the hotfix portion of the test.

Is there someone from the RHEL team who can verify that this test is a sufficient "smoke test" for the perl s2i image?

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 18, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ausil, fbm3307, metlos
Once this PR has been reviewed and has the lgtm label, please ask for approval from stbenjam. For more information see the Kubernetes Code Review Process.

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

Details 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

Because perl:5.32 image no longer supports the PERL_APACHE2_RELOAD env var,
the portion of the test that tests the ability to switch off hot-deploy
has been removed.
@metlos metlos force-pushed the fix-missed-perl-version-updates branch from 75569a5 to 6089c60 Compare September 18, 2024 16:44
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2024
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 18, 2024

New changes are detected. LGTM label has been removed.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 18, 2024

@phracek, would you be able to comment on whether the smoke test that we perform is sufficient? Or if not, would you be able to recommend someone that could?

Previously, our test built a custom image from the perl:5.30-el7 image and a custom app that opens some http endpoint and we checked that it returns the expected data in the http response. Then we also tested that hot-deploy is off by default by trying to modify the filesystem directly in the container and expecting the http response not to change.

Afterwards we restarted the image with PERL_APACHE2_RELOAD=true and repeated the above procedure, now ensuring that hot deploy is switched on and directly modifying the filesystem of the container causes Perl to hot-reload the app and return a new http response.

Because perl:5.30-el7 has been removed, we need to upgrade the test to the next "oldest" image available that I believe is perl:5.32-ubi8.

By looking at https://github.com/sclorg/s2i-perl-container/tree/master/5.32 I found that the env var to switch hot-deploy has disappeared from the image and that hot deploy is on by default.

Therefore I merely removed the part of the test that tests hot-reload switched off.

In your opinion, is testing the perl image using a custom webapp and checking that it a) returns expected data as an http response and b) that hot-deploy works in the image, enough as a smoke test?

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 18, 2024

/test e2e-gcp-ovn-image-ecosystem

@metlos metlos requested a review from adambkaplan September 18, 2024 20:33
@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 18, 2024

/retest

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 19, 2024

@metlos: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-ovn-rt-upgrade 6089c60 link false /test e2e-gcp-ovn-rt-upgrade
ci/prow/e2e-aws-ovn-single-node-upgrade 6089c60 link false /test e2e-aws-ovn-single-node-upgrade
ci/prow/e2e-gcp-csi 6089c60 link false /test e2e-gcp-csi
ci/prow/e2e-gcp-ovn-image-ecosystem 6089c60 link true /test e2e-gcp-ovn-image-ecosystem
ci/prow/e2e-aws-ovn-kube-apiserver-rollout 6089c60 link false /test e2e-aws-ovn-kube-apiserver-rollout
ci/prow/e2e-aws-ovn-ipsec-serial 6089c60 link false /test e2e-aws-ovn-ipsec-serial

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-trt-bot
Copy link
Copy Markdown

Job Failure Risk Analysis for sha: 6089c60

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-aws-ovn-single-node-upgrade Medium
[sig-api-machinery] disruption/oauth-api connection/new should be available throughout the test
This test has passed 90.91% of 165 runs on release 4.18 [Architecture:amd64 FeatureSet:default Installer:ipi Network:ovn NetworkStack:ipv4 Platform:aws SecurityMode:default Topology:single Upgrade:micro] in the last week.
---
[sig-api-machinery] disruption/kube-api connection/new should be available throughout the test
This test has passed 87.27% of 165 runs on release 4.18 [Architecture:amd64 FeatureSet:default Installer:ipi Network:ovn NetworkStack:ipv4 Platform:aws SecurityMode:default Topology:single Upgrade:micro] in the last week.
---
[sig-api-machinery] disruption/oauth-api connection/reused should be available throughout the test
This test has passed 90.91% of 165 runs on release 4.18 [Architecture:amd64 FeatureSet:default Installer:ipi Network:ovn NetworkStack:ipv4 Platform:aws SecurityMode:default Topology:single Upgrade:micro] in the last week.
---
[sig-api-machinery] disruption/kube-api connection/reused should be available throughout the test
This test has passed 87.27% of 165 runs on release 4.18 [Architecture:amd64 FeatureSet:default Installer:ipi Network:ovn NetworkStack:ipv4 Platform:aws SecurityMode:default Topology:single Upgrade:micro] in the last week.
pull-ci-openshift-origin-master-e2e-aws-ovn-kube-apiserver-rollout Low
[Conformance][Suite:openshift/kube-apiserver/rollout][Jira:"kube-apiserver"][sig-kube-apiserver] kube-apiserver should roll out new revisions without disruption [apigroup:config.openshift.io][apigroup:operator.openshift.io]
This test has passed 78.57% of 14 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.18-e2e-aws-ovn-kube-apiserver-rollout'] in the last 14 days.

@metlos
Copy link
Copy Markdown
Contributor Author

metlos commented Sep 19, 2024

I'm closing this in favor of #29116.

@metlos metlos closed this Sep 19, 2024
@openshift-ci-robot
Copy link
Copy Markdown

@metlos: This pull request references Jira Issue OCPBUGS-39373. The bug has been updated to no longer refer to the pull request using the external bug tracker.

Details

In response to this:

Turns out the fix in PR #29082 was not correct and wouldn't have been sufficient even if it were.

This PR fixes the Perl test and updates it to work with the new perl:5.32-ubi8 image that has different defaults and settings available (notice the disappearance of PERL_APACHE2_RELOAD env var setting in https://github.com/sclorg/s2i-perl-container/tree/master/5.32 vs https://github.com/sclorg/s2i-perl-container/tree/master/5.30).

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants