Commit 88a37bb4 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

CI: Reenable tsan nightly test

parent a787103d
Pipeline #184187 failed with stages
in 4 minutes and 39 seconds
...@@ -3,7 +3,7 @@ variables: ...@@ -3,7 +3,7 @@ variables:
MEDIALIBRARY_IMG: registry.videolan.org/medialibrary:20220119101155 MEDIALIBRARY_IMG: registry.videolan.org/medialibrary:20220119101155
MEDIALIBRARY_WIN32_IMG: registry.videolan.org/medialibrary-win32:20220125141704 MEDIALIBRARY_WIN32_IMG: registry.videolan.org/medialibrary-win32:20220125141704
MEDIALIBRARY_WIN64_IMG: registry.videolan.org/medialibrary-win64:20220125175914 MEDIALIBRARY_WIN64_IMG: registry.videolan.org/medialibrary-win64:20220125175914
VLC_DEBIAN_UNSTABLE_IMG: registry.videolan.org/vlc-debian-unstable:20210218132922 VLC_DEBIAN_UNSTABLE_IMG: registry.videolan.org/vlc-debian-unstable:20220127084320
MEDIALIBRARY_ALPINE_IMG: registry.videolan.org/medialibrary-alpine:20210902074848 MEDIALIBRARY_ALPINE_IMG: registry.videolan.org/medialibrary-alpine:20210902074848
MEDIALIBRARY_ARCH_IMG: registry.videolan.org/medialibrary-archlinux:20220124130611 MEDIALIBRARY_ARCH_IMG: registry.videolan.org/medialibrary-archlinux:20220124130611
MEDIALIB_TEST_FOLDER: $CI_PROJECT_DIR/medialib_tests/ MEDIALIB_TEST_FOLDER: $CI_PROJECT_DIR/medialib_tests/
...@@ -239,29 +239,36 @@ asan-ubsan: ...@@ -239,29 +239,36 @@ asan-ubsan:
- $CI_PROJECT_DIR/build/meson-logs/testlog.txt - $CI_PROJECT_DIR/build/meson-logs/testlog.txt
expire_in: 1 week expire_in: 1 week
#tsan: tsan:
# image: $VLC_DEBIAN_UNSTABLE_IMG image: $VLC_DEBIAN_UNSTABLE_IMG
# rules: rules:
# - if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule" && $MEDIALIB_MANUAL_JOB_NAME == null'
# when: on_success stage: build
# - when: never variables:
# tags: TSAN_OPTIONS: 'suppressions=$CI_PROJECT_DIR/ci/tsan_suppress_file'
# - docker script:
# - amd64 - git clone https://code.videolan.org/videolan/vlc.git --depth=1
# variables: - cd vlc && ./bootstrap
# TSAN_OPTIONS: 'suppressions=$CI_PROJECT_DIR/ci/tsan_suppress_file' - ./configure LDFLAGS="-ltsan" --prefix=$CI_PROJECT_DIR/vlc/prefix --disable-qt --with-sanitizer=thread --disable-medialibrary --disable-nls --enable-debug
# script: - make install -j8
# - git clone https://code.videolan.org/videolan/vlc.git --depth=1 - cd ..
# - cd vlc && ./bootstrap - >
# - ./configure LDFLAGS="-ltsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=thread --disable-medialibrary --disable-nls --enable-debug CXX=clang++
# - make install -j8 meson
# - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig" -Dpkg_config_path=$PKG_CONFIG_PATH:$CI_PROJECT_DIR/vlc/prefix/lib/pkgconfig
# - cd .. -Db_sanitize=thread
# - meson -Db_sanitize=thread build -Db_lundef=false
# - cd build && meson test --no-stdsplit build
# - meson compile fast_discover_cancel fast_teardown - cd build && meson test --no-stdsplit
# - ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples - meson compile fast_discover_cancel fast_teardown
# - ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples - ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
- ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
artifacts:
when: on_failure
paths:
- $MEDIALIB_TEST_FOLDER/**/test.db
- $CI_PROJECT_DIR/build/meson-logs/testlog.txt
expire_in: 1 week
gen-test-db: gen-test-db:
image: $MEDIALIBRARY_IMG image: $MEDIALIBRARY_IMG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment