Joe Ranweiler
ecc099203b
Add Cobertura XML output to src-cov
example binary ( #2334 )
2022-09-01 12:10:30 -07:00
Cheick Keita
b737dcd98a
Remove the max_elapsed_time limit from az_copy ( #2332 )
...
* Remove the max_elapsed_time limit from az_copy
The code still relies on the number of retry to limit the requests
* add MAX_FAILURE_COUNT and MAX_RETRY_COUNT
2022-09-01 00:51:59 +00:00
George Pollard
f7e37355d0
Remove IDisposable from Creds ( #2327 )
2022-08-31 22:51:06 +00:00
George Pollard
366b671942
Cache InstanceConfig ( #2329 )
2022-08-31 22:30:38 +00:00
Teo Voinea
d711172ed7
Add scriban dependency and some template tests ( #2330 )
...
* Add scriban dependency and some template tests
* Resolve
* Missed force-evaluate
* fmt
2022-08-31 13:21:22 -04:00
Noah McGregor Harper
0c88116a0d
Added deploy.py
flags onefuzz_app_id
and auto_create_cli_app
to allow custom app registrations. ( #2305 )
...
* Update Deployment Params to use custom CLI
* Adding failure mode if app id not found.
* Formatting.
* Fixing path.
* Cleaning up condition path.
* Update param name.
* Adding identiy assignment.
* Adding correct identity.
* FIxing app role assignment.
2022-08-30 22:05:44 -07:00
George Pollard
8b31dfe4ef
Update deploy to set all settings at once ( #2325 )
2022-08-30 23:34:35 +00:00
Stas
8d23df328d
bump nuget packages ( #2321 )
...
Co-authored-by: stas <statis@microsoft.com>
2022-08-30 13:58:07 -07:00
Stas
ea4d589abf
Functional tests ( #2317 )
...
* more functional tests
* more tests
* bug fixes
* OneFuzz results do not map one to one with datastructures. So add support for multiple datastructures to be returned per API
* more tests
* format fixes
Co-authored-by: stas <statis@microsoft.com>
2022-08-30 12:26:06 -07:00
Stas
9ecc383981
trying to fix python break ( #2319 )
...
Co-authored-by: stas <statis@microsoft.com>
2022-08-30 11:47:45 -07:00
George Pollard
63c54193a9
Enable AppInsights dependency tracking ( #2315 )
2022-08-30 16:35:35 +12:00
George Pollard
ef434db201
Fix ServiceConfiguration.OneFuzzVersion ( #2316 )
2022-08-30 00:08:56 +00:00
Stas
5a8aa33af1
functional tests and bug fixes ( #2301 )
...
Co-authored-by: stas <statis@microsoft.com>
2022-08-29 09:33:15 -07:00
George Pollard
ae6df1e22f
Create tables on startup ( #2309 )
2022-08-29 15:12:19 +12:00
Noah McGregor Harper
163e324227
Specifying initial size for scaleset create in integration-tests. ( #2307 )
...
* Specifying initial size for scaleset create in integration-tests.
* Spell check.
2022-08-26 16:09:36 -07:00
Cheick Keita
c94ae0bbb6
log the work item id when notifying ado ( #2291 )
...
* log the work item id when notifying ado
* format
* refactoring
* fix build
* fix
* format
2022-08-26 19:08:31 +00:00
Cheick Keita
55a29cf1cd
added some logging ( #2303 )
2022-08-26 18:06:31 +00:00
Noah McGregor Harper
dcb706fa6a
Changing CLI Scaleset size
parameter to max_size
. ( #2293 )
...
* Changing size parameter to max_size.
* Adding default param for clarity.
* FIxing param
* Setting size to 1.
* Adding comment.
* Trailing white spaces.
* Adding initialized_size param.
* Using initialized_at.
* Changing variable name.
2022-08-26 09:57:51 -07:00
George Pollard
d213eac44e
Implement negotiate
function ( #2183 )
2022-08-26 02:59:31 +00:00
Noah McGregor Harper
d615fccd6d
Fixing set_admins.py Script. ( #2300 )
...
* Fixing set_admins.
* Moving set_admins to another directory.
* Fixing imports.
2022-08-25 15:00:42 -07:00
Stas
c7e7fa1d27
Port autoscaling to C# ( #2296 )
...
Co-authored-by: stas <statis@microsoft.com>
2022-08-25 13:13:24 -07:00
Cheick Keita
1a63f195f3
porting the proxy state machine ( #2286 )
...
* porting the proxy state machine
* use async version
* is used
* rename base state to state
* fix auth
fix extension path
* ignore log info in check logs
2022-08-25 19:42:01 +00:00
Cheick Keita
c3c9e0d942
fix function name ( #2282 )
2022-08-25 03:27:36 +00:00
George Pollard
e263b245f5
Add --use_dotnet_agent_functions
to deploy.py
and Python service ( #2292 )
2022-08-25 11:50:01 +12:00
Teo Voinea
0133b3e42f
Include serialization options when sending event message ( #2290 )
2022-08-24 19:42:34 +00:00
Cheick Keita
39e22b060a
Only save the job once when creating it ( #2289 )
...
* Convert exception to warning
* don't save job before creating the log container
* same as the python code
* test fix
* format
* format
* don't schedule the task if the log container is missing
2022-08-24 10:19:18 -07:00
George Pollard
21a4231912
Fix NullReferenceException in CreateQueue ( #2283 )
2022-08-22 23:21:56 +00:00
George Pollard
cddaed1bf1
Update Rust azure_* crates ( #2266 )
2022-08-23 10:45:47 +12:00
dependabot[bot]
f92d207dd4
Bump nix from 0.23.0 to 0.25.0 (and pete, ctrlc) ( #2270 )
...
* Bump nix from 0.23.0 to 0.25.0 in /src/agent
* Bump ctrlc from 3.2 (3.2.1 lockfile) to 3.2.3
* Bump pete from 0.8 to 0.9
2022-08-22 21:12:30 +00:00
Cheick Keita
dc3ab3d95a
Clone the JsonSerilizerOption instead of modifying it ( #2280 )
2022-08-22 11:01:34 -07:00
Justin Moore
d83723b8ae
Properly compare job/task state enums ( #2004 )
2022-08-22 16:36:56 +12:00
Cheick Keita
e22164ae8d
Increase the size of the output collected from the worker ( #2166 )
...
* [DEBUG] TEsting az_copy behavior
- increased the size of the buffer used to collect the onfuzz task output
- removed the deletion of the azcopy logs
* formatting
* build fix
* fix unit tests
* reverting the temp folder change
Co-authored-by: George Pollard <gpollard@microsoft.com>
2022-08-19 19:11:58 +00:00
Cheick Keita
6cb7e7e24a
Make EntityConverter singleton ( #2267 )
...
* Make the EntityConverter a singleton
* Make the EntityConverter a singleton
* format
* fix tests
2022-08-19 18:57:19 +00:00
Joe Ranweiler
ad0756f47c
Ignore info advisory ( #2276 )
2022-08-19 11:13:47 -07:00
Teo Voinea
ac54c576ae
Provide a default for settings ( #2269 )
2022-08-18 15:23:47 -04:00
Cheick Keita
e74671bcc4
fix pool comparison in the scheduler ( #2260 )
...
* fix pool comparison in the scheduler
* format
2022-08-18 01:49:09 +00:00
Noah McGregor Harper
f134c0f122
Enabling csharp webhook and proxy heartbeat functions ( #2263 )
...
* Enabling csharp webhook and proxy heartbeat trigger
* Adding deploy exemption.
* Fixing queue table.
* Adding function to bicep.
* Renaming function.
2022-08-17 16:29:47 -07:00
Noah McGregor Harper
f5b647ef1b
Fixing Scaleset State Check. ( #2265 )
2022-08-17 15:39:02 -07:00
Teo Voinea
24c4219949
Port auto scale scaleset shutdown bug fix to csharp ( #2262 )
...
* Checkpoint
* Merge main
* Implement the bug fix + some missing functionality in C#
* Test fix
2022-08-17 19:33:56 +00:00
Noah McGregor Harper
fdd16df847
Autoscale Table Synces Current Scaleset Settings ( #2255 )
...
* Autoscale Table Syncs Current Scaleset Settings.
* Fixing formatting.
* Fixing lint.
* Remove white space.
* Adding default check.
* Formatting.
* Fix.
* Fixing import.
* Fixing ref.
* Trying regular save.
* using self.
* Trying to fix lint.
* Fixing args.
* Fixed.
* Adding function call.
* Reformat.
* Formatting.
* trying again.
* FIxing profile call.
* Fixing type.
* Fixing type.
* Fixing format.
* Fixing typing.
* Fixing.
* Fixing function call
* Getting rid of length check.
* Getting rid of length check.
* Ready for review.
* Formatting.
* Removing bad change.
2022-08-17 10:41:48 -07:00
George Pollard
d1bfaefd0d
Implement scaleset
function for C# ( #2191 )
...
Implements #2194
2022-08-17 15:00:57 +12:00
George Pollard
a3f1d59f70
Set autocrlf by default, update affected files ( #2261 )
2022-08-17 13:07:20 +12:00
Cheick Keita
2382ce5ca5
migrate webhooks ( #2254 )
...
* migrate webhooks
* webhook_logs and webhook_ping
* fix saving uri to db
* fix tests
* fix deploy.py
2022-08-16 12:20:16 -07:00
Cheick Keita
643e61e0fd
fix deploy.py ( #2258 )
2022-08-16 10:51:18 -07:00
Stas
8738ef0044
timer workers fix up ( #2257 )
...
* timer workers fix up
* remove unused includes
* revert breaking changes
* update autoscale definition
Co-authored-by: stas <statis@microsoft.com>
2022-08-15 20:20:46 -07:00
Stas
90d3ec987b
Port TimerWorkers to C# ( #2235 )
...
* Port TimerWorkers to C#
* test logs
* ..
* Some VMSS extensions have settings as null
* fix for
Cannot set DoNotRunExtensionsOnOverprovisionedVMs to true on Virtual Machine Scale Set which does not have overprovision enabled.
Co-authored-by: stas <statis@microsoft.com>
2022-08-15 16:54:48 -07:00
Joe Ranweiler
32659fe026
Add generic dotnet_crash_report
task ( #2250 )
2022-08-15 12:56:45 -07:00
Cheick Keita
b4a3905495
Convert the remaining events to the C# ( #2253 )
...
Added a new attribute to associate the enum to the event class
2022-08-15 12:05:04 -07:00
Stas
15d92cad52
Retry on "No connection could be made because target machine actively… ( #2252 )
...
* Retry on "No connection could be made because target machine actively refused it" when connecting debugger using create_and_connect command
* limit number of retries
Co-authored-by: stas <statis@microsoft.com>
2022-08-15 09:24:26 -07:00
Teo Voinea
ef0367cb7a
Make log sinks a singleton ( #2247 )
...
* Make log sinks a singleton, continue passing new log tracer for every invocation
* Remove no longer used code
2022-08-15 14:42:24 +00:00