Browse Source

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
changes/29/802829/1
Ian Wienand 6 months ago
parent
commit
22b4f74690
  1. 2
      playbooks/ci-workarounds/get_extra_logging.yaml

2
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

Loading…
Cancel
Save