Skip to content

Commit 0ac6530

Browse files
committed
Retrieve cloud orchestrator log from e2etest running on presubmit
1 parent 836447b commit 0ac6530

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/presubmit.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ jobs:
135135
sudo apt-get install adb
136136
adb devices
137137
- name: Run E2E tests
138+
id: run_e2e_tests
139+
continue-on-error: true
138140
run: |
139141
cd e2etests
140142
# TODO(b/383428636): Running E2E tests in parallel requires enabling
@@ -146,3 +148,6 @@ jobs:
146148
--test_env=CVDR_PATH=$(which cvdr) \
147149
--test_env=CVDR_CONFIG_PATH=$(realpath -s ../scripts/on-premises/single-server/cvdr.toml) \
148150
--test_output=errors
151+
- name: Log of cloud orchestrator
152+
if: ${{ steps.run_e2e_tests.outcome == 'failure' }}
153+
run: docker logs $(docker ps -q --filter ancestor=cuttlefish-cloud-orchestrator)

0 commit comments

Comments
 (0)