[INTTEST-93] robot still running even when the controller install fails Created: 19/May/20  Updated: 19/May/20

Status: Open
Project: integration-test
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Jamo Luhrsen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

example job

In this case, the controller was never downloaded, and when our infra code is
checking if it's up and running, it acknowledges that it's down and issues an
exit 1. we want that to cause the jenkins job to abort, but it's still continuing
and trying to run robot. This is confusing when looking at the jobs, but also wasting
time and $$ on resources for a job that is meaningless at that point

Here is the exact funtion that is hit in the example above. Line 1024 is the exit 1

ecelgp mentioned in IRC that we may just need to 'set -e' in the bash script.

It's probably easy to reproduce in the sandbox with any CSIT job by passing
a URL for BUNDLE_URL that is invalid. The download would fail for that case and
no controller would be installed.

I also noticed this in a different job where the failure came because a BindException
was seen in the karaf.log. That is also another reason we want to abort. just fyi
that it's not just a problem related to a single function but the entire infra scripts.


Generated at Wed Feb 07 20:04:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.