We collect must-gather
logs when any of the test case fails. You can download the archive using s3 cli.
For mig-controller PR pipeline :
aws s3 sync s3://mig-ci-build-artifcats-do-not-delete/mig-controller-pr-builder-base/<BUILD_NUMBER>/ ./<DESTINATION_DIR>/
For mig-operator PR pipeline :
aws s3 sync s3://mig-ci-build-artifcats-do-not-delete/mig-operator-pr-builder-base/<BUILD_NUMBER>/ ./<DESTINATION_DIR>/
<BUILD_NUMBER>
can be easily found on the Jenkins log page in the upper left corner.
The mig-ci
build proceeds in different steps. You can try to find details of the step that failed. If it isn't any useful, mig-ci
also displays debug information as a separate step in the build process. This document helps users comprehend that cryptic debug log.
mig-ci-robot
posts a comment on each PR after the build is finished. Navigate to the link posted in the comment. The link takes you to the full build log.
You will be redirected to a dashboard that looks like this :
From the different steps above, select Gather debug info step.
You will see debug information gathered from both Source and Destination clusters during the build :
Click on any of the Debug Source or Debug Destination section to collapse the full text. Following instructions work for both Source and Destination debug information.
The debug output contains logs from various relevant pods. You can search for text Process LOGS
to find the section where logs are printed in the output.
More specifically, you can search for following terms :
- Mig controller logs
- Velero logs
- Operator logs
The debug output also prints images used for the build. Search for Image
or Dump all images
in the log output to find the details of images used during the build.
The debug script takes a snapshot of resources running during the build. You can search for text Print all resources
to find all the resources that were running during the build in openshift-migration
namespace.
You can find (-o yaml) output for different migration resources by searching for following terms in the output :
- migmigration
- migplan
- migstorage
- migcluster