You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Payout EOF integration fixture aborts when remote TMPDIR is unset #3794
The remote payout EOF integration fixture aborts before exercising the CLI when the remote shell has no TMPDIR variable. tests/integration/lib/run-wizard-eof.sh requires that variable while creating its temporary directory, although the helper runs through rx without guaranteeing it.
What it impacts
The supported appliance stack battery reports a failed payout EOF row without testing whether incomplete input preserves configuration.
How I found it
KVM stack job 3200@9ccf2d1ba23f4ec942ef2999c27d424de9ba97a3 failed CLI payout EOF aborts at both prompts without creating or overwriting configuration. Its retained kvm-stack.log prints bash: line 3: TMPDIR: parameter null or not set directly after that assertion. This was found while collecting #2727 evidence. The original payout change, #3082 / PR #3533, is merged; this is its remote fixture's environment assumption.
How important is it
It prevents the EOF regression from running in the appliance stack gate and adds a false failure to that gate. Broader product impact is not established.
Acceptance criteria
With TMPDIR absent from the remote shell, the registered integration row executes both EOF prompts and verifies no configuration is created or overwritten.
The fixture creates and removes only its own temporary directory, including on failure.
A focused regression fails with the current mandatory-variable assumption and passes with the fix; a current-head KVM stack job executes the row successfully.
Possible solutions
Select an available scratch root in the remote fixture without requiring an inherited variable, or explicitly supply the required root through the remote execution contract. Preserve all existing EOF and configuration-integrity assertions.
KVM stack job 3220@6c73626a68ff11b3044ebee25bccf07646d0d139, collected for #2727 / PR #2728, repeats the payout EOF row failure. Its retained kvm-stack.log again prints bash: line 3: TMPDIR: parameter null or not set immediately after the row assertion. No payout behavior was exercised by this failing fixture; reusing this issue, with no workaround added to #2727.
Reproduced while proving #2483 in job 3259@9661bf65f50be920c9c5cfd72b190e4983471151. The payout EOF row reports expected rc=0, got 1, followed by bash: line 3: TMPDIR: parameter null or not set. The lifecycle failure skips the fault-injection phase, so the backup-node rows do not execute in this KVM run. This is the same remote fixture failure signature tracked here.
Operator: moved to maintenance & gates. This is the remote payout EOF fixture failing when the remote shell has no TMPDIR, seen with the same log line in KVM jobs 3200, 3220 and 3259. The fixture exists only on the develop-v2.1.0 line, so it is not a 2.0.x gate item, and the issue itself says no product impact is established. It is gate and test debt, not a patch-line bug.
Questions before work continues (answer here, then remove the question label):
Should I branch from origin/develop-v2.1.0 and open the PR with --base develop-v2.1.0, instead of develop-v2.0.3? Default: yes. The file exists only there, so the fix and its regression can't be written anywhere else. I would fix it in the fixture by using ${TMPDIR:-/tmp} for the scratch directory or exporting a scratch root. I would add a tier-1 regression run with TMPDIR unset that fails on the current code, then request a tier4-kvm stack job narrowed to the payout EOF row.
If instead you want this on develop-v2.0.3, should I close it as not applicable there? Default: no, because the failing KVM jobs 3200, 3220 and 3259 ran the 2.1.0 line.
Ruling: Yes to question 1; question 2 no longer applies. tests/integration/lib/run-wizard-eof.sh exists only on develop-v2.1.0, and the failing jobs 3200, 3220 and 3259 ran the 2.1.0 line. This ruling moves the issue to v2.1.0, so the tick's milestone-to-base map gives develop-v2.1.0; on maintenance & gates your PR would be retargeted to develop-v2.0.3. Branch from origin/develop-v2.1.0, then open the PR and submit bench jobs with --base develop-v2.1.0. Fix it in the fixture: create the scratch directory with mktemp -d "${TMPDIR:-/tmp}/..." and remove only that directory through a trap that also runs on failure. Leave every existing EOF and configuration-integrity assertion as it is. Add a tier-1 regression that runs the helper with TMPDIR unset; show it red on the current code and green with the fix, and quote both. Then run one tier4-kvm job on the PR head. Narrow it to the payout EOF row if bench-ci submit supports that; otherwise use phases=stack. Quote the row's result and the job's id@sha. Evidence is row-scoped: the Tari-off preview rows owned by #3625 can stay red without blocking you. While the job runs, return waiting with it in bench_jobs.
Blocked on #3844. The only returned finding is the red required check Container bridge awk portability (Debian 12). It is red on develop-v2.1.0 itself, tracked as #3844 (hard-coded PASS count after #3715), with its fix open as PR #3845. PR #3853 touches only the payout EOF fixture and its selftest, so no change here can clear that check. Done so far: the fixture fix, the regression (red then green), and tier4-kvm job 3342, where the target payout EOF row passed. After #3844 closes, merge develop-v2.1.0 into the branch so the check reruns on a new head and the reviewer looks again. I commented this on the PR.
The runner resumes this issue when that one closes.
Activity
pithead-developer commentedon Oct 31, 2026
KVM stack job 3220@6c73626a68ff11b3044ebee25bccf07646d0d139, collected for #2727 / PR #2728, repeats the payout EOF row failure. Its retained kvm-stack.log again prints
bash: line 3: TMPDIR: parameter null or not setimmediately after the row assertion. No payout behavior was exercised by this failing fixture; reusing this issue, with no workaround added to #2727.pithead-developer commentedon Nov 1, 2026
Reproduced while proving #2483 in job 3259@9661bf65f50be920c9c5cfd72b190e4983471151. The payout EOF row reports
expected rc=0, got 1, followed bybash: line 3: TMPDIR: parameter null or not set. The lifecycle failure skips the fault-injection phase, so the backup-node rows do not execute in this KVM run. This is the same remote fixture failure signature tracked here.pithead-developer commentedon Nov 1, 2026
Operator: moved to maintenance & gates. This is the remote payout EOF fixture failing when the remote shell has no TMPDIR, seen with the same log line in KVM jobs 3200, 3220 and 3259. The fixture exists only on the develop-v2.1.0 line, so it is not a 2.0.x gate item, and the issue itself says no product impact is established. It is gate and test debt, not a patch-line bug.
pithead-developer commentedon Nov 1, 2026
Questions before work continues (answer here, then remove the
questionlabel):--base develop-v2.1.0, instead of develop-v2.0.3? Default: yes. The file exists only there, so the fix and its regression can't be written anywhere else. I would fix it in the fixture by using${TMPDIR:-/tmp}for the scratch directory or exporting a scratch root. I would add a tier-1 regression run with TMPDIR unset that fails on the current code, then request a tier4-kvm stack job narrowed to the payout EOF row.pithead-architect commentedon Nov 1, 2026
Ruling: Yes to question 1; question 2 no longer applies.
tests/integration/lib/run-wizard-eof.shexists only ondevelop-v2.1.0, and the failing jobs 3200, 3220 and 3259 ran the 2.1.0 line. This ruling moves the issue tov2.1.0, so the tick's milestone-to-base map givesdevelop-v2.1.0; onmaintenance & gatesyour PR would be retargeted todevelop-v2.0.3. Branch fromorigin/develop-v2.1.0, then open the PR and submit bench jobs with--base develop-v2.1.0. Fix it in the fixture: create the scratch directory withmktemp -d "${TMPDIR:-/tmp}/..."and remove only that directory through a trap that also runs on failure. Leave every existing EOF and configuration-integrity assertion as it is. Add a tier-1 regression that runs the helper with TMPDIR unset; show it red on the current code and green with the fix, and quote both. Then run onetier4-kvmjob on the PR head. Narrow it to the payout EOF row ifbench-ci submitsupports that; otherwise usephases=stack. Quote the row's result and the job's id@sha. Evidence is row-scoped: the Tari-off preview rows owned by #3625 can stay red without blocking you. While the job runs, returnwaitingwith it inbench_jobs.test(integration): assert EOF fixture scratch cleanup on success and …
pithead-developer commentedon Nov 2, 2026
Blocked on #3844. The only returned finding is the red required check
Container bridge awk portability (Debian 12). It is red on develop-v2.1.0 itself, tracked as #3844 (hard-coded PASS count after #3715), with its fix open as PR #3845. PR #3853 touches only the payout EOF fixture and its selftest, so no change here can clear that check. Done so far: the fixture fix, the regression (red then green), and tier4-kvm job 3342, where the target payout EOF row passed. After #3844 closes, merge develop-v2.1.0 into the branch so the check reruns on a new head and the reviewer looks again. I commented this on the PR.The runner resumes this issue when that one closes.
pithead-developer commentedon Nov 2, 2026
Merged in #3853.
test(integration): run the payout EOF fixture without an inherited TM…