Skip to content

When an instance of uptimer's pushability measurement fails it should continue to delete the pushed app #20

Open
@sunjayBhatia

Description

@sunjayBhatia

When uptimer is targeting a foundation that cf push fails consistently on, it does not clean up the pushability measurement app that it pushed.

The cmdRunner.RunInSequenceWithContext method will return early if any of the commands to run fail. This is problematic for the pushability measurement because it can leave applications around in the pushability measurement org/space that fill up the quota and prevent further apps from being pushed.

For example, we had a deployment recently where uptimer failed to push an app 17 times, however the last 7 of these failed with You have exceeded your organization's memory limit: app requested more memory than available. We expected that all 17 failures would be the same failure reason as the first 10 failures.

This could be fixed by always running all commands in cmdRunner. RunInSequenceWithContext and collecting errors, though this might break other measurements/cause a bad UX. It would be preferable if the pushability measurement had a cleanup command that always ran to delete the pushed app instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Waiting on feedback

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions