446fd36a93
- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings
- improves the stability of MPI finalization
- reduces some debug messages within timemory when `OMNITRACE_DEBUG=ON`
- fixes issue found in RHEL where libunwind is using mutex and omnitrace was not treating this as an internal mutex call
- this may have been affecting the causal profiling slightly (tests seem a bit more stable now)
- fix data race in timemory
* Add RedHat CI and release packaging
- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings
* Fix URL for ROCm packages in redhat workflow
* Fix dnf --enable-repo for ROCm perl packages
* Dockerfile.rhel and redhat.yml updates
- Fix dnf repo for ROCm PERL packages
- Disable python in CI (interpreter segfaults)
- Exclude parallel-overhead-locks tests due to inclusion of internal locks
- This needs to be remedied in the future
* Exclude _dl_relocate_static_pie from instrumentation
* Testing updates
- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks
* Fix redhat workflow
* redhat.yml update
- remove if condition on config/build/test step
* Update timemory submodule
- tweaks to verbosity messages
* Set thread state before unw_step
- on Redhat, unw_step calls mutex
* Update timemory submodule
- verbosity changes
- gotcha uses spin_lock/spin_mutex
* Remove using gsplit-dwarf unless OMNITRACE_BUILD_NUMBER > 2
* Re-enable parallel-overhead-locks tests in redhat workflow
* Always disable timemory manager metadata auto output
* testing updates
- tweak parallel-overhead-locks-timemory to higher instruction count min
- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks-perfetto
* Update timemory submodule
- quiet realpath queries
* omnitrace exe updates
- detect text files
- improved bin/lib locating
* cmake format
* test-install.sh and redhat workflow updates
- handle testing when ls is script
- re-enable python testing on redhat workflow
- invoke test-install.sh in redhat workflow
* Misc guards for finalization
* omnitrace-exe, testing updates
- test-install.sh: LS_EXEC -> LS_NAME
- handle /usr/bin/ls being script in source/bin/tests
- improve locating the binary
* Fix mpi_gotcha compile error
* omnitrace-exe updates
- improve file locating
* formatting
* Misc fixes
- remove -static-libstdc++ for RHEL packaging (rocky-linux doesn't distribute static lib)
* omnitrace-exe paths
* Replace realpath with absolute
- using absolute path to symlink fixes issues with locating libdyninstAPI_RT at runtime
* omnitrace exe updates
- judicious use of realpath
* Update timemory submodule
- fix update main hash ids/aliases data race in merge
* bin tests update
- change working directory of omnitrace-exe-simulate-lib-basename
* omnitrace exe updates
- Update resolved exe/lib messaging
* bin tests update
- change working directory of omnitrace-exe-simulate-lib-basename
[ROCm/rocprofiler-systems commit: 1688a027d8]
188 lines
5.2 KiB
YAML
188 lines
5.2 KiB
YAML
name: Continuous Integration Containers
|
|
run-name: ci-containers
|
|
|
|
# nightly build
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 0 5 * * *
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
|
|
|
|
jobs:
|
|
omnitrace-ci:
|
|
if: github.repository == 'AMDResearch/omnitrace'
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- distro: "ubuntu"
|
|
version: "18.04"
|
|
- distro: "ubuntu"
|
|
version: "20.04"
|
|
- distro: "ubuntu"
|
|
version: "22.04"
|
|
- distro: "opensuse"
|
|
version: "15.2"
|
|
- distro: "opensuse"
|
|
version: "15.3"
|
|
- distro: "opensuse"
|
|
version: "15.4"
|
|
- distro: "rhel"
|
|
version: "8.7"
|
|
- distro: "rhel"
|
|
version: "9.0"
|
|
- distro: "rhel"
|
|
version: "9.1"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build CI Container
|
|
timeout-minutes: 45
|
|
uses: nick-fields/retry@v2
|
|
with:
|
|
retry_wait_seconds: 60
|
|
timeout_minutes: 45
|
|
max_attempts: 3
|
|
command: |
|
|
pushd docker
|
|
./build-docker-ci.sh --distro ${{ matrix.distro }} --versions ${{ matrix.version }} --user ${{ secrets.DOCKERHUB_USERNAME }} --push --jobs 2 --elfutils-version 0.186 --boost-version 1.79.0
|
|
popd
|
|
|
|
omnitrace-release:
|
|
if: github.repository == 'AMDResearch/omnitrace'
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
# ubuntu 18.04
|
|
- os-distro: "ubuntu"
|
|
os-version: "18.04"
|
|
rocm-version: "0.0"
|
|
- os-distro: "ubuntu"
|
|
os-version: "18.04"
|
|
rocm-version: "4.5"
|
|
- os-distro: "ubuntu"
|
|
os-version: "18.04"
|
|
rocm-version: "5.0"
|
|
- os-distro: "ubuntu"
|
|
os-version: "18.04"
|
|
rocm-version: "5.1"
|
|
- os-distro: "ubuntu"
|
|
os-version: "18.04"
|
|
rocm-version: "5.2"
|
|
# ubuntu 20.04
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "0.0"
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "4.5"
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "5.0"
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "5.1"
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "5.2"
|
|
- os-distro: "ubuntu"
|
|
os-version: "20.04"
|
|
rocm-version: "5.3"
|
|
# ubuntu 20.04
|
|
- os-distro: "ubuntu"
|
|
os-version: "22.04"
|
|
rocm-version: "0.0"
|
|
- os-distro: "ubuntu"
|
|
os-version: "22.04"
|
|
rocm-version: "5.3"
|
|
# opensuse 15.3
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "0.0"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "4.5"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "5.0"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "5.1"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "5.2"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.3"
|
|
rocm-version: "5.3"
|
|
# opensuse 15.4
|
|
- os-distro: "opensuse"
|
|
os-version: "15.4"
|
|
rocm-version: "0.0"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.4"
|
|
rocm-version: "5.0"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.4"
|
|
rocm-version: "5.1"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.4"
|
|
rocm-version: "5.2"
|
|
- os-distro: "opensuse"
|
|
os-version: "15.4"
|
|
rocm-version: "5.3"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build Base Container
|
|
timeout-minutes: 45
|
|
uses: nick-fields/retry@v2
|
|
with:
|
|
retry_wait_seconds: 60
|
|
timeout_minutes: 45
|
|
max_attempts: 3
|
|
command: |
|
|
pushd docker
|
|
./build-docker.sh --distro ${{ matrix.os-distro }} --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} --user ${{ secrets.DOCKERHUB_USERNAME }} --push
|
|
popd
|