-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
bugA confirmed bug or regressionA confirmed bug or regressionpriority: highstatus: in progressActively being worked onActively being worked on
Milestone
Description
Hi all,
as the title says, option -T (--timestampoutputs) causes pabot 5.1 to fail here with the error "[ ERROR ] Reading XML source '' failed: No such file or directory".
Without the option -T the tests run without errors.
Any help is appreciated. Thanks!
Commandline:
pabot -T --no-pabotlib --processes 5 -d ${PWD}/output/ ${PWD}/testcases/
Environment:
Amazon Linux 2023
Linux odwdldctrl 6.1.155-176.282.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 7 15:53:25 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Shell:
KornShell
$ echo $0
-ksh
$ ksh --version
version sh (AT&T Research) 93u+ 2012-08-01
Version of Python:
Python 3.12.11
Version of robot/pabot:
robotframework==7.3.2
robotframework-assertion-engine==3.0.3
robotframework-databaselibrary==2.3.3
robotframework-pabot==5.1.0
robotframework-pythonlibcore==4.4.1
robotframework-seleniumlibrary==6.8.0
robotframework-stacktrace==0.4.1
Output from reproscript:
Start ./pabot.ksh Wed Nov 26 11:42:31 CET 2025
Storing .pabotsuitenames file
2025-11-26 11:42:31.600162 [PID:931100] [4] [ID:2] EXECUTING Testcases.Simple Test 3
2025-11-26 11:42:31.599971 [PID:931101] [3] [ID:0] EXECUTING Testcases.Simple Test 1
2025-11-26 11:42:31.599892 [PID:931102] [0] [ID:4] EXECUTING Testcases.Simple Test 5
2025-11-26 11:42:31.601111 [PID:931103] [1] [ID:3] EXECUTING Testcases.Simple Test 4
2025-11-26 11:42:31.601211 [PID:931104] [2] [ID:1] EXECUTING Testcases.Simple Test 2
2025-11-26 11:42:37.608690 [PID:931100] [4] [ID:2] PASSED Testcases.Simple Test 3 in 6.0 seconds
2025-11-26 11:42:37.708805 [PID:931102] [0] [ID:4] PASSED Testcases.Simple Test 5 in 6.1 seconds
2025-11-26 11:42:37.709204 [PID:931101] [3] [ID:0] PASSED Testcases.Simple Test 1 in 6.1 seconds
2025-11-26 11:42:37.711528 [PID:931103] [1] [ID:3] PASSED Testcases.Simple Test 4 in 6.1 seconds
2025-11-26 11:42:37.717236 [PID:931104] [2] [ID:1] PASSED Testcases.Simple Test 2 in 6.1 seconds
{'command': ['robot'], 'verbose': False, 'help': False, 'version': False, 'testlevelsplit': False, 'pabotlib': False, 'pabotlibhost': '127.0.0.1', 'pabotlibport': 8270, 'processes': 5, 'processtimeout': None, 'artifacts': ['png'], 'artifactstimestamps': True, 'artifactsinsubfolders': False, 'shardindex': 0, 'shardcount': 1, 'chunk': False, 'no-rebot': False, 'argumentfiles': []}
WARN: No output files in "/tmp/pabotrepro/output/pabot_results"
[ ERROR ] Reading XML source '' failed: No such file or directory
Try --help for usage information.
0 tests, 0 passed, 0 failed, 0 skipped.
===================================================
Output:
[ WARNING ] One or more subprocesses encountered an error and the internal .xml files could not be generated. Please check the following stderr files to identify the cause:
'/tmp/pabotrepro/output/pabot_results/4/robot_stderr.out'
'/tmp/pabotrepro/output/pabot_results/0/robot_stderr.out'
'/tmp/pabotrepro/output/pabot_results/3/robot_stderr.out'
'/tmp/pabotrepro/output/pabot_results/2/robot_stderr.out'
'/tmp/pabotrepro/output/pabot_results/1/robot_stderr.out'
[ ERROR ] The output, log and report files produced by Pabot are incomplete and do not contain all test cases.
Total testing: 30.40 seconds
Elapsed time: 6.22 seconds
Excecution ended with returncode 252
End ./pabot.ksh Wed Nov 26 11:42:37 CET 2025
reproscript:
#!/usr/bin/env ksh
clear
echo Start $0 $(date)
find ${PWD}/output/ -type f -delete
[ -d ${PWD}/output/pabot_results ] && rm -rf ${PWD}/output/pabot_results
pabot -T --no-pabotlib --processes 5 -d ${PWD}/output/ ${PWD}/testcases/
RC=$?
echo "Excecution ended with returncode ${RC}"
echo End $0 $(date)
Testcases 1-5 (all the same):
*** Settings ***
Library Process
*** Test Cases ***
Run Linux Commands And Log Output
[Documentation] Executes 'date' and 'sleep 5', logs outputs and return codes.
Run Process And Log Output date
Run Process And Log Output sleep 5
*** Keywords ***
Run Process And Log Output
[Arguments] ${command}
Start Process ${command} shell=True
${result}= Wait For Process
Log To Console Command: ${command}
Log To Console Return code: ${result.rc}
Log To Console Stdout: ${result.stdout}
Log To Console Stderr: ${result.stderr}
Metadata
Metadata
Assignees
Labels
bugA confirmed bug or regressionA confirmed bug or regressionpriority: highstatus: in progressActively being worked onActively being worked on