Flaky test TestResumesFromCorrectSinceTimeAfterSuccessThenFailure
Job #550940727 failed for 6c7be72d:
=== RUN TestResumesFromCorrectSinceTimeAfterSuccessThenFailure
panic:
assert: mock: The method has been called over 1 times.
Either do one more Mock.On("LogStream").Return(...), or remove extra call.
This call was unexpected:
LogStream(*time.Time)
0: &time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}
at: [mock_logStreamProvider.go:19 log_processor.go:141 log_processor.go:107 asm_amd64.s:1357]
goroutine 62 [running]:
github.com/stretchr/testify/mock.(*Mock).fail(0xc00024af00, 0x157194d, 0xa5, 0xc00037ce00, 0x4, 0x4)
/go/pkg/mod/github.com/stretchr/testify@v1.4.0/mock/mock.go:236 +0x1a0
github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00024af00, 0x1fec9ca, 0x9, 0xc000258a90, 0x1, 0x1, 0xc00037cc80, 0x4, 0x4)
/go/pkg/mod/github.com/stretchr/testify@v1.4.0/mock/mock.go:354 +0x2f9
github.com/stretchr/testify/mock.(*Mock).Called(0xc00024af00, 0xc000258a90, 0x1, 0x1, 0x431570, 0x15a2860, 0x4)
/go/pkg/mod/github.com/stretchr/testify@v1.4.0/mock/mock.go:338 +0x1a7
gitlab.com/gitlab-org/gitlab-runner/executors/kubernetes.(*mockLogStreamProvider).LogStream(0xc00024af00, 0xc0000d3800, 0xc0002587a0, 0x2, 0x2, 0xc00002fd40)
/builds/gitlab-org/gitlab-runner/executors/kubernetes/mock_logStreamProvider.go:19 +0x97
gitlab.com/gitlab-org/gitlab-runner/executors/kubernetes.(*kubernetesLogProcessor).attach(0xc00024af50, 0x170ada0, 0xc00037c480, 0x16df4e0, 0xc00024af00, 0xc000047620)
/builds/gitlab-org/gitlab-runner/executors/kubernetes/log_processor.go:141 +0x131
gitlab.com/gitlab-org/gitlab-runner/executors/kubernetes.(*kubernetesLogProcessor).Listen.func1(0xc0002a46f0, 0xc00024af50, 0x170ada0, 0xc00037c480, 0xc000047620, 0x16df4e0, 0xc00024af00)
/builds/gitlab-org/gitlab-runner/executors/kubernetes/log_processor.go:107 +0xa9
created by gitlab.com/gitlab-org/gitlab-runner/executors/kubernetes.(*kubernetesLogProcessor).Listen
/builds/gitlab-org/gitlab-runner/executors/kubernetes/log_processor.go:105 +0x13f
FAIL gitlab.com/gitlab-org/gitlab-runner/executors/kubernetes 10.229s
FAIL