c528dd268f
Include callable skill and live-GUI prerequisites, epoch sensor reads, packed snapshots, sampled bit-exact kinematics, and verified-tick rendering without changing the physical/control schedule. Record bounded analytic S1 GUI/headless qualification, original failures and CPU evidence (1557 passed, 6 skipped). Preserve accepted_skill=false and sub-real-time limitations. Exclude native authorities, caches, large media and local delivery copies; retain sealed artifact digest.
2017 lines
120 KiB
Plaintext
2017 lines
120 KiB
Plaintext
........................................................................ [ 4%]
|
|
........................................................................ [ 9%]
|
|
........................................................................ [ 13%]
|
|
..sss................................................................... [ 18%]
|
|
........................................................................ [ 23%]
|
|
........................................................................ [ 27%]
|
|
........................................................................ [ 32%]
|
|
........................................................................ [ 36%]
|
|
........................................................................ [ 41%]
|
|
........................................................................ [ 46%]
|
|
........................................................................ [ 50%]
|
|
........................................................................ [ 55%]
|
|
..........................FFFFF.F....F...........FFFFFFFFFFFF........... [ 59%]
|
|
sFF.FF........FFFFFFFFFFFFF............................................. [ 64%]
|
|
...........s............................s............................... [ 69%]
|
|
........................................................................ [ 73%]
|
|
........................................................................ [ 78%]
|
|
.............s.......................................................... [ 82%]
|
|
..............................FF...........F............................ [ 87%]
|
|
........................................................................ [ 92%]
|
|
........................................................................ [ 96%]
|
|
................................................... [100%]
|
|
=================================== FAILURES ===================================
|
|
_ test_storage_policy_only_trusts_bound_facts_not_capacity[native_hard_cap-True] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_only_trust0')
|
|
field = 'native_hard_cap', value = True
|
|
|
|
@pytest.mark.parametrize('field,value', [('native_hard_cap', True),
|
|
('scope', 'monitored_only'), ('boot_id', 'old'),
|
|
('not_after_boottime', 0), ('mount_identity', 'other')])
|
|
def test_storage_policy_only_trusts_bound_facts_not_capacity(tmp_path, field, value):
|
|
args, _, review = trusted_inputs(tmp_path)
|
|
review[field] = value
|
|
args.storage_policy.write_bytes(b.encode(review))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:501:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_only_trusts_bound_facts_not_capacity[scope-monitored_only] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_only_trust1')
|
|
field = 'scope', value = 'monitored_only'
|
|
|
|
@pytest.mark.parametrize('field,value', [('native_hard_cap', True),
|
|
('scope', 'monitored_only'), ('boot_id', 'old'),
|
|
('not_after_boottime', 0), ('mount_identity', 'other')])
|
|
def test_storage_policy_only_trusts_bound_facts_not_capacity(tmp_path, field, value):
|
|
args, _, review = trusted_inputs(tmp_path)
|
|
review[field] = value
|
|
args.storage_policy.write_bytes(b.encode(review))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:501:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
____ test_storage_policy_only_trusts_bound_facts_not_capacity[boot_id-old] _____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_only_trust2')
|
|
field = 'boot_id', value = 'old'
|
|
|
|
@pytest.mark.parametrize('field,value', [('native_hard_cap', True),
|
|
('scope', 'monitored_only'), ('boot_id', 'old'),
|
|
('not_after_boottime', 0), ('mount_identity', 'other')])
|
|
def test_storage_policy_only_trusts_bound_facts_not_capacity(tmp_path, field, value):
|
|
args, _, review = trusted_inputs(tmp_path)
|
|
review[field] = value
|
|
args.storage_policy.write_bytes(b.encode(review))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:501:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_only_trusts_bound_facts_not_capacity[not_after_boottime-0] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_only_trust3')
|
|
field = 'not_after_boottime', value = 0
|
|
|
|
@pytest.mark.parametrize('field,value', [('native_hard_cap', True),
|
|
('scope', 'monitored_only'), ('boot_id', 'old'),
|
|
('not_after_boottime', 0), ('mount_identity', 'other')])
|
|
def test_storage_policy_only_trusts_bound_facts_not_capacity(tmp_path, field, value):
|
|
args, _, review = trusted_inputs(tmp_path)
|
|
review[field] = value
|
|
args.storage_policy.write_bytes(b.encode(review))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:501:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_only_trusts_bound_facts_not_capacity[mount_identity-other] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_only_trust4')
|
|
field = 'mount_identity', value = 'other'
|
|
|
|
@pytest.mark.parametrize('field,value', [('native_hard_cap', True),
|
|
('scope', 'monitored_only'), ('boot_id', 'old'),
|
|
('not_after_boottime', 0), ('mount_identity', 'other')])
|
|
def test_storage_policy_only_trusts_bound_facts_not_capacity(tmp_path, field, value):
|
|
args, _, review = trusted_inputs(tmp_path)
|
|
review[field] = value
|
|
args.storage_policy.write_bytes(b.encode(review))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:501:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
________________ test_failed_popen_is_charged_and_not_retryable ________________
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_failed_popen_is_charged_a0')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb2424bfd0>
|
|
|
|
def test_failed_popen_is_charged_and_not_retryable(tmp_path, monkeypatch):
|
|
args, _, _ = trusted_inputs(tmp_path)
|
|
calls = []
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
|
|
def failed(*a, **kw):
|
|
calls.append(a)
|
|
raise OSError('CPU mock Popen failure')
|
|
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', failed)
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
> assert cli.supervise(args) == 1
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:522:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
________ test_supervisor_three_fresh_processes_bound_logs_and_P2_review ________
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_supervisor_three_fresh_pr0')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb24259d90>
|
|
|
|
def test_supervisor_three_fresh_processes_bound_logs_and_P2_review(tmp_path, monkeypatch):
|
|
args, grant, _ = trusted_inputs(tmp_path)
|
|
calls, payloads, cleaned = [], [], []
|
|
|
|
class Channel:
|
|
def fileno(self):
|
|
return 987
|
|
|
|
def set_inheritable(self, _):
|
|
pass
|
|
|
|
def close(self):
|
|
pass
|
|
|
|
class Owned:
|
|
supervisor = (1, 2)
|
|
known = set()
|
|
unknown = False
|
|
def attach(self, _):
|
|
pass
|
|
def discover(self):
|
|
return {}
|
|
|
|
def exchange(child, channel, payload, *_):
|
|
payloads.append(payload)
|
|
|
|
def popen(command, **kwargs):
|
|
index = len(calls)
|
|
calls.append((command, kwargs))
|
|
output = args.artifact_root / f'launch-{index}'
|
|
b.durable_write(output / 'result.json', b.encode({
|
|
'observed_counts': {'attempted_steps': 7, 'completed_steps': 7,
|
|
'initialization_steps': 2, 'rollout_steps': 5},
|
|
'continuation_eligible': True, 'preclose_identity_verified': True}))
|
|
b.durable_write(output / 'preclose-filesystem.json', b.encode({
|
|
'files': {}, 'frozen_root': str(tmp_path / 'no-frozen'), 'scope': 'CPU fixture'}))
|
|
stdout = tmp_path / f'mock-pipe-{index}'
|
|
stdout.write_bytes(b'CPU mocked child output\n')
|
|
return NS(pid=12345, stdout=stdout.open('rb'), returncode=0, wait=lambda **_: None, poll=lambda: 0)
|
|
|
|
monkeypatch.setattr(cli.socket, 'socketpair', lambda: (Channel(), Channel()))
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', popen)
|
|
monkeypatch.setattr(cli, 'exchange_worker', exchange)
|
|
monkeypatch.setattr(cli, 'OwnedProcesses', Owned)
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
monkeypatch.setattr(cli.os, 'getpgid', lambda _: 12345)
|
|
monkeypatch.setattr(cli, 'cleanup_group', lambda child, *_: cleaned.append(child.pid) or True)
|
|
for index in range(3):
|
|
args.protocol = cli.PROTOCOLS[index == 2]
|
|
grant.update(launch_index=index, stage='P2' if index == 2 else 'P1',
|
|
trial_indices=list(range(20)) if index == 2 else [index],
|
|
protocol_sha256=b.digest(ROOT / args.protocol))
|
|
if index == 2:
|
|
grant['p1_evidence_sha256'] = [b.tree_digest(args.artifact_root / f'launch-{i}') for i in (0, 1)]
|
|
args.grant.write_bytes(b.encode(grant))
|
|
args.trusted_grant_sha256 = b.digest(args.grant)
|
|
> assert cli.supervise(args) == 0
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:618:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[approval_sha256-0000000000000000000000000000000000000000000000000000000000000000] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e0')
|
|
field = 'approval_sha256'
|
|
value = '0000000000000000000000000000000000000000000000000000000000000000'
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[check_interval_seconds-2] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e1')
|
|
field = 'check_interval_seconds', value = 2
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[coverage_gaps-value2] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e2')
|
|
field = 'coverage_gaps', value = []
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[native_paths-value3] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e3')
|
|
field = 'native_paths', value = []
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[shared_native_paths-value4] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e4')
|
|
field = 'shared_native_paths', value = []
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[task_owned_cache_paths-value5] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e5')
|
|
field = 'task_owned_cache_paths', value = []
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[format-skillfactory.output-storage-policy.v2] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e6')
|
|
field = 'format', value = 'skillfactory.output-storage-policy.v2'
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[format-skillfactory.output-storage-policy.v3] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e7')
|
|
field = 'format', value = 'skillfactory.output-storage-policy.v3'
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[free_space_paths-value8] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e8')
|
|
field = 'free_space_paths', value = []
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[free_space_mount_identities-value9] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e9')
|
|
field = 'free_space_mount_identities', value = {}
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[min_free_bytes-0] __
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e10')
|
|
field = 'min_free_bytes', value = 0
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_requires_explicit_approved_monitoring[max_native_growth_bytes-0] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_requires_e11')
|
|
field = 'max_native_growth_bytes', value = 0
|
|
|
|
@pytest.mark.parametrize('field,value', [('approval_sha256', '0' * 64), ('check_interval_seconds', 2),
|
|
('coverage_gaps', []), ('native_paths', []),
|
|
('shared_native_paths', []), ('task_owned_cache_paths', []),
|
|
('format', 'skillfactory.output-storage-policy.v2'),
|
|
('format', 'skillfactory.output-storage-policy.v3'),
|
|
('free_space_paths', []), ('free_space_mount_identities', {}),
|
|
('min_free_bytes', 0), ('max_native_growth_bytes', 0)])
|
|
def test_storage_policy_requires_explicit_approved_monitoring(tmp_path, field, value):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy[field] = value
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:908:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_______ test_supervise_captures_failed_handshake_through_cleanup[False] ________
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_supervise_captures_failed0')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb1fbe1d50>
|
|
overflow = False
|
|
|
|
@pytest.mark.parametrize('overflow', [False, True])
|
|
def test_supervise_captures_failed_handshake_through_cleanup(tmp_path, monkeypatch, overflow):
|
|
args, _, _ = trusted_inputs(tmp_path)
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
owned = NS(supervisor=(1, 2), known={(100, 10)}, attach=lambda _: None,
|
|
discover=lambda: {}, reap=lambda _: None, unknown=False)
|
|
monkeypatch.setattr(cli, 'OwnedProcesses', lambda: owned)
|
|
source = tmp_path / 'mock-pipe'
|
|
trace = b'Traceback: import failed BEFORE hello\n'
|
|
source.write_bytes(trace + (b'x' * b.STDOUT_BYTES if overflow else b''))
|
|
def popen(*_, **__):
|
|
return NS(pid=100, stdout=source.open('rb'), returncode=1, poll=lambda: 1)
|
|
def failed_exchange(child, channel, payload, budget, capture, *_):
|
|
if overflow:
|
|
capture.check()
|
|
capture.check()
|
|
raise RuntimeError('identity_worker_handshake_eof')
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', popen)
|
|
monkeypatch.setattr(cli, 'exchange_worker', failed_exchange)
|
|
> assert cli.supervise(args) == 1
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1158:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
________ test_supervise_captures_failed_handshake_through_cleanup[True] ________
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_supervise_captures_failed1')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb243585d0>
|
|
overflow = True
|
|
|
|
@pytest.mark.parametrize('overflow', [False, True])
|
|
def test_supervise_captures_failed_handshake_through_cleanup(tmp_path, monkeypatch, overflow):
|
|
args, _, _ = trusted_inputs(tmp_path)
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
owned = NS(supervisor=(1, 2), known={(100, 10)}, attach=lambda _: None,
|
|
discover=lambda: {}, reap=lambda _: None, unknown=False)
|
|
monkeypatch.setattr(cli, 'OwnedProcesses', lambda: owned)
|
|
source = tmp_path / 'mock-pipe'
|
|
trace = b'Traceback: import failed BEFORE hello\n'
|
|
source.write_bytes(trace + (b'x' * b.STDOUT_BYTES if overflow else b''))
|
|
def popen(*_, **__):
|
|
return NS(pid=100, stdout=source.open('rb'), returncode=1, poll=lambda: 1)
|
|
def failed_exchange(child, channel, payload, budget, capture, *_):
|
|
if overflow:
|
|
capture.check()
|
|
capture.check()
|
|
raise RuntimeError('identity_worker_handshake_eof')
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', popen)
|
|
monkeypatch.setattr(cli, 'exchange_worker', failed_exchange)
|
|
> assert cli.supervise(args) == 1
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1158:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
___ test_supervise_setup_failure_terminates_reaps_and_closes_pipes[capture] ____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_supervise_setup_failure_t0')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb1fc92650>
|
|
failure = 'capture'
|
|
|
|
@pytest.mark.parametrize('failure', ['capture', 'attach'])
|
|
def test_supervise_setup_failure_terminates_reaps_and_closes_pipes(tmp_path, monkeypatch, failure):
|
|
args, _, _ = trusted_inputs(tmp_path)
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
parent = cli.os.getpid()
|
|
table = {parent: (1, 0, 0, 'S')}
|
|
monkeypatch.setattr(cli, 'process_table', lambda: dict(table))
|
|
owned = cli.OwnedProcesses()
|
|
monkeypatch.setattr(cli, 'OwnedProcesses', lambda: owned)
|
|
events = []
|
|
pipe = (tmp_path / 'pipe').open('w+b')
|
|
child = NS(pid=100, stdout=pipe, returncode=None)
|
|
|
|
def poll():
|
|
if table.get(100, (None, None, None, None))[3] == 'Z':
|
|
del table[100]
|
|
child.returncode = -cli.signal.SIGTERM
|
|
events.append('reaped')
|
|
return child.returncode
|
|
|
|
child.poll = poll
|
|
|
|
def popen(*_, **kwargs):
|
|
assert kwargs['start_new_session']
|
|
table[100] = (10, parent, 100, 'S')
|
|
events.append('spawned')
|
|
return child
|
|
|
|
attach = owned.attach
|
|
|
|
def attaching(process):
|
|
assert events == ['spawned']
|
|
events.append('attached')
|
|
if failure == 'attach':
|
|
raise RuntimeError('injected_attach_failure')
|
|
attach(process)
|
|
|
|
def capture(*_):
|
|
assert owned.root == (100, 10)
|
|
events.append('capture')
|
|
raise OSError('injected_capture_constructor_failure')
|
|
|
|
def terminate(pid, row, sig):
|
|
assert pid == 100 and row[0] == 10 and pipe.closed
|
|
assert sig == cli.signal.SIGTERM
|
|
table[100] = (10, parent, 100, 'Z')
|
|
events.append('terminated')
|
|
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', popen)
|
|
monkeypatch.setattr(owned, 'attach', attaching)
|
|
monkeypatch.setattr(owned, 'signal', terminate)
|
|
monkeypatch.setattr(cli, 'StdoutCapture', capture)
|
|
> assert cli.supervise(args) == 1
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1238:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
____ test_supervise_setup_failure_terminates_reaps_and_closes_pipes[attach] ____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_supervise_setup_failure_t1')
|
|
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x78fb30ae0f50>
|
|
failure = 'attach'
|
|
|
|
@pytest.mark.parametrize('failure', ['capture', 'attach'])
|
|
def test_supervise_setup_failure_terminates_reaps_and_closes_pipes(tmp_path, monkeypatch, failure):
|
|
args, _, _ = trusted_inputs(tmp_path)
|
|
monkeypatch.setattr(cli, 'native_size', lambda path, **_kw: native_scan_result(0, path=path))
|
|
monkeypatch.setattr(cli.ctypes, 'CDLL', lambda *_a, **_kw: NS(prctl=lambda *_: 0))
|
|
parent = cli.os.getpid()
|
|
table = {parent: (1, 0, 0, 'S')}
|
|
monkeypatch.setattr(cli, 'process_table', lambda: dict(table))
|
|
owned = cli.OwnedProcesses()
|
|
monkeypatch.setattr(cli, 'OwnedProcesses', lambda: owned)
|
|
events = []
|
|
pipe = (tmp_path / 'pipe').open('w+b')
|
|
child = NS(pid=100, stdout=pipe, returncode=None)
|
|
|
|
def poll():
|
|
if table.get(100, (None, None, None, None))[3] == 'Z':
|
|
del table[100]
|
|
child.returncode = -cli.signal.SIGTERM
|
|
events.append('reaped')
|
|
return child.returncode
|
|
|
|
child.poll = poll
|
|
|
|
def popen(*_, **kwargs):
|
|
assert kwargs['start_new_session']
|
|
table[100] = (10, parent, 100, 'S')
|
|
events.append('spawned')
|
|
return child
|
|
|
|
attach = owned.attach
|
|
|
|
def attaching(process):
|
|
assert events == ['spawned']
|
|
events.append('attached')
|
|
if failure == 'attach':
|
|
raise RuntimeError('injected_attach_failure')
|
|
attach(process)
|
|
|
|
def capture(*_):
|
|
assert owned.root == (100, 10)
|
|
events.append('capture')
|
|
raise OSError('injected_capture_constructor_failure')
|
|
|
|
def terminate(pid, row, sig):
|
|
assert pid == 100 and row[0] == 10 and pipe.closed
|
|
assert sig == cli.signal.SIGTERM
|
|
table[100] = (10, parent, 100, 'Z')
|
|
events.append('terminated')
|
|
|
|
monkeypatch.setattr(cli.subprocess, 'Popen', popen)
|
|
monkeypatch.setattr(owned, 'attach', attaching)
|
|
monkeypatch.setattr(owned, 'signal', terminate)
|
|
monkeypatch.setattr(cli, 'StdoutCapture', capture)
|
|
> assert cli.supervise(args) == 1
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1238:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:1744: in supervise
|
|
policy = storage_policy_check(args, b)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
____________ test_storage_policy_historical_v2_is_not_reinterpreted ____________
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_historical0')
|
|
|
|
def test_storage_policy_historical_v2_is_not_reinterpreted(tmp_path):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
policy['format'] = 'skillfactory.output-storage-policy.v2'
|
|
del policy['shared_native_paths'], policy['task_owned_cache_paths']
|
|
policy['coverage_gaps'] = list(cli.NATIVE_GAPS[:-1])
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1341:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
___ test_storage_policy_paths_are_exact_writer_paths[omission-native_paths] ____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_0')
|
|
change = 'omission', field = 'native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[omission-shared_native_paths] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_1')
|
|
change = 'omission', field = 'shared_native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[omission-task_owned_cache_paths] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_2')
|
|
change = 'omission', field = 'task_owned_cache_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[omission-free_space_paths] __
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_3')
|
|
change = 'omission', field = 'free_space_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
___ test_storage_policy_paths_are_exact_writer_paths[addition-native_paths] ____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_4')
|
|
change = 'addition', field = 'native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[addition-shared_native_paths] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_5')
|
|
change = 'addition', field = 'shared_native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[addition-task_owned_cache_paths] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_6')
|
|
change = 'addition', field = 'task_owned_cache_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[addition-free_space_paths] __
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_7')
|
|
change = 'addition', field = 'free_space_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_____ test_storage_policy_paths_are_exact_writer_paths[alias-native_paths] _____
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_8')
|
|
change = 'alias', field = 'native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[alias-shared_native_paths] __
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_9')
|
|
change = 'alias', field = 'shared_native_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_ test_storage_policy_paths_are_exact_writer_paths[alias-task_owned_cache_paths] _
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_10')
|
|
change = 'alias', field = 'task_owned_cache_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
___ test_storage_policy_paths_are_exact_writer_paths[alias-free_space_paths] ___
|
|
|
|
tmp_path = PosixPath('/tmp/pytest-of-cen/pytest-258/test_storage_policy_paths_are_11')
|
|
change = 'alias', field = 'free_space_paths'
|
|
|
|
@pytest.mark.parametrize('field', ['native_paths', 'shared_native_paths', 'task_owned_cache_paths', 'free_space_paths'])
|
|
@pytest.mark.parametrize('change', ['omission', 'addition', 'alias'])
|
|
def test_storage_policy_paths_are_exact_writer_paths(tmp_path, change, field):
|
|
args, _, policy = trusted_inputs(tmp_path)
|
|
if change == 'omission':
|
|
policy[field].pop()
|
|
elif change == 'addition':
|
|
policy[field].append('/tmp/arbitrary-external-cache')
|
|
else:
|
|
policy[field][0] += '/../alias'
|
|
args.storage_policy.write_bytes(b.encode(policy))
|
|
args.trusted_storage_policy_sha256 = b.digest(args.storage_policy)
|
|
with pytest.raises(RuntimeError, match='storage_policy_identity_or_conditions_mismatch'):
|
|
> cli.storage_policy_check(args, b)
|
|
|
|
tests/test_contact_cycle_sim_evaluation_runner.py:1357:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
scripts/evaluate_cycle_sim_residual.py:365: in storage_policy_check
|
|
read_trusted(ROOT / STORAGE_APPROVAL, STORAGE_APPROVAL_SHA256)
|
|
scripts/evaluate_cycle_sim_residual.py:231: in read_trusted
|
|
payload = Path(path).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/evaluation_runner_recovery_v1/USER_STORAGE_SCOPE_AMENDMENT.md'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
_________ test_manifest_explicit_additive_identity_and_immutable_base __________
|
|
|
|
def test_manifest_explicit_additive_identity_and_immutable_base():
|
|
> manifest = p.make_manifest(ROOT, ROOT / p.CONFIG_PATH)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
tests/test_contact_cycle_sim_rootxy_v2.py:118:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
source/SkillFactory/SkillFactory/legs/contact_cycle_sim/rootxy_training_v2.py:121: in make_manifest
|
|
"sha256": hashlib.sha256(parity_path.read_bytes()).hexdigest()},
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1050: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/pathlib.py:1044: FileNotFoundError
|
|
________ test_actual_frozen_saved46d_actor_parity_fresh_critic_Adam_RNG ________
|
|
|
|
def test_actual_frozen_saved46d_actor_parity_fresh_critic_Adam_RNG():
|
|
> trace = torch.load(ROOT / Path(p.replay.CANDIDATE).parent / 'validation_u0256_trace.pt',
|
|
map_location='cpu', weights_only=True)
|
|
|
|
tests/test_contact_cycle_sim_rootxy_v2.py:130:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:1479: in load
|
|
with _open_file_like(f, "rb") as opened_file:
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:759: in _open_file_like
|
|
return _open_file(name_or_buffer, mode)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = <torch.serialization._open_file object at 0x78fb1f51d750>
|
|
name = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt')
|
|
mode = 'rb'
|
|
|
|
def __init__(self, name: Union[str, os.PathLike[str]], mode: str) -> None:
|
|
> super().__init__(open(name, mode))
|
|
^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:740: FileNotFoundError
|
|
_ test_full_saved_episode_streaming_metrics_match_direct_reduction_and_compact_audit _
|
|
|
|
def test_full_saved_episode_streaming_metrics_match_direct_reduction_and_compact_audit():
|
|
# Retrospective tensor reduction only: no policy call or simulator step.
|
|
> trace = torch.load(ROOT / Path(p.replay.CANDIDATE).parent / 'validation_u0256_trace.pt',
|
|
map_location='cpu', weights_only=True)
|
|
|
|
tests/test_contact_cycle_sim_rootxy_v2.py:310:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:1479: in load
|
|
with _open_file_like(f, "rb") as opened_file:
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:759: in _open_file_like
|
|
return _open_file(name_or_buffer, mode)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = <torch.serialization._open_file object at 0x78fb1dd741d0>
|
|
name = PosixPath('/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt')
|
|
mode = 'rb'
|
|
|
|
def __init__(self, name: Union[str, os.PathLike[str]], mode: str) -> None:
|
|
> super().__init__(open(name, mode))
|
|
^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cen/Embodied_Workspace/Isaac_Projects/SkillFactory/performance_v042/deliveries/go2_fl_contact_cycle_sim-0.4.2/logs/contact_cycle/sim_residual_training_v1/prepared01/validation_u0256_trace.pt'
|
|
|
|
/home/cen/miniconda3/envs/linker_sim_isaac/lib/python3.11/site-packages/torch/serialization.py:740: FileNotFoundError
|
|
=========================== short test summary info ============================
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_only_trusts_bound_facts_not_capacity[native_hard_cap-True]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_only_trusts_bound_facts_not_capacity[scope-monitored_only]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_only_trusts_bound_facts_not_capacity[boot_id-old]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_only_trusts_bound_facts_not_capacity[not_after_boottime-0]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_only_trusts_bound_facts_not_capacity[mount_identity-other]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_failed_popen_is_charged_and_not_retryable
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_supervisor_three_fresh_processes_bound_logs_and_P2_review
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[approval_sha256-0000000000000000000000000000000000000000000000000000000000000000]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[check_interval_seconds-2]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[coverage_gaps-value2]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[native_paths-value3]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[shared_native_paths-value4]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[task_owned_cache_paths-value5]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[format-skillfactory.output-storage-policy.v2]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[format-skillfactory.output-storage-policy.v3]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[free_space_paths-value8]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[free_space_mount_identities-value9]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[min_free_bytes-0]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_requires_explicit_approved_monitoring[max_native_growth_bytes-0]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_supervise_captures_failed_handshake_through_cleanup[False]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_supervise_captures_failed_handshake_through_cleanup[True]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_supervise_setup_failure_terminates_reaps_and_closes_pipes[capture]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_supervise_setup_failure_terminates_reaps_and_closes_pipes[attach]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_historical_v2_is_not_reinterpreted
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[omission-native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[omission-shared_native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[omission-task_owned_cache_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[omission-free_space_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[addition-native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[addition-shared_native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[addition-task_owned_cache_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[addition-free_space_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[alias-native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[alias-shared_native_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[alias-task_owned_cache_paths]
|
|
FAILED tests/test_contact_cycle_sim_evaluation_runner.py::test_storage_policy_paths_are_exact_writer_paths[alias-free_space_paths]
|
|
FAILED tests/test_contact_cycle_sim_rootxy_v2.py::test_manifest_explicit_additive_identity_and_immutable_base
|
|
FAILED tests/test_contact_cycle_sim_rootxy_v2.py::test_actual_frozen_saved46d_actor_parity_fresh_critic_Adam_RNG
|
|
FAILED tests/test_contact_cycle_sim_rootxy_v2.py::test_full_saved_episode_streaming_metrics_match_direct_reduction_and_compact_audit
|
|
39 failed, 1517 passed, 7 skipped in 117.64s (0:01:57)
|