From b63d934edf08e66aabe74b37e883c27b9bd462da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Tue, 21 Mar 2023 12:59:49 +0100 Subject: [PATCH] #2107: CI: remove builds for unsupported compilers - remove builds for gcc-7 and gcc-8 (no longer supported) - move their configuration (code coverage, asan) to other builds - improve build names --- ci/azure/azure-clang-10-ubuntu-mpich.yml | 2 +- ci/azure/azure-clang-11-ubuntu-mpich.yml | 2 +- ci/azure/azure-clang-13-ubuntu-mpich.yml | 4 +- ci/azure/azure-clang-14-ubuntu-mpich.yml | 4 +- ci/azure/azure-gcc-11-ubuntu-mpich.yml | 18 +- ci/azure/azure-gcc-12-ubuntu-mpich.yml | 14 +- ci/azure/azure-gcc-7-ubuntu-mpich.yml | 203 ----------------------- ci/azure/azure-gcc-8-ubuntu-mpich.yml | 203 ----------------------- ci/azure/azure-gcc-9-ubuntu-mpich.yml | 4 +- scripts/workflows-azure.ini | 52 +++--- 10 files changed, 43 insertions(+), 463 deletions(-) delete mode 100644 ci/azure/azure-gcc-7-ubuntu-mpich.yml delete mode 100644 ci/azure/azure-gcc-8-ubuntu-mpich.yml diff --git a/ci/azure/azure-clang-10-ubuntu-mpich.yml b/ci/azure/azure-clang-10-ubuntu-mpich.yml index e03319d51e..a198c16592 100644 --- a/ci/azure/azure-clang-10-ubuntu-mpich.yml +++ b/ci/azure/azure-clang-10-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (clang-10, ubuntu, mpich) +name: PR tests (clang-10, ubuntu, mpich, ubsan) trigger: branches: diff --git a/ci/azure/azure-clang-11-ubuntu-mpich.yml b/ci/azure/azure-clang-11-ubuntu-mpich.yml index a3899e8618..3e9e7cb81e 100644 --- a/ci/azure/azure-clang-11-ubuntu-mpich.yml +++ b/ci/azure/azure-clang-11-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (clang-11, ubuntu, mpich) +name: PR tests (clang-11, ubuntu, mpich, fcontext) trigger: branches: diff --git a/ci/azure/azure-clang-13-ubuntu-mpich.yml b/ci/azure/azure-clang-13-ubuntu-mpich.yml index 1930e2dfbf..b2a9ec02ae 100644 --- a/ci/azure/azure-clang-13-ubuntu-mpich.yml +++ b/ci/azure/azure-clang-13-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (clang-13, ubuntu, mpich) +name: PR tests (clang-13, ubuntu, mpich, trace) trigger: branches: @@ -32,7 +32,7 @@ variables: ULIMIT_CORE: 0 CODE_COVERAGE: 0 VT_LB: 1 - VT_TRACE: 0 + VT_TRACE: 1 VT_TRACE_RT: 0 VT_TRACE_ONLY: 1 VT_MIMALLOC: 0 diff --git a/ci/azure/azure-clang-14-ubuntu-mpich.yml b/ci/azure/azure-clang-14-ubuntu-mpich.yml index 6f1dd693f1..13a41a4ad2 100644 --- a/ci/azure/azure-clang-14-ubuntu-mpich.yml +++ b/ci/azure/azure-clang-14-ubuntu-mpich.yml @@ -11,7 +11,7 @@ trigger: - 1.0.0* pr: - drafts: false + drafts: true autoCancel: true branches: include: @@ -32,7 +32,7 @@ variables: ULIMIT_CORE: 0 CODE_COVERAGE: 0 VT_LB: 1 - VT_TRACE: 1 + VT_TRACE: 0 VT_TRACE_RT: 0 VT_TRACE_ONLY: 1 VT_MIMALLOC: 0 diff --git a/ci/azure/azure-gcc-11-ubuntu-mpich.yml b/ci/azure/azure-gcc-11-ubuntu-mpich.yml index fb5b88bbf3..83d6229cf3 100644 --- a/ci/azure/azure-gcc-11-ubuntu-mpich.yml +++ b/ci/azure/azure-gcc-11-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (gcc-11, ubuntu, mpich, json schema test) +name: PR tests (gcc-11, ubuntu, mpich, trace runtime, LB) trigger: branches: @@ -30,10 +30,10 @@ variables: COMPILER: gcc-11 BUILD_TYPE: release ULIMIT_CORE: 0 - CODE_COVERAGE: 0 + CODE_COVERAGE: 1 VT_LB: 1 - VT_TRACE: 0 - VT_TRACE_RT: 0 + VT_TRACE: 1 + VT_TRACE_RT: 1 VT_TRACE_ONLY: 1 VT_MIMALLOC: 0 VT_DOCS: 0 @@ -43,7 +43,7 @@ variables: VT_POOL: 1 VT_EXTENDED_TESTS: 1 VT_TESTS_NUM_NODES: 2 - VT_UNITY_BUILD: 1 + VT_UNITY_BUILD: 0 VT_PRODUCTION_BUILD: 0 VT_FCONTEXT: 0 VT_ZOLTAN: 0 @@ -53,7 +53,7 @@ variables: VT_BUILD_SHARED_LIBS: 0 VT_INCLUSION: TPL CMAKE_CXX_STANDARD: 17 - TEST_LB_SCHEMA: 1 + TEST_LB_SCHEMA: 0 CACHE: "$(Agent.TempDirectory)/cache/" cache_name: ubuntu-gcc-11-cache build_root: "$(CACHE)/$(ARCH)-ubuntu-$(UBUNTU)-$(COMPILER)-cache/" @@ -130,14 +130,14 @@ stages: containerregistrytype: 'Container Registry' dockerComposeFile: '**/docker-compose.yml' action: 'Run a Docker Compose command' - dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean' + dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean-noinstall' - task: DockerCompose@0 displayName: Build container inputs: containerregistrytype: 'Container Registry' dockerComposeFile: '**/docker-compose.yml' action: 'Run a Docker Compose command' - dockerComposeCommand: 'run ubuntu-cpp-clean' + dockerComposeCommand: 'run ubuntu-cpp-clean-noinstall' env: CODECOV_TOKEN: $(codecov_token) - task: Bash@3 @@ -168,7 +168,7 @@ stages: dockerRegistryEndpoint: 'dockerRegistryConnection1' dockerComposeFile: '**/docker-compose.yml' action: 'Run a Docker Compose command' - dockerComposeCommand: 'push ubuntu-cpp-clean' + dockerComposeCommand: 'push ubuntu-cpp-clean-noinstall' - task: Bash@3 displayName: Create artifacts continueOnError: true diff --git a/ci/azure/azure-gcc-12-ubuntu-mpich.yml b/ci/azure/azure-gcc-12-ubuntu-mpich.yml index 88bad353ef..d1a2056ac6 100644 --- a/ci/azure/azure-gcc-12-ubuntu-mpich.yml +++ b/ci/azure/azure-gcc-12-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (gcc-12, ubuntu, mpich) +name: PR tests (gcc-12, ubuntu, mpich, address sanitizer) trigger: branches: @@ -11,7 +11,7 @@ trigger: - 1.0.0* pr: - drafts: true + drafts: false autoCancel: true branches: include: @@ -32,18 +32,18 @@ variables: ULIMIT_CORE: 0 CODE_COVERAGE: 0 VT_LB: 1 - VT_TRACE: 0 + VT_TRACE: 1 VT_TRACE_RT: 0 VT_TRACE_ONLY: 1 VT_MIMALLOC: 0 VT_DOCS: 0 - VT_ASAN: 0 + VT_ASAN: 1 VT_UBSAN: 0 VT_WERROR: 1 - VT_POOL: 1 + VT_POOL: 0 VT_EXTENDED_TESTS: 1 VT_TESTS_NUM_NODES: 2 - VT_UNITY_BUILD: 1 + VT_UNITY_BUILD: 0 VT_PRODUCTION_BUILD: 0 VT_FCONTEXT: 0 VT_ZOLTAN: 0 @@ -61,7 +61,7 @@ variables: TS_YEAR: 0 TS_MONTH: 0 TS_DAY: 0 - + LSAN_OPTIONS: suppressions=/vt/tests/lsan.supp stages: diff --git a/ci/azure/azure-gcc-7-ubuntu-mpich.yml b/ci/azure/azure-gcc-7-ubuntu-mpich.yml deleted file mode 100644 index 81bc36140c..0000000000 --- a/ci/azure/azure-gcc-7-ubuntu-mpich.yml +++ /dev/null @@ -1,203 +0,0 @@ -############################################################################### -############## Warning this is a generated file---do not modify ############### -############################################################################### - -name: PR tests (gcc-7, ubuntu, mpich, trace runtime, LB) - -trigger: - branches: - include: - - develop - - 1.0.0* - -pr: - drafts: false - autoCancel: true - branches: - include: - - '*' - - -resources: -- repo: self - -variables: - tag: '$(Build.BuildId)' - REPO: lifflander1/vt - ARCH: amd64 - UBUNTU: 18.04 - COMPILER_TYPE: gnu - COMPILER: gcc-7 - BUILD_TYPE: release - ULIMIT_CORE: 0 - CODE_COVERAGE: 1 - VT_LB: 1 - VT_TRACE: 1 - VT_TRACE_RT: 1 - VT_TRACE_ONLY: 1 - VT_MIMALLOC: 0 - VT_DOCS: 0 - VT_ASAN: 0 - VT_UBSAN: 0 - VT_WERROR: 1 - VT_POOL: 1 - VT_EXTENDED_TESTS: 1 - VT_TESTS_NUM_NODES: 2 - VT_UNITY_BUILD: 0 - VT_PRODUCTION_BUILD: 0 - VT_FCONTEXT: 0 - VT_ZOLTAN: 0 - VT_CI_BUILD: 1 - VT_DIAGNOSTICS: 1 - VT_NO_COLOR: 1 - VT_BUILD_SHARED_LIBS: 0 - VT_INCLUSION: TPL - CMAKE_CXX_STANDARD: 17 - TEST_LB_SCHEMA: 0 - CACHE: "$(Agent.TempDirectory)/cache/" - cache_name: ubuntu-gcc-7-cache - build_root: "$(CACHE)/$(ARCH)-ubuntu-$(UBUNTU)-$(COMPILER)-cache/" - TS: 0 - TS_YEAR: 0 - TS_MONTH: 0 - TS_DAY: 0 - - - -stages: -- stage: Build - displayName: Build image - jobs: - - job: Build - displayName: Build - pool: - vmImage: 'ubuntu-22.04' - timeoutInMinutes: 180 - steps: - - task: Bash@3 - displayName: Build timestamp for caching - continueOnError: true - inputs: - targetType: 'inline' - script: | - echo 'string(TIMESTAMP current_date "%H;%M;%S" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS]$val" - echo 'string(TIMESTAMP current_date "%Y" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_YEAR]$val" - echo 'string(TIMESTAMP current_date "%m" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_MONTH]$val" - echo 'string(TIMESTAMP current_date "%d" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_DAY]$val" - - task: Bash@3 - displayName: Output timestamp for caching - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"' - - task: Cache@2 - displayName: Update cache - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - securityNamespace: cache - key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS) - path: '$(build_root)/ccache' - restoreKeys: | - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) - $(Agent.OS) | "$(cache_name)" - - task: Bash@3 - displayName: Check for changes in containers - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - val=$(./scripts/check_containers.sh) - echo "##vso[task.setvariable variable=compose_command]$val" - - task: DockerCompose@0 - displayName: Pull container - inputs: - containerregistrytype: 'Container Registry' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean-noinstall' - - task: DockerCompose@0 - displayName: Build container - inputs: - containerregistrytype: 'Container Registry' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: 'run ubuntu-cpp-clean-noinstall' - env: - CODECOV_TOKEN: $(codecov_token) - - task: Bash@3 - displayName: Put compilation's and tests' logs in PR comment - continueOnError: true - condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')) - inputs: - targetType: 'inline' - script: | - ./scripts/report_logs_in_comment.sh \ - "$(build_root)/vt/compilation_errors_warnings.out" \ - "$(build_root)/vt/cmake-output.log" \ - "$(Build.BuildNumber)" \ - "$(System.PullRequest.PullRequestNumber)" \ - "$(Build.Repository.Name)" \ - "$GITHUB_PAT" \ - "$(Build.BuildId)" \ - "$(System.JobId)" \ - "$(Agent.JobStatus)" - env: - GITHUB_PAT: $(github_pat) - - task: DockerCompose@0 - displayName: Push container to registry - continueOnError: true - condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop')) - inputs: - containerregistrytype: 'Container Registry' - dockerRegistryEndpoint: 'dockerRegistryConnection1' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: 'push ubuntu-cpp-clean-noinstall' - - task: Bash@3 - displayName: Create artifacts - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - zip -j $(Agent.TempDirectory)/LastTest.log.gz $(build_root)/vt/Testing/Temporary/LastTest.log - zip -j $(Agent.TempDirectory)/cmake-output.log.gz $(build_root)/vt/cmake-output.log - - task: PublishPipelineArtifact@1 - displayName: Upload CMake test output artifact - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetPath: '$(Agent.TempDirectory)/LastTest.log.gz' - artifact: 'CMakeLastTestLog' - publishLocation: 'pipeline' - - task: PublishPipelineArtifact@1 - displayName: Upload CMake full output artifact - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz' - artifact: 'CMakeOutputLog' - publishLocation: 'pipeline' - - task: Bash@3 - displayName: Finish pipeline - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - echo Done diff --git a/ci/azure/azure-gcc-8-ubuntu-mpich.yml b/ci/azure/azure-gcc-8-ubuntu-mpich.yml deleted file mode 100644 index 5c46fd20f2..0000000000 --- a/ci/azure/azure-gcc-8-ubuntu-mpich.yml +++ /dev/null @@ -1,203 +0,0 @@ -############################################################################### -############## Warning this is a generated file---do not modify ############### -############################################################################### - -name: PR tests (gcc-8, ubuntu, mpich, address sanitizer) - -trigger: - branches: - include: - - develop - - 1.0.0* - -pr: - drafts: false - autoCancel: true - branches: - include: - - '*' - - -resources: -- repo: self - -variables: - tag: '$(Build.BuildId)' - REPO: lifflander1/vt - ARCH: amd64 - UBUNTU: 18.04 - COMPILER_TYPE: gnu - COMPILER: gcc-8 - BUILD_TYPE: release - ULIMIT_CORE: 0 - CODE_COVERAGE: 0 - VT_LB: 1 - VT_TRACE: 1 - VT_TRACE_RT: 0 - VT_TRACE_ONLY: 1 - VT_MIMALLOC: 0 - VT_DOCS: 0 - VT_ASAN: 1 - VT_UBSAN: 0 - VT_WERROR: 1 - VT_POOL: 0 - VT_EXTENDED_TESTS: 1 - VT_TESTS_NUM_NODES: 2 - VT_UNITY_BUILD: 0 - VT_PRODUCTION_BUILD: 0 - VT_FCONTEXT: 0 - VT_ZOLTAN: 0 - VT_CI_BUILD: 1 - VT_DIAGNOSTICS: 1 - VT_NO_COLOR: 1 - VT_BUILD_SHARED_LIBS: 0 - VT_INCLUSION: TPL - CMAKE_CXX_STANDARD: 17 - TEST_LB_SCHEMA: 0 - CACHE: "$(Agent.TempDirectory)/cache/" - cache_name: ubuntu-gcc-8-cache - build_root: "$(CACHE)/$(ARCH)-ubuntu-$(UBUNTU)-$(COMPILER)-cache/" - TS: 0 - TS_YEAR: 0 - TS_MONTH: 0 - TS_DAY: 0 - LSAN_OPTIONS: suppressions=/vt/tests/lsan.supp - - -stages: -- stage: Build - displayName: Build image - jobs: - - job: Build - displayName: Build - pool: - vmImage: 'ubuntu-22.04' - timeoutInMinutes: 180 - steps: - - task: Bash@3 - displayName: Build timestamp for caching - continueOnError: true - inputs: - targetType: 'inline' - script: | - echo 'string(TIMESTAMP current_date "%H;%M;%S" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS]$val" - echo 'string(TIMESTAMP current_date "%Y" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_YEAR]$val" - echo 'string(TIMESTAMP current_date "%m" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_MONTH]$val" - echo 'string(TIMESTAMP current_date "%d" UTC)' > script - echo 'execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${current_date}")' >> script - val=$(cmake -P script) - echo "##vso[task.setvariable variable=TS_DAY]$val" - - task: Bash@3 - displayName: Output timestamp for caching - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"' - - task: Cache@2 - displayName: Update cache - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - securityNamespace: cache - key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS) - path: '$(build_root)/ccache' - restoreKeys: | - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) - $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) - $(Agent.OS) | "$(cache_name)" - - task: Bash@3 - displayName: Check for changes in containers - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - val=$(./scripts/check_containers.sh) - echo "##vso[task.setvariable variable=compose_command]$val" - - task: DockerCompose@0 - displayName: Pull container - inputs: - containerregistrytype: 'Container Registry' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean' - - task: DockerCompose@0 - displayName: Build container - inputs: - containerregistrytype: 'Container Registry' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: 'run ubuntu-cpp-clean' - env: - CODECOV_TOKEN: $(codecov_token) - - task: Bash@3 - displayName: Put compilation's and tests' logs in PR comment - continueOnError: true - condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')) - inputs: - targetType: 'inline' - script: | - ./scripts/report_logs_in_comment.sh \ - "$(build_root)/vt/compilation_errors_warnings.out" \ - "$(build_root)/vt/cmake-output.log" \ - "$(Build.BuildNumber)" \ - "$(System.PullRequest.PullRequestNumber)" \ - "$(Build.Repository.Name)" \ - "$GITHUB_PAT" \ - "$(Build.BuildId)" \ - "$(System.JobId)" \ - "$(Agent.JobStatus)" - env: - GITHUB_PAT: $(github_pat) - - task: DockerCompose@0 - displayName: Push container to registry - continueOnError: true - condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop')) - inputs: - containerregistrytype: 'Container Registry' - dockerRegistryEndpoint: 'dockerRegistryConnection1' - dockerComposeFile: '**/docker-compose.yml' - action: 'Run a Docker Compose command' - dockerComposeCommand: 'push ubuntu-cpp-clean' - - task: Bash@3 - displayName: Create artifacts - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - zip -j $(Agent.TempDirectory)/LastTest.log.gz $(build_root)/vt/Testing/Temporary/LastTest.log - zip -j $(Agent.TempDirectory)/cmake-output.log.gz $(build_root)/vt/cmake-output.log - - task: PublishPipelineArtifact@1 - displayName: Upload CMake test output artifact - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetPath: '$(Agent.TempDirectory)/LastTest.log.gz' - artifact: 'CMakeLastTestLog' - publishLocation: 'pipeline' - - task: PublishPipelineArtifact@1 - displayName: Upload CMake full output artifact - continueOnError: true - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz' - artifact: 'CMakeOutputLog' - publishLocation: 'pipeline' - - task: Bash@3 - displayName: Finish pipeline - condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues') - inputs: - targetType: 'inline' - script: | - echo Done diff --git a/ci/azure/azure-gcc-9-ubuntu-mpich.yml b/ci/azure/azure-gcc-9-ubuntu-mpich.yml index 40444656d2..050fdbcd4f 100644 --- a/ci/azure/azure-gcc-9-ubuntu-mpich.yml +++ b/ci/azure/azure-gcc-9-ubuntu-mpich.yml @@ -2,7 +2,7 @@ ############## Warning this is a generated file---do not modify ############### ############################################################################### -name: PR tests (gcc-9, ubuntu, mpich, zoltan) +name: PR tests (gcc-9, ubuntu, mpich, zoltan, json schema test) trigger: branches: @@ -53,7 +53,7 @@ variables: VT_BUILD_SHARED_LIBS: 0 VT_INCLUSION: TPL CMAKE_CXX_STANDARD: 17 - TEST_LB_SCHEMA: 0 + TEST_LB_SCHEMA: 1 CACHE: "$(Agent.TempDirectory)/cache/" cache_name: ubuntu-gcc-9-cache build_root: "$(CACHE)/$(ARCH)-ubuntu-$(UBUNTU)-$(COMPILER)-cache/" diff --git a/scripts/workflows-azure.ini b/scripts/workflows-azure.ini index 661c4bbff8..a35dcc5b99 100644 --- a/scripts/workflows-azure.ini +++ b/scripts/workflows-azure.ini @@ -88,34 +88,11 @@ vt_trace = 1 vt_pool = 0 vt_tests_num_nodes = 4 -[PR-tests-gcc-7] -test_configuration = "gcc-7, ubuntu, mpich, trace runtime, LB" -compiler_type = gnu -compiler = gcc-7 -distro = 18.04 -vt_trace = 1 -vt_trace_rt = 1 -vt_unity_build = 0 -code_coverage = 1 -docker_target = "[% linux %]-cpp-clean-noinstall" -output_name = ci/azure/azure-gcc-7-ubuntu-mpich.yml - -[PR-tests-gcc-8] -test_configuration = "gcc-8, ubuntu, mpich, address sanitizer" -compiler_type = gnu -compiler = gcc-8 -distro = 18.04 -vt_trace = 1 -vt_pool = 0 -vt_asan = 1 -vt_unity_build = 0 -output_name = ci/azure/azure-gcc-8-ubuntu-mpich.yml -lsan_options = suppressions=/vt/tests/lsan.supp - [PR-tests-gcc-9] -test_configuration = "gcc-9, ubuntu, mpich, zoltan" +test_configuration = "gcc-9, ubuntu, mpich, zoltan, json schema test" compiler_type = gnu compiler = gcc-9 +test_lb_schema = 1 output_name = ci/azure/azure-gcc-9-ubuntu-mpich.yml vt_zoltan = 1 @@ -129,20 +106,28 @@ vt_lb = 0 vt_tests_num_nodes = 4 [PR-tests-gcc-11] -test_configuration = "gcc-11, ubuntu, mpich, json schema test" +test_configuration = "gcc-11, ubuntu, mpich, trace runtime, LB" compiler_type = gnu compiler = gcc-11 distro = 22.04 -test_lb_schema = 1 +vt_trace = 1 +vt_trace_rt = 1 +vt_unity_build = 0 +code_coverage = 1 +docker_target = "[% linux %]-cpp-clean-noinstall" output_name = ci/azure/azure-gcc-11-ubuntu-mpich.yml [PR-tests-gcc-12] -test_configuration = "gcc-12, ubuntu, mpich" +test_configuration = "gcc-12, ubuntu, mpich, address sanitizer" compiler_type = gnu compiler = gcc-12 distro = 22.04 +vt_trace = 1 +vt_pool = 0 +vt_asan = 1 +vt_unity_build = 0 output_name = ci/azure/azure-gcc-12-ubuntu-mpich.yml -pr_pattern = "pr:\\n drafts: true\\n autoCancel: true\\n branches:\\n include:\\n - '*'\\n" +lsan_options = suppressions=/vt/tests/lsan.supp [PR-tests-clang-13-alpine] test_configuration = "clang-13, alpine, mpich" @@ -165,7 +150,7 @@ vt_inclusion = EXT_LIB vt_werror = 0 [PR-tests-clang-10] -test_configuration = "clang-10, ubuntu, mpich" +test_configuration = "clang-10, ubuntu, mpich, ubsan" compiler_type = clang compiler = clang-10 output_name = ci/azure/azure-clang-10-ubuntu-mpich.yml @@ -174,7 +159,7 @@ vt_ubsan = 1 ubsan_options = "print_stacktrace=1" [PR-tests-clang-11] -test_configuration = "clang-11, ubuntu, mpich" +test_configuration = "clang-11, ubuntu, mpich, fcontext" compiler_type = clang compiler = clang-11 distro = 22.04 @@ -189,11 +174,12 @@ distro = 22.04 output_name = ci/azure/azure-clang-12-ubuntu-mpich.yml [PR-tests-clang-13] -test_configuration = "clang-13, ubuntu, mpich" +test_configuration = "clang-13, ubuntu, mpich, trace" compiler_type = clang compiler = clang-13 distro = 22.04 output_name = ci/azure/azure-clang-13-ubuntu-mpich.yml +vt_trace = 1 [PR-tests-clang-14] test_configuration = "clang-14, ubuntu, mpich" @@ -201,4 +187,4 @@ compiler_type = clang compiler = clang-14 distro = 22.04 output_name = ci/azure/azure-clang-14-ubuntu-mpich.yml -vt_trace = 1 +pr_pattern = "pr:\\n drafts: true\\n autoCancel: true\\n branches:\\n include:\\n - '*'\\n"