You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run cmgr playtest <problem>, you get a very hard-to-understand message:
error creating build: aborting because no build image identified picoctf/18739f24/image-forensics/1
After enabling debug it became more clear what the problem was: somehow the image got tagged as "picoctf/18739f24/image-forensics/1-base", so the run failed.
If you name any build stage (such as base), then cmgr assumes that you will name the rest of your build stages (either with specific host names which are then # LAUNCHed, or with one having the explicit name challenge which will be implicitly launched).
On the other hand, if no stages are named (other than potentially builder), then it assumes that the final unnamed stage should be built and launched as an image/host named challenge.
I agree this is very confusing behavior. We can probably at least output a better error message if neither of those conditions are met.
Just debugged a challenge where a student wrote:
When you run
cmgr playtest <problem>
, you get a very hard-to-understand message:After enabling debug it became more clear what the problem was: somehow the image got tagged as "picoctf/18739f24/image-forensics/1-base", so the run failed.
Figured this out with gdb.
The text was updated successfully, but these errors were encountered: