Project

General

Profile

Actions

Bug #11792

closed

Generic method file_ensure_key_value_present_in_ini_section.cf has leaky classes, resulting in invalid results

Bug #11792: Generic method file_ensure_key_value_present_in_ini_section.cf has leaky classes, resulting in invalid results

Added by Nicolas CHARLES about 8 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

The order in which the tests are run cause (or not) a success in the test of this method
Plus, it cannot match the end of file for CFEngine 3.7 to 3.9


Subtasks 1 (0 open1 closed)

Bug #11802: Broken tests in 4.1+ branch after parent changeReleasedNicolas CHARLESActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11795: Escaping variable in a method call failsReleasedNicolas CHARLESActions

Updated by Nicolas CHARLES about 8 years ago Actions #1

interestingly, with cfengine 3.7, test3 fails, with cfengine 3.10, it's the first one that fails :(

Updated by Nicolas CHARLES about 8 years ago Actions #2

  • Target version changed from 4.3.0~beta1 to 4.1.9

actually, it fails on all version, if only third test is run
there must be an error in the generic method :(

Updated by Nicolas CHARLES about 8 years ago Actions #3

  • Subject changed from Generic method file_ensure_key_value_present_in_ini_section.cf fails on master to Generic method file_ensure_key_value_present_in_ini_section.cf has leaky classes, resulting in invalid results
  • Description updated (diff)

Updated by Nicolas CHARLES about 8 years ago Actions #4

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

Updated by Nicolas CHARLES about 8 years ago Actions #5

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/656

Updated by Nicolas CHARLES about 8 years ago Actions #6

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ about 8 years ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.9 and 4.2.3 which were released today.

Updated by Vincent MEMBRÉ almost 8 years ago Actions #8

  • Related to Bug #11795: Escaping variable in a method call fails added

Updated by Alexis Mousset over 3 years ago Actions #9

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: PDF Atom