Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH job logs missing upgrade failure diagnostic #124

Open
turadg opened this issue Mar 8, 2024 · 0 comments
Open

GH job logs missing upgrade failure diagnostic #124

turadg opened this issue Mar 8, 2024 · 0 comments

Comments

@turadg
Copy link
Member

turadg commented Mar 8, 2024

Problem to be solved

#122 added some plan name diagnostics.

They appear in remote and local build output:

 => ERROR [execute-upgrade-14-rc1 7/7] RUN ./run_execute.sh agorictest-upgrade-14-rc1                                                                                                                               0.3s
------
 > [execute-upgrade-14-rc1 7/7] RUN ./run_execute.sh agorictest-upgrade-14-rc1:
0.066
0.066  _______ _     _ _______ _______ _     _ _______ _______
0.066  |______  \___/  |______ |       |     |    |    |______
0.066  |______ _/   \_ |______ |_____  |_____|    |    |______
0.066
0.066  _     _  _____   ______  ______ _______ ______  _______
0.066  |     | |_____] |  ____ |_____/ |_____| |     \ |______
0.066  |_____| |       |_____| |    \_ |     | |_____/ |______
0.066
0.066 Execute the upgrade in consensus
0.066 ENV_SETUP starting
0.282 ENV_SETUP finished
0.304 FAIL: Upgrade plan name agorictest-upgrade-14 does not match the expected value agorictest-upgrade-14-rc1

But they aren't showing up in the GH action runner logs:

#1973 [use-upgrade-14-rc1 linux/arm64 execute-upgrade-14-rc1 7/7] RUN ./run_execute.sh agorictest-upgrade-14-rc1
#0 0.137 
#0 0.137  _______ _     _ _______ _______ _     _ _______ _______
#0 0.137  |______  \___/  |______ |       |     |    |    |______
#0 0.137  |______ _/   \_ |______ |_____  |_____|    |    |______
#0 0.137 
#0 0.137  _     _  _____   ______  ______ _______ ______  _______
#0 0.137  |     | |_____] |  ____ |_____/ |_____| |     \ |______
#0 0.137  |_____| |       |_____| |    \_ |     | |_____/ |______
#0 0.137 
#0 0.137 Execute the upgrade in consensus
#1973 0.137 ENV_SETUP starting
#1973 ...
#1971 [use-upgrade-14-rc1 linux/amd64 execute-upgrade-14-rc1 7/7] RUN ./run_execute.sh agorictest-upgrade-14-rc1
#1971 ERROR: process "/bin/bash -c ./run_execute.sh agorictest-upgrade-14-rc1" did not complete successfully: exit code: 1
#936 [use-upgrade-14-rc1 prepare-upgrade-8 1/4] FROM ghcr.io/agoric/ag0:agoric-upgrade-7-2@sha256:4401fa46f255f633ab9f2fe024cb96829e8e701e719f1acd371bb337eb25203c
time="2024-03-08T15:41:41Z" level=warning msg="No output specified for use-lo-bundle-cost, use-smart-wallet-nft, use-upgrade-14-rc1, use-upgrade-8, use-upgrade-12, use-upgrade-10, use-kread-start, use-upgrade-11, use-upgrade-14-rc0, use-crabble-start, use-upgrade-13, use-upgrade-9, use-statom-vaults target(s) with depot driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load"

Build Summary: https://depot.dev/orgs/gtcxrhgg4x/projects/bqgtmlhmh8/builds/l84q1nzvwj
Error: failed to solve: process "/bin/bash -c ./run_execute.sh agorictest-upgrade-14-rc1" did not complete successfully: exit code: 1
Error: failed with: Error: failed to solve: process "/bin/bash -c ./run_execute.sh agorictest-upgrade-14-rc1" did not complete successfully: exit code: 1

Workaround

For GH builds, check the Depot build logs for failed steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant