diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8ba607d52c3..0db0ff5fa1e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -119,90 +119,18 @@ jobs: - name: Run Address Sanitizer run: ./tools/ci/build-test-macos-with-sanitizers.sh asan - build-ubuntu-with-thread-sanitizer-clang-latest: - timeout-minutes: 30 + build-test-ubuntu-with-thread-sanitizer-clang-latest: + # prevent stuck jobs consuming runners for 3 hours + timeout-minutes: 180 runs-on: ubuntu-latest + needs: pre-flight-check steps: - name: Checkout uses: actions/checkout@v3 - name: Install iceoryx dependencies and clang-tidy uses: ./.github/actions/install-iceoryx-deps-and-clang - - name: Build with Thread Sanitizer - run: ./tools/ci/build-test-ubuntu-with-sanitizers.sh clang tsan skip-tests - - name: upload test-binaries - uses: actions/upload-artifact@v3 - with: - name: test-binaries - retention-days: 1 - path: | - build/hoofs/test/hoofs_moduletests - build/posh/test/posh_moduletests - build/posh/test/posh_integrationtests - - test-ubuntu-with-thread-sanitizer-hoofs-moduletest: - # prevent stuck jobs consuming runners for 1 hour - timeout-minutes: 60 - runs-on: ubuntu-latest - needs: build-ubuntu-with-thread-sanitizer-clang-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install iceoryx dependencies and clang-tidy - uses: ./.github/actions/install-iceoryx-deps-and-clang - - name: download hoofs-test-binaries - uses: actions/download-artifact@v3 - with: - name: test-binaries - path: test_bins - - name: Create local test usera and groups - run: sudo ./tools/scripts/add_test_users.sh - - name: Execute the test - run: | - chmod a+x test_bins/hoofs/test/hoofs_moduletests - test_bins/hoofs/test/hoofs_moduletests --gtest_filter=-*.TimingTest_* --gtest_output=xml:hoofs_ModuleTestResults.xml - - test-ubuntu-with-thread-sanitizer-posh-moduletest: - # prevent stuck jobs consuming runners for 1 hour - timeout-minutes: 60 - runs-on: ubuntu-latest - needs: build-ubuntu-with-thread-sanitizer-clang-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install iceoryx dependencies and clang-tidy - uses: ./.github/actions/install-iceoryx-deps-and-clang - - name: download posh-test-binaries - uses: actions/download-artifact@v3 - with: - name: test-binaries - path: test_bins - - name: Create local test usera and groups - run: sudo ./tools/scripts/add_test_users.sh - - name: Execute the test - run: | - chmod a+x test_bins/posh/test/posh_moduletests - test_bins/posh/test/posh_moduletests --gtest_filter=-*.TimingTest_* --gtest_output=xml:posh_ModuleTestResults.xml - test-ubuntu-with-thread-sanitizer-posh-integrationtest: - # prevent stuck jobs consuming runners for 1 hour - timeout-minutes: 60 - runs-on: ubuntu-latest - needs: build-ubuntu-with-thread-sanitizer-clang-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install iceoryx dependencies and clang-tidy - uses: ./.github/actions/install-iceoryx-deps-and-clang - - name: download posh-test-binaries - uses: actions/download-artifact@v3 - with: - name: test-binaries - path: test_bins - - name: Create local test usera and groups - run: sudo ./tools/scripts/add_test_users.sh - - name: Execute the test - run: | - chmod a+x test_bins/posh/test/posh_integrationtests - test_bins/posh/test/posh_integrationtests --gtest_filter=-*.TimingTest_* --gtest_output=xml:posh_IntegrationTestResults.xml + - name: Run Thread Sanitizer + run: ./tools/ci/build-test-ubuntu-with-sanitizers.sh clang tsan # gcc 5.4 is compiler used in QNX 7.0 build-test-ubuntu-with-gcc5: