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

enterprise contract update #4707

Merged

Conversation

ec-automation[bot]
Copy link
Contributor

@ec-automation ec-automation bot commented Oct 15, 2024

No description provided.

@zregvart
Copy link
Member

/lgtm
/ok-to-test
/approve

@zregvart
Copy link
Member

/lgtm

@zregvart
Copy link
Member

The Task bundle will upgrade the version of EC that might cause an outage, so let's not merge this until we have a fix for it.

Signed-off-by: Luiz Carvalho <[email protected]>
@lcarva
Copy link
Member

lcarva commented Oct 16, 2024

Removed the problematic parts. Moving it out of draft so we can get a hotfix in for ec-policies.

@lcarva lcarva marked this pull request as ready for review October 16, 2024 15:30
@lcarva
Copy link
Member

lcarva commented Oct 16, 2024

/lgtm

Copy link
Member

@zregvart zregvart left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link

openshift-ci bot commented Oct 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ec-automation[bot], zregvart

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

@zregvart
Copy link
Member

/lgtm

@lcarva
Copy link
Member

lcarva commented Oct 16, 2024

Things are broken:

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/redhat-appstudio_infra-deployments/4707/pull-ci-redhat-appstudio-infra-deployments-main-appstudio-e2e-tests/1846116860576141312/artifacts/appstudio-e2e-tests/gather-extra/artifacts/pods/chains-e2e-itpu-tenant_verify-enterprise-contract-f39549e2defe46e46a0c74659aef7118-pod_step-validate.log

Error: error validating image quay.io/konflux-ci/ec-golden-image@sha256:d9e2e0b8982dfbda98f59f1fab88795edc84a754a46bd4cce0693701dfda1adf of component -sha256:d9e2e0b8982dfbda98f59f1fab88795edc84a754a46bd4cce0693701dfda1adf-arm64: load: loading policies: get compiler: 11 errors occurred:
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/lib/time/time_test.rego:1: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/lib/time/time_test.rego:1
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/attestation_task_bundle.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/attestation_task_bundle.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/attestation_type.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/attestation_type.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/base_image_registries.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/base_image_registries.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/buildah_build_task.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/buildah_build_task.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/github.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/github.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/minimal.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/minimal.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/policy_data.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/policy_data.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/redhat.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/redhat.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/rhtap_jenkins.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/rhtap_jenkins.rego:2
rego_compile_error: error limit reached

@joejstuart
Copy link
Member

Things are broken:

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/redhat-appstudio_infra-deployments/4707/pull-ci-redhat-appstudio-infra-deployments-main-appstudio-e2e-tests/1846116860576141312/artifacts/appstudio-e2e-tests/gather-extra/artifacts/pods/chains-e2e-itpu-tenant_verify-enterprise-contract-f39549e2defe46e46a0c74659aef7118-pod_step-validate.log

Error: error validating image quay.io/konflux-ci/ec-golden-image@sha256:d9e2e0b8982dfbda98f59f1fab88795edc84a754a46bd4cce0693701dfda1adf of component -sha256:d9e2e0b8982dfbda98f59f1fab88795edc84a754a46bd4cce0693701dfda1adf-arm64: load: loading policies: get compiler: 11 errors occurred:
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/lib/time/time_test.rego:1: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/lib/time/time_test.rego:1
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/attestation_task_bundle.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/attestation_task_bundle.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/attestation_type.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/attestation_type.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/base_image_registries.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/base_image_registries.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/buildah_build_task.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/buildah_build_task.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/github.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/github.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/minimal.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/minimal.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/policy_data.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/policy_data.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/redhat.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/redhat.rego:2
/tmp/ec-work-502570160/policy/bc5c1d19d/policy/release/collection/rhtap_jenkins.rego:2: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/release/collection/rhtap_jenkins.rego:2
rego_compile_error: error limit reached

I'm wondering if this is the caching issue. There's multiple directories after policy/tmp/ec-work-502570160/policy/bc5c1d19d/policy/lib/time/time_test.rego:1: rego_type_error: package annotation redeclared: /tmp/ec-work-502570160/policy/29d85ef11/policy/lib/time/time_test.rego:1

@zregvart
Copy link
Member

Looks exactly like the issue we did the rollback for in konflux-ci/build-definitions#1510, not sure how is that still present here without the EC CLI update

@lcarva
Copy link
Member

lcarva commented Oct 16, 2024

It looks like the errors I found were from a previous run. The IDs in the URLs are different. It looks like it failed due to some sort of infra issue

@lcarva
Copy link
Member

lcarva commented Oct 16, 2024

/retest-required

@zregvart
Copy link
Member

@zregvart
Copy link
Member

It looks like the errors I found were from a previous run. The IDs in the URLs are different. It looks like it failed due to some sort of infra issue

🤞

@openshift-ci openshift-ci bot removed the lgtm label Oct 16, 2024
@zregvart
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 16, 2024
@zregvart
Copy link
Member

/retest-required

Copy link

openshift-ci bot commented Oct 17, 2024

@ec-automation[bot]: The following test 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/appstudio-upgrade-tests 4a8788f link false /test appstudio-upgrade-tests

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci openshift-ci bot removed the lgtm label Oct 17, 2024
@zregvart
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 17, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 4a82075 into redhat-appstudio:main Oct 17, 2024
5 of 6 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.

3 participants