Skip to content

test: serialize the scripting host tests that share ../PlugIns - #2060

Merged
zackees merged 1 commit into
masterfrom
test/scripting-host-plugins-lock
Oct 24, 2026
Merged

zackees merged 1 commit into
masterfrom
test/scripting-host-plugins-lock

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Master flake that is ejecting unrelated PRs from the merge queue.

test_obs_scripting_lua_host_macos (#1987) and test_obs_scripting_python_host_macos (#2012) both os_rmdir/os_mkdir the same ../PlugIns folder next to the test binaries. ctest runs them in parallel, so one removes the folder while the other is checking it:

test_obs_scripting_lua_host.c:71: error: Failure!   [  ERROR   ] --- 0 != 1

(merge group for #2048, run 40065325663; python variant at line 74 in the merge group for #2054, run 40065984661).

Fix: a shared RESOURCE_LOCK obs-scripting-host-plugins-dir on the Lua and Python host tests, so ctest never runs two of them at once. No test code changes.

RED evidence: the two CI failures above (an intermittent race, so there is no deterministic local RED). gersemi passes locally.

CI-only change: no features-ledger line. Opened by the coordinator to unblock the queue. The other current flake, test_context_names/test_canvas_sources segfaulting, is a separate libobs regression, reported on #2041.

test_obs_scripting_lua_host_macos and test_obs_scripting_python_host_macos
both create and remove ../PlugIns next to the test binaries. ctest runs
them in parallel, so one removes the folder while the other checks it, and
test_dirs fails with 0 != 1 (merge groups for #2048 and #2054, 2026-10-24).
A shared RESOURCE_LOCK keeps them from running at the same time.
@zackees
zackees enabled auto-merge October 24, 2026 05:44
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 4e76d53 Oct 24, 2026
31 checks passed
@zackees
zackees deleted the test/scripting-host-plugins-lock branch October 26, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant