From acbc5493f38ed45dede5d3f2a9adb1fc1364c3f3 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 07:10:19 +0200 Subject: [PATCH 1/6] DO NOT MERGE: Test CI configuration. --- .buildkite/pipeline.yml | 175 ++++------------------------------------ 1 file changed, 16 insertions(+), 159 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 3057aaf99..d002a3059 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,160 +1,17 @@ steps: - # Julia versions - - group: ":julia: Julia" - key: "julia" - steps: - - label: "Julia {{matrix.julia}}" - plugins: - - JuliaCI/julia#v1: - version: "{{matrix.julia}}" - - JuliaCI/julia-test#v1: - test_args: "--quickfail" - - JuliaCI/julia-coverage#v1: - codecov: true - dirs: - - src - - lib - - examples - agents: - queue: "juliaecosystem" - os: "macos" - arch: "aarch64" - if: | - build.message =~ /\[only tests\]/ || - build.message =~ /\[only julia\]/ || - build.message !~ /\[only/ && - build.message !~ /\[skip tests\]/ && - build.message !~ /\[skip julia\]/ - timeout_in_minutes: 60 - matrix: - setup: - julia: - - "1.10" - - "1.11" - - "nightly" - adjustments: - - with: - julia: "nightly" - soft_fail: true - - # special tests - - group: ":floppy_disk: Storage Modes" - depends_on: "julia" - steps: - - label: "{{matrix.storage}} array storage" - plugins: - - JuliaCI/julia#v1: - version: "1.11" - - JuliaCI/julia-test#v1: - test_args: "--quickfail" - agents: - queue: "juliaecosystem" - os: "macos" - arch: "aarch64" - if: | - build.message =~ /\[only tests\]/ || - build.message =~ /\[only storage\]/ || - build.message !~ /\[only/ && !build.pull_request.draft && - build.message !~ /\[skip tests\]/ && - build.message !~ /\[skip storage\]/ - timeout_in_minutes: 60 - matrix: - setup: - storage: - - "shared" - - "managed" - commands: | - echo -e "[Metal]\ndefault_storage = \"{{matrix.storage}}\"" >LocalPreferences.toml - - # special tests - - group: ":eyes: Special" - depends_on: "julia" - steps: - - label: "API validation" - soft_fail: true - plugins: - - JuliaCI/julia#v1: - version: "1.11" - - JuliaCI/julia-test#v1: - # test_args: "--quickfail" - test_args: "" - # Don't quickfail to see which ones fail - - JuliaCI/julia-coverage#v1: - codecov: true - dirs: - - src - - lib - - examples - env: - MTL_DEBUG_LAYER: '1' - MTL_SHADER_VALIDATION: '1' - agents: - queue: "juliaecosystem" - os: "macos" - arch: "aarch64" - macos_version: "15.0" - if: | - build.message =~ /\[only tests\]/ || - build.message =~ /\[only validation\]/ || - build.message =~ /\[only special\]/ || - build.message !~ /\[only/ && !build.pull_request.draft && - build.message !~ /\[skip tests\]/ && - build.message !~ /\[skip validation\]/ && - build.message !~ /\[skip special\]/ - timeout_in_minutes: 60 - - label: "Opaque pointers" - plugins: - - JuliaCI/julia#v1: - version: "1.11" - - JuliaCI/julia-test#v1: - test_args: "--quickfail" - - JuliaCI/julia-coverage#v1: - codecov: true - dirs: - - src - - lib - - examples - env: - JULIA_LLVM_ARGS: '--opaque-pointers' - agents: - queue: "juliaecosystem" - os: "macos" - arch: "aarch64" - if: | - build.message =~ /\[only tests\]/ || - build.message =~ /\[only special\]/ || - build.message !~ /\[only/ && !build.pull_request.draft && - build.message !~ /\[skip tests\]/ && - build.message !~ /\[skip special\]/ - timeout_in_minutes: 60 - - - wait: ~ - - - group: ":racehorse: Benchmarks" - steps: - - label: "Benchmarks" - plugins: - - JuliaCI/julia#v1: - version: "1.11" - command: | - julia --project=perf -e ' - using Pkg - - println("--- :julia: Instantiating project") - Pkg.develop([PackageSpec(path=pwd())]) - Pkg.instantiate() - push!(LOAD_PATH, @__DIR__) - - println("+++ :julia: Benchmarking") - include("perf/runbenchmarks.jl")' - artifact_paths: - - "benchmarkresults.json" - agents: - queue: "juliaecosystem" - os: "macos" - arch: "aarch64" - if: | - build.message =~ /\[only benchmarks\]/ || - build.message !~ /\[only/ && !build.pull_request.draft && - build.message !~ /\[skip benchmarks\]/ - timeout_in_minutes: 30 + - label: ":julia: Run segfaulting tests" + plugins: + - JuliaCI/julia#v1: ~ + - JuliaCI/coreupload#v1: + core_pattern: "*.core" + compressor: "zstd" + create_bundle: "true" + gdb_commands: + - "thread apply all bt" + - "info file" + commands: | + julia -e 'ccall(:abort, Nothing, ())' + agents: + queue: "juliatest" + os: "macos" + arch: "aarch64" From bb056a1655480270f9286324479d1c0117869c86 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 07:13:50 +0200 Subject: [PATCH 2/6] Update pipeline.yml --- .buildkite/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d002a3059..df3446248 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,7 +1,7 @@ steps: - label: ":julia: Run segfaulting tests" plugins: - - JuliaCI/julia#v1: ~ + - JuliaCI/julia#43d54223e61fcb856c3b480a95b1a709a99744b8: ~ - JuliaCI/coreupload#v1: core_pattern: "*.core" compressor: "zstd" From cf61d1e6de031468cdd39305fd06c6fd2be8a0b6 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 07:15:30 +0200 Subject: [PATCH 3/6] Update pipeline.yml --- .buildkite/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index df3446248..d71db6f39 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -2,7 +2,7 @@ steps: - label: ":julia: Run segfaulting tests" plugins: - JuliaCI/julia#43d54223e61fcb856c3b480a95b1a709a99744b8: ~ - - JuliaCI/coreupload#v1: + - JuliaCI/coreupload#e30aff9e7af17760b9e3b4cff3ae22da2a57bb33: core_pattern: "*.core" compressor: "zstd" create_bundle: "true" From a06904f275f6de01780bb1215adc9c18068e47d8 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 08:06:42 +0200 Subject: [PATCH 4/6] Update pipeline.yml --- .buildkite/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d71db6f39..dbfd42a6c 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,8 +1,8 @@ steps: - label: ":julia: Run segfaulting tests" plugins: - - JuliaCI/julia#43d54223e61fcb856c3b480a95b1a709a99744b8: ~ - - JuliaCI/coreupload#e30aff9e7af17760b9e3b4cff3ae22da2a57bb33: + - JuliaCI/julia:#v1 ~ + - JuliaCI/coreupload#v2: core_pattern: "*.core" compressor: "zstd" create_bundle: "true" From 1a06eceedeacef4ba705ba5bda96fc5a99fbfbb9 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 08:07:58 +0200 Subject: [PATCH 5/6] Update pipeline.yml --- .buildkite/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index dbfd42a6c..ca9044345 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,7 +1,7 @@ steps: - label: ":julia: Run segfaulting tests" plugins: - - JuliaCI/julia:#v1 ~ + - JuliaCI/julia#v1: ~ - JuliaCI/coreupload#v2: core_pattern: "*.core" compressor: "zstd" From a91263787724e6898b3d5abb87e0dbff57f188e4 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 24 Oct 2024 08:09:18 +0200 Subject: [PATCH 6/6] Update pipeline.yml --- .buildkite/pipeline.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ca9044345..5e9b7223b 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -6,9 +6,8 @@ steps: core_pattern: "*.core" compressor: "zstd" create_bundle: "true" - gdb_commands: - - "thread apply all bt" - - "info file" + lldb_commands: + - "thread backtrace all" commands: | julia -e 'ccall(:abort, Nothing, ())' agents: