Project

General

Profile

Actions

Bug #25002

open

Rudder-robot fails to executes on recent python

Added by Félix DALLIDET 7 months ago. Updated 7 months ago.

Status:
Pending technical review
Priority:
N/A
Category:
Rudder-robot
Target version:
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 #1

Updated by Félix DALLIDET 7 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Elaad FURREEDAN
  • Pull Request set to https://github.com/Normation/rudder-robot/pull/53
Actions

Also available in: Atom PDF