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 over 1 year ago. Updated over 1 year 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

Also available in: Atom PDF