+ trap fatal 1 2 3 14 15 + LOCK_PROCESS= + export collect_metrics=false + collect_metrics=false + begin_section Main + echo_service_message blockOpened 'name='\''Main'\''' + set +x + false + true + begin_section InitEnv + echo_service_message blockOpened 'name='\''InitEnv'\''' + set +x + false + true + pending_upload_pids= + begin_section SysPaths + echo_service_message blockOpened 'name='\''SysPaths'\''' + set +x + false + true + for d in /bin /usr/bin /usr/local/bin '"/cygdrive/c/Program Files/TortoiseHg"' + test -d /bin + export PATH=/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + PATH=/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + for d in /bin /usr/bin /usr/local/bin '"/cygdrive/c/Program Files/TortoiseHg"' + test -d /usr/bin + export PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + for d in /bin /usr/bin /usr/local/bin '"/cygdrive/c/Program Files/TortoiseHg"' + test -d /usr/local/bin + export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + for d in /bin /usr/bin /usr/local/bin '"/cygdrive/c/Program Files/TortoiseHg"' + test -d '/cygdrive/c/Program Files/TortoiseHg' + export CDPATH= + CDPATH= + end_section SysPaths + false + echo_service_message blockClosed 'name='\''SysPaths'\''' + set +x + begin_section Hostnames + echo_service_message blockOpened 'name='\''Hostnames'\''' + set +x + false + true ++ uname ++ cut -b-6 + export arch=Linux + arch=Linux ++ echo /var/opt/teamcity/buildscripts/shared/latest/hg/bin/build.sh ++ sed 's:[^/]*$:.:' + export here=/var/opt/teamcity/buildscripts/shared/latest/hg/bin/. + here=/var/opt/teamcity/buildscripts/shared/latest/hg/bin/. ++ cd /var/opt/teamcity/buildscripts/shared/latest/hg/bin/. ++ pwd + export helpers=/var/opt/teamcity/buildscripts/shared/latest/hg/bin + helpers=/var/opt/teamcity/buildscripts/shared/latest/hg/bin ++ date +%Y + export year=2010 + year=2010 + test -r /etc/debian_version ++ cat /etc/debian_version + debian_version=5.0.6 + case "$debian_version" in + export debian_version=lenny + debian_version=lenny + case "$arch" in ++ hostname -f + export hostname=build-linux3.phx.lindenlab.com + hostname=build-linux3.phx.lindenlab.com + echo build-linux3.phx.lindenlab.com + end_section Hostnames + false + echo_service_message blockClosed 'name='\''Hostnames'\''' + set +x + begin_section Automation + echo_service_message blockOpened 'name='\''Automation'\''' + set +x + false + true + case "x$1" in + '[' -d latest ']' + latest_exists=true + cd latest + find .. -maxdepth 1 -type f + xargs rm -f ++ cd .. ++ pwd + export top=/var/opt/teamcity/checkout/L-background-updater + top=/var/opt/teamcity/checkout/L-background-updater + '[' -n '' ']' + '[' -n L-background-updater ']' + export invoked_by_teamcity=true + invoked_by_teamcity=true + export invoked_by_parabuild=false + invoked_by_parabuild=false + export build_name=L-background-updater + build_name=L-background-updater + export build_number=16 + build_number=16 ++ echo L-background-updater ++ sed 's/^[^-]*-//' + export repo=background-updater + repo=background-updater ++ echo background-updater ++ sed -e '/^[^-_]*-.*_/s/_.*//' -e 's/^[^_]*_\([^_]*\).*/\1/' + export branch=background-updater + branch=background-updater ++ echo background-updater ++ awk -F_ '/^[^-_]*-[^_]*$/{print "";} /^[^-_]*-.*_/{print "_"$2} /^[^-_]*_/ { print "_"$3}' + export suffix= + suffix= + '[' '' = _ ']' + export build_log_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + build_log_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + export build_log=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + build_log=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + export build_id=16 + build_id=16 + send_notifications=true + cat + end_section Automation + false + echo_service_message blockClosed 'name='\''Automation'\''' + set +x + is_the_build_test + case "$branch" in + return 1 + begin_section VersionCtl + echo_service_message blockOpened 'name='\''VersionCtl'\''' + set +x + false + true ++ pwd + export root=/var/opt/teamcity/checkout/L-background-updater/latest + root=/var/opt/teamcity/checkout/L-background-updater/latest + rm -rf /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + mkdir -p /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + export using_git=false + using_git=false + export using_hg=false + using_hg=false + export using_svn=false + using_svn=false + export vc_system=None + vc_system=None + export repo_url=None + repo_url=None + is_the_build_test + case "$branch" in + return 1 + export interesting_vcs_dir=. + interesting_vcs_dir=. + test -d .hg + export using_hg=true + using_hg=true + export vc_system=hg + vc_system=hg + case "$arch" in + export HGRCPATH=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc + HGRCPATH=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc + cp .hg/hgrc /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc + grep '\[extensions\]' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc + echo '[extensions]' + false + tags_rev=true + pushd . + true ++ hg parents --template 'files='\''{files}'\''; rev='\''{rev}'\''' + eval 'files='\''indra/viewer_components/updater/llupdaterservice.h'\'';' 'rev='\''13264'\''' ++ files=indra/viewer_components/updater/llupdaterservice.h ++ rev=13264 + '[' indra/viewer_components/updater/llupdaterservice.h = .hgtags ']' + echo Good rev: 13264 + tags_rev=false + false ++ hg paths ++ sed -e 's/default = //' -e s,ssh://,http://, + export repo_url=http://bitbucket.org/mani_linden/viewer-development + repo_url=http://bitbucket.org/mani_linden/viewer-development + echo 'Mercurial Repo: http://bitbucket.org/mani_linden/viewer-development' + popd + end_section VersionCtl + false + echo_service_message blockClosed 'name='\''VersionCtl'\''' + set +x + begin_section BuildParams + echo_service_message blockOpened 'name='\''BuildParams'\''' + set +x + false + true + get_build_params + '[' -r BuildParams ']' + buildparams=BuildParams + '[' x = x ']' + prefixes=background-updater,background-updater + /var/opt/teamcity/buildscripts/shared/latest/hg/bin/get_params.py --branch=background-updater,background-updater --platform=Linux /var/opt/teamcity/buildscripts/shared/latest/hg/bin/../BuildParams BuildParams + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ export jira= ++ jira= ++ export build_viewer=true ++ build_viewer=true ++ export 'get_latest=$helper/hg/bin/get_latest_from_s3.py' ++ get_latest='$helper/hg/bin/get_latest_from_s3.py' ++ export private_S3PROXY_URL=http://s3-proxy.lindenlab.com/private-builds-secondlife-com/ ++ private_S3PROXY_URL=http://s3-proxy.lindenlab.com/private-builds-secondlife-com/ ++ export 'results=$helper/hg/bin/results.py' ++ results='$helper/hg/bin/results.py' ++ export export_svn_password=@merov_password.txt ++ export_svn_password=@merov_password.txt ++ export build_viewer_update_version_manager_version= ++ build_viewer_update_version_manager_version= ++ export 'pyjira=$helper/hg/bin/jira-add-comment.py' ++ pyjira='$helper/hg/bin/jira-add-comment.py' ++ export build_RelWithDebInfo=true ++ build_RelWithDebInfo=true ++ export build_Darwin_Release=true ++ build_Darwin_Release=true ++ export 'variants=Debug RelWithDebInfo Release' ++ variants='Debug RelWithDebInfo Release' ++ export 'redirect=$helper/hg/bin/redirect.py' ++ redirect='$helper/hg/bin/redirect.py' ++ export can_build_link_parallel=true ++ can_build_link_parallel=true ++ export private_S3ACL=private ++ private_S3ACL=private ++ export build_CYGWIN=true ++ build_CYGWIN=true ++ export 'dfw_DISTCC_HOSTS=build-linux7.dfw.lindenlab.com/2 build-linux9.dfw.lindenlab.com/2 build-linux10.dfw.lindenlab.com/2 build-linux11.dfw.lindenlab.com/2 build-linux12.dfw.lindenlab.com/2 build-linux13.dfw.lindenlab.com/2 build-linux14.dfw.lindenlab.com/2 build-linux15.dfw.lindenlab.com/2' ++ dfw_DISTCC_HOSTS='build-linux7.dfw.lindenlab.com/2 build-linux9.dfw.lindenlab.com/2 build-linux10.dfw.lindenlab.com/2 build-linux11.dfw.lindenlab.com/2 build-linux12.dfw.lindenlab.com/2 build-linux13.dfw.lindenlab.com/2 build-linux14.dfw.lindenlab.com/2 build-linux15.dfw.lindenlab.com/2' ++ export 'other_archs=Darwin CYGWIN' ++ other_archs='Darwin CYGWIN' ++ export build_debian_packages=false ++ build_debian_packages=false ++ export 'python_path=$helper/hg/bin:$helper/hg/lib' ++ python_path='$helper/hg/bin:$helper/hg/lib' ++ export metrics_collector_url=http://pdp4.lindenlab.com:8000/FlyPaper/TeamCityMetrics/ ++ metrics_collector_url=http://pdp4.lindenlab.com:8000/FlyPaper/TeamCityMetrics/ ++ export 'mail=$helper/hg/bin/mail.py' ++ mail='$helper/hg/bin/mail.py' ++ export 'email_status_always=@$helper/hg/email_status_always' ++ email_status_always='@$helper/hg/email_status_always' ++ export build_Darwin=true ++ build_Darwin=true ++ export S3PUT_PUBLIC_URL=https://s3.amazonaws.com/viewer-source-downloads/ ++ S3PUT_PUBLIC_URL=https://s3.amazonaws.com/viewer-source-downloads/ ++ export distcc_version=/usr/bin/distcc ++ distcc_version=/usr/bin/distcc ++ export 'all_done=$helper/hg/bin/all_done.py' ++ all_done='$helper/hg/bin/all_done.py' ++ export viewer_grid=agni ++ viewer_grid=agni ++ export S3PGI_PREFIX=pgi/ ++ S3PGI_PREFIX=pgi/ ++ export server_grid=aditi ++ server_grid=aditi ++ export 'pig_command=pig --debug' ++ pig_command='pig --debug' ++ export build_Linux_RelWithDebInfo=true ++ build_Linux_RelWithDebInfo=true ++ export public_S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ public_S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ export 'since_extension=$helper/hg/ext/since.py' ++ since_extension='$helper/hg/ext/since.py' ++ export pgi_datastore_url=http://pgi-datastore.lindenlab.com/pgi ++ pgi_datastore_url=http://pgi-datastore.lindenlab.com/pgi ++ export private_S3PUT_URL=https://s3.amazonaws.com/private-builds-secondlife-com/ ++ private_S3PUT_URL=https://s3.amazonaws.com/private-builds-secondlife-com/ ++ export email_status_this_is_os=true ++ email_status_this_is_os=true ++ export build_Linux_Debug=true ++ build_Linux_Debug=true ++ export private_S3GET_URL=http://s3-proxy.lindenlab.com/private-builds-secondlife-com/ ++ private_S3GET_URL=http://s3-proxy.lindenlab.com/private-builds-secondlife-com/ ++ export pig_parallel=3 ++ pig_parallel=3 ++ export public_S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ ++ public_S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ ++ export public_build=true ++ public_build=true ++ export 'viewer_channel=Second Life Developer' ++ viewer_channel='Second Life Developer' ++ export fmod_tar=fmodapi375linux.tar.gz ++ fmod_tar=fmodapi375linux.tar.gz ++ export export_svn_url=https://svn.secondlife.com/svn/linden/branches/2010/viewer-external ++ export_svn_url=https://svn.secondlife.com/svn/linden/branches/2010/viewer-external ++ export collect_metrics=false ++ collect_metrics=false ++ export 'vmclient=$helper/hg/bin/vmclient.py' ++ vmclient='$helper/hg/bin/vmclient.py' ++ export S3PREFIX=hg/ ++ S3PREFIX=hg/ ++ export 'fmod_target_dirs=libraries/i686-linux/lib_debug libraries/i686-linux/lib_release libraries/i686-linux/lib_release_client' ++ fmod_target_dirs='libraries/i686-linux/lib_debug libraries/i686-linux/lib_release libraries/i686-linux/lib_release_client' ++ export build_bundle=false ++ build_bundle=false ++ export global_download_cache=/var/opt/parabuild/buildscripts/download-cache ++ global_download_cache=/var/opt/parabuild/buildscripts/download-cache ++ export build_viewer_update_version_manager=false ++ build_viewer_update_version_manager=false ++ export build_CYGWIN_RelWithDebInfo=true ++ build_CYGWIN_RelWithDebInfo=true ++ export email= ++ email= ++ export 'server_channel=Second Life Server' ++ server_channel='Second Life Server' ++ export fmod=fmodapi375linux ++ fmod=fmodapi375linux ++ export public_S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ public_S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ export INSTALL_USE_HTTP_FOR_SCP=true ++ INSTALL_USE_HTTP_FOR_SCP=true ++ export build_Darwin_RelWithDebInfo=true ++ build_Darwin_RelWithDebInfo=true ++ export cxx_version=/usr/bin/g++-4.1 ++ cxx_version=/usr/bin/g++-4.1 ++ export codeticket_server_url=http://build.lindenlab.com:12140/codeticket/linden/ ++ codeticket_server_url=http://build.lindenlab.com:12140/codeticket/linden/ ++ export build_server=true ++ build_server=true ++ export S3EXTERNAL_URL=http://secondlife.com/developers/opensource/downloads/ ++ S3EXTERNAL_URL=http://secondlife.com/developers/opensource/downloads/ ++ export build_server_update_version_manager=false ++ build_server_update_version_manager=false ++ export export_opensrc=false ++ export_opensrc=false ++ export 'cmake_generator=Unix Makefiles' ++ cmake_generator='Unix Makefiles' ++ export public_S3ACL=public-read ++ public_S3ACL=public-read ++ export build_coverity=true ++ build_coverity=true ++ export coverity_server=build-linux-master.phx.lindenlab.com ++ coverity_server=build-linux-master.phx.lindenlab.com ++ export WGET_CACHE=/var/tmp/parabuild/wget ++ WGET_CACHE=/var/tmp/parabuild/wget ++ export build_Release=true ++ build_Release=true ++ export CYGWIN_export_arch=win32 ++ CYGWIN_export_arch=win32 ++ export S3IMG_PREFIX=img/ ++ S3IMG_PREFIX=img/ ++ export Darwin_export_arch=darwin ++ Darwin_export_arch=darwin ++ export gcc_version=/usr/bin/gcc-4.1 ++ gcc_version=/usr/bin/gcc-4.1 ++ export 'login_channel=Second Life Developer' ++ login_channel='Second Life Developer' ++ export build_Linux_Release=true ++ build_Linux_Release=true ++ export export_eol=LF ++ export_eol=LF ++ export 'dtree_js=$helper/hg/lib/dtree/dtree.js' ++ dtree_js='$helper/hg/lib/dtree/dtree.js' ++ export S3ACL_PUBLIC=public-read ++ S3ACL_PUBLIC=public-read ++ export build_Darwin_Debug=true ++ build_Darwin_Debug=true ++ export S3PROXY_PUBLIC_URL=http://s3-proxy.lindenlab.com/viewer-source-downloads/ ++ S3PROXY_PUBLIC_URL=http://s3-proxy.lindenlab.com/viewer-source-downloads/ ++ export 'phx_DISTCC_HOSTS=build-linux0.phx.lindenlab.com/2 build-linux1.phx.lindenlab.com/2 build-linux2.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux6.phx.lindenlab.com/2 ' ++ phx_DISTCC_HOSTS='build-linux0.phx.lindenlab.com/2 build-linux1.phx.lindenlab.com/2 build-linux2.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux6.phx.lindenlab.com/2 ' ++ export symbolfiles=newview/secondlife-symbols-linux.tar.bz2 ++ symbolfiles=newview/secondlife-symbols-linux.tar.bz2 ++ export public_S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ public_S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ export LOCK_CREATE=/usr/bin/lockfile-create ++ LOCK_CREATE=/usr/bin/lockfile-create ++ export 'private_public_S3_variables=S3PROXY_URL S3INTERNAL_URL S3GET_URL S3PUT_URL S3ACL' ++ private_public_S3_variables='S3PROXY_URL S3INTERNAL_URL S3GET_URL S3PUT_URL S3ACL' ++ export coverity_dir=/not/installed ++ coverity_dir=/not/installed ++ export S3GET_PUBLIC_URL=http://s3-proxy.lindenlab.com/viewer-source-downloads/ ++ S3GET_PUBLIC_URL=http://s3-proxy.lindenlab.com/viewer-source-downloads/ ++ export build_debug_release_separately=false ++ build_debug_release_separately=false ++ export build_docs=false ++ build_docs=false ++ export fmod_url=http://www.fmod.org/files/fmod3 ++ fmod_url=http://www.fmod.org/files/fmod3 ++ export parallel_uploads=true ++ parallel_uploads=true ++ export build_CYGWIN_Debug=true ++ build_CYGWIN_Debug=true ++ export fmod_so=libfmod-3.75.so ++ fmod_so=libfmod-3.75.so ++ export build_CYGWIN_Release=true ++ build_CYGWIN_Release=true ++ export show_changes_since= ++ show_changes_since= ++ export pig_debootstrap_squeeze=http://10.3.7.80/debian-mirror/ ++ pig_debootstrap_squeeze=http://10.3.7.80/debian-mirror/ ++ export 'revclient=$helper/hg/bin/revclient.py' ++ revclient='$helper/hg/bin/revclient.py' ++ export build_Debug=true ++ build_Debug=true ++ export S3PUBLIC_PREFIX=viewer-external/hg/ ++ S3PUBLIC_PREFIX=viewer-external/hg/ ++ export build_link_parallel=true ++ build_link_parallel=true ++ export LOCK_REMOVE=/usr/bin/lockfile-remove ++ LOCK_REMOVE=/usr/bin/lockfile-remove ++ export 'dtree_css=$helper/hg/lib/dtree/dtree.css' ++ dtree_css='$helper/hg/lib/dtree/dtree.css' ++ export fmod_lib=. ++ fmod_lib=. ++ export LOCK_TOUCH=/usr/bin/lockfile-touch ++ LOCK_TOUCH=/usr/bin/lockfile-touch ++ export export_svn_username=@merov_username.txt ++ export_svn_username=@merov_username.txt ++ export pig_debootstrap_etch=http://10.3.7.80/debian-archive/ ++ pig_debootstrap_etch=http://10.3.7.80/debian-archive/ ++ export email_status= ++ email_status= ++ export Linux_export_arch=linux ++ Linux_export_arch=linux ++ export build_Linux=true ++ build_Linux=true ++ export build_emake=false ++ build_emake=false ++ export build_server_stage=false ++ build_server_stage=false ++ export 'search_js=$helper/hg/lib/since/search.js' ++ search_js='$helper/hg/lib/since/search.js' ++ export pig_debootstrap_lenny=http://10.3.7.80/debian-mirror/ ++ pig_debootstrap_lenny=http://10.3.7.80/debian-mirror/ ++ export 'email_status_opensource=@$helper/hg/email_status_opensource' ++ email_status_opensource='@$helper/hg/email_status_opensource' ++ export gen_pig_options= ++ gen_pig_options= ++ export build_clean_on_success=true ++ build_clean_on_success=true ++ export private_S3INTERNAL_URL=http://private-builds-secondlife-com.s3.amazonaws.com/ ++ private_S3INTERNAL_URL=http://private-builds-secondlife-com.s3.amazonaws.com/ ++ export build_server_tests=true ++ build_server_tests=true + case "$arch" in + remove_cr='sed -e s/\r[^\n\r]*//g -e s/\r//g' + test -d /not/installed + build_coverity=false + emake --version /var/opt/teamcity/buildscripts/shared/latest/hg/bin/build.sh: line 1030: emake: command not found + build_emake=false + false + true ++ cd /var/opt/teamcity/buildscripts/shared/latest/hg/bin/../.. ++ pwd + export helper=/var/opt/teamcity/buildscripts/shared/latest + helper=/var/opt/teamcity/buildscripts/shared/latest + case $arch in + export PATH=:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + PATH=:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + eval 'export SIGN=""' ++ export SIGN= ++ SIGN= + true + grep 'since =' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc + eval 'echo "since = $helper/hg/ext/since.py" >> /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/hgrc' ++ echo 'since = /var/opt/teamcity/buildscripts/shared/latest/hg/ext/since.py' + case "$arch" in + '[' -n '' ']' + eval 'export my_python_path="$helper/hg/bin:$helper/hg/lib"' ++ export my_python_path=/var/opt/teamcity/buildscripts/shared/latest/hg/bin:/var/opt/teamcity/buildscripts/shared/latest/hg/lib ++ my_python_path=/var/opt/teamcity/buildscripts/shared/latest/hg/bin:/var/opt/teamcity/buildscripts/shared/latest/hg/lib + revclientpath= + eval 'export search_js="$helper/hg/lib/since/search.js"' ++ export search_js=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/since/search.js ++ search_js=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/since/search.js + eval 'export dtree_css="$helper/hg/lib/dtree/dtree.css"' ++ export dtree_css=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/dtree/dtree.css ++ dtree_css=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/dtree/dtree.css + eval 'export dtree_js="$helper/hg/lib/dtree/dtree.js"' ++ export dtree_js=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/dtree/dtree.js ++ dtree_js=/var/opt/teamcity/buildscripts/shared/latest/hg/lib/dtree/dtree.js + case "$arch" in + '[' -n /usr/bin/distcc ']' + '[' -r /usr/bin/distcc ']' + distcc='/usr/bin/distcc ' + case "$hostname" in + export 'DISTCC_HOSTS=build-linux0.phx.lindenlab.com/2 build-linux1.phx.lindenlab.com/2 build-linux2.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux6.phx.lindenlab.com/2 ' + DISTCC_HOSTS='build-linux0.phx.lindenlab.com/2 build-linux1.phx.lindenlab.com/2 build-linux2.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux5.phx.lindenlab.com/2 build-linux6.phx.lindenlab.com/2 ' + case "$arch" in + test -x /usr/bin/gcc-4.1 + export 'CC=/usr/bin/distcc /usr/bin/gcc-4.1' + CC='/usr/bin/distcc /usr/bin/gcc-4.1' + test -x /usr/bin/g++-4.1 + export 'CXX=/usr/bin/distcc /usr/bin/g++-4.1' + CXX='/usr/bin/distcc /usr/bin/g++-4.1' + acquire_lock + locking_available + '[' -d /opt/teamcity/buildAgent2 ']' + test -n /usr/bin/lockfile-create -a -x /usr/bin/lockfile-create -a -n /usr/bin/lockfile-touch -a -x /usr/bin/lockfile-touch -a -n /usr/bin/lockfile-remove -a -x /usr/bin/lockfile-remove + begin_section GetLock + echo_service_message blockOpened 'name='\''GetLock'\''' + set +x + false + true + /usr/bin/lockfile-create /var/lock/update-system-config --retry 99 + LOCK_PROCESS=28417 + end_section GetLock + false + echo_service_message blockClosed 'name='\''GetLock'\''' + set +x + trap release_lock EXIT + begin_section Policies + echo_service_message blockOpened 'name='\''Policies'\''' + set +x + false + true + '[' -r BuildParams ']' + export build_params_used=true + build_params_used=true + begin_section Publishing + echo_service_message blockOpened 'name='\''Publishing'\''' + set +x + false + true + echo public_build=true + true + echo Applying public S3 build publishing policy + for var in '$private_public_S3_variables' + eval 'set_param S3PROXY_URL="$public_S3PROXY_URL";' ++ set_param S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local var=S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local val= ++ case "$var" in +++ echo S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/.*=//' ++ val=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ echo S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/=.*//' ++ var=S3PROXY_URL ++ grep -q '^export S3PROXY_URL=.*; # BuildParams$' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ eval 'export S3PROXY_URL="http://automated-builds-secondlife-com.s3.amazonaws.com/"' +++ export S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ S3PROXY_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ + for var in '$private_public_S3_variables' + eval 'set_param S3INTERNAL_URL="$public_S3INTERNAL_URL";' ++ set_param S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local var=S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local val= ++ case "$var" in +++ echo S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/.*=//' ++ val=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ echo S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/=.*//' ++ var=S3INTERNAL_URL ++ grep -q '^export S3INTERNAL_URL=.*; # BuildParams$' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ eval 'export S3INTERNAL_URL="http://automated-builds-secondlife-com.s3.amazonaws.com/"' +++ export S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ S3INTERNAL_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ + for var in '$private_public_S3_variables' + eval 'set_param S3GET_URL="$public_S3GET_URL";' ++ set_param S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local var=S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ local val= ++ case "$var" in +++ echo S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/.*=//' ++ val=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ echo S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ sed 's/=.*//' ++ var=S3GET_URL ++ grep -q '^export S3GET_URL=.*; # BuildParams$' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ eval 'export S3GET_URL="http://automated-builds-secondlife-com.s3.amazonaws.com/"' +++ export S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ +++ S3GET_URL=http://automated-builds-secondlife-com.s3.amazonaws.com/ + for var in '$private_public_S3_variables' + eval 'set_param S3PUT_URL="$public_S3PUT_URL";' ++ set_param S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ ++ local var=S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ ++ local val= ++ case "$var" in +++ echo S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ +++ sed 's/.*=//' ++ val=https://s3.amazonaws.com/automated-builds-secondlife-com/ +++ echo S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ +++ sed 's/=.*//' ++ var=S3PUT_URL ++ grep -q '^export S3PUT_URL=.*; # BuildParams$' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ eval 'export S3PUT_URL="https://s3.amazonaws.com/automated-builds-secondlife-com/"' +++ export S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ +++ S3PUT_URL=https://s3.amazonaws.com/automated-builds-secondlife-com/ + for var in '$private_public_S3_variables' + eval 'set_param S3ACL="$public_S3ACL";' ++ set_param S3ACL=public-read ++ local var=S3ACL=public-read ++ local val= ++ case "$var" in +++ echo S3ACL=public-read +++ sed 's/.*=//' ++ val=public-read +++ echo S3ACL=public-read +++ sed 's/=.*//' ++ var=S3ACL ++ grep -q '^export S3ACL=.*; # BuildParams$' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh ++ eval 'export S3ACL="public-read"' +++ export S3ACL=public-read +++ S3ACL=public-read + end_section Publishing + false + echo_service_message blockClosed 'name='\''Publishing'\''' + set +x + begin_section 'Dev Build' + echo_service_message blockOpened 'name='\''Dev Build'\''' + set +x + false + true + true + echo Applying Automated Build policy. + end_section 'Dev Build' + false + echo_service_message blockClosed 'name='\''Dev Build'\''' + set +x + begin_section 'Parallel Variant Builds' + echo_service_message blockOpened 'name='\''Parallel Variant Builds'\''' + set +x + false + true + true + echo Applying Parallel Variant Builds Policy + export build_link_parallel=true + build_link_parallel=true + end_section 'Parallel Variant Builds' + false + echo_service_message blockClosed 'name='\''Parallel Variant Builds'\''' + set +x + begin_section 'Split Debug / Release' + echo_service_message blockOpened 'name='\''Split Debug / Release'\''' + set +x + false + true + echo build_debug_release_separately=false + false + echo Applying combined debug and release build policy. + end_section 'Split Debug / Release' + false + echo_service_message blockClosed 'name='\''Split Debug / Release'\''' + set +x + begin_section Coverity + echo_service_message blockOpened 'name='\''Coverity'\''' + set +x + false + true + echo build_coverity=false + echo coverity_product= + false + echo Applying non-coverity policy. + end_section Coverity + false + echo_service_message blockClosed 'name='\''Coverity'\''' + set +x ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/ ++ sed -e 's:.*/\([^/][^/]*\)/$:\1:' -e s/.s3.amazonaws.com// + export private_bucket=automated-builds-secondlife-com + private_bucket=automated-builds-secondlife-com ++ echo http://s3-proxy.lindenlab.com/viewer-source-downloads/ ++ sed -e 's:.*/\([^/][^/]*\)/$:\1:' -e s/.s3.amazonaws.com// + export public_bucket=viewer-source-downloads + public_bucket=viewer-source-downloads + end_section Policies + false + echo_service_message blockClosed 'name='\''Policies'\''' + set +x + true + get_ticket + begin_section GetTicket + echo_service_message blockOpened 'name='\''GetTicket'\''' + set +x + false + true + local is_a_test=false + '[' -z '' ']' + true ++ cd . ++ hg parents ++ awk -F: '/^changeset:/ { print $3 }' ++ sed 1q + export changeset=adebf67374c8 + changeset=adebf67374c8 + test xadebf67374c8 = x + '[' -n '' ']' + eval 'export revision=`python "$helper/hg/bin/revclient.py" \ --codeticket-server="http://build.lindenlab.com:12140/codeticket/linden/" \ --changeset="adebf67374c8" \ s3_url="http://automated-builds-secondlife-com.s3.amazonaws.com/" \ s3_prefix="hg/" \ vc_system="hg"\ repo_url="http://bitbucket.org/mani_linden/viewer-development" \ repo="background-updater" \ arch="Linux" \ | sed '\''s/[^0-9]//g'\''`' +++ sed 's/[^0-9]//g' +++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://build.lindenlab.com:12140/codeticket/linden/ --changeset=adebf67374c8 s3_url=http://automated-builds-secondlife-com.s3.amazonaws.com/ s3_prefix=hg/ vc_system=hg repo_url=http://bitbucket.org/mani_linden/viewer-development repo=background-updater arch=Linux ++ export revision=214001 ++ revision=214001 + test x214001 = x + echo 'adebf67374c8 -> 214001' + end_section GetTicket + false + echo_service_message blockClosed 'name='\''GetTicket'\''' + set +x + cp /dev/null /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls + cp /dev/null /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial + cp /dev/null /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + true + hg manifest + end_section BuildParams + false + echo_service_message blockClosed 'name='\''BuildParams'\''' + set +x + begin_section Externals + echo_service_message blockOpened 'name='\''Externals'\''' + set +x + false + true + '[' -r externals.sh ']' + end_section Externals + false + echo_service_message blockClosed 'name='\''Externals'\''' + set +x + end_section InitEnv + false + echo_service_message blockClosed 'name='\''InitEnv'\''' + set +x + begin_section Build + echo_service_message blockOpened 'name='\''Build'\''' + set +x + false + true + export succeeded=true + succeeded=true + rm -f /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/subshell_returns.sh + true + '[' -r build.sh ']' + begin_section build.sh + echo_service_message blockOpened 'name='\''build.sh'\''' + set +x + false + true + process_suffix_options + case "$suffix" in + export release=etch + release=etch + export package_for_release=Any + package_for_release=Any + export pig_debootstrap=http://10.3.7.80/debian-archive/ + pig_debootstrap=http://10.3.7.80/debian-archive/ + case "$suffix" in + export image_format=ami + image_format=ami + validate_build_agent + begin_section 'Validate Build Agent' + echo_service_message blockOpened 'name='\''Validate Build Agent'\''' + set +x + false + true + '[' Any '!=' Any ']' + echo 'No special build agent required, good.' + end_section 'Validate Build Agent' + false + echo_service_message blockClosed 'name='\''Validate Build Agent'\''' + set +x + true + trap process_pending_uploads EXIT + . build.sh ++ '[' xLinux = x ']' ++ eval '$build_Linux' +++ true ++ test -f scripts/update_version_files.py ++ begin_section UpdateVer ++ echo_service_message blockOpened 'name='\''UpdateVer'\''' ++ set +x ++ false ++ true ++ scripts/update_version_files.py '--channel=Second Life Developer' '--server_channel=Second Life Server' --revision=214001 --verbose ++ end_section UpdateVer ++ false ++ echo_service_message blockClosed 'name='\''UpdateVer'\''' ++ set +x +++ scripts/get_version.py --viewer-version ./build.sh: line 150: scripts/get_version.py: No such file or directory +++ sed 's/\.[0-9]*$//' ++ build_viewer_update_version_manager_version= ++ cd indra ++ succeeded=true ++ build_processes= ++ last_built_variant= ++ for variant in '$variants' ++ eval '$build_Debug' +++ true ++ eval '$build_Linux_Debug' +++ true ++ last_built_variant=Debug ++ begin_section DoDebug ++ echo_service_message blockOpened 'name='\''DoDebug'\''' ++ set +x ++ false ++ true +++ build_dir_Linux Debug ++++ echo Debug ++++ tr A-Z a-z +++ echo viewer-linux-i686-debug ++ build_dir=viewer-linux-i686-debug ++ build_dir_stubs=viewer-linux-i686-debug/win_setup/Debug ++ rm -rf viewer-linux-i686-debug ++ mkdir -p viewer-linux-i686-debug ++ pre_build Debug viewer-linux-i686-debug ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 29540' ++ end_section BuildParallel ++ false ++ build Debug viewer-linux-i686-debug ++ echo_service_message blockClosed 'name='\''BuildParallel'\''' ++ set +x ++ end_section DoDebug ++ false ++ echo_service_message blockClosed 'name='\''DoDebug'\''' ++ set +x ++ for variant in '$variants' ++ eval '$build_RelWithDebInfo' +++ true ++ eval '$build_Linux_RelWithDebInfo' +++ true ++ last_built_variant=RelWithDebInfo ++ begin_section DoRelWithDebInfo ++ echo_service_message blockOpened 'name='\''DoRelWithDebInfo'\''' ++ set +x ++ false ++ true +++ build_dir_Linux RelWithDebInfo ++++ echo RelWithDebInfo ++++ tr A-Z a-z +++ echo viewer-linux-i686-relwithdebinfo ++ build_dir=viewer-linux-i686-relwithdebinfo ++ build_dir_stubs=viewer-linux-i686-relwithdebinfo/win_setup/RelWithDebInfo ++ rm -rf viewer-linux-i686-relwithdebinfo ++ mkdir -p viewer-linux-i686-relwithdebinfo ++ pre_build RelWithDebInfo viewer-linux-i686-relwithdebinfo ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 29540 31698' ++ end_section BuildParallel ++ false ++ echo_service_message blockClosed 'name='\''BuildParallel'\''' ++ set +x ++ build RelWithDebInfo viewer-linux-i686-relwithdebinfo ++ end_section DoRelWithDebInfo ++ false ++ echo_service_message blockClosed 'name='\''DoRelWithDebInfo'\''' ++ set +x ++ for variant in '$variants' ++ eval '$build_Release' +++ true ++ eval '$build_Linux_Release' +++ true ++ last_built_variant=Release ++ begin_section DoRelease ++ echo_service_message blockOpened 'name='\''DoRelease'\''' ++ set +x ++ false ++ true +++ build_dir_Linux Release ++++ echo Release ++++ tr A-Z a-z +++ echo viewer-linux-i686-release ++ build_dir=viewer-linux-i686-release ++ build_dir_stubs=viewer-linux-i686-release/win_setup/Release ++ rm -rf viewer-linux-i686-release ++ mkdir -p viewer-linux-i686-release ++ pre_build Release viewer-linux-i686-release ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 29540 31698 2105' ++ end_section BuildParallel ++ false ++ echo_service_message blockClosed 'name='\''BuildParallel'\''' ++ build Release viewer-linux-i686-release ++ set +x ++ end_section DoRelease ++ false ++ echo_service_message blockClosed 'name='\''DoRelease'\''' ++ set +x ++ true ++ '[' 'x 29540 31698 2105' '!=' x ']' ++ begin_section WaitParallel ++ echo_service_message blockOpened 'name='\''WaitParallel'\''' ++ set +x ++ false ++ true ++ wait 29540 31698 2105 ++ for variant in '$variants' ++ eval '$build_Debug' +++ true ++ eval '$build_Linux_Debug' +++ true ++ begin_section BuildDebug ++ echo_service_message blockOpened 'name='\''BuildDebug'\''' ++ set +x ++ false ++ true +++ build_dir_Linux Debug ++++ echo Debug ++++ tr A-Z a-z +++ echo viewer-linux-i686-debug ++ build_dir=viewer-linux-i686-debug ++ build_dir_stubs=viewer-linux-i686-debug/win_setup/Debug +++ cat viewer-linux-i686-debug/build_ok ++ false ++ record_failure 'Parallel build of "Debug" failed.' ++ echo_service_message message 'text='\''Parallel build of "Debug" failed.'\''' 'status='\''FAILURE'\''' ++ set +x ++ succeeded=false ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt ++ grep --line-buffered '^##teamcity' ++ end_section Tests ++ false ++ echo_service_message blockClosed 'name='\''Tests'\''' ++ set +x ++ end_section BuildDebug ++ false ++ echo_service_message blockClosed 'name='\''BuildDebug'\''' ++ set +x ++ for variant in '$variants' ++ eval '$build_RelWithDebInfo' +++ true ++ eval '$build_Linux_RelWithDebInfo' +++ true ++ begin_section BuildRelWithDebInfo ++ echo_service_message blockOpened 'name='\''BuildRelWithDebInfo'\''' ++ set +x ++ false ++ true +++ build_dir_Linux RelWithDebInfo ++++ echo RelWithDebInfo ++++ tr A-Z a-z +++ echo viewer-linux-i686-relwithdebinfo ++ build_dir=viewer-linux-i686-relwithdebinfo ++ build_dir_stubs=viewer-linux-i686-relwithdebinfo/win_setup/RelWithDebInfo +++ cat viewer-linux-i686-relwithdebinfo/build_ok ++ false ++ record_failure 'Parallel build of "RelWithDebInfo" failed.' ++ echo_service_message message 'text='\''Parallel build of "RelWithDebInfo" failed.'\''' 'status='\''FAILURE'\''' ++ set +x ++ succeeded=false ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt ++ grep --line-buffered '^##teamcity' ++ end_section Tests ++ false ++ echo_service_message blockClosed 'name='\''Tests'\''' ++ set +x ++ end_section BuildRelWithDebInfo ++ false ++ echo_service_message blockClosed 'name='\''BuildRelWithDebInfo'\''' ++ set +x ++ for variant in '$variants' ++ eval '$build_Release' +++ true ++ eval '$build_Linux_Release' +++ true ++ begin_section BuildRelease ++ echo_service_message blockOpened 'name='\''BuildRelease'\''' ++ set +x ++ false ++ true +++ build_dir_Linux Release ++++ echo Release ++++ tr A-Z a-z +++ echo viewer-linux-i686-release ++ build_dir=viewer-linux-i686-release ++ build_dir_stubs=viewer-linux-i686-release/win_setup/Release +++ cat viewer-linux-i686-release/build_ok ++ false ++ record_failure 'Parallel build of "Release" failed.' ++ echo_service_message message 'text='\''Parallel build of "Release" failed.'\''' 'status='\''FAILURE'\''' ++ set +x ++ succeeded=false ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt ++ grep --line-buffered '^##teamcity' ++ end_section Tests ++ false ++ echo_service_message blockClosed 'name='\''Tests'\''' ++ set +x ++ end_section BuildRelease ++ false ++ echo_service_message blockClosed 'name='\''BuildRelease'\''' ++ set +x ++ end_section WaitParallel ++ false ++ echo_service_message blockClosed 'name='\''WaitParallel'\''' ++ set +x ++ false ++ echo skipping upload of build results due to failed build. ++ false ++ exit 1 + process_pending_uploads + true + '[' -n '' ']' + record_failure 'build.sh failed' + echo_service_message message 'text='\''build.sh failed'\''' 'status='\''FAILURE'\''' + set +x + succeeded=false + end_section build.sh + false + echo_service_message blockClosed 'name='\''build.sh'\''' + set +x + '[' -r /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/subshell_returns.sh ']' + end_section Build + false + echo_service_message blockClosed 'name='\''Build'\''' + set +x + finalize false branch dependent build.sh + local succeeded=false + shift + local 'errors=branch dependent build.sh' + begin_section Finish + echo_service_message blockOpened 'name='\''Finish'\''' + set +x + false + true + case "$succeeded" in + true + subject= + rm -f notification + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + '[' -d /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/debian_repo ']' + begin_section LocalResult + echo_service_message blockOpened 'name='\''LocalResult'\''' + set +x + false + true + cat + echo false + upload_item status /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false text/plain + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=status + begin_section 'Put status' + echo_service_message blockOpened 'name='\''Put status'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false + local item_file=false + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/arch/Linux/status/false ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r false + true + pending_upload_pids=' 22136' + echo false + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put status' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''false'\'' '\''${put_url}hg/repo/background-updater/rev/214001/arch/Linux/status/false'\'' '\''text/plain'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading false'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put status'\''' + set +x + upload_item log /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt text/plain + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=log + begin_section 'Put log' + echo_service_message blockOpened 'name='\''Put log'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + local item_file=build_log.16.txt + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/arch/Linux/log/build_log.16.txt + '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' + echo 'log_Linux: http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Linux/log/build_log.16.txt' ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r build_log.16.txt + true + pending_upload_pids=' 22136 22145' + echo build_log.16.txt + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put log' /teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''build_log.16.txt'\'' '\''${put_url}hg/repo/background-updater/rev/214001/arch/Linux/log/build_log.16.txt'\'' '\''text/plain'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading build_log.16.txt'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put log'\''' + set +x + upload_item buildparams /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh text/plain + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=buildparams + begin_section 'Put buildparams' + echo_service_message blockOpened 'name='\''Put buildparams'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh + local item_file=BuildScript.sh + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/arch/Linux/buildparams/BuildScript.sh + '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' + echo 'buildparams_Linux: http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Linux/buildparams/BuildScript.sh' ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r BuildScript.sh + true + pending_upload_pids=' 22136 22145 22154' + echo BuildScript.sh + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put buildparams' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''BuildScript.sh'\'' '\''${put_url}hg/repo/background-updater/rev/214001/arch/Linux/buildparams/BuildScript.sh'\'' '\''text/plain'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading BuildScript.sh'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put buildparams'\''' + set +x + upload_item urls /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls text/plain + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=urls + begin_section 'Put urls' + echo_service_message blockOpened 'name='\''Put urls'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls + local item_file=urls + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/arch/Linux/urls + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Linux/urls ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r urls + true + pending_upload_pids=' 22136 22145 22154 22163' + echo urls + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put urls' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''urls'\'' '\''${put_url}hg/repo/background-updater/rev/214001/arch/Linux/urls'\'' '\''text/plain'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading urls'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status + false + echo_service_message blockClosed 'name='\''Put urls'\''' + set +x + eval 'python "$helper/hg/bin/redirect.py" '\''${S3PROXY_URL}hg/repo/background-updater/rev/214001/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${S3PROXY_URL}hg/repo/background-updater/rev/214001/index.html' + upload_item redirect /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=redirect + begin_section 'Put redirect' + echo_service_message blockOpened 'name='\''Put redirect'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local item_file=result.html + case "$item_type" in + local dst=hg/result/16/result.html ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r result.html + true + pending_upload_pids=' 22136 22145 22154 22163 22236' + echo result.html + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put redirect' + false fi' + echo_service_message blockClosed 'name='\''Put redirect'\''' + set +x + eval 'python "$helper/hg/bin/redirect.py" '\''${S3PROXY_URL}hg/repo/background-updater/rev/214001/arch/Linux/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${S3PROXY_URL}hg/repo/background-updater/rev/214001/arch/Linux/index.html' + upload_item redirect /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=redirect + begin_section 'Put redirect' + echo_service_message blockOpened 'name='\''Put redirect'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html + local item_file=partial.html + case "$item_type" in + local dst=hg/result/16/partial.html ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r partial.html + true + pending_upload_pids=' 22136 22145 22154 22163 22236 22246' + echo partial.html + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put redirect' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''partial.html'\'' '\''${put_url}hg/result/16/partial.html'\'' '\''text/html'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading partial.html'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + echo_service_message blockClosed 'name='\''Put redirect'\''' + set +x + process_pending_uploads + true + '[' -n ' 22136 22145 22154 22163 22236 22246' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 22136 22145 22154 22163 22236 22246 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22136.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/false OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22145.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22154.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/BuildScript.sh OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22163.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/urls OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22236.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22246.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/partial.html OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + eval 'python "$helper/hg/bin/results.py"\ '\''${S3PROXY_URL}'\''\ '\''${private_bucket}'\''\ '\''${S3PREFIX}'\''\ '\''${public_bucket}'\''\ '\''${S3PUBLIC_PREFIX}'\''\ '\''background-updater'\''\ '\''214001'\''\ '\'''\''\ dontcare\ '\''hg'\''\ '\''.'\''\ Linux' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/results.py '${S3PROXY_URL}' '${private_bucket}' '${S3PREFIX}' '${public_bucket}' '${S3PUBLIC_PREFIX}' background-updater 214001 '' dontcare hg . Linux + rm -f dontcare + test -s /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + upload_item partial /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=partial + begin_section 'Put partial' + echo_service_message blockOpened 'name='\''Put partial'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local item_file=index.html + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/arch/Linux/index.html + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Linux/index.html ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r index.html + true + pending_upload_pids=' 22267' + echo index.html + cd /var/opt/teamcity/checkout/L-background-updater/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''index.html'\'' '\''${put_url}hg/repo/background-updater/rev/214001/arch/Linux/index.html'\'' '\''text/html'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading index.html'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + end_section 'Put partial' + false + echo_service_message blockClosed 'name='\''Put partial'\''' + set +x + false + end_section LocalResult + false + echo_service_message blockClosed 'name='\''LocalResult'\''' + set +x + begin_section AllResults + echo_service_message blockOpened 'name='\''AllResults'\''' + set +x + false + true + urls='${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Linux/urls' + for a in '$other_archs' + eval '$build_Darwin' ++ true + urls='${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Linux/urls ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Darwin/urls' + for a in '$other_archs' + eval '$build_CYGWIN' ++ true + urls='${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Linux/urls ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Darwin/urls ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/CYGWIN/urls' + process_pending_uploads + true + '[' -n ' 22267' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 22267 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22267.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + eval 'python "$helper/hg/bin/all_done.py" curl ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Linux/urls ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/Darwin/urls ${S3GET_URL}hg/repo/background-updater/rev/214001/arch/CYGWIN/urls > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/all_done.py curl http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Linux/urls http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/Darwin/urls http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/arch/CYGWIN/urls converting Fri, 05 Nov 2010 21:01:03 GMT converting Fri, 05 Nov 2010 02:52:25 GMT converting Fri, 05 Nov 2010 02:37:17 GMT Executing final steps... + upload_item url_list /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message text/plain + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=url_list + begin_section 'Put url_list' + echo_service_message blockOpened 'name='\''Put url_list'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message + local item_file=message + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/url_list/message ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r message + true + pending_upload_pids=' 22287' + echo message + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put url_list' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''message'\'' '\''${put_url}hg/repo/background-updater/rev/214001/url_list/message'\'' '\''text/plain'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading message'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put url_list'\''' + set +x + false + true + false + '[' x '!=' x ']' + test -d /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/related_changes + test -r /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/referenced_revs.js + test -r /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/changes.js + show_changes_since= + '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' + cat + process_pending_uploads + true + '[' -n ' 22287' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 22287 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22287.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/message OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + cat /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/links + eval 'python "$helper/hg/bin/results.py"\ '\''${S3PROXY_URL}'\''\ '\''${private_bucket}'\''\ '\''${S3PREFIX}'\''\ '\''${public_bucket}'\''\ '\''${S3PUBLIC_PREFIX}'\''\ '\''background-updater'\''\ '\''214001'\''\ '\'''\''\ summary\ '\''hg'\''\ '\''.'\''\ Linux Darwin CYGWIN\ >'\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/results.py '${S3PROXY_URL}' '${private_bucket}' '${S3PREFIX}' '${public_bucket}' '${S3PUBLIC_PREFIX}' background-updater 214001 '' summary hg . Linux Darwin CYGWIN + rm -f summary + all_builds_succeeded=false + '[' -r /var/opt/teamcity/checkout/L-background-updater/latest/finalize.sh ']' + subject='Failed Build Nr. 214001 for background-updater (adebf67374c8) on Linux' + echo FALSE + test -s /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/background-updater/rev/214001/index.html + upload_item result /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=result + begin_section 'Put result' + echo_service_message blockOpened 'name='\''Put result'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html + local item_file=index.html + case "$item_type" in + local dst=hg/repo/background-updater/rev/214001/index.html ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r index.html + true + pending_upload_pids=' 22310' + echo index.html + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put result' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''index.html'\'' '\''${put_url}hg/repo/background-updater/rev/214001/index.html'\'' '\''text/html'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading index.html'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put result'\''' + set +x + upload_item global_status /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=global_status + begin_section 'Put global_status' + echo_service_message blockOpened 'name='\''Put global_status'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification + local item_file=notification + case "$item_type" in + local dst=hg/repo/background-updater/status ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r notification + true + pending_upload_pids=' 22310 22319' + echo notification + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put global_status' + false fi' + echo_service_message blockClosed 'name='\''Put global_status'\''' + set +x + upload_item global_redirect /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html text/html + s3_available + test -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3get.sh -a -x /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh -a -r /var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3curl.py + local item_type=global_redirect + begin_section 'Put global_redirect' + echo_service_message blockOpened 'name='\''Put global_redirect'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/asset_urls + local asset_name= + export put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + put_url=https://s3.amazonaws.com/automated-builds-secondlife-com/ + export acl=public-read + acl=public-read + '[' x/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html = x ']' ++ dirname /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local item_dir=/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater ++ basename /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html + local item_file=result.html + case "$item_type" in + local dst=hg/repo/background-updater/latest.html ++ pwd + local here=/var/opt/teamcity/checkout/L-background-updater/latest + cd /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater + test -r result.html + true + pending_upload_pids=' 22310 22319 22328' + echo result.html + cd /var/opt/teamcity/checkout/L-background-updater/latest + end_section 'Put global_redirect' + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''result.html'\'' '\''${put_url}hg/repo/background-updater/latest.html'\'' '\''text/html'\'' '\''public-read'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html OK.'\'' > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status else echo "record_failure '\''Uploading result.html'\''; false" > '\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put global_redirect'\''' + set +x + end_section AllResults + false + echo_service_message blockClosed 'name='\''AllResults'\''' + set +x + begin_section Notifications + echo_service_message blockOpened 'name='\''Notifications'\''' + set +x + false + true + '[' 'xFailed Build Nr. 214001 for background-updater (adebf67374c8) on Linux' '!=' x -a x '!=' x ']' + true + test -r /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification + begin_section Status + echo_service_message blockOpened 'name='\''Status'\''' + set +x + false + true + true + recipients=' @$helper/hg/email_status_always @$helper/hg/email_status_opensource' + eval 'python "$helper/hg/bin/mail.py" '\''background-updater (r214001)'\'' @$helper/hg/email_status_always @$helper/hg/email_status_opensource <'\''/var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/mail.py 'background-updater (r214001)' @/var/opt/teamcity/buildscripts/shared/latest/hg/email_status_always @/var/opt/teamcity/buildscripts/shared/latest/hg/email_status_opensource + end_section Status + false + echo_service_message blockClosed 'name='\''Status'\''' + set +x + end_section Notifications + false + echo_service_message blockClosed 'name='\''Notifications'\''' + set +x + set +x + succeeded=false + end_section Main + false + echo_service_message blockClosed 'name='\''Main'\''' + set +x + '[' -r /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt ']' + begin_section LogScan + echo_service_message blockOpened 'name='\''LogScan'\''' + set +x + false + true + sed -e 's/\r[^\n\r]*//g' -e 's/\r//g' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + grep -n -i -B3 -A4 -e error: -e warning: -e broken: -e '^E:' -e EXECUTABLE-NOTFOUND -e '^usage: ' -e 'unresolved symbol' -e 'Couldn'\''t find any package' -e 'dpkg-divert: .* clashes with ' -e 'subprocess [a-z]*-installation script returned error exit' -e 'which is a virtual package' -e 'Depends: .* but .* is to be installed' -e 'Conflicts: .* but .* is to be installed' -e 'Exception creating KVM image' -e 'make.*: \*\*\* ' -e '^Traceback' -e '^ File ".*", line' + sed -e 's/^[0-9][0-9]*[-:]//' -e 's/^##teamcity/#.#.teamcity/' -e 's/^--*$/===================================================================================/' + end_section LogScan + false + echo_service_message blockClosed 'name='\''LogScan'\''' + set +x + begin_section Log + echo_service_message blockOpened 'name='\''Log'\''' + set +x + false + true + sed -e 's/\r[^\n\r]*//g' -e 's/\r//g' /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/build_log.16.txt + sed 's/^##teamcity/#.#.teamcity/' + end_section Log + false + echo_service_message blockClosed 'name='\''Log'\''' + set +x + dump_shell_trace + begin_section ShellTrace + echo_service_message blockOpened 'name='\''ShellTrace'\''' + set +x + false + true + process_pending_uploads + true + '[' -n ' 22310 22319 22328' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 22310 22319 22328 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22310.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/index.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22319.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/notification OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/upload.22328.status ++ echo uploaded /var/opt/teamcity/checkout/L-background-updater/build_log/background-updater/result.html OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + exec