Felix Edel
7761396303
mirror-workspace-git-repos: Retry on failure in git update task
...
We occasionally see the this task fail for the first element in the
zuul.projects list with a MODULE FAILURE and a return code of -13
(SIGPIPE) [1]. So far we couldn't identify the root cause, so try to
mitigate this issue by retrying on failure. This solution is similar to
the one used for the "Synchronize repos" task[2].
There is a bug report in Ansible that fits
Since it's only the first element in the loop that is failing while
subsequent elements are successful, we currently have two assumptions:
1. As the task before is using a `delegate_to: localhost' [3],
there might be a problem with Ansible when switching the connection
from localhost to the remote host (node).
2. Since the task before is using the same SSH connection [4] that is
used by Ansible to push the git repository, there might be some
"leftovers" on the connection that make the next task fail.
3. There is also a bug report in Ansible [5] which might be causing
that error.
[1]:
{
"ansible_loop_var": "zj_project",
"changed": false,
"failed": true,
"module_stderr": "",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": -13,
"zj_project": {...}
}
[2]: 3b3495e255/roles/mirror-workspace-git-repos/tasks/main.yaml (L32)
[3]: 3b3495e255/roles/mirror-workspace-git-repos/tasks/main.yaml (L25)
[4]: 3b3495e255/roles/mirror-workspace-git-repos/tasks/main.yaml (L16)
[5]: https://github.com/ansible/ansible/issues/81777
Change-Id: I0c4cb87bb076b9b40c9c446dbe5db437daff5897
2023-12-08 06:37:55 -08:00
..
2020-05-01 13:45:34 +02:00
2021-04-01 15:29:01 +00:00
2022-04-13 15:04:51 -07:00
2022-07-27 17:13:39 +10:00
2022-05-05 14:40:00 +10:00
2020-11-24 01:29:36 +00:00
2020-09-01 14:43:15 +02:00
2022-07-27 17:13:39 +10:00
2022-07-27 17:13:39 +10:00
2020-04-30 18:05:41 +01:00
2022-11-07 10:37:53 +11:00
2023-05-09 16:18:42 -07:00
2023-03-22 00:32:42 +00:00
2020-04-04 15:41:29 -04:00
2021-06-08 14:24:44 -07:00
2020-05-15 00:35:29 +00:00
2018-10-13 10:36:36 +02:00
2021-03-04 07:51:13 +00:00
2020-01-09 11:46:41 -08:00
2019-07-25 14:29:52 -07:00
2021-04-20 12:10:02 +10:00
2020-11-09 14:40:00 +00:00
2022-09-19 16:16:34 +10:00
2022-11-07 10:37:53 +11:00
2019-08-07 20:17:41 +01:00
2020-11-09 14:40:00 +00:00
2017-08-28 13:53:10 -04:00
2020-06-05 15:23:58 +10:00
2021-10-22 18:31:10 +11:00
2022-07-27 17:13:39 +10:00
2023-02-23 11:50:37 +01:00
2020-11-03 10:04:27 +00:00
2023-02-23 11:40:06 +01:00
2022-03-17 10:56:13 -07:00
2022-07-27 17:13:39 +10:00
2022-09-30 10:45:31 +02:00
2022-05-13 05:05:18 +00:00
2022-11-07 10:37:53 +11:00
2021-02-18 09:07:06 +00:00
2020-11-09 14:40:00 +00:00
2020-05-06 07:54:30 +02:00
2023-02-02 09:26:20 -08:00
2021-12-07 13:04:11 +11:00
2022-07-27 17:13:39 +10:00
2022-07-28 16:19:06 +10:00
2020-04-01 17:30:55 -04:00
2022-11-07 10:37:53 +11:00
2021-06-08 09:40:15 -04:00
2020-04-26 12:05:12 +00:00
2022-07-27 17:13:39 +10:00
2022-08-15 10:54:23 -07:00
2020-05-12 07:53:14 +02:00
2022-07-27 17:13:39 +10:00
2023-08-14 11:15:36 -07:00
2020-01-27 12:23:24 +00:00
2022-07-27 17:13:39 +10:00
2020-11-09 14:40:00 +00:00
2022-12-15 13:22:49 -08:00
2022-11-07 10:37:53 +11:00
2020-09-29 10:29:01 +01:00
2021-03-17 15:44:43 +00:00
2022-07-28 16:19:06 +10:00
2020-04-04 15:41:29 -04:00
2020-11-09 14:40:00 +00:00
2022-11-07 10:37:53 +11:00
2023-06-20 18:49:14 -07:00
2023-07-11 06:17:29 +00:00
2023-04-28 15:08:04 -07:00
2021-10-04 11:43:22 +11:00
2022-11-07 10:37:53 +11:00
2023-02-07 03:04:54 +00:00
2022-04-13 20:35:46 +05:30
2022-07-28 16:19:06 +10:00
2022-12-22 15:40:11 -08:00
2022-11-07 10:37:53 +11:00
2022-11-07 10:37:53 +11:00
2020-05-01 17:07:48 +02:00
2023-08-11 14:59:50 -07:00
2022-07-27 17:13:39 +10:00
2020-11-10 19:34:45 +00:00
2020-11-10 19:34:45 +00:00
2022-11-07 10:37:53 +11:00
2020-05-18 17:04:10 +02:00
2020-09-29 10:29:01 +01:00
2022-11-07 10:37:53 +11:00
2020-05-18 17:04:10 +02:00
2020-11-10 19:34:45 +00:00
2020-09-29 10:29:01 +01:00
2022-07-27 17:13:39 +10:00
2022-11-07 10:37:53 +11:00
2022-12-29 13:36:03 -08:00
2022-12-07 13:54:23 -08:00
2022-11-07 10:37:53 +11:00
2020-11-10 19:34:45 +00:00
2022-07-27 17:13:39 +10:00
2022-09-15 13:48:10 -07:00
2021-03-08 13:30:32 +00:00
2019-11-20 20:27:21 +01:00
2022-09-15 13:48:10 -07:00
2020-05-08 14:11:11 +00:00
2022-11-16 15:09:07 -08:00
2023-06-20 17:06:36 +02:00
2022-07-27 17:13:39 +10:00
2022-09-15 13:48:10 -07:00
2022-07-27 17:13:39 +10:00
2020-05-18 11:00:42 -05:00
2020-12-24 01:49:54 +03:00
2020-09-29 10:29:01 +01:00
2022-07-27 17:13:39 +10:00
2020-10-14 13:54:22 -07:00
2023-12-08 06:37:55 -08:00
2023-05-22 10:06:03 +02:00
2022-01-19 15:11:08 +05:30
2020-05-01 13:45:34 +02:00
2022-11-07 10:37:53 +11:00
2022-07-28 16:19:06 +10:00
2022-11-29 16:28:36 +00:00
2022-12-19 18:41:16 -08:00
2021-03-08 13:30:32 +00:00
2022-07-27 17:13:39 +10:00
2020-02-24 17:17:12 +00:00
2020-11-02 18:38:54 +00:00
2022-07-27 17:13:39 +10:00
2020-04-03 13:03:07 +00:00
2023-02-09 19:02:00 +00:00
2020-06-22 21:17:38 +02:00
2023-09-25 14:51:26 -07:00
2022-11-07 10:37:53 +11:00
2023-04-12 11:36:26 -07:00
2023-02-08 08:26:07 +11:00
2020-05-18 17:05:32 +02:00
2022-05-24 10:46:42 -07:00
2023-03-24 10:35:35 +11:00
2017-09-01 16:40:40 -05:00
2021-04-01 15:29:01 +00:00
2022-04-13 15:04:51 -07:00
2019-03-15 14:36:14 +01:00
2017-08-30 18:53:21 -05:00
2023-04-05 07:38:54 +10:00
2020-05-16 17:46:17 +02:00
2022-09-15 13:48:10 -07:00
2020-09-03 16:30:15 +00:00
2021-03-17 15:44:43 +00:00
2022-05-24 10:46:42 -07:00
2021-10-22 12:51:41 -07:00
2020-05-16 17:46:17 +02:00
2022-07-27 17:13:39 +10:00
2020-06-16 14:39:57 +00:00
2022-09-15 13:48:10 -07:00
2022-11-07 10:37:53 +11:00
2018-10-18 09:23:25 -05:00
2021-03-17 15:44:43 +00:00
2023-06-27 14:21:38 +02:00
2023-09-25 14:51:26 -07:00
2022-07-27 17:13:39 +10:00
2022-11-07 10:37:53 +11:00
2023-11-24 06:32:19 +00:00
2022-07-27 17:13:39 +10:00
2021-02-12 13:26:49 +00:00
2022-09-15 13:48:10 -07:00
2022-07-28 16:19:06 +10:00
2022-07-27 17:13:39 +10:00
2023-05-09 16:18:42 -07:00
2020-11-12 14:01:57 -05:00
2022-09-15 13:48:10 -07:00
2022-07-28 09:31:49 +10:00
2022-11-07 10:37:53 +11:00
2022-07-27 17:13:39 +10:00
2022-09-26 10:54:46 -07:00
2022-11-16 09:11:12 -08:00
2022-07-27 17:13:39 +10:00
2022-11-16 09:11:12 -08:00
2022-11-16 09:11:12 -08:00
2022-09-07 13:27:01 +10:00
2022-11-08 13:26:22 +00:00
2023-01-09 10:37:45 -08:00
2023-01-10 14:16:39 -06:00
2019-01-09 11:39:02 -05:00
2022-11-07 10:37:53 +11:00
2022-11-02 14:26:07 -07:00
2022-07-27 17:13:39 +10:00
2020-05-29 17:40:31 +03:00
2022-09-15 13:48:10 -07:00
2021-03-08 13:30:32 +00:00
2018-08-17 10:23:20 +10:00