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

Flaky test: secrets "bar" not found in namespace controller test #25

Closed
zoetrope opened this issue Oct 14, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@zoetrope
Copy link
Member

Describe the bug

Secret "bar" sometimes not found in the namespace controller test.

https://github.com/cybozu-go/accurate/runs/3891153514?check_suite_focus=true

• Failure [0.614 seconds]
Namespace controller
/home/runner/work/accurate/accurate/controllers/namespace_controller_test.go:39
  should implement template namespace correctly [It]
  /home/runner/work/accurate/accurate/controllers/namespace_controller_test.go:84

  Unexpected error:
      <*errors.StatusError | 0xc000a69ea0>: {
          ErrStatus: {
              TypeMeta: {Kind: "", APIVersion: ""},
              ListMeta: {
                  SelfLink: "",
                  ResourceVersion: "",
                  Continue: "",
                  RemainingItemCount: nil,
              },
              Status: "Failure",
              Message: "secrets \"bar\" not found",
              Reason: "NotFound",
              Details: {Name: "bar", Group: "", Kind: "secrets", UID: "", Causes: nil, RetryAfterSeconds: 0},
              Code: 404,
          },
      }
      secrets "bar" not found
  occurred

  /home/runner/work/accurate/accurate/controllers/namespace_controller_test.go:199
------------------------------
SSSTEP: tearing down the test environment


Summarizing 1 Failure:

[Fail] Namespace controller [It] should implement template namespace correctly 
/home/runner/work/accurate/accurate/controllers/namespace_controller_test.go:199

Environments

  • Version:
  • OS:

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@zoetrope zoetrope added the bug Something isn't working label Oct 14, 2021
@ymmt2005 ymmt2005 self-assigned this Oct 14, 2021
@ymmt2005
Copy link
Member

This might have been caused by the bug fixed in #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants