summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/system-symbols
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--taskcluster/ci/system-symbols-reprocess/kind.yml46
-rw-r--r--taskcluster/ci/system-symbols-upload/kind.yml34
-rw-r--r--taskcluster/ci/system-symbols/kind.yml320
3 files changed, 400 insertions, 0 deletions
diff --git a/taskcluster/ci/system-symbols-reprocess/kind.yml b/taskcluster/ci/system-symbols-reprocess/kind.yml
new file mode 100644
index 0000000000..5b81817188
--- /dev/null
+++ b/taskcluster/ci/system-symbols-reprocess/kind.yml
@@ -0,0 +1,46 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+---
+loader: gecko_taskgraph.loader.transform:loader
+
+# we need that to apply grouping only on jobs that have "build_platform", so we
+# dont fail for the "fetch" kind that does is a dependency but does not have it
+only-for-attributes:
+ - build_platform
+
+transforms:
+ - taskgraph.transforms.from_deps
+ - gecko_taskgraph.transforms.reprocess_symbols
+ - gecko_taskgraph.transforms.job
+ - gecko_taskgraph.transforms.task
+
+kind-dependencies:
+ - system-symbols
+ - system-symbols-upload
+ - fetch
+
+jobs:
+ system-symbols-reprocess:
+ from-deps:
+ kinds: ["system-symbols", "system-symbols-upload"]
+ group-by: platform
+ description: Reprocess Symbols on Crash-Stats
+ attributes:
+ cron: true
+ worker-type: b-linux-gcp
+ worker:
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 7200
+ env:
+ # {level} gets replaced in the reprocess_symbols transform
+ CRASHSTATS_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-reprocess"
+ DUMP_SYMS: "/bin/false"
+ run:
+ using: run-task
+ command: {artifact-reference: "${MOZ_FETCHES_DIR}/symbol-scrapers/reprocess.sh <system-symbols/public/build/target.crashreporter-symbols.zip>"}
+ fetches:
+ fetch:
+ - symbol-scrapers
+ scopes:
+ - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-reprocess
diff --git a/taskcluster/ci/system-symbols-upload/kind.yml b/taskcluster/ci/system-symbols-upload/kind.yml
new file mode 100644
index 0000000000..dd9462a84b
--- /dev/null
+++ b/taskcluster/ci/system-symbols-upload/kind.yml
@@ -0,0 +1,34 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+---
+loader: gecko_taskgraph.loader.transform:loader
+
+transforms:
+ - taskgraph.transforms.from_deps
+ - gecko_taskgraph.transforms.upload_symbols
+ - gecko_taskgraph.transforms.job
+ - gecko_taskgraph.transforms.task
+
+kind-dependencies:
+ - system-symbols
+
+jobs:
+ system-symbols-upload:
+ description: Upload Symbols
+ from-deps: {}
+ attributes:
+ cron: true
+ worker-type: b-linux-gcp
+ worker:
+ docker-image: {in-tree: "lint"}
+ max-run-time: 1200
+ env:
+ # {level} gets replaced in the upload_symbols transform
+ SYMBOL_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-upload"
+ run:
+ using: mach
+ mach: {artifact-reference: "python toolkit/crashreporter/tools/upload_symbols.py <system-symbols/public/build/target.crashreporter-symbols.zip> --ignore-missing"}
+ sparse-profile: upload-symbols
+ scopes:
+ - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-upload
diff --git a/taskcluster/ci/system-symbols/kind.yml b/taskcluster/ci/system-symbols/kind.yml
new file mode 100644
index 0000000000..0090454a68
--- /dev/null
+++ b/taskcluster/ci/system-symbols/kind.yml
@@ -0,0 +1,320 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+---
+loader: gecko_taskgraph.loader.transform:loader
+
+kind-dependencies:
+ - toolchain
+ - fetch
+
+transforms:
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+job-defaults:
+ attributes:
+ cron: true
+ # This enables uploading symbols.
+ enable-full-crashsymbols: true
+ fetches:
+ toolchain:
+ - linux64-dump_syms
+ treeherder:
+ platform: symbols/opt
+ kind: other
+ tier: 2
+ worker-type: b-linux-gcp
+ worker:
+ env:
+ MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
+
+jobs:
+ mac:
+ description: Extract macOS system symbols found in crashreports
+ attributes:
+ build_platform: macos
+ index:
+ product: system-symbols
+ job-name: mac
+ type: generic
+ worker:
+ env:
+ PROCESSED_PACKAGES_INDEX: gecko.v2.mozilla-central.latest.system-symbols.mac
+ PROCESSED_PACKAGES_PATH: public/build/processed-packages.gz
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-mac}
+ max-run-time: 28800
+ run:
+ using: run-task
+ command: >-
+ ./run.sh
+ treeherder:
+ symbol: system-symbols-mac
+ fetches:
+ toolchain:
+ - linux64-libdmg
+ win:
+ description: Extract windows system symbols found in crashreports
+ attributes:
+ build_platform: windows
+ index:
+ product: system-symbols
+ job-name: win
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-win}
+ max-run-time: 3600
+ run:
+ using: run-task
+ command: >-
+ ./run.sh
+ treeherder:
+ symbol: system-symbols-win
+ archlinux:
+ description: Extract ArchLinux system symbols found in crashreports
+ attributes:
+ build_platform: archlinux
+ index:
+ product: system-symbols
+ job-name: archlinux
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh arch
+ treeherder:
+ symbol: sys-symbols-archlinux
+ fetches:
+ fetch:
+ - symbol-scrapers
+ debian:
+ description: Extract Debian system symbols found in crashreports
+ attributes:
+ build_platform: debian
+ index:
+ product: system-symbols
+ job-name: debian
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh debian
+ treeherder:
+ symbol: sys-symbols-debian
+ fetches:
+ fetch:
+ - symbol-scrapers
+ firefox-snap:
+ description: Extract Firefox Snap symbols found in crashreports
+ attributes:
+ build_platform: firefox-snap
+ index:
+ product: system-symbols
+ job-name: firefox-snap
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh firefox-snap
+ treeherder:
+ symbol: firefox-symbols-snap
+ fetches:
+ fetch:
+ - symbol-scrapers
+ flatpak:
+ description: Extract Firefox Flatpak symbols found in crashreports
+ attributes:
+ build_platform: firefox-flatpak
+ index:
+ product: system-symbols
+ job-name: firefox-flatpak
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh firefox-flatpak
+ treeherder:
+ symbol: firefox-symbols-fltpk
+ fetches:
+ fetch:
+ - symbol-scrapers
+ gnome-sdk-snap:
+ description: Extract GNOME SDK Snap symbols found in crashreports
+ attributes:
+ build_platform: gnome-sdk-snap
+ index:
+ product: system-symbols
+ job-name: gnome-sdk-snap
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh gnome-sdk-snap
+ treeherder:
+ symbol: gnome-sdk-symbols-snap
+ fetches:
+ fetch:
+ - symbol-scrapers
+ fedora:
+ description: Extract Fedora system symbols found in crashreports
+ attributes:
+ build_platform: fedora
+ index:
+ product: system-symbols
+ job-name: fedora
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh fedora
+ treeherder:
+ symbol: sys-symbols-fedora
+ fetches:
+ fetch:
+ - symbol-scrapers
+ opensuse:
+ description: Extract OpenSUSE system symbols found in crashreports
+ attributes:
+ build_platform: opensuse
+ index:
+ product: system-symbols
+ job-name: opensuse
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh opensuse
+ treeherder:
+ symbol: sys-symbols-opensuse
+ fetches:
+ fetch:
+ - symbol-scrapers
+ ubuntu:
+ description: Extract Ubuntu system symbols found in crashreports
+ attributes:
+ build_platform: ubuntu
+ index:
+ product: system-symbols
+ job-name: ubuntu
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh ubuntu
+ treeherder:
+ symbol: sys-symbols-ubuntu
+ fetches:
+ fetch:
+ - symbol-scrapers
+ win-gfx:
+ description: Extract symbols from closed-source Windows graphics drivers
+ attributes:
+ build_platform: windows-graphics
+ index:
+ product: system-symbols
+ job-name: win-gfx
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-win-gfx}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh
+ treeherder:
+ symbol: sys-symbols-win-gfx
+ fetches:
+ fetch:
+ - symbol-scrapers
+ alpine:
+ description: Extract Alpine Linux system symbols found in crashreports
+ attributes:
+ build_platform: alpine
+ index:
+ product: system-symbols
+ job-name: alpine
+ type: generic
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts/
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 14400
+ run:
+ using: run-task
+ command: >-
+ ./run.sh alpine
+ treeherder:
+ symbol: sys-symbols-alpine
+ fetches:
+ fetch:
+ - symbol-scrapers