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

Fix after_kuttl commands so that the output is not truncated #2675

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

Conversation

cescgina
Copy link
Contributor

@cescgina cescgina commented Jan 21, 2025

The commands run after kuttl were simply redirecting the output and not
appending to the file, so if there were multiple commmands run, only the
output of the last one was kept. Instead, append to the file so the
output of all commands is visible.

Depends-On: openstack-k8s-operators/install_yamls#999

The commands run after kuttl were simply redirecting the output and not
appending to the file, so if there were multiple commmands run, only the
output of the last one was kept. Instead, append to the file so the
output of all commands is visible.
Copy link
Contributor

openshift-ci bot commented Jan 21, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from cescgina. For more information see the 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

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4fe70a6463414d41a29d65baeb277817

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 31m 18s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 12m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 17m 25s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 42s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 51s
cifmw-multinode-kuttl FAILURE in 1h 44m 01s
✔️ build-push-container-cifmw-client SUCCESS in 23m 07s

@cescgina
Copy link
Contributor Author

recheck

@raukadah
Copy link
Contributor

/lgtm

thank you @cescgina for fixing it!

@openshift-ci openshift-ci bot added the lgtm label Jan 23, 2025
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 23, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and  then
  Deploy EDPM job watcher-operator-validation-master from mastter content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation
  (still deploying the antelope content) with
  update_containers_openstack: false to avoid using meta
  content provider containers. This change will help to
  test master content with antelope job as in downstream,
  we are going to backport lots of watcher master patches downstream.
  It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation
  and watcher-operator-kuttl job to use openstack-meta-content-provider-master
  as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 23, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and  then
  Deploy EDPM job watcher-operator-validation-master from mastter content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation
  (still deploying the antelope content) with
  update_containers_openstack: false to avoid using meta
  content provider containers. This change will help to
  test master content with antelope job as in downstream,
  we are going to backport lots of watcher master patches downstream.
  It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation
  and watcher-operator-kuttl job to use openstack-meta-content-provider-master
  as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 24, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and then
  Deploy EDPM job watcher-operator-validation-master from master content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation (still deploying
  the antelope content) with update_containers: false to avoid using meta
  content provider containers. This change will help to test master content
  with antelope job as
  in downstream, we are going to backport lots of watcher master patches
  downstream. It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation and
  watcher-operator-kuttl job to use
  openstack-meta-content-provider-master as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 24, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and then
  Deploy EDPM job watcher-operator-validation-master from master content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation (still deploying
  the antelope content) with update_containers: false to avoid using meta
  content provider containers. This change will help to test master content
  with antelope job as
  in downstream, we are going to backport lots of watcher master patches
  downstream. It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation and
  watcher-operator-kuttl job to use
  openstack-meta-content-provider-master as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 24, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and then
  Deploy EDPM job watcher-operator-validation-master from master content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation (still deploying
  the antelope content) with update_containers: false to avoid using meta
  content provider containers. This change will help to test master content
  with antelope job as
  in downstream, we are going to backport lots of watcher master patches
  downstream. It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation and
  watcher-operator-kuttl job to use
  openstack-meta-content-provider-master as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 24, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and then
  Deploy EDPM job watcher-operator-validation-master from master content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation (still deploying
  the antelope content) with update_containers: false to avoid using meta
  content provider containers. This change will help to test master content
  with antelope job as
  in downstream, we are going to backport lots of watcher master patches
  downstream. It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation and
  watcher-operator-kuttl job to use
  openstack-meta-content-provider-master as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
raukadah added a commit to raukadah/watcher-operator that referenced this pull request Jan 24, 2025
In order to test opendev watcher master content in CI job,
this pr adds following things:

* opendev-master-watcher-operator-pipeline project template
  which will run meta content provider from master and then
  Deploy EDPM job watcher-operator-validation-master from master content.
  It will help to test any opendev watcher patches with master edpm  job.

* It changes the existing job watcher-operator-validation (still deploying
  the antelope content) with update_containers: false to avoid using meta
  content provider containers. This change will help to test master content
  with antelope job as
  in downstream, we are going to backport lots of watcher master patches
  downstream. It will help to avoid breakage in advance.

* It also updates the existing watcher-operator-validation and
  watcher-operator-kuttl job to use
  openstack-meta-content-provider-master as a job dependencies.

Depends-On: https://review.opendev.org/c/openstack/watcher/+/938893
Depends-On: openstack-k8s-operators/ci-framework#2675

Related-Jira: https://issues.redhat.com/browse/OSPRH-11948

Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
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.

2 participants