rtyler / otto

Otto is your friendly continuous delivery companion.
GNU Affero General Public License v3.0
80 stars 5 forks source link

Failing steps not terminating the pipeline properly #51

Closed rtyler closed 3 years ago

rtyler commented 3 years ago
14:27:17 orchestrator   | StepOutput { symbol: "sh", uuid: a17f161a-aeb2-45b3-a0b5-25e5f809505a, buffer: "+ pwd", stream: Stdout }
14:27:17 orchestrator   | StepOutput { symbol: "sh", uuid: a17f161a-aeb2-45b3-a0b5-25e5f809505a, buffer: "/home/tyler/source/git/otto/agent-work/a5b94ce8-f937-4b65-ba42-a56674945f90", stream: Stdout }
14:27:17 orchestrator   | StepEnd { symbol: "sh", uuid: a17f161a-aeb2-45b3-a0b5-25e5f809505a }
14:27:17 orchestrator   | StepStart { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0 }
14:27:17 orchestrator   | StepOutput { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0, buffer: "Fetching updates for \"/home/tyler/source/git/otto/agent-work/caches/9b568e2c73105d682089f202f89c720e70b906d4cd290da8e671bcacadbedb5e\" - [\"main\"]", stream: Stdout }
14:27:17 orchestrator   | StepOutput { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0, buffer: "Cloning /home/tyler/source/git/otto/agent-work/caches/9b568e2c73105d682089f202f89c720e70b906d4cd290da8e671bcacadbedb5e into \".\"", stream: Stdout }
14:27:17 orchestrator   | StepOutput { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0, buffer: "thread \'main\' panicked at \'failed to clone /home/tyler/source/git/otto/agent-work/caches/9b568e2c73105d682089f202f89c720e70b906d4cd290da8e671bcacadbedb5e to \".\": \'.\' exists and is not an empty directory; class=Invalid (3); code=Exists (-4)\', stdlib/git/src/main.rs:67:19", stream: Stdout }
14:27:17 orchestrator   | StepOutput { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0, buffer: "note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace", stream: Stdout }
14:27:17 orchestrator   | StepEnd { symbol: "git", uuid: 06b99892-2b76-4e2d-b275-3e24fabb88d0 }
14:27:17 orchestrator   | INFO  otto_agent                    > Step was not successful, exiting the runloop
14:27:17 orchestrator   | DEBUG otto_local_orchestrator > Context succeeded, continuing

Basically, the context should not be considered "succeeding"