Project

General

Profile

Actions

Bug #24996

open

UpdateHttpDatasetTest datasource test get blocked forever

Added by François ARMAND about 1 month ago. Updated 14 days ago.

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

Description

The test understand ${node.properties[datasources-injected][short-hostname]} in JSON path never ends and get block forever.

In the console, we get an exception:

[error]    zio.FiberFailure: SystemError(An error occurred,Exception in thread "zio-fiber-752" java.lang.ClassCastException: class java.lang.String cannot be cast to class net.minidev.json.JSONAware (java.lang.String is in module java.base of loader 'bootstrap'; net.minidev.json.JSONAware is in unnamed module of loader 'app')
       at com.normation.plugins.datasources.JsonSelect$.$anonfun$select$2(UpdateHttpDataset.scala:343)
       at zio.syntax.ToZio.succeed(syntax.scala:10)
       at com.normation.plugins.datasources.JsonSelect.select(UpdateHttpDataset.scala:341)
       at com.normation.plugins.datasources.JsonSelect.fromPath(UpdateHttpDataset.scala:293)
...


Subtasks 1 (0 open1 closed)

Bug #25022: Similar dead lock in datasource for 7.3ReleasedClark ANDRIANASOLOActions
Actions

Also available in: Atom PDF