Project

General

Profile

Actions

Bug #23786

closed

Inventory accept test sometimes fails on callback check

Added by François ARMAND 12 months ago. Updated 8 months ago.

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

Description

We sometimes see:

[2023-11-23T19:28:48.464Z] [info] Saving a new, unknown inventory should
[2023-11-23T19:28:49.463Z] [error]   x correctly save the node in pending
[2023-11-23T19:28:49.463Z] [error]    Chunk() != Chunk(newPending) (TestSaveInventory.scala:317)
[2023-11-23T19:28:49.463Z] [info] 
[2023-11-23T19:28:49.463Z] [info] 

Which is likely linked to the fact that the callback filling that part is async and may exec after end of test.

We should put a retry on it.

Actions #1

Updated by François ARMAND 12 months ago

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

Updated by François ARMAND 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/5199
Actions #3

Updated by Anonymous 12 months ago

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

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.0~alpha1 which was released today.

Actions

Also available in: Atom PDF