Skip to content

Commit b873564

Browse files
ci(gha/bdd): coredump before cleanup
Ensure unlimited coredump. Run coredump check before cleaning the workspace. This is helpful in case there was a coredump from our own binaries. Also disable the man-pages auto-update. Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
1 parent 4bf13ab commit b873564

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/bdd.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Setup Test Pre-Requisites
3030
run: |
3131
sudo sysctl -w vm.nr_hugepages=2560
32+
sudo debconf-communicate <<< "set man-db/auto-update false" || true
33+
sudo dpkg-reconfigure man-db || true
34+
ulimit -c unlimited
3235
sudo apt-get update
3336
sudo apt-get install linux-modules-extra-$(uname -r)
3437
for module in nvme_tcp nbd nvme_rdma; do
@@ -63,11 +66,11 @@ jobs:
6366
with:
6467
name: ci-report-bdd
6568
path: ./ci-report/ci-report.tar.gz
69+
- name: Check Coredumps
70+
run: sudo ./scripts/check-coredumps.sh --since "${TEST_START_DATE}"
6671
- name: Cleanup
6772
if: always()
6873
run: nix-shell --run "./scripts/pytest-tests.sh --clean-all-exit"
69-
- name: Check Coredumps
70-
run: sudo ./scripts/check-coredumps.sh --since "${TEST_START_DATE}"
7174
# debugging
7275
# - name: Setup tmate session
7376
# if: ${{ failure() }}

0 commit comments

Comments
 (0)