GoogleContainerTools / GoogleContainerTools/skaffold

`TestBuildKanikoInsecureRegistry` Integration Test Timeout

Open
#7,092 0 comments 0 reactions 0 assignees View on GitHub
meta/test-flake meta/testing
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

This test has been timing out in kokoro

```
=== RUN TestBuildKanikoInsecureRegistry
time="2022-02-09T21:41:17Z" level=info msg="Namespace: skaffoldwtfbs"
time="2022-02-09T21:41:17Z" level=info msg="Running [skaffold run --namespace skaffoldwtfbs --default-repo gcr.io/k8s-skaffold -p deploy-insecure-registry] in testdata/kaniko-insecure-registry"
panic: test timed out after 30m0s

goroutine 170 [running]:
testing.(*M).startAlarm.func1()
/usr/local/go/src/testing/testing.go:1788 +0x8e
created by time.goFunc
/usr/local/go/src/time/sleep.go:180 +0x31

goroutine 1 [chan receive, 18 minutes]:
testing.(*T).Run(0xc000670000, {0x25db634, 0x46d953}, 0x2818350)
/usr/local/go/src/testing/testing.go:1307 +0x375
testing.runTests.func1(0xc0002c61e0)
/usr/local/go/src/testing/testing.go:1598 +0x6e
testing.tRunner(0xc000670000, 0xc00093fd18)
/usr/local/go/src/testing/testing.go:1259 +0x102
testing.runTests(0xc00066a000, {0x3f2b600, 0x62, 0x62}, {0x48d28d, 0x1005aac82, 0x3f47e60})
/usr/local/go/src/testing/testing.go:1596 +0x43f
testing.(*M).Run(0xc00066a000)
/usr/local/go/src/testing/testing.go:1504 +0x51d
main.main()
_testmain.go:237 +0x14b

goroutine 19 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x0)
/root/go/pkg/mod/k8s.io/klog/v2@v2.8.0/klog.go:1164 +0x6a
created by k8s.io/klog/v2.init.0
/root/go/pkg/mod/k8s.io/klog/v2@v2.8.0/klog.go:418 +0xfb

goroutine 7 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc00065e480)
/root/go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0xb9
created by go.opencensus.io/stats/view.init.0
/root/go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0x92

goroutine 8 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0x0)
/root/go/pkg/mod/github.com/golang/glog@v0.0.0-20210429001901-424d2337a529/glog.go:882 +0x6a
created by github.com/golang/glog.init.0
/root/go/pkg/mod/github.com/golang/glog@v0.0.0-20210429001901-424d2337a529/glog.go:410 +0x1c5

goroutine 9 [chan receive, 30 minutes]:
github.com/GoogleContainerTools/skaffold/pkg/skaffold/event/v2.newHandler.func1()
/skaffold/pkg/skaffold/event/v2/event.go:61 +0x48
created by github.com/GoogleContainerTools/skaffold/pkg/skaffold/event/v2.newHandler
/skaffold/pkg/skaffold/event/v2/event.go:59 +0x107

goroutine 10 [chan receive, 30 minutes]:
github.com/GoogleContainerTools/skaffold/pkg/skaffold/event.newHandler.func1()
/skaffold/pkg/skaffold/event/event.go:60 +0x45
created by github.com/GoogleContainerTools/skaffold/pkg/skaffold/event.newHandler
/skaffold/pkg/skaffold/event/event.go:58 +0xcf

goroutine 11 [chan receive, 30 minutes]:
github.com/rjeczalik/notify.(*nonrecursiveTree).dispatch(0xc0008663c0, 0x0)
/root/go/pkg/mod/github.com/rjeczalik/notify@v0.9.3-0.20201210012515-e2a77dcc14cf/tree_nonrecursive.go:36 +0x49
created by github.com/rjeczalik/notify.newNonrecursiveTree
/root/go/pkg/mod/github.com/rjeczalik/notify@v0.9.3-0.20201210012515-e2a77dcc14cf/tree_nonrecursive.go:29 +0x16f

goroutine 12 [chan receive, 30 minutes]:
github.com/rjeczalik/notify.(*nonrecursiveTree).internal(0xc0008663c0, 0xc000866360)
/root/go/pkg/mod/github.com/rjeczalik/notify@v0.9.3-0.20201210012515-e2a77dcc14cf/tree_nonrecursive.go:81 +0x5a
created by github.com/rjeczalik/notify.newNonrecursiveTree
/root/go/pkg/mod/github.com/rjeczalik/notify@v0.9.3-0.20201210012515-e2a77dcc14cf/tree_nonrecursive.go:30 +0x1c8

goroutine 180 [syscall, 18 minutes]:
syscall.Syscall6(0xf7, 0x1, 0x45a5, 0xc000913b80, 0x1000004, 0x0, 0x0)
/usr/local/go/src/syscall/asm_linux_amd64.s:43 +0x5
os.(*Process).blockUntilWaitable(0xc000550360)
/usr/local/go/src/os/wait_waitid.go:33 +0x9c
os.(*Process).wait(0xc000550360)
/usr/local/go/src/os/exec_unix.go:23 +0x28
os.(*Process).Wait(...)
/usr/local/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc0007b86e0)
/usr/local/go/src/os/exec/exec.go:507 +0x54
os/exec.(*Cmd).Run(0x0)
/usr/local/go/src/os/exec/exec.go:341 +0x39
os/exec.(*Cmd).Output(0xc0007b86e0)
/usr/local/go/src/os/exec/exec.go:546 +0xb5
github.com/GoogleContainerTools/skaffold/integration/skaffold.(*RunBuilder).RunOrFailOutput(0xc000cac000, 0xc00054a820)
/skaffold/integration/skaffold/helper.go:312 +0x1a9
github.com/GoogleContainerTools/skaffold/integration.TestBuildKanikoInsecureRegistry(0x1)
/skaffold/integration/build_cluster_test.go:42 +0xdb
testing.tRunner(0xc00054a820, 0x2818350)
/usr/local/go/src/testing/testing.go:1259 +0x102
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1306 +0x35a

goroutine 166 [IO wait, 18 minutes]:
internal/poll.runtime_pollWait(0x7f9fa4414e18, 0x72)
/usr/local/go/src/runtime/netpoll.go:234 +0x89
internal/poll.(*pollDesc).wait(0xc000ab2660, 0xc000808000, 0x1)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000ab2660, {0xc000808000, 0x8000, 0x8000})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a
os.(*File).read(...)
/usr/local/go/src/os/file_posix.go:32
os.(*File).Read(0xc000e251d0, {0xc000808000, 0xc000a3e3c0, 0xc000124f50})
/usr/local/go/src/os/file.go:119 +0x5e
io.copyBuffer({0x2a4fd20, 0xc000a3e3c0}, {0x2a4fc00, 0xc000e251d0}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:423 +0x1b2
io.Copy(...)
/usr/local/go/src/io/io.go:382
os/exec.(*Cmd).writerDescriptor.func1()
/usr/local/go/src/os/exec/exec.go:311 +0x3a
os/exec.(*Cmd).Start.func1(0xc000e57d00)
/usr/local/go/src/os/exec/exec.go:441 +0x25
created by os/exec.(*Cmd).Start
/usr/local/go/src/os/exec/exec.go:440 +0x80d

goroutine 167 [select, 18 minutes]:
os/exec.(*Cmd).Start.func2()
/usr/local/go/src/os/exec/exec.go:449 +0x7b
created by os/exec.(*Cmd).Start
/usr/local/go/src/os/exec/exec.go:448 +0x7ef

goroutine 165 [IO wait, 18 minutes]:
internal/poll.runtime_pollWait(0x7f9fa4414d30, 0x72)
/usr/local/go/src/runtime/netpoll.go:234 +0x89
internal/poll.(*pollDesc).wait(0xc000ab25a0, 0xc000afee87, 0x1)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000ab25a0, {0xc000afee87, 0xf79, 0xf79})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a
os.(*File).read(...)
/usr/local/go/src/os/file_posix.go:32
os.(*File).Read(0xc000e251b8, {0xc000afee87, 0x43a296, 0xc000adbea0})
/usr/local/go/src/os/file.go:119 +0x5e
bytes.(*Buffer).ReadFrom(0xc000ca43c0, {0x2a4fc00, 0xc000e251b8})
/usr/local/go/src/bytes/buffer.go:204 +0x98
io.copyBuffer({0x2a47b80, 0xc000ca43c0}, {0x2a4fc00, 0xc000e251b8}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:409 +0x14b
io.Copy(...)
/usr/local/go/src/io/io.go:382
os/exec.(*Cmd).writerDescriptor.func1()
/usr/local/go/src/os/exec/exec.go:311 +0x3a
os/exec.(*Cmd).Start.func1(0xc000227780)
/usr/local/go/src/os/exec/exec.go:441 +0x25
created by os/exec.(*Cmd).Start
/usr/local/go/src/os/exec/exec.go:440 +0x80d
FAIL github.com/GoogleContainerTools/skaffold/integration 1800.068s
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.