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

bug: flake: quota #2685

Closed
stevekuznetsov opened this issue Jan 26, 2023 · 3 comments · Fixed by #2688
Closed

bug: flake: quota #2685

stevekuznetsov opened this issue Jan 26, 2023 · 3 comments · Fixed by #2688
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/flake Categorizes issue or PR as related to a flaky test.

Comments

@stevekuznetsov
Copy link
Contributor

Describe the bug

 === FAIL: test/e2e/quota TestKubeQuotaNormalCRDs (unknown)
    quota_test.go:252: shared kcp server will target configuration "/go/src/github.com/kcp-dev/kcp/.kcp/admin.kubeconfig"
    quota_test.go:268: Created root:organization workspace root:e2e-workspace-cx2ww as /clusters/1zcegg5d1igixo6t
    quota_test.go:275: Created root:universal workspace root:e2e-workspace-cx2ww:one as /clusters/30ln42srrbq4011n
    quota_test.go:276: Created root:universal workspace root:e2e-workspace-cx2ww:two as /clusters/224pc4kizldywhnr
    quota_test.go:278: Install a normal sheriffs CRD into workspace 1 "root:e2e-workspace-cx2ww:one"
I0126 19:16:42.920442   30739 bootstrap.go:129] "bootstrapping CRD" crd="sheriffs.aj8y3ikb.io"
    quota_test.go:281: Install another normal sheriffs CRD with a different schema into workspace 2 "root:e2e-workspace-cx2ww:two"
I0126 19:16:43.124610   30739 bootstrap.go:129] "bootstrapping CRD" crd="sheriffs.aj8y3ikb.io"
I0126 19:16:43.145999   30739 bootstrap.go:150] "bootstrapped CRD" crd="sheriffs.aj8y3ikb.io" customresourcedefinition.workspace="224pc4kizldywhnr" customresourcedefinition.namespace="" customresourcedefinition.name="sheriffs.aj8y3ikb.io" customresourcedefinition.apiVersion="" duration="21.344088ms"
I0126 19:16:43.146095   30739 bootstrap.go:169] "waiting for CRD to be established" crd="sheriffs.aj8y3ikb.io" customresourcedefinition.workspace="224pc4kizldywhnr" customresourcedefinition.namespace="" customresourcedefinition.name="sheriffs.aj8y3ikb.io" customresourcedefinition.apiVersion=""
    quota_test.go:303: Creating ws 1 quota
    quota_test.go:307: Waiting for ws 1 quota to show usage
    quota_test.go:316: Create 2 sheriffs to reach the quota limit
    quota_test.go:317: Creating aj8y3ikb.io/v1 sheriffs root:e2e-workspace-cx2ww:one|default/ws1-1
    quota_test.go:318: Creating aj8y3ikb.io/v1 sheriffs root:e2e-workspace-cx2ww:one|default/ws1-2
    quota_test.go:320: Make sure quota is enforcing limits
    quota_test.go:324: Trying to create a sheriff
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5a69348]
goroutine 2936 [running]:
github.com/kcp-dev/kcp/test/e2e/quota.TestKubeQuotaNormalCRDs.func2()
	/go/src/github.com/kcp-dev/kcp/test/e2e/quota/quota_test.go:328 +0x588
github.com/kcp-dev/kcp/test/e2e/framework.Eventually.func1()
	/go/src/github.com/kcp-dev/kcp/test/e2e/framework/util.go:330 +0x88
github.com/stretchr/testify/assert.Eventually.func1()
	/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1691 +0x3a
created by github.com/stretchr/testify/assert.Eventually
	/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1691 +0x3a6 

Steps To Reproduce

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/kcp-dev_kcp/2683/pull-ci-kcp-dev-kcp-main-e2e-sharded/1618687639924248576

Expected Behaviour

.

Additional Context

@ncdc

@stevekuznetsov stevekuznetsov added the kind/bug Categorizes issue or PR as related to a bug. label Jan 26, 2023
@ncdc
Copy link
Member

ncdc commented Jan 26, 2023

/label kind/flake

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 26, 2023

@ncdc: The label(s) /label kind/flake cannot be applied. These labels are supported: platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, px-approved, docs-approved, qe-approved, downstream-change-needed, approved, backport-risk-assessed, bugzilla/valid-bug, cherry-pick-approved, jira/valid-bug, staff-eng-approved. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

/label kind/flake

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.

@ncdc
Copy link
Member

ncdc commented Jan 26, 2023

/kind flake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/flake Categorizes issue or PR as related to a flaky test.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants