)]}'
{"scripts/scripts-library.sh":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"10f3220b365f02f26aef96a0e0e9bf9087142082","unresolved":false,"context_lines":[{"line_number":28,"context_line":"GATE_EXIT_RUN_DSTAT\u003d\"${GATE_EXIT_RUN_DSTAT:-true}\""},{"line_number":29,"context_line":"# If this is a gate node from OpenStack-Infra Store all logs into the"},{"line_number":30,"context_line":"#  execution directory after gate run."},{"line_number":31,"context_line":"if [[ -n \"$ZUUL_PROJECT\" ]]; then"},{"line_number":32,"context_line":"  GATE_EXIT_LOG_COPY\u003dtrue"},{"line_number":33,"context_line":"fi"},{"line_number":34,"context_line":""}],"source_content_type":"text/x-sh","patch_set":7,"id":"1f485f77_7e5bde2d","line":31,"updated":"2017-11-10 11:36:15.000000000","message":"When executed without this var set, it\u0027s causing a failure (see external CI) due to the unbound variable.","commit_id":"cd4a3fd87455dcedd65474c0462bb9eb321ef5c7"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"caba99dc313387fbe3612ac2341d76c7d166f903","unresolved":false,"context_lines":[{"line_number":139,"context_line":"    fi"},{"line_number":140,"context_line":"    GATE_LOG_DIR\u003d\"${OSA_CLONE_DIR:-$(dirname $0)/..}/logs\""},{"line_number":141,"context_line":"    mkdir -p \"${GATE_LOG_DIR}/host\" \"${GATE_LOG_DIR}/openstack\""},{"line_number":142,"context_line":"    rsync --archive --verbose --safe-links --ignore-errors /var/log/ \"${GATE_LOG_DIR}/host\" || true"},{"line_number":143,"context_line":"    rsync --archive --verbose --safe-links --ignore-errors /openstack/log/ \"${GATE_LOG_DIR}/openstack\" || true"},{"line_number":144,"context_line":"    # Rename all files gathered to have a .txt suffix so that the compressed"},{"line_number":145,"context_line":"    # files are viewable via a web browser in OpenStack-CI."},{"line_number":146,"context_line":"    # except tempest results testrepository.subunit and testr_results.html"}],"source_content_type":"text/x-sh","patch_set":9,"id":"1f485f77_345ac34e","line":143,"range":{"start_line":142,"start_character":0,"end_line":143,"end_character":110},"updated":"2017-11-15 11:35:34.000000000","message":"Perhaps using the expanded options in https://github.com/openstack/openstack-ansible-tests/blob/master/test-log-collect.sh#L29 will help here?","commit_id":"99b24babe0571463a19957963bbe73a06c6c55a7"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"caba99dc313387fbe3612ac2341d76c7d166f903","unresolved":false,"context_lines":[{"line_number":166,"context_line":"    if [ \"$GATE_EXIT_LOG_GZIP\" \u003d\u003d true ]; then"},{"line_number":167,"context_line":"      command gzip --best --recursive \"${GATE_LOG_DIR}/\""},{"line_number":168,"context_line":"    fi"},{"line_number":169,"context_line":"    # Ensure that the files are readable by all users, including the non-root"},{"line_number":170,"context_line":"    # OpenStack-CI jenkins user."},{"line_number":171,"context_line":"    chmod -R 0777 \"${GATE_LOG_DIR}\""},{"line_number":172,"context_line":"  fi"},{"line_number":173,"context_line":"}"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-sh","patch_set":9,"id":"1f485f77_94173752","line":171,"range":{"start_line":169,"start_character":0,"end_line":171,"end_character":35},"updated":"2017-11-15 11:35:34.000000000","message":"Perhaps using https://github.com/openstack/openstack-ansible-tests/blob/master/test-log-collect.sh#L66-L73 would be more optimal?","commit_id":"99b24babe0571463a19957963bbe73a06c6c55a7"}]}
