[OpenStack-Infra] How do I run "zuul_return" if tests are failed on Zuul v3?

Rikimaru Honjo honjo.rikimaru at po.ntt-tx.co.jp
Wed Nov 8 09:49:45 UTC 2017


Hello,

* I'm using Zuul v3 ver.2.5.3.dev1585.

I created a job which runs following two tasks for zuul v3.[1]

1. Run tests on remote host which is created by Nodepool.
    (In this time, "hosts" value is "all".)
2. Run zuul_return on localhost where is zuul-executor.
    And, submit a URL of logs specified as "log_url" attribute to gerrit.
    (In this time, "hosts" value is "localhost".)

In this case, task 2 won't be run if task 1 is failed.
And, the below URL will be submitted to gerrit.

finger://<hostname of zuul-executor>/e8ce4c7f627a43689dd9ad4ecc43c881

How do you run "zuul_return" if the test task will be failed?

P.S.
If I specified "ignore_errors:True" in task 1, task2 was run even if
task1 was failed.
But, the submitted result was "SUCCESS" in this case.

[1]
I refered the following suggestion.
http://lists.openstack.org/pipermail/openstack-infra/2017-October/005646.html
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rikimaru Honjo
E-mail:honjo.rikimaru at po.ntt-tx.co.jp





More information about the OpenStack-Infra mailing list