Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

On task setup script failure, tasks should be marked as "failed" and nodes should be re-imaged #13

Closed
bmc-msft opened this issue Sep 21, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bmc-msft
Copy link
Contributor

Information

  • Onefuzz version: 1.0.0
  • OS: Ubuntu 18.04

Provide detailed reproduction steps (if any)

  1. Launch a task with a custom setup script (setup.sh) with a failure (say, 'exit 1')

Expected result

  1. Task state set to failed. Stderr/stdout from the setup script should be added to task.error
  2. Node is appropriately reimaged (/onefuzz/<task_id> no longer exists)

Actual result

  1. Task state is scheduled
  2. Verify /onefuzz/<task_id> on the node the task was assigned
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants