Commit Graph

1767 Commits

Author SHA1 Message Date
0cdb0c3a92 fix report parsing (#2755)
* fix report parsing

* message parsing fix in the agent

* formatting
2023-01-20 20:08:25 -08:00
3f865e245a Add sourceline output and logging to coverage example (#2753) 2023-01-19 17:26:24 -08:00
62a0dd695a Fix Linux detection of shared library mappings (#2754) 2023-01-19 16:59:18 -08:00
b1625d3033 Fix notification logic (#2751)
* Fix notification logic
This bug was preventing the rest of the NewFils logic to proceed if no notification was associated with the container

* build fix
2023-01-19 22:04:56 +00:00
61685e6e6f Wrap fallible ORM functions in try/catch (#2745) 2023-01-19 21:38:36 +00:00
81de10258b Added machine_id to config_path and failure path of the agent (#2731) 2023-01-17 20:20:00 -08:00
7227856e98 Adds an optional analysis task to the libfuzzer template (#2748)
* Adding an analysis task to the libfuzzer template

* format

* build fix

* Use `elsa` for debuggable_module::loader (#2703)

* build fix

Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-01-17 17:14:37 -08:00
748270080b Use elsa for debuggable_module::loader (#2703) 2023-01-17 15:19:38 -08:00
5bf0c21b57 Update bumpalo to address RUSTSEC-2022-0078 (#2744) 2023-01-17 19:44:36 +00:00
8058497e17 Truncate large webhook events (#2742)
* Add ITrunctable

* Tests

* Pass some more tests

* Cleanup
2023-01-13 14:16:46 -05:00
cd659d2f27 Fixed the database query to retrieve the proxy for a region (#2743) 2023-01-12 19:17:15 -08:00
dc0f7ab561 Release-6.2.0 (#2728)
* Release-6.2.0

Co-authored-by: Noah McGregor Harper <74685766+nharper285@users.noreply.github.com>
6.2.0
2023-01-10 09:55:10 -08:00
6c3b465dbe Update azure cli (#2733)
* update azure-cli to v2.43 along with supporting dependencies
2023-01-10 09:19:16 -08:00
64a6c155e1 Bump Tokio from 1.16.0 to 1.24.1 in /src/agent (#2735)
* Bump tokio from 1.16.0 to 1.24.1 in /src/agent

* update dependent mio 0.8.2 -> 0.8.5
2023-01-09 16:48:35 -08:00
7361e92d6e Bump tokio from 1.23.0 to 1.24.1 in /src/proxy-manager (#2734)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 12:11:06 -08:00
af25752c55 Add arg to deploy.py for custom_domain (#2720) 2023-01-05 10:28:17 -08:00
b995cc25ad Add more into-JSON coverage conversions (#2725) 2023-01-04 10:54:20 -08:00
a8d5ab7c5c Add binary coverage merging (#2724) 2023-01-04 10:11:40 -08:00
df40c99cb9 Use a custom Output type when recording coverage (#2723) 2022-12-22 12:01:51 -08:00
0d6a0d7d89 Escape periods when converting globs (#2721) 2022-12-22 10:14:53 -08:00
d51d4e0c7e Ignore benign recv hangup in timer (#2722) 2022-12-22 10:02:48 -08:00
07a0a926c6 Add deserialization compat functions (#2719) 2022-12-21 13:32:41 -08:00
04f83e0b9c Add lines key to v1 source coverage JSON (#2718) 2022-12-21 11:46:09 -08:00
4dbc9c099a Reduce mutation in the agent state machine (#2710)
* reduce unnecessary mutation in the agent

* cleanup and fix test

* cleanup

* reduce log some levels

* desambiguate self call in the coordinator
2022-12-21 19:20:09 +00:00
3a5101be9b Capture target output, allow Loader reuse (#2716) 2022-12-21 09:13:06 -08:00
a1060c119d Use FF to get node disposal strategy (#2713) 2022-12-21 14:46:50 +00:00
f7bd50853f Add key for block coverage, tests (#2715) 2022-12-20 15:01:25 -08:00
1726beda87 Bump rayon from 1.5.1 to 1.6.1 in /src/agent (#2690)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.1...rayon-core-v1.6.1)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 19:58:56 +00:00
188a7ca42e Rust 1.66 (#2704)
* Bump to Rust 1.66

* Another fix

* One more

* Lint
2022-12-19 10:04:04 -08:00
aa902d34d0 Add onefuzz-file-format (#2706)
* Add `onefuzz-file-format`

* Add license

* Add newline

* Lint
2022-12-19 09:13:56 +13:00
349604f03a Removing Remaining App Function References from Deployment Code. (#2682)
* Removing Remaining App Function References from Deployment Code.

* Update src/deployment/deploy.py

Co-authored-by: Adam <103067949+AdamL-Microsoft@users.noreply.github.com>

* Consolidating.

* Updating function  handles.

* Removing copy.

* Fixing.

* Formatting.

* Fixing array calls.

* Adding json settings back.

* Formatting.

Co-authored-by: Adam <103067949+AdamL-Microsoft@users.noreply.github.com>
2022-12-15 20:03:42 -08:00
0fb8bc4a86 Bug fixes and documentation (#2694) 2022-12-15 19:39:17 -08:00
ff923d28e7 Record coverage using debuggable-module (#2701) 2022-12-15 15:20:26 -08:00
054910e39b Adding Public Identifier to Events. (#2705)
* Adding Public Identifier to Events.

* Fixing.
2022-12-15 14:35:53 -08:00
abcfa4fc36 Bump tokio from 1.20.0 to 1.23.0 in /src/proxy-manager (#2674)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.0...tokio-1.23.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 16:36:40 +13:00
e2dc560bcb Add debuggable-module (#2700) 2022-12-14 10:53:54 -08:00
f6a70602de Bump certifi in /contrib/deploy-onefuzz-via-azure-devops (#2683)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.5.18.1 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.05.18.1...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 15:30:46 -08:00
31929a8850 Fixing build issue related to dotnet version 7.0.101 (#2698) 2022-12-13 21:50:37 +00:00
4c1adb6e96 rename client_id in pool to object_id (#2673)
* rename client_id in pool to object_id

* fix tests

* print out the content body when receiving an error response in the agent

* fix test

* Apply suggestions from code review

* Update src/ApiService/ApiService/Functions/AgentRegistration.cs

* format

* cleanup

* format

* address pr comment
2022-12-13 03:39:49 +00:00
3cf09c6a40 Include dotnet version in info response (#2693)
* Include dotnet info in version response

* Python code requires non-null
2022-12-13 15:13:36 +13:00
4af4f93167 Only warn on cannot delete nodes from scaleset warning (#2691) 2022-12-12 14:57:29 -05:00
fa3e6a4fdd Fix NullRef exception when getting a scaleset that does not exist (#2692)
* Fix NullRef exception when getting a scaleset that does not exist
Updated the ScalesetOperations.GetNodes to return a non nullable dictionary

* build fix
2022-12-12 10:00:44 -08:00
fdd05aeb78 Include missing fields in the report record (#2679)
* Include missing field  in the report

* update tests
2022-12-12 17:00:53 +00:00
a45bda9838 Allow multiple agents to run on the same machine (#2671)
* Allow multiple agents to run on the same machine
- Move the work directory for each agent into a machine specific folder
- added option on the command line to override the machine id and name
- added an option to remove the done lock when starting the agent

* add git_ignore

* fix tests

* clippy+ format

* fix linux build

* fix test

* cleanup

* cleanup

* fix reset_lock parsing

* clippy
2022-12-09 20:31:38 -08:00
fb03bd6408 Release 6.1.0 (#2687) 6.1.0 2022-12-09 13:41:59 -08:00
2a44900c71 Support Contains Words in WIQL (#2686) 2022-12-09 16:15:37 +00:00
f48546f542 Rename coverage to coverage-legacy (#2685) 2022-12-08 16:26:33 -08:00
11923d2b9d Remove unused coverage recorder from input-tester (#2681) 2022-12-08 15:15:10 -08:00
aad29295e1 Repro Create should fail if insert fails, add tests (#2678)
At the moment the result of the insert is ignored.
2022-12-08 21:31:40 +00:00
97910e4793 post JobCreated when job is created (#2677)
* post JobCreated when job is created
2022-12-08 12:22:54 -08:00