The pipeline is getting failed and not able to identify where exactly it is getting failed
nandan-dm opened this issue · comments
Hi The jx pipeline most of the time keeps on failing and I am not able to see the logs of the pod because it gets terminated once the pod execution is done
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container place-tools | ||||
---|---|---|---|---|
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-init | ||||
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container place-scripts | ||||
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container working-dir-initializer | ||||
3s | Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-git-clone | |||
2s | Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-git-merge | |||
4s | Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-jx-variables | |||
1m29s | Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-yarn-install | |||
3m9s | Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-typecheck-test-lint | |||
unable to retrieve container logs for containerd://56c3b24fc2a353718e08a4c91860f214ebc84fb6251d5e91705a59e48d2c7222 | ||||
Pipeline failed on stage 'test-and-lint' : container 'step-typecheck-test-lint'. The execution of the pipeline has stopped. |
Toggle Steps View raw logs Download raw logs
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container place-tools
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-init
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container place-scripts
Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container working-dir-initializer
3s Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-git-clone
2s Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-git-merge
4s Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-jx-variables
1m29s Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-yarn-install
3m9s Showing logs for build targetau/tonline-shop/pr-936 #1 stage test-and-lint and container step-typecheck-test-lint
unable to retrieve container logs for containerd://56c3b24fc2a353718e08a4c91860f214ebc84fb6251d5e91705a59e48d2c7222
Pipeline failed on stage 'test-and-lint' : container 'step-typecheck-test-lint'. The execution of the pipeline has stopped.
![image](https://private-user-images.githubusercontent.com/129483254/258299391-d55b4b9c-9a34-406c-a439-918e0e9daa5d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNTU2MTAsIm5iZiI6MTcyMzM1NTMxMCwicGF0aCI6Ii8xMjk0ODMyNTQvMjU4Mjk5MzkxLWQ1NWI0YjljLTlhMzQtNDA2Yy1hNDM5LTkxOGUwZTlkYWE1ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMVQwNTQ4MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYWM4MGVhMDUwM2E3MjY2NGFkZjkwNGE4ZGUzMDI2ODMzM2M1NmNlYjE4MzI5ODViODVmZTU4Yzg2N2Q0YWFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.svImzLxg7hI98LuoZs_Y-gA8bnv2J-qM5RyTLnNWszA)
If the pod fails and it or its logs disappear from Kubernetes before the logs have been persisted this is what you see. So you need to find out wha happened to the pod. Maybe you have prometheus mertrics you can look at.