Skip to content

Commit f276d34

Browse files
committed
XXX: debug
Signed-off-by: Stefan Kober <stefan.kober@cyberus-technology.de> On-behalf-of: SAP stefan.kober@sap.com
1 parent 3e25fc0 commit f276d34

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/qa.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,21 @@ jobs:
2020
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
2121
- name: Build
2222
run: |
23-
nix build -Lv --option max-jobs 2 --option cores 4 .#tests.x86_64-linux.openstack-default-setup.driver
23+
set -euxo pipefail
24+
nix build -Lv --show-trace \
25+
--option max-jobs 1 \
26+
--option cores 4 \
27+
.#tests.x86_64-linux.openstack-default-setup.driver &
28+
nix_pid=$!
29+
30+
while kill -0 "$nix_pid" 2>/dev/null; do
31+
echo "=== $(date -Is) process snapshot ==="
32+
ps -eo pid,ppid,stat,etime,pcpu,pmem,args \
33+
| egrep 'nix|gcc|cc1|ld|make|uwsgi|python|systemd|bash' \
34+
| grep -v egrep || true
35+
sleep 60
36+
done
37+
wait "$nix_pid"
2438
- name: Basic setup
2539
run: |
2640
nix run .#tests.x86_64-linux.openstack-default-setup.driver

0 commit comments

Comments
 (0)