From df5bb921b8a2c3341c4242f790a68c015c629886 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Mon, 6 Apr 2020 14:57:49 +0200 Subject: [PATCH] Collect tftpd info from journald This patch adds a post run playbook that collects info about the tftpd daemon from journald to be available at the end of the CI process. Change-Id: I1dd11a8804b976e3abc42a43102c1b52fbe03f5a --- playbooks/ci-workarounds/get_tftpd.yaml | 5 +++++ zuul.d/ironic-jobs.yaml | 1 + 2 files changed, 6 insertions(+) create mode 100644 playbooks/ci-workarounds/get_tftpd.yaml diff --git a/playbooks/ci-workarounds/get_tftpd.yaml b/playbooks/ci-workarounds/get_tftpd.yaml new file mode 100644 index 0000000000..8a0e1f3b4f --- /dev/null +++ b/playbooks/ci-workarounds/get_tftpd.yaml @@ -0,0 +1,5 @@ +- hosts: all + tasks: + - name: Get tftpd info from journald + shell: "journalctl -t in.tftpd > {{ zuul_output_dir }}/logs/tftpd-journal.txt" + become: yes \ No newline at end of file diff --git a/zuul.d/ironic-jobs.yaml b/zuul.d/ironic-jobs.yaml index 8d46db0182..724dac5402 100644 --- a/zuul.d/ironic-jobs.yaml +++ b/zuul.d/ironic-jobs.yaml @@ -4,6 +4,7 @@ description: Base job for devstack/tempest based ironic jobs. parent: devstack-tempest nodeset: openstack-single-node-bionic + post-run: playbooks/ci-workarounds/get_tftpd.yaml timeout: 10800 required-projects: - openstack/ironic