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-14520: fix(vscode): change supervisord files location #747

Merged

Conversation

guimou
Copy link
Member

@guimou guimou commented Oct 17, 2024

The current supervisord configuration creates two file in /opt/app-root/src:

  • supervisord.pid
  • supervisord.log

This can be confusing for users, who don't know where they come from, what they do, if they can/should delete them... Especially as even if they are deleted they will keep coming back.

This PR modifies supervisord configuration to put those files under /tmp. That way they are hidden to the user, and reinitialized at each restart of the workbench (instead of having the log file growing).

@openshift-ci openshift-ci bot requested review from caponetto and harshad16 October 17, 2024 13:31
@jiridanek
Copy link
Member

jiridanek commented Oct 17, 2024

/retitle RHOAIENG-14520: fix(vscode): change supervisord files location

@openshift-ci openshift-ci bot changed the title Change supervisord files location RHOAIENG-14520: fix(vscode): change supervisord files location Oct 17, 2024
@jiridanek
Copy link
Member

/lgtm

can you eventually rebase the PR on main, to get a recent-ish fix for gha?

@jstourac
Copy link
Member

/lgtm

@atheo89
Copy link
Member

atheo89 commented Oct 17, 2024

Thank you @guimou for this fix!
Tested locally
podman run -it -p 8787:8787 quay.io/opendatahub/workbench-images:codeserver-ubi9-python-3.11-pr-747

Looks much better now 🙂
image

/approve

Copy link
Contributor

openshift-ci bot commented Oct 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: atheo89

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

@harshad16
Copy link
Member

/hold

@jiridanek
Copy link
Member

/retest-required

1 similar comment
@jiridanek
Copy link
Member

/retest-required

@jiridanek
Copy link
Member

We're ready to have this for 2.16. The tests will fail anyways, so there's still lots of time to object if anyone objects ;P

/unhold
/retest-required

@jiridanek
Copy link
Member

/test codeserver-notebook-e2e-tests

@jiridanek
Copy link
Member

jiridanek commented Oct 22, 2024

The test issues are because we aren't able to reliably build our images on ocp-ci for a pr. There's no way all of rocm will get built at the same time even if I retrigger few more times, so let's override the way we always do

/override ci/prow/images
/override ci/prow/rstudio-notebook-e2e-tests
/override ci/prow/codeserver-notebook-e2e-tests

Copy link
Contributor

openshift-ci bot commented Oct 22, 2024

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/codeserver-notebook-e2e-tests, ci/prow/images, ci/prow/rstudio-notebook-e2e-tests

In response to this:

The test issues are because we aren't able to reliably build our images. There's no way all of rocm will get build at the same time even if I retrigger few more times, so let's override the way we always do

/override ci/prow/images
/override ci/prow/rstudio-notebook-e2e-tests
/override ci/prow/codeserver-notebook-e2e-tests

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

/retest "pytest-tests (pull_request)"

Copy link
Contributor

openshift-ci bot commented Oct 23, 2024

@jiridanek: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

  • /test codeserver-notebook-e2e-tests
  • /test images
  • /test intel-notebooks-e2e-tests
  • /test notebook-base-c9s-python-3-11-pr-image-mirror
  • /test notebook-base-c9s-python-3-9-pr-image-mirror
  • /test notebook-base-ubi9-python-3-11-pr-image-mirror
  • /test notebook-base-ubi9-python-3-9-pr-image-mirror
  • /test notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • /test notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-c9s-python-3-11-pr-image-mirror
  • /test notebook-cuda-c9s-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-ds-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-min-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • /test notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • /test notebook-cuda-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-datascience-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-datascience-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-ml-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-ml-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-pyt-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-pyt-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-minimal-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-trustyai-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-trustyai-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-min-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-pyt-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-pyt-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • /test notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • /test notebooks-ubi9-e2e-tests
  • /test rocm-notebooks-e2e-tests
  • /test rocm-runtimes-ubi9-e2e-tests
  • /test rstudio-notebook-e2e-tests
  • /test runtime-cuda-tensorflow-ubi9-python-3-11-pr-image-mirror
  • /test runtime-cuda-tensorflow-ubi9-python-3-9-pr-image-mirror
  • /test runtime-datascience-ubi9-python-3-11-pr-image-mirror
  • /test runtime-datascience-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-ml-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-ml-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-pyt-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-pyt-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-tf-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-tf-ubi9-python-3-9-pr-image-mirror
  • /test runtime-minimal-ubi9-python-3-11-pr-image-mirror
  • /test runtime-minimal-ubi9-python-3-9-pr-image-mirror
  • /test runtime-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test runtime-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test runtime-rocm-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test runtime-rocm-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test runtime-rocm-tensorflow-ubi9-python-3-11-pr-image-mirror
  • /test runtime-rocm-tensorflow-ubi9-python-3-9-pr-image-mirror
  • /test runtimes-ubi9-e2e-tests

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

  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-images
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests

