)]}'
{"test-log-collect.sh":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"4a430d28222243b74c895e8b7b03d82d897b2cf3","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"# Record the active interface configs"},{"line_number":187,"context_line":"for interface in $(ip -o link | awk -F\u0027:\u0027 \u0027{print $2}\u0027); do"},{"line_number":188,"context_line":"    ethtool -k ${interface} \u003e \"${WORKING_DIR}/logs/ethtool-${interface}-cfg.txt\""},{"line_number":189,"context_line":"done"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"# Compress the files gathered so that they do not take up too much space."}],"source_content_type":"text/x-sh","patch_set":1,"id":"df87a7cf_f530370a","line":188,"range":{"start_line":188,"start_character":4,"end_line":188,"end_character":80},"updated":"2017-12-04 13:14:08.000000000","message":"this would fail when ethtool is not present on the host. Please do a combined backport","commit_id":"ff19607cb81d0258bfc93ad6152465b4adeb8da4"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"aa38d8018d889e77c0025c6576f00d7f8a36823a","unresolved":false,"context_lines":[{"line_number":101,"context_line":"store_artifacts \"${TESTING_HOME}/.ara/ansible.sqlite\" \"${WORKING_DIR}/logs/ara/\""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"# Gather host etc artifacts"},{"line_number":104,"context_line":"for service in ${COMMON_ETC_LOG_NAMES}; do"},{"line_number":105,"context_line":"    store_artifacts \"/etc/${service}\" \"${WORKING_DIR}/logs/etc/host/\""},{"line_number":106,"context_line":"done"},{"line_number":107,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"df87a7cf_4eff0d01","line":104,"range":{"start_line":104,"start_character":0,"end_line":104,"end_character":42},"updated":"2017-12-04 15:13:31.000000000","message":"This loop might be too expensive. We are calling rsync too many times. Can we not rsync just the desired directories in one go? like\n\nrsync --include\u003drabbitmq/*** ... --exclude \u0027*\u0027 ... /etc/ .","commit_id":"5c7c550fb23c351a56bf630fdd5a1e206c768c2b"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"aa38d8018d889e77c0025c6576f00d7f8a36823a","unresolved":false,"context_lines":[{"line_number":111,"context_line":"   CONTAINER_PID\u003d$(sudo lxc-info -p -n ${CONTAINER_NAME} | awk \u0027{print $2}\u0027)"},{"line_number":112,"context_line":"   ETC_DIR\u003d\"/proc/${CONTAINER_PID}/root/etc\""},{"line_number":113,"context_line":"   LOG_DIR\u003d\"/proc/${CONTAINER_PID}/root/var/log\""},{"line_number":114,"context_line":"   for service in ${COMMON_ETC_LOG_NAMES}; do"},{"line_number":115,"context_line":"      store_artifacts ${ETC_DIR}/${service} \"${WORKING_DIR}/logs/etc/openstack/${CONTAINER_NAME}/\""},{"line_number":116,"context_line":"      store_artifacts ${LOG_DIR}/${service} \"${WORKING_DIR}/logs/openstack/${CONTAINER_NAME}/\""},{"line_number":117,"context_line":"   done"}],"source_content_type":"text/x-sh","patch_set":2,"id":"df87a7cf_6e045116","line":114,"range":{"start_line":114,"start_character":3,"end_line":114,"end_character":45},"updated":"2017-12-04 15:13:31.000000000","message":"ditto","commit_id":"5c7c550fb23c351a56bf630fdd5a1e206c768c2b"}]}
