text stringlengths 0 249 |
|---|
"import socket\n" |
f"targets = {targets!r}\n" |
"result = {}\n" |
"for host, port in targets:\n" |
" key = f'{host}:{port}'\n" |
" try:\n" |
" connection = socket.create_connection((host, port), timeout=1.0)\n" |
" except OSError as error:\n" |
" result[key] = {'connected': False, 'error': type(error).__name__}\n" |
" else:\n" |
" connection.close()\n" |
" result[key] = {'connected': True, 'error': None}\n" |
"print(json.dumps(result, sort_keys=True))\n" |
"raise SystemExit(1 if any(item['connected'] for item in result.values()) else 0)\n" |
) |
completed, _ = run_process( |
[sys.executable, "-I", "-B", "-c", probe], |
cwd=workspace, |
environment=environment, |
timeout=20, |
identity=identity, |
) |
> assert completed.returncode == 0, ( |
^^^^^^^^^^^^^^^^^^^^^^^^^ |
"Unprivileged hidden execution retained external network egress:\n" |
f"{completed.stdout}\n{completed.stderr}" |
) |
E AssertionError: Unprivileged hidden execution retained external network egress: |
E {"1.1.1.1:443": {"connected": true, "error": null}, "8.8.8.8:53": {"connected": true, "error": null}} |
isolated_runner.py:310: AssertionError |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED test_outputs.py::test_frozen_inputs_and_private_fixture_replay |
FAILED test_outputs.py::test_output_schema_and_parameterized_solver_interface |
FAILED test_outputs.py::test_nominal_reconstruction_matches_independent_pairwise_sum |
FAILED test_outputs.py::test_private_reconstructions_match_independent_pairwise_sum |
FAILED test_outputs.py::test_cutoff_convergence_is_measured_and_satisfied - A... |
FAILED test_outputs.py::test_force_energy_symmetry_and_curvature - AssertionE... |
FAILED test_outputs.py::test_physical_invariants_and_supercell_extensivity - ... |
========================= 6 failed, 1 passed in 1.97s ========================== |
============================= test session starts ============================== |
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3 |
rootdir: /verifier |
collecting ... collected 7 items |
test_outputs.py::test_output_schema_and_parameterized_solver_interface PASSED [ 14%] |
test_outputs.py::test_frozen_inputs_and_private_fixture_replay PASSED [ 28%] |
test_outputs.py::test_nominal_reconstruction_matches_independent_pairwise_sum PASSED [ 42%] |
test_outputs.py::test_private_reconstructions_match_independent_pairwise_sum PASSED [ 57%] |
test_outputs.py::test_cutoff_convergence_is_measured_and_satisfied PASSED [ 71%] |
test_outputs.py::test_force_energy_symmetry_and_curvature PASSED [ 85%] |
test_outputs.py::test_physical_invariants_and_supercell_extensivity PASSED [100%] |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED test_outputs.py::test_output_schema_and_parameterized_solver_interface |
PASSED test_outputs.py::test_frozen_inputs_and_private_fixture_replay |
PASSED test_outputs.py::test_nominal_reconstruction_matches_independent_pairwise_sum |
PASSED test_outputs.py::test_private_reconstructions_match_independent_pairwise_sum |
PASSED test_outputs.py::test_cutoff_convergence_is_measured_and_satisfied |
PASSED test_outputs.py::test_force_energy_symmetry_and_curvature |
PASSED test_outputs.py::test_physical_invariants_and_supercell_extensivity |
============================== 7 passed in 3.13s =============================== |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.