In response to this:

/retest "pytest-tests (pull_request)"

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

/override "pytest-tests (pull_request)"

Copy link
Contributor

openshift-ci bot commented Oct 23, 2024

@jiridanek: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • pytest-tests (pull_request)

Only the following failed contexts/checkruns were expected:

  • ci/prow/codeserver-notebook-e2e-tests
  • ci/prow/images
  • ci/prow/notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • ci/prow/notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • ci/prow/notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • ci/prow/rstudio-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-2023a-images
  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests
  • pytest-tests
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override "pytest-tests (pull_request)"

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

/test pytest-tests

Copy link
Contributor

openshift-ci bot commented Oct 23, 2024

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

  • /test codeserver-notebook-e2e-tests
  • /test images
  • /test intel-notebooks-e2e-tests
  • /test notebook-base-c9s-python-3-11-pr-image-mirror
  • /test notebook-base-c9s-python-3-9-pr-image-mirror
  • /test notebook-base-ubi9-python-3-11-pr-image-mirror
  • /test notebook-base-ubi9-python-3-9-pr-image-mirror
  • /test notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • /test notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-c9s-python-3-11-pr-image-mirror
  • /test notebook-cuda-c9s-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-ds-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-min-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-jupyter-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • /test notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • /test notebook-cuda-ubi9-python-3-11-pr-image-mirror
  • /test notebook-cuda-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-datascience-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-datascience-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-ml-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-ml-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-pyt-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-pyt-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-intel-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-intel-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-minimal-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test notebook-jupyter-trustyai-ubi9-python-3-11-pr-image-mirror
  • /test notebook-jupyter-trustyai-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-min-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-minimal-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-pyt-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-pyt-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-jupyter-tf-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rocm-ubi9-python-3-11-pr-image-mirror
  • /test notebook-rocm-ubi9-python-3-9-pr-image-mirror
  • /test notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • /test notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • /test notebooks-ubi9-e2e-tests
  • /test rocm-notebooks-e2e-tests
  • /test rocm-runtimes-ubi9-e2e-tests
  • /test rstudio-notebook-e2e-tests
  • /test runtime-cuda-tensorflow-ubi9-python-3-11-pr-image-mirror
  • /test runtime-cuda-tensorflow-ubi9-python-3-9-pr-image-mirror
  • /test runtime-datascience-ubi9-python-3-11-pr-image-mirror
  • /test runtime-datascience-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-ml-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-ml-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-pyt-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-pyt-ubi9-python-3-9-pr-image-mirror
  • /test runtime-intel-tf-ubi9-python-3-11-pr-image-mirror
  • /test runtime-intel-tf-ubi9-python-3-9-pr-image-mirror
  • /test runtime-minimal-ubi9-python-3-11-pr-image-mirror
  • /test runtime-minimal-ubi9-python-3-9-pr-image-mirror
  • /test runtime-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test runtime-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test runtime-rocm-pytorch-ubi9-python-3-11-pr-image-mirror
  • /test runtime-rocm-pytorch-ubi9-python-3-9-pr-image-mirror
  • /test runtime-rocm-tensorflow-ubi9-python-3-11-pr-image-mirror
  • /test runtime-rocm-tensorflow-ubi9-python-3-9-pr-image-mirror
  • /test runtimes-ubi9-e2e-tests

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

  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-images
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rstudio-c9s-python-3-9-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests

In response to this:

/test pytest-tests

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

/override pytest-tests

Copy link
Contributor

openshift-ci bot commented Oct 23, 2024

@jiridanek: Overrode contexts on behalf of jiridanek: pytest-tests

In response to this:

/override pytest-tests

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 1595213 into opendatahub-io:main Oct 23, 2024
20 of 21 checks passed
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.

5 participants