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

NE-1526: Re-introduce the DNS CI coverage for golang and glibc resolver libraries #27644

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gcs278
Copy link
Contributor

@gcs278 gcs278 commented Jan 10, 2023

Cloned from #27135 so that I can take over the PR

Story is NE-1526

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

…lver libraries""

This reverts commit 4a1e802.

Modifications to the previous PR:

Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 18, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 18, 2023

@gcs278: This pull request references [Jira Issue NE-626](https://issues.redhat.com//browse/NE-626), which is a valid jira issue.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.

Modifications to the previous closed PR:

  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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-robot
Copy link

openshift-ci-robot commented Jan 18, 2023

@gcs278: This pull request references [Jira Issue NE-626](https://issues.redhat.com//browse/NE-626), which is a valid jira issue.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.

Modifications to the previous closed PR:

  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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-robot
Copy link

openshift-ci-robot commented Jan 18, 2023

@gcs278: This pull request references [Jira Issue NE-626](https://issues.redhat.com//browse/NE-626), which is a valid jira issue.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.

Modifications to the previous closed PR (from when I took over from Suleyman:

  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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-robot
Copy link

openshift-ci-robot commented Jan 18, 2023

@gcs278: This pull request references [Jira Issue NE-626](https://issues.redhat.com//browse/NE-626), which is a valid jira issue.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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.


// 1.16 provides 404 error, though https://catalog.redhat.com/software/containers/rhel8/go-toolset/5b9c810add19c70b45cbd666?tag=1.16.12-10&push_date=1650995486000
// clearly states 1.16 is a tag
goVersions := []string{"1.16.12", "1.17", "1.18", "latest"}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we test latest? to keep updated?

@candita
Copy link
Contributor

candita commented Jan 25, 2023

/assign @rfredette

@gcs278
Copy link
Contributor Author

gcs278 commented Jan 30, 2023

/retest

1 similar comment
@jerpeter1
Copy link
Member

/retest

@gcs278
Copy link
Contributor Author

gcs278 commented Mar 22, 2023

@rfredette just a reminder for a review when the dust settles from 4.13 bugs.

@gcs278
Copy link
Contributor Author

gcs278 commented Jun 7, 2023

@rfredette just a reminder for a review when the dust settles from 4.14 bugs.

@rfredette
Copy link
Contributor

/retest

@rfredette
Copy link
Contributor

/approve

@gcs278 I'm not sure why github isn't calling this out, but based on the retest results, it looks like this needs a rebase. Once it's been rebased, I'll lgtm this as well.

@gcs278
Copy link
Contributor Author

gcs278 commented Jun 28, 2023

/hold
Thanks for the review @rfredette. Looking back at this PR after a long break, something feels awkward about this test. I'm going to put it on hold for now.

Essentially, we have a floating and always moving target version of GO, that we want to test. The code:

goVersions := []string{"1.16.12", "1.17", "1.18", "latest"}

Feels weird to me, because I know it's going to get outdated. Say in 3 years, we are now running with GO 1.27 because latest=GO 1.27. Well, the test is now skipping 1.19 - 1.26, but still testing 1.16 - 1.18. That feels awkward to me. I know no one is going to come back and update this code (that's how things go in software right?).

I wonder if it makes sense to test with just latest. The idea is that latest will allow us to gradually be fed the new versions of GO, but the assumption is that we don't need to continually test the previous versions. Still, it feels weird to me that we have an externally moving target (GO Version) that this test is at the mercy of.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 28, 2023
@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 27, 2023
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 27, 2023
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this Nov 27, 2023
Copy link
Contributor

openshift-ci bot commented Nov 27, 2023

@openshift-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

@Miciah
Copy link
Contributor

Miciah commented Feb 28, 2024

We still want this test coverage.
/reopen
/remove-lifecycle rotten

@openshift-ci openshift-ci bot reopened this Feb 28, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 28, 2024

@gcs278: This pull request references NE-626 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.16.0" version, but no target version was set.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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.

Copy link
Contributor

openshift-ci bot commented Feb 28, 2024

@Miciah: Reopened this PR.

In response to this:

We still want this test coverage.
/reopen
/remove-lifecycle rotten

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 removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Feb 28, 2024
Copy link
Contributor

openshift-ci bot commented Feb 28, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gcs278, rfredette
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

openshift-ci bot commented Feb 28, 2024

@gcs278: 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-vsphere-ovn-etcd-scaling a7ab0d0 link false /test e2e-vsphere-ovn-etcd-scaling
ci/prow/e2e-azure-ovn-etcd-scaling a7ab0d0 link false /test e2e-azure-ovn-etcd-scaling
ci/prow/e2e-agnostic-ovn-cmd a7ab0d0 link false /test e2e-agnostic-ovn-cmd
ci/prow/e2e-openstack-ovn a7ab0d0 link false /test e2e-openstack-ovn
ci/prow/e2e-gcp-ovn-rt-upgrade a7ab0d0 link false /test e2e-gcp-ovn-rt-upgrade
ci/prow/e2e-aws-ovn-serial a7ab0d0 link true /test e2e-aws-ovn-serial
ci/prow/e2e-aws-csi a7ab0d0 link false /test e2e-aws-csi
ci/prow/e2e-aws-ovn-fips a7ab0d0 link true /test e2e-aws-ovn-fips
ci/prow/e2e-metal-ipi-sdn a7ab0d0 link false /test e2e-metal-ipi-sdn
ci/prow/e2e-metal-ipi-ovn-ipv6 a7ab0d0 link true /test e2e-metal-ipi-ovn-ipv6
ci/prow/images a7ab0d0 link true /test images
ci/prow/e2e-gcp-ovn a7ab0d0 link true /test e2e-gcp-ovn
ci/prow/unit a7ab0d0 link true /test unit
ci/prow/e2e-aws-ovn-single-node-serial a7ab0d0 link false /test e2e-aws-ovn-single-node-serial
ci/prow/verify-deps a7ab0d0 link true /test verify-deps
ci/prow/e2e-aws-ovn-cgroupsv2 a7ab0d0 link false /test e2e-aws-ovn-cgroupsv2
ci/prow/e2e-gcp-ovn-builds a7ab0d0 link true /test e2e-gcp-ovn-builds
ci/prow/e2e-aws-ovn-upgrade a7ab0d0 link false /test e2e-aws-ovn-upgrade
ci/prow/e2e-aws-ovn-single-node-upgrade a7ab0d0 link false /test e2e-aws-ovn-single-node-upgrade
ci/prow/e2e-gcp-csi a7ab0d0 link false /test e2e-gcp-csi
ci/prow/e2e-aws-ovn-single-node a7ab0d0 link false /test e2e-aws-ovn-single-node
ci/prow/verify a7ab0d0 link true /test verify
ci/prow/e2e-gcp-ovn-upgrade a7ab0d0 link true /test e2e-gcp-ovn-upgrade

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.

@gcs278 gcs278 changed the title NE-626: Re-introduce the DNS CI coverage for golang and glibc resolver libraries NE-1526: Re-introduce the DNS CI coverage for golang and glibc resolver libraries Feb 29, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 29, 2024

@gcs278: This pull request references NE-1526 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-626

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 29, 2024

@gcs278: This pull request references NE-1526 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-1526

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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.

1 similar comment
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 29, 2024

@gcs278: This pull request references NE-1526 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

Cloned from #27135 so that I can take over the PR

Story is NE-1526

This PR re-introduces the DNS CI coverage for golang and glibc resolver libraries by reverting 4a1e802.

Modifications to the previous reverted PR:

  • Base image for Go test was changed from golang in Docker Hub to registry.redhat.io/ubi8/go-toolset.
  • A test for Go 1.16, 1.17, 1.18, and the latest GO version were added.
  • A check for baremetal environment was added to skip the test, as this environment is disconnected and does not have any suitable images on the local registry to use for different Go versions.
  • Converted dns_library_go.yaml to be a dynamic part of code
  • Added a build arg for the Dockerfile FROM base image, so that it could be dynamically populated
  • Reduced testdata directories go-v1-16 and go-v1-17 to be a single go-library-test directory. Now you can add a new GO version test just by adding to the GO Version Slice
  • Added latest as a test for the latest GO version so the test won't go stale.
  • Used e2e.RunHostCmd for simplifying some logic

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
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. 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.

None yet

8 participants