FFFFF                                                                    [100%]
=================================== FAILURES ===================================
_________ IntegrationTests.test_web_fight_shared_pose_and_crowd_switch _________

self = <test_fight_crowd_integration.IntegrationTests testMethod=test_web_fight_shared_pose_and_crowd_switch>

    def test_web_fight_shared_pose_and_crowd_switch(self):
        m=FakeManager();service=ControlService(m,'server',spec())
        s=service.start_camera(Start(json.dumps(request('FIGHT','FALL','INTRUSION','LOITERING'))))
        self.assertEqual(execution_plan(s)['model'],POSE_MODEL)
        self.assertFalse(s['secure_control_projection']['skippedScenarios'])
        m=FakeManager(s);service=ControlService(m,'server',spec())
        crowd=service.start_camera(Start(json.dumps(request('CROWD','FIGHT'))))
        planned=plan(crowd)
        self.assertEqual(planned.person_owner,'pose')
>       self.assertEqual([p.key for p in planned.providers],['pose','crowd'])
E       AssertionError: Lists differ: ['pose'] != ['pose', 'crowd']
E       
E       Second list contains 1 additional elements.
E       First extra element 1:
E       'crowd'
E       
E       - ['pose']
E       + ['pose', 'crowd']

/tmp/baseline/tests/test_fight_crowd_integration.py:48: AssertionError
_______ test_artifact_attempt_owner_unchanged_and_only_one_delivery_path _______

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7acefde87a40>

    def test_artifact_attempt_owner_unchanged_and_only_one_delivery_path(monkeypatch):
>       module=artifact_module(monkeypatch)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/tmp/baseline/tests/test_secure_bridge.py:485: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/tmp/baseline/tests/test_secure_bridge.py:480: in artifact_module
    module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module)
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
/tmp/baseline/app/event_artifact_service.py:18: in <module>
    from app.artifact_completion import ArtifactCompletion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """CLAIM-01~03: retry known DB outcomes, never repeat rendering or HTTP."""
    from collections import Counter
    from copy import deepcopy
    import hashlib
    import json
    import os
    from pathlib import Path
    import threading
    import time
    import uuid
    
>   from app.event_artifact_store import StaleArtifactClaim
E   ImportError: cannot import name 'StaleArtifactClaim' from 'app.event_artifact_store' (unknown location)

/tmp/baseline/app/artifact_completion.py:12: ImportError
________________ test_artifact_blocked_time_never_invokes_relay ________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7acf04dc5c70>

    def test_artifact_blocked_time_never_invokes_relay(monkeypatch):
>       module=artifact_module(monkeypatch)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/tmp/baseline/tests/test_secure_bridge.py:504: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/tmp/baseline/tests/test_secure_bridge.py:480: in artifact_module
    module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module)
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
/tmp/baseline/app/event_artifact_service.py:18: in <module>
    from app.artifact_completion import ArtifactCompletion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """CLAIM-01~03: retry known DB outcomes, never repeat rendering or HTTP."""
    from collections import Counter
    from copy import deepcopy
    import hashlib
    import json
    import os
    from pathlib import Path
    import threading
    import time
    import uuid
    
>   from app.event_artifact_store import StaleArtifactClaim
E   ImportError: cannot import name 'StaleArtifactClaim' from 'app.event_artifact_store' (unknown location)

/tmp/baseline/app/artifact_completion.py:12: ImportError
_________ test_artifact_http_only_does_not_initialize_relay_or_ledger __________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7acf04df80e0>
tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_artifact_http_only_does_n0')

    def test_artifact_http_only_does_not_initialize_relay_or_ledger(monkeypatch,tmp_path):
>       module=artifact_module(monkeypatch)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/tmp/baseline/tests/test_secure_bridge.py:512: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/tmp/baseline/tests/test_secure_bridge.py:480: in artifact_module
    module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module)
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
/tmp/baseline/app/event_artifact_service.py:18: in <module>
    from app.artifact_completion import ArtifactCompletion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """CLAIM-01~03: retry known DB outcomes, never repeat rendering or HTTP."""
    from collections import Counter
    from copy import deepcopy
    import hashlib
    import json
    import os
    from pathlib import Path
    import threading
    import time
    import uuid
    
>   from app.event_artifact_store import StaleArtifactClaim
E   ImportError: cannot import name 'StaleArtifactClaim' from 'app.event_artifact_store' (unknown location)

/tmp/baseline/app/artifact_completion.py:12: ImportError
____________________ test_existing_post_response_validation ____________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7acefde876b0>

    def test_existing_post_response_validation(monkeypatch):
>       module=artifact_module(monkeypatch)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/tmp/baseline/tests/test_secure_bridge.py:529: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/tmp/baseline/tests/test_secure_bridge.py:480: in artifact_module
    module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module)
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
/tmp/baseline/app/event_artifact_service.py:18: in <module>
    from app.artifact_completion import ArtifactCompletion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """CLAIM-01~03: retry known DB outcomes, never repeat rendering or HTTP."""
    from collections import Counter
    from copy import deepcopy
    import hashlib
    import json
    import os
    from pathlib import Path
    import threading
    import time
    import uuid
    
>   from app.event_artifact_store import StaleArtifactClaim
E   ImportError: cannot import name 'StaleArtifactClaim' from 'app.event_artifact_store' (unknown location)

/tmp/baseline/app/artifact_completion.py:12: ImportError
=========================== short test summary info ============================
FAILED ../../tmp/baseline/tests/test_fight_crowd_integration.py::IntegrationTests::test_web_fight_shared_pose_and_crowd_switch
FAILED ../../tmp/baseline/tests/test_secure_bridge.py::test_artifact_attempt_owner_unchanged_and_only_one_delivery_path
FAILED ../../tmp/baseline/tests/test_secure_bridge.py::test_artifact_blocked_time_never_invokes_relay
FAILED ../../tmp/baseline/tests/test_secure_bridge.py::test_artifact_http_only_does_not_initialize_relay_or_ledger
FAILED ../../tmp/baseline/tests/test_secure_bridge.py::test_existing_post_response_validation
5 failed in 0.44s
BASELINE_FAILURES 5 0
