kcp
kcp copied to clipboard
flake: TestAPIExportVirtualWorkspace
=== RUN TestAPIExportVirtualWorkspace
=== PAUSE TestAPIExportVirtualWorkspace
=== CONT TestAPIExportVirtualWorkspace
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:74: shared kcp server will target configuration "/go/src/github.com/kcp-dev/kcp/.kcp/admin.kubeconfig"
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:80: Created root:organization workspace root:e2e-workspace-jvlsz as /clusters/6kdvcwbxh2knh40k
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:81: Created root:universal workspace root:e2e-workspace-jvlsz:e2e-workspace-2m8f2 as /clusters/1ic11oj20iosumto
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:82: Created root:universal workspace root:e2e-workspace-jvlsz:e2e-workspace-z9k47 as /clusters/c4dgn0c4fbjth2kg
virtualworkspace_test.go:99: Giving users [user-1 user-2 user-3] member access to workspace "root:e2e-workspace-jvlsz"
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:100: Giving users [user-1 user-2] member access to workspace "root:e2e-workspace-jvlsz:e2e-workspace-2m8f2"
virtualworkspace_test.go:101: Giving users [user-3] member access to workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47"
virtualworkspace_test.go:109: Install today cowboys APIResourceSchema into service provider workspace "root:e2e-workspace-jvlsz:e2e-workspace-2m8f2"
I0119 18:45:54.105614 31820 bootstrap.go:236] "upserted object" apiresourceschema.workspace="uguwlbhgcpbnzuu8" apiresourceschema.namespace="" apiresourceschema.name="today.cowboys.wildwest.dev" apiresourceschema.apiVersion="apis.kcp.io/v1alpha1"
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:109: Create an APIExport for it
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:111: test that the virtualWorkspaceURL is not set on initial APIExport creation
virtualworkspace_test.go:120: Create an APIBinding in consumer workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47" that points to the today-cowboys export from "root:e2e-workspace-jvlsz:e2e-workspace-2m8f2"
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:120: Make sure "wildwest.dev" API group shows up in consumer workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47" group discovery
virtualworkspace_test.go:120: Make sure cowboys API resource shows up in consumer workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47" group version discovery
virtualworkspace_test.go:121: Make sure we can perform CRUD operations against consumer workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47" for the bound API
virtualworkspace_test.go:121: Make sure list shows nothing to start
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:121: Create a cowboy CR in consumer workspace "root:e2e-workspace-jvlsz:e2e-workspace-z9k47"
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:124: Getting a list of VirtualWorkspaceURLs assigned to Shards
virtualworkspace_test.go:141: test that the admin user can use the virtual workspace to get cowboys
virtualworkspace_test.go:159: test that the virtual workspace includes APIBindings
virtualworkspace_test.go:165: Make sure that user-1 is denied
virtualworkspace_test.go:173: create the cluster role and bindings to give access to the virtual workspace for user-1
virtualworkspace_test.go:181: Get Cowboys with user-1
virtualworkspace_test.go:200: create the cluster role and bindings to give access to the virtual workspace for user-2
virtualworkspace_test.go:210: Get Cowboy and update status with user-2
virtualworkspace_test.go:230: create the cluster role and bindings to give write access to the virtual workspace for user-1
virtualworkspace_test.go:240: create a cowboy with user-1 via APIExport virtual workspace server
virtualworkspace_test.go:244:
Error Trace: virtualworkspace_test.go:244
asm_amd64.s:1594
Error: Received unexpected error:
cowboys.wildwest.dev is forbidden: User "user-1" cannot create resource "cowboys" in API group "wildwest.dev" in the namespace "default": access denied
Test: TestAPIExportVirtualWorkspace
=== CONT TestAPIExportVirtualWorkspace
virtualworkspace_test.go:239:
Error Trace: virtualworkspace_test.go:239
Error: Condition never satisfied
Test: TestAPIExportVirtualWorkspace
Messages: expected user-1 to create a cowboy via virtual workspace
--- FAIL: TestAPIExportVirtualWorkspace (51.01s)
From https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/kcp-dev_kcp/2653/pull-ci-kcp-dev-kcp-main-e2e-sharded/1616139594980397056
Issues go stale after 90d of inactivity.
After a furter 30 days, they will turn rotten.
Mark the issue as fresh with /remove-lifecycle stale.
If this issue is safe to close now please do so with /close.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
/close
@kcp-ci-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity. Reopen the issue with
/reopen. Mark the issue as fresh with/remove-lifecycle rotten./close
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.