Skip to content

concurrent map writes #1496

@dprotaso

Description

@dprotaso

hit this with version 0.17.1

fatal error: concurrent map writes

goroutine 43 [running]:
github.com/google/ko/pkg/build.(*gobuild).buildAll(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x1400020c480, 0x24}, {0x10139b020, 0x140000a22d0}, {0x10139e7f0, 0x140005b2c00})
        github.com/google/ko/pkg/build/gobuild.go:1337 +0x348
github.com/google/ko/pkg/build.(*gobuild).Build(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x1400020c480, 0x24})
        github.com/google/ko/pkg/build/gobuild.go:1288 +0x6f4
github.com/google/ko/pkg/build.(*gobuilds).Build(0x140000ac370?, {0x1013986d0, 0x14000302f50}, {0x1400020c480, 0x24})
        github.com/google/ko/pkg/build/gobuilds.go:91 +0x7c
github.com/google/ko/pkg/build.(*Caching).Build.func1.1()
        github.com/google/ko/pkg/build/shared.go:58 +0x3c
github.com/google/ko/pkg/build.newFuture.func1()
        github.com/google/ko/pkg/build/future.go:27 +0x30
created by github.com/google/ko/pkg/build.newFuture in goroutine 42
        github.com/google/ko/pkg/build/future.go:26 +0x80

goroutine 1 [select]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter({0x101398820, 0x14000137dc0}, 0x140004137a0, {0x10138cc88, 0x14000413820}, 0x140004132e0, 0x1400047fe50, {0x10138cbc0, 0x14000126058})
        github.com/google/ko/pkg/commands/resolver.go:358 +0x1b0
github.com/google/ko/pkg/commands.addResolve.func1(0x14000018608, {0x14000137f00?, 0x4?, 0x100e7aef4?})
        github.com/google/ko/pkg/commands/resolve.go:74 +0x1bc
github.com/spf13/cobra.(*Command).execute(0x14000018608, {0x14000137ec0, 0x4, 0x4})
        github.com/spf13/cobra@v1.8.1/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x14000013508)
        github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(0x101398660?, {0x101398820?, 0x14000137dc0?})
        github.com/spf13/cobra@v1.8.1/command.go:1034 +0x48
main.main()
        github.com/google/ko/main.go:29 +0x9c

goroutine 8 [syscall]:
os/signal.signal_recv()
        runtime/sigqueue.go:149 +0x2c
os/signal.loop()
        os/signal/signal_unix.go:23 +0x1c
created by os/signal.Notify.func1.1 in goroutine 1
        os/signal/signal.go:151 +0x28

goroutine 9 [select]:
os/signal.NotifyContext.func1()
        os/signal/signal.go:288 +0x68
created by os/signal.NotifyContext in goroutine 1
        os/signal/signal.go:287 +0x148

goroutine 89 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 66 [semacquire]:
sync.runtime_Semacquire(0x140004cb7a8?)
        runtime/sema.go:71 +0x2c
sync.(*WaitGroup).Wait(0x1400130e188)
        sync/waitgroup.go:118 +0x74
golang.org/x/sync/errgroup.(*Group).Wait(0x1400130e180)
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:56 +0x2c
github.com/google/ko/pkg/resolve.ImageReferences({0x1013986d0, 0x14000302f50}, {0x1400032a048, 0x1, 0x1012b4560?}, {0x101394d08, 0x140004b0000}, {0x10138cc88, 0x14000413820})
        github.com/google/ko/pkg/resolve/resolve.go:70 +0x1e8
github.com/google/ko/pkg/commands.resolveFile({0x1013986d0, 0x14000302f50}, {0x140002bcac0?, 0x34?}, {0x101394d08, 0x140004b0000}, {0x10138cc88, 0x14000413820}, 0x1400047fe50?)
        github.com/google/ko/pkg/commands/resolver.go:466 +0x448
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:383 +0x110
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 38 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 39 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 81 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 82 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 13 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 14 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 83 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 51 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 52 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 53 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 54 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 55 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 56 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 84 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 85 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 86 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 87 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 73 [chan receive]:
github.com/google/ko/pkg/build.(*future).Get(0x1400038c720)
        github.com/google/ko/pkg/build/future.go:55 +0x40
github.com/google/ko/pkg/build.(*Caching).Build(0x140004b0000?, {0x1013986d0?, 0x14000302f50?}, {0x14000378060?, 0x0?})
        github.com/google/ko/pkg/build/shared.go:64 +0x44
github.com/google/ko/pkg/build.(*Recorder).Build(0x140004b0000, {0x1013986d0, 0x14000302f50}, {0x14000378060, 0x22})
        github.com/google/ko/pkg/build/recorder.go:49 +0x60
github.com/google/ko/pkg/resolve.ImageReferences.func1()
        github.com/google/ko/pkg/resolve/resolve.go:58 +0x64
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 66
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 97 [semacquire]:
sync.runtime_Semacquire(0x1400093f7a8?)
        runtime/sema.go:71 +0x2c
sync.(*WaitGroup).Wait(0x1400130e388)
        sync/waitgroup.go:118 +0x74
golang.org/x/sync/errgroup.(*Group).Wait(0x1400130e380)
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:56 +0x2c
github.com/google/ko/pkg/resolve.ImageReferences({0x1013986d0, 0x14000302f50}, {0x14000946a20, 0x2, 0x1012b4560?}, {0x101394d08, 0x140000b6390}, {0x10138cc88, 0x14000413820})
        github.com/google/ko/pkg/resolve/resolve.go:70 +0x1e8
github.com/google/ko/pkg/commands.resolveFile({0x1013986d0, 0x14000302f50}, {0x140005e8030?, 0x0?}, {0x101394d08, 0x140000b6390}, {0x10138cc88, 0x14000413820}, 0x0?)
        github.com/google/ko/pkg/commands/resolver.go:466 +0x448
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:383 +0x110
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 98 [semacquire]:
sync.runtime_Semacquire(0x1400039f7a8?)
        runtime/sema.go:71 +0x2c
sync.(*WaitGroup).Wait(0x14001204148)
        sync/waitgroup.go:118 +0x74
golang.org/x/sync/errgroup.(*Group).Wait(0x14001204140)
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:56 +0x2c
github.com/google/ko/pkg/resolve.ImageReferences({0x1013986d0, 0x14000302f50}, {0x14000576a60, 0x3, 0x1012b4560?}, {0x101394d08, 0x1400047d110}, {0x10138cc88, 0x14000413820})
        github.com/google/ko/pkg/resolve/resolve.go:70 +0x1e8
github.com/google/ko/pkg/commands.resolveFile({0x1013986d0, 0x14000302f50}, {0x140005e8090?, 0x22?}, {0x101394d08, 0x1400047d110}, {0x10138cc88, 0x14000413820}, 0x1400047fe50?)
        github.com/google/ko/pkg/commands/resolver.go:466 +0x448
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:383 +0x110
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 88 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 113 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 26 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 27 [chan send]:
github.com/google/ko/pkg/commands.ResolveFilesToWriter.func1()
        github.com/google/ko/pkg/commands/resolver.go:391 +0x22c
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 42 [chan receive]:
github.com/google/ko/pkg/build.(*future).Get(0x1400059a570)
        github.com/google/ko/pkg/build/future.go:55 +0x40
github.com/google/ko/pkg/build.(*Caching).Build(0x140000b6390?, {0x1013986d0?, 0x14000302f50?}, {0x1400020c480?, 0x1400068f7e0?})
        github.com/google/ko/pkg/build/shared.go:64 +0x44
github.com/google/ko/pkg/build.(*Recorder).Build(0x140000b6390, {0x1013986d0, 0x14000302f50}, {0x1400020c480, 0x24})
        github.com/google/ko/pkg/build/recorder.go:49 +0x60
github.com/google/ko/pkg/resolve.ImageReferences.func1()
        github.com/google/ko/pkg/resolve/resolve.go:58 +0x64
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 97
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 30 [chan receive]:
github.com/google/ko/pkg/build.(*future).Get(0x14000204210)
        github.com/google/ko/pkg/build/future.go:55 +0x40
github.com/google/ko/pkg/build.(*Caching).Build(0x1400047d110?, {0x1013986d0?, 0x14000302f50?}, {0x140005e81e0?, 0x0?})
        github.com/google/ko/pkg/build/shared.go:64 +0x44
github.com/google/ko/pkg/build.(*Recorder).Build(0x1400047d110, {0x1013986d0, 0x14000302f50}, {0x140005e81e0, 0x24})
        github.com/google/ko/pkg/build/recorder.go:49 +0x60
github.com/google/ko/pkg/resolve.ImageReferences.func1()
        github.com/google/ko/pkg/resolve/resolve.go:58 +0x64
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 98
        golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98

goroutine 45 [IO wait]:
internal/poll.runtime_pollWait(0x148baa178, 0x72)
        runtime/netpoll.go:351 +0xa0
internal/poll.(*pollDesc).wait(0x14001310200?, 0x14000246000?, 0x0)
        internal/poll/fd_poll_runtime.go:84 +0x28
internal/poll.(*pollDesc).waitRead(...)
        internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14001310200, {0x14000246000, 0x1500, 0x1500})
        internal/poll/fd_unix.go:165 +0x1fc
net.(*netFD).Read(0x14001310200, {0x14000246000?, 0x140002469f9?, 0x5?})
        net/fd_posix.go:55 +0x28
net.(*conn).Read(0x1400043c010, {0x14000246000?, 0x140003088c8?, 0x8?})
        net/net.go:189 +0x34
crypto/tls.(*atLeastReader).Read(0x140004380f0, {0x14000246000?, 0x0?, 0x140004380f0?})
        crypto/tls/conn.go:809 +0x40
bytes.(*Buffer).ReadFrom(0x140003089b8, {0x101386720, 0x140004380f0})
        bytes/buffer.go:211 +0x90
crypto/tls.(*Conn).readFromUntil(0x14000308708, {0x148b04500, 0x1400043c010}, 0x0?)
        crypto/tls/conn.go:831 +0xd0
crypto/tls.(*Conn).readRecordOrCCS(0x14000308708, 0x0)
        crypto/tls/conn.go:629 +0x35c
crypto/tls.(*Conn).readRecord(...)
        crypto/tls/conn.go:591
crypto/tls.(*Conn).Read(0x14000308708, {0x140001f2000, 0x1000, 0x1006cd678?})
        crypto/tls/conn.go:1385 +0x164
bufio.(*Reader).Read(0x14000527e00, {0x140001a6ac0, 0x9, 0x101bf9630?})
        bufio/bufio.go:241 +0x1b4
io.ReadAtLeast({0x1013851e0, 0x14000527e00}, {0x140001a6ac0, 0x9, 0x9}, 0x9)
        io/io.go:335 +0xa0
io.ReadFull(...)
        io/io.go:354
net/http.http2readFrameHeader({0x140001a6ac0, 0x9, 0x43a3f0?}, {0x1013851e0?, 0x14000527e00?})
        net/http/h2_bundle.go:1642 +0x58
net/http.(*http2Framer).ReadFrame(0x140001a6a80)
        net/http/h2_bundle.go:1909 +0x78
net/http.(*http2clientConnReadLoop).run(0x14000941f98)
        net/http/h2_bundle.go:9496 +0xd0
net/http.(*http2ClientConn).readLoop(0x140000d8000)
        net/http/h2_bundle.go:9392 +0x78
created by net/http.(*http2Transport).newClientConn in goroutine 44
        net/http/h2_bundle.go:8006 +0xae0

goroutine 74 [runnable]:
bytes.(*Buffer).Write(0x1400130e640?, {0x14000804960?, 0x49?, 0x50?})
        bytes/buffer.go:175 +0xfc
encoding/json.stringEncoder(0x1400130e640, {0x10114c860?, 0x14001306600?, 0x40?}, {0x90?, 0xbb?})
        encoding/json/encode.go:590 +0x38c
encoding/json.(*encodeState).reflectValue(0x1400130e640, {0x10114c860?, 0x14001306600?, 0x1003715d8?}, {0x38?, 0x0?})
        encoding/json/encode.go:322 +0x70
encoding/json.(*encodeState).marshal(0x101c1e0c0?, {0x10114c860?, 0x14001306600?}, {0xb0?, 0x0?})
        encoding/json/encode.go:298 +0xb8
encoding/json.Marshal({0x10114c860, 0x14001306600})
        encoding/json/encode.go:164 +0x8c
github.com/google/go-containerregistry/pkg/v1.Hash.MarshalJSON({{0x140008047d1?, 0x63?}, {0x140008047d8?, 0x14000700c78?}})
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/hash.go:53 +0x90
encoding/json.addrMarshalerEncoder(0x1400130e600, {0x1012c4680?, 0x14000700c78?, 0x100373fe0?}, {0x97?, 0x41?})
        encoding/json/encode.go:460 +0x150
encoding/json.condAddrEncoder.encode({0x10137c998?, 0x10137c9e0?}, 0x14000c03118?, {0x1012c4680?, 0x14000700c78?, 0x100373f84?}, {0x6?, 0x0?})
        encoding/json/encode.go:902 +0x50
encoding/json.structEncoder.encode({{{0x14000704d88, 0x8, 0x8}, 0x1400059b5f0, 0x1400059b620}}, 0x1400130e600, {0x10131cbc0?, 0x14000700c60?, 0x14000c03278?}, {0xe0?, ...})
        encoding/json/encode.go:715 +0x190
encoding/json.arrayEncoder.encode({0x1?}, 0x1400130e600, {0x10112fee0?, 0x1400130e598?, 0x80?}, {0x80?, 0x0?})
        encoding/json/encode.go:858 +0xc0
encoding/json.sliceEncoder.encode({0x14000c03448?}, 0x1400130e600, {0x10112fee0?, 0x1400130e598?, 0x101278020?}, {0xc?, 0x0?})
        encoding/json/encode.go:831 +0x288
encoding/json.structEncoder.encode({{{0x140000c8008, 0x5, 0x8}, 0x1400043a750, 0x1400043a780}}, 0x1400130e600, {0x1012e1440?, 0x1400130e580?, 0x14000c03578?}, {0x80?, ...})
        encoding/json/encode.go:715 +0x190
encoding/json.ptrEncoder.encode({0x14000c03668?}, 0x1400130e600, {0x1011e22c0?, 0x1400130e580?, 0x148b20a08?}, {0x30?, 0x0?})
        encoding/json/encode.go:887 +0x1dc
encoding/json.(*encodeState).reflectValue(0x1400130e600, {0x1011e22c0?, 0x1400130e580?, 0x1003715d8?}, {0x38?, 0x0?})
        encoding/json/encode.go:322 +0x70
encoding/json.(*encodeState).marshal(0x14000c03700?, {0x1011e22c0?, 0x1400130e580?}, {0xf0?, 0x3?})
        encoding/json/encode.go:298 +0xb8
encoding/json.Marshal({0x1011e22c0, 0x1400130e580})
        encoding/json/encode.go:164 +0x8c
github.com/google/go-containerregistry/pkg/v1/mutate.(*index).RawManifest(0x14001310380)
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/mutate/index.go:211 +0x58
github.com/google/go-containerregistry/pkg/v1/partial.Digest({0x101384c40?, 0x14001310380?})
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/partial/with.go:152 +0x2c
github.com/google/go-containerregistry/pkg/v1/mutate.(*index).Digest(0x14001310380)
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/mutate/index.go:195 +0x58
github.com/google/ko/pkg/build.(*gobuild).buildAll(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x14000378060, 0x22}, {0x10139b020, 0x140000a20f0}, {0x10139e7f0, 0x14001310380})
        github.com/google/ko/pkg/build/gobuild.go:1338 +0x38c
github.com/google/ko/pkg/build.(*gobuild).Build(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x14000378060, 0x22})
        github.com/google/ko/pkg/build/gobuild.go:1288 +0x6f4
github.com/google/ko/pkg/build.(*gobuilds).Build(0x0?, {0x1013986d0, 0x14000302f50}, {0x14000378060, 0x22})
        github.com/google/ko/pkg/build/gobuilds.go:91 +0x7c
github.com/google/ko/pkg/build.(*Caching).Build.func1.1()
        github.com/google/ko/pkg/build/shared.go:58 +0x3c
github.com/google/ko/pkg/build.newFuture.func1()
        github.com/google/ko/pkg/build/future.go:27 +0x30
created by github.com/google/ko/pkg/build.newFuture in goroutine 73
        github.com/google/ko/pkg/build/future.go:26 +0x80

goroutine 31 [runnable]:
encoding/json.(*decodeState).rescanLiteral(0x140002fa528?)
        encoding/json/decode.go:316 +0x194
encoding/json.(*decodeState).object(0x140002fa528, {0x1011b7160?, 0x14000bbd8f0?, 0x5e1?})
        encoding/json/decode.go:673 +0x62c
encoding/json.(*decodeState).value(0x140002fa528, {0x1011b7160?, 0x14000bbd8f0?, 0xb?})
        encoding/json/decode.go:374 +0x40
encoding/json.(*decodeState).object(0x140002fa528, {0x1011e22c0?, 0x14000bbd8c0?, 0x10037b534?})
        encoding/json/decode.go:755 +0xa90
encoding/json.(*decodeState).value(0x140002fa528, {0x1011e22c0?, 0x14000bbd8c0?, 0x10037b15c?})
        encoding/json/decode.go:374 +0x40
encoding/json.(*decodeState).unmarshal(0x140002fa528, {0x1011e22c0?, 0x14000bbd8c0?})
        encoding/json/decode.go:181 +0x100
encoding/json.(*Decoder).Decode(0x140002fa500, {0x1011e22c0, 0x14000bbd8c0})
        encoding/json/stream.go:73 +0x118
github.com/google/go-containerregistry/pkg/v1.ParseIndexManifest({0x101384520, 0x1400038c660})
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/manifest.go:67 +0x78
github.com/google/go-containerregistry/pkg/v1/remote.(*remoteIndex).IndexManifest(0x140000ca000?)
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/remote/index.go:99 +0x88
github.com/google/go-containerregistry/pkg/v1/mutate.(*index).compute(0x140000b0280)
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/mutate/index.go:105 +0x164
github.com/google/go-containerregistry/pkg/v1/mutate.(*index).IndexManifest(0x140000b0280)
        github.com/google/go-containerregistry@v0.20.2/pkg/v1/mutate/index.go:200 +0x20
github.com/google/ko/pkg/build.(*gobuild).buildAll(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x140005e81e0, 0x24}, {0x10139b020, 0x1400059e1e0}, {0x10139e7f0, 0x140000b0280})
        github.com/google/ko/pkg/build/gobuild.go:1301 +0x50
github.com/google/ko/pkg/build.(*gobuild).Build(0x140000017a0, {0x1013986d0, 0x14000302f50}, {0x140005e81e0, 0x24})
        github.com/google/ko/pkg/build/gobuild.go:1288 +0x6f4
github.com/google/ko/pkg/build.(*gobuilds).Build(0x0?, {0x1013986d0, 0x14000302f50}, {0x140005e81e0, 0x24})
        github.com/google/ko/pkg/build/gobuilds.go:91 +0x7c
github.com/google/ko/pkg/build.(*Caching).Build.func1.1()
        github.com/google/ko/pkg/build/shared.go:58 +0x3c
github.com/google/ko/pkg/build.newFuture.func1()
        github.com/google/ko/pkg/build/future.go:27 +0x30
created by github.com/google/ko/pkg/build.newFuture in goroutine 30
        github.com/google/ko/pkg/build/future.go:26 +0x80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions