Actions
Bug #18151
closedAgentRunsTest and ReportsTest not passing on master
Status:
Released
Priority:
N/A
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
For AgentRunsTest
:
Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))) expected:<F[ull(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))])> but was:<F[ailure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty])> Comparison Failure: <Click to see difference> java.lang.Exception: Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))) at com.normation.rudder.repository.jdbc.AgentRunsTest.$anonfun$new$8(ReportExecutionTest.scala:94) Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))) expected:<F[ull(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))])> but was:<F[ailure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty])> Comparison Failure: <Click to see difference> java.lang.Exception: Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n1) -> Some(AgentRunWithNodeConfig(AgentRunId(NodeId(n1),2020-08-28T16:10:30.337+02:00),Some((NodeConfigId(nodeConfig_n1_v1),None)),true,12)))) at com.normation.rudder.repository.jdbc.AgentRunsTest.$anonfun$new$12(ReportExecutionTest.scala:99) Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n2) -> None)) expected:<F[ull(Map(NodeId(n2) -> None)])> but was:<F[ailure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty])> Comparison Failure: <Click to see difference> java.lang.Exception: Failure(Error running doobie transaction. Cause was: PSQLException: ERROR: syntax error at or near "and" Position: 561,Full(org.postgresql.util.PSQLException: ERROR: syntax error at or near "and" Position: 561),Empty) != Full(Map(NodeId(n2) -> None)) at com.normation.rudder.repository.jdbc.AgentRunsTest.$anonfun$new$16(ReportExecutionTest.scala:103)
For ReportsTest
:
java.lang.Exception: List( AgentRun(AgentRunId(NodeId(n1),2020-08-28T15:52:30.123+02:00),Some(NodeConfigId(n1_run1)),true,115), AgentRun(AgentRunId(NodeId(n2),2020-08-28T15:52:30.123+02:00),Some(NodeConfigId(n2_run1)),true,119), AgentRun(AgentRunId(NodeId(n0),2020-08-28T15:52:30.123+02:00),None,true,109) ) does not contain AgentRun(AgentRunId(NodeId(n1),2020-08-28T15:57:30.535+02:00),None,false,116), AgentRun(AgentRunId(NodeId(n1),2020-08-28T15:52:30.123+02:00),Some(NodeConfigId(n1_run1)),true,110), AgentRun(AgentRunId(NodeId(n1),2020-08-28T16:02:30.535+02:00),None,false,118) but contains AgentRun(AgentRunId(NodeId(n1),2020-08-28T15:52:30.123+02:00),Some(NodeConfigId(n1_run1)),true,115) at com.normation.rudder.repository.jdbc.ReportsTest.$anonfun$new$28(ReportsTest.scala:193) at com.normation.rudder.repository.jdbc.ReportsTest.$anonfun$new$21(ReportsTest.scala:193)
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/3196
Updated by Nicolas CHARLES over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|2a6fb47d20c2d85df047a761e4acb9389cd5ba2e.
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.2.0~beta1 to 7.0.0~beta1
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~beta1 which was released today.
Actions