Skip to content

Commit

Permalink
Collect setup-ddvm systemd service logs (#23891)
Browse files Browse the repository at this point in the history
* collect setup-ddvm service logs

* move setup-ddvm.log to generic logs directory
  • Loading branch information
usamasaqib authored Mar 20, 2024
1 parent e5bb221 commit 6de4790
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab/kernel_matrix_testing/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,13 @@
- scp "metal_instance:/home/ubuntu/junit-${ARCH}-${TAG}-${TEST_SET}.tar.gz" $DD_AGENT_TESTING_DIR/
- ssh metal_instance "scp ${MICRO_VM_IP}:/ci-visibility/testjson.tar.gz /home/ubuntu/testjson-${ARCH}-${TAG}-${TEST_SET}.tar.gz"
- scp "metal_instance:/home/ubuntu/testjson-${ARCH}-${TAG}-${TEST_SET}.tar.gz" $DD_AGENT_TESTING_DIR/
- mkdir $CI_PROJECT_DIR/logs
- ssh metal_instance "ssh ${MICRO_VM_IP} \"journalctl -u setup-ddvm.service\"" > $CI_PROJECT_DIR/logs/setup-ddvm.log
- cat $CI_PROJECT_DIR/logs/setup-ddvm.log
artifacts:
expire_in: 2 weeks
when: always
paths:
- $DD_AGENT_TESTING_DIR/junit-$ARCH-$TAG-$TEST_SET.tar.gz
- $DD_AGENT_TESTING_DIR/testjson-$ARCH-$TAG-$TEST_SET.tar.gz
- $CI_PROJECT_DIR/logs

0 comments on commit 6de4790

Please sign in to comment.