Loading

Paste #p7krwu1ag

  1. $ operator-sdk test local ./test/e2e --namespace=operator-test --up-local --go-test-flags "-v"
  2. INFO[0000] Testing operator locally.
  3. time="2019-05-06T13:34:51+05:30" level=info msg="Started local operator"
  4. === RUN   TestComponent
  5. === RUN   TestComponent/retrieve_component_and_verify_related_resources_are_created
  6. --- PASS: TestComponent (0.09s)
  7.     component_test.go:62: Initialized cluster resources
  8.     component_test.go:69: namespace: operator-test
  9.     wait_util.go:48: Operator is running locally; skip waitForDeployment
  10.     component_test.go:75: component is ready and running
  11.     client.go:57: resource type GitSource with namespace/name (operator-test/my-git-source) created
  12.     client.go:57: resource type Component with namespace/name (operator-test/mycomp) created
  13.     --- PASS: TestComponent/retrieve_component_and_verify_related_resources_are_created (0.00s)
  14.     client.go:75: resource type Component with namespace/name (operator-test/mycomp) successfully deleted
  15.     client.go:75: resource type GitSource with namespace/name (operator-test/my-git-source) successfully deleted
  16. === RUN   TestGitsource
  17. === RUN   TestGitsource/check_exisiting_repo_connection_should_yield_OK
  18. === RUN   TestGitsource/check_non-existing_repo_connection_should_yield_FAILED
  19. SIGQUIT: quit
  20. PC=0x45fd53 m=0 sigcode=0
  21.  
  22. goroutine 6 [syscall]:
  23. runtime.notetsleepg(0x23d2480, 0x254084b63, 0x0)
  24.         /usr/local/go/src/runtime/lock_futex.go:227 +0x37 fp=0xc000072758 sp=0xc000072728 pc=0x40c9b7
  25. runtime.timerproc(0x23d2460)
  26.         /usr/local/go/src/runtime/time.go:288 +0x30e fp=0xc0000727d8 sp=0xc000072758 pc=0x44d11e
  27. runtime.goexit()
  28.         /usr/local/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc0000727e0 sp=0xc0000727d8 pc=0x45df01
  29. created by runtime.(*timersBucket).addtimerLocked
  30.         /usr/local/go/src/runtime/time.go:170 +0x114
  31.  
  32. goroutine 1 [chan receive, 9 minutes]:
  33. testing.(*T).Run(0xc000292a00, 0x1524d02, 0xd, 0x15bf8f8, 0x48fa01)
  34.         /usr/local/go/src/testing/testing.go:879 +0x383
  35. testing.runTests.func1(0xc0005df200)
  36.         /usr/local/go/src/testing/testing.go:1119 +0x78
  37. testing.tRunner(0xc0005df200, 0xc00073db10)
  38.         /usr/local/go/src/testing/testing.go:827 +0xbf
  39. testing.runTests(0xc0006fea20, 0x23bac40, 0x3, 0x3, 0xf0133f)
  40.         /usr/local/go/src/testing/testing.go:1117 +0x2aa
  41. testing.(*M).Run(0xc000598380, 0x0)
  42.         /usr/local/go/src/testing/testing.go:1034 +0x165
  43. github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test.MainEntry.func2(0xc0004f7e31, 0xc0005b74a0, 0xc000598380, 0xc000338f50, 0xc000338fc0, 0xc0006faf80)
  44.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test/main_entry.go:111 +0x51
  45. github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test.MainEntry(0xc000598380)
  46.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test/main_entry.go:134 +0x573
  47. github.com/redhat-developer/devconsole-operator/test/e2e.TestMain(0xc000598380)
  48.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/test/e2e/main_test.go:10 +0x2b
  49. main.main()
  50.         _testmain.go:44 +0x13d
  51.  
  52. goroutine 5 [runnable]:
  53. github.com/redhat-developer/devconsole-operator/vendor/k8s.io/klog.(*loggingT).flushDaemon(0x23cd7c0)
  54.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/klog/klog.go:975 +0x8b
  55. created by github.com/redhat-developer/devconsole-operator/vendor/k8s.io/klog.init.0
  56.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/klog/klog.go:404 +0x69
  57.  
  58. goroutine 7 [select]:
  59. github.com/redhat-developer/devconsole-operator/vendor/go.opencensus.io/stats/view.(*worker).start(0xc00034ab90)
  60.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/go.opencensus.io/stats/view/worker.go:154 +0x100
  61. created by github.com/redhat-developer/devconsole-operator/vendor/go.opencensus.io/stats/view.init.0
  62.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/go.opencensus.io/stats/view/worker.go:32 +0x57
  63.  
  64. goroutine 9 [syscall, 9 minutes]:
  65. os/signal.signal_recv(0x0)
  66.         /usr/local/go/src/runtime/sigqueue.go:139 +0x9c
  67. os/signal.loop()
  68.         /usr/local/go/src/os/signal/signal_unix.go:23 +0x22
  69. created by os/signal.init.0
  70.         /usr/local/go/src/os/signal/signal_unix.go:29 +0x41
  71.  
  72. goroutine 66 [IO wait]:
  73. internal/poll.runtime_pollWait(0x7f2ecc368f00, 0x72, 0xc000081870)
  74.         /usr/local/go/src/runtime/netpoll.go:173 +0x66
  75. internal/poll.(*pollDesc).wait(0xc0006ce718, 0x72, 0xffffffffffffff00, 0x16c45e0, 0x2364758)
  76.         /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9a
  77. internal/poll.(*pollDesc).waitRead(0xc0006ce718, 0xc00041e000, 0x2000, 0x2000)
  78.         /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
  79. internal/poll.(*FD).Read(0xc0006ce700, 0xc00041e000, 0x2000, 0x2000, 0x0, 0x0, 0x0)
  80.         /usr/local/go/src/internal/poll/fd_unix.go:169 +0x179
  81. net.(*netFD).Read(0xc0006ce700, 0xc00041e000, 0x2000, 0x2000, 0x40a7fb, 0xc000030000, 0x138bc40)
  82.         /usr/local/go/src/net/fd_unix.go:202 +0x4f
  83. net.(*conn).Read(0xc00014e048, 0xc00041e000, 0x2000, 0x2000, 0x0, 0x0, 0x0)
  84.         /usr/local/go/src/net/net.go:177 +0x68
  85. crypto/tls.(*block).readFromUntil(0xc000712000, 0x16c2a00, 0xc00014e048, 0x5, 0xc00014e048, 0x0)
  86.         /usr/local/go/src/crypto/tls/conn.go:492 +0x89
  87. crypto/tls.(*Conn).readRecord(0xc0000a4700, 0x15c2317, 0xc0000a4820, 0xc000910000)
  88.         /usr/local/go/src/crypto/tls/conn.go:593 +0xdd
  89. crypto/tls.(*Conn).Read(0xc0000a4700, 0xc0006b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
  90.         /usr/local/go/src/crypto/tls/conn.go:1145 +0xf1
  91. bufio.(*Reader).Read(0xc000562c00, 0xc0007481f8, 0x9, 0x9, 0xc000910000, 0xc000081c58, 0xc000081c70)
  92.         /usr/local/go/src/bufio/bufio.go:216 +0x22f
  93. io.ReadAtLeast(0x16c0860, 0xc000562c00, 0xc0007481f8, 0x9, 0x9, 0x9, 0xc000081cf8, 0x82878b, 0xc0005630e0)
  94.         /usr/local/go/src/io/io.go:310 +0x88
  95. io.ReadFull(0x16c0860, 0xc000562c00, 0xc0007481f8, 0x9, 0x9, 0xc000081d28, 0x82869d, 0xc000081fb8)
  96.         /usr/local/go/src/io/io.go:329 +0x58
  97. github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2.readFrameHeader(0xc0007481f8, 0x9, 0x9, 0x16c0860, 0xc000562c00, 0x0, 0x0, 0x0, 0x0)
  98.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
  99. github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc0007481c0, 0xc000607170, 0x0, 0x0, 0x0)
  100.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2/frame.go:492 +0xa3
  101. github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2.(*clientConnReadLoop).run(0xc000081fb8, 0x15c0e48, 0xc0004fdfb8)
  102.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2/transport.go:1683 +0x9e
  103. github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2.(*ClientConn).readLoop(0xc000142700)
  104.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2/transport.go:1611 +0x76
  105. created by github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2.(*Transport).newClientConn
  106.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/golang.org/x/net/http2/transport.go:670 +0x636
  107.  
  108. goroutine 95 [chan receive, 9 minutes]:
  109. github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test.MainEntry.func1(0xc00057f680, 0xc0005b74a0)
  110.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test/main_entry.go:82 +0x38
  111. created by github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test.MainEntry
  112.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/github.com/operator-framework/operator-sdk/pkg/test/main_entry.go:81 +0x964
  113.  
  114. goroutine 253 [chan receive, 5 minutes]:
  115. testing.(*T).Run(0xc000132a00, 0x156c987, 0x36, 0xc000606e10, 0xc0006eff00)
  116.         /usr/local/go/src/testing/testing.go:879 +0x383
  117. github.com/redhat-developer/devconsole-operator/test/e2e.TestGitsource(0xc000292a00)
  118.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/test/e2e/gitsource_test.go:88 +0x762
  119. testing.tRunner(0xc000292a00, 0x15bf8f8)
  120.         /usr/local/go/src/testing/testing.go:827 +0xbf
  121. created by testing.(*T).Run
  122.         /usr/local/go/src/testing/testing.go:878 +0x35c
  123.  
  124. goroutine 420 [chan receive]:
  125. github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait.WaitFor(0xc000471400, 0xc0003485c0, 0xc00004d980, 0x88459d, 0x13e5a60)
  126.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:330 +0x58
  127. github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait.pollInternal(0xc000471400, 0xc0003485c0, 0x0, 0x0)
  128.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:227 +0x8a
  129. github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Poll(0x12a05f200, 0x45d964b800, 0xc0003485c0, 0x1, 0x1)
  130.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:221 +0x4d
  131. github.com/redhat-developer/devconsole-operator/test/e2e.WaitUntilGitSourceReconcile(0xc00014c960, 0xc00004042f, 0xd, 0x152b4ff, 0xf, 0x1, 0x1)
  132.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/test/e2e/e2eutils.go:17 +0xd1
  133. github.com/redhat-developer/devconsole-operator/test/e2e.TestGitsource.func2(0xc000132a00)
  134.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/test/e2e/gitsource_test.go:107 +0x2c8
  135. testing.tRunner(0xc000132a00, 0xc000606e10)
  136.         /usr/local/go/src/testing/testing.go:827 +0xbf
  137. created by testing.(*T).Run
  138.         /usr/local/go/src/testing/testing.go:878 +0x35c
  139.  
  140. goroutine 406 [select]:
  141. github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait.poller.func1.1(0xc00004d9e0, 0x12a05f200, 0x45d964b800, 0xc00004d980)
  142.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:374 +0x153
  143. created by github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait.poller.func1
  144.         /home/baiju/go/src/github.com/redhat-developer/devconsole-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:357 +0x8c
  145.  
  146. rax    0xfffffffffffffffc
  147. rbx    0x3b973163
  148. rcx    0x45fd53
  149. rdx    0x0
  150. rdi    0x23d2480
  151. rsi    0x80
  152. rbp    0xc0000726e0
  153. rsp    0xc000072698
  154. r8     0x0
  155. r9     0x0
  156. r10    0xc0000726d0
  157. r11    0x206
  158. r12    0x1
  159. r13    0x1
  160. r14    0x1
  161. r15    0xc000340a20
  162. rip    0x45fd53
  163. rflags 0x206
  164. cs     0x33
  165. fs     0x0
  166. gs     0x0
  167. *** Test killed with quit: ran too long (10m0s).
  168. FAIL    github.com/redhat-developer/devconsole-operator/test/e2e        600.012s
  169. Error: failed to exec []string{"go", "test", "./test/e2e/...", "-namespacedMan", "/tmp/empty.yaml103401925", "-globalMan", "/tmp/global-manifest.yaml252696160", "-root", "/home/baiju/go/src/github.com/redhat-developer/devconsole-operator", "-v", "-singleNamespace", "-parallel=1", "-localOperator"}: exit status 1
  170. Usage:
  171.   operator-sdk test local <path to tests directory> [flags]
  172.  
  173. Flags:
  174.       --debug                        Enable debug-level logging
  175.       --global-manifest string       Path to manifest for Global resources (e.g. CRD manifests)
  176.       --go-test-flags string         Additional flags to pass to go test
  177.   -h, --help                         help for local
  178.       --image string                 Use a different operator image from the one specified in the namespaced manifest
  179.       --kubeconfig string            Kubeconfig path
  180.       --molecule-test-flags string   Additional flags to pass to molecule test
  181.       --namespace string             If non-empty, single namespace to run tests in
  182.       --namespaced-manifest string   Path to manifest for per-test, namespaced resources (e.g. RBAC and Operator manifest)
  183.       --no-setup                     Disable test resource creation
  184.       --up-local                     Enable running operator locally with go run instead of as an image in the cluster