Troubleshooting
Find the error in the list. Then do the steps of the solution in sequence.
ERROR: 'hurl' not found on PATH
hurl-orchestra calls the hurl command.
Solution:
- Install Hurl.
- Run
hurl --versionin the same shell.
A dry run does not need Hurl.
ERROR: deps for 'foo' must be a list
The frontmatter of the file has an incorrect type. Similar errors are for id, outputs, priority and args.
Solution:
- Open the file that the error names.
- Correct the field. For the types, read Frontmatter.
- Run
hurl-orchestra --dry-runto validate the change.
ERROR: 'foo' depends on 'bar' but no .hurl file or alias defines id: bar
No node has the ID in deps.
Solution:
- Make sure that a file has
id: bar, or the namebar.hurl. - Put that file in the same directory as
foo. - If you use
--no-deps, give the file on the command line.
ERROR: alias template 'X' not found (used as 'Y')
An alias names a template that the run did not load.
Solution:
- Make sure that the template file is in the same directory.
- Make sure that the template name is the ID of that file.
Circular dependency detected
The deps make a cycle.
Solution:
- Read the node IDs in the message.
- Remove one of the
depsin the cycle.
ERROR: env file not found
The file of --env-file does not exist.
Solution:
- Examine the path. A relative path starts at the current directory.
Hurl cannot find a variable
Hurl shows an error for a variable without a value, for example base_url.
Solution:
- Read the
Variables fileline at the start of the run. If it is not there, no variables file applies. - If you gave files, read the
NOTEline. Add--env-filewith the path that it shows. - For a variable from a dependency, make sure that the producer is in
depsand the output is in itsoutputs.
FAILED: foo, Missing expected outputs
The node declared an output, and the Hurl report has no capture with that name.
Solution:
- Make sure that the
[Captures]section defines each name inoutputs. - Make sure that the response contains the value at that path.
SKIPPED: foo (failed dependency: bar)
The node did not run because bar failed.
Solution:
- Correct the failure of
bar. The node runs again when its inputs exist.
FAILED: foo, Hurl timed out after 300 seconds
One Hurl call took more than 5 minutes.
Solution:
- Run the file with Hurl alone to find the slow request.
- Add a timeout to the request, for example with
argsandmax-time.
FAILED: foo, known failure 'name' expired on date
The failure matched an entry, but its until date is in the past.
Solution:
- Examine if the cause still exists.
- If it exists, set a new
untildate and update thereason. - If it does not exist, remove the entry.
ERROR: known_failures[0] for 'foo' …
An entry in known_failures is not valid.
Solution:
- Make sure that the entry has a
nameand areason. - Make sure that the entry has one or more signature fields.
- Make sure that each regular expression is valid and each name is unique.
Diagram output already exists
--diagram does not replace a file.
Solution:
- Add
--diagram-overwrite, or give a different--diagram-output.
