template_ci_build_metadata__tLSdWSW

Status: Failed
Started: 3/19 16:10
Execution: 1m 38.1s
Test: 9.9s
2026-03-19 08:20:40.830	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:20:40.835	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 08:20:40.931	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:20:40.932	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:20:41.117	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:20:42.812	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:20:42.813	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:20:42.946	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:20:43.030	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:20:43.307	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a build engineer working in a jj repository at `/home/user/repo`. Your CI pipeline needs to export build metadata from the current commit (`@`) in JSON format, as well as diff statistics. You will use `jj log` templates and `jj diff` to extract this information.
2026-03-19 08:22:16.560	DEBUG	/$bunfs/pochi:503269	TaskRunner	Failed:

 TypeError  undefined is not an object (evaluating 'getErrorTrace(error40).map'), 417706, 47, 417706, 47, /$bunfs/root/pochi
error stack:
  • pochi	prettyFormatErrorObj
	/$bunfs/pochi:417706
  • pochi	<anonymous>
	/$bunfs/pochi:417701
  • native	reduce
	native:1
  • pochi	log
	/$bunfs/pochi:417840
  • pochi	onError
	/$bunfs/pochi:500813
  • pochi	makeRequest
	/$bunfs/pochi:432009
  • pochi	async <anonymous>
	/$bunfs/pochi:431766
  • pochi	async step
	/$bunfs/pochi:502738
  • pochi	async run
	/$bunfs/pochi:502615
  • pochi	async <anonymous>
	/$bunfs/pochi:503269
  • native	processTicksAndRejections
	native:7
undefined is not an object (evaluating 'getErrorTrace(error40).map')
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 13 not upgraded.
downloading uv 0.9.7 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 6 packages in 26ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0
rootdir: /tests
plugins: json-ctrf-0.3.5
collected 12 items

../tests/test_outputs.py FFFFFFFFFFFF                                    [100%]

=================================== FAILURES ===================================
_________________________ test_ci_metadata_json_exists _________________________

    def test_ci_metadata_json_exists():
>       assert os.path.isfile("/home/user/ci_metadata.json"), \
            "/home/user/ci_metadata.json does not exist."
E       AssertionError: /home/user/ci_metadata.json does not exist.
E       assert False
E        +  where False = <function isfile at 0x7a9dad0e0220>('/home/user/ci_metadata.json')
E        +    where <function isfile at 0x7a9dad0e0220> = <module 'posixpath' (frozen)>.isfile
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_outputs.py:14: AssertionError
________________________ test_ci_metadata_is_valid_json ________________________

    def test_ci_metadata_is_valid_json():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:19: FileNotFoundError
________________________ test_ci_metadata_has_commit_id ________________________

    def test_ci_metadata_has_commit_id():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:28: FileNotFoundError
________________________ test_ci_metadata_has_change_id ________________________

    def test_ci_metadata_has_change_id():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:38: FileNotFoundError
_________________________ test_ci_metadata_has_author __________________________

    def test_ci_metadata_has_author():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:46: FileNotFoundError
__________________________ test_ci_metadata_has_email __________________________

    def test_ci_metadata_has_email():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:54: FileNotFoundError
________________________ test_ci_metadata_has_timestamp ________________________

    def test_ci_metadata_has_timestamp():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:61: FileNotFoundError
_______________________ test_ci_metadata_has_description _______________________

    def test_ci_metadata_has_description():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:69: FileNotFoundError
_________________________ test_ci_metadata_has_parents _________________________

    def test_ci_metadata_has_parents():
>       with open("/home/user/ci_metadata.json") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_metadata.json'

/tests/test_outputs.py:77: FileNotFoundError
__________________________ test_ci_diff_stats_exists ___________________________

    def test_ci_diff_stats_exists():
>       assert os.path.isfile("/home/user/ci_diff_stats.txt"), \
            "/home/user/ci_diff_stats.txt does not exist."
E       AssertionError: /home/user/ci_diff_stats.txt does not exist.
E       assert False
E        +  where False = <function isfile at 0x7a9dad0e0220>('/home/user/ci_diff_stats.txt')
E        +    where <function isfile at 0x7a9dad0e0220> = <module 'posixpath' (frozen)>.isfile
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_outputs.py:85: AssertionError
_________________________ test_ci_diff_stats_not_empty _________________________

    def test_ci_diff_stats_not_empty():
>       with open("/home/user/ci_diff_stats.txt") as f:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ci_diff_stats.txt'

/tests/test_outputs.py:90: FileNotFoundError
__________________ test_ci_metadata_exported_bookmark_exists ___________________

    def test_ci_metadata_exported_bookmark_exists():
        result = run_jj(["bookmark", "list"])
        assert result.returncode == 0, f"jj bookmark list failed: {result.stderr}"
>       assert "ci-metadata-exported" in result.stdout, \
            "Bookmark 'ci-metadata-exported' does not exist."
E       AssertionError: Bookmark 'ci-metadata-exported' does not exist.
E       assert 'ci-metadata-exported' in 'main: vovxlvqn ac256c26 init: project setup\n'
E        +  where 'main: vovxlvqn ac256c26 init: project setup\n' = CompletedProcess(args=['jj', 'bookmark', 'list'], returncode=0, stdout='main: vovxlvqn ac256c26 init: project setup\n', stderr='').stdout

/tests/test_outputs.py:98: AssertionError
=========================== short test summary info ============================
FAILED ../tests/test_outputs.py::test_ci_metadata_json_exists - AssertionErro...
FAILED ../tests/test_outputs.py::test_ci_metadata_is_valid_json - FileNotFoun...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_commit_id - FileNotFoun...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_change_id - FileNotFoun...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_author - FileNotFoundEr...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_email - FileNotFoundErr...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_timestamp - FileNotFoun...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_description - FileNotFo...
FAILED ../tests/test_outputs.py::test_ci_metadata_has_parents - FileNotFoundE...
FAILED ../tests/test_outputs.py::test_ci_diff_stats_exists - AssertionError: ...
FAILED ../tests/test_outputs.py::test_ci_diff_stats_not_empty - FileNotFoundE...
FAILED ../tests/test_outputs.py::test_ci_metadata_exported_bookmark_exists - ...
============================== 12 failed in 0.08s ==============================