test_timeout_close_log reliability issues #1077

Closed
opened 2025-12-15 20:37:41 +00:00 by jade · 1 comment
Owner

Occurred in this job on Darwin: https://buildkite.com/lix-project/lix/builds/7092/steps/canvas?jid=019b23b1-a12a-4ba7-9ba5-dbb6c17b461e

build-lowdown_1_3.aarch64-darwin

lix> =================================== FAILURES ===================================
lix> ________________________ test_timeout_close_log[files0] ________________________
lix> [gw3] darwin -- Python 3.12.11 /nix/store/mf2raxwpl75m2sr28prnjw64bl1zl03f-python3-3.12.11-env/bin/python3.12
lix> nix = Nix(env=<functional2.testlib.fixtures.env.ManagedEnv object at 0x103bcc200>, _settings=NixSettings(experimental_featur....drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0&store=/nix/store', nix_store_dir=None))
lix>     @with_files(_files)
lix>     def test_timeout_close_log(nix: Nix):
lix>         res = nix.nix_build(["timeout.nix", "-A", "closeLog"]).run().expect(100)
lix> >       assert "failed due to signal 9 (Killed" in res.stderr_plain
lix> E       assert 'failed due to signal 9 (Killed' in "this derivation will be built:\n  /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137"
lix> E        +  where "this derivation will be built:\n  /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137" = CommandResult(cmd=['nix-build', 'timeout.nix', '-A', 'closeLog'], rc=100, stderr=b"this derivation will be built:\n  /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137\n", stdout=b'').stderr_plain
lix> ../tests/functional2/commands/test_build/test_timeout.py:40: AssertionError
lix> =========================== short test summary info ============================
Occurred in this job on Darwin: https://buildkite.com/lix-project/lix/builds/7092/steps/canvas?jid=019b23b1-a12a-4ba7-9ba5-dbb6c17b461e `build-lowdown_1_3.aarch64-darwin` ``` lix> =================================== FAILURES =================================== lix> ________________________ test_timeout_close_log[files0] ________________________ lix> [gw3] darwin -- Python 3.12.11 /nix/store/mf2raxwpl75m2sr28prnjw64bl1zl03f-python3-3.12.11-env/bin/python3.12 lix> nix = Nix(env=<functional2.testlib.fixtures.env.ManagedEnv object at 0x103bcc200>, _settings=NixSettings(experimental_featur....drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0&store=/nix/store', nix_store_dir=None)) lix> @with_files(_files) lix> def test_timeout_close_log(nix: Nix): lix> res = nix.nix_build(["timeout.nix", "-A", "closeLog"]).run().expect(100) lix> > assert "failed due to signal 9 (Killed" in res.stderr_plain lix> E assert 'failed due to signal 9 (Killed' in "this derivation will be built:\n /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137" lix> E + where "this derivation will be built:\n /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137" = CommandResult(cmd=['nix-build', 'timeout.nix', '-A', 'closeLog'], rc=100, stderr=b"this derivation will be built:\n /nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv\nbuilding '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv'...\nerror: builder for '/nix/var/nix/builds/nix-build-lix-2.95.0pre20251215-dev_88cea98.drv-0/b/pytest-of-_nixbld10/pytest-0/popen-gw3/test_timeout_close_log_files0_0/nix/store/0c9ypv0r8skqf7y121qsm4ym4abwz43z-silent.drv' failed with exit code 137\n", stdout=b'').stderr_plain lix> ../tests/functional2/commands/test_build/test_timeout.py:40: AssertionError lix> =========================== short test summary info ============================ ```
jade added this to the functional2 project 2025-12-15 20:38:25 +00:00
Owner

duplicate of #1017. also not an f2 issue but a "for some reason macos can't decide how to stringify exit statuses consistently" issue

duplicate of #1017. also not an f2 issue but a "for some reason macos can't decide how to stringify exit statuses consistently" issue
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1077
No description provided.