From bbd06d2fdde447c06ff608fec6e2e260f2bea1f2 Mon Sep 17 00:00:00 2001 From: CoreRasurae Date: Wed, 18 Feb 2026 09:57:37 +0000 Subject: [PATCH] test(robot): Fix failing integration tests due to multiple STDOUT file overwrites --- robot/actor_configuration.robot | 2 +- robot/changeset_capture.robot | 3 --- robot/ci_nox_validation.robot | 4 ++-- robot/plan_lifecycle_persistence.robot | 2 +- robot/plan_repository.robot | 2 +- robot/uow_lifecycle.robot | 2 +- 6 files changed, 6 insertions(+), 9 deletions(-) diff --git a/robot/actor_configuration.robot b/robot/actor_configuration.robot index bb1235dd6..8fa6b50bf 100644 --- a/robot/actor_configuration.robot +++ b/robot/actor_configuration.robot @@ -31,7 +31,7 @@ V2 Actor Config Produces Provider And Graph Descriptor ... ${SPACE*4}publications: ... ${SPACE*6}- __output__ Create File ${config} ${content} - ${result}= Run Process ${PYTHON} robot/helper_actor_config.py ${config} stdout=PIPE stderr=PIPE + ${result}= Run Process ${PYTHON} robot/helper_actor_config.py ${config} Should Be Equal As Integers ${result.rc} 0 ${payload}= Evaluate __import__('json').loads('''${result.stdout.strip()}''') Should Be Equal ${payload['provider']} openai diff --git a/robot/changeset_capture.robot b/robot/changeset_capture.robot index ddb1c9496..ccb808124 100644 --- a/robot/changeset_capture.robot +++ b/robot/changeset_capture.robot @@ -13,7 +13,6 @@ File Write Produces ChangeSet Entry ... verify the resulting ChangeSet contains the entry. ${result}= Run Process ${PYTHON} -c ... ${CHANGESET_SCRIPT} - ... stdout=PIPE stderr=PIPE Log ${result.stdout} Log ${result.stderr} Should Be Equal As Integers ${result.rc} 0 @@ -24,7 +23,6 @@ ChangeSet Summary Counts Match [Documentation] Verify summary counts after multiple operations. ${result}= Run Process ${PYTHON} -c ... ${SUMMARY_SCRIPT} - ... stdout=PIPE stderr=PIPE Log ${result.stdout} Log ${result.stderr} Should Be Equal As Integers ${result.rc} 0 @@ -36,7 +34,6 @@ InMemoryChangeSetStore Round Trip [Documentation] Verify start/record/get via InMemoryChangeSetStore. ${result}= Run Process ${PYTHON} -c ... ${STORE_SCRIPT} - ... stdout=PIPE stderr=PIPE Log ${result.stdout} Log ${result.stderr} Should Be Equal As Integers ${result.rc} 0 diff --git a/robot/ci_nox_validation.robot b/robot/ci_nox_validation.robot index d4918d5b2..4017f4ff2 100644 --- a/robot/ci_nox_validation.robot +++ b/robot/ci_nox_validation.robot @@ -7,7 +7,7 @@ Library OperatingSystem Nox Lists All Required Sessions [Documentation] Verify that nox can list sessions and the required CI sessions are present [Tags] ci quality slow - ${result}= Run Process nox --list stdout=PIPE stderr=PIPE + ${result}= Run Process nox --list Should Be Equal As Integers ${result.rc} 0 msg=nox --list failed with: ${result.stderr} # Verify required sessions exist in nox output Should Contain ${result.stdout} lint @@ -28,5 +28,5 @@ CI Workflow File Exists Nox Lint Session Runs Successfully [Documentation] Verify that nox lint session can be invoked [Tags] ci quality slow - ${result}= Run Process nox -s lint stdout=PIPE stderr=PIPE timeout=120s + ${result}= Run Process nox -s lint timeout=120s Should Be Equal As Integers ${result.rc} 0 msg=nox -s lint failed: ${result.stderr} diff --git a/robot/plan_lifecycle_persistence.robot b/robot/plan_lifecycle_persistence.robot index ff52376d7..3ac4f8703 100644 --- a/robot/plan_lifecycle_persistence.robot +++ b/robot/plan_lifecycle_persistence.robot @@ -11,7 +11,7 @@ ${PYTHON} python Plan Lifecycle Persistence Via Helper Script [Documentation] Create action + plan, verify persistence through transitions ${result}= Run Process ${PYTHON} ${CURDIR}/helper_plan_lifecycle_persistence.py - ... stdout=STDOUT stderr=STDOUT timeout=30s + ... stderr=STDOUT timeout=30s Log ${result.stdout} Should Contain ${result.stdout} PASS: plan_lifecycle_persistence smoke test Should Be Equal As Integers ${result.rc} 0 diff --git a/robot/plan_repository.robot b/robot/plan_repository.robot index 1ed0fc846..f6ea572a3 100644 --- a/robot/plan_repository.robot +++ b/robot/plan_repository.robot @@ -11,7 +11,7 @@ ${PYTHON} python Plan Repository CRUD Via Helper Script [Documentation] Create, retrieve, list, count, and delete a plan via LifecyclePlanRepository ${result}= Run Process ${PYTHON} ${CURDIR}/helper_plan_repository.py - ... stdout=STDOUT stderr=STDOUT timeout=30s + ... stderr=STDOUT timeout=30s Log ${result.stdout} Should Contain ${result.stdout} PASS: plan_repository smoke test Should Be Equal As Integers ${result.rc} 0 diff --git a/robot/uow_lifecycle.robot b/robot/uow_lifecycle.robot index 08e02ec59..57acd1690 100644 --- a/robot/uow_lifecycle.robot +++ b/robot/uow_lifecycle.robot @@ -11,7 +11,7 @@ ${PYTHON} python UoW Lifecycle Action And Plan Via Helper Script [Documentation] Create action + plan via UoW, verify retrieval in new session ${result}= Run Process ${PYTHON} ${CURDIR}/helper_uow_lifecycle.py - ... stdout=STDOUT stderr=STDOUT timeout=30s + ... stderr=STDOUT timeout=30s Log ${result.stdout} Should Contain ${result.stdout} PASS: uow_lifecycle smoke test Should Be Equal As Integers ${result.rc} 0