)]}'
{"id":"openstack%2Fdevstack-gate~391870","triplet_id":"openstack%2Fdevstack-gate~master~I9d06e0686c589c9b513e5cab4d39b87e2dd34c4c","project":"openstack/devstack-gate","branch":"master","topic":"timeout_function","hashtags":[],"change_id":"I9d06e0686c589c9b513e5cab4d39b87e2dd34c4c","subject":"Adding the ability to call a function when the job is timed out","status":"ABANDONED","created":"2016-10-31 14:51:38.000000000","updated":"2016-11-04 09:14:45.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"139dda41fd9e39f2954844a529df52ee2cf90926","_number":391870,"virtual_id_number":391870,"owner":{"_account_id":8367,"name":"Arx Cruz","email":"arxcruz@redhat.com","username":"arxcruz"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"value":1,"date":"2016-10-31 15:45:35.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"all":[{"value":-1,"date":"2016-11-01 13:28:39.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":-1,"default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"_account_id":3,"name":"Jenkins","username":"jenkins"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-10-31 15:45:35.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2016-11-01 13:28:39.000000000","updated_by":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"reviewer":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"state":"REVIEWER"}],"messages":[{"id":"382fc4c0267113a3281c2f82c03ce19db2bbb0fb","author":{"_account_id":8367,"name":"Arx Cruz","email":"arxcruz@redhat.com","username":"arxcruz"},"date":"2016-10-31 14:51:38.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"0d6ae01cd519cf9ae7bfb920f3789aa0e8ac9f89","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-10-31 15:45:35.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-tempest-dsvm-neutron-full-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/387ae07/ : SUCCESS in 44m 02s\n- gate-grenade-dsvm-neutron-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-grenade-dsvm-neutron-ubuntu-xenial/2a9542b/ : SUCCESS in 31m 13s\n- gate-tempest-dsvm-full-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-full-ubuntu-xenial/fa7d081/ : SUCCESS in 38m 55s\n- gate-grenade-dsvm-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-grenade-dsvm-ubuntu-xenial/43de588/ : SUCCESS in 23m 48s\n- gate-devstack-gate-unittests http://logs.openstack.org/70/391870/1/check/gate-devstack-gate-unittests/2d14a6d/ : SUCCESS in 1m 18s\n- gate-devstack-gate-bashate http://logs.openstack.org/70/391870/1/check/gate-devstack-gate-bashate/8a13573/ : SUCCESS in 1m 18s\n- gate-dg-hooks-dsvm http://logs.openstack.org/70/391870/1/check/gate-dg-hooks-dsvm/afe16de/ : SUCCESS in 2m 34s\n- gate-grenade-dsvm-multinode http://logs.openstack.org/70/391870/1/check/gate-grenade-dsvm-multinode/5f6302c/ : SUCCESS in 27m 46s\n- gate-grenade-dsvm-neutron-multinode http://logs.openstack.org/70/391870/1/check/gate-grenade-dsvm-neutron-multinode/3b7f676/ : SUCCESS in 33m 24s\n- gate-neutron-dsvm-functional-ubuntu-trusty-nv http://logs.openstack.org/70/391870/1/check/gate-neutron-dsvm-functional-ubuntu-trusty-nv/0b312f7/ : SUCCESS in 15m 04s (non-voting)\n- gate-swift-dsvm-functional-ubuntu-xenial-nv http://logs.openstack.org/70/391870/1/check/gate-swift-dsvm-functional-ubuntu-xenial-nv/db73a0c/ : SUCCESS in 15m 50s (non-voting)\n- gate-tempest-dsvm-full-ubuntu-trusty-liberty-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-full-ubuntu-trusty-liberty-nv/6cb359e/ : SUCCESS in 32m 50s (non-voting)\n- gate-tempest-dsvm-neutron-full-ubuntu-trusty-liberty-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-neutron-full-ubuntu-trusty-liberty-nv/d39e6b6/ : SUCCESS in 32m 01s (non-voting)\n- gate-tempest-dsvm-full-ubuntu-trusty-mitaka-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-full-ubuntu-trusty-mitaka-nv/38e6d99/ : SUCCESS in 32m 50s (non-voting)\n- gate-tempest-dsvm-neutron-full-ubuntu-trusty-mitaka-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-neutron-full-ubuntu-trusty-mitaka-nv/06ae619/ : SUCCESS in 53m 34s (non-voting)\n- gate-tempest-dsvm-full-ubuntu-xenial-newton-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-full-ubuntu-xenial-newton-nv/77be0a9/ : SUCCESS in 38m 58s (non-voting)\n- gate-tempest-dsvm-neutron-full-ubuntu-xenial-newton-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial-newton-nv/976e20a/ : SUCCESS in 40m 54s (non-voting)\n- gate-tempest-dsvm-platform-centos7-nv http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-platform-centos7-nv/5850011/ : FAILURE in 27m 34s (non-voting)\n- gate-tempest-dsvm-multinode-full-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-multinode-full-ubuntu-xenial/94e133c/ : SUCCESS in 41m 29s (non-voting)\n- gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial http://logs.openstack.org/70/391870/1/check/gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial/934fcaa/ : SUCCESS in 50m 03s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"6cdd2eb4d0c6810dac5999c46847c3c1840b6d55","author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"date":"2016-11-01 13:28:39.000000000","message":"Patch Set 1: Code-Review-1\n\nWe have in the past said that if you need to do catastrophic job recovery you can do that by running your function/script after d-g is done running. I don\u0027t think we need to add more hook points to d-g to allow this.","accounts_in_message":[],"_revision_number":1},{"id":"a474f9818e83d0a53936b8f354d01091b8e44ebd","author":{"_account_id":8367,"name":"Arx Cruz","email":"arxcruz@redhat.com","username":"arxcruz"},"date":"2016-11-04 09:14:45.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"cbfea20c55c56d5fee5a93462c100cbd414d80ab","revisions":{"cbfea20c55c56d5fee5a93462c100cbd414d80ab":{"kind":"REWORK","_number":1,"created":"2016-10-31 14:51:38.000000000","uploader":{"_account_id":8367,"name":"Arx Cruz","email":"arxcruz@redhat.com","username":"arxcruz"},"ref":"refs/changes/70/391870/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/devstack-gate","ref":"refs/changes/70/391870/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/devstack-gate refs/changes/70/391870/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/devstack-gate refs/changes/70/391870/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/devstack-gate refs/changes/70/391870/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/devstack-gate refs/changes/70/391870/1"}}},"commit":{"parents":[{"commit":"01b55c8412f463b2da0569e43dfcad5614da8559","subject":"Reorganize PROJECTS list to show repos to remove","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/devstack-gate/commit/01b55c8412f463b2da0569e43dfcad5614da8559"}]}],"author":{"name":"Arx Cruz","email":"arxcruz@redhat.com","date":"2016-10-31 14:49:14.000000000","tz":60},"committer":{"name":"Arx Cruz","email":"arxcruz@redhat.com","date":"2016-10-31 14:51:34.000000000","tz":60},"subject":"Adding the ability to call a function when the job is timed out","message":"Adding the ability to call a function when the job is timed out\n\nThis is a simple patch to add the possibility to call a function when\nthe job timeout.\nSome CI\u0027s relay on devstack-vm-gate-wrap, and this will enable third\nparty to collect some logs needed to debug for example, even when the\njob timeout. This is very important to understand how and why the job\nis failing.\nExample of use: tripleo periodic jobs are failing with timeout and\nthere\u0027s some tempest failures, however, the logs are not being uploaded\nbecause the way tripleo works, collect the logs script isn\u0027t being\nexecuted, which makes hard to identify the root cause and find a\nsolution.\nBesides, this won\u0027t interrupt or make it fails any job upstream, because\nthe jobs are not implementing the \u0027post_timeout_hook\u0027 function.\n\nChange-Id: I9d06e0686c589c9b513e5cab4d39b87e2dd34c4c\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/devstack-gate/commit/cbfea20c55c56d5fee5a93462c100cbd414d80ab"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/devstack-gate/commit/cbfea20c55c56d5fee5a93462c100cbd414d80ab"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
