Commit Graph

1179 Commits

Author SHA1 Message Date
16166e1c14 Create autoscale resources for scaleset (#1661)
* Initial progress to adding a auto scale resource

* auto scale API is ready

* When creating a scaleset, add an autoscale resource to it as well

* Auto scale is correctly linked with scaleset

* 🧹

* Lint

* Cleaned up
2022-02-28 17:28:31 +00:00
c6f65c0f0e Used fixed Windows image for integration test build (#1675) 2022-02-24 08:57:03 -08:00
40efa9ae1b Unescape blob name in BlobUrl (#1673)
* Unescape blob name in BlobUrl
2022-02-23 14:31:27 -08:00
674444b7d7 Split integration tests into different steps (#1650)
Refactoring check-pr.py to extract the logic of downloading the binaries
refactoring integration-tets.py to split the logic of setup, launch, check_result and cleanup
2022-02-22 22:33:00 +00:00
5d8516bd70 Enable scale in protection on VMSS instances (#1647)
* draft attempt at adding scaling protection

* Service can now control scaling protection policy on VM instances

* Improve logging a bit

* draft attempt at adding scaling protection

* Service can now control scaling protection policy on VM instances

* Improve logging a bit

* Error message was missing info

* Linter

* Don't schedule work if we can't protect the node

* Last of the linter changes
2022-02-14 14:56:55 +00:00
77dcd57b46 Add EventGrid compatible webhook format (#1640) 2022-02-11 16:39:19 -08:00
65fd48b31b Fix typo (#1625) 2022-02-10 13:15:48 -05:00
b7fc35ffea Update yanked block-buffer from 0.10.0 to 0.10.1 (#1648)
* Update yanked block-buffer from 0.10.0 to 0.10.1

* update yanked crossbeam-utils from 0.8.5 to 0.8.7

* update yanked crossbeam-utils from 0.8.5 to 0.8.7

Co-authored-by: stas <statis@microsoft.com>
2022-02-08 08:02:39 -08:00
e0f2e9ed5a fix cli build (#1638)
* fix cli build

* build fix
2022-02-03 23:54:30 +00:00
62731f3836 bump azure-cli-core and azure-cli to 2.32.0 (#1634) 2022-02-02 17:38:46 -08:00
ee4dfe922f Allow authority to be specified in check-pr (#1473)
* fix interactive login in check-pr

* specify tenant domain in check-pr

* bug fix

* rename tenant to authority
2022-02-02 16:06:42 -08:00
809db31186 fix node serialization (#1627)
* fix node serialization

* remove intermediate variable

* mypy fix
2022-01-31 18:05:28 +00:00
dab0dba34f Fix lint warning (#1631) 2022-01-31 15:59:20 +00:00
4e6f496e06 bump azure-mgmt-subscription to 3.0.0 (#1606) 2022-01-28 18:57:12 -08:00
a600769d69 Add test-input example (#1624) 2022-01-27 12:48:52 -08:00
d358938895 Working in retry to test endpoint during integration test. (#1565) 2022-01-27 11:00:22 -08:00
af684f1335 Release version 5.0.0 (#1620)
* Release version 5.0.0

* 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>

Co-authored-by: Joe Ranweiler <joe@lemma.co>
5.0.0
2022-01-27 09:25:44 -08:00
b49d140ff0 Add fuzzer_target_options to libfuzzer basic template (#1610) 2022-01-26 20:31:13 -08:00
6100191aaf Fixing VMSS Re-Image 7-Day Timer (#1616)
* Fixing VMSS Re-Image 7-Day Timer

* Updating use of TimeStamp to created_at

* Renaming.

* Updating field name.

* Removing test chagne.

* Updating query to work if init_at entry does not exist yet.

* Changing timer for testing.

* Adding field comment.

* Formatting models.py

* Fixing where save is called.

* Adidng logging.

* Removing logging. Ready for merge.

* Update src/pytypes/onefuzztypes/models.py

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

* Formatting.

* Updating datetime.

* Testing after datetime change.

* Removing test.

Co-authored-by: nharper285 <nharper285@gmail.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
2022-01-26 17:40:27 -08:00
f374801d35 Re-Image Functionality Now Includes 'Upgrade' Call (#1612)
* Re-Image Functionality Now Includes 'Upgrade' Call

* Fixing call.

* Fixing testing change.

* Shrinking timedelta even more.

* Update nodes.py

* Update scalesets.py

* Update nodes.py

* Update nodes.py

* Fixing merge.

* Revert "Fixing merge."

This reverts commit ab4d2a54c3.

* Adding comment and logging to new upgrade call.

* Removing old logging statement.

Co-authored-by: nharper285 <nharper285@gmail.com>
2022-01-26 10:42:03 -08:00
2ad37bdfb0 Remove in-agent tracking of child process perf stats (#1608) 2022-01-25 15:06:10 -08:00
464940d716 bumpt azure-mgmt-compute to 24.0.1 (#1599) 2022-01-22 08:25:06 -08:00
348398eb1e fix build break (#1594)
Co-authored-by: stas <statis@microsoft.com>
2022-01-21 02:35:09 +00:00
13e52308f2 Bump azure-identity to 1.7.1 (#1586) 2022-01-19 16:09:37 -08:00
6901cd15ff bump azure-functions to 1.8.0 (#1582) 2022-01-14 22:34:01 -08:00
f02f3f0ae2 Updating AAD Docs and UserAssignment Roel Description. (#1581)
* Updating doc and role description.

* Update src/deployment/deploy.py

Co-authored-by: Cheick Keita <kcheick@gmail.com>

* Update docs/AADEntitites.md

Co-authored-by: Cheick Keita <kcheick@gmail.com>

Co-authored-by: nharper285 <nharper285@gmail.com>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
2022-01-14 10:02:14 -08:00
7c3beb4d6f Bump tokio from 1.14.0 to 1.15.0 in /src/proxy-manager (#1530)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.14.0...tokio-1.15.0)

---
updated-dependencies:
- dependency-name: tokio
  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>
Co-authored-by: Marc Greisen <marc@greisen.org>
2022-01-13 14:15:49 -08:00
5083dc6e03 bump azure-core to 1.21.1 (#1579) 2022-01-13 09:34:44 -08:00
9092276d96 bump jinja2 to 3.0.3 (#1577) 2022-01-12 18:30:25 -08:00
1731ca4dde Bump requests to 2.27.1 (#1567)
Co-authored-by: stas <statis@microsoft.com>
2022-01-12 07:29:34 -08:00
714e73b379 Missed a change in the changelog. (#1576) 4.1.0 2022-01-11 08:12:08 -08:00
cfea5326a5 Release 4.1.0 (#1571)
* Release 4.1.0

* 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>

Co-authored-by: Joe Ranweiler <joe@lemma.co>
2022-01-10 22:15:00 -08:00
d28ad25e46 Integrate Cobertura format and output as file in coverage container (#1572)
* Integrate cobertura format and output as file in coverage container

* cobertura output file is txt, not json

* Format

* xml file not txt

* Improved syntax
2022-01-10 19:02:01 -08:00
e89e7b2166 Added function for converting coverage source format to Cobertura xml (#1533)
* function to convert source format to cobertura xml, column removed from source format and corresponding tests and uses, todo: fix cobertura test

* Fixed test for source to cobertura xml function

* Added SourceCoverage columns, associated tests and uses back in, ran rustfmt

* Improved result resolution in test, removed some commented out code

* Removed unrequired elements and attributes according to cobertura/reportgenerator schema

* Updated test, fixed missed error

* Improved XML to work best with ReportGenerator format

* Format change

* Order matter, don't format

* Undid order, included xml in toml
2022-01-07 15:36:08 -08:00
c3ab5089e8 Generate source-line coverage in task (#1535) 2022-01-07 14:58:37 -08:00
f505ece25f Fixing proxy tag issue. (#1568) 2022-01-07 13:10:10 -08:00
3058f10349 Upgrade to sha2 0.10.1 (#1566) 2022-01-06 13:02:57 -08:00
83e48e7e7b Adding new InstanceConfig value for VMSS & VM tags (#1560)
* Adding new instanceconfig value for tags.

* Removing bad import.

* Updating where tags are generated.

* Updating tag generation for scalesets.

* Updating tag generation in vm.

* Updating vm tag generation.

* Updating vm tag generation.

* Fixing extension.

* Fixing import.

* Fixing typing.

* Fixing get_vm calls.

* Fixing calls to get_vm.

* Fixing optional tag.
2022-01-05 13:16:03 -08:00
c5421894c1 bump azure-cli and azure-cli-core to 2.31.0 (#1557)
* bump azure-cli and azure-cli-core to 2.31.0

and all required dependencies

* Update src/cli/onefuzz/cred_wrapper.py

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

* updating credential wrapper

* Update src/cli/onefuzz/azure_identity_credential_adapter.py

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

* updating credential wrapper

* .

Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
2022-01-05 07:11:24 -08:00
5515aa1819 Move call to check_access to call_if (#1472)
* Move call to check_access to call_if

* fix logic

* Update src/api-service/__app__/onefuzzlib/endpoint_authorization.py
2022-01-04 00:34:03 +00:00
bb98bf3c46 Bump tokio from 1.14.0 to 1.15.0 in /src/agent (#1528)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.14.0...tokio-1.15.0)

---
updated-dependencies:
- dependency-name: tokio
  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-01-03 15:37:14 -08:00
9b75356375 Bump serde_json from 1.0.72 to 1.0.73 in /src/proxy-manager (#1522)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73)

---
updated-dependencies:
- dependency-name: serde_json
  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: Marc Greisen <marc@greisen.org>
2021-12-21 17:52:28 -08:00
91630f2a28 Adding AutoConfig Properties. (#1541)
Co-authored-by: nharper285 <nharper285@gmail.com>
2021-12-21 13:41:40 -08:00
27569a167f Bump serde_json from 1.0.72 to 1.0.73 in /src/agent (#1521)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73)

---
updated-dependencies:
- dependency-name: serde_json
  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: Marc Greisen <marc@greisen.org>
2021-12-20 18:18:23 -08:00
9f60213591 Bump procfs from 0.11.1 to 0.12.0 in /src/agent (#1519)
Bumps [procfs](https://github.com/eminence/procfs) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.11.1...v0.12.0)

---
updated-dependencies:
- dependency-name: procfs
  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>
Co-authored-by: Marc Greisen <marc@greisen.org>
2021-12-20 16:11:06 -08:00
4f285e09dc Bump async-trait from 0.1.51 to 0.1.52 in /src/agent (#1517)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.51 to 0.1.52.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.51...0.1.52)

---
updated-dependencies:
- dependency-name: async-trait
  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: Marc Greisen <marc@greisen.org>
2021-12-20 14:41:01 -08:00
70c89ba7c6 Bump serde from 1.0.130 to 1.0.131 in /src/proxy-manager (#1514)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131)

---
updated-dependencies:
- dependency-name: serde
  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: Marc Greisen <marc@greisen.org>
2021-12-20 10:10:47 -08:00
f2b22c6d1c Avoid leaking unused file and cache data (#1539) 2021-12-18 10:24:23 -08:00
4ae962f6f0 Use symbol path when searching for PDBs for source coverage (#1538) 2021-12-17 15:53:07 -08:00
07094f7446 Fixing python call in check-pr. (#1540)
Co-authored-by: nharper285 <nharper285@gmail.com>
2021-12-17 14:44:24 -08:00