Project

General

Profile

Actions

Bug #22971

closed

Spurious test error on the killing of old fiber on datasource save/delete

Added by François ARMAND 10 months ago. Updated 10 months ago.

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

Description

In #12752 we added a test to check that when we save/delete a datasource, the datasource live instance is correctly reloaded (old killed, new spawned).

On the CI, we sometime get:

[2023-06-28T00:34:01.193Z] [info] operation from repository should
[2023-06-28T00:34:01.829Z] [error]   x saving rom repos should kill the old fiber
[2023-06-28T00:34:01.829Z] [error]    Running(RuntimeFlags(Interruption, CooperativeYielding, WorkStealing, FiberRoots), 
com.normation.plugins.datasources.HttpQueryDataSourceService.query(QueryService.scala:165)) is incorrect:  (UpdateHttpDatasetTest.scala:909)
[2023-06-28T00:34:01.829Z] [info] 

Which means that the fiber was not correctly killed and is still running. We need to know why it sometime happens: flacking test (timing issue?), or real problem ?


Related issues 1 (0 open1 closed)

Related to Datasources - Bug #12752: Datasources plugin scheduler problems after updating/deleting a datasourceReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND 10 months ago

  • Related to Bug #12752: Datasources plugin scheduler problems after updating/deleting a datasource added
Actions #2

Updated by François ARMAND 10 months ago

  • Description updated (diff)
Actions #3

Updated by François ARMAND 10 months ago

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

Updated by François ARMAND 10 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/575
Actions #5

Updated by Anonymous 10 months ago

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

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder plugin datasources v7.3.3-2.3

Actions

Also available in: Atom PDF