Project

General

Profile

Actions

Bug #16622

closed

Timeout for `NuCommand` test is too short

Added by François ARMAND about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

In a test, we have a command that is set to timeout after 100 ms. This is too short for our CI. I will change it to 500 ms.

Actions #1

Updated by François ARMAND about 4 years ago

2020-01-24T16:02:03+0100 WARNING Failed to execute shell command from Rudder: error=2, No such file or directoryFiber failed.
16:02:22 A checked error was not handled.
16:02:22 Inconsistancy(oups, timed out)
....
16:02:22 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.589 sec <<< FAILURE!
16:02:22 A command should::has only the environment variable explicitly defined(com.normation.rudder.hooks.RunNuCommandTest)  Time elapsed: 0.031 sec  <<< FAILURE!
16:02:22 java.lang.Exception: 'return code=0
16:02:22 PATH=/usr/lib/jvm/java-8-openjdk-amd64//bin:/home/jenkins/.cargo/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin:/usr/local/bin:/usr/bin:/bin:/home/jenkins/bin
16:02:22 foo=bar
16:02:22 ' doesn't match 'return code=0
16:02:22 PATH=.*
16:02:22 foo=bar
16:02:22 '
16:02:22     at com.normation.rudder.hooks.RunNuCommandTest.$anonfun$new$3(RunNuCommandTest.scala:76)
16:02:22 
Actions #2

Updated by François ARMAND about 4 years ago

  • Target version set to 6.0.3
Actions #3

Updated by François ARMAND about 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/2741
Actions #4

Updated by François ARMAND about 4 years ago

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

Updated by François ARMAND about 4 years ago

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

Updated by Alexis Mousset about 4 years ago

  • Name check changed from To do to Reviewed
Actions #7

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.3 which was released today.

Actions

Also available in: Atom PDF