+ 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=2011 + year=2011 ++ cd /var/opt/teamcity/buildscripts/shared/latest/hg/bin/./../.. ++ pwd + export buildscripts_checkout=/var/opt/teamcity/buildscripts/shared/latest + buildscripts_checkout=/var/opt/teamcity/buildscripts/shared/latest ++ cd /var/opt/teamcity/buildscripts/shared/latest/hg/bin/./../../../autobuild ++ pwd + export autobuild_checkout=/var/opt/teamcity/buildscripts/shared/autobuild + autobuild_checkout=/var/opt/teamcity/buildscripts/shared/autobuild ++ cd /var/opt/teamcity/buildscripts/shared/latest/hg/bin/./../../../master-message-template ++ pwd + export master_message_template_checkout=/var/opt/teamcity/buildscripts/shared/master-message-template + master_message_template_checkout=/var/opt/teamcity/buildscripts/shared/master-message-template + test -r /etc/debian_version ++ cat /etc/debian_version + debian_version=5.0.8 + case "$debian_version" in + export debian_version=lenny + debian_version=lenny + case "$arch" in ++ hostname -f + export hostname=build-linux6.phx.lindenlab.com + hostname=build-linux6.phx.lindenlab.com + echo build-linux6.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 + export parallel_checkout=false + parallel_checkout=false + export backlink= + backlink= + export TC_URL= + TC_URL= + case "x$1" in + '[' -d latest ']' + latest_exists=true + '[' -d buildscripts ']' + cd latest + find .. -maxdepth 1 -type f + xargs rm -f ++ cd .. ++ pwd + export top=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux + top=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux + '[' -n '' ']' + '[' -n snowstorm_viewer-development_Linux ']' + export invoked_by_teamcity=true + invoked_by_teamcity=true + export invoked_by_parabuild=false + invoked_by_parabuild=false + export build_name=snowstorm_viewer-development_Linux + build_name=snowstorm_viewer-development_Linux + export build_number=325 + build_number=325 + case "$build_name" in + export build_type=L + build_type=L ++ echo snowstorm_viewer-development_Linux ++ sed -e 's/_[^_]*$//' + export repo=snowstorm_viewer-development + repo=snowstorm_viewer-development + case "$build_type" in + case "$arch" in + echo 'Build Type OK: L for '\''snowstorm_viewer-development_Linux'\''' + build_type=L + export build_log_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + build_log_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + export build_log=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + build_log=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + export build_id=325 + build_id=325 ++ echo snowstorm_viewer-development ++ sed -e '/^[^-_]*-.*_/s/_.*//' -e 's/^[^_]*_\([^_]*\).*/\1/' + export branch=viewer-development + branch=viewer-development ++ echo snowstorm_viewer-development ++ awk -F_ '/^[^-_]*-[^_]*$/{print "";} /^[^-_]*-.*_/{print "_"$2} /^[^-_]*_/ { print "_"$3}' + export suffix=_ + suffix=_ + '[' _ = _ ']' + suffix= + 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 'Artifact Dependencies' + echo_service_message blockOpened 'name='\''Artifact Dependencies'\''' + set +x + false + true + '[' -d ../dependencies ']' + echo No dependencies. + cp /dev/null dependencies.html + end_section 'Artifact Dependencies' + false + echo_service_message blockClosed 'name='\''Artifact Dependencies'\''' + set +x + begin_section VersionCtl + echo_service_message blockOpened 'name='\''VersionCtl'\''' + set +x + false + true ++ pwd + export root=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + root=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + rm -rf /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + mkdir -p /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + HGRCPATH=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + cp .hg/hgrc /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + grep '\[extensions\]' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + echo '[extensions]' + false + tags_rev=true + pushd . + true ++ hg parents --template 'files='\''{files}'\''; rev='\''{rev}'\''' + eval 'files='\''indra/newview/skins/minimal/xui/es/floater_media_browser.xml' indra/newview/skins/minimal/xui/es/floater_web_content.xml indra/newview/skins/minimal/xui/es/menu_inspect_self_gear.xml indra/newview/skins/minimal/xui/es/notifications.xml indra/newview/skins/minimal/xui/es/panel_bottomtray.xml indra/newview/skins/minimal/xui/es/panel_group_control_panel.xml 'indra/newview/skins/minimal/xui/es/panel_login.xml'\'';' 'rev='\''15102'\''' ++ files='indra/newview/skins/minimal/xui/es/floater_media_browser.xml indra/newview/skins/minimal/xui/es/floater_web_content.xml indra/newview/skins/minimal/xui/es/menu_inspect_self_gear.xml indra/newview/skins/minimal/xui/es/notifications.xml indra/newview/skins/minimal/xui/es/panel_bottomtray.xml indra/newview/skins/minimal/xui/es/panel_group_control_panel.xml indra/newview/skins/minimal/xui/es/panel_login.xml' ++ rev=15102 + '[' 'indra/newview/skins/minimal/xui/es/floater_media_browser.xml indra/newview/skins/minimal/xui/es/floater_web_content.xml indra/newview/skins/minimal/xui/es/menu_inspect_self_gear.xml indra/newview/skins/minimal/xui/es/notifications.xml indra/newview/skins/minimal/xui/es/panel_bottomtray.xml indra/newview/skins/minimal/xui/es/panel_group_control_panel.xml indra/newview/skins/minimal/xui/es/panel_login.xml' = .hgtags ']' + echo Good rev: 15102 + tags_rev=false + false ++ hg paths ++ grep -E '^default' ++ sed -e 's/default = //' -e s,ssh://,http://, + export repo_url=http://bitbucket.org/lindenlab/viewer-development + repo_url=http://bitbucket.org/lindenlab/viewer-development + echo 'Mercurial Repo: http://bitbucket.org/lindenlab/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=viewer-development,snowstorm_viewer-development + local get_params=/var/opt/teamcity/buildscripts/shared/latest/hg/bin/get_params.py + local default_params=/var/opt/teamcity/buildscripts/shared/latest/hg/bin/../BuildParams + case "$arch" in + python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/get_params.py --branch=viewer-development,snowstorm_viewer-development --platform=Linux /var/opt/teamcity/buildscripts/shared/latest/hg/bin/../BuildParams BuildParams + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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 codeticket_browse_url=http://codeticket.lindenlab.com/browse/ ++ codeticket_browse_url=http://codeticket.lindenlab.com/browse/ ++ export build_RelWithDebInfo=true ++ build_RelWithDebInfo=true ++ export build_Darwin_Release=true ++ build_Darwin_Release=true ++ export codeticket_add_context=true ++ codeticket_add_context=true ++ export 'sha1sum=$helper/hg/bin/sha1sum.py' ++ sha1sum='$helper/hg/bin/sha1sum.py' ++ export codeticket_reload=false ++ codeticket_reload=false ++ 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-linux8.dfw.lindenlab.com/2' ++ dfw_DISTCC_HOSTS='build-linux7.dfw.lindenlab.com/2 build-linux9.dfw.lindenlab.com/2 build-linux8.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 'filter_autobuild_artifacts=$helper/hg/bin/filter_autobuild_artifacts.py' ++ filter_autobuild_artifacts='$helper/hg/bin/filter_autobuild_artifacts.py' ++ 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 'context_extension=$helper/hg/ext/context.py' ++ context_extension='$helper/hg/ext/context.py' ++ 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 'pyjira=$helper/hg/bin/jira-add-comment.py' ++ pyjira='$helper/hg/bin/jira-add-comment.py' ++ 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 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 'variants=Debug RelWithDebInfo Release' ++ variants='Debug RelWithDebInfo Release' ++ export collect_metrics=false ++ collect_metrics=false ++ export 'vmclient=$helper/hg/bin/vmclient.py' ++ vmclient='$helper/hg/bin/vmclient.py' ++ export Darwin_export_arch=darwin ++ Darwin_export_arch=darwin ++ 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 LOCK_REMOVE=/usr/bin/lockfile-remove ++ LOCK_REMOVE=/usr/bin/lockfile-remove ++ 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=viewer-development-builds@lists.secondlife.com ++ email=viewer-development-builds@lists.secondlife.com ++ export 'redirect=$helper/hg/bin/redirect.py' ++ redirect='$helper/hg/bin/redirect.py' ++ export build_server_stage=false ++ build_server_stage=false ++ 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 upload_to_si=false ++ upload_to_si=false ++ export INSTALL_USE_HTTP_FOR_SCP=true ++ INSTALL_USE_HTTP_FOR_SCP=true ++ export coverity_server=build-linux14.dfw.lindenlab.com ++ coverity_server=build-linux14.dfw.lindenlab.com ++ 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://codeticket.lindenlab.com/codeticket/linden/ ++ codeticket_server_url=http://codeticket.lindenlab.com/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 codeticket_since=2.2.0-release ++ codeticket_since=2.2.0-release ++ export 'viewer_channel=Second Life Development' ++ viewer_channel='Second Life Development' ++ 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 run_tests=true ++ run_tests=true ++ export S3IMG_PREFIX=img/ ++ S3IMG_PREFIX=img/ ++ export 'pkg_default_debuild_command=debuild -uc -us -b' ++ pkg_default_debuild_command='debuild -uc -us -b' ++ export image_format=ami ++ image_format=ami ++ export gcc_version=/usr/bin/gcc-4.1 ++ gcc_version=/usr/bin/gcc-4.1 ++ export 'login_channel=Second Life Development' ++ login_channel='Second Life Development' ++ 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-linux3.phx.lindenlab.com build-linux4.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-linux3.phx.lindenlab.com build-linux4.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=/var/opt/coverity/cov-sa ++ coverity_dir=/var/opt/coverity/cov-sa ++ 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=true ++ build_debug_release_separately=true ++ export build_docs=false ++ build_docs=false ++ export build_legacy_package=false ++ build_legacy_package=false ++ export 'git_context=$helper/hg/bin/git-context.py' ++ git_context='$helper/hg/bin/git-context.py' ++ 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=last_sprint ++ show_changes_since=last_sprint ++ 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 'server_channel=Second Life Server' ++ server_channel='Second Life Server' ++ export 'teamcity_backlink_base_url=https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=' ++ teamcity_backlink_base_url='https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=' ++ 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 'repackage_legacy=$helper/hg/bin/repackage_legacy.py' ++ repackage_legacy='$helper/hg/bin/repackage_legacy.py' ++ export 'first_one=$helper/hg/bin/first_one.py' ++ first_one='$helper/hg/bin/first_one.py' ++ 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 + 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 + false + codeticket_reload_flag= + case "$arch" in + remove_cr='sed -e s/\r[^\n\r]*//g -e s/\r//g' + test -d /var/opt/coverity/cov-sa + build_coverity=false + emake --version /var/opt/teamcity/buildscripts/shared/latest/hg/bin/build.sh: line 1851: emake: command not found + build_emake=false + cmake --version + which cmake + echo PATH=:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/games + '[' -z '' ']' + true + '[' -n /var/opt/teamcity/buildscripts/shared/autobuild -a -d /var/opt/teamcity/buildscripts/shared/autobuild ']' + AUTOBUILD=/var/opt/teamcity/buildscripts/shared/autobuild/bin/autobuild + '[' -n /var/opt/teamcity/buildscripts/shared/autobuild/bin/autobuild ']' + test -x /var/opt/teamcity/buildscripts/shared/autobuild/bin/autobuild + /var/opt/teamcity/buildscripts/shared/autobuild/bin/autobuild --version autobuild 0.8 + case "$arch" in + export AUTOBUILD + false + true + export helper=/var/opt/teamcity/buildscripts/shared/latest + helper=/var/opt/teamcity/buildscripts/shared/latest + case $arch in + eval 'export SIGN=""' ++ export SIGN= ++ SIGN= + true + grep 'since =' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + eval 'echo "since = $helper/hg/ext/since.py" >> "/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc"' ++ echo 'since = /var/opt/teamcity/buildscripts/shared/latest/hg/ext/since.py' + grep 'context =' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc + eval 'echo "context = $helper/hg/ext/context.py" >> "/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/hgrc"' ++ echo 'context = /var/opt/teamcity/buildscripts/shared/latest/hg/ext/context.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-linux3.phx.lindenlab.com build-linux4.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-linux3.phx.lindenlab.com build-linux4.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' + true + test -n bt398 + export 'TC_URL=https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' + TC_URL='https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' + echo 'TC_URL=https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' + export 'backlink=teamcity_backlink_url='\''https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398'\''' + backlink='teamcity_backlink_url='\''https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398'\''' + 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=23005 + end_section GetLock + /usr/bin/lockfile-touch /var/lock/update-system-config + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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=true + true + echo Applying separate debug and release build policy. + case "$suffix" in + echo Applying release only build policy. + set_param build_Darwin_Debug=false + local var=build_Darwin_Debug=false + local val= + case "$var" in ++ echo build_Darwin_Debug=false ++ sed 's/.*=//' + val=false ++ echo build_Darwin_Debug=false ++ sed 's/=.*//' + var=build_Darwin_Debug + grep -q '^export build_Darwin_Debug=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_Darwin_Debug="false"' ++ export build_Darwin_Debug=false ++ build_Darwin_Debug=false + set_param build_Darwin_RelWithDebInfo=false + local var=build_Darwin_RelWithDebInfo=false + local val= + case "$var" in ++ echo build_Darwin_RelWithDebInfo=false ++ sed 's/.*=//' + val=false ++ echo build_Darwin_RelWithDebInfo=false ++ sed 's/=.*//' + var=build_Darwin_RelWithDebInfo + grep -q '^export build_Darwin_RelWithDebInfo=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_Darwin_RelWithDebInfo="false"' ++ export build_Darwin_RelWithDebInfo=false ++ build_Darwin_RelWithDebInfo=false + set_param build_Darwin_Release=true + local var=build_Darwin_Release=true + local val= + case "$var" in ++ echo build_Darwin_Release=true ++ sed 's/.*=//' + val=true ++ echo build_Darwin_Release=true ++ sed 's/=.*//' + var=build_Darwin_Release + grep -q '^export build_Darwin_Release=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_Darwin_Release="true"' ++ export build_Darwin_Release=true ++ build_Darwin_Release=true + set_param build_CYGWIN_Debug=false + local var=build_CYGWIN_Debug=false + local val= + case "$var" in ++ echo build_CYGWIN_Debug=false ++ sed 's/.*=//' + val=false ++ echo build_CYGWIN_Debug=false ++ sed 's/=.*//' + var=build_CYGWIN_Debug + grep -q '^export build_CYGWIN_Debug=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_CYGWIN_Debug="false"' ++ export build_CYGWIN_Debug=false ++ build_CYGWIN_Debug=false + set_param build_CYGWIN_RelWithDebInfo=false + local var=build_CYGWIN_RelWithDebInfo=false + local val= + case "$var" in ++ echo build_CYGWIN_RelWithDebInfo=false ++ sed 's/.*=//' + val=false ++ echo build_CYGWIN_RelWithDebInfo=false ++ sed 's/=.*//' + var=build_CYGWIN_RelWithDebInfo + grep -q '^export build_CYGWIN_RelWithDebInfo=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_CYGWIN_RelWithDebInfo="false"' ++ export build_CYGWIN_RelWithDebInfo=false ++ build_CYGWIN_RelWithDebInfo=false + set_param build_CYGWIN_Release=true + local var=build_CYGWIN_Release=true + local val= + case "$var" in ++ echo build_CYGWIN_Release=true ++ sed 's/.*=//' + val=true ++ echo build_CYGWIN_Release=true ++ sed 's/=.*//' + var=build_CYGWIN_Release + grep -q '^export build_CYGWIN_Release=.*; # BuildParams$' /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + eval 'export build_CYGWIN_Release="true"' ++ export build_CYGWIN_Release=true ++ build_CYGWIN_Release=true + 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 + end_section BuildParams + false + echo_service_message blockClosed 'name='\''BuildParams'\''' + set +x + begin_section 'Parallel Checkouts' + echo_service_message blockOpened 'name='\''Parallel Checkouts'\''' + set +x + false + true + export baseline_build_config= + baseline_build_config= + export baseline_related_builds= + baseline_related_builds= + test -n /var/opt/teamcity/buildscripts/shared/latest -a -d /var/opt/teamcity/buildscripts/shared/latest ++ cd /var/opt/teamcity/buildscripts/shared/latest ++ hg parents ++ awk -F: '/^changeset:/ { print $3 }' ++ sed 1q + export buildscripts_changeset=6625a7594438 + buildscripts_changeset=6625a7594438 + false ++ get_triggered_builds 6625a7594438 ++ eval 'local builds=`python "$helper/hg/bin/revclient.py" \ --codeticket-server="http://codeticket.lindenlab.com/codeticket/linden/" \ --changeset="6625a7594438" \ --triggered-builds`' ++++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --changeset=6625a7594438 --triggered-builds +++ local builds=224662 ++ case "$builds" in ++ echo 224662 ++ sed 's/[^0-9][^0-9]*/ /g' + buildscripts_builds=224662 + baseline_related_builds=' 224662' + baseline_build_config=6625a7594438 + echo 'Build Scripts: /var/opt/teamcity/buildscripts/shared/latest (6625a7594438 -> 224662)' + test -n /var/opt/teamcity/buildscripts/shared/autobuild -a -d /var/opt/teamcity/buildscripts/shared/autobuild ++ cd /var/opt/teamcity/buildscripts/shared/autobuild ++ hg parents ++ awk -F: '/^changeset:/ { print $3 }' ++ sed 1q + export autobuild_changeset=893a46402bb0 + autobuild_changeset=893a46402bb0 ++ get_triggered_builds 893a46402bb0 ++ eval 'local builds=`python "$helper/hg/bin/revclient.py" \ --codeticket-server="http://codeticket.lindenlab.com/codeticket/linden/" \ --changeset="893a46402bb0" \ --triggered-builds`' ++++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --changeset=893a46402bb0 --triggered-builds +++ local builds=224857 ++ case "$builds" in ++ echo 224857 ++ sed 's/[^0-9][^0-9]*/ /g' + autobuild_builds=224857 + baseline_related_builds=' 224662 224857' + baseline_build_config=6625a7594438893a46402bb0 + echo 'Autobuild: /var/opt/teamcity/buildscripts/shared/autobuild (893a46402bb0 -> 224857)' + test -n /var/opt/teamcity/buildscripts/shared/master-message-template -a -d /var/opt/teamcity/buildscripts/shared/master-message-template ++ cd /var/opt/teamcity/buildscripts/shared/master-message-template ++ hg parents ++ awk -F: '/^changeset:/ { print $3 }' ++ sed 1q + export master_message_template_changeset=2c23c816e483 + master_message_template_changeset=2c23c816e483 ++ get_triggered_builds 2c23c816e483 ++ eval 'local builds=`python "$helper/hg/bin/revclient.py" \ --codeticket-server="http://codeticket.lindenlab.com/codeticket/linden/" \ --changeset="2c23c816e483" \ --triggered-builds`' ++++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --changeset=2c23c816e483 --triggered-builds +++ local builds=222518 ++ case "$builds" in ++ echo 222518 ++ sed 's/[^0-9][^0-9]*/ /g' + master_message_template_builds=222518 + baseline_related_builds=' 224662 224857 222518' + baseline_build_config=6625a7594438893a46402bb02c23c816e483 + echo 'Master Template: /var/opt/teamcity/buildscripts/shared/master-message-template (2c23c816e483 -> 222518)' + echo 'baseline_related_builds= 224662 224857 222518' + echo baseline_build_config=6625a7594438893a46402bb02c23c816e483 + end_section 'Parallel Checkouts' + false + echo_service_message blockClosed 'name='\''Parallel Checkouts'\''' + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/subshell_returns.sh + true + '[' -r build.sh ']' + compute_changeset + '[' -z '' ']' + true ++ cd . ++ hg parents ++ awk -F: '/^changeset:/ { print $3 }' ++ sed 1q + export changeset=580ef56f84bd + changeset=580ef56f84bd + test x580ef56f84bd = x + compute_build_hash + '[' -z '' ']' + '[' -n /var/opt/teamcity/buildscripts/shared/autobuild/bin/autobuild ']' + hg_revisions= + echo '# Transitive Dependencies for snowstorm_viewer-development_Linux' + eval 'python "$helper/hg/bin/filter_autobuild_artifacts.py" --arch=Linux >dependencies.sh' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/filter_autobuild_artifacts.py --arch=Linux + echo '# End of Transitive Dependencies for snowstorm_viewer-development_Linux' + . dependencies.sh ++ hg_revisions=' ' + baseline_related_builds=' 224662 224857 222518 ' ++ echo 580ef56f84bd 224662 224857 222518 ++ sha1sum ++ eval 'python "$helper/hg/bin/sha1sum.py"' +++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/sha1sum.py ++ true + export build_hash=2a773709d2708c7d5eb30420ecf60352b9b73216 + build_hash=2a773709d2708c7d5eb30420ecf60352b9b73216 + initialize + get_ticket + begin_section GetTicket + echo_service_message blockOpened 'name='\''GetTicket'\''' + set +x + false + true + '[' -z 580ef56f84bd ']' + '[' -n '' ']' + '[' -n 2a773709d2708c7d5eb30420ecf60352b9b73216 ']' + eval 'export revision=`python "$helper/hg/bin/revclient.py" \ --codeticket-server="http://codeticket.lindenlab.com/codeticket/linden/" \ --changeset="2a773709d2708c7d5eb30420ecf60352b9b73216" \ --via="580ef56f84bd" \ s3_url="http://automated-builds-secondlife-com.s3.amazonaws.com/" \ s3_prefix="hg/" \ vc_system="hg"\ repo_url="http://bitbucket.org/lindenlab/viewer-development" \ repo="snowstorm_viewer-development" \ arch="Linux" teamcity_backlink_url='\''https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398'\'' \ | sed '\''s/[^0-9]//g'\''`' +++ sed 's/[^0-9]//g' +++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --changeset=2a773709d2708c7d5eb30420ecf60352b9b73216 --via=580ef56f84bd s3_url=http://automated-builds-secondlife-com.s3.amazonaws.com/ s3_prefix=hg/ vc_system=hg repo_url=http://bitbucket.org/lindenlab/viewer-development repo=snowstorm_viewer-development arch=Linux 'teamcity_backlink_url=https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' ++ export revision=224873 ++ revision=224873 + test x224873 = x + true + true + '[' -n http://bitbucket.org/lindenlab/viewer-development ']' + '[' http://bitbucket.org/lindenlab/viewer-development '!=' None ']' + eval 'python "$helper/hg/bin/revclient.py" \ --codeticket-server='\''http://codeticket.lindenlab.com/codeticket/linden/'\'' \ --revision='\''224873'\'' \ --included-by-repository='\''http://bitbucket.org/lindenlab/viewer-development'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --revision=224873 --included-by-repository=http://bitbucket.org/lindenlab/viewer-development + '[' -n 2a773709d2708c7d5eb30420ecf60352b9b73216 ']' + echo '2a773709d2708c7d5eb30420ecf60352b9b73216 via 580ef56f84bd -> 224873' + eval 'python "$helper/hg/bin/redirect.py" '\''${codeticket_browse_url}?build=224873'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${codeticket_browse_url}?build=224873' + end_section GetTicket + false + echo_service_message blockClosed 'name='\''GetTicket'\''' + set +x + cp /dev/null /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls + cp /dev/null /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial + cp /dev/null /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + true + hg manifest + 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 + begin_section 'Custom Init' + echo_service_message blockOpened 'name='\''Custom Init'\''' + set +x + false + true + date + upload_item start /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp 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=start + begin_section 'Put start' + echo_service_message blockOpened 'name='\''Put start'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp + local item_file=start_stamp + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r start_stamp + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp ']' + true + pending_upload_pids=' 23276' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''start_stamp'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading start_stamp'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put start' + false + echo_service_message blockClosed 'name='\''Put start'\''' + set +x + start_stamps='\${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp' + active_archs=Linux + for a in '$other_archs' + eval '$build_Darwin' ++ true + start_stamps='\${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/start_stamp' + active_archs='Linux Darwin' + for a in '$other_archs' + eval '$build_CYGWIN' ++ true + start_stamps='\${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/start_stamp \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/start_stamp' + active_archs='Linux Darwin CYGWIN' + process_pending_uploads + true + '[' -n ' 23276' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 23276 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23276.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/start_stamp OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + eval 'python "$helper/hg/bin/first_one.py" curl \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/start_stamp \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/start_stamp 2>&3' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/first_one.py curl '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/start_stamp' '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/start_stamp' '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/start_stamp' + end_section 'Custom Init' + false + echo_service_message blockClosed 'name='\''Custom Init'\''' + set +x + echo revision=224873 + add_multiple_tickets 224662 224857 222518 + true + for r in '$@' + add_ticket_to_ticket 224873 224662 + begin_section AddTicket + echo_service_message blockOpened 'name='\''AddTicket'\''' + set +x + false + true + local parent=224873 + local child=224662 + echo 'add 224662 to 224873' + eval 'python "$helper/hg/bin/revclient.py" \ --codeticket-server='\''http://codeticket.lindenlab.com/codeticket/linden/'\'' \ --revision='\''224662'\'' \ --included-by-revision='\''224873'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --revision=224662 --included-by-revision=224873 + end_section AddTicket + false + echo_service_message blockClosed 'name='\''AddTicket'\''' + set +x + for r in '$@' + add_ticket_to_ticket 224873 224857 + begin_section AddTicket + echo_service_message blockOpened 'name='\''AddTicket'\''' + set +x + false + true + local parent=224873 + local child=224857 + echo 'add 224857 to 224873' + eval 'python "$helper/hg/bin/revclient.py" \ --codeticket-server='\''http://codeticket.lindenlab.com/codeticket/linden/'\'' \ --revision='\''224857'\'' \ --included-by-revision='\''224873'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --revision=224857 --included-by-revision=224873 + end_section AddTicket + false + echo_service_message blockClosed 'name='\''AddTicket'\''' + set +x + for r in '$@' + add_ticket_to_ticket 224873 222518 + begin_section AddTicket + echo_service_message blockOpened 'name='\''AddTicket'\''' + set +x + false + true + local parent=224873 + local child=222518 + echo 'add 222518 to 224873' + eval 'python "$helper/hg/bin/revclient.py" \ --codeticket-server='\''http://codeticket.lindenlab.com/codeticket/linden/'\'' \ --revision='\''222518'\'' \ --included-by-revision='\''224873'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/revclient.py --codeticket-server=http://codeticket.lindenlab.com/codeticket/linden/ --revision=222518 --included-by-revision=224873 + end_section AddTicket + false + echo_service_message blockClosed 'name='\''AddTicket'\''' + set +x + 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 + case "$suffix" in + export upload_to_si=false + upload_to_si=false + validate_build_agent + begin_section 'Validate Build Agent' + echo_service_message blockOpened 'name='\''Validate Build Agent'\''' + set +x + false + true + case "$arch" in + '[' 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 Development' '--server_channel=Second Life Server' --revision=224873 --verbose ++ end_section UpdateVer ++ false ++ echo_service_message blockClosed 'name='\''UpdateVer'\''' ++ set +x +++ scripts/get_version.py --viewer-version ./build.sh: line 152: 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 ++ false ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 24508' ++ end_section BuildParallel ++ false ++ build Debug viewer-linux-i686-debug ++ 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 ++ false ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 24508 26768' ++ end_section BuildParallel ++ false ++ build RelWithDebInfo viewer-linux-i686-relwithdebinfo ++ echo_service_message blockClosed 'name='\''BuildParallel'\''' ++ set +x ++ 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 ++ false ++ true ++ begin_section BuildParallel ++ echo_service_message blockOpened 'name='\''BuildParallel'\''' ++ set +x ++ false ++ true ++ build_processes=' 24508 26768 29475' ++ end_section BuildParallel ++ false ++ build Release viewer-linux-i686-release ++ set +x ++ end_section DoRelease ++ false ++ echo_service_message blockClosed 'name='\''DoRelease'\''' ++ set +x ++ true ++ '[' 'x 24508 26768 29475' '!=' x ']' ++ begin_section WaitParallel ++ echo_service_message blockOpened 'name='\''WaitParallel'\''' ++ set +x ++ false ++ true ++ wait 24508 26768 29475 ++ 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 ++ true ++ echo so far so good. ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.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 ++ true ++ echo so far so good. ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.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 ++ true ++ echo so far so good. ++ begin_section Tests ++ echo_service_message blockOpened 'name='\''Tests'\''' ++ set +x ++ false ++ true ++ tee -a /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.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 ++ true ++ true ++ begin_section Upload ++ echo_service_message blockOpened 'name='\''Upload'\''' ++ set +x ++ false ++ true +++ installer_Linux +++ sed 1q ++++ build_dir_Linux Release +++++ echo Release +++++ tr A-Z a-z ++++ echo viewer-linux-i686-release +++ ls -1td viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 ++ package=viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ '[' xviewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 = x ']' ++ test -d viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ upload_item installer viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 binary/octet-stream ++ 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=installer ++ begin_section 'Put installer' ++ echo_service_message blockOpened 'name='\''Put installer'\''' ++ set +x ++ false ++ true ++ local item=viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local encoding=binary/octet-stream ++ local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls ++ local asset_name= ++ local dst= ++ local dst2= ++ 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 ++ '[' xviewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 = x ']' +++ dirname viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local item_dir=viewer-linux-i686-release/newview +++ basename viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local item_file=SecondLife-i686-2.6.2.224873.tar.bz2 ++ case "$item_type" in ++ dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2 ++ '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' ++ echo 'installer_Linux: http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2' +++ pwd ++ local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ cd viewer-linux-i686-release/newview ++ test -r SecondLife-i686-2.6.2.224873.tar.bz2 ++ for d in '"$dst"' '"$dst2"' ++ '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2 ']' ++ true ++ pending_upload_pids=' 23219' ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2 ++ for d in '"$dst"' '"$dst2"' ++ '[' -n '' ']' ++ cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ end_section 'Put installer' fi' ++ false ++ echo_service_message blockClosed 'name='\''Put installer'\''' ++ set +x ++ upload_item quicklink viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 binary/octet-stream ++ 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=quicklink ++ begin_section 'Put quicklink' ++ echo_service_message blockOpened 'name='\''Put quicklink'\''' ++ set +x ++ false ++ true ++ local item=viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local encoding=binary/octet-stream ++ local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls ++ local asset_name= ++ local dst= ++ local dst2= ++ 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 ++ '[' xviewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 = x ']' +++ dirname viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local item_dir=viewer-linux-i686-release/newview +++ basename viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 ++ local item_file=SecondLife-i686-2.6.2.224873.tar.bz2 ++ case "$item_type" in ++ dst=hg/repo/snowstorm_viewer-development/arch/Linux/quicklink.html ++ dst2=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/quicklink.html ++ eval 'python "$helper/hg/bin/redirect.py" '\''${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2'\''' +++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/installer/SecondLife-i686-2.6.2.224873.tar.bz2' ++ item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ item_file=quicklink.html ++ item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/quicklink.html ++ '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' ++ echo 'quicklink_Linux: http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/arch/Linux/quicklink.html' +++ pwd ++ local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ test -r quicklink.html ++ for d in '"$dst"' '"$dst2"' ++ '[' -n hg/repo/snowstorm_viewer-development/arch/Linux/quicklink.html ']' ++ true ++ pending_upload_pids=' 23219 23237' ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/arch/Linux/quicklink.html ++ for d in '"$dst"' '"$dst2"' ++ '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/quicklink.html ']' ++ true ++ sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''quicklink.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/arch/Linux/quicklink.html'\'' '\''binary/octet-stream'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/quicklink.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading quicklink.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' ++ pending_upload_pids=' 23219 23237 23238' ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/quicklink.html ++ cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ end_section 'Put quicklink' ity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''quicklink.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/quicklink.html'\'' '\''binary/octet-stream'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/quicklink.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading quicklink.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' ++ false ++ echo_service_message blockClosed 'name='\''Put quicklink'\''' ++ set +x ++ case "$last_built_variant" in ++ for symbolfile in '$symbolfiles' ++ upload_item symbolfile viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 binary/octet-stream ++ 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=symbolfile ++ begin_section 'Put symbolfile' ++ echo_service_message blockOpened 'name='\''Put symbolfile'\''' ++ set +x ++ false ++ true ++ local item=viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 ++ local encoding=binary/octet-stream ++ local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls ++ local asset_name= ++ local dst= ++ local dst2= ++ 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 ++ '[' xviewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 = x ']' +++ dirname viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 ++ local item_dir=viewer-linux-i686-release/newview +++ basename viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 ++ local item_file=secondlife-symbols-linux.tar.bz2 ++ case "$item_type" in ++ dst=hg/binaries/224873/secondlife-symbols-linux.tar.bz2 ++ dst2=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/symbolfile/secondlife-symbols-linux.tar.bz2 +++ pwd ++ local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ cd viewer-linux-i686-release/newview ++ test -r secondlife-symbols-linux.tar.bz2 ++ for d in '"$dst"' '"$dst2"' ++ '[' -n hg/binaries/224873/secondlife-symbols-linux.tar.bz2 ']' ++ true ++ pending_upload_pids=' 23219 23237 23238 23302' ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/binaries/224873/secondlife-symbols-linux.tar.bz2 ++ for d in '"$dst"' '"$dst2"' ++ '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/symbolfile/secondlife-symbols-linux.tar.bz2 ']' ++ true ++ sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''secondlife-symbols-linux.tar.bz2'\'' '\''${put_url}hg/binaries/224873/secondlife-symbols-linux.tar.bz2'\'' '\''binary/octet-stream'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading secondlife-symbols-linux.tar.bz2'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' ++ pending_upload_pids=' 23219 23237 23238 23302 23303' ++ echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/symbolfile/secondlife-symbols-linux.tar.bz2 ++ cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/indra ++ end_section 'Put symbolfile' ++ sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''secondlife-symbols-linux.tar.bz2'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/symbolfile/secondlife-symbols-linux.tar.bz2'\'' '\''binary/octet-stream'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading secondlife-symbols-linux.tar.bz2'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' ++ echo_service_message blockClosed 'name='\''Put symbolfile'\''' ++ set +x ++ upload_stub_installers viewer-linux-i686-release/win_setup/Release ++ 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 build_dir=viewer-linux-i686-release/win_setup/Release ++ test -d viewer-linux-i686-release/win_setup/Release ++ echo 'NOTE: Not found: viewer-linux-i686-release/win_setup/Release/*/*.exe. Stub installers not created.' ++ end_section Upload ++ false ++ echo_service_message blockClosed 'name='\''Upload'\''' ++ set +x ++ true + exit 0 + process_pending_uploads + true + '[' -n ' 23219 23237 23238 23302 23303' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 23219 23237 23238 23302 23303 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23219.status ++ echo uploaded viewer-linux-i686-release/newview/SecondLife-i686-2.6.2.224873.tar.bz2 OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23237.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/quicklink.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23238.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/quicklink.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23302.status ++ echo uploaded viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23303.status ++ echo uploaded viewer-linux-i686-release/newview/secondlife-symbols-linux.tar.bz2 OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + end_section build.sh + false + echo_service_message blockClosed 'name='\''build.sh'\''' + set +x + '[' -r /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/subshell_returns.sh ']' + begin_section BuildReturns + echo_service_message blockOpened 'name='\''BuildReturns'\''' + set +x + false + true + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/subshell_returns.sh ++ revision=224873 + end_section BuildReturns + false + echo_service_message blockClosed 'name='\''BuildReturns'\''' + set +x + end_section Build + false + echo_service_message blockClosed 'name='\''Build'\''' + set +x + finalize true branch dependent build.sh + local succeeded=true + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/debian_repo ']' + begin_section LocalResult + echo_service_message blockOpened 'name='\''LocalResult'\''' + set +x + false + true + cat + echo true + upload_item status /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local item_file=true + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/status/true ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r true + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/status/true ']' + true + pending_upload_pids=' 23682' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/status/true + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''true'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/status/true'\'' '\''text/plain'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading true'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put status' + false + echo_service_message blockClosed 'name='\''Put status'\''' + set +x + upload_item log /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt + local item_file=build_log.325.txt + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/log/build_log.325.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/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/log/build_log.325.txt' ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r build_log.325.txt + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/log/build_log.325.txt ']' + true + pending_upload_pids=' 23682 23695' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/log/build_log.325.txt + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''build_log.325.txt'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/log/build_log.325.txt'\'' '\''text/plain'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading build_log.325.txt'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put log'\''' + set +x + upload_item buildparams /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh + local item_file=BuildScript.sh + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/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/snowstorm_viewer-development/rev/224873/arch/Linux/buildparams/BuildScript.sh' ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r BuildScript.sh + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/buildparams/BuildScript.sh ']' + true + pending_upload_pids=' 23682 23695 23707' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/buildparams/BuildScript.sh + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + end_section 'Put buildparams' fi' + false + echo_service_message blockClosed 'name='\''Put buildparams'\''' + set +x + upload_item urls /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls + local item_file=urls + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r urls + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls ']' + true + pending_upload_pids=' 23682 23695 23707 23722' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''urls'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls'\'' '\''text/plain'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading urls'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put urls' + false + echo_service_message blockClosed 'name='\''Put urls'\''' + set +x + echo 'TC_URL=https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' + '[' -n 'https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' ']' + eval 'python "$helper/hg/bin/redirect.py" '\''https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py 'https://teamcity.lindenlab.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt398' + upload_item teamcity_task /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.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=teamcity_task + begin_section 'Put teamcity_task' + echo_service_message blockOpened 'name='\''Put teamcity_task'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html + local item_file=teamcity_task.html + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/tc/teamcity_task.html ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r teamcity_task.html + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/tc/teamcity_task.html ']' + true + pending_upload_pids=' 23682 23695 23707 23722 23737' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/tc/teamcity_task.html + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''teamcity_task.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/build/325/tc/teamcity_task.html'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading teamcity_task.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put teamcity_task' + false + echo_service_message blockClosed 'name='\''Put teamcity_task'\''' + set +x + eval 'python "$helper/hg/bin/redirect.py" '\''${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/index.html' + upload_item global_redirect /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html + local item_file=result.html + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/latest.html ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r result.html + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/latest.html ']' + true + pending_upload_pids=' 23682 23695 23707 23722 23737 23750' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/latest.html + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''result.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/latest.html'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading result.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put global_redirect' + false + echo_service_message blockClosed 'name='\''Put global_redirect'\''' + set +x + eval 'python "$helper/hg/bin/redirect.py" '\''${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/redirect.py '${S3PROXY_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html' + upload_item platform_redirect /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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=platform_redirect + begin_section 'Put platform_redirect' + echo_service_message blockOpened 'name='\''Put platform_redirect'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial.html = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial.html + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial.html + local item_file=partial.html + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/arch/Linux/partial.html ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r partial.html + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/arch/Linux/partial.html ']' + true + pending_upload_pids=' 23682 23695 23707 23722 23737 23750 23875' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/arch/Linux/partial.html + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''partial.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/arch/Linux/partial.html'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/partial.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading partial.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + false + echo_service_message blockClosed 'name='\''Put platform_redirect'\''' + set +x + process_pending_uploads + true + '[' -n ' 23682 23695 23707 23722 23737 23750 23875' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 23682 23695 23707 23722 23737 23750 23875 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23682.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23695.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/build_log.325.txt OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23707.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/BuildScript.sh OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23722.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/urls OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23737.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/teamcity_task.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23750.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/result.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23875.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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}'\''\ '\''snowstorm_viewer-development'\''\ '\''224873'\''\ '\'''\''\ dontcare\ '\''hg'\''\ '\''${codeticket_server_url}'\''\ '\''.'\''\ Linux' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/results.py '${S3PROXY_URL}' '${private_bucket}' '${S3PREFIX}' '${public_bucket}' '${S3PUBLIC_PREFIX}' snowstorm_viewer-development 224873 '' dontcare hg '${codeticket_server_url}' . Linux + rm -f dontcare + test -s /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + upload_item partial /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local item_file=index.html + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r index.html + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html ']' + true + pending_upload_pids=' 23994' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/index.html + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + end_section 'Put partial' fi' + false + echo_service_message blockClosed 'name='\''Put partial'\''' + set +x + true + upload_item platform_good /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true 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=platform_good + begin_section 'Put platform_good' + echo_service_message blockOpened 'name='\''Put platform_good'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true + local item_file=true + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/arch/Linux/good/224873 ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r true + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/arch/Linux/good/224873 ']' + true + pending_upload_pids=' 23994 24013' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/arch/Linux/good/224873 + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''true'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/arch/Linux/good/224873'\'' '\''text/plain'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading true'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put platform_good' + false + echo_service_message blockClosed 'name='\''Put platform_good'\''' + set +x + 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/snowstorm_viewer-development/rev/224873/arch/Linux/urls' + for a in '$other_archs' + eval '$build_Darwin' ++ true + urls='\${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/urls' + for a in '$other_archs' + eval '$build_CYGWIN' ++ true + urls='\${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/urls \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/urls' + process_pending_uploads + true + '[' -n ' 23994 24013' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 23994 24013 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.23994.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.24013.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/true 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/snowstorm_viewer-development/rev/224873/arch/Linux/urls \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/urls \${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/urls > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message'\'' 2>&3' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/all_done.py curl '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Linux/urls' '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/Darwin/urls' '${S3GET_URL}hg/repo/snowstorm_viewer-development/rev/224873/arch/CYGWIN/urls' + echo 'All Done' + upload_item url_list /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local item_file=message + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/url_list/message ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r message + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/url_list/message ']' + true + pending_upload_pids=' 24058' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/url_list/message + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + end_section 'Put url_list' fi' + false + echo_service_message blockClosed 'name='\''Put url_list'\''' + set +x + '[' http://automated-builds-secondlife-com.s3.amazonaws.com/ = http://automated-builds-secondlife-com.s3.amazonaws.com/ ']' + cat + process_pending_uploads + true + '[' -n ' 24058' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 24058 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.24058.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/links + eval 'python "$helper/hg/bin/results.py"\ '\''${S3PROXY_URL}'\''\ '\''${private_bucket}'\''\ '\''${S3PREFIX}'\''\ '\''${public_bucket}'\''\ '\''${S3PUBLIC_PREFIX}'\''\ '\''snowstorm_viewer-development'\''\ '\''224873'\''\ '\'''\''\ summary\ '\'''\''\ '\''${codeticket_server_url}'\''\ '\''.'\''\ Linux Darwin CYGWIN\ >'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/results.py '${S3PROXY_URL}' '${private_bucket}' '${S3PREFIX}' '${public_bucket}' '${S3PUBLIC_PREFIX}' snowstorm_viewer-development 224873 '' summary '' '${codeticket_server_url}' . Linux Darwin CYGWIN + '[' -r summary ']' + cp /dev/null /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/summary + all_builds_succeeded=true + '[' -r /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest/finalize.sh ']' + true + '[' -r /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/image_diffs.text ']' + begin_section Jira + echo_service_message blockOpened 'name='\''Jira'\''' + set +x + false + true + subject='Successful Build Nr. 224873 for snowstorm_viewer-development (580ef56f84bd) on Linux' + echo TRUE + upload_item good /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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=good + begin_section 'Put good' + echo_service_message blockOpened 'name='\''Put good'\''' + set +x + false + true + local item=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local encoding=text/plain + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message + local item_file=message + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/good/224873 ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r message + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/good/224873 ']' + true + pending_upload_pids=' 24090' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/good/224873 + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + end_section 'Put good' fi' + false + echo_service_message blockClosed 'name='\''Put good'\''' + set +x + cat /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/links /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/summary + cat /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/jira_note + end_section Jira + false + echo_service_message blockClosed 'name='\''Jira'\''' + set +x + false + test -s /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/index.html + upload_item result /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html + local item_file=index.html + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/rev/224873/index.html ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r index.html + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/rev/224873/index.html ']' + true + pending_upload_pids=' 24090 24175' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/rev/224873/index.html + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''index.html'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/rev/224873/index.html'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading index.html'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + end_section 'Put result' + false + echo_service_message blockClosed 'name='\''Put result'\''' + set +x + upload_item global_status /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification + local encoding=text/html + local asset_urls=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/asset_urls + local asset_name= + local dst= + local dst2= + 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/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification = x ']' ++ dirname /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification + local item_dir=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development ++ basename /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification + local item_file=notification + case "$item_type" in + dst=hg/repo/snowstorm_viewer-development/status ++ pwd + local here=/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development + test -r notification + for d in '"$dst"' '"$dst2"' + '[' -n hg/repo/snowstorm_viewer-development/status ']' + true + pending_upload_pids=' 24090 24175 24184' + echo http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/snowstorm_viewer-development/status + for d in '"$dst"' '"$dst2"' + '[' -n '' ']' + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + end_section 'Put global_status' + false + echo_service_message blockClosed 'name='\''Put global_status'\''' + set +x + sh -c 'if '\''/var/opt/teamcity/buildscripts/shared/latest/hg/bin/s3put.sh'\'' '\''notification'\'' '\''${put_url}hg/repo/snowstorm_viewer-development/status'\'' '\''text/html'\'' '\''public-read'\''>'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.log 2>&1; then echo '\''echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification OK.'\'' > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status else echo "record_failure '\''Uploading notification'\''; false" > '\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development'\''/upload.$$.status fi' + 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 + '[' 'xSuccessful Build Nr. 224873 for snowstorm_viewer-development (580ef56f84bd) on Linux' '!=' x -a xviewer-development-builds@lists.secondlife.com '!=' x ']' + begin_section Links + echo_service_message blockOpened 'name='\''Links'\''' + set +x + false + true + true + eval 'python "$helper/hg/bin/mail.py" '\''Successful Build Nr. 224873 for snowstorm_viewer-development (580ef56f84bd) on Linux'\'' viewer-development-builds@lists.secondlife.com <'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/mail.py 'Successful Build Nr. 224873 for snowstorm_viewer-development (580ef56f84bd) on Linux' viewer-development-builds@lists.secondlife.com + end_section Links + false + echo_service_message blockClosed 'name='\''Links'\''' + set +x + true + test -r /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/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" '\''snowstorm_viewer-development (r224873)'\'' @$helper/hg/email_status_always @$helper/hg/email_status_opensource <'\''/var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification'\''' ++ python /var/opt/teamcity/buildscripts/shared/latest/hg/bin/mail.py 'snowstorm_viewer-development (r224873)' @/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 + begin_section Cleanup + echo_service_message blockOpened 'name='\''Cleanup'\''' + set +x + false + true + test -d /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/latest + cd /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux + for f in 'latest/*' + echo removing latest/BuildParams + test -d latest/BuildParams + for f in 'latest/*' + echo removing latest/LICENSES + test -d latest/LICENSES + rm -rf latest/LICENSES + for f in 'latest/*' + echo removing latest/build.sh + test -d latest/build.sh + for f in 'latest/*' + echo removing latest/dependencies.html + test -d latest/dependencies.html + for f in 'latest/*' + echo removing latest/dependencies.sh + test -d latest/dependencies.sh + for f in 'latest/*' + echo removing latest/doc + test -d latest/doc + rm -rf latest/doc + for f in 'latest/*' + echo removing latest/etc + test -d latest/etc + rm -rf latest/etc + for f in 'latest/*' + echo removing latest/indra + test -d latest/indra + rm -rf latest/indra + for f in 'latest/*' + echo removing latest/install.xml + test -d latest/install.xml + for f in 'latest/*' + echo removing latest/installed.xml + test -d latest/installed.xml + for f in 'latest/*' + echo removing latest/libraries + test -d latest/libraries + rm -rf latest/libraries + for f in 'latest/*' + echo removing latest/scripts + test -d latest/scripts + rm -rf latest/scripts + for f in 'latest/*' + echo removing latest/viewer-hg-convert.shamap + test -d latest/viewer-hg-convert.shamap + end_section Cleanup + false + echo_service_message blockClosed 'name='\''Cleanup'\''' + set +x + dump_shell_trace + begin_section ShellTrace + echo_service_message blockOpened 'name='\''ShellTrace'\''' + set +x + false + true + process_pending_uploads + true + '[' -n ' 24090 24175 24184' ']' + begin_section ProcessUploads + echo_service_message blockOpened 'name='\''ProcessUploads'\''' + set +x + false + true + wait 24090 24175 24184 + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.24090.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/message OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.24175.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/index.html OK. + '[' 0 -ne 0 ']' + for pid in '$pending_upload_pids' + . /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/upload.24184.status ++ echo uploaded /var/opt/teamcity/checkout/snowstorm_viewer-development_Linux/build_log/snowstorm_viewer-development/notification OK. + '[' 0 -ne 0 ']' + pending_upload_pids= + end_section ProcessUploads + false + echo_service_message blockClosed 'name='\''ProcessUploads'\''' + set +x + exec