-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #20843: DROP: Enable testing on ubuntu nightly
Signed-off-by: eduponz <[email protected]>
- Loading branch information
Showing
6 changed files
with
37 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Fast DDS MacOS CI (nightly) | |
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
|
||
jobs: | ||
nightly-mac-ci-master: | ||
|
@@ -12,66 +10,10 @@ jobs: | |
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@master | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@feature/detect_flaky_tests | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-master' | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-master-flaky' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: 'master' | ||
|
||
nightly-mac-ci-2_14_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.14.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.14.x' | ||
|
||
nightly-mac-ci-2_13_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.13.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.13.x' | ||
|
||
nightly-mac-ci-2_10_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.10.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.10.x' | ||
|
||
nightly-mac-ci-2_6_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.6.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.6.x' | ||
flakiness-report: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Fast DDS Ubuntu CI (nightly) | |
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
|
||
jobs: | ||
nightly-ubuntu-ci-master: | ||
|
@@ -14,80 +12,11 @@ jobs: | |
- 'ubuntu-22.04' | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-ubuntu-ci.yml@master | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-ubuntu-ci.yml@feature/detect_flaky_tests | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-master' | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-master-flaky' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: 'master' | ||
flakiness-report: true | ||
|
||
nightly-ubuntu-ci-2_14_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.14.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.14.x' | ||
|
||
nightly-ubuntu-ci-2_13_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.13.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.13.x' | ||
|
||
nightly-ubuntu-ci-2_10_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.10.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.10.x' | ||
|
||
nightly-ubuntu-ci-2_6_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.6.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.6.x' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Fast DDS Windows CI (nightly) | |
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
|
||
jobs: | ||
nightly-windows-ci-master: | ||
|
@@ -12,66 +10,10 @@ jobs: | |
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-windows-ci.yml@master | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-windows-ci.yml@feature/detect_flaky_tests | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-master' | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-master-flaky' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds_branch: 'master' | ||
|
||
nightly-windows-ci-2_14_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-2.14.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds_branch: '2.14.x' | ||
|
||
nightly-windows-ci-2_13_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-2.13.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds_branch: '2.13.x' | ||
|
||
nightly-windows-ci-2_10_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-2.10.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds_branch: '2.10.x' | ||
|
||
nightly-windows-ci-2_6_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
security: | ||
- 'ON' | ||
- 'OFF' | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
label: 'nightly-sec-${{ matrix.security }}-windows-ci-2.6.x' | ||
cmake-args: "-DSECURITY=${{ matrix.security }}" | ||
ctest-args: "-LE xfail" | ||
fastdds_branch: '2.6.x' | ||
flakiness-report: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,45 +51,45 @@ jobs: | |
steps: | ||
- name: Add ci-pending label if PR | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: eProsima/eProsima-CI/external/add_labels@v0 | ||
uses: eProsima/eProsima-CI/external/add_labels@feature/detect_flaky_tests | ||
with: | ||
labels: ci-pending | ||
number: ${{ github.event.number }} | ||
repo: eProsima/Fast-DDS | ||
|
||
- name: Sync eProsima/Fast-DDS repository | ||
uses: eProsima/eProsima-CI/external/checkout@v0 | ||
uses: eProsima/eProsima-CI/external/checkout@feature/detect_flaky_tests | ||
with: | ||
path: src/fastdds | ||
ref: ${{ inputs.fastdds-branch }} | ||
|
||
- uses: eProsima/eProsima-CI/external/setup-python@v0 | ||
- uses: eProsima/eProsima-CI/external/setup-python@feature/detect_flaky_tests | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Get minimum supported version of CMake | ||
uses: eProsima/eProsima-CI/external/get-cmake@v0 | ||
uses: eProsima/eProsima-CI/external/get-cmake@feature/detect_flaky_tests | ||
with: | ||
cmakeVersion: '3.22.6' | ||
|
||
- name: Install brew dependencies | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@v0 | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@feature/detect_flaky_tests | ||
with: | ||
packages: llvm asio tinyxml2 [email protected] | ||
update: false | ||
upgrade: false | ||
|
||
- name: Install colcon | ||
uses: eProsima/eProsima-CI/multiplatform/install_colcon@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/install_colcon@feature/detect_flaky_tests | ||
|
||
- name: Install Python dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@feature/detect_flaky_tests | ||
with: | ||
packages: vcstool xmlschema | ||
upgrade: false | ||
|
||
- name: Setup CCache | ||
uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 | ||
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/detect_flaky_tests | ||
with: | ||
api_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -109,14 +109,14 @@ jobs: | |
# which entails logout/login or rebooting the machine. This is not feasible in a CI environment. | ||
|
||
- name: Fetch Fast DDS dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/detect_flaky_tests | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastdds/fastdds.repos | ||
destination_workspace: src | ||
skip_existing: 'true' | ||
|
||
- name: Fetch Fast DDS CI dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/detect_flaky_tests | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/ci.repos | ||
destination_workspace: src | ||
|
@@ -128,7 +128,7 @@ jobs: | |
# - Not working solution: https://github.com/macports/macports-ports/pull/21839/files | ||
- name: Colcon build | ||
continue-on-error: false | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/detect_flaky_tests | ||
with: | ||
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/ci.meta | ||
colcon_build_args: ${{ inputs.colcon-args }} | ||
|
@@ -140,12 +140,12 @@ jobs: | |
- name: Colcon test | ||
id: test | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }} | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_test@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/detect_flaky_tests | ||
with: | ||
colcon_test_args: ${{ inputs.colcon-args }} | ||
colcon_test_args_default: --event-handlers=console_direct+ | ||
ctest_args: ${{ inputs.ctest-args }} | ||
ctest_args_default: --repeat until-pass:3 --timeout 300 --label-exclude "xfail" | ||
ctest_args_default: --repeat until-pass:3 --timeout 300 --label-exclude "xfail" -R DynamicTypes | ||
packages_names: fastdds | ||
workspace: ${{ github.workspace }} | ||
test_report_artifact: ${{ format('test_report_{0}_{1}_{2}', inputs.label, github.job, join(matrix.*, '_')) }} | ||
|
@@ -162,7 +162,7 @@ jobs: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Test summary | ||
uses: eProsima/eProsima-CI/multiplatform/junit_summary@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/junit_summary@feature/detect_flaky_tests | ||
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }} | ||
with: | ||
junit_reports_dir: "${{ steps.test.outputs.ctest_results_path }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.