thoth-station / meteor-operator

Project Meteor Operator for OpenShift
GNU General Public License v3.0
4 stars 11 forks source link

`make test` fails locally (this might be non-reproducible) #99

Closed goern closed 2 years ago

goern commented 2 years ago

Bug description

$ make test
[...]
[BeforeSuite] [FAILED] [15.021 seconds]
[BeforeSuite] 
/home/goern/Work/thoth-station/meteor-operator/api/v1alpha1/webhook_suite_test.go:62

  Begin Captured GinkgoWriter Output >>
    STEP: bootstrapping test environment 09/30/22 10:38:46.69
    1.6645271266909258e+09      DEBUG   controller-runtime.test-env     starting control plane
    1.6645271315763607e+09      DEBUG   controller-runtime.test-env     reading Webhooks from path      {"path": "../../config/webhook"}
    1.6645271315767803e+09      DEBUG   controller-runtime.test-env     read webhooks from file {"file": "kustomization.yaml"}
    1.6645271315771356e+09      DEBUG   controller-runtime.test-env     read webhooks from file {"file": "kustomizeconfig.yaml"}
    1.664527131580171e+09       DEBUG   controller-runtime.test-env     read webhooks from file {"file": "manifests.yaml"}
    1.6645271315803628e+09      DEBUG   controller-runtime.test-env     read webhooks from file {"file": "service.yaml"}
    1.66452713158077e+09        DEBUG   controller-runtime.test-env     installing CRDs
    1.6645271315808141e+09      DEBUG   controller-runtime.test-env     reading CRDs from path  {"path": "../../config/crd/bases"}
    1.6645271315820005e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_comas.yaml"}
    1.6645271315836825e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_customnbimages.yaml"}
    1.6645271315849469e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_meteorconfigs.yaml"}
    1.6645271315866168e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_meteors.yaml"}
    1.6645271315879364e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_services.yaml"}
    1.6645271315912976e+09      DEBUG   controller-runtime.test-env     read CRDs from file     {"file": "meteor.zone_showers.yaml"}
    1.6645271316106536e+09      DEBUG   controller-runtime.test-env     installing CRD  {"crd": "comas.meteor.zone"}
    1.6645271316206696e+09      DEBUG   controller-runtime.test-env     installing CRD  {"crd": "customnbimages.meteor.zone"}
    1.664527131629209e+09       DEBUG   controller-runtime.test-env     installing CRD  {"crd": "meteorconfigs.meteor.zone"}
    1.6645271316373017e+09      DEBUG   controller-runtime.test-env     installing CRD  {"crd": "meteors.meteor.zone"}
    1.6645271316711001e+09      DEBUG   controller-runtime.test-env     installing CRD  {"crd": "services.meteor.zone"}
    1.6645271316926992e+09      DEBUG   controller-runtime.test-env     installing CRD  {"crd": "showers.meteor.zone"}
    1.6645271317074015e+09      DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
    1.664527131707455e+09       DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
    1.6645271317074676e+09      DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
    1.664527131707476e+09       DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
    1.6645271317074847e+09      DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
    1.6645271317074955e+09      DEBUG   controller-runtime.test-env     adding API in waitlist  {"GV": "meteor.zone/v1alpha1"}
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*fmt.wrapError | 0xc0002b4a00>: {
          msg: "unable to install CRDs onto control plane: something went wrong waiting for CRDs to appear as API resources: timed out waiting for the condition",
          err: <*fmt.wrapError | 0xc0002b49c0>{
              msg: "something went wrong waiting for CRDs to appear as API resources: timed out waiting for the condition",
              err: <*errors.errorString | 0xc0002d7190>{
                  s: "timed out waiting for the condition",
              },
          },
      }
      unable to install CRDs onto control plane: something went wrong waiting for CRDs to appear as API resources: timed out waiting for the condition
  occurred
  In [BeforeSuite] at: /home/goern/Work/thoth-station/meteor-operator/api/v1alpha1/webhook_suite_test.go:79

[...]

Steps to Reproduce

Steps to reproduce the behavior:

  1. gh clone and cd this repo
  2. dnf install golang
  3. make test
  4. See error

Actual behavior

see above

Expected behavior

test succeed

Environment information

n/a

Additional context

n/a

goern commented 2 years ago

this is a strange flake related to my local laptop. I can replicate the tests failing in one directory, but not on a different clone of the repo :shrug: /close

sesheta commented 2 years ago

@goern: Closing this issue.

In response to [this](https://github.com/thoth-station/meteor-operator/issues/99#issuecomment-1263466273): >this is a strange flake related to my local laptop. I can replicate the tests failing in one directory, but not on a different clone of the repo :shrug: >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.