Skip to content

Conversation

sallyom
Copy link
Contributor

@sallyom sallyom commented Aug 26, 2020

This PR is broken due to ARTIFACT_DIR not being passed to gcp instance where the test script is run.

libvirt ci is broken due to this: openshift/release@83e9a57

I tried a few different ways of passing the var w/ quotes, etc. Every time I try it takes a long time to test and is still broken so let's simply expand the variable and unbreak this setup while we work to move the jobs to step-registry. It has to be expanded w/in the cat > "${HOME}"/run-tests.sh << 'EOF' to be scp'd to the gcp instance where the install happens as '/tmp/artifacts' not ARTIFACT_DIR from the container env - I'm sure it's totally possible but let's unbreak and then focus on moving to step-registry.

@sallyom sallyom force-pushed the libvirt-e2e-template-fix branch from ecf48dd to dc387e1 Compare August 26, 2020 19:52
@sallyom sallyom changed the title libvirt-template: Pass ARTIFACT_DIR env var to gcp instance libvirt-template: Expand ARTIFACT_DIR env var to gcp instance run-tests script Aug 26, 2020
@openshift-ci-robot
Copy link
Contributor

@sallyom: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/rehearse/openshift/cluster-api-provider-libvirt/master/e2e-libvirt dc387e1 link /test pj-rehearse
ci/prow/pj-rehearse dc387e1 link /test pj-rehearse

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.

@jupierce
Copy link
Contributor

/retest

@crawford
Copy link
Contributor

/approved
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, sallyom

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 26, 2020
@openshift-merge-robot openshift-merge-robot merged commit b65216e into openshift:master Aug 26, 2020
@openshift-ci-robot
Copy link
Contributor

@sallyom: Updated the following 4 configmaps:

  • prow-job-cluster-launch-installer-libvirt-e2e configmap in namespace ci at cluster api.ci using the following files:
    • key cluster-launch-installer-libvirt-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml
  • prow-job-cluster-launch-installer-libvirt-e2e configmap in namespace ci at cluster app.ci using the following files:
    • key cluster-launch-installer-libvirt-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml
  • prow-job-cluster-launch-installer-libvirt-e2e configmap in namespace ci at cluster build01 using the following files:
    • key cluster-launch-installer-libvirt-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml
  • prow-job-cluster-launch-installer-libvirt-e2e configmap in namespace ci at cluster build02 using the following files:
    • key cluster-launch-installer-libvirt-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml

In response to this:

This PR is broken due to ARTIFACT_DIR not being passed to gcp instance where the test script is run.

libvirt ci is broken due to this: openshift/release@83e9a57

I tried a few different ways of passing the var w/ quotes, etc. Every time I try it takes a long time to test and is still broken so let's simply expand the variable and unbreak this setup while we work to move the jobs to step-registry. It has to be expanded w/in the cat > "${HOME}"/run-tests.sh << 'EOF' to be scp'd to the gcp instance where the install happens as '/tmp/artifacts' not ARTIFACT_DIR from the container env - I'm sure it's totally possible but let's unbreak and then focus on moving to step-registry.

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.

set -euo pipefail
export PATH=/home/packer:$PATH
mkdir -p ${ARTIFACT_DIR}/junit
mkdir -p /tmp/artifacts/junit
Copy link
Contributor

@smarterclayton smarterclayton Aug 27, 2020

Choose a reason for hiding this comment

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

I would prefer you fix this by adding ARTIFACT_DIR to the env, so that we remained consistent across jobs.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is the follow-up: #11313

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants