crossplane / crossplane/crossplane

TestConfigurationPullFromPrivateRegistry is failing

Open
#7,756 6 comments 0 reactions 0 assignees View on GitHub
bug e2e test
Dominant language
Go
Stars
12.1k
Forks
1.3k
Avg merge
1d 6h
Merged PRs (30d)
46

Description

### What happened?

On https://github.com/crossplane/crossplane/pull/7755, we noticed that the e2e test `TestConfigurationPullFromPrivateRegistry` is failing consistently with:

```
DENIED: Permission 'artifactregistry.repositories.downloadArtifacts' denied on resource
'//artifactregistry.googleapis.com/projects/crossplane-playground/locations/us-west1/repositories/xp-install-test'
(or it may not exist).
```

Example failure in https://github.com/crossplane/crossplane/actions/runs/32150003551/job/95753219697?pr=7755

It looks like this test container repository `xp-install-test` in GCP that we use during the e2e tests for validating package pulls from a private repo has been accidentally deleted.

We need to figure out how to restore it or how to migrate it to a more permanent location.

### How can we reproduce it?

Run any of the `pkg` area e2e tests and `TestConfigurationPullFromPrivateRegistry` will fail.

### What environment did it happen in?

This is happening across all currently supported crossplane branches (1.20 -> 2.4 and main)

Contributor guide

Open the contributing guide

Research direction

Start with the pkg area e2e tests and the failing TestConfigurationPullFromPrivateRegistry, then review the example GitHub Actions failure from pull request #7755. Confirm whether the xp-install-test Artifact Registry repository was deleted and determine whether it can be restored or must move to a permanent location. Done means the test can pull from the private registry successfully across the supported branches.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, google-cloud
Domain
cloud, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.