Actions
Bug #25002
openRudder-robot fails to executes on recent python
Status:
Pending technical review
Priority:
N/A
Assignee:
Category:
Rudder-robot
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
Some tests are failing with the following error:
[2024-06-13T12:06:51.582Z] + robot --exitonfailure --loglevel DEBUG -P ../../../src ../main.robot [2024-06-13T12:06:53.135Z] /srv/jenkins/workspace/rudder-robot_branches_rudder_8.0/CIS_ubuntu_20/src/rudder/ssh.py:176: SyntaxWarning: invalid escape sequence '\c' [2024-06-13T12:06:53.135Z] self.push(cmd_path.name, remoteTmpFolder + '\cmd_file.ps1') [2024-06-13T12:06:53.135Z] /srv/jenkins/workspace/rudder-robot_branches_rudder_8.0/CIS_ubuntu_20/src/rudder/ssh.py:177: SyntaxWarning: invalid escape sequence '\c' [2024-06-13T12:06:53.135Z] final_cmd = "& '" + remoteTmpFolder + "\cmd_file.ps1'" [2024-06-13T12:06:53.135Z] /srv/jenkins/workspace/rudder-robot_branches_rudder_8.0/CIS_ubuntu_20/src/rudder/rudderserver.py:250: SyntaxWarning: invalid escape sequence '\s' [2024-06-13T12:06:53.135Z] pwd_search = re.search('rootpw\s+(\w+)', cmd.stdout.strip()) [2024-06-13T12:06:53.135Z] /srv/jenkins/workspace/rudder-robot_branches_rudder_8.0/CIS_ubuntu_20/src/rudderRobot/RpkgLib/RpkgLib.py:38: SyntaxWarning: invalid escape sequence '\.' [2024-06-13T12:06:53.135Z] "^.*\.txz$": { [2024-06-13T12:06:53.135Z] /srv/jenkins/workspace/rudder-robot_branches_rudder_8.0/CIS_ubuntu_20/src/rudderRobot/Common/Common.py:118: SyntaxWarning: invalid escape sequence '\(' [2024-06-13T12:06:53.135Z] host.testinfra.run('sed -i "s/\(^rootpw\s*\).*/\\1abcdefg/" /opt/rudder/etc/openldap/slapd.conf') [2024-06-13T12:06:53.136Z] ==============================================================================
Actions