secure_config_isolation__cMvznMj

Status: Failed
Started: 3/19 19:13
Execution: 51.4s
Test: 9.5s
2026-03-19 11:14:33.165	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 11:14:33.171	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 11:14:33.356	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 11:14:33.357	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 11:14:33.386	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 11:14:34.954	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 11:14:34.955	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 11:14:35.068	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 11:14:35.150	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:35.267	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a repo maintainer enforcing secure configuration for your team's jj repository.
2026-03-19 11:14:43.297	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:44.215	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath /home/user and recursive false
2026-03-19 11:14:44.243	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:45.357	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: You are a repo maintainer enforcing secure configuration for your team's jj repository., new: Initialize a secure jj repository with repository-level signing and user configuration
2026-03-19 11:14:45.874	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:47.873	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:49.591	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:51.519	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:52.853	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:54.270	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:55.775	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:56.895	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath /home/user/secure_repo and recursive true
2026-03-19 11:14:56.909	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:58.655	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:59.915	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:01.144	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:02.985	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:05.058	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:06.917	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:08.282	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:10.402	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:11.612	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:12.731	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:15:15.373	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (8.5.0-2ubuntu10.8).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
downloading uv 0.9.5 x86_64-unknown-linux-gnu
no checksums to verify
installing to /root/.local/bin
  uv
  uvx
everything's installed!

To add $HOME/.local/bin to your PATH, either restart your shell or run:

    source $HOME/.local/bin/env (sh, bash, zsh)
    source $HOME/.local/bin/env.fish (fish)
Downloading pygments (1.2MiB)
 Downloading pygments
Installed 5 packages in 16ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/ocOhXXZVnon4RWCEObfoz/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 4 items

../../tests/test_final_state.py::test_repo_exists PASSED                 [ 25%]
../../tests/test_final_state.py::test_config_toml_contents FAILED        [ 50%]
../../tests/test_final_state.py::test_audit_log_exists PASSED            [ 75%]
../../tests/test_final_state.py::test_audit_log_in_commit FAILED         [100%]

=================================== FAILURES ===================================
__________________________ test_config_toml_contents ___________________________

    def test_config_toml_contents():
        config_path = os.path.join(REPO_DIR, ".jj/repo/config.toml")
>       assert os.path.exists(config_path), f"Config file {config_path} does not exist."
E       AssertionError: Config file /home/user/secure_repo/.jj/repo/config.toml does not exist.
E       assert False
E        +  where False = <function exists at 0x77fd49f5f560>('/home/user/secure_repo/.jj/repo/config.toml')
E        +    where <function exists at 0x77fd49f5f560> = <module 'posixpath' (frozen)>.exists
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:13: AssertionError
___________________________ test_audit_log_in_commit ___________________________

    def test_audit_log_in_commit():
        result = subprocess.run(["jj", "log", "-T", "description"], cwd=REPO_DIR, capture_output=True, text=True)
>       assert result.returncode == 0, f"jj log failed: {result.stderr}"
E       AssertionError: jj log failed: Internal error: Unexpected error from backend
E         Caused by:
E         1: Could not write object of type commit
E         2: Signing error
E         3: Failed to run GPG
E         4: No such file or directory (os error 2)
E         
E       assert 255 == 0
E        +  where 255 = CompletedProcess(args=['jj', 'log', '-T', 'description'], returncode=255, stdout='', stderr='Internal error: Unexpected error from backend\nCaused by:\n1: Could not write object of type commit\n2: Signing error\n3: Failed to run GPG\n4: No such file or directory (os error 2)\n').returncode

/tests/test_final_state.py:29: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_config_toml_contents - Assertion...
FAILED ../../tests/test_final_state.py::test_audit_log_in_commit - AssertionE...
========================= 2 failed, 2 passed in 0.04s ==========================