Run container with env vars MYSQL_USER_ENV, MYSQL_PASSWORD_ENV, MYSQL_HOST_ENV, PROCESS_USER_ENV required to run run bash script kill-mysql-sleep-processes.sh. These variables are used to pass RDS credentials to runbook.robot
docker exec rds-codecollection bash -c "ro /app/codecollection/codebundles/rds-mysql-conn-count/runbook.robot && ls -R /robot_logs"
[ ERROR ] Error in library 'RW.Core': Adding keyword 'add_datagrid_to_report' failed: Union cannot be empty.
[ ERROR ] Error in library 'RW.Core': Adding keyword 'add_table_to_report' failed: Union cannot be empty.
==============================================================================
Runbook :: This taskset Kills the numbers of sleep process created in MySQL
==============================================================================
Run Bash File :: Runs a bash file to verify script passthrough works [ WARN ] File 'kill-mysql-sleep-processes.sh' not found in the current directory and current directory is not root.
| FAIL |
FileNotFoundError: [Errno 2] No such file or directory: 'kill-mysql-sleep-processes.sh'
------------------------------------------------------------------------------
Runbook :: This taskset Kills the numbers of sleep process created... | FAIL |
1 task, 0 passed, 1 failed
==============================================================================
Output: /robot_logs/rds-mysql-conn-count/runbook-output.xml
Log: /robot_logs/rds-mysql-conn-count/runbook-log.html
Report: /robot_logs/rds-mysql-conn-count/runbook-report.html
Steps to reproduce:
Build Image
docker build --tag runwhen . --no-cache
Run container with env vars
MYSQL_USER_ENV
,MYSQL_PASSWORD_ENV
,MYSQL_HOST_ENV
,PROCESS_USER_ENV
required to run run bash script kill-mysql-sleep-processes.sh. These variables are used to pass RDS credentials to runbook.robotRun runbook.robot
docker exec rds-codecollection bash -c "ro /app/codecollection/codebundles/rds-mysql-conn-count/runbook.robot && ls -R /robot_logs"