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 ==============================