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

test/cmd/quota.sh:20: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' #19282

Closed
liggitt opened this issue Apr 9, 2018 · 0 comments · Fixed by #19321
Assignees
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/post-rebase kind/test-flake Categorizes issue or PR as related to test flakes. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/master

Comments

@liggitt
Copy link
Contributor

liggitt commented Apr 9, 2018

seen frequently (25% failure rate) after the 1.10 rebase landed.

example: https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/19260/test_pull_request_origin_cmd/12268/

=== BEGIN TEST CASE ===
test/cmd/quota.sh:20: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s
FAILURE after 60.242s: test/cmd/quota.sh:20: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s: the command timed out
Standard output from the command:
secret/builder-dockercfg-snm68
...
secret/deployer-token-x8qll
Name:		for-deads
Created:	About a minute ago
Labels:		<none>
Annotations:	<none>
Namespace Selector: ["quota-foo"]
Label Selector: owner=deads
AnnotationSelector: map[]
Resource	Used	Hard
--------	----	----
secrets		3	10
Standard error from the command:
=== END TEST CASE ===

count is underreported, which is odd... debugging indicates service accounts and secrets are created as expected:

=== BEGIN TEST CASE ===
test/cmd/quota.sh:20: executing 'oc get secrets,serviceaccounts -n quota-foo; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s
FAILURE after 59.257s: test/cmd/quota.sh:20: executing 'oc get secrets,serviceaccounts -n quota-foo; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s: the command timed out
Standard output from the command:
NAME                              TYPE                                  DATA      AGE
secret/builder-dockercfg-r7spz    kubernetes.io/dockercfg               1         1s
secret/builder-token-fs467        kubernetes.io/service-account-token   4         3s
secret/builder-token-vpkg5        kubernetes.io/service-account-token   4         3s
secret/default-dockercfg-dbj58    kubernetes.io/dockercfg               1         1s
secret/default-token-dv84g        kubernetes.io/service-account-token   4         3s
secret/default-token-glmh9        kubernetes.io/service-account-token   4         3s
secret/deployer-dockercfg-w27qq   kubernetes.io/dockercfg               1         1s
secret/deployer-token-s8slk       kubernetes.io/service-account-token   4         3s
secret/deployer-token-z6m6z       kubernetes.io/service-account-token   4         3s
NAME                      SECRETS   AGE
serviceaccount/builder    2         3s
serviceaccount/default    2         3s
serviceaccount/deployer   2         3s
Name:		for-deads
Created:	2 seconds ago
Labels:		<none>
Annotations:	<none>
Namespace Selector: ["quota-foo"]
Label Selector: owner=deads
AnnotationSelector: map[]
Resource	Used	Hard
--------	----	----
secrets		3	10
@liggitt liggitt self-assigned this Apr 9, 2018
@liggitt liggitt added kind/test-flake Categorizes issue or PR as related to test flakes. kind/post-rebase sig/master kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. labels Apr 9, 2018
This was referenced Apr 9, 2018
@liggitt liggitt added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/post-rebase kind/test-flake Categorizes issue or PR as related to test flakes. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/master
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant