ResultFAILURE
Tests 1 failed / 972 succeeded
Started2025-07-30 14:30
Elapsed4m56s
Revisionbdaeeea4689d69ea4cd20e1bc72be93fd928017f
Refs 1866

Test Failures


pkg/sink TestExecuteInterceptors_ConcurrentMapWrite 0.12s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=pkg\/sink\sTestExecuteInterceptors\_ConcurrentMapWrite$'
==================
WARNING: DATA RACE
Read at 0x00c000833ef0 by goroutine 810:
  reflect.maplen()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map.go:1578 +0x0
  reflect.Value.lenNonSlice()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:1772 +0x1e9
  reflect.Value.Len()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:1761 +0xf1
  encoding/json.isEmptyValue()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:310 +0xe1
  encoding/json.structEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:704 +0x17b
  encoding/json.structEncoder.encode-fm()
      <autogenerated>:1 +0xe4
  encoding/json.ptrEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:887 +0x3d3
  encoding/json.ptrEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.(*encodeState).reflectValue()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:322 +0x83
  encoding/json.(*encodeState).marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:298 +0xea
  encoding/json.Marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:164 +0x12b
  github.com/tektoncd/triggers/pkg/interceptors.Execute()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/interceptors.go:119 +0x84
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:561 +0x102d
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous write at 0x00c000833ef0 by goroutine 723:
  runtime.mapassign_faststr()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map_faststr.go:223 +0x0
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2304
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 810 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 723 (finished) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
==================
WARNING: DATA RACE
Read at 0x00c000b7ae08 by goroutine 810:
  reflect.typedmemmove()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/mbarrier.go:225 +0x0
  reflect.copyVal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:2051 +0x5b
  reflect.(*MapIter).Value()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:1948 +0x124
  encoding/json.mapEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:760 +0x61a
  encoding/json.mapEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.structEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:715 +0x2bd
  encoding/json.structEncoder.encode-fm()
      <autogenerated>:1 +0xe4
  encoding/json.ptrEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:887 +0x3d3
  encoding/json.ptrEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.(*encodeState).reflectValue()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:322 +0x83
  encoding/json.(*encodeState).marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:298 +0xea
  encoding/json.Marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:164 +0x12b
  github.com/tektoncd/triggers/pkg/interceptors.Execute()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/interceptors.go:119 +0x84
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:561 +0x102d
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous write at 0x00c000b7ae08 by goroutine 723:
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2313
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 810 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 723 (finished) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
==================
WARNING: DATA RACE
Write at 0x00c000833ef0 by goroutine 724:
  runtime.mapassign_faststr()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map_faststr.go:223 +0x0
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2304
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous write at 0x00c000833ef0 by goroutine 735:
  runtime.mapassign_faststr()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map_faststr.go:223 +0x0
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2304
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 724 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 735 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
==================
WARNING: DATA RACE
Write at 0x00c000b7ae08 by goroutine 736:
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2313
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous write at 0x00c000b7ae08 by goroutine 719:
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2313
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 736 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 719 (finished) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
==================
WARNING: DATA RACE
Write at 0x00c000833ef0 by goroutine 738:
  runtime.mapassign_faststr()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map_faststr.go:223 +0x0
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2304
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous read at 0x00c000833ef0 by goroutine 787:
  runtime.mapiternext()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map.go:937 +0x0
  reflect.mapiternext()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map.go:1537 +0x12
  encoding/json.mapEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:756 +0x550
  encoding/json.mapEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.structEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:715 +0x2bd
  encoding/json.structEncoder.encode-fm()
      <autogenerated>:1 +0xe4
  encoding/json.ptrEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:887 +0x3d3
  encoding/json.ptrEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.(*encodeState).reflectValue()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:322 +0x83
  encoding/json.(*encodeState).marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:298 +0xea
  encoding/json.Marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:164 +0x12b
  github.com/tektoncd/triggers/pkg/interceptors.Execute()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/interceptors.go:119 +0x84
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:561 +0x102d
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 738 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 787 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
==================
WARNING: DATA RACE
Write at 0x00c000833ef0 by goroutine 744:
  runtime.mapassign_faststr()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map_faststr.go:223 +0x0
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:572 +0x2304
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Previous read at 0x00c000833ef0 by goroutine 767:
  reflect.maplen()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/runtime/map.go:1578 +0x0
  reflect.Value.lenNonSlice()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:1772 +0x1e9
  reflect.Value.Len()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/reflect/value.go:1761 +0x426
  encoding/json.mapEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:752 +0x408
  encoding/json.mapEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.structEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:715 +0x2bd
  encoding/json.structEncoder.encode-fm()
      <autogenerated>:1 +0xe4
  encoding/json.ptrEncoder.encode()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:887 +0x3d3
  encoding/json.ptrEncoder.encode-fm()
      <autogenerated>:1 +0x84
  encoding/json.(*encodeState).reflectValue()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:322 +0x83
  encoding/json.(*encodeState).marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:298 +0xea
  encoding/json.Marshal()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/encoding/json/encode.go:164 +0x12b
  github.com/tektoncd/triggers/pkg/interceptors.Execute()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/interceptors.go:119 +0x84
  github.com/tektoncd/triggers/pkg/sink.Sink.ExecuteInterceptors()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink.go:561 +0x102d
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.func1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1861 +0x3e8
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite.gowrap1()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1875 +0x41

Goroutine 744 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44

Goroutine 767 (running) created at:
  github.com/tektoncd/triggers/pkg/sink.TestExecuteInterceptors_ConcurrentMapWrite()
      /home/prow/go/src/github.com/tektoncd/triggers/pkg/sink/sink_test.go:1858 +0xa7d
  testing.tRunner()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1743 +0x44
==================
    sink_test.go:1879: Test completed without panic
    testing.go:1399: race detected during execution of test
				from junit_0BTxuYrb.xml

Filter through log files


Show 972 Passed Tests

Error lines from build-log.txt

... skipping 1332 lines ...
    --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_sender_field (0.00s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_'comment'_section (0.00s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_body_field_in_comment_section (0.00s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_return_with_all_details_issue_comment (0.00s)
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation/personalAccessToken_secretKey_is_empty
    github_test.go:2034: Interceptor.Process() = error getting github token: github interceptor personalAccessToken.secretKey is empty, want error getting github token: github interceptor personalAccessToken.secretKey is empty
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation/error_parsing_payload_body
    github_test.go:2034: Interceptor.Process() = error parsing body: pull_request body missing 'number' field, want error parsing body: pull_request body missing 'number' field
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation/no_owners_file
    github_test.go:2034: Interceptor.Process() = owners check requirements not met, want owners check requirements not met
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation/error_checking_owner_file_validation
    github_test.go:2034: Interceptor.Process() = error checking owner verification: GET http://127.0.0.1:46715/api/v3/repos/owner/repo/contents/OWNERS: 500  [], want 
=== RUN   TestInterceptor_ExecuteTrigger_owners_data_validation/no_context
    github_test.go:2034: Interceptor.Process() = error getting github token: no request context passed, want error getting github token: no request context passed
--- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation (0.36s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/personalAccessToken_secretKey_is_empty (0.06s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/error_parsing_payload_body (0.08s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/no_owners_file (0.07s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/error_checking_owner_file_validation (0.07s)
    --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/no_context (0.07s)
... skipping 39 lines ...
    --- PASS: TestServer_ServeHTTP/valid_request_that_should_continue (0.11s)
    --- PASS: TestServer_ServeHTTP/valid_request_that_should_not_continue (0.08s)
=== RUN   TestServer_ServeHTTP_Error
=== RUN   TestServer_ServeHTTP_Error/bad_path
    logger.go:146: 2025-07-30T14:35:00.138Z	INFO	HTTP 400 - path did not match any interceptors
=== RUN   TestServer_ServeHTTP_Error/invalid_body
    logger.go:146: 2025-07-30T14:35:00.191Z	INFO	HTTP 400 - failed to parse body as InterceptorRequest: json: cannot unmarshal string into Go value of type v1beta1.InterceptorRequest
--- PASS: TestServer_ServeHTTP_Error (0.11s)
    --- PASS: TestServer_ServeHTTP_Error/bad_path (0.05s)
    --- PASS: TestServer_ServeHTTP_Error/invalid_body (0.05s)
=== RUN   TestServer_RegisterInterceptor
--- PASS: TestServer_RegisterInterceptor (0.00s)
=== RUN   Test_SecretNotExist
    logger.go:146: 2025-07-30T14:35:00.237Z	INFO	secret  is missing
--- PASS: Test_SecretNotExist (0.05s)
=== RUN   Test_CreateSecret
--- PASS: Test_CreateSecret (0.06s)
=== RUN   Test_CheckCertValidity
    logger.go:146: 2025-07-30T14:35:06.448Z	ERROR	failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-07-30T14:35:06Z is after 2025-07-30T14:35:06Z
--- PASS: Test_CheckCertValidity (10.15s)
=== RUN   Test_CreateAndValidateCerts
--- PASS: Test_CreateAndValidateCerts (0.05s)
=== RUN   Test_GetTLSData
=== RUN   Test_GetTLSData/Invalid_secret
=== NAME  Test_GetTLSData
    logger.go:146: 2025-07-30T14:35:10.539Z	ERROR	failed to fetch secret secret "test111" not found
=== RUN   Test_GetTLSData/missing_key
=== NAME  Test_GetTLSData
    logger.go:146: 2025-07-30T14:35:10.540Z	WARN	server key missing
=== RUN   Test_GetTLSData/missing_cert
=== NAME  Test_GetTLSData
    logger.go:146: 2025-07-30T14:35:10.540Z	WARN	server cert missing
... skipping 298 lines ...
    logger.go:146: 2025-07-30T14:35:01.822Z	DEBUG	interceptor/interceptor.go:50	Resolved Address is http://my-svc.default.svc:80/path
    logger.go:146: 2025-07-30T14:35:01.823Z	DEBUG	interceptor/interceptor.go:50	Resolved Address is https://my-svc.default.svc:8443/path
--- PASS: TestReconcileKind (0.03s)
PASS
ok  	github.com/tektoncd/triggers/pkg/reconciler/interceptor	1.200s
=== RUN   TestUninitializedMetrics
    logger.go:146: 2025-07-30T14:35:01.910Z	ERROR	metrics/metrics.go:210	ignoring the metrics recording for number of eventlistener, failed to initialize the metrics recorder
    logger.go:146: 2025-07-30T14:35:01.910Z	ERROR	metrics/metrics.go:210	ignoring the metrics recording for number of clustertriggerbinding, failed to initialize the metrics recorder
    logger.go:146: 2025-07-30T14:35:01.910Z	ERROR	metrics/metrics.go:210	ignoring the metrics recording for number of triggerbinding, failed to initialize the metrics recorder
    logger.go:146: 2025-07-30T14:35:01.911Z	ERROR	metrics/metrics.go:210	ignoring the metrics recording for number of triggertemplate, failed to initialize the metrics recorder
    logger.go:146: 2025-07-30T14:35:01.911Z	ERROR	metrics/metrics.go:210	ignoring the metrics recording for number of clusterinterceptor, failed to initialize the metrics recorder
--- PASS: TestUninitializedMetrics (0.05s)
=== RUN   TestCountMetrics
--- PASS: TestCountMetrics (0.06s)
=== RUN   TestELCount
--- PASS: TestELCount (0.07s)
=== RUN   TestTTCount
... skipping 64 lines ...
=== RUN   TestRecordRecordDurationMetrics/Record_Metrics
    logger.go:146: 2025-07-30T14:35:09.411Z	DEBUG	event listener request completed	{"status": 200, "duration": 0.000000007}
--- PASS: TestRecordRecordDurationMetrics (0.00s)
    --- PASS: TestRecordRecordDurationMetrics/Record_Metrics (0.00s)
=== RUN   TestRecordRecordCountMetrics
=== RUN   TestRecordRecordCountMetrics/Record_Metrics
    logger.go:146: 2025-07-30T14:35:09.412Z	DEBUG	event listener request	{"status": "failed"}
--- PASS: TestRecordRecordCountMetrics (0.00s)
    --- PASS: TestRecordRecordCountMetrics/Record_Metrics (0.00s)
=== RUN   TestHandleEvent
=== RUN   TestHandleEvent/single_trigger_embedded_within_EventListener
    logger.go:146: 2025-07-30T14:35:09.480Z	DEBUG	handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]]	{"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"}
    logger.go:146: 2025-07-30T14:35:09.481Z	DEBUG	event listener request	{"status": "succeeded"}
... skipping 709 lines ...
    logger.go:146: 2025-07-30T14:35:10.761Z	INFO	Interceptor response is: &{Extensions:map[test_key:test_value] Continue:true Status:{Code:OK Message:}}
    logger.go:146: 2025-07-30T14:35:10.761Z	INFO	Interceptor response is: &{Extensions:map[test_key:test_value] Continue:true Status:{Code:OK Message:}}
    logger.go:146: 2025-07-30T14:35:10.761Z	INFO	Interceptor response is: &{Extensions:map[test_key:test_value] Continue:true Status:{Code:OK Message:}}
    logger.go:146: 2025-07-30T14:35:10.762Z	INFO	Interceptor response is: &{Extensions:map[test_key:test_value] Continue:true Status:{Code:OK Message:}}
    sink_test.go:1879: Test completed without panic
    testing.go:1399: race detected during execution of test
--- FAIL: TestExecuteInterceptors_ConcurrentMapWrite (0.12s)
=== RUN   TestSink_IsValidPayload
=== RUN   TestSink_IsValidPayload/event_with_Json_Body
    logger.go:146: 2025-07-30T14:35:10.815Z	DEBUG	handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}} and header: map[Accept-Encoding:[gzip] Content-Length:[73] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]]	{"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"}
    logger.go:146: 2025-07-30T14:35:10.815Z	ERROR	Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found
    logger.go:146: 2025-07-30T14:35:10.815Z	DEBUG	event listener request	{"status": "succeeded"}
=== RUN   TestSink_IsValidPayload/event_with_non_Json_Body
    logger.go:146: 2025-07-30T14:35:10.871Z	DEBUG	event listener request	{"status": "failed"}
    logger.go:146: 2025-07-30T14:35:10.871Z	ERROR	Invalid event body format : invalid character '<' looking for beginning of value
--- PASS: TestSink_IsValidPayload (0.11s)
    --- PASS: TestSink_IsValidPayload/event_with_Json_Body (0.05s)
    --- PASS: TestSink_IsValidPayload/event_with_non_Json_Body (0.06s)
=== RUN   TestSink_IsValidPayload_PayloadValidation
=== RUN   TestSink_IsValidPayload_PayloadValidation/event_with_Json_Body
    logger.go:146: 2025-07-30T14:35:10.922Z	DEBUG	handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}} and header: map[Accept-Encoding:[gzip] Content-Length:[73] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]]	{"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"}
    logger.go:146: 2025-07-30T14:35:10.923Z	ERROR	Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found
    logger.go:146: 2025-07-30T14:35:10.923Z	DEBUG	event listener request	{"status": "succeeded"}
=== RUN   TestSink_IsValidPayload_PayloadValidation/event_with_non_Json_Body
    logger.go:146: 2025-07-30T14:35:10.981Z	DEBUG	handling event with path /, payload: <test>xml</test> and header: map[Accept-Encoding:[gzip] Content-Length:[16] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]]	{"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"}
    logger.go:146: 2025-07-30T14:35:10.981Z	ERROR	Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found
    logger.go:146: 2025-07-30T14:35:10.981Z	DEBUG	event listener request	{"status": "succeeded"}
--- PASS: TestSink_IsValidPayload_PayloadValidation (0.11s)
    --- PASS: TestSink_IsValidPayload_PayloadValidation/event_with_Json_Body (0.05s)
    --- PASS: TestSink_IsValidPayload_PayloadValidation/event_with_non_Json_Body (0.06s)
FAIL
FAIL	github.com/tektoncd/triggers/pkg/sink	1.760s
=== RUN   TestSendCloudEvents
--- PASS: TestSendCloudEvents (0.00s)
PASS
ok  	github.com/tektoncd/triggers/pkg/sink/cloudevent	1.117s
=== RUN   TestApplyEventValuesMergeInDefaultParams
=== RUN   TestApplyEventValuesMergeInDefaultParams/add_one_default_param
... skipping 336 lines ...
    --- PASS: TestGetResourcesFromClients/only_secrets_(and_namespaces) (0.04s)
    --- PASS: TestGetResourcesFromClients/only_pods_(and_namespaces) (0.04s)
=== RUN   TestHMACHeader
--- PASS: TestHMACHeader (0.00s)
PASS
ok  	github.com/tektoncd/triggers/test	2.016s
FAIL
Finished run, return code is 1
XML report written to /logs/artifacts/junit_0BTxuYrb.xml
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace