hashicorp / waypoint

A tool to build, deploy, and release any application on any platform.
https://waypointproject.io
Other
4.76k stars 327 forks source link

Waypoint Remote Runner Returning Error Code (1) #3374

Open zenchild opened 2 years ago

zenchild commented 2 years ago

NOTE: This is also logged in the discussions

Describe the bug We just started receiving an error today after our Server updated to 0.8.2. We have Github Actions in place that build our code on waypoint runners and they are now coming back with a return code of "1" instead of "0," causing the Github Action to fail.

Steps to Reproduce If I run waypoint locally with a waypoint up and do an echo $? afterward, it is "0."

If I run it remotely like, waypoint up -local=false -remote-source="ref=develop" and do an echo $? afterward, it is "1."

Please include any waypoint.hcl files if applicable, as well as a GitHub Gist of any relevant logs or steps to reproduce the bug. Running waypoint commands with -v up to -vvv will include any additional debugging info in the log.

Expected behavior Running waypoint remotely should return a "0" instead of a "1"

Waypoint Platform Versions Additional version and platform information to help triage the issue if applicable:

Additional context

paladin-devops commented 2 years ago

Hey @zenchild, thanks for opening this issue! Could you provide a few more things for troubleshooting?

zenchild commented 2 years ago

Sorry all. I've been slammed this week. Will try and get these soon. We have a really sad work-around of just doing a || echo "Done" after the remote command 🤣

zenchild commented 2 years ago

Sorry it's taken so long to get these rounded up. I've included:

evanphx commented 2 years ago

Hi @zenchild,

During discussion we were trying to figure out a way to reproduce the issue, since we'll need that to get the bottom of it. Do you have a reproduction you can share with us to, at minimum the waypoint.hcl file.

Thanks!

zenchild commented 2 years ago

@evanphx, Here is an example waypoint.hcl file. We are seeing this in all of our waypoint deployments though. The common items: