Actions
Bug #25025
openUnclear error message when running rudderc technique test without providing a library path
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
It default to '/var/rudder/ncf', but if the path does not point to a method library, it fails with a quite complicated error:
root@server:/var/rudder/configuration-repository/techniques/ncf_techniques/abcdd/1.0# /opt/rudder/bin/rudderc test -l /var/rudder/ncf Read 183 methods Compiling ABCDd v1.0 [Linux] Wrote target/technique.cf Compiling ABCDd v1.0 [Windows] Wrote target/technique.ps1 Generating ABCDd v1.0 [Metadata] Wrote target/metadata.xml Running 1 test(s) Testing tests/case1.yml Running technique test with parameters from 'tests/case1.yml' ERROR Failed to run cf-agent: stdout: info: Setting workdir to '/tmp/.tmpb7PRC5' error: Can't stat file '/var/rudder/ncf//bin/sh: 0: cannot open /var/rudder/ncf/10_ncf_internals/list-compatible-inputs: No such file' for parsing. (stat: No such file or directory) error: Policy failed validation with command '"/tmp/.tmpb7PRC5/bin/cf-promises" -c "./target/technique.cf"' error: Error reading CFEngine policy. Exiting... stderr:
A non developer user has no way to understand what is missing here
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 8.0.10 to 1089
Updated by Alexis Mousset 4 months ago
- Target version changed from 1089 to 8.1.6
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 8.1.6 to 8.1.7
Updated by Vincent MEMBRÉ 2 months ago
- Target version changed from 8.1.7 to 8.1.8
Updated by Vincent MEMBRÉ 18 days ago
- Target version changed from 8.1.8 to 8.1.9
Actions