Bug 693192 - Nightly builds infrequently fail with "make: *** [uploadsymbols] Error 50", r=ted
authorNick Thomas <nthomas@mozilla.com>
Tue, 10 Jan 2012 14:36:05 +1300
changeset 85301 366ca21f60e00cb5a83331d45312844dc19a4bf4
parent 85300 8a0f91a93adb06d61b68114c49462cd964731b93
child 85302 01d69766026d4a1ed6b56b5b8148a630ea6dde6a
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs693192
milestone12.0a1
Bug 693192 - Nightly builds infrequently fail with "make: *** [uploadsymbols] Error 50", r=ted
toolkit/crashreporter/tools/upload_symbols.sh
--- a/toolkit/crashreporter/tools/upload_symbols.sh
+++ b/toolkit/crashreporter/tools/upload_symbols.sh
@@ -68,17 +68,17 @@ scp -oLogLevel=DEBUG -oRekeyLimit=10M ${
   ${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:"${SYMBOL_SERVER_PATH}/${archive}"
 echo "Unpacking symbols on remote host..."
 ssh -2 ${SYMBOL_SERVER_PORT:+-p $SYMBOL_SERVER_PORT} \
   ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} \
   -l ${SYMBOL_SERVER_USER} ${SYMBOL_SERVER_HOST} \
   "set -e;
    umask 0022;
    cd ${SYMBOL_SERVER_PATH};
-   unzip -o '$archive';
+   unzip -n '$archive';
    rm -v '$archive';"
 if test -n "$POST_SYMBOL_UPLOAD_CMD"; then
   echo "${POST_SYMBOL_UPLOAD_CMD} \"${SYMBOL_SERVER_PATH}/${SYMBOL_INDEX_NAME}\""
   ssh -2 ${SYMBOL_SERVER_PORT:+-p $SYMBOL_SERVER_PORT} \
   ${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} \
   -l ${SYMBOL_SERVER_USER} ${SYMBOL_SERVER_HOST} \
   "${POST_SYMBOL_UPLOAD_CMD} \"${SYMBOL_SERVER_PATH}/${SYMBOL_INDEX_NAME}\""
 fi