mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance loss, because test machines has a /home mount directory. MozReview-Commit-ID: 554IPMRWgzK --HG-- extra : rebase_source : 00827d3f6bd705419bc801eb05b543af1ddc274f
This commit is contained in:
parent
0734e39598
commit
6332ed5b0a
@ -10,10 +10,10 @@
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_390/final",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_390/final",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/home/worker/workspace/build/src/gcc",
|
||||
"cc": "/home/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/home/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/home/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"patches": [
|
||||
"llvm-debug-frame.patch",
|
||||
"r277806.patch",
|
||||
|
@ -10,10 +10,10 @@
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_401/final",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_401/final",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/home/worker/workspace/build/src/gcc",
|
||||
"cc": "/home/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/home/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/home/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"patches": [
|
||||
"llvm-debug-frame.patch"
|
||||
]
|
||||
|
@ -11,14 +11,14 @@
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_390/final",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_390/final",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/home/worker/workspace/build/src/gcc",
|
||||
"cc": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"cxx": "/home/worker/workspace/build/src/clang/bin/clang++",
|
||||
"as": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"ar": "/home/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ar",
|
||||
"ranlib": "/home/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ranlib",
|
||||
"libtool": "/home/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-libtool",
|
||||
"ld": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"cxx": "/builds/worker/workspace/build/src/clang/bin/clang++",
|
||||
"as": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"ar": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ar",
|
||||
"ranlib": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ranlib",
|
||||
"libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-libtool",
|
||||
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"patches":[
|
||||
"llvm-debug-frame.patch",
|
||||
"compiler-rt-cross-compile.patch",
|
||||
|
@ -12,8 +12,8 @@
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/home/worker/workspace/build/src/gcc",
|
||||
"cc": "/home/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/home/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/home/worker/workspace/build/src/gcc/bin/gcc"
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
||||
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
|
||||
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc"
|
||||
}
|
||||
|
@ -13,13 +13,13 @@
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/home/worker/workspace/build/src/gcc",
|
||||
"cc": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"cxx": "/home/worker/workspace/build/src/clang/bin/clang++",
|
||||
"as": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"ar": "/home/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ar",
|
||||
"ranlib": "/home/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ranlib",
|
||||
"ld": "/home/worker/workspace/build/src/clang/bin/clang",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"cxx": "/builds/worker/workspace/build/src/clang/bin/clang++",
|
||||
"as": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"ar": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ar",
|
||||
"ranlib": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin11-ranlib",
|
||||
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"patches": [
|
||||
"llvm-debug-frame.patch",
|
||||
"compiler-rt-cross-compile.patch"
|
||||
|
@ -336,16 +336,16 @@
|
||||
|
||||
|
||||
# Conditional jump or move depends on uninitialised value(s)
|
||||
# at 0xF9D56AE: sse2_combine_over_u (in /home/worker/workspace/build/applic
|
||||
# by 0xF9D05D4: general_composite_rect (in /home/worker/workspace/build/app
|
||||
# by 0xF9F5B5F: _moz_pixman_image_composite32 (in /home/worker/workspace/bu
|
||||
# by 0xF96CF63: _clip_and_composite (in /home/worker/workspace/build/applic
|
||||
# by 0xF96D656: _clip_and_composite_boxes.part.32 (in /home/worker/workspac
|
||||
# by 0xF96E328: _clip_and_composite_boxes (in /home/worker/workspace/build/
|
||||
# by 0xF96F79D: _cairo_image_surface_fill (in /home/worker/workspace/build/
|
||||
# by 0xF98790C: _cairo_surface_fill (in /home/worker/workspace/build/applic
|
||||
# at 0xF9D56AE: sse2_combine_over_u (in /builds/worker/workspace/build/applic
|
||||
# by 0xF9D05D4: general_composite_rect (in /builds/worker/workspace/build/app
|
||||
# by 0xF9F5B5F: _moz_pixman_image_composite32 (in /builds/worker/workspace/bu
|
||||
# by 0xF96CF63: _clip_and_composite (in /builds/worker/workspace/build/applic
|
||||
# by 0xF96D656: _clip_and_composite_boxes.part.32 (in /builds/worker/workspac
|
||||
# by 0xF96E328: _clip_and_composite_boxes (in /builds/worker/workspace/build/
|
||||
# by 0xF96F79D: _cairo_image_surface_fill (in /builds/worker/workspace/build/
|
||||
# by 0xF98790C: _cairo_surface_fill (in /builds/worker/workspace/build/applic
|
||||
# Uninitialised value was created by a stack allocation
|
||||
# at 0xF9D024D: general_composite_rect (in /home/worker/workspace/build/app
|
||||
# at 0xF9D024D: general_composite_rect (in /builds/worker/workspace/build/app
|
||||
#
|
||||
{
|
||||
Bug 1248365: mochitest-libpixman-3
|
||||
@ -358,12 +358,12 @@
|
||||
|
||||
|
||||
# Conditional jump or move depends on uninitialised value(s)
|
||||
# at 0xE626A5C: mozilla::image::imgFrame::Optimize() (in /home/worker/work
|
||||
# at 0xE626A5C: mozilla::image::imgFrame::Optimize() (in /builds/worker/work
|
||||
# by 0xE626C68: mozilla::image::imgFrame::UnlockImageData() (in /home/work
|
||||
# by 0xE608E8F: mozilla::image::RawAccessFrameRef::~RawAccessFrameRef() (i
|
||||
# by 0xE61F5E4: mozilla::image::Decoder::~Decoder() (in /home/worker/works
|
||||
# by 0xE61F5E4: mozilla::image::Decoder::~Decoder() (in /builds/worker/works
|
||||
# by 0xE630E32: mozilla::image::nsIconDecoder::~nsIconDecoder() (in /home/
|
||||
# by 0xE61A5B2: mozilla::image::Decoder::Release() (in /home/worker/worksp
|
||||
# by 0xE61A5B2: mozilla::image::Decoder::Release() (in /builds/worker/worksp
|
||||
# by 0xE61DD73: mozilla::image::NotifyDecodeCompleteWorker::~NotifyDecodeC
|
||||
# by 0xE61DD8F: mozilla::image::NotifyDecodeCompleteWorker::~NotifyDecodeC
|
||||
# Uninitialised value was created by a stack allocation
|
||||
@ -383,11 +383,11 @@
|
||||
# at 0x4E4533D: ??? (syscall-template.S:82)
|
||||
# by 0xE12C0A7: IPC::Channel::ChannelImpl::ProcessOutgoingMessages() (in /h
|
||||
# by 0xE142FD0: RunnableMethod<IPC::Channel, bool (IPC::Channel::*)(IPC::Me
|
||||
# by 0xE1240EA: MessageLoop::RunTask(Task*) (in /home/worker/workspace/buil
|
||||
# by 0xE1240EA: MessageLoop::RunTask(Task*) (in /builds/worker/workspace/buil
|
||||
# by 0xE128A46: MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask
|
||||
# by 0xE128B6D: MessageLoop::DoWork() (in /home/worker/workspace/build/appl
|
||||
# by 0xE128B6D: MessageLoop::DoWork() (in /builds/worker/workspace/build/appl
|
||||
# by 0xE12272C: base::MessagePumpLibevent::Run(base::MessagePump::Delegate*
|
||||
# by 0xE124155: MessageLoop::Run() (in /home/worker/workspace/build/applica
|
||||
# by 0xE124155: MessageLoop::Run() (in /builds/worker/workspace/build/applica
|
||||
{
|
||||
Bug 1248365: mochitest-sendmsg-1
|
||||
Memcheck:Param
|
||||
@ -406,14 +406,14 @@
|
||||
# by 0x41711BC4: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.53.35.0)
|
||||
# by 0x41B08B6A: avcodec_open2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.
|
||||
# by 0xEEAD89C: mozilla::FFmpegDataDecoder<53>::InitDecoder() (in /home/wor
|
||||
# by 0xEEAE42B: mozilla::FFmpegVideoDecoder<53>::Init() (in /home/worker/wo
|
||||
# by 0xEEA4C07: mozilla::H264Converter::Init() (in /home/worker/workspace/b
|
||||
# by 0xEEAE42B: mozilla::FFmpegVideoDecoder<53>::Init() (in /builds/worker/wo
|
||||
# by 0xEEA4C07: mozilla::H264Converter::Init() (in /builds/worker/workspace/b
|
||||
# Uninitialised value was created by a heap allocation
|
||||
# at 0x4C2D11F: realloc (vg_replace_malloc.c:785)
|
||||
# by 0x406196: moz_xrealloc (in /home/worker/workspace/build/application/fi
|
||||
# by 0x406196: moz_xrealloc (in /builds/worker/workspace/build/application/fi
|
||||
# by 0xDEB43AC: nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<
|
||||
# by 0xEEAD850: mozilla::FFmpegDataDecoder<53>::InitDecoder() (in /home/wor
|
||||
# by 0xEEAE42B: mozilla::FFmpegVideoDecoder<53>::Init() (in /home/worker/wo
|
||||
# by 0xEEAE42B: mozilla::FFmpegVideoDecoder<53>::Init() (in /builds/worker/wo
|
||||
{
|
||||
Bug 1248365: mochitest-libavcodec-1-c
|
||||
Memcheck:Cond
|
||||
@ -435,7 +435,7 @@
|
||||
# Not sure what this is, but I am inclined to think it is also probably a
|
||||
# SSE2-induced false positive similar to mochitest-libpixman-2 above.
|
||||
# Use of uninitialised value of size 8
|
||||
# at 0xE4F3E89: FastConvertYUVToRGB32Row (in /home/worker/workspace/build/a
|
||||
# at 0xE4F3E89: FastConvertYUVToRGB32Row (in /builds/worker/workspace/build/a
|
||||
# by 0xE4F4A6D: mozilla::gfx::ConvertYCbCrToRGB32(unsigned char const*, uns
|
||||
# by 0xE4F4B17: mozilla::gfx::ConvertYCbCrToRGB(mozilla::layers::PlanarYCbC
|
||||
# by 0xE5227CB: mozilla::layers::PlanarYCbCrImage::GetAsSourceSurface() (in
|
||||
@ -473,11 +473,11 @@
|
||||
# description of the ioctl(SIOCETHTOOL) behavior.
|
||||
# Syscall param ioctl(SIOCETHTOOL) points to uninitialised byte(s)
|
||||
# at 0x5D5CBF7: ioctl (syscall-template.S:82)
|
||||
# by 0xF58EB67: nr_stun_get_addrs (in /home/worker/workspace/build/applica
|
||||
# by 0xF594791: nr_stun_find_local_addresses (in /home/worker/workspace/bu
|
||||
# by 0xF58A237: nr_ice_get_local_addresses (in /home/worker/workspace/buil
|
||||
# by 0xF58ADDE: nr_ice_gather (in /home/worker/workspace/build/application
|
||||
# by 0xE43F35F: mozilla::NrIceCtx::StartGathering() (in /home/worker/works
|
||||
# by 0xF58EB67: nr_stun_get_addrs (in /builds/worker/workspace/build/applica
|
||||
# by 0xF594791: nr_stun_find_local_addresses (in /builds/worker/workspace/bu
|
||||
# by 0xF58A237: nr_ice_get_local_addresses (in /builds/worker/workspace/buil
|
||||
# by 0xF58ADDE: nr_ice_gather (in /builds/worker/workspace/build/application
|
||||
# by 0xE43F35F: mozilla::NrIceCtx::StartGathering() (in /builds/worker/works
|
||||
# by 0xE419560: mozilla::PeerConnectionMedia::EnsureIceGathering_s() (in /
|
||||
# by 0xE41A11C: mozilla::runnable_args_memfn<RefPtr<mozilla::PeerConnectio
|
||||
# Address 0x1cc3fb48 is on thread 6's stack
|
||||
@ -502,7 +502,7 @@
|
||||
# by 0x9F22C5F: FcConfigAppFontAddDir (in /usr/lib/x86_64-linux-gnu/libfon
|
||||
# by 0xE850173: gfxFcPlatformFontList::ActivateBundledFonts() (in /home/wo
|
||||
# by 0xE852258: gfxFcPlatformFontList::InitFontListForPlatform() (in /home
|
||||
# by 0xE895E21: gfxPlatformFontList::InitFontList() (in /home/worker/works
|
||||
# by 0xE895E21: gfxPlatformFontList::InitFontList() (in /builds/worker/works
|
||||
# Address 0x2316663c is 156 bytes inside a block of size 1,448 alloc'd
|
||||
# at 0x4C2CF71: malloc (vg_replace_malloc.c:299)
|
||||
# by 0x9F1FD1D: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
|
||||
@ -511,7 +511,7 @@
|
||||
# by 0x9F22C5F: FcConfigAppFontAddDir (in /usr/lib/x86_64-linux-gnu/libfon
|
||||
# by 0xE850173: gfxFcPlatformFontList::ActivateBundledFonts() (in /home/wo
|
||||
# by 0xE852258: gfxFcPlatformFontList::InitFontListForPlatform() (in /home
|
||||
# by 0xE895E21: gfxPlatformFontList::InitFontList() (in /home/worker/works
|
||||
# by 0xE895E21: gfxPlatformFontList::InitFontList() (in /builds/worker/works
|
||||
{
|
||||
Bug 1248365: libfontconfig-1
|
||||
Memcheck:Param
|
||||
@ -530,8 +530,8 @@
|
||||
#
|
||||
# Mismatched free() / delete / delete []
|
||||
# at 0x4C2BE97: free (vg_replace_malloc.c:530)
|
||||
# by 0xFCD09EC: ots::ots_post_free(ots::Font*) (in /home/worker/workspace/
|
||||
# by 0xFCC600E: ots::Font::~Font() (in /home/worker/workspace/build/applic
|
||||
# by 0xFCD09EC: ots::ots_post_free(ots::Font*) (in /builds/worker/workspace/
|
||||
# by 0xFCC600E: ots::Font::~Font() (in /builds/worker/workspace/build/applic
|
||||
# by 0xFCCBFA5: ots::OTSContext::Process(ots::OTSStream*, unsigned char co
|
||||
# by 0xE7D7C8D: gfxUserFontEntry::SanitizeOpenTypeData(unsigned char const
|
||||
# by 0xE7E371D: gfxUserFontEntry::LoadPlatformFont(unsigned char const*, u
|
||||
|
@ -51,4 +51,4 @@ export MOZ_ANDROID_POCKET=1
|
||||
|
||||
# Populated after checking out the sources and before building the
|
||||
# tree as part of the dependencies task bin/ scripts.
|
||||
ac_add_options --with-android-sdk="/home/worker/.mozbuild/android-sdk-linux"
|
||||
ac_add_options --with-android-sdk="/builds/worker/.mozbuild/android-sdk-linux"
|
||||
|
@ -9,7 +9,7 @@ ac_add_options --target=arm-linux-androideabi
|
||||
|
||||
ac_add_options --with-branding=mobile/android/branding/nightly
|
||||
|
||||
ac_add_options --with-android-distribution-directory=/home/worker/workspace/build/partner
|
||||
ac_add_options --with-android-distribution-directory=/builds/worker/workspace/build/partner
|
||||
|
||||
# This will overwrite the default of stripping everything and keep the symbol table.
|
||||
# This is useful for profiling with eideticker. See bug 788680
|
||||
|
@ -12,18 +12,19 @@ android-dependencies/opt:
|
||||
worker:
|
||||
docker-image: {in-tree: android-gradle-build}
|
||||
env:
|
||||
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle-online"
|
||||
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/dotgradle-online"
|
||||
PERFHERDER_EXTRA_OPTIONS: android-dependencies
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-gradle-dependencies/releng.manifest"
|
||||
WORKSPACE: "/builds/worker/workspace"
|
||||
artifacts:
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
- name: private/android-sdk
|
||||
path: /home/worker/private/android-sdk
|
||||
path: /builds/worker/private/android-sdk
|
||||
type: directory
|
||||
- name: private/java_home
|
||||
path: /home/worker/private/java_home
|
||||
path: /builds/worker/private/java_home
|
||||
type: directory
|
||||
max-run-time: 36000
|
||||
run:
|
||||
@ -59,15 +60,15 @@ android-test/opt:
|
||||
worker:
|
||||
docker-image: {in-tree: desktop-build}
|
||||
env:
|
||||
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
|
||||
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/dotgradle"
|
||||
PERFHERDER_EXTRA_OPTIONS: android-test
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-frontend/releng.manifest"
|
||||
artifacts:
|
||||
- name: public/android/unittest
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/tests
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/tests
|
||||
type: directory
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
max-run-time: 36000
|
||||
run:
|
||||
@ -101,30 +102,30 @@ android-lint/opt:
|
||||
worker:
|
||||
docker-image: {in-tree: desktop-build}
|
||||
env:
|
||||
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
|
||||
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/dotgradle"
|
||||
PERFHERDER_EXTRA_OPTIONS: android-lint
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-frontend/releng.manifest"
|
||||
artifacts:
|
||||
- name: public/android/lint/lint-results-officialAustralisDebug.html
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.html
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.html
|
||||
type: file
|
||||
- name: public/android/lint/lint-results-officialAustralisDebug.xml
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.xml
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.xml
|
||||
type: file
|
||||
- name: public/android/lint/lint-results-officialAustralisDebug_files
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug_files
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug_files
|
||||
type: directory
|
||||
- name: public/android/lint/lint-results-officialPhotonDebug.html
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.html
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.html
|
||||
type: file
|
||||
- name: public/android/lint/lint-results-officialPhotonDebug.xml
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.xml
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.xml
|
||||
type: file
|
||||
- name: public/android/lint/lint-results-officialPhotonDebug_files
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug_files
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug_files
|
||||
type: directory
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
max-run-time: 36000
|
||||
run:
|
||||
@ -164,18 +165,18 @@ android-checkstyle/opt:
|
||||
worker:
|
||||
docker-image: {in-tree: desktop-build}
|
||||
env:
|
||||
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
|
||||
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/dotgradle"
|
||||
PERFHERDER_EXTRA_OPTIONS: android-checkstyle
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-frontend/releng.manifest"
|
||||
artifacts:
|
||||
- name: public/android/checkstyle/checkstyle.html
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.html
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.html
|
||||
type: file
|
||||
- name: public/android/checkstyle/checkstyle.xml
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.xml
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.xml
|
||||
type: file
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
max-run-time: 36000
|
||||
run:
|
||||
@ -211,24 +212,24 @@ android-findbugs/opt:
|
||||
worker:
|
||||
docker-image: {in-tree: desktop-build}
|
||||
env:
|
||||
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
|
||||
GRADLE_USER_HOME: "/builds/worker/workspace/build/src/dotgradle"
|
||||
PERFHERDER_EXTRA_OPTIONS: android-findbugs
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-frontend/releng.manifest"
|
||||
artifacts:
|
||||
- name: public/android/findbugs/findbugs-officialAustralisDebug-output.html
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialAustralisDebug-output.html
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialAustralisDebug-output.html
|
||||
type: file
|
||||
- name: public/android/findbugs/findbugs-officialAustralisDebug-output.xml
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialAustralisDebug-output.xml
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialAustralisDebug-output.xml
|
||||
type: file
|
||||
- name: public/android/findbugs/findbugs-officialPhotonDebug-output.html
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialPhotonDebug-output.html
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialPhotonDebug-output.html
|
||||
type: file
|
||||
- name: public/android/findbugs/findbugs-officialPhotonDebug-output.xml
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialPhotonDebug-output.xml
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialPhotonDebug-output.xml
|
||||
type: file
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
max-run-time: 36000
|
||||
run:
|
||||
|
@ -284,17 +284,17 @@ android-api-15-gradle/opt:
|
||||
max-run-time: 7200
|
||||
env:
|
||||
# Bug 1292762 - Set GRADLE_USER_HOME to avoid sdk-manager-plugin intermittent
|
||||
GRADLE_USER_HOME: /home/worker/workspace/build/src/dotgradle
|
||||
GRADLE_USER_HOME: /builds/worker/workspace/build/src/dotgradle
|
||||
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
|
||||
artifacts:
|
||||
- name: public/android/maven
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
|
||||
type: directory
|
||||
- name: public/build/geckoview_example.apk
|
||||
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
|
||||
path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
|
||||
type: file
|
||||
- name: public/build
|
||||
path: /home/worker/artifacts/
|
||||
path: /builds/worker/artifacts/
|
||||
type: directory
|
||||
run:
|
||||
using: mozharness
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
||||
run:
|
||||
using: hazard
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko/taskcluster/scripts/builder
|
||||
cd /builds/worker/checkouts/gecko/taskcluster/scripts/builder
|
||||
&& ./build-haz-linux.sh --project shell $HOME/workspace
|
||||
when:
|
||||
files-changed:
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
using: hazard
|
||||
mozconfig: "browser/config/mozconfigs/linux64/hazards"
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko/taskcluster/scripts/builder
|
||||
cd /builds/worker/checkouts/gecko/taskcluster/scripts/builder
|
||||
&& ./build-haz-linux.sh --project browser $HOME/workspace
|
||||
toolchains:
|
||||
- linux64-clang
|
||||
|
@ -12,11 +12,11 @@ doc-generate:
|
||||
artifacts:
|
||||
- type: file
|
||||
name: public/docs.tar.gz
|
||||
path: /home/worker/checkouts/gecko/docs-out/main.tar.gz
|
||||
path: /builds/worker/checkouts/gecko/docs-out/main.tar.gz
|
||||
run:
|
||||
using: run-task
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko &&
|
||||
cd /builds/worker/checkouts/gecko &&
|
||||
./mach doc --outdir docs-out --no-open --archive
|
||||
when:
|
||||
files-changed:
|
||||
@ -39,7 +39,7 @@ doc-upload:
|
||||
taskcluster-proxy: true
|
||||
run:
|
||||
using: run-task
|
||||
command: cd /home/worker/checkouts/gecko && ./mach doc --upload --no-open
|
||||
command: cd /builds/worker/checkouts/gecko && ./mach doc --upload --no-open
|
||||
scopes:
|
||||
- secrets:get:project/releng/gecko/build/level-{level}/gecko-docs-upload
|
||||
when:
|
||||
|
@ -13,7 +13,7 @@ eslint-plugin-mozilla:
|
||||
using: run-task
|
||||
cache-dotcache: true
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko/tools/lint/eslint/eslint-plugin-mozilla &&
|
||||
cd /builds/worker/checkouts/gecko/tools/lint/eslint/eslint-plugin-mozilla &&
|
||||
cp -r /build/node_modules_eslint-plugin-mozilla node_modules &&
|
||||
npm run test
|
||||
when:
|
||||
|
@ -12,7 +12,7 @@ mozlint-eslint:
|
||||
run:
|
||||
using: run-task
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko/ &&
|
||||
cd /builds/worker/checkouts/gecko/ &&
|
||||
cp -r /build/node_modules_eslint node_modules &&
|
||||
ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
|
||||
ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
|
||||
|
@ -66,9 +66,9 @@ mochitest-harness:
|
||||
run:
|
||||
using: run-task
|
||||
command: >
|
||||
source /home/worker/scripts/xvfb.sh &&
|
||||
source /builds/worker/scripts/xvfb.sh &&
|
||||
start_xvfb '1600x1200x24' 0 &&
|
||||
cd /home/worker/checkouts/gecko &&
|
||||
cd /builds/worker/checkouts/gecko &&
|
||||
./mach python-test --subsuite mochitest
|
||||
when:
|
||||
files-changed:
|
||||
@ -120,7 +120,7 @@ mozharness:
|
||||
using: run-task
|
||||
cache-dotcache: true
|
||||
command: >
|
||||
cd /home/worker/checkouts/gecko/testing/mozharness &&
|
||||
cd /builds/worker/checkouts/gecko/testing/mozharness &&
|
||||
/usr/local/bin/tox -e py27-hg4.3
|
||||
when:
|
||||
files-changed:
|
||||
|
@ -1,12 +1,12 @@
|
||||
# TODO remove VOLUME below when the base image is updated next.
|
||||
FROM taskcluster/centos6-build-upd:0.1.6.20160329195300
|
||||
FROM taskcluster/centos6-build-upd:0.1.8.20170808150401
|
||||
MAINTAINER Nick Alexander <nalexander@mozilla.com>
|
||||
|
||||
# BEGIN ../desktop-build/Dockerfile
|
||||
|
||||
VOLUME /home/worker/checkouts
|
||||
VOLUME /home/worker/workspace
|
||||
VOLUME /home/worker/tooltool-cache
|
||||
VOLUME /builds/worker/checkouts
|
||||
VOLUME /builds/worker/workspace
|
||||
VOLUME /builds/worker/tooltool-cache
|
||||
|
||||
# %include python/mozbuild/mozbuild/action/tooltool.py
|
||||
COPY topsrcdir/python/mozbuild/mozbuild/action/tooltool.py /build/tooltool.py
|
||||
@ -42,13 +42,13 @@ RUN bash /setup/system-setup.sh
|
||||
|
||||
# Add wrapper scripts for xvfb allowing tasks to easily retry starting up xvfb
|
||||
# %include taskcluster/docker/recipes/xvfb.sh
|
||||
COPY topsrcdir/taskcluster/docker/recipes/xvfb.sh /home/worker/scripts/xvfb.sh
|
||||
COPY topsrcdir/taskcluster/docker/recipes/xvfb.sh /builds/worker/scripts/xvfb.sh
|
||||
|
||||
# %include taskcluster/docker/recipes/run-task
|
||||
COPY topsrcdir/taskcluster/docker/recipes/run-task /home/worker/bin/run-task
|
||||
COPY topsrcdir/taskcluster/docker/recipes/run-task /builds/worker/bin/run-task
|
||||
|
||||
# Add configuration
|
||||
COPY dot-config /home/worker/.config
|
||||
COPY dot-config /builds/worker/.config
|
||||
|
||||
# Generate machine uuid file
|
||||
RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
@ -57,12 +57,12 @@ RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
# if it's not found, which causes the build to fail. Note that this needs to
|
||||
# be in the parent of the workspace directory and in the directory where
|
||||
# mozharness is run (not its --work-dir). See Bug 1169652.
|
||||
ADD oauth.txt /home/worker/
|
||||
ADD oauth.txt /builds/worker/
|
||||
|
||||
# stubbed out buildprops, which keeps mozharness from choking
|
||||
# Note that this needs to be in the parent of the workspace directory and in
|
||||
# the directory where mozharness is run (not its --work-dir)
|
||||
ADD buildprops.json /home/worker/
|
||||
ADD buildprops.json /builds/worker/
|
||||
|
||||
# END ../desktop-build/Dockerfile
|
||||
|
||||
@ -114,7 +114,7 @@ RUN tar zxf nexus-${NEXUS_VERSION}-bundle.tar.gz \
|
||||
RUN chown -R worker:worker /opt/sonatype/nexus/
|
||||
|
||||
# Back to the centos6-build workdir, matching desktop-build.
|
||||
WORKDIR /home/worker
|
||||
WORKDIR /builds/worker
|
||||
|
||||
# Set a default command useful for debugging
|
||||
CMD ["/bin/bash", "--login"]
|
||||
|
@ -1 +1 @@
|
||||
0.0.1
|
||||
0.0.2
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM taskcluster/centos6-build:0.1.7
|
||||
FROM taskcluster/centos6-build:0.1.8
|
||||
MAINTAINER Dustin J. Mitchell <dustin@mozilla.com>
|
||||
|
||||
### update to latest from upstream repositories
|
||||
|
@ -1 +1 @@
|
||||
0.1.7.20170801103900
|
||||
0.1.8.20170808150401
|
||||
|
@ -1,16 +1,18 @@
|
||||
FROM centos:6
|
||||
MAINTAINER Dustin J. Mitchell <dustin@mozilla.com>
|
||||
|
||||
RUN mkdir /builds
|
||||
|
||||
### add worker user and setup its workspace
|
||||
RUN useradd -d /home/worker -s /bin/bash -m worker
|
||||
RUN useradd -d /builds/worker -s /bin/bash -m worker
|
||||
# Declare default working folder
|
||||
WORKDIR /home/worker
|
||||
WORKDIR /builds/worker
|
||||
|
||||
# This will create a host mounted filesystem when the cache is stripped
|
||||
# on Try. This cancels out some of the performance losses of aufs. See
|
||||
# bug 1291940.
|
||||
VOLUME /home/worker/workspace
|
||||
VOLUME /home/worker/tooltool-cache
|
||||
VOLUME /builds/worker/workspace
|
||||
VOLUME /builds/worker/tooltool-cache
|
||||
|
||||
# %include build/valgrind/valgrind-epochs.patch
|
||||
ADD topsrcdir/build/valgrind/valgrind-epochs.patch /tmp/valgrind-epochs.patch
|
||||
@ -20,12 +22,12 @@ ADD system-setup.sh /tmp/system-setup.sh
|
||||
RUN bash /tmp/system-setup.sh
|
||||
|
||||
# Builds need the share module enabled
|
||||
ADD hgrc /home/worker/.hgrc
|
||||
RUN chown -R worker:worker /home/worker/.hgrc
|
||||
ADD hgrc /builds/worker/.hgrc
|
||||
RUN chown -R worker:worker /builds/worker/.hgrc
|
||||
|
||||
# Set variable normally configured at login, by the shells parent process, these
|
||||
# are taken from GNU su manual
|
||||
ENV HOME /home/worker
|
||||
ENV HOME /builds/worker
|
||||
ENV SHELL /bin/bash
|
||||
ENV USER worker
|
||||
ENV LOGNAME worker
|
||||
|
@ -1 +1 @@
|
||||
0.1.7
|
||||
0.1.8
|
||||
|
@ -456,8 +456,8 @@ ln -s /usr/local/bin/ninja /usr/local/bin/ninja-build
|
||||
|
||||
# note that TC will replace workspace with a cache mount; there's no sense
|
||||
# creating anything inside there
|
||||
mkdir -p /home/worker/workspace
|
||||
chown worker:worker /home/worker/workspace
|
||||
mkdir -p /builds/worker/workspace
|
||||
chown worker:worker /builds/worker/workspace
|
||||
|
||||
# /builds is *not* replaced with a mount in the docker container. The worker
|
||||
# user writes to lots of subdirectories, though, so it's owned by that user
|
||||
|
@ -1,16 +1,16 @@
|
||||
# TODO remove VOLUME below when the base image is updated next.
|
||||
FROM taskcluster/centos6-build-upd:0.1.7.20170801103900
|
||||
FROM taskcluster/centos6-build-upd:0.1.8.20170808150401
|
||||
MAINTAINER Dustin J. Mitchell <dustin@mozilla.com>
|
||||
|
||||
VOLUME /home/worker/workspace
|
||||
VOLUME /home/worker/tooltool-cache
|
||||
VOLUME /home/worker/checkouts
|
||||
VOLUME /home/worker/.tc-vcs
|
||||
VOLUME /builds/worker/workspace
|
||||
VOLUME /builds/worker/tooltool-cache
|
||||
VOLUME /builds/worker/checkouts
|
||||
VOLUME /builds/worker/.tc-vcs
|
||||
|
||||
# Add build scripts; these are the entry points from the taskcluster worker, and
|
||||
# operate on environment variables
|
||||
ADD bin /home/worker/bin
|
||||
RUN chmod +x /home/worker/bin/*
|
||||
ADD bin /builds/worker/bin
|
||||
RUN chmod +x /builds/worker/bin/*
|
||||
|
||||
# %include python/mozbuild/mozbuild/action/tooltool.py
|
||||
ADD topsrcdir/python/mozbuild/mozbuild/action/tooltool.py /builds/tooltool.py
|
||||
@ -41,13 +41,13 @@ RUN bash /setup/system-setup.sh
|
||||
|
||||
# Add wrapper scripts for xvfb allowing tasks to easily retry starting up xvfb
|
||||
# %include taskcluster/docker/recipes/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /home/worker/scripts/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /builds/worker/scripts/xvfb.sh
|
||||
|
||||
# %include taskcluster/docker/recipes/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /home/worker/bin/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /builds/worker/bin/run-task
|
||||
|
||||
# Add configuration
|
||||
COPY dot-config /home/worker/.config
|
||||
COPY dot-config /builds/worker/.config
|
||||
|
||||
# Generate machine uuid file
|
||||
RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
@ -56,12 +56,12 @@ RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
# if it's not found, which causes the build to fail. Note that this needs to
|
||||
# be in the parent of the workspace directory and in the directory where
|
||||
# mozharness is run (not its --work-dir). See Bug 1169652.
|
||||
ADD oauth.txt /home/worker/
|
||||
ADD oauth.txt /builds/worker/
|
||||
|
||||
# stubbed out buildprops, which keeps mozharness from choking
|
||||
# Note that this needs to be in the parent of the workspace directory and in
|
||||
# the directory where mozharness is run (not its --work-dir)
|
||||
ADD buildprops.json /home/worker/
|
||||
ADD buildprops.json /builds/worker/
|
||||
|
||||
# Move installation to base centos6-build image once Bug 1272629 is fixed
|
||||
# Install the screen package here to use with xvfb.
|
||||
|
@ -12,7 +12,7 @@ script_args="${@}"
|
||||
if [ $(id -u) = 0 ]; then
|
||||
# each of the caches we have mounted are owned by root, so update that ownership
|
||||
# to 'worker'
|
||||
for cache in /home/worker/.tc-vcs /home/worker/workspace /home/worker/tooltool-cache; do
|
||||
for cache in /builds/worker/.tc-vcs /builds/worker/workspace /builds/worker/tooltool-cache; do
|
||||
if [ -d $cache ]; then
|
||||
# -R probably isn't necessary forever, but it fixes some poisoned
|
||||
# caches for now
|
||||
@ -21,7 +21,7 @@ if [ $(id -u) = 0 ]; then
|
||||
done
|
||||
|
||||
# ..then drop privileges by re-running this script
|
||||
exec su worker -c "/home/worker/bin/build.sh $script_args"
|
||||
exec su worker -c "/builds/worker/bin/build.sh $script_args"
|
||||
fi
|
||||
|
||||
####
|
||||
|
@ -25,7 +25,7 @@ set -x -e
|
||||
: TOOLS_HEAD_REF ${TOOLS_HEAD_REF:=${TOOLS_HEAD_REV}}
|
||||
: TOOLS_DISABLE ${TOOLS_DISABLE:=false}
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
|
@ -1,16 +1,17 @@
|
||||
FROM ubuntu:16.04
|
||||
MAINTAINER Joel Maher <joel.maher@gmail.com>
|
||||
|
||||
RUN useradd -d /home/worker -s /bin/bash -m worker
|
||||
WORKDIR /home/worker
|
||||
RUN mkdir /builds
|
||||
RUN useradd -d /builds/worker -s /bin/bash -m worker
|
||||
WORKDIR /builds/worker
|
||||
|
||||
# We need to declare all potentially cache volumes as caches. Also,
|
||||
# making high I/O paths volumes increase I/O throughput because of
|
||||
# AUFS slowness.
|
||||
VOLUME /home/worker/.cache
|
||||
VOLUME /home/worker/checkouts
|
||||
VOLUME /home/worker/tooltool-cache
|
||||
VOLUME /home/worker/workspace
|
||||
VOLUME /builds/worker/.cache
|
||||
VOLUME /builds/worker/checkouts
|
||||
VOLUME /builds/worker/tooltool-cache
|
||||
VOLUME /builds/worker/workspace
|
||||
|
||||
# %include python/mozbuild/mozbuild/action/tooltool.py
|
||||
ADD topsrcdir/python/mozbuild/mozbuild/action/tooltool.py /setup/tooltool.py
|
||||
@ -37,17 +38,17 @@ RUN bash /setup/system-setup.sh
|
||||
|
||||
# Add wrapper scripts for xvfb allowing tasks to easily retry starting up xvfb
|
||||
# %include taskcluster/docker/recipes/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /home/worker/scripts/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /builds/worker/scripts/xvfb.sh
|
||||
|
||||
# %include taskcluster/docker/recipes/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /home/worker/bin/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /builds/worker/bin/run-task
|
||||
|
||||
# %include taskcluster/scripts/tester/test-linux.sh
|
||||
ADD topsrcdir/taskcluster/scripts/tester/test-linux.sh /home/worker/bin/test-linux.sh
|
||||
ADD topsrcdir/taskcluster/scripts/tester/test-linux.sh /builds/worker/bin/test-linux.sh
|
||||
|
||||
# Set variable normally configured at login, by the shells parent process, these
|
||||
# are taken from GNU su manual
|
||||
ENV HOME /home/worker
|
||||
ENV HOME /builds/worker
|
||||
ENV SHELL /bin/bash
|
||||
ENV USER worker
|
||||
ENV LOGNAME worker
|
||||
@ -56,16 +57,16 @@ ENV LANG en_US.UTF-8
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
# Add utilities and configuration
|
||||
COPY dot-files/config /home/worker/.config
|
||||
COPY dot-files/pulse /home/worker/.pulse
|
||||
COPY dot-files/config /builds/worker/.config
|
||||
COPY dot-files/pulse /builds/worker/.pulse
|
||||
RUN chmod +x bin/*
|
||||
# TODO: remove this when buildbot is gone
|
||||
COPY buildprops.json /home/worker/buildprops.json
|
||||
COPY buildprops.json /builds/worker/buildprops.json
|
||||
COPY tc-vcs-config.yml /etc/taskcluster-vcs.yml
|
||||
|
||||
# TODO: remove
|
||||
ADD https://raw.githubusercontent.com/taskcluster/buildbot-step/master/buildbot_step /home/worker/bin/buildbot_step
|
||||
RUN chmod u+x /home/worker/bin/buildbot_step
|
||||
ADD https://raw.githubusercontent.com/taskcluster/buildbot-step/master/buildbot_step /builds/worker/bin/buildbot_step
|
||||
RUN chmod u+x /builds/worker/bin/buildbot_step
|
||||
|
||||
# allow the worker user to access video devices
|
||||
RUN usermod -a -G video worker
|
||||
@ -76,7 +77,7 @@ RUN mkdir Documents; mkdir Pictures; mkdir Music; mkdir Videos; mkdir artifacts
|
||||
RUN npm install -g taskcluster-vcs@2.3.12 \
|
||||
&& npm install -g taskcluster-npm-cache@1.1.14 \
|
||||
&& rm -rf ~/.npm
|
||||
ENV PATH $PATH:/home/worker/bin
|
||||
ENV PATH $PATH:/builds/worker/bin
|
||||
|
||||
# TODO Re-enable worker when bug 1093833 lands
|
||||
#USER worker
|
||||
@ -103,14 +104,14 @@ ENV DISPLAY :0
|
||||
ADD apport /etc/default/apport
|
||||
|
||||
# Disable font antialiasing for now to match releng's setup
|
||||
ADD fonts.conf /home/worker/.fonts.conf
|
||||
ADD fonts.conf /builds/worker/.fonts.conf
|
||||
|
||||
# Set up first-run experience for interactive mode
|
||||
ADD motd /etc/taskcluster-motd
|
||||
ADD taskcluster-interactive-shell /bin/taskcluster-interactive-shell
|
||||
RUN chmod +x /bin/taskcluster-interactive-shell
|
||||
|
||||
RUN chown -R worker:worker /home/worker
|
||||
RUN chown -R worker:worker /builds/worker
|
||||
|
||||
# Set a default command useful for debugging
|
||||
CMD ["/bin/bash", "--login"]
|
||||
|
@ -1,11 +1,12 @@
|
||||
FROM ubuntu:16.04
|
||||
MAINTAINER Andrew Halberstadt <ahalberstadt@mozilla.com>
|
||||
|
||||
RUN useradd -d /home/worker -s /bin/bash -m worker
|
||||
WORKDIR /home/worker
|
||||
RUN mkdir /builds
|
||||
RUN useradd -d /builds/worker -s /bin/bash -m worker
|
||||
WORKDIR /builds/worker
|
||||
|
||||
VOLUME /home/worker/.cache
|
||||
VOLUME /home/worker/checkouts
|
||||
VOLUME /builds/worker/.cache
|
||||
VOLUME /builds/worker/checkouts
|
||||
|
||||
RUN mkdir /build
|
||||
# %include python/mozbuild/mozbuild/action/tooltool.py
|
||||
@ -31,12 +32,12 @@ ADD topsrcdir/tools/lint/tox/tox_requirements.txt /tmp/tox_requirements.txt
|
||||
RUN bash /tmp/system-setup.sh
|
||||
|
||||
# %include taskcluster/docker/recipes/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /home/worker/bin/run-task
|
||||
RUN chown -R worker:worker /home/worker/bin && chmod 755 /home/worker/bin/*
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /builds/worker/bin/run-task
|
||||
RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/*
|
||||
|
||||
# Set variable normally configured at login, by the shells parent process, these
|
||||
# are taken from GNU su manual
|
||||
ENV HOME /home/worker
|
||||
ENV HOME /builds/worker
|
||||
ENV SHELL /bin/bash
|
||||
ENV USER worker
|
||||
ENV LOGNAME worker
|
||||
|
@ -1,18 +1,18 @@
|
||||
# TODO remove VOLUME below when the base image is updated next.
|
||||
FROM taskcluster/centos6-build-upd:0.1.7.20170801103900
|
||||
FROM taskcluster/centos6-build-upd:0.1.8.20170808150401
|
||||
MAINTAINER Dustin J. Mitchell <dustin@mozilla.com>
|
||||
|
||||
VOLUME /home/worker/checkouts
|
||||
VOLUME /home/worker/workspace
|
||||
VOLUME /home/worker/tooltool-cache
|
||||
VOLUME /builds/worker/checkouts
|
||||
VOLUME /builds/worker/workspace
|
||||
VOLUME /builds/worker/tooltool-cache
|
||||
|
||||
# Add build scripts; these are the entry points from the taskcluster worker, and
|
||||
# operate on environment variables
|
||||
|
||||
# %include taskcluster/docker/desktop-build/bin
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/bin /home/worker/bin
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/bin /builds/worker/bin
|
||||
|
||||
RUN chmod +x /home/worker/bin/*
|
||||
RUN chmod +x /builds/worker/bin/*
|
||||
|
||||
# %include python/mozbuild/mozbuild/action/tooltool.py
|
||||
ADD topsrcdir/python/mozbuild/mozbuild/action/tooltool.py /builds/tooltool.py
|
||||
@ -46,14 +46,14 @@ RUN bash /setup/system-setup.sh
|
||||
|
||||
# Add wrapper scripts for xvfb allowing tasks to easily retry starting up xvfb
|
||||
# %include taskcluster/docker/recipes/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /home/worker/scripts/xvfb.sh
|
||||
ADD topsrcdir/taskcluster/docker/recipes/xvfb.sh /builds/worker/scripts/xvfb.sh
|
||||
|
||||
# %include taskcluster/docker/recipes/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /home/worker/bin/run-task
|
||||
ADD topsrcdir/taskcluster/docker/recipes/run-task /builds/worker/bin/run-task
|
||||
|
||||
# Add configuration
|
||||
# %include taskcluster/docker/desktop-build/dot-config
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/dot-config /home/worker/.config
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/dot-config /builds/worker/.config
|
||||
|
||||
# Generate machine uuid file
|
||||
RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
@ -63,13 +63,13 @@ RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id
|
||||
# be in the parent of the workspace directory and in the directory where
|
||||
# mozharness is run (not its --work-dir). See Bug 1169652.
|
||||
# %include taskcluster/docker/desktop-build/oauth.txt
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/oauth.txt /home/worker/
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/oauth.txt /builds/worker/
|
||||
|
||||
# stubbed out buildprops, which keeps mozharness from choking
|
||||
# Note that this needs to be in the parent of the workspace directory and in
|
||||
# the directory where mozharness is run (not its --work-dir)
|
||||
# %include taskcluster/docker/desktop-build/buildprops.json
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/buildprops.json /home/worker/
|
||||
ADD topsrcdir/taskcluster/docker/desktop-build/buildprops.json /builds/worker/
|
||||
|
||||
# Move installation to base centos6-build image once Bug 1272629 is fixed
|
||||
# Install the screen package here to use with xvfb.
|
||||
|
@ -4,7 +4,7 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
|
@ -4,7 +4,7 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
: GRADLE_VERSION ${GRADLE_VERSION:=2.14.1}
|
||||
|
||||
set -v
|
||||
@ -12,19 +12,19 @@ set -v
|
||||
# Package everything up.
|
||||
pushd $WORKSPACE
|
||||
|
||||
cp -R /home/worker/.mozbuild/android-sdk-linux android-sdk-linux
|
||||
cp -R /builds/worker/.mozbuild/android-sdk-linux android-sdk-linux
|
||||
tar cJf android-sdk-linux.tar.xz android-sdk-linux
|
||||
|
||||
# We can't redistribute the Android SDK publicly.
|
||||
mkdir -p /home/worker/private/android-sdk
|
||||
mv android-sdk-linux.tar.xz /home/worker/private/android-sdk
|
||||
mkdir -p /builds/worker/private/android-sdk
|
||||
mv android-sdk-linux.tar.xz /builds/worker/private/android-sdk
|
||||
|
||||
cp -R $WORKSPACE/build/src/java_home java_home
|
||||
tar cJf java_home.tar.xz java_home
|
||||
|
||||
# We can't redistribute Java publicly.
|
||||
mkdir -p /home/worker/private/java_home
|
||||
mv java_home.tar.xz /home/worker/private/java_home
|
||||
mkdir -p /builds/worker/private/java_home
|
||||
mv java_home.tar.xz /builds/worker/private/java_home
|
||||
|
||||
cp -R $WORKSPACE/nexus/storage/jcenter jcenter
|
||||
tar cJf jcenter.tar.xz jcenter
|
||||
@ -42,8 +42,8 @@ unzip -q gradle-${GRADLE_VERSION}-all.zip
|
||||
mv gradle-${GRADLE_VERSION} gradle-dist
|
||||
tar cJf gradle-dist.tar.xz gradle-dist
|
||||
|
||||
mkdir -p /home/worker/artifacts
|
||||
mv jcenter.tar.xz /home/worker/artifacts
|
||||
mv google.tar.xz /home/worker/artifacts
|
||||
mv gradle-dist.tar.xz /home/worker/artifacts
|
||||
mkdir -p /builds/worker/artifacts
|
||||
mv jcenter.tar.xz /builds/worker/artifacts
|
||||
mv google.tar.xz /builds/worker/artifacts
|
||||
mv gradle-dist.tar.xz /builds/worker/artifacts
|
||||
popd
|
||||
|
@ -4,14 +4,14 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
mkdir -p ${WORKSPACE}/nexus/conf
|
||||
cp /home/worker/workspace/build/src/taskcluster/scripts/builder/build-android-dependencies/nexus.xml ${WORKSPACE}/nexus/conf/nexus.xml
|
||||
cp /builds/worker/workspace/build/src/taskcluster/scripts/builder/build-android-dependencies/nexus.xml ${WORKSPACE}/nexus/conf/nexus.xml
|
||||
|
||||
# Populate /home/worker/workspace/build/src/java_home.
|
||||
# Populate /builds/worker/workspace/build/src/java_home.
|
||||
. $WORKSPACE/build/src/taskcluster/scripts/builder/build-android-dependencies/repackage-jdk-centos.sh
|
||||
|
||||
mv $WORKSPACE/java/usr/lib/jvm/java_home $WORKSPACE/build/src/java_home
|
||||
@ -19,8 +19,8 @@ mv $WORKSPACE/java/usr/lib/jvm/java_home $WORKSPACE/build/src/java_home
|
||||
export JAVA_HOME=$WORKSPACE/build/src/java_home
|
||||
export PATH=$PATH:$JAVA_HOME/bin
|
||||
|
||||
# Populate /home/worker/.mozbuild/android-sdk-linux.
|
||||
python2.7 /home/worker/workspace/build/src/python/mozboot/mozboot/android.py --artifact-mode --no-interactive
|
||||
# Populate /builds/worker/.mozbuild/android-sdk-linux.
|
||||
python2.7 $WORKSPACE/build/src/python/mozboot/mozboot/android.py --artifact-mode --no-interactive
|
||||
|
||||
RUN_AS_USER=worker NEXUS_WORK=$WORKSPACE/nexus /opt/sonatype/nexus/bin/nexus restart
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e -x
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
|
@ -4,7 +4,7 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
. /home/worker/scripts/xvfb.sh
|
||||
. /builds/worker/scripts/xvfb.sh
|
||||
|
||||
####
|
||||
# Taskcluster friendly wrapper for performing fx desktop l10n repacks via mozharness.
|
||||
@ -18,11 +18,11 @@ echo "running as" $(id)
|
||||
: MOZHARNESS_ACTIONS ${MOZHARNESS_ACTIONS}
|
||||
: MOZHARNESS_OPTIONS ${MOZHARNESS_OPTIONS}
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
|
||||
: NEED_XVFB ${NEED_XVFB:=false}
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
@ -86,7 +86,7 @@ if [ -n "$MOZHARNESS_OPTIONS" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
cd /home/worker
|
||||
cd /builds/worker
|
||||
|
||||
python2.7 $WORKSPACE/build/src/testing/${MOZHARNESS_SCRIPT} \
|
||||
--disable-mock \
|
||||
|
@ -4,7 +4,7 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
. /home/worker/scripts/xvfb.sh
|
||||
. /builds/worker/scripts/xvfb.sh
|
||||
|
||||
####
|
||||
# Taskcluster friendly wrapper for performing fx desktop builds via mozharness.
|
||||
@ -17,7 +17,7 @@ echo "running as" $(id)
|
||||
: MOZHARNESS_ACTIONS ${MOZHARNESS_ACTIONS}
|
||||
: MOZHARNESS_OPTIONS ${MOZHARNESS_OPTIONS}
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
|
||||
: NEED_XVFB ${NEED_XVFB:=false}
|
||||
|
||||
@ -26,7 +26,7 @@ echo "running as" $(id)
|
||||
: MH_BUILD_POOL ${MH_BUILD_POOL:=staging}
|
||||
: MOZ_SCM_LEVEL ${MOZ_SCM_LEVEL:=1}
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
@ -112,7 +112,7 @@ if [ -n "$MOZHARNESS_OPTIONS" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
cd /home/worker
|
||||
cd /builds/worker
|
||||
|
||||
python2.7 $WORKSPACE/build/src/testing/${MOZHARNESS_SCRIPT} ${config_cmds} \
|
||||
$debug_flag \
|
||||
|
@ -4,7 +4,7 @@ set -x -e
|
||||
|
||||
echo "running as" $(id)
|
||||
|
||||
. /home/worker/scripts/xvfb.sh
|
||||
. /builds/worker/scripts/xvfb.sh
|
||||
|
||||
####
|
||||
# Taskcluster friendly wrapper for performing fx desktop builds via mozharness.
|
||||
@ -17,9 +17,9 @@ echo "running as" $(id)
|
||||
: MOZHARNESS_ACTIONS ${MOZHARNESS_ACTIONS}
|
||||
: MOZHARNESS_OPTIONS ${MOZHARNESS_OPTIONS}
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
|
||||
: WORKSPACE ${WORKSPACE:=/home/worker/workspace}
|
||||
: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
|
||||
|
||||
set -v
|
||||
|
||||
@ -84,7 +84,7 @@ if [ -n "$MOZHARNESS_OPTIONS" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
cd /home/worker
|
||||
cd /builds/worker
|
||||
|
||||
python2.7 $WORKSPACE/build/src/testing/${MOZHARNESS_SCRIPT} ${config_cmds} \
|
||||
$actions \
|
||||
|
@ -4,7 +4,7 @@ set -x -e -v
|
||||
|
||||
# This script is for building clang-cl on Windows.
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
export TOOLTOOL_CACHE
|
||||
|
||||
TOOLTOOL_AUTH_FILE=/c/builds/relengapi.tok
|
||||
|
@ -4,7 +4,7 @@ set -x -e -v
|
||||
|
||||
# This script is for building clang-cl on Windows.
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
export TOOLTOOL_CACHE
|
||||
|
||||
TOOLTOOL_AUTH_FILE=/c/builds/relengapi.tok
|
||||
|
@ -27,7 +27,7 @@ if [ -n "$UPLOAD_DIR" ]; then
|
||||
TOOLTOOL_DL_FLAGS="${TOOLTOOL_DL_FLAGS=} --artifact-manifest $UPLOAD_DIR/toolchains.json"
|
||||
fi
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/builds/worker/tooltool-cache}
|
||||
export TOOLTOOL_CACHE
|
||||
|
||||
./mach artifact toolchain -v${TOOLTOOL_DL_FLAGS}${TOOLTOOL_MANIFEST:+ --tooltool-manifest "${TOOLTOOL_MANIFEST}"}${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}} --retry 5${MOZ_TOOLCHAINS:+ ${MOZ_TOOLCHAINS}}
|
||||
|
@ -28,10 +28,10 @@ payload:
|
||||
GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
|
||||
GECKO_HEAD_REF: '{{head_ref}}'
|
||||
GECKO_HEAD_REV: '{{head_rev}}'
|
||||
HG_STORE_PATH: /home/worker/checkouts/hg-store
|
||||
HG_STORE_PATH: /builds/worker/checkouts/hg-store
|
||||
|
||||
cache:
|
||||
level-{{level}}-checkouts: /home/worker/checkouts
|
||||
level-{{level}}-checkouts: /builds/worker/checkouts
|
||||
|
||||
features:
|
||||
taskclusterProxy: true
|
||||
@ -47,20 +47,20 @@ payload:
|
||||
maxRunTime: 1800
|
||||
|
||||
command:
|
||||
- /home/worker/bin/run-task
|
||||
- '--vcs-checkout=/home/worker/checkouts/gecko'
|
||||
- /builds/worker/bin/run-task
|
||||
- '--vcs-checkout=/builds/worker/checkouts/gecko'
|
||||
- '--'
|
||||
- bash
|
||||
- -cx
|
||||
- >
|
||||
cd /home/worker/checkouts/gecko &&
|
||||
ln -s /home/worker/artifacts artifacts &&
|
||||
cd /builds/worker/checkouts/gecko &&
|
||||
ln -s /builds/worker/artifacts artifacts &&
|
||||
./mach --log-no-times taskgraph {{action}} {{action_args}}
|
||||
|
||||
artifacts:
|
||||
'public':
|
||||
type: 'directory'
|
||||
path: '/home/worker/artifacts'
|
||||
path: '/builds/worker/artifacts'
|
||||
expires: '{{#from_now}}7 days{{/from_now}}'
|
||||
|
||||
extra:
|
||||
|
@ -221,7 +221,7 @@ def register_callback_action(name, title, symbol, description, order=10000,
|
||||
'GECKO_HEAD_REPOSITORY': parameters['head_repository'],
|
||||
'GECKO_HEAD_REF': parameters['head_ref'],
|
||||
'GECKO_HEAD_REV': parameters['head_rev'],
|
||||
'HG_STORE_PATH': '/home/worker/checkouts/hg-store',
|
||||
'HG_STORE_PATH': '/home/builds/checkouts/hg-store',
|
||||
'ACTION_TASK_GROUP_ID': task_group_id,
|
||||
'ACTION_TASK_ID': {'$json': {'$eval': 'taskId'}},
|
||||
'ACTION_TASK': {'$json': {'$eval': 'task'}},
|
||||
@ -231,7 +231,7 @@ def register_callback_action(name, title, symbol, description, order=10000,
|
||||
},
|
||||
'cache': {
|
||||
'level-{}-checkouts'.format(parameters['level']):
|
||||
'/home/worker/checkouts',
|
||||
'/builds/worker/checkouts',
|
||||
},
|
||||
'features': {
|
||||
'taskclusterProxy': True,
|
||||
@ -240,11 +240,12 @@ def register_callback_action(name, title, symbol, description, order=10000,
|
||||
'image': docker_image('decision'),
|
||||
'maxRunTime': 1800,
|
||||
'command': [
|
||||
'/home/worker/bin/run-task', '--vcs-checkout=/home/worker/checkouts/gecko',
|
||||
'/builds/worker/bin/run-task',
|
||||
'--vcs-checkout=/builds/worker/checkouts/gecko',
|
||||
'--', 'bash', '-cx',
|
||||
"""\
|
||||
cd /home/worker/checkouts/gecko &&
|
||||
ln -s /home/worker/artifacts artifacts &&
|
||||
cd /builds/worker/checkouts/gecko &&
|
||||
ln -s /builds/worker/artifacts artifacts &&
|
||||
./mach --log-no-times taskgraph action-callback""",
|
||||
],
|
||||
},
|
||||
|
@ -24,7 +24,7 @@ def docker_worker_add_workspace_cache(config, job, taskdesc, extra=None):
|
||||
taskdesc['attributes']['build_platform'],
|
||||
taskdesc['attributes']['build_type'],
|
||||
),
|
||||
'mount-point': "/home/worker/workspace",
|
||||
'mount-point': "/builds/worker/workspace",
|
||||
# Don't enable the workspace cache when we can't guarantee its
|
||||
# behavior, like on Try.
|
||||
'skip-untrusted': True,
|
||||
@ -40,7 +40,7 @@ def docker_worker_add_tc_vcs_cache(config, job, taskdesc):
|
||||
'type': 'persistent',
|
||||
'name': 'level-{}-{}-tc-vcs'.format(
|
||||
config.params['level'], config.params['project']),
|
||||
'mount-point': "/home/worker/.tc-vcs",
|
||||
'mount-point': "/builds/worker/.tc-vcs",
|
||||
})
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ def add_public_artifacts(config, job, taskdesc, path):
|
||||
|
||||
def docker_worker_add_public_artifacts(config, job, taskdesc):
|
||||
""" Adds a public artifact directory to the task """
|
||||
add_public_artifacts(config, job, taskdesc, path='/home/worker/artifacts/')
|
||||
add_public_artifacts(config, job, taskdesc, path='/builds/worker/artifacts/')
|
||||
|
||||
|
||||
def generic_worker_add_public_artifacts(config, job, taskdesc):
|
||||
@ -94,14 +94,14 @@ def support_vcs_checkout(config, job, taskdesc, sparse=False):
|
||||
taskdesc['worker'].setdefault('caches', []).append({
|
||||
'type': 'persistent',
|
||||
'name': name,
|
||||
'mount-point': '/home/worker/checkouts',
|
||||
'mount-point': '/builds/worker/checkouts',
|
||||
})
|
||||
|
||||
taskdesc['worker'].setdefault('env', {}).update({
|
||||
'GECKO_BASE_REPOSITORY': config.params['base_repository'],
|
||||
'GECKO_HEAD_REPOSITORY': config.params['head_repository'],
|
||||
'GECKO_HEAD_REV': config.params['head_rev'],
|
||||
'HG_STORE_PATH': '/home/worker/checkouts/hg-store',
|
||||
'HG_STORE_PATH': '/builds/worker/checkouts/hg-store',
|
||||
})
|
||||
|
||||
# Give task access to hgfingerprint secret so it can pin the certificate
|
||||
@ -148,11 +148,11 @@ def docker_worker_add_tooltool(config, job, taskdesc, internal=False):
|
||||
taskdesc['worker'].setdefault('caches', []).append({
|
||||
'type': 'persistent',
|
||||
'name': 'level-%s-tooltool-cache' % level,
|
||||
'mount-point': '/home/worker/tooltool-cache',
|
||||
'mount-point': '/builds/worker/tooltool-cache',
|
||||
})
|
||||
|
||||
taskdesc['worker'].setdefault('env', {}).update({
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
})
|
||||
|
||||
taskdesc['worker']['relengapi-proxy'] = True
|
||||
|
@ -62,11 +62,11 @@ def docker_worker_hazard(config, job, taskdesc):
|
||||
|
||||
# build-haz-linux.sh needs this otherwise it assumes the checkout is in
|
||||
# the workspace.
|
||||
env['GECKO_DIR'] = '/home/worker/checkouts/gecko'
|
||||
env['GECKO_DIR'] = '/builds/worker/checkouts/gecko'
|
||||
|
||||
worker['command'] = [
|
||||
'/home/worker/bin/run-task',
|
||||
'--vcs-checkout', '/home/worker/checkouts/gecko',
|
||||
'/builds/worker/bin/run-task',
|
||||
'--vcs-checkout', '/builds/worker/checkouts/gecko',
|
||||
'--',
|
||||
'/bin/bash', '-c', run['command']
|
||||
]
|
||||
|
@ -29,7 +29,7 @@ def docker_worker_mach(config, job, taskdesc):
|
||||
run = job['run']
|
||||
|
||||
# defer to the run_task implementation
|
||||
run['command'] = 'cd /home/worker/checkouts/gecko && ./mach ' + run['mach']
|
||||
run['command'] = 'cd /builds/worker/checkouts/gecko && ./mach ' + run['mach']
|
||||
run['checkout'] = True
|
||||
run['sparse-profile'] = None
|
||||
del run['mach']
|
||||
|
@ -168,11 +168,11 @@ def mozharness_on_docker_worker_setup(config, job, taskdesc):
|
||||
docker_worker_setup_secrets(config, job, taskdesc)
|
||||
|
||||
command = [
|
||||
'/home/worker/bin/run-task',
|
||||
'--vcs-checkout', '/home/worker/workspace/build/src',
|
||||
'--tools-checkout', '/home/worker/workspace/build/tools',
|
||||
'/builds/worker/bin/run-task',
|
||||
'--vcs-checkout', '/builds/worker/workspace/build/src',
|
||||
'--tools-checkout', '/builds/worker/workspace/build/tools',
|
||||
'--',
|
||||
'/home/worker/workspace/build/src/{}'.format(
|
||||
'/builds/worker/workspace/build/src/{}'.format(
|
||||
run.get('job-script', 'taskcluster/scripts/builder/build-linux.sh')
|
||||
),
|
||||
]
|
||||
|
@ -102,9 +102,9 @@ def mozharness_test_on_docker(config, job, taskdesc):
|
||||
|
||||
artifacts = [
|
||||
# (artifact name prefix, in-image path)
|
||||
("public/logs/", "/home/worker/workspace/build/upload/logs/"),
|
||||
("public/test", "/home/worker/artifacts/"),
|
||||
("public/test_info/", "/home/worker/workspace/build/blobber_upload_dir/"),
|
||||
("public/logs/", "/builds/worker/workspace/build/upload/logs/"),
|
||||
("public/test", "/builds/worker/artifacts/"),
|
||||
("public/test_info/", "/builds/worker/workspace/build/blobber_upload_dir/"),
|
||||
]
|
||||
|
||||
installer_url = get_artifact_url('<build>', mozharness['build-artifact-name'])
|
||||
@ -113,7 +113,7 @@ def mozharness_test_on_docker(config, job, taskdesc):
|
||||
|
||||
worker['artifacts'] = [{
|
||||
'name': prefix,
|
||||
'path': os.path.join('/home/worker/workspace', path),
|
||||
'path': os.path.join('/builds/worker/workspace', path),
|
||||
'type': 'directory',
|
||||
} for (prefix, path) in artifacts]
|
||||
|
||||
@ -121,7 +121,7 @@ def mozharness_test_on_docker(config, job, taskdesc):
|
||||
'type': 'persistent',
|
||||
'name': 'level-{}-{}-test-workspace'.format(
|
||||
config.params['level'], config.params['project']),
|
||||
'mount-point': "/home/worker/workspace",
|
||||
'mount-point': "/builds/worker/workspace",
|
||||
}]
|
||||
|
||||
env = worker['env'] = {
|
||||
@ -156,7 +156,7 @@ def mozharness_test_on_docker(config, job, taskdesc):
|
||||
|
||||
# assemble the command line
|
||||
command = [
|
||||
'/home/worker/bin/run-task',
|
||||
'/builds/worker/bin/run-task',
|
||||
]
|
||||
|
||||
# Support vcs checkouts regardless of whether the task runs from
|
||||
@ -166,14 +166,14 @@ def mozharness_test_on_docker(config, job, taskdesc):
|
||||
# If we have a source checkout, run mozharness from it instead of
|
||||
# downloading a zip file with the same content.
|
||||
if test['checkout']:
|
||||
command.extend(['--vcs-checkout', '/home/worker/checkouts/gecko'])
|
||||
env['MOZHARNESS_PATH'] = '/home/worker/checkouts/gecko/testing/mozharness'
|
||||
command.extend(['--vcs-checkout', '/builds/worker/checkouts/gecko'])
|
||||
env['MOZHARNESS_PATH'] = '/builds/worker/checkouts/gecko/testing/mozharness'
|
||||
else:
|
||||
env['MOZHARNESS_URL'] = {'task-reference': mozharness_url}
|
||||
|
||||
command.extend([
|
||||
'--',
|
||||
'/home/worker/bin/test-linux.sh',
|
||||
'/builds/worker/bin/test-linux.sh',
|
||||
])
|
||||
|
||||
if mozharness.get('no-read-buildbot-config'):
|
||||
|
@ -19,7 +19,7 @@ run_task_schema = Schema({
|
||||
# tend to hide their caches. This cache is never added for level-1 jobs.
|
||||
Required('cache-dotcache', default=False): bool,
|
||||
|
||||
# if true (the default), perform a checkout in /home/worker/checkouts/gecko
|
||||
# if true (the default), perform a checkout in /builds/worker/checkouts/gecko
|
||||
Required('checkout', default=True): bool,
|
||||
|
||||
# The sparse checkout profile to use. Value is the filename relative to the
|
||||
@ -46,7 +46,7 @@ def add_checkout_to_command(run, command):
|
||||
if not run['checkout']:
|
||||
return
|
||||
|
||||
command.append('--vcs-checkout=/home/worker/checkouts/gecko')
|
||||
command.append('--vcs-checkout=/builds/worker/checkouts/gecko')
|
||||
|
||||
if run['sparse-profile']:
|
||||
command.append('--sparse-profile=build/sparse-profiles/%s' %
|
||||
@ -62,14 +62,14 @@ def docker_worker_run_task(config, job, taskdesc):
|
||||
worker['caches'].append({
|
||||
'type': 'persistent',
|
||||
'name': 'level-{level}-{project}-dotcache'.format(**config.params),
|
||||
'mount-point': '/home/worker/.cache',
|
||||
'mount-point': '/builds/worker/.cache',
|
||||
'skip-untrusted': True,
|
||||
})
|
||||
|
||||
run_command = run['command']
|
||||
if isinstance(run_command, basestring):
|
||||
run_command = ['bash', '-cx', run_command]
|
||||
command = ['/home/worker/bin/run-task']
|
||||
command = ['/builds/worker/bin/run-task']
|
||||
add_checkout_to_command(run, command)
|
||||
command.append('--fetch-hgfingerprint')
|
||||
command.append('--')
|
||||
|
@ -40,7 +40,7 @@ def docker_worker_spidermonkey(config, job, taskdesc):
|
||||
'type': 'persistent',
|
||||
'name': 'level-{}-{}-build-spidermonkey-workspace'.format(
|
||||
config.params['level'], config.params['project']),
|
||||
'mount-point': "/home/worker/workspace",
|
||||
'mount-point': "/builds/worker/workspace",
|
||||
'skip-untrusted': True,
|
||||
})
|
||||
|
||||
@ -64,12 +64,12 @@ def docker_worker_spidermonkey(config, job, taskdesc):
|
||||
script = "build-sm-mozjs-crate.sh"
|
||||
|
||||
worker['command'] = [
|
||||
'/home/worker/bin/run-task',
|
||||
'--vcs-checkout', '/home/worker/workspace/build/src',
|
||||
'/builds/worker/bin/run-task',
|
||||
'--vcs-checkout', '/builds/worker/workspace/build/src',
|
||||
'--',
|
||||
'/bin/bash',
|
||||
'-c',
|
||||
'cd /home/worker && workspace/build/src/taskcluster/scripts/builder/%s' % script
|
||||
'cd /builds/worker && workspace/build/src/taskcluster/scripts/builder/%s' % script
|
||||
]
|
||||
|
||||
|
||||
|
@ -121,12 +121,12 @@ def docker_worker_toolchain(config, job, taskdesc):
|
||||
docker_worker_add_tooltool(config, job, taskdesc, internal=internal)
|
||||
|
||||
worker['command'] = [
|
||||
'/home/worker/bin/run-task',
|
||||
'--vcs-checkout=/home/worker/workspace/build/src',
|
||||
'/builds/worker/bin/run-task',
|
||||
'--vcs-checkout=/builds/worker/workspace/build/src',
|
||||
'--',
|
||||
'bash',
|
||||
'-c',
|
||||
'cd /home/worker && '
|
||||
'cd /builds/worker && '
|
||||
'./workspace/build/src/taskcluster/scripts/misc/{}'.format(
|
||||
run['script'])
|
||||
]
|
||||
|
@ -31,7 +31,7 @@ def setup_task(config, tasks):
|
||||
'type': 'persistent',
|
||||
'name': 'level-{}-{}-tc-vcs'.format(
|
||||
config.params['level'], config.params['project']),
|
||||
'mount-point': "/home/worker/.tc-vcs",
|
||||
'mount-point': "/builds/worker/.tc-vcs",
|
||||
}]
|
||||
|
||||
yield task
|
||||
|
@ -244,7 +244,7 @@ def _generate_task_output_files(build_platform, locale=None):
|
||||
if build_platform.startswith('linux') or build_platform.startswith('macosx'):
|
||||
output_files = [{
|
||||
'type': 'file',
|
||||
'path': '/home/worker/workspace/build/artifacts/{}target.complete.mar'
|
||||
'path': '/builds/worker/workspace/build/artifacts/{}target.complete.mar'
|
||||
.format(locale_output_path),
|
||||
'name': 'public/build/{}target.complete.mar'.format(locale_output_path),
|
||||
}]
|
||||
@ -252,7 +252,7 @@ def _generate_task_output_files(build_platform, locale=None):
|
||||
if build_platform.startswith('macosx'):
|
||||
output_files.append({
|
||||
'type': 'file',
|
||||
'path': '/home/worker/workspace/build/artifacts/{}target.dmg'
|
||||
'path': '/builds/worker/workspace/build/artifacts/{}target.dmg'
|
||||
.format(locale_output_path),
|
||||
'name': 'public/build/{}target.dmg'.format(locale_output_path),
|
||||
})
|
||||
|
@ -9,8 +9,8 @@ config = {
|
||||
"download_tooltool": True,
|
||||
"tooltool_servers": ['http://relengapi/tooltool/'],
|
||||
"tooltool_manifest_path": "testing/config/tooltool-manifests/androidarm_4_3/releng.manifest",
|
||||
"tooltool_cache": "/home/worker/tooltool_cache",
|
||||
"avds_dir": "/home/worker/workspace/build/.android",
|
||||
"tooltool_cache": "/builds/worker/tooltool_cache",
|
||||
"avds_dir": "/builds/worker/workspace/build/.android",
|
||||
"emulator_manifest": """
|
||||
[
|
||||
{
|
||||
|
@ -4,10 +4,10 @@ config = {
|
||||
"buildbot_json_path": "buildprops.json",
|
||||
"hostutils_manifest_path": "testing/config/tooltool-manifests/linux64/hostutils.manifest",
|
||||
"tooltool_manifest_path": "testing/config/tooltool-manifests/androidx86/releng.manifest",
|
||||
"tooltool_cache": "/home/worker/tooltool_cache",
|
||||
"tooltool_cache": "/builds/worker/tooltool_cache",
|
||||
"download_tooltool": True,
|
||||
"tooltool_servers": ['http://relengapi/tooltool/'],
|
||||
"avds_dir": "/home/worker/workspace/build/.android",
|
||||
"avds_dir": "/builds/worker/workspace/build/.android",
|
||||
"emulator_manifest": """
|
||||
[
|
||||
{
|
||||
|
@ -38,7 +38,7 @@ config = {
|
||||
"tooltool_url": 'http://relengapi/tooltool/',
|
||||
'upload_env': {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': '/home/worker/artifacts',
|
||||
'UPLOAD_PATH': '/builds/worker/artifacts',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
'CCACHE_COMPRESS': '1',
|
||||
|
@ -76,7 +76,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -75,7 +75,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -46,7 +46,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -32,7 +32,7 @@ config = {
|
||||
'CCACHE_UMASK': '002',
|
||||
'LC_ALL': 'C',
|
||||
## 64 bit specific
|
||||
'PATH': '/home/worker/workspace/build/src/gcc/bin:/usr/local/bin:/usr/lib64/ccache:/bin:\
|
||||
'PATH': '/builds/worker/workspace/build/src/gcc/bin:/usr/local/bin:/usr/lib64/ccache:/bin:\
|
||||
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:\
|
||||
/tools/python27-mercurial/bin:/home/cltbld/bin',
|
||||
},
|
||||
|
@ -46,7 +46,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -36,7 +36,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -36,7 +36,7 @@ config = {
|
||||
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
|
||||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
|
||||
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
|
||||
'TOOLTOOL_HOME': '/builds',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'CCACHE_DIR': '/builds/ccache',
|
||||
|
@ -15,5 +15,5 @@ config = {
|
||||
"pip_index": False,
|
||||
|
||||
"download_minidump_stackwalk": True,
|
||||
"tooltool_cache": "/home/worker/tooltool-cache",
|
||||
"tooltool_cache": "/builds/worker/tooltool-cache",
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ config = {
|
||||
"blob_uploader_auth_file" : os.path.join(os.getcwd(), "oauth.txt"),
|
||||
"download_symbols": "ondemand",
|
||||
"download_minidump_stackwalk": True,
|
||||
"tooltool_cache": "/home/worker/tooltool-cache",
|
||||
"tooltool_cache": "/builds/worker/tooltool-cache",
|
||||
"suite_definitions": {
|
||||
"marionette_desktop": {
|
||||
"options": [
|
||||
|
@ -11,7 +11,7 @@ config = {
|
||||
|
||||
"upload_env": {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': '/home/worker/artifacts/',
|
||||
'UPLOAD_PATH': '/builds/worker/artifacts/',
|
||||
},
|
||||
"mozilla_dir": "src/",
|
||||
"simple_name_move": True,
|
||||
|
@ -20,7 +20,7 @@ config = {
|
||||
},
|
||||
"upload_env": {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': '/home/worker/artifacts/',
|
||||
'UPLOAD_PATH': '/builds/worker/artifacts/',
|
||||
},
|
||||
"mozilla_dir": "src/",
|
||||
"simple_name_move": True,
|
||||
|
@ -20,7 +20,7 @@ config = {
|
||||
},
|
||||
"upload_env": {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': '/home/worker/artifacts/',
|
||||
'UPLOAD_PATH': '/builds/worker/artifacts/',
|
||||
},
|
||||
"mozilla_dir": "src/",
|
||||
"simple_name_move": True,
|
||||
|
@ -20,7 +20,7 @@ config = {
|
||||
},
|
||||
"upload_env": {
|
||||
'UPLOAD_HOST': 'localhost',
|
||||
'UPLOAD_PATH': '/home/worker/artifacts/',
|
||||
'UPLOAD_PATH': '/builds/worker/artifacts/',
|
||||
},
|
||||
|
||||
"tooltool_url": 'http://relengapi/tooltool/',
|
||||
|
@ -50,5 +50,5 @@ config = {
|
||||
"download_minidump_stackwalk": True,
|
||||
"minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
|
||||
"minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
|
||||
"tooltool_cache": "/home/worker/tooltool-cache",
|
||||
"tooltool_cache": "/builds/worker/tooltool-cache",
|
||||
}
|
||||
|
@ -309,7 +309,7 @@ config = {
|
||||
"download_minidump_stackwalk": True,
|
||||
"minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
|
||||
"minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
|
||||
"tooltool_cache": "/home/worker/tooltool-cache",
|
||||
"tooltool_cache": "/builds/worker/tooltool-cache",
|
||||
"download_nodejs": True,
|
||||
"nodejs_path": NODEJS_PATH,
|
||||
"nodejs_tooltool_manifest_path": NODEJS_TOOLTOOL_MANIFEST_PATH,
|
||||
|
@ -82,7 +82,7 @@ class CodeCoverageMixin(object):
|
||||
|
||||
tooltool_path = self._fetch_tooltool_py()
|
||||
cmd = [tooltool_path, '--url', 'https://tooltool.mozilla-releng.net/', 'fetch', \
|
||||
'-m', manifest, '-o', '-c', '/home/worker/tooltool-cache']
|
||||
'-m', manifest, '-o', '-c', '/builds/worker/tooltool-cache']
|
||||
self.run_command(cmd, cwd=self.grcov_dir)
|
||||
self.run_command(['tar', '-jxvf', os.path.join(self.grcov_dir, 'grcov-linux-standalone-x86_64.tar.bz2'), \
|
||||
'-C', self.grcov_dir], cwd=self.grcov_dir)
|
||||
@ -133,7 +133,7 @@ class CodeCoverageMixin(object):
|
||||
grcov_command = [
|
||||
os.path.join(self.grcov_dir, 'grcov'),
|
||||
'-t', 'lcov',
|
||||
'-p', '/home/worker/workspace/build/src/',
|
||||
'-p', '/builds/worker/workspace/build/src/',
|
||||
'--ignore-dir', 'gcc',
|
||||
os.path.join(self.grcov_dir, 'target.code-coverage-gcno.zip'), file_path_gcda
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user