From 8e2127ab68f595809b6a0fd2383620269c7d1e87 Mon Sep 17 00:00:00 2001 From: CleverThis Date: Fri, 1 May 2026 18:24:09 +0000 Subject: [PATCH] ci: remove CI test artifacts and update .gitignore for PR #8256 - Removed test_reports/summary.txt and test_reports/test_results.json - Added test_reports/ to .gitignore to prevent future commits of CI artifacts Refs: #8256 --- .gitignore | 6 ++ test_reports/summary.txt | 87 -------------------- test_reports/test_results.json | 146 --------------------------------- 3 files changed, 6 insertions(+), 233 deletions(-) delete mode 100644 test_reports/summary.txt delete mode 100644 test_reports/test_results.json diff --git a/.gitignore b/.gitignore index 4f40d20e2..60d59e106 100644 --- a/.gitignore +++ b/.gitignore @@ -180,3 +180,9 @@ output.xml report.html .agent-orchestration agents-test + +# Test reports directory +test_reports/ + +# Test reports directory - CI build artifacts +test_reports/ diff --git a/test_reports/summary.txt b/test_reports/summary.txt deleted file mode 100644 index 0bba941e4..000000000 --- a/test_reports/summary.txt +++ /dev/null @@ -1,87 +0,0 @@ -Test Framework: generic -Total Tests: 10 -Passed: 2 -Failed: 8 - ---- Test Results --- -✗ Error Block -✗ Output Block 2 -✗ Output Block 3 -✓ Output Block 4 -✗ Output Block 5 -✗ Output Block 6 -✗ Output Block 7 -✗ Output Block 8 -✓ nox > Running session unit_tests-3.13 -✗ Error Output - ---- Failed Tests --- -✗ Error Block - 2026-04-13 06:19:25 [debug ] detail_level_map_builder.created child_domain=uko-oo: parent_domain=uko-code: - 2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=MEMBER_LISTING domain=uko-oo: new_level=CLASS_HIERARCHY - 2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=SIGNATURES_WITH_DOCS domain=uko-oo: new_level=VISIBILITY_ANNOTATED - 2026-04-13 06:19:25 [debug ] detail_level_map_builder.built domain=uko-oo: max_depth=11 num_levels=12 - @mock_only - Feature: A2aEventQueue thread-safety (issue #7604) - As a CleverAgents developer - I want A2aEventQueue to be safe for concurrent use from multiple threads - So that publish/subscribe/unsubscribe operations never raise - RuntimeError: dictionary changed size during iteration - Scenario: Concurrent publish and subscribe_local do not raise RuntimeError - Given a2aconcur a fresh A2aEventQueue - When a2aconcur I run concurrent publish and subscribe_local from multiple threads - Then a2aconcur no RuntimeError should have been raised - And a2aconcur all published events should be in the queue - -✗ Output Block 2 - Scenario: Concurrent publish and unsubscribe do not raise RuntimeError - Given a2aconcur a fresh A2aEventQueue with subscribers - When a2aconcur I run concurrent publish and unsubscribe from multiple threads - Then a2aconcur no RuntimeError should have been raised - -✗ Output Block 3 - Scenario: Concurrent subscribe_local and unsubscribe do not raise RuntimeError - Given a2aconcur a fresh A2aEventQueue - When a2aconcur I run concurrent subscribe_local and unsubscribe from multiple threads - Then a2aconcur no RuntimeError should have been raised - -✗ Output Block 5 - Scenario: Unsubscribing inside a callback does not affect the current publish iteration - Given a2aconcur a fresh A2aEventQueue - And a2aconcur a subscriber that unsubscribes itself during the callback - When a2aconcur I publish a valid A2aEvent - Then a2aconcur no RuntimeError should have been raised - And a2aconcur the event should be in the queue - -✗ Output Block 6 - Scenario: Concurrent publish and get_events do not raise RuntimeError - Given a2aconcur a fresh A2aEventQueue - When a2aconcur I run concurrent publish and get_events from multiple threads - Then a2aconcur no RuntimeError should have been raised - -✗ Output Block 7 - 1 feature passed, 0 failed, 0 skipped - 6 scenarios passed, 0 failed, 0 skipped - 20 steps passed, 0 failed, 0 skipped - Took 0min 0.034s - -✗ Output Block 8 - Overall summary: - 1 features passed, 0 failed, 0 errored, 0 skipped - 6 scenarios passed, 0 failed, 0 errored, 0 skipped - 20 steps passed, 0 failed, 0 errored, 0 skipped - Took 0.034s - Wall time: 2m 7.653s - -✗ Error Output - nox > Running session unit_tests-3.13 - nox > Reusing existing virtual environment at .nox/unit_tests-3-13. - nox > uv pip install -e '.[tests]' - nox > uv pip install setuptools wheel - nox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess - nox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db - nox > python -m compileall -q features/ - nox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1 - nox > Session unit_tests-3.13 was successful in 2 minutes. - - diff --git a/test_reports/test_results.json b/test_reports/test_results.json deleted file mode 100644 index e4a991412..000000000 --- a/test_reports/test_results.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "framework": "generic", - "tests": [ - { - "name": "Error Block", - "passed": false, - "output": [ - "2026-04-13 06:19:25 [debug ] detail_level_map_builder.created child_domain=uko-oo: parent_domain=uko-code:", - "2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=MEMBER_LISTING domain=uko-oo: new_level=CLASS_HIERARCHY", - "2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=SIGNATURES_WITH_DOCS domain=uko-oo: new_level=VISIBILITY_ANNOTATED", - "2026-04-13 06:19:25 [debug ] detail_level_map_builder.built domain=uko-oo: max_depth=11 num_levels=12", - "@mock_only", - "Feature: A2aEventQueue thread-safety (issue #7604)", - " As a CleverAgents developer", - " I want A2aEventQueue to be safe for concurrent use from multiple threads", - " So that publish/subscribe/unsubscribe operations never raise", - " RuntimeError: dictionary changed size during iteration", - " Scenario: Concurrent publish and subscribe_local do not raise RuntimeError ", - " Given a2aconcur a fresh A2aEventQueue", - " When a2aconcur I run concurrent publish and subscribe_local from multiple threads", - " Then a2aconcur no RuntimeError should have been raised", - " And a2aconcur all published events should be in the queue" - ], - "rawOutput": "2026-04-13 06:19:25 [debug ] detail_level_map_builder.created child_domain=uko-oo: parent_domain=uko-code:\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=MEMBER_LISTING domain=uko-oo: new_level=CLASS_HIERARCHY\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=SIGNATURES_WITH_DOCS domain=uko-oo: new_level=VISIBILITY_ANNOTATED\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.built domain=uko-oo: max_depth=11 num_levels=12\n@mock_only\nFeature: A2aEventQueue thread-safety (issue #7604)\n As a CleverAgents developer\n I want A2aEventQueue to be safe for concurrent use from multiple threads\n So that publish/subscribe/unsubscribe operations never raise\n RuntimeError: dictionary changed size during iteration\n Scenario: Concurrent publish and subscribe_local do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent publish and subscribe_local from multiple threads\n Then a2aconcur no RuntimeError should have been raised\n And a2aconcur all published events should be in the queue" - }, - { - "name": "Output Block 2", - "passed": false, - "output": [ - " Scenario: Concurrent publish and unsubscribe do not raise RuntimeError ", - " Given a2aconcur a fresh A2aEventQueue with subscribers", - " When a2aconcur I run concurrent publish and unsubscribe from multiple threads", - " Then a2aconcur no RuntimeError should have been raised" - ], - "rawOutput": " Scenario: Concurrent publish and unsubscribe do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue with subscribers\n When a2aconcur I run concurrent publish and unsubscribe from multiple threads\n Then a2aconcur no RuntimeError should have been raised" - }, - { - "name": "Output Block 3", - "passed": false, - "output": [ - " Scenario: Concurrent subscribe_local and unsubscribe do not raise RuntimeError ", - " Given a2aconcur a fresh A2aEventQueue", - " When a2aconcur I run concurrent subscribe_local and unsubscribe from multiple threads", - " Then a2aconcur no RuntimeError should have been raised" - ], - "rawOutput": " Scenario: Concurrent subscribe_local and unsubscribe do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent subscribe_local and unsubscribe from multiple threads\n Then a2aconcur no RuntimeError should have been raised" - }, - { - "name": "Output Block 4", - "passed": true, - "output": [ - " Scenario: A2aEventQueue has a threading.Lock after construction ", - " Given a2aconcur a fresh A2aEventQueue", - " Then a2aconcur the queue should have a threading Lock attribute" - ], - "rawOutput": " Scenario: A2aEventQueue has a threading.Lock after construction \n Given a2aconcur a fresh A2aEventQueue\n Then a2aconcur the queue should have a threading Lock attribute" - }, - { - "name": "Output Block 5", - "passed": false, - "output": [ - " Scenario: Unsubscribing inside a callback does not affect the current publish iteration ", - " Given a2aconcur a fresh A2aEventQueue", - " And a2aconcur a subscriber that unsubscribes itself during the callback", - " When a2aconcur I publish a valid A2aEvent", - " Then a2aconcur no RuntimeError should have been raised", - " And a2aconcur the event should be in the queue" - ], - "rawOutput": " Scenario: Unsubscribing inside a callback does not affect the current publish iteration \n Given a2aconcur a fresh A2aEventQueue\n And a2aconcur a subscriber that unsubscribes itself during the callback\n When a2aconcur I publish a valid A2aEvent\n Then a2aconcur no RuntimeError should have been raised\n And a2aconcur the event should be in the queue" - }, - { - "name": "Output Block 6", - "passed": false, - "output": [ - " Scenario: Concurrent publish and get_events do not raise RuntimeError ", - " Given a2aconcur a fresh A2aEventQueue", - " When a2aconcur I run concurrent publish and get_events from multiple threads", - " Then a2aconcur no RuntimeError should have been raised" - ], - "rawOutput": " Scenario: Concurrent publish and get_events do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent publish and get_events from multiple threads\n Then a2aconcur no RuntimeError should have been raised" - }, - { - "name": "Output Block 7", - "passed": false, - "output": [ - "1 feature passed, 0 failed, 0 skipped", - "6 scenarios passed, 0 failed, 0 skipped", - "20 steps passed, 0 failed, 0 skipped", - "Took 0min 0.034s" - ], - "rawOutput": "1 feature passed, 0 failed, 0 skipped\n6 scenarios passed, 0 failed, 0 skipped\n20 steps passed, 0 failed, 0 skipped\nTook 0min 0.034s" - }, - { - "name": "Output Block 8", - "passed": false, - "output": [ - "Overall summary:", - "1 features passed, 0 failed, 0 errored, 0 skipped", - "6 scenarios passed, 0 failed, 0 errored, 0 skipped", - "20 steps passed, 0 failed, 0 errored, 0 skipped", - "Took 0.034s", - "Wall time: 2m 7.653s" - ], - "rawOutput": "Overall summary:\n1 features passed, 0 failed, 0 errored, 0 skipped\n6 scenarios passed, 0 failed, 0 errored, 0 skipped\n20 steps passed, 0 failed, 0 errored, 0 skipped\nTook 0.034s\nWall time: 2m 7.653s" - }, - { - "name": "nox > Running session unit_tests-3.13", - "passed": true, - "output": [ - "nox > Running session unit_tests-3.13", - "nox > Reusing existing virtual environment at .nox/unit_tests-3-13.", - "nox > uv pip install -e '.[tests]'", - "nox > uv pip install setuptools wheel", - "nox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess", - "nox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db", - "nox > python -m compileall -q features/", - "nox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1", - "nox > Session unit_tests-3.13 was successful in 2 minutes." - ], - "rawOutput": "nox > Running session unit_tests-3.13\nnox > Reusing existing virtual environment at .nox/unit_tests-3-13.\nnox > uv pip install -e '.[tests]'\nnox > uv pip install setuptools wheel\nnox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess\nnox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db\nnox > python -m compileall -q features/\nnox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1\nnox > Session unit_tests-3.13 was successful in 2 minutes." - }, - { - "name": "Error Output", - "passed": false, - "output": [ - "nox > Running session unit_tests-3.13", - "nox > Reusing existing virtual environment at .nox/unit_tests-3-13.", - "nox > uv pip install -e '.[tests]'", - "nox > uv pip install setuptools wheel", - "nox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess", - "nox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db", - "nox > python -m compileall -q features/", - "nox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1", - "nox > Session unit_tests-3.13 was successful in 2 minutes.", - "" - ], - "rawOutput": "nox > Running session unit_tests-3.13\nnox > Reusing existing virtual environment at .nox/unit_tests-3-13.\nnox > uv pip install -e '.[tests]'\nnox > uv pip install setuptools wheel\nnox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess\nnox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db\nnox > python -m compileall -q features/\nnox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1\nnox > Session unit_tests-3.13 was successful in 2 minutes.\n" - } - ], - "summary": { - "total": 10, - "passed": 2, - "failed": 8 - }, - "rawOutput": "2026-04-13 06:19:25 [debug ] detail_level_map_builder.created child_domain=uko-oo: parent_domain=uko-code:\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=MEMBER_LISTING domain=uko-oo: new_level=CLASS_HIERARCHY\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.insert_after after_level=SIGNATURES_WITH_DOCS domain=uko-oo: new_level=VISIBILITY_ANNOTATED\n2026-04-13 06:19:25 [debug ] detail_level_map_builder.built domain=uko-oo: max_depth=11 num_levels=12\n@mock_only\nFeature: A2aEventQueue thread-safety (issue #7604)\n As a CleverAgents developer\n I want A2aEventQueue to be safe for concurrent use from multiple threads\n So that publish/subscribe/unsubscribe operations never raise\n RuntimeError: dictionary changed size during iteration\n Scenario: Concurrent publish and subscribe_local do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent publish and subscribe_local from multiple threads\n Then a2aconcur no RuntimeError should have been raised\n And a2aconcur all published events should be in the queue\n\n Scenario: Concurrent publish and unsubscribe do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue with subscribers\n When a2aconcur I run concurrent publish and unsubscribe from multiple threads\n Then a2aconcur no RuntimeError should have been raised\n\n Scenario: Concurrent subscribe_local and unsubscribe do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent subscribe_local and unsubscribe from multiple threads\n Then a2aconcur no RuntimeError should have been raised\n\n Scenario: A2aEventQueue has a threading.Lock after construction \n Given a2aconcur a fresh A2aEventQueue\n Then a2aconcur the queue should have a threading Lock attribute\n\n Scenario: Unsubscribing inside a callback does not affect the current publish iteration \n Given a2aconcur a fresh A2aEventQueue\n And a2aconcur a subscriber that unsubscribes itself during the callback\n When a2aconcur I publish a valid A2aEvent\n Then a2aconcur no RuntimeError should have been raised\n And a2aconcur the event should be in the queue\n\n Scenario: Concurrent publish and get_events do not raise RuntimeError \n Given a2aconcur a fresh A2aEventQueue\n When a2aconcur I run concurrent publish and get_events from multiple threads\n Then a2aconcur no RuntimeError should have been raised\n\n1 feature passed, 0 failed, 0 skipped\n6 scenarios passed, 0 failed, 0 skipped\n20 steps passed, 0 failed, 0 skipped\nTook 0min 0.034s\n\nOverall summary:\n1 features passed, 0 failed, 0 errored, 0 skipped\n6 scenarios passed, 0 failed, 0 errored, 0 skipped\n20 steps passed, 0 failed, 0 errored, 0 skipped\nTook 0.034s\nWall time: 2m 7.653s\n\nnox > Running session unit_tests-3.13\nnox > Reusing existing virtual environment at .nox/unit_tests-3-13.\nnox > uv pip install -e '.[tests]'\nnox > uv pip install setuptools wheel\nnox > uv pip install .nox/unit_tests-3-13/tmp/behave-parallel-inprocess\nnox > python scripts/create_template_db.py /tmp/impl-worker-7604-1776035000/cleveragents-core/build/.template-migrated.db\nnox > python -m compileall -q features/\nnox > /tmp/impl-worker-7604-1776035000/cleveragents-core/.nox/unit_tests-3-13/bin/behave-parallel -q features/a2a_event_queue_concurrency.feature --processes 1\nnox > Session unit_tests-3.13 was successful in 2 minutes." -} \ No newline at end of file