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

TestSecretController {secret} #36422

Closed
k8s-github-robot opened this issue Nov 8, 2016 · 19 comments · Fixed by #36463
Closed

TestSecretController {secret} #36422

k8s-github-robot opened this issue Nov 8, 2016 · 19 comments · Fixed by #36463
Assignees
Labels
kind/flake Categorizes issue or PR as related to a flaky test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@k8s-github-robot
Copy link

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19368/

Failed: TestSecretController {secret}

<autogenerated>:10: 
                        
	Error Trace:	secret_controller_test.go:141
	
	Error:		Should be true
	
	Messages:	expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}
	

Previous issues for this test: #33880

@k8s-github-robot k8s-github-robot added kind/flake Categorizes issue or PR as related to a flaky test. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Nov 8, 2016
@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19370/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19371/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19372/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19373/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19375/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19377/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19378/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19382/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19384/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120] A:[97 108 97 32 109 97 32 107 111 116 97]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19385/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120] A:[97 108 97 32 109 97 32 107 111 116 97]] map[] Opaque}

@k8s-github-robot k8s-github-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed priority/backlog Higher priority than priority/awaiting-more-evidence. labels Nov 8, 2016
@dims
Copy link
Member

dims commented Nov 8, 2016

@nikhiljindal This flake seems to have started after d8fa6a9 merged (just looking at the merge time line). Can you please take a look?

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19386/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19390/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:102

    Error:      Should be true

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120] A:[97 108 97 32 109 97 32 107 111 116 97]] map[] Opaque}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:150

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120] A:[97 108 97 32 109 97 32 107 111 116 97]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19394/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120] A:[97 108 97 32 109 97 32 107 111 116 97]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19396/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/19401/

Failed: TestSecretController {secret}

<autogenerated>:10: 

    Error Trace:    secret_controller_test.go:141

    Error:      Should be true

    Messages:   expected: {{ } {test-secret  ns /api/v1/namespaces/ns/secrets/test-secret   0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [federation.kubernetes.io/delete-from-underlying-clusters orphan] } map[config:[109 121 99 111 110 102 105 103 117 114 97 116 105 111 110 102 105 108 101]] map[] Opaque}, actual: {{ } {test-secret  ns    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[A:B] [] [] } map[A:[97 108 97 32 109 97 32 107 111 116 97] B:[113 117 105 99 107 32 98 114 111 119 110 32 102 111 120]] map[] Opaque}

@nikhiljindal
Copy link
Contributor

Sorry just saw this, looking at it now

@nikhiljindal
Copy link
Contributor

Sent #36463 for a fix

@dims
Copy link
Member

dims commented Nov 8, 2016

nice thanks @nikhiljindal

k8s-github-robot pushed a commit that referenced this issue Nov 9, 2016
Automatic merge from submit-queue

Fixing federation secret controller unit test flakiness

Fixes #36422

Adding a wait for the secret to be updated in the store to fix flakiness.
It was failing ~once in 3 to 5 runs before this change. I now have had 30 local runs without a failure.

cc @kubernetes/sig-cluster-federation @mwielgus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants