File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,10 +230,19 @@ jobs:
230230 echo "ci_summary.txt not found" >> $GITHUB_STEP_SUMMARY
231231 fi
232232
233- - name : Upload Logs
233+ - name : Collect Docker container logs
234234 if : always()
235- uses : actions/upload-artifact@v7
235+ working-directory : ${{ env.WORKING_DIR }}
236+ run : |
237+ mkdir -p logs
238+ for container in $(docker ps -q); do
239+ container_name=$(docker inspect --format='{{.Name}}' $container | sed 's/^\///')
240+ docker logs $container > "logs/${container_name}.log" 2>&1
241+ done
242+
243+ - name : Upload logs
244+ if : always()
245+ uses : actions/upload-artifact@v4
236246 with :
237247 name : container-logs-smoke-${{ job.check_run_id }}
238- path : ${{ env.LOGS_DIR }}
239- retention-days : 3
248+ path : ${{ env.LOGS_DIR }}
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ permissions:
1313 contents : read
1414
1515jobs :
16- # CREcluster compatibility and upgrade test
17- # TODO
18-
1916 # Data Feeds v1 upgrade test
2017 # this verifies that all the versions existing in RANE SOT for Data Feeds v1 can be upgraded to the latest version
2118 # TODO: disabled for now until we have connectivity
3330 # no-git-rollback: true
3431 # working-directory: "devenv"
3532 # logs-directory: "./devenv/tests/ocr2/logs"
36- # ctf-log-level: "info"
33+ # ctf-log-level: "debug" # trace, debug, info
3734 # strip-image-suffix: "v"
3835 # secrets: inherit
3936
6360 # directory with your developer environment to run buildcmd and envcmd
6461 working-directory : " devenv"
6562 # directory for executing your tests, to run testcmd
66- logs-directory : " ./devenv/tests/ocr2/ logs"
63+ logs-directory : " ./devenv/logs"
6764 # CTF log level
68- ctf-log-level : " info "
65+ ctf-log-level : " debug "
6966 # this is needed to remove 'v' from Git tags to match SDLC ECR tags
7067 strip-image-suffix : " v"
7168 secrets : inherit
9592 # directory for executing your tests, to run testcmd
9693 logs-directory : " ./system-tests/tests/smoke/cre/logs"
9794 # CTF log level
98- ctf-log-level : " info "
95+ ctf-log-level : " debug "
9996 # this is needed to remove 'v' from Git tags to match SDLC ECR tags
10097 strip-image-suffix : " v"
10198 secrets : inherit
Original file line number Diff line number Diff line change @@ -354,10 +354,10 @@ jobs:
354354 path : devenv/tests/${{ matrix.tests_dir }}/logs
355355 retention-days : 3
356356
357- - name : Upload DF1 soak alloc. pprof
357+ - name : Upload Go pprof
358358 if : always()
359359 uses : actions/upload-artifact@v7
360360 with :
361- name : alloc.pprof
361+ name : alloc.pprof-${{ job.check_run_id }}
362362 path : devenv/tests/${{ matrix.tests_dir }}/alloc.pprof
363363 retention-days : 7
Original file line number Diff line number Diff line change 4141 exclude-refs : " ccip"
4242 working-directory : " devenv"
4343 logs-directory : " ./devenv/tests/ocr2/logs"
44- ctf-log-level : " info "
44+ ctf-log-level : " debug "
4545 strip-image-suffix : " v"
4646 secrets : inherit
4747
6161 exclude-refs : " ccip"
6262 working-directory : " ./system-tests/tests"
6363 logs-directory : " ./system-tests/tests/smoke/cre/logs"
64- ctf-log-level : " info "
64+ ctf-log-level : " debug "
6565 strip-image-suffix : " v"
6666 secrets : inherit
You can’t perform that action at this time.
0 commit comments