1894 Commits

Author SHA1 Message Date
bmc-msft
4cd2de0e93
Update azure-cli & azure-cli-core (#596) 2021-02-26 09:19:25 -05:00
bmc-msft
daef1637f8
update jinja2 (#595) 2021-02-26 09:19:10 -05:00
Joe Ranweiler
a3fa5f6b62
Update onefuzz-agent unit tests (#592) 2021-02-24 20:54:36 -05:00
Joe Ranweiler
ed86bb0099
Use non-deprecated atomic method (#593) 2021-02-24 17:41:24 -05:00
bmc-msft
fb482e357e
don't schedule work to a node if the scaleset or pool is shutting down (#583) 2021-02-23 13:33:41 -05:00
bmc-msft
e7fe099f25
handle delayed AAD resources in deployments (#585) 2021-02-22 19:40:07 -05:00
bmc-msft
cebb84b9e7
handle error condition when creating a container that is being deleted (#582)
When users try to create a container immediately after deleting it, Azure will fail saying the deletion is in-progress.

catching ResourceExistsError during create handles this error.
2021-02-22 01:49:07 +00:00
bmc-msft
feb80ecb54
allow nodes with multiple tasks to continue on task stop (#567)
As is, when multiple tasks are running on a single node, if any one of them stops, the node gets reimaged.

This changes the behavior such that when a node with multiple tasks has one task stop, the other tasks will continue.
2021-02-19 23:54:26 +00:00
bmc-msft
6ba5795f36
update proxy port ranges to avoid current blocks (#552) 2021-02-19 17:50:09 -05:00
bmc-msft
4de19ffe5e
stop jobs that do not start within 30 days (#565)
If a job does not start within 30 days, stop the job and mark all of the tasks as `failed`.
2021-02-19 21:23:35 +00:00
bmc-msft
305c23a4d9
add instance information to webhooks (#577)
Fixes #574
2021-02-19 21:00:51 +00:00
bmc-msft
8ce4638b8a
clarify scaleset logging (#568) 2021-02-19 19:36:16 +00:00
bmc-msft
4992b494f1
add task config to all task events (#580) 2021-02-19 14:10:48 -05:00
bmc-msft
872a5ddc14
add details to exceptions generated during report render failures (#576) 2021-02-19 13:48:49 -05:00
bmc-msft
3a7bc95316
import local relative paths (#579) 2021-02-19 12:29:35 -05:00
bmc-msft
cc5965ebbf
add .gitignore to ignore libfuzzer-dotnet build artifacts (#564) 2021-02-19 09:32:26 +00:00
bmc-msft
657af9722c
coverage containers should be unique to the project/name/build/platform (#572) 2021-02-18 17:07:44 -05:00
bmc-msft
929d9ce496
make user triggered reimaging happen immediately (#566) 2021-02-18 14:08:25 -05:00
bmc-msft
279629292f
handle SkuNotAvailable errors when creating VM Scalesets (#557) 2021-02-17 16:52:37 -05:00
bmc-msft
89d7f060dd
make missing symbols for coverage tasks more explicit (#554)
This moves from:

```
"Error: coverage extraction from C:\users\bcaswell\projects\bugs\andrew-coverage-fail\setup\oft-setup-5c77cfe1b181520ab0b33a16286a690a\fuzz.exe failed when processing file "11f6ad8ec52a2984abaafd7c3b516503785c2072".  target appears to be missing sancov instrumentation",
```

To even more explicit:
```
Error: Target appears to be missing sancov instrumentation.  This error can happen due to missing coverage symbols.
target_exe: C:\users\bcaswell\projects\bugs\andrew-coverage-fail\setup\oft-setup-5c77cfe1b181520ab0b33a16286a690a\fuzz.exe
input: "11f6ad8ec52a2984abaafd7c3b516503785c2072"
debugger stdout:
...
[+] disabling sympath
[+] processing fuzz.exe
[+] no tables  fuzz.exe
[+] processing C:\WINDOWS\SYSTEM32\kernel.appcore.dll
[+] no tables  C:\WINDOWS\SYSTEM32\kernel.appcore.dll
[+] processing C:\WINDOWS\System32\KERNELBASE.dll
[+] no tables  C:\WINDOWS\System32\KERNELBASE.dll
[+] processing C:\WINDOWS\System32\RPCRT4.dll
[+] no tables  C:\WINDOWS\System32\RPCRT4.dll
[+] processing C:\WINDOWS\System32\msvcrt.dll
[+] no tables  C:\WINDOWS\System32\msvcrt.dll
[+] processing C:\WINDOWS\System32\KERNEL32.DLL
[+] no tables  C:\WINDOWS\System32\KERNEL32.DLL
[+] processing ntdll.dll
[+] no tables  ntdll.dll
Error: unable to find sancov counter symbols [at DumpCounters (line 114 col 9)]
...
```
2021-02-17 16:34:09 +00:00
bmc-msft
ce47e4924a
add status job commands (#550) 2021-02-16 13:47:57 -05:00
bmc-msft
c160088998
expose input_blob fields needed to generate crash reports (#551) 2021-02-16 13:16:54 -05:00
bmc-msft
f64a0dcc05
lint integration-test.py (#549) 2021-02-16 12:22:45 -05:00
bmc-msft
e9b67952e3
update 3rd-party rust dependencies (#548) 2021-02-16 11:11:20 -05:00
bmc-msft
933fe6850c
libfuzzer-dotnet integration (#535) 2021-02-11 17:30:24 -05:00
bmc-msft
360693e8a4
move verbose to debug to align with log and opentelemetry (#541) 2021-02-11 16:49:27 -05:00
bmc-msft
a3d73a240d
report the total coverage after processing all inputs in local mode (#537) 2021-02-11 19:34:09 +00:00
bmc-msft
1e536c54d3
update error message when coverage extraction fails (#539) 2021-02-11 14:18:49 -05:00
bmc-msft
18d9daf909
Enable waiting for a job to start for managed templates (#532)
Provide `--wait_for_running` for managed templates.
2021-02-11 08:34:28 +00:00
bmc-msft
f8046934e9
add roles to agent & supervisor (#527) 2021-02-10 20:56:22 +00:00
bmc-msft
bdcab6eb08
handle tokens from x-ms-token-aad-id-token (#531) 2021-02-10 12:41:15 -05:00
bmc-msft
4facaacfd4
Fix wait_for_running for templates (#530) 2021-02-09 22:13:26 -05:00
bmc-msft
4900b5a920
check libfuzzer -help=1 prior to starting the heartbeat (#528) 2021-02-09 21:20:36 -05:00
bmc-msft
af447898d8
set SignalR transport (#525) 2021-02-09 19:28:37 -05:00
bmc-msft
6d4f45679f
allow for more coverage data in total (#519) 2021-02-09 16:47:38 -05:00
bmc-msft
8ee7fae240
use the cached Azure Identity instance for storage operations (#526) 2021-02-09 12:20:12 -05:00
bmc-msft
91a3690551
fix logging to show corpus accounts found, not a function ref (#524) 2021-02-09 11:55:52 -05:00
bmc-msft
c9455fdfa5
add logging to generic analysis task (#522) 2021-02-08 18:39:39 -05:00
bmc-msft
5114332ea0
clarify proxy log messages (#520) 2021-02-08 17:39:26 -05:00
bmc-msft
8c9f65c0be
add missing scaleset nodes (#518) 2021-02-08 13:50:08 -05:00
bmc-msft
19655b50ae
update rust prereqs (#517) 2021-02-08 12:17:25 -05:00
bmc-msft
fd995718c8
standardize on unix file endings (#516)
The majority of our source files have `\n` line endings.  This updates the few files that use `\r\n` to use `\n`.
2021-02-06 14:14:26 +00:00
Jason Shirk
be23e19cd6
Fix potential race while single stepping (#440)
When debugging multithreaded targets, there was a potential race in
handling a breakpoint where thread A hits a breakpoint while thread B is
single stepping to the breakpoint.

The fix is, when single stepping, to resume a single thread instead of
all threads that are single stepping.

The step out functionality has also been removed from this layer in part
to keep things simple here. Clients can implement their own step out
logic if needed.
2021-02-05 14:17:50 -08:00
bmc-msft
1d74379a70
use the primitive types in more places (#514) 2021-02-05 13:10:37 -05:00
bmc-msft
51f4eea069
update nodes and scalesets in a consistent order (#512) 2021-02-05 12:51:38 -05:00
bmc-msft
e3dfcb8b95
Scalesets that are about to be deleted don't need updated configs (#511) 2021-02-05 09:53:29 -05:00
bmc-msft
3cb055d331
clarify message upon service & agent version mismatch (#510) 2021-02-04 19:58:45 -05:00
bmc-msft
a02e084522
split out node, scaleset, and pool code (#507) 2021-02-04 19:07:49 -05:00
bmc-msft
c5bb0f0588
Update Proxy heartbeat & logging (#502) 2021-02-04 15:38:17 -05:00
bmc-msft
4abfbeca56
mark connection refused errors as an ephemeral error (#506) 2021-02-04 15:27:27 -05:00