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

RHOAIENG-16202: Sync main into v1.9-branch #470

Merged

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Nov 26, 2024

jiridanek and others added 15 commits November 15, 2024 19:05
RHOAIENG-15743: fix(odh-nbc): trim ca-bundle certData to avoid logging scary messages
Update gha to update makefile-vars.mk external file
* Update sync workflow to hadle specific conflicts

* Externalize KF_TAG variable to dedicated file outside of the makefile

* Update makefile logic handling
…iable (#462)

This is a nasty Go gotcha, and we aren't the first to have trouble with it
https://temporal.io/blog/go-shadowing-bad-choices#the-bug
…envtest (#464)

* RHOAIENG-15772: tests(odh-nbc): disable graceful shutdown period for envtest

There is no benefit to doing graceful shutdown. We don't assert anything about the shutdown process, so it is best to be done with it quickly, so that we don't waste time and also avoid some meaningless log messages the shutdown may print out.

* fixup also pass in test context
…efore stopping envtest (#463)

Otherwise, there will be some errors printed in the output.
It was not breaking anything, but it was unpleasant to look at.

The notebook-controller does not seem to be suffering from this.
Probably because it does not use a webhook.

Example of the error message that's prevented by this

```
2024-11-17T20:19:57+01:00       ERROR   controller-runtime.certwatcher  error re-reading certificate    {"error": "open /var/folders/f1/3m518k5d34l72v_9nqyjzqm80000gn/T/envtest-serving-certs-737480808/tls.crt: no such file or directory"}
```
… request (#450)

* RHOAIENG-15772: tests(odh-nbc): write envtest kubeconfig to disk upon request

This helps with debugging because it's then possible to do e.g.

```
KUBECONFIG=/tmp/envtest.kubeconfig k9s
```

and investigate the cluster while the test is paused on a breakpoint.

* fixup docs and logging

* fixup move user creation as early as possible, and explain test verbosity

* Update components/odh-notebook-controller/README.md

Co-authored-by: Jan Stourac <jstourac@redhat.com>

---------

Co-authored-by: Jan Stourac <jstourac@redhat.com>
… disk upon request (#451)

* RHOAIENG-15772: tests(odh-nbc): write auditlogs from envtest tests to disk upon request

This helps with debugging because it's then possible to do e.g.

```
cat /tmp/audit.log | jq | ...
```

and investigate what happened when a test was running.

* fixup logging and order and few comments

* fixup readme and tweaks
… messages (#454)

Now it will be possible to see why the check failed, instead of getting the meaningless

```
    Expected
        <bool>: false
    to be true
```
* [Fix] update bash scripts for E2E tests run to propagate failures

We haven't been propagating the test failures in our E2E CI jobs because
we weren't checking for the return codes of the commands run in the bash
scripts.

Also, this fixes setup* targets in Makefile so that expected images are
deployed to the testing cluster.

* asdf
…d not update it with digest updater from now on (#468)
Copy link

openshift-ci bot commented Nov 26, 2024

Hi @github-actions[bot]. Thanks for your PR.

I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@jiridanek jiridanek changed the title Sync main into v1.9-branch RHOAIENG-16202: Sync main into v1.9-branch Nov 26, 2024
@atheo89
Copy link
Member

atheo89 commented Nov 26, 2024

Niahhh what is happening again with the e2e tests? I have the same on this PR #469 where there are no changes on the code base

@jiridanek
Copy link
Member

Yes, Jan announced this on standup, no? Tests were broken since forever, the change in #433 now makes the failure visible.

@jiridanek
Copy link
Member

/override ci/prow/odh-notebook-controller-e2e
/lgtm
/approve

Copy link

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jiridanek

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

Copy link

openshift-ci bot commented Nov 26, 2024

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/odh-notebook-controller-e2e

In response to this:

/override ci/prow/odh-notebook-controller-e2e
/lgtm
/approve

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.

@openshift-merge-bot openshift-merge-bot bot merged commit de53637 into v1.9-branch Nov 26, 2024
7 checks passed
@openshift-merge-bot openshift-merge-bot bot deleted the sync__main__v1.9-branch__20241126102910 branch November 26, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants