Details
-
Type:
Bug
-
Status: Done
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.0, 3.0.0-report
-
Labels:
-
Environment:3.0.0-build2
-
Story Points:3
-
Backlog:yes
-
Days in progress:0
Description
Steps to reproduce:
- ./demo --enterprise-testing up
- Use Python example client to insert extra pauses.
- Remove pause for ArtifactInstall (not sure if this matters or not).
- Make a rootfs-image deployment, with pauses in ArtifactInstall and ArtifactReboot.
The installation fails, but it should have paused instead. Using debug mode for the client, these two lines look quite suspicious:
2021-07-07 12:11:01 +0000 UTC debug: Querying Update Control maps. Currently active maps: '[ID: 886404f9-eb65-464f-b6d4-f7b3f945db61 Priority: 0
States: map[ArtifactInstall_Enter:{pause fail pause} ArtifactReboot_Enter:{pause fail pause}] ID: 01234567-89ab-cdef-0123-456789abcdef Priority: -1
States: map[ArtifactCommit_Enter:{pause fail pause} ArtifactReboot_Enter:{pause fail pause}]]'
2021-07-07 12:11:01 +0000 UTC debug: Returning action "fail"
Since all the actions (the first member) are "pause", why does it return "fail"?