Project

General

Profile

Bug #11792

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

Added by Nicolas CHARLES 11 months ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
User visibility:
Effort required:

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

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

Related issues

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

Associated revisions

Revision 8161d7a8 (diff)
Added by Nicolas CHARLES 11 months ago

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

History

#1 Updated by Nicolas CHARLES 11 months ago

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

#2 Updated by Nicolas CHARLES 11 months ago

  • 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 :(

#3 Updated by Nicolas CHARLES 11 months ago

  • 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)

#4 Updated by Nicolas CHARLES 11 months ago

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

#5 Updated by Nicolas CHARLES 11 months ago

  • 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

#6 Updated by Nicolas CHARLES 11 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ 10 months ago

  • 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.

#8 Updated by Vincent MEMBRÉ 9 months ago

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

Also available in: Atom PDF