#1142928 receptor: flaky test FTBFS: FAIL: TestKubeUnit_RunWorkUsingTCP (and TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths): controller.go:251: missing call(s) to *mock_workceptor.MockKubeAPIer.Create(is anything, is anything, is equal to default (string), is anything, is anything) /tmp/autopkgtest.../kubernetes_test.go:5314

Package:
receptor
Source:
receptor
Description:
Daemon for controlling a mesh of nodes and workers
Submitter:
Simon Josefsson
Date:
2026-07-28 10:27:01 UTC
Severity:
normal
#1142928#5
Date:
2026-07-28 10:24:12 UTC
From:
To:
Hi!  This package has a flaky FTBFS causing testing migration blocking.
The error looks like this:

https://ci.debian.net/packages/r/receptor/testing/s390x/73805408/#L60795

723s === RUN   TestKubeUnit_RunWorkUsingTCP
723s === RUN   TestKubeUnit_RunWorkUsingTCP/CreatePod_failure_should_fail_fast
723s     kubernetes_test.go:5397: Testing: Should fail fast when CreatePod fails and not proceed to TCP operations
723s     kubernetes_test.go:5408: Successfully completed test: CreatePod failure should fail fast
723s     controller.go:251: missing call(s) to *mock_workceptor.MockKubeAPIer.Create(is anything, is anything, is equal to default (string), is anything, is anything) /tmp/autopkgtest-lxc.j83ilv24/downtmp/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/workceptor/kubernetes_test.go:5271
723s     controller.go:251: aborting test due to missing call(s)
723s === RUN   TestKubeUnit_RunWorkUsingTCP/Successful_TCP_listener_creation_and_pod_creation
723s     kubernetes_test.go:5397: Testing: Should successfully create TCP listener and pod with RECEPTOR_HOST/RECEPTOR_PORT env vars
724s     kubernetes_test.go:5408: Successfully completed test: Successful TCP listener creation and pod creation
724s     controller.go:251: missing call(s) to *mock_workceptor.MockKubeAPIer.Create(is anything, is anything, is equal to default (string), is anything, is anything) /tmp/autopkgtest-lxc.j83ilv24/downtmp/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/workceptor/kubernetes_test.go:5314
724s     controller.go:251: aborting test due to missing call(s)
724s --- FAIL: TestKubeUnit_RunWorkUsingTCP (1.13s)
724s     --- FAIL: TestKubeUnit_RunWorkUsingTCP/CreatePod_failure_should_fail_fast (0.56s)
724s     --- FAIL: TestKubeUnit_RunWorkUsingTCP/Successful_TCP_listener_creation_and_pod_creation (0.57s)

There is another one too:

https://ci.debian.net/packages/r/receptor/testing/s390x/73805408/#L60820

724s === RUN   TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths
724s === RUN   TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Context_cancellation_during_TCP_wait
724s     kubernetes_test.go:5796: Testing: Tests context cancellation during TCP connection wait (lines 1304-1305)
724s     kubernetes_test.go:5807: Context timeout reached as expected
724s     kubernetes_test.go:5812: Successfully completed test: Context cancellation during TCP wait
724s     controller.go:251: missing call(s) to *mock_workceptor.MockKubeAPIer.Create(is anything, is anything, is equal to default (string), is anything, is anything) /tmp/autopkgtest-lxc.j83ilv24/downtmp/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/workceptor/kubernetes_test.go:5652
724s     controller.go:251: aborting test due to missing call(s)
724s === RUN   TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Failed_stdin_file_access
724s     kubernetes_test.go:5796: Testing: Tests stdin file access error handling (lines 1311-1319)
726s     kubernetes_test.go:5807: Context timeout reached as expected
726s     kubernetes_test.go:5812: Successfully completed test: Failed stdin file access
726s     controller.go:251: missing call(s) to *mock_workceptor.MockKubeAPIer.Create(is anything, is anything, is equal to default (string), is anything, is anything) /tmp/autopkgtest-lxc.j83ilv24/downtmp/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/workceptor/kubernetes_test.go:5705
726s     controller.go:251: aborting test due to missing call(s)
726s === RUN   TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Context_early_cancellation_during_listener_setup
726s     kubernetes_test.go:5796: Testing: Tests context cancellation check (lines 1240-1242)
726s     kubernetes_test.go:5807: Context timeout reached as expected
726s     kubernetes_test.go:5812: Successfully completed test: Context early cancellation during listener setup
726s --- FAIL: TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths (2.16s)
726s     --- FAIL: TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Context_cancellation_during_TCP_wait (0.10s)
726s     --- FAIL: TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Failed_stdin_file_access (2.02s)
726s     --- PASS: TestKubeUnit_RunWorkUsingTCP_ExtensiveErrorPaths/Context_early_cancellation_during_listener_setup (0.04s)

/Simon