Project

General

Profile

Actions

Bug #24996

open

UpdateHttpDatasetTest datasource test get blocked forever

Added by François ARMAND 6 months ago. Updated 5 months 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 #1

Updated by François ARMAND 6 months ago

  • Target version changed from 8.1 to 8.0

the bug is not present in 7.3 but is present in 8.0

Actions #2

Updated by François ARMAND 6 months ago

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

Updated by François ARMAND 6 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-plugins/pull/724
Actions #4

Updated by Anonymous 6 months ago

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

Updated by François ARMAND 6 months ago

  • Subtask #25022 added
Actions #6

Updated by Clark ANDRIANASOLO 6 months ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ 6 months ago

This bug has been fixed in Rudder plugin datasources v8.1.4-2.4

Actions #8

Updated by Vincent MEMBRÉ 6 months ago

This bug has been fixed in Rudder plugin datasources v8.0.10-2.4

Actions #9

Updated by Alexis Mousset 5 months ago

  • Target version changed from 8.0 to 8.1
Actions

Also available in: Atom PDF