Commit Graph

2050 Commits

Author SHA1 Message Date
d2d171475c Bump queue-file from 1.1.0 to 1.4.0 in /src/agent (#1844)
Bumps [queue-file](https://github.com/ing-systems/queue-file) from 1.1.0 to 1.4.0.
- [Release notes](https://github.com/ing-systems/queue-file/releases)
- [Commits](https://github.com/ing-systems/queue-file/commits/v1.4.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 15:56:07 -04:00
e492886a85 Bug fixes in the TimerTasks function (#1961)
* Bug fixes in the TimerTasks function

* formatting
2022-05-19 18:26:08 +00:00
b63de9c73d fix local coverage defnition (#1962) 2022-05-19 17:01:04 +00:00
5887fa3626 Bump thiserror from 1.0.30 to 1.0.31 in /src/proxy-manager (#1867)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2022-05-19 14:39:15 +00:00
b4e5c7c79e Set backtrace to full (#1959)
* Set backtrace to full

* Update src/runtime-tools/win64/onefuzz-run.ps1

Co-authored-by: Joe Ranweiler <joe@lemma.co>

Co-authored-by: Joe Ranweiler <joe@lemma.co>
2022-05-19 12:38:45 +00:00
dbd63bd54e Release 5.5.0. (#1958)
* Release 5.5.0.

* Typo.

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Fixing.

* Adding teo changes.

* Adding timer changes.

* Adding bug fix to release.

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

* Update CHANGELOG.md

Co-authored-by: Joe Ranweiler <joe@lemma.co>

Co-authored-by: Joe Ranweiler <joe@lemma.co>
5.5.0
2022-05-18 15:33:10 -07:00
0d86ef9975 Ensure GlobalFlag reg value is initialized for target (#1960)
- Zero-initialize `GlobalFlag` registry values as needed
- Update an internal error type for easier debugging
2022-05-17 14:53:05 -07:00
e0a9f07942 Test timer repro (#1934)
* TimerRepro tests

* fmt
2022-05-17 14:21:23 +00:00
babe7c2111 Auto lint before committing (#1928) 2022-05-17 13:15:24 +00:00
26f2f519db Remove transitive OpenSSL dep (#1952) 2022-05-16 17:00:16 -07:00
02477b207a Update coverage filtering docs (#1950) 2022-05-16 12:22:12 -07:00
4ee967ab4c scaleset vm instance scale-in protection (#1946)
* scaleset vm instance scale-in protection

* added tests and used to validate the behavior

Co-authored-by: stas <statis@microsoft.com>
2022-05-16 11:25:54 -07:00
a3e63df18d Upgrading dotnet version to 6.0.300 (#1947) 2022-05-16 16:25:02 +00:00
3dd27be55b Use consistent logger names (#1945) 2022-05-15 15:22:53 -07:00
806409bdbf Warn on SDK/CLI creation of libfuzzer_coverage task (#1944)
The old `libfuzzer_coverage` task dumps binary sancov tables. Its output is not usable on its own. This task has been superseded by the generic `coverage` task (which produces actual modoffset and source line coverage).

Add a CLI warning if it is used, in preparation for removing it.
2022-05-14 12:03:09 -07:00
b3e7f9b6cf Allow old reports to be parsed (#1943) 2022-05-13 17:51:31 -07:00
b080f5b164 Make tool_version, onefuzz_version, tool_name optinal (#1940) 2022-05-13 20:12:22 +00:00
e2314b1311 Include LD_LIBRARY_PATH iff set by command (#1933)
On Linux, when calling `find_missing()`, include `LD_LIBRARY_PATH` if and only if the invoked `Command` explicitly sets some value for that variable. This ensures consistent search results, no matter the process environment of the calling context.
2022-05-13 08:48:33 -07:00
f9a63365f1 enable locked restore on NET code (#1938)
Co-authored-by: stas <statis@microsoft.com>
2022-05-12 14:41:07 -07:00
8fbe0498b1 Allow ignoring directories (#1931)
* Allow ingoring directories

* PR comments
2022-05-12 20:13:48 +00:00
70d6ff0019 When a tag is created, trigger a build. This is needed for our release pipeline to be able to find the correct set of artifacts. (#1930) 2022-05-12 18:44:13 +00:00
1f1abbe0ea Update patch version of digest:0.10 dep (#1935)
Fix the build, broken due to `0.10.x` being yanked for `x < 2`.
2022-05-12 10:42:57 -07:00
6d15a46897 proxy forward test hooks (#1924)
fixing some bugs

Co-authored-by: stas <statis@microsoft.com>
2022-05-11 13:05:29 -07:00
5f4a02503a Refactor agent commands (#1922)
* Checkpoint

* Disable the function for now

* snapshot

* Tested locally

* fmt
2022-05-11 14:06:09 +00:00
c9b46e983d Release 5.4.0 (#1919)
* Release 5.4.0
5.4.0
2022-05-10 20:29:59 -07:00
c01421b283 pinning the version of dotnet to 6.0.202 (#1925) 2022-05-10 23:00:34 +00:00
779a67ed6d Download agent logs using sas url (#1920) 2022-05-10 10:54:53 -04:00
78c680e955 Update AgentCanSchedule.cs (#1912) 2022-05-10 12:07:24 +00:00
25405b0b27 Remove client_secret from config, add env var (#1918) 2022-05-09 16:58:15 -07:00
f5ce5b3d6f Updating OneFuzz Threat Model (#1917)
* Updating OneFuzz Threat Model

* Update htm threat model.
2022-05-09 15:03:44 -07:00
a4357c8fb9 Use the json serializer to convert enum to the DB (#1910)
* Use the json serializer to convert enum to the DB

* format
2022-05-07 20:44:47 +00:00
dcf84cfd4e Pool operations test hooks (#1909)
Co-authored-by: stas <statis@microsoft.com>
2022-05-07 13:02:43 -07:00
91922ce01a enable python functions (#1907)
- queue_node_heartbeat
- queue_task_heartbeat

disable dotnet functions
- QueueNodeHeartbeat
- QueueTaskHeartbeat
2022-05-06 17:50:33 -07:00
119a40bf0c Set the table value to null when a property is null (#1905)
* set the table value to null when a property is null

* unit test
2022-05-06 21:42:28 +00:00
ee3908f660 nsg operations test hooks and some bug fixes (#1904)
Co-authored-by: stas <statis@microsoft.com>
2022-05-06 13:43:25 -07:00
777a7c6e15 Fix new_files (#1903)
* Fix new_files

* fmt
2022-05-06 15:36:43 +00:00
d3080c0554 Bump log from 0.4.14 to 0.4.17 in /src/proxy-manager (#1882)
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2022-05-06 11:04:08 -04:00
5393dbab65 Replace queue_task_hearbeat (#1899)
* Replace queue_task_hearbeat

* dont rename statsFormat

* using hashsets for the helpers
2022-05-05 11:02:36 -07:00
28f0cfbf9f Notification operations test hooks (#1897)
Co-authored-by: stas <statis@microsoft.com>
2022-05-05 08:21:49 -07:00
3370c3df9a Replace queue_node_heatbeat (#1875)
* repalce queue_node_heatbeat

* Changing the name of the input queue

* [testing] hard code deployment of -net function

* explicitly disable other C# functions
2022-05-04 17:09:50 -07:00
c07a908cf4 Add the ability to serialize enums values (#1898)
* Add the ablility to serialize enums values

* unit test
2022-05-04 21:20:23 +00:00
b2399c4571 allow jobs with no log data to be schedule (#1893) 2022-05-04 20:09:19 +00:00
0859b04746 Node Ops test hooks (#1895)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 12:33:46 -07:00
793ce85cdf updating deploy.py to push dotnet by default (#1888)
* updating deploy.py to push dotnet by default

* Updating requirements for Azure Function core tools CLI to 4

* updating docs for Azure Functions Core Tools v 4.x requirement

* Update src/utils/check-pr/README.md

Co-authored-by: Cheick Keita <chkeita@microsoft.com>
2022-05-04 18:44:27 +00:00
457f03e4ae fix where we get base docker image from (#1891)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 09:00:57 -07:00
d0ce283b8b Log analytics test hooks (#1887)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 07:17:25 -07:00
eca88cb35f Introducing OnefuzzContext to prevent circular references (#1886) 2022-05-03 19:05:39 +00:00
767654917e job ops test hooks and a bug fix (#1885)
Co-authored-by: stas <statis@microsoft.com>
2022-05-03 11:22:39 -07:00
3f23bdf336 More testing (#1884)
* adding more tests

* more tests

Co-authored-by: stas <statis@microsoft.com>
2022-05-03 10:14:56 -07:00
7a69c3144d Refactor agent can schedule (#1870)
* Untested

* Progress

* ready to test

* Missed a file

* Fixes setting the serializer

* Fix bad query
2022-05-03 16:29:01 +00:00