Commit Graph

1580 Commits

Author SHA1 Message Date
Azure SDK Bot
35c4a7eb32
Stress test usability feedback (#3032)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-03 15:29:02 -07:00
Daniel Jurek
413b4b7665
Add coverage enforcement (#2992)
* Add coverage enforcement

* Add spelling exception for mspremier

* Use previous build coverage data, enforce 3% variance, use Skip.CoverageEnforcement feature flag

* Use version 8 of quality checks

* Remove forceCoverageImprovement, it doesn't allow 0% improvements (e.g. doc changes, etc.)

* branch -> branches

* Configure coverage thresholds per-service

* Use fixed coverage

* Review feedback

* Per-service coverage plumbing

* Flip branch and line coverage requirements for KV to accurately reflect current baseline
2021-11-03 10:56:32 -07:00
Daniel Jurek
52e0eeb393
Add test result uploading (#3017)
* Add test result uploading

* Use -T

* Add displayName and buildConfiguration

* Add live testing result upload

* buildConfiguration -> testRunTitle

* Live tests 'Validate' -> 'ValidateLive' to differentiate job names in Test results output
2021-11-03 10:54:43 -07:00
Azure SDK Bot
b3bd976866
Sync eng/common directory with azure-sdk-tools for PR 2053 (#3027)
* Changing inline bash for stress test resource deployment

* PR-mod

* pr-mod

* pr-mod

* pr-mod

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-02 23:05:22 -07:00
Chidozie Ononiwu (His Righteousness)
58c1ecfc1d
Add ReplaceLatestEntryTitle parameter for updating changelog (#3008) 2021-11-02 12:29:38 -07:00
George Arama
333891c972
param <-> options (#3014)
* param <-> options

* quick typo
2021-11-02 11:55:57 -07:00
George Arama
19fd7e5f32
dedupe names in test also ensure for live we get new names (#3013)
* dedupe names in test also ensure for live we get new names

* Victor comments, name certs based on test name

* oops
2021-11-02 11:10:14 -07:00
Azure SDK Bot
10861b3c3d
Use docker to do package validation. (#3020)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-11-01 23:04:13 -07:00
Azure SDK Bot
b028304d82
Use https for sparse checkout command (#3019)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-01 18:37:23 -07:00
George Arama
ca7b2a0e98
add certificates to ci.yml (#3015) 2021-11-01 16:14:05 -07:00
Azure SDK Bot
fbe38f7fb3
Sync eng/common directory with azure-sdk-tools for PR 2177 (#3016)
* Create an issue template

* rename the function

* Add description

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-11-01 13:40:53 -07:00
Ahson Khan
041feefd67
Testing KeyVault live test runs to reproduce errors and disable test to unblock CI (#3007)
* Temporary change to trigger a PR run

* Disable GetCertificate and GetCertificateVersion unit tests

* Revert readme change
2021-11-01 11:39:19 -07:00
Victor Vazquez
31398df179
move the static transport adapter to private impl (#2993) 2021-10-28 11:49:37 -07:00
George Arama
08947edfc8
Api review (#3004)
* operator !=

* moved download , make protected private

* structs and classes

* comments

* change std::vector into struct

* optional structs

* get version

* api signature changes

* remove the options structs where not necessary , they are extremelly ugly

* fix issue

* small sample readme update

* simplify certificate creation
2021-10-28 11:21:20 -07:00
Victor Vazquez
871b9e8d6d
Expose http request base constructor (#3002)
* Expose http request base constructor

* cl
2021-10-28 10:02:01 -07:00
Victor Vazquez
3be793d558
[Core] - Support azure-core version without OpenSSL dependency (#2839)
* perf test uuid

* use win impl for uuid on linux

* use c99 base64 encode-decode
2021-10-27 23:20:34 +00:00
Azure SDK Bot
fe42c0f831
Sync eng/common directory with azure-sdk-tools for PR 2152 (#2999) 2021-10-27 14:19:48 -07:00
Victor Vazquez
1bdc478dcb
fixes for linux gcc (#3003) 2021-10-27 20:49:01 +00:00
George Arama
30f62eb3aa
Api review changes (#2994)
* operator !=

* moved download , make protected private

* structs and classes

* comments

* change std::vector into struct

* optional structs

* get version

* api signature changes

* remove the options structs where not necessary , they are extremelly ugly

* fix issue

* small sample readme update
2021-10-27 10:26:30 -07:00
Azure SDK Bot
1055ff8c14
Add latest released version to prepare prerelease (#2998)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-26 14:10:46 -07:00
George Arama
c7f8e02c6a
Readme (#2995)
* rtet

* readme

* yte
2021-10-26 12:05:58 -07:00
George Arama
a9094d0933
Samples (#2986)
* two samples

* samples

* typas, types, typis .... typos

* PR comments
2021-10-25 18:30:43 -07:00
Victor Vazquez
a4f2e510e5
Adding timeout option (#2991) 2021-10-25 12:12:53 -07:00
Victor Vazquez
f90ab8a9b5
Add Storage Performance tests for DownloadTo API (#2987)
Adding 3 new tests for Storage Performance
The next tests are expected to find out the overhead between each layer of the Azure SDK client while performing a download operation. The current performance test is measuring the client + azure core pipeline + http transport.

The next tests removes authentication policy and then each layer up to the HTTP transport adapter directly.

DownloadBlobSas
Generates a SaS token to download a blob. This way the authentication policy "sharedKey" won't run in the pipeline.

DownloadBlobWithPipelineOnly
Use the SaS token as well but send the request without the BlobClient. Instead it uses the Azure Core Pipeline directly

DownloadBlobWithTransportOnly
Same as before, the SaS token is used to download the blob but consuming only the libcurl-transport adapter. This option skips the HttpPipeline. The only elements used from Azure Core are the HttpRequest and the Azure::Context

Note
porting tests from the .NET equivalent:

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriBlobClient.cs

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriHttpClient.cs

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadSasUriHttpPipeline.cs
2021-10-25 11:48:55 -07:00
Azure SDK Bot
3fdf66bb55
Fully automate cluster buildout. Add azure file share mount to stress tests. (#2989)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-10-22 18:05:57 -04:00
Daniel Jurek
c534a1e160
Cognitive Matrix Consolidation (#2947)
* Refactor template to use multiple builds on the same machine resetting the machine and runtime varaibles along the way

Move template expression out of default matrix parameters

Remove extra reference to ci/jobs.yml

Remove unnecessary ci.yml, change param declaration in devops-variables-set.yml

Heredoc

Fix set/reset scripts after testing with devops outputs

-ErrorAction Ignore

Smaller matrix

OsVMImage comes from machine, not parameters

Add Ubuntu 20 to matrix

Remove checkout: self, it is implied

Move machine-setup steps outside of loop

CODE_COVERAGE handling

tab

Remove creation of CODE_COVERAGE

Use AptDependencies and add apt update to dependency install step

Remove extra preparation steps

Enable code coverage check scenario

Add MacOS 11

Disable vcpkg cache

Coverage configuration

Pass parameter properly

bool -> boolean

Install coverage tools if it's possible that coverage may run

More logging on code coverage

Show contents of Makefile

One vcpkg to build them all

Verbose

SourcesDirectory

Nesting VcpkgInstall

workingDirectory for vcpkg install

AptDependencies

complete the conditional

Enable all matrix entries

sudo

Remove extra chatter

More scrubbing post-build to help with Windows scenarios

sudo echo

Get-ChildItem

ErrorAction

sudo sh -c

More ErrorAction

output sourceListFile

Disable additional sources.list

Install coverage tools when used for coverage

COndition

Do not build testing for Windows arm64

Correct path for coverage tools

ne -> eq

Add more scenarios to the matrix

Remove libxml2

Add MacOS 10.15 to matrix

Revert "Remove libxml2"

This reverts commit 178af8b89abb21ee84dbcd25b4d54bd90ec1d44c.

Add libxml2 to MacOS 10.15 matrix entry

Display name decorator, refine the matrix

Remove OsVmImage variable

Add commentary to tests about matrix

Rebalance matrix, nest EnvVars, DisplayNameDecorator

Correct parameter access

AptDependencies

Ensure building for WindowsStore in UWP builds, Only build tests for debug builds in altered matrix entires, Linux build type specified as environment variable

Rebalance matrix for better timing

Remove all instances of libxml2 in vcpkg dependencies

Move common devops tasks to eng/common

Set eng/common paths in pipelines

Revert "Remove all instances of libxml2 in vcpkg dependencies"

This reverts commit 35ffbc7aac87f400fdf3351076346750c1c750ed.

https://github.com/Azure/azure-sdk-for-cpp/issues/2946

Permit words like iname in more pipeline .yml files

Remove libxml2 from vcpkg dependencies for Windows

Perf test matrix maxParallel: 10

Validate

apt install first

apt install first

maxParallel: 12

-j 8

-j 10

Use matrix generator

Add expected parameters

Move parameters to appropriate file, fix cloud spec

Specify correct platform matrix location

DependsOn

Platform matrix

Remove DisplayNameDecorator, try more clang information

Rapid iteration matrix

clang --version

install clang-11

Use correct pool

Use full matrix, revert additional logic in jobs/ci.yml

* Review feedback: newline

* Review feedback: Test in release, too

* Remove DisplayNameDecorator (it was useful when we were putting multiple builds into a single job, now it is redundant)

* Remove displayNames

* Matrix review feedback

* Conditions

* Rename ci.yml -> ci.tests.yml
2021-10-22 13:49:10 -07:00
Victor Vazquez
ef72f3c8a1
expose Curl nosignal opt (#2985)
* add NoSignalOption

* cl

* tests
2021-10-21 17:25:02 -07:00
George Arama
5ad55ecb6e
Download import merge (#2976)
* functioning, tests updated

* download import merge

* latest and greatest

* build issues

* spellcheck

* PR comments

* PR comments

* one last PR comment
2021-10-20 21:32:38 -07:00
Azure SDK Bot
24b34875ff
Sync eng/common directory with azure-sdk-tools for PR 2093 (#2984)
* Consume Codeowners parser library, ceperate users from teams in codeownerse

* Update get-pr-owners and related logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-20 12:07:56 -07:00
Victor Vazquez
dcc6f12c20
force http 1.1 on the libcurl transport adapter (#2978)
* force http 1.1

* update wording
2021-10-20 18:43:28 +00:00
Anton Kolesnyk
e0dcc20a82
Remove incorrect scope comments (#2983)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 18:22:03 -07:00
Anton Kolesnyk
6c0901b2ff
Fix build warning in no-RTTI config (#2981)
* Fix build warning in no-RTTI config

* Fix build warning in no-RTTI config

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:09:06 -07:00
Anton Kolesnyk
b477373a9c
Remove extra semicolons (#2979)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-10-19 16:08:42 -07:00
Azure SDK Bot
7efea8c523
update to latest test-proxy tag (#2980)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-10-19 14:44:38 -07:00
Azure SDK Bot
0d0810c349
Sync eng/common directory with azure-sdk-tools for PR 2085 (#2975)
* Fix up identity resolver to make it more reliable, publish notification configuration as a tool

* Use both username and email to resolve queuing user

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-18 19:53:29 -07:00
George Arama
60ba5599f8
Rework create (#2967)
* functioning, tests updated

* PR build

* PR comments
2021-10-18 19:25:38 -07:00
Azure SDK Bot
ebe9a75a68
Sync eng/common directory with azure-sdk-tools for PR 2100 (#2972)
* Add group id into metadata for java use

* Update Update-DocsMsPackages.ps1

* Update Update-DocsMsPackages.ps1

* Update eng/common/scripts/Update-DocsMsPackages.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* Update eng/common/scripts/Update-DocsMsPackages.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2021-10-18 16:10:59 -07:00
Victor Vazquez
5e3cd1fb01
Adding a static-blocking libcurl transport adapter (#2948)
* static libcurl transport adapter

* ignore cspell

* updates to implementation
2021-10-18 15:01:00 -07:00
Victor Vazquez
8f3263a7ec
Missing fix for testing windows w/o RTTI (#2969)
* Enable no-rtti

* Apply suggestions from code review

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* pass target

* rename

* rename

* fix for installed header

* update

* compile with tests

* add unit test for CI

* rename for each package

* wording updates

* renames

* rename

* update name

* fix for testing context pre-condition

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-10-18 15:00:47 -07:00
Azure SDK Bot
5d4024f683
adjust the docker-start-proxy to take advantage of the linux specific commands that allow contact of localhost (#2971)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-10-18 13:32:26 -07:00
JinmingHu
9dac89c675
make DefaultEncryptionScope and PreventEncryptionScopeOverride optional (#2968) 2021-10-16 10:06:18 +08:00
Victor Vazquez
f4e6390dff
Enable no-rtti (#2963)
* Enable no-rtti
2021-10-14 18:12:03 -07:00
George Arama
27747b1898
Get Paged responses (#2964)
* props and versions

* some more clients

* cmake

* cmake

* eweq

* comments

* tests

* formating and build issues

* Certicate-> Certificate

* remove uneeded comment
2021-10-13 12:24:13 -07:00
Azure SDK Bot
51e569e110
Sync eng/common directory with azure-sdk-tools for PR 2095 (#2960)
* Mitigate relative path calculation error on multiple iterations

* Revert "Mitigate relative path calculation error on multiple iterations"

This reverts commit 45baedd990c6a3085742a38a4891d8706a93be77.

* GetRelativePath should check if path is already relative before calling [IO.Path]::GetRelativePath

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-10-13 10:43:44 -07:00
George Arama
11b6fc8d3a
backup & restore (#2959)
* backup & restore

* build errors

* fixes from merging
2021-10-12 18:10:50 -07:00
George Arama
239c3c9f54
Get and update certificate policy (#2958)
* Get and update certificate policy

* build issue
2021-10-12 17:30:53 -07:00
George Arama
a2e5262d6f
Delete/getDeleted/Purge/recover (#2914)
* functionality, next tests

* Updates for tests, and bug fix found in test

* PR comments

* missed comment

* PR comments

* catch by value
2021-10-12 14:55:05 -07:00
Victor Vazquez
4eb33a0015
Update Key Vault packages to use Shared-code (#2905)
* Use key vault shared code strategy for code-reuse between packages

* use a class instead of function only

* unwanted change

* unwanted change

* remove the install interface

* typo
2021-10-11 14:17:55 -07:00
Azure SDK Bot
eb2fab16a0
Avoid overwriting package info properties when dev version is added (#2957)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-10-08 14:50:22 -07:00
Azure SDK Bot
e7747b4af9
Skip unnecessary and misleading role assignment warnings in local test resource deployment (#2954)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-10-07 13:06:09 -04:00