scylladb / scylla-operator

The Kubernetes Operator for ScyllaDB
https://operator.docs.scylladb.com/
Apache License 2.0
324 stars 159 forks source link

missing container status for Scylla container during e2e teardown #745

Open zimnx opened 2 years ago

zimnx commented 2 years ago
• Failure in Spec Teardown (AfterEach) [271.699 seconds]
ScyllaCluster
github.com/scylladb/scylla-operator/test/e2e/set/scyllacluster/scyllacluster_scaling.go:16
  should support scaling [AfterEach]
  github.com/scylladb/scylla-operator/test/e2e/set/scyllacluster/scyllacluster_scaling.go:21

  Unexpected error:
      <*fmt.wrapError | 0xc0009150a0>: {
          msg: "can't dump resource \"/v1, Resource=pods\" in namespace \"e2e-test-scyllacluster-rlvbj-ll8v9\": can't dump pod logs: can't find container status for container \"scylla\" in pod \"e2e-test-scyllacluster-rlvbj-ll8v9/basic-us-east-1-us-east-1a-1\"",
          err: {
              msg: "can't dump pod logs: can't find container status for container \"scylla\" in pod \"e2e-test-scyllacluster-rlvbj-ll8v9/basic-us-east-1-us-east-1a-1\"",
              err: {
                  s: "can't find container status for container \"scylla\" in pod \"e2e-test-scyllacluster-rlvbj-ll8v9/basic-us-east-1-us-east-1a-1\"",
              },
          },
      }
      can't dump resource "/v1, Resource=pods" in namespace "e2e-test-scyllacluster-rlvbj-ll8v9": can't dump pod logs: can't find container status for container "scylla" in pod "e2e-test-scyllacluster-rlvbj-ll8v9/basic-us-east-1-us-east-1a-1"
  occurred

  github.com/scylladb/scylla-operator/test/e2e/framework/framework.go:302

  Full Stack Trace
  github.com/scylladb/scylla-operator/test/e2e/framework.(*Framework).afterEach(0xc0006e4ac0)
    github.com/scylladb/scylla-operator/test/e2e/framework/framework.go:302 +0x585
  github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc0006f95c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    github.com/onsi/ginkgo@v1.15.0/internal/leafnodes/runner.go:113 +0xa3
  github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc0006f95c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    github.com/onsi/ginkgo@v1.15.0/internal/leafnodes/runner.go:64 +0x15c
  github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run(0xc0002e92d0, 0x1c0b3e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    github.com/onsi/ginkgo@v1.15.0/internal/leafnodes/setup_nodes.go:15 +0x87
  github.com/onsi/ginkgo/internal/spec.(*Spec).runSample.func1(0xc000613270, 0xc0005500f0, 0x1c0b3e0, 0xc0002dff40)
    github.com/onsi/ginkgo@v1.15.0/internal/spec/spec.go:180 +0x3cd
  github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc0005500f0, 0x0, 0x1c0b3e0, 0xc0002dff40)
    github.com/onsi/ginkgo@v1.15.0/internal/spec/spec.go:218 +0x809
  github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc0005500f0, 0x1c0b3e0, 0xc0002dff40)
    github.com/onsi/ginkgo@v1.15.0/internal/spec/spec.go:138 +0xf2
  github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc000137a20, 0xc0005500f0, 0x1)
    github.com/onsi/ginkgo@v1.15.0/internal/specrunner/spec_runner.go:200 +0x111
  github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc000137a20, 0x1)
    github.com/onsi/ginkgo@v1.15.0/internal/specrunner/spec_runner.go:170 +0x147
  github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc000137a20, 0xc0004a89c0)
    github.com/onsi/ginkgo@v1.15.0/internal/specrunner/spec_runner.go:66 +0x117
  github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc00036be30, 0x7fa864a645d0, 0x27bb548, 0x1a28bda, 0x19, 0xc0006fca20, 0x2, 0x2, 0x1c44558, 0xc0002dff40, ...)
    github.com/onsi/ginkgo@v1.15.0/internal/suite/suite.go:79 +0x546
  github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x1c0b460, 0x27bb548, 0x1a28bda, 0x19, 0xc0006fca00, 0x2, 0x2, 0x2)
    github.com/onsi/ginkgo@v1.15.0/ginkgo_dsl.go:229 +0x218
  github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x1c0b460, 0x27bb548, 0x1a28bda, 0x19, 0xc0006ddec0, 0x1, 0x1, 0x1)
    github.com/onsi/ginkgo@v1.15.0/ginkgo_dsl.go:217 +0xad
  github.com/scylladb/scylla-operator/pkg/cmd/tests.(*RunOptions).run(0xc000134f00, 0x1c3d2b8, 0xc0006e4340, 0x1c0c580, 0xc00000e010, 0x1c0c5a0, 0xc00000e018, 0x1c0c5a0, 0xc00000e020, 0x1, ...)
I0804 08:32:21.889140       1 framework/framework.go:244] "Namespace removed." Namespace="e2e-test-scyllacluster-rlvbj-ll8v9"
    github.com/scylladb/scylla-operator/pkg/cmd/tests/tests_run.go:196 +0x257
  github.com/scylladb/scylla-operator/pkg/cmd/tests.(*RunOptions).Run(0xc000134f00, 0x1c0c580, 0xc00000e010, 0x1c0c5a0, 0xc00000e018, 0x1c0c5a0, 0xc00000e020, 0x1a0d398, 0x3, 0x0, ...)
    github.com/scylladb/scylla-operator/pkg/cmd/tests/tests_run.go:149 +0x357
  github.com/scylladb/scylla-operator/pkg/cmd/tests.NewRunCommand.func1(0xc000527600, 0xc0005bec40, 0x0, 0x2, 0x0, 0x0)
    github.com/scylladb/scylla-operator/pkg/cmd/tests/tests_run.go:81 +0xfd
  github.com/spf13/cobra.(*Command).execute(0xc000527600, 0xc0005bec20, 0x2, 0x2, 0xc000527600, 0xc0005bec20)
    github.com/spf13/cobra@v1.1.1/command.go:850 +0x472
  github.com/spf13/cobra.(*Command).ExecuteC(0xc000527340, 0xc00000e010, 0x1c0c5a0, 0xc00000e018)
    github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
  github.com/spf13/cobra.(*Command).Execute(...)
    github.com/spf13/cobra@v1.1.1/command.go:895
  main.main()
    github.com/scylladb/scylla-operator/cmd/scylla-operator-tests/scylla-operator-tests.go:37 +0x23d
------------------------------
scylla-operator-bot[bot] commented 1 week ago

The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

/lifecycle stale