Setting up test environment
Setting up test environment
Logs the given message with the given level.
${safe_suite} = Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning
${safe_suite}
${SUITE NAME}
${SPACE}
_
Replaces ``search_for`` in the given ``string`` with ``replace_with``.
${home} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning
${home}
${TEMPDIR}${/}.cleveragents_${safe_suite}
Returns the given values which can then be assigned to a variables.
Directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning</a>' does not exist.
${home}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${home}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Created directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning</a>'.
${home}
Creates the specified directory.
Environment variable 'CLEVERAGENTS_HOME' set to value '/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning'.
CLEVERAGENTS_HOME
${home}
Sets an environment variable to a specified value.
${SUITE_HOME} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning
${SUITE_HOME}
${home}
Makes a variable available everywhere within the scope of the current suite.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' set to value 'true'.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Sets an environment variable to a specified value.
${auto_apply_migrations}
Set Environment Variable
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Runs the given keyword with the given arguments, if ``condition`` is true.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' set to value 'true'.
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Sets an environment variable to a specified value.
${mock_ai}
Set Environment Variable
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Runs the given keyword with the given arguments, if ``condition`` is true.
${python_exec} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${python_exec}
sys.executable
sys
Evaluates the given expression in Python and returns the result.
${PYTHON} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${PYTHON}
${python_exec}
Makes a variable available everywhere within the scope of the current suite.
Setup common test environment with per-suite isolation.
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py spawn-decision-realisation
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
spawn-decision-realisation
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
spawn-decision-realisation-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify subplan_spawn decision triggers SubplanService.spawn
and SubplanExecutionService.execute_all during Execute phase
execute
integration
plan
spawn
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py parallel-spawn-decision-realisation
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
parallel-spawn-decision-realisation
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
parallel-spawn-decision-realisation-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify subplan_parallel_spawn decision triggers parallel execution
execute
integration
parallel
plan
spawn
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py noop-no-spawn-decisions
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
noop-no-spawn-decisions
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
noop-no-spawn-decisions-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify execute phase is a no-op for subplans when no spawn decisions exist
execute
integration
noop
plan
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py noop-no-subplan-service
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
noop-no-subplan-service
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
noop-no-subplan-service-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify execute phase completes normally when SubplanService is absent
execute
integration
noop
plan
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py parent-status-tracking-failure
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
parent-status-tracking-failure
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
parent-status-tracking-failure-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify parent plan error_details records failed subplan IDs
execute
failure
integration
plan
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_plan_executor_subplan_spawning.py subplan-service-properties
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
subplan-service-properties
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
subplan-service-properties-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify PlanExecutor exposes subplan_service and subplan_execution_service properties
execute
integration
plan
properties
subplan
Cleaning up test environment
Cleaning up test environment
Logs the given message with the given level.
Removed directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Plan_Executor_Subplan_Spawning</a>'.
${SUITE_HOME}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${SUITE_HOME}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Environment variable 'CLEVERAGENTS_HOME' deleted.
CLEVERAGENTS_HOME
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' deleted.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' deleted.
CLEVERAGENTS_TESTING_USE_MOCK_AI
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_DATABASE_URL' does not exist.
CLEVERAGENTS_DATABASE_URL
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TEST_DATABASE_URL' does not exist.
CLEVERAGENTS_TEST_DATABASE_URL
Deletes the specified environment variable.
Clean up after tests.
Integration tests for PlanExecutor subplan spawning.
Verifies that subplan_spawn and subplan_parallel_spawn
decisions are realised as actual child plan executions
during the Execute phase (Forgejo #3561).
Setting up test environment
Setting up test environment
Logs the given message with the given level.
${safe_suite} = Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn
${safe_suite}
${SUITE NAME}
${SPACE}
_
Replaces ``search_for`` in the given ``string`` with ``replace_with``.
${home} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn
${home}
${TEMPDIR}${/}.cleveragents_${safe_suite}
Returns the given values which can then be assigned to a variables.
Directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn</a>' does not exist.
${home}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${home}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Created directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn</a>'.
${home}
Creates the specified directory.
Environment variable 'CLEVERAGENTS_HOME' set to value '/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn'.
CLEVERAGENTS_HOME
${home}
Sets an environment variable to a specified value.
${SUITE_HOME} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn
${SUITE_HOME}
${home}
Makes a variable available everywhere within the scope of the current suite.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' set to value 'true'.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Sets an environment variable to a specified value.
${auto_apply_migrations}
Set Environment Variable
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Runs the given keyword with the given arguments, if ``condition`` is true.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' set to value 'true'.
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Sets an environment variable to a specified value.
${mock_ai}
Set Environment Variable
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Runs the given keyword with the given arguments, if ``condition`` is true.
${python_exec} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${python_exec}
sys.executable
sys
Evaluates the given expression in Python and returns the result.
${PYTHON} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${PYTHON}
${python_exec}
Makes a variable available everywhere within the scope of the current suite.
Setup common test environment with per-suite isolation.
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py spawn-single
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
spawn-single
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
spawn-single-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify spawning a single child plan creates status and metadata
spawn
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py spawn-multiple
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
spawn-multiple
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
spawn-multiple-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify spawning multiple child plans from decision entries
multiple
spawn
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py validate-resource
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
validate-resource
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
validate-resource-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify validation rejects missing resource scopes
spawn
subplan
validation
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py validate-max-parallel
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
validate-max-parallel
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
validate-max-parallel-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify validation rejects exceeding max_parallel bounds
parallel
spawn
subplan
validation
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py metadata-persistence
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
metadata-persistence
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
metadata-persistence-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify spawn metadata contains correct plan IDs and mode
metadata
spawn
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py validation-guards
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
validation-guards
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
validation-guards-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify service rejects invalid inputs
spawn
subplan
validation
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_spawn.py build-entries
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
build-entries
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
build-entries-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify building spawn entries from decision objects
entries
spawn
subplan
Cleaning up test environment
Cleaning up test environment
Logs the given message with the given level.
Removed directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Spawn</a>'.
${SUITE_HOME}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${SUITE_HOME}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Environment variable 'CLEVERAGENTS_HOME' deleted.
CLEVERAGENTS_HOME
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' deleted.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' deleted.
CLEVERAGENTS_TESTING_USE_MOCK_AI
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_DATABASE_URL' does not exist.
CLEVERAGENTS_DATABASE_URL
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TEST_DATABASE_URL' does not exist.
CLEVERAGENTS_TEST_DATABASE_URL
Deletes the specified environment variable.
Clean up after tests.
Smoke tests for subplan spawn service, validation,
and metadata persistence.
Setting up test environment
Setting up test environment
Logs the given message with the given level.
${safe_suite} = Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution
${safe_suite}
${SUITE NAME}
${SPACE}
_
Replaces ``search_for`` in the given ``string`` with ``replace_with``.
${home} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution
${home}
${TEMPDIR}${/}.cleveragents_${safe_suite}
Returns the given values which can then be assigned to a variables.
Directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution</a>' does not exist.
${home}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${home}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Created directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution</a>'.
${home}
Creates the specified directory.
Environment variable 'CLEVERAGENTS_HOME' set to value '/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution'.
CLEVERAGENTS_HOME
${home}
Sets an environment variable to a specified value.
${SUITE_HOME} = /tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution
${SUITE_HOME}
${home}
Makes a variable available everywhere within the scope of the current suite.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' set to value 'true'.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Sets an environment variable to a specified value.
${auto_apply_migrations}
Set Environment Variable
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
true
Runs the given keyword with the given arguments, if ``condition`` is true.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' set to value 'true'.
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Sets an environment variable to a specified value.
${mock_ai}
Set Environment Variable
CLEVERAGENTS_TESTING_USE_MOCK_AI
true
Runs the given keyword with the given arguments, if ``condition`` is true.
${python_exec} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${python_exec}
sys.executable
sys
Evaluates the given expression in Python and returns the result.
${PYTHON} = /tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python
${PYTHON}
${python_exec}
Makes a variable available everywhere within the scope of the current suite.
Setup common test environment with per-suite isolation.
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py sequential-all
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
sequential-all
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
sequential-all-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify sequential mode executes all subplans in order
execution
sequential
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py sequential-failfast
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
sequential-failfast
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
sequential-failfast-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify sequential fail_fast stops after first failure
execution
failfast
sequential
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py parallel-all
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
parallel-all
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
parallel-all-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify parallel mode executes all subplans
execution
parallel
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py dep-ordered
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
dep-ordered
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
dep-ordered-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify dependency-ordered mode follows topological order
dependency
execution
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py merge-git-clean
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
merge-git-clean
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
merge-git-clean-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify git three-way merge combines non-overlapping changes
git
merge
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py merge-sequential
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
merge-sequential
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
merge-sequential-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify sequential apply merge strategy
merge
sequential
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py merge-last-wins
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
merge-last-wins
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
merge-last-wins-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify last-wins merge strategy takes final output
lastwins
merge
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py merge-fail-conflict
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
merge-fail-conflict
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
merge-fail-conflict-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify fail-on-conflict strategy raises error on conflicts
conflict
merge
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py exec-merge-integration
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
exec-merge-integration
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
exec-merge-integration-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify end-to-end execution and merge integration
execution
integration
merge
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py validation-guards
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
validation-guards
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
validation-guards-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify service rejects invalid inputs
subplan
validation
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py exec-summary
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
exec-summary
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
exec-summary-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify execution result reports correct summary
execution
subplan
summary
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py retry-non-retriable
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
retry-non-retriable
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
retry-non-retriable-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify non-retriable errors are not retried
execution
retry
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py retry-exception
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
retry-exception
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
retry-exception-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify executor exception triggers retry for retriable errors
execution
retry
subplan
Starting process:
/tmp/cleveragents-fix-m5-plan-executor-subplan-spawning/.nox/unit_tests-3-13/bin/python robot/helper_subplan_execution.py merge-conflict-exec
Waiting for process to complete.
Process completed.
${result} = <result object with rc 0>
${result}
${PYTHON}
${HELPER}
merge-conflict-exec
cwd=${WORKSPACE}
Runs a process and waits for it to complete.
Argument types are:
<class 'int'>
<class 'str'>
${result.rc}
0
Fails if objects are unequal after converting them to integers.
${result.stdout}
merge-conflict-exec-ok
Fails if ``container`` does not contain ``item`` one or more times.
Verify merge conflict during execution marks result as failed
conflict
execution
merge
subplan
Cleaning up test environment
Cleaning up test environment
Logs the given message with the given level.
Removed directory '<a href="file:///tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution">/tmp/.cleveragents_Plan_Executor_Subplan_Spawning_&_Subplan_Spawn_&_Subplan_Execution.Subplan_Execution</a>'.
${SUITE_HOME}
recursive=True
Removes the directory pointed to by the given ``path``.
Remove Directory
${SUITE_HOME}
recursive=True
Runs the given keyword with the given arguments and ignores possible error.
Environment variable 'CLEVERAGENTS_HOME' deleted.
CLEVERAGENTS_HOME
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_AUTO_APPLY_MIGRATIONS' deleted.
CLEVERAGENTS_AUTO_APPLY_MIGRATIONS
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TESTING_USE_MOCK_AI' deleted.
CLEVERAGENTS_TESTING_USE_MOCK_AI
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_DATABASE_URL' does not exist.
CLEVERAGENTS_DATABASE_URL
Deletes the specified environment variable.
Environment variable 'CLEVERAGENTS_TEST_DATABASE_URL' does not exist.
CLEVERAGENTS_TEST_DATABASE_URL
Deletes the specified environment variable.
Clean up after tests.
Smoke tests for subplan execution scheduler, merge strategies,
and integrated execution+merge workflows.
All Tests
conflict
dependency
entries
execute
execution
failfast
failure
git
integration
lastwins
merge
metadata
multiple
noop
parallel
plan
properties
retry
sequential
spawn
subplan
summary
validation
Plan Executor Subplan Spawning & Subplan Spawn & Subplan Execution
Plan Executor Subplan Spawning & Subplan Spawn & Subplan Execution.Plan Executor Subplan Spawning
Plan Executor Subplan Spawning & Subplan Spawn & Subplan Execution.Subplan Spawn
Plan Executor Subplan Spawning & Subplan Spawn & Subplan Execution.Subplan Execution