Commit Graph

571 Commits

Author SHA1 Message Date
752ec83aa5 fix CLI lint (#106) 2020-10-06 14:37:48 -04:00
f832e93ce4 re-enable AFL fuzzer_stats parsing (#100) 2020-10-06 10:57:07 -04:00
29458c57fb Update CURRENT_VERSION (#104) 1.1.0 2020-10-05 16:12:13 -04:00
383ae1cb26 Build 1.1.0 (#99) 2020-10-05 15:48:59 -04:00
7c1901a139 fix bug stopping templates (#97) 2020-10-03 02:43:47 -04:00
e308a4ae1e refactor node state to fully put the agent in charge (#90) 2020-10-03 02:43:04 -04:00
a088e72299 add onefuzz debug commands to easily get to nodes (#95) 2020-10-03 00:04:20 -04:00
71439adea7 add onefuzz version & scaleset_id to telemetry from agent & supervisor (#94) 2020-10-02 23:57:46 -04:00
2bb6dcbaca fixing input marker expansion in the supervisor task (#87) 2020-10-02 14:34:31 -04:00
93be26bc94 use a semaphore to prevent agent restart during 'done' to reset early (#86) 2020-10-02 14:12:58 -04:00
3b3572d0b3 Updating the default version value (#89) 2020-10-02 13:24:48 -04:00
70c7a9c305 add machine_id to supervisor logs (#85) 2020-10-02 01:32:03 -04:00
a196716e12 only record failures generated prior to stopping (#83) 2020-10-02 01:31:51 -04:00
a529f073a8 pre-create instance-specific-setup directory (#81) 2020-10-02 01:31:31 -04:00
9513a742ca fix --wait_for_running in the templates (#84) 2020-10-02 01:21:03 -04:00
062ff53e2e sleep longer when the service has no tasks to process (#78) 2020-10-02 00:41:22 -04:00
aa48469ad0 Start tasks when they reach setting_up (#82) 2020-10-02 00:40:45 -04:00
5bea635398 handle more ADO integration errors (#80) 2020-10-02 00:40:34 -04:00
3de81b55f8 Transition to Done state on setup error, trigger node reimaging (#24) 2020-10-02 00:27:53 -04:00
f72543dde2 cleanup logging in multiple functions (#73) 2020-10-01 23:31:08 -04:00
8b6ea9f66b mark task as failued if ADO notification fails (#77) 2020-10-01 22:00:08 -04:00
4ce9060dd0 Don't let start-process execute in the background (#76) 2020-10-01 21:41:08 -04:00
ecb4eec469 reading command from the body instead of URI (#72) 2020-10-01 16:34:31 -07:00
b0c82d2036 sleep for 30 seconds before restarting (#71) 2020-10-01 18:07:08 -04:00
51c48453f2 run supervisor/repro in a loop (#70) 2020-10-01 17:18:26 -04:00
4089cbe176 log the TokenData and URL on rejecting tokens (#69) 2020-10-01 16:23:49 -04:00
22ee2975ef slightly trim state update logs (#68) 2020-10-01 15:59:49 -04:00
e234240b36 only set stating to stopping (#64) 2020-10-01 15:37:25 -04:00
3e5fb4ef6f slim down msg (#65) 2020-10-01 15:37:10 -04:00
27a798febe move to warning (#66) 2020-10-01 15:37:01 -04:00
5e3c79efd2 use sc.exe instead of Set-Content (#67) 2020-10-01 15:28:15 -04:00
534d99bb87 Set log levels in Azure Functions by hand for 3rd party libraries (#63) 2020-10-01 14:57:09 -04:00
d2ee7e5e7d make version.localchanges match API logic (#62) 2020-10-01 11:28:58 -04:00
eae0f42938 Remove use of batch in NodeMessages (#60) 2020-10-01 11:14:39 -04:00
ab09cb8ae9 Using a clean flag (#59)
Locally adding `--clean` to the command helps in making a exe w/o caching.
2020-10-01 07:55:14 -04:00
24f43478dd set more detailed version information during builds (#58) 2020-09-30 18:54:25 -04:00
bee23c56e7 Link VMSS nodes and tasks when setting up (#43)
Add a (backwards-compatible) data field to node state update events. Use this to link nodes and tasks as soon as the tasks have been claimed. Add a new task-level `setting_up` state to encode this.
2020-09-29 17:04:58 -07:00
932cf7c44d Adding node assignment to the task entity (#54) 2020-09-29 16:54:17 -07:00
6cef9b1bee Example sdk in azure functions (#56) 2020-09-29 18:06:50 -04:00
a2856141bd fix formatting (#55) 2020-09-29 18:06:35 -04:00
8d77dc325d re-add black to lint stages (#45) 2020-09-29 16:35:41 -04:00
aa9332b2a6 add end-to-end integration testing of fuzzing pipelines (#46) 2020-09-29 16:35:23 -04:00
999d0f0f24 use sccache more consistently (#47)
- Uses actions/cache via `src/ci/rust-prereqs.sh` to cache installing multiple rust prereqs including `cargo-audit` and `sccache`
- Uses actions/cache to cache `src/agent/target` and `src/proxy-manager/target` 

Co-authored-by: Brian Caswell <bmc@shmoo.com>
2020-09-29 13:31:48 -07:00
dbb83e1496 Refactor internal node event schemas (#29) 2020-09-29 13:30:33 -07:00
9dee8f12f0 Update can_schedule check to support node reimaging (#35)
- Include version in `can_schedule` check, expect rich response
- Check if work can be scheduled before claiming
- If work is stopped, claim and drop it
- If node is outdated, don't claim work
2020-09-29 13:21:36 -07:00
5cab62b310 reimage outdated nodes (#33)
* reimage outdated nodes

* import sort, version check

* clear node messages on registration

Co-authored-by: bmc-msft <41130664+bmc-msft@users.noreply.github.com>
2020-09-29 11:59:03 -07:00
35aac1122f adding dev-deploy.ps1 for dev deployment on windows (#40) 2020-09-29 10:48:28 -07:00
d363a22e39 fix deleting repro VMs (#36) 2020-09-29 09:57:52 -04:00
bc9d80e34b add the ability to execute a debug script (#39) 2020-09-29 09:56:53 -04:00
1864e8b6e4 can schedule endpoint (#41)
* can_schedule endpoint

* fixing condition

* sorting imports
2020-09-28 17:50:48 -07:00