From 22b4f746900f530d53ebfc9bb15a983b010d7dd3 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 29 Jul 2021 16:37:03 +1000 Subject: [PATCH] ci-workarounds/get_extra_logging.yaml : avoid grep failure If this grep doesn't match, the task returns a failure and it causes the job to abort with POST_FAILURE. I think more info is generally helpful and you can always grep "netstat" on the file manually; thus remove the grep to avoid suprious failure. Change-Id: I189a0a8be25cb12e946d8ac58667b287f9698064 --- playbooks/ci-workarounds/get_extra_logging.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/ci-workarounds/get_extra_logging.yaml b/playbooks/ci-workarounds/get_extra_logging.yaml index 5f6a1f8fe3..29454585ad 100644 --- a/playbooks/ci-workarounds/get_extra_logging.yaml +++ b/playbooks/ci-workarounds/get_extra_logging.yaml @@ -4,5 +4,5 @@ shell: "journalctl -t in.tftpd > {{ zuul_output_dir }}/logs/tftpd-journal.txt" become: yes - name: Get network connection information for ironic process - shell: "netstat -apn |grep ironic > {{ zuul_output_dir }}/logs/post-job-network-connections.txt" + shell: "netstat -apn > {{ zuul_output_dir }}/logs/post-job-network-connections.txt" become: yes