Project

General

Profile

Actions

Bug #25193

closed

OpenSCAP test fails when there is a '@' '%40' in path

Added by François ARMAND 4 months ago. Updated 2 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

When we have several build in parallel, jenkins happens a "@XX" in the path. Then, the way we access files encodes it into "%40XX" which is not found.

We already had the case here: #19186

The solution is to change all:

    this.getClass.getClassLoader.getResource(name).getPath

Into "toURI.getPath":

    this.getClass.getClassLoader.getResource(name).toURI.getPath

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19186: Webapp tests fail if repository path contains an '@'ReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND 4 months ago

  • Related to Bug #19186: Webapp tests fail if repository path contains an '@' added
Actions #2

Updated by François ARMAND 4 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND 4 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/740
Actions #4

Updated by Anonymous 4 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset 4 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder plugin openscap v8.1.6-2.1

Actions #7

Updated by Vincent MEMBRÉ 2 months ago

This bug has been fixed in Rudder plugin openscap v8.2.0.beta1-2.1

Actions

Also available in: Atom PDF