diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml --- a/libcxx/utils/ci/buildkite-pipeline.yml +++ b/libcxx/utils/ci/buildkite-pipeline.yml @@ -160,8 +160,6 @@ # - wait - # TODO: Due to ongoing CI outage on our Linux nodes, most configurations running on Linux - # are disabled. We are currently running off of a much smaller fleet than normally. # Tests with the supported compilers. - label: "GCC 11 / C++11" command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11" @@ -189,18 +187,18 @@ limit: 2 timeout_in_minutes: 120 - # - label: "Clang 13" - # command: "libcxx/utils/ci/run-buildbot generic-clang-13" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 + - label: "Clang 13" + command: "libcxx/utils/ci/run-buildbot generic-clang-13" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 # Tests with the sanitizers. - label: "ASAN" @@ -216,98 +214,98 @@ limit: 2 timeout_in_minutes: 120 - # - label: "TSAN" - # command: "libcxx/utils/ci/run-buildbot generic-tsan" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "UBSAN" - # command: "libcxx/utils/ci/run-buildbot generic-ubsan" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # # Tests with the various supported ways to build libc++. - # - label: "Bootstrapping build" - # command: "libcxx/utils/ci/run-buildbot bootstrapping-build" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Legacy Lit configuration" - # command: "libcxx/utils/ci/run-buildbot legacy-test-config" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Legacy standalone build" - # command: "libcxx/utils/ci/run-buildbot legacy-standalone" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Legacy LLVM_ENABLE_PROJECTS build" - # command: "libcxx/utils/ci/run-buildbot legacy-project-build" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # # Tests with various build configurations. - # - label: "-fno-exceptions" - # command: "libcxx/utils/ci/run-buildbot generic-noexceptions" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 + - label: "TSAN" + command: "libcxx/utils/ci/run-buildbot generic-tsan" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "UBSAN" + command: "libcxx/utils/ci/run-buildbot generic-ubsan" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + # Tests with the various supported ways to build libc++. + - label: "Bootstrapping build" + command: "libcxx/utils/ci/run-buildbot bootstrapping-build" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Legacy Lit configuration" + command: "libcxx/utils/ci/run-buildbot legacy-test-config" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Legacy standalone build" + command: "libcxx/utils/ci/run-buildbot legacy-standalone" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Legacy LLVM_ENABLE_PROJECTS build" + command: "libcxx/utils/ci/run-buildbot legacy-project-build" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + # Tests with various build configurations. + - label: "-fno-exceptions" + command: "libcxx/utils/ci/run-buildbot generic-noexceptions" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 - label: "Modular build" command: "libcxx/utils/ci/run-buildbot generic-modules" @@ -322,164 +320,164 @@ limit: 2 timeout_in_minutes: 120 - # - label: "Static libraries" - # command: "libcxx/utils/ci/run-buildbot generic-static" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Assertions enabled" - # command: "libcxx/utils/ci/run-buildbot generic-assertions" - # artifact_paths: - # - "**/test-results.xml" - # - "**/*.abilist" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Debug iterators" - # command: "libcxx/utils/ci/run-buildbot generic-debug-iterators" - # artifact_paths: - # - "**/test-results.xml" - # - "**/*.abilist" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "With LLVM's libunwind" - # command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "Single-threaded" - # command: "libcxx/utils/ci/run-buildbot generic-singlethreaded" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No debug mode" - # command: "libcxx/utils/ci/run-buildbot generic-no-debug" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No filesystem" - # command: "libcxx/utils/ci/run-buildbot generic-no-filesystem" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No random device" - # command: "libcxx/utils/ci/run-buildbot generic-no-random_device" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No locale" - # command: "libcxx/utils/ci/run-buildbot generic-no-localization" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No Unicode" - # command: "libcxx/utils/ci/run-buildbot generic-no-unicode" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # - label: "No wide characters" - # command: "libcxx/utils/ci/run-buildbot generic-no-wide-characters" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 - - # # Other non-testing CI jobs - # - label: "Benchmarks" - # command: "libcxx/utils/ci/run-buildbot benchmarks" - # artifact_paths: - # - "**/test-results.xml" - # agents: - # queue: "libcxx-builders" - # os: "linux" - # retry: - # automatic: - # - exit_status: -1 # Agent was lost - # limit: 2 - # timeout_in_minutes: 120 + - label: "Static libraries" + command: "libcxx/utils/ci/run-buildbot generic-static" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Assertions enabled" + command: "libcxx/utils/ci/run-buildbot generic-assertions" + artifact_paths: + - "**/test-results.xml" + - "**/*.abilist" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Debug iterators" + command: "libcxx/utils/ci/run-buildbot generic-debug-iterators" + artifact_paths: + - "**/test-results.xml" + - "**/*.abilist" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "With LLVM's libunwind" + command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "Single-threaded" + command: "libcxx/utils/ci/run-buildbot generic-singlethreaded" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No debug mode" + command: "libcxx/utils/ci/run-buildbot generic-no-debug" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No filesystem" + command: "libcxx/utils/ci/run-buildbot generic-no-filesystem" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No random device" + command: "libcxx/utils/ci/run-buildbot generic-no-random_device" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No locale" + command: "libcxx/utils/ci/run-buildbot generic-no-localization" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No Unicode" + command: "libcxx/utils/ci/run-buildbot generic-no-unicode" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + - label: "No wide characters" + command: "libcxx/utils/ci/run-buildbot generic-no-wide-characters" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + + # Other non-testing CI jobs + - label: "Benchmarks" + command: "libcxx/utils/ci/run-buildbot benchmarks" + artifact_paths: + - "**/test-results.xml" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 - label: "Documentation" command: "libcxx/utils/ci/run-buildbot documentation"