Commit Graph

3097 Commits

Author SHA1 Message Date
Azure SDK Bot
fe18f39cb3
Pin pester version to 5.5.0 (#5703)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-07 10:16:39 -07:00
Azure SDK Bot
666e611153
Use DOTNET_ROLL_FORWARD: 'Major' for test-proxy (#5699)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-07 12:04:58 -04:00
Anton Kolesnyk
ef9d2a5e18
Remove 'include windows.h' from inc/* (#5691)
* Remove 'include windows.h' from inc/*

* Clang format

* Qualify namespace

* Clean up includes a bit further

* Fix errors

* Clang format

* move out _detail definitions

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-07 03:07:10 -07:00
Azure SDK Bot
c5d0549cb5
Increment version for core releases (#5700)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-06-07 00:07:00 +00:00
Azure SDK Bot
3635e2064a
Sync eng/common directory with azure-sdk-tools for PR 8377 (#5690)
* Plumb env vars through deploy test resources

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* Update eng/common/TestResources/deploy-test-resources.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-06 19:11:02 -04:00
Anton Kolesnyk
b43174a05b
Core June Beta Release (#5696)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-06 14:42:09 -07:00
Larry Osterman
803ad17e9a
Prepare for June AMQP release (#5697)
* Prepare for June AMQP release

* Update sdk/core/azure-core-amqp/CHANGELOG.md

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-06-06 14:41:42 -07:00
Larry Osterman
e1265f716d
Align eventhubs connection property names with Go (#5693)
* Align eventhubs connection property names with Go

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

* Changelog

* Fixed extra value caught by Anton

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-06-05 14:56:25 -07:00
Azure SDK Bot
459c148d06
bump target version of the test proxy (#5688)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-06-04 15:58:11 -07:00
Azure SDK Bot
f715b5674f
Sync eng/common directory with azure-sdk-tools for PR 8370 (#5689)
* PAT Removal from pipeline generation yml

* update version of PipelineGenerator to install

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-06-04 14:09:47 -07:00
George Arama
6bc4ee3f01
Updated method comments and functionality in tables_clients.hpp (#5674)
Updated and expanded comments for several methods in `tables_clients.hpp` to provide more detailed descriptions of their functionality. These methods include `GetAccessPolicy`, `SetAccessPolicy`, `AddEntity`, `UpdateEntity`, `MergeEntity`, `DeleteEntity`, `UpsertEntity`, `QueryEntities`, `QueryEntity`, `CreateTable`, `DeleteTable`, and `QueryTables`.
2024-05-30 11:56:43 -07:00
Azure SDK Bot
cee9b6ab5e
Sync eng/common directory with azure-sdk-tools for PR 8324 (#5671)
* Reuse same branch name for previews of a PR

* Default AddBuildSummary parameter using pipeline variable existence

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-30 10:39:42 -07:00
Ahson Khan
f1d95520d1
Update the RetryPolicy and ShouldRetry customization logic to allow loosening the retry condition. (#5656)
* Update the RetryPolicy and ShouldRetry customization logic to allow
loosen the retry condition.

* Add CL entry and update doc comment.

* Move WasLastAttempt check out, and add more tests.

* Address PR feedback, remove use of void and unused params.
2024-05-30 11:08:56 +08:00
Wes Haggard
b7a751dd53
Update CODEOWNERS for eng/common (#5678)
Add engsys team as owner for files under eng/common to enable engsys team to be able to approve and merge eng/common sync PRs.
2024-05-29 17:19:46 -07:00
Wes Haggard
0c9aae5cac
Update variable group for prepare-pipelines (#5677)
See https://github.com/Azure/azure-sdk-tools/pull/8359
2024-05-29 17:15:15 -07:00
Wes Haggard
7dedba1a4f
Update to use opensource api token (#5668) 2024-05-29 13:08:26 -07:00
Azure SDK Bot
dc64ca6eb3
Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669)
* Changes to scripts to deal with PATs and AccessTokens

* swap access and auth for add-retention-lease

* AuthToken to BearerToken and remove unused Base64EncodedAuthToken from the script parameters

* remove unneccsary if not null check for the mandatory parameter

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-28 15:52:20 -07:00
Azure SDK Bot
1b8d54e396
Sync eng/common directory with azure-sdk-tools for PR 8319 (#5653)
* Add static file secret-less sub-config support

* Review feedback: if/else

* http -> https

* Update eng/common/TestResources/deploy-test-resources.yml

* Space cleanup

* Add AzurePublicMsft.json

* Remove EnvironmentVariables

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-05-28 14:43:46 -07:00
Larry Osterman
5b9ea47d6b
Disable playback for several attestation tests that use JWTs (#5665)
* Disable playback tests on test that receive a JWT

* Reduced code coverage numbers due to disabled tests.
2024-05-28 10:15:07 -07:00
microzchang
ffbf094b89
Storage/STG94 features (#5667)
* update to stable (#5541)

* Storage/ Merge main to unblock pipeline failure (#5561)

* Sync eng/common directory with azure-sdk-tools for PR 8110 (#5540)

* Show review link in logs and set DevOps project name based on the pipeline run

* Handle the failures when package work item is unassigned (#5551)

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>

* Revert win2022 image back to latest and add msvc version mitigation (#5539)

* Revert win2022 image back to latest
* Workaround fix for MSVC SxS issue

* Fix Policheck step indention (#5553)

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

* Sync .github/workflows directory with azure-sdk-tools for PR 8131 (#5555)

* Update to azure/login@v2

* Remove the unnecessary setting of enable-AzPSSession. We don't need it.

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>

* Update sorting algorithm used in storage shared-key signing (#5547)

* Remove Windows upgrade of cmake (windows image now uses working version of cmake) (#5558)

* Revert "Update sorting algorithm used in storage shared-key signing (#5547)" (#5560)

This reverts commit b6e04fd035.

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Storage/STG94 Snapshot management support via REST for NFS shares (#5543)

* add nfs support (#5267)

* add test recordinhg

* Storage/STG94 GetAccountInfo() for container and blob (#5550)

* add getaccountinfo

* update record

* Storage/STG94 Add Queues bearer challenge test case (#5556)

* Add test for queue bearer challenge

* update test case

* update var name

* update test case

* fix clang format

* Update sorting algorithm used in storage shared-key signing (#5611)

* Storage/Stg94 Support for authorization ExtendedErrorDetail (#5633)

* Support for authorization ExtendedErrorDetail

* fix clang format

* fix build error

* make tests live only

* Update change log

* remove additional changes

* update changelog

* update error detail liveonly

* Update live test

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2024-05-28 11:21:17 +08:00
Larry Osterman
72e8b78617
Ignore sln files and csproj files in the vendor directory (#5663) 2024-05-24 20:53:29 +00:00
Daniel Jurek
2098095d68
Set retryCountOnTaskFailure for idempotent AzurePowerShell task (#5654)
* Set retryCountOnTaskFailure for idempotent AzurePowerShell task
* Review feedback: 3
2024-05-23 19:33:06 +00:00
Azure SDK Bot
af92a6980a
Sync eng/common directory with azure-sdk-tools for PR 8278 (#5659)
* Migrate stress cluster to use workload identity

* Only sleep to sync fed creds when namespace is new

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-05-23 10:42:33 -07:00
Larry Osterman
a9526d9375
Minor tweaks to HTTP tests found during Rust HTTP testing (#5658)
* Minor tweaks to HTTP tests found during Rust HTTP testing

* PR feedback
2024-05-23 04:15:05 +00:00
George Arama
1e806a17b8
Keyvault macros deprecate and new names (#5647)
* deprecate macros

* dasda

* need to remove from cpp due to deprecated error

* test

* hgjg

* comments

* definitions

* clangs

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* move test app to build_testing

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-22 22:29:31 +00:00
Larry Osterman
4de01d6ed7
Updated AMQP changelog (#5655)
* Updated AMQP changelog

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-22 21:27:09 +00:00
Daniel Jurek
599f701215
Remove setup-msvc side-by-side mitigation (#5641) 2024-05-22 13:09:08 -07:00
Larry Osterman
4fcf09d4ec
Fixed #5536, fixed a test deadlock discovered while testing the fix for 5536, added some diagnostics for uAMQP to help track the problem. (#5651)
* Fixed 5536, cleaned up a bunch of test bugs found during testing of 5536 fix
2024-05-22 11:39:03 -07:00
George Arama
abd34abacf
fix move to next page in paged response (#5625)
* fix move to next page in paged response

* clangs

* query tables continuation

* remove constructors

* fix with constructor

* jgjhghj
2024-05-22 10:17:36 -07:00
George Arama
acc98f1b06
Transaction insert replace (#5642)
* fix insertreplace

* rename method

* re

* rere
2024-05-22 09:49:46 -07:00
Azure SDK Bot
e829de01f5
Sync eng/common directory with azure-sdk-tools for PR 8294 (#5638)
* consume newest stable version of the test-proxy

* remove override of proxy pins to resume honoring standard proxy version in CI

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-21 17:44:24 -07:00
Ahson Khan
7db4f3ac1c
Remove redundant calls to gtest_discover_tests with default args in AMQP tests (#5644)
* Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated.

* Line Coverage is now at 87.8049%.

* Remove redundant calls to gtest_discover_tests with default args in AMQP
tests.

* Revert "Line Coverage is now at 87.8049%."

This reverts commit deb07e74cde7f3e915bbf0de1310d964d60d3154.

* Revert "Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated."

This reverts commit 89c8096c906691826d35f6bd0f58d10bdffb6939.
2024-05-21 18:43:41 +00:00
Anton Kolesnyk
fdb8657f41
Add HTTP request version logging, and scope the variables (#5643)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-05-20 14:06:55 -07:00
Anton Kolesnyk
597d12fd6a
Update CHANGELOG acknowledgements with customer contribution (#5640)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-05-20 11:04:35 -07:00
Ahson Khan
f517aabb98
Clean-up the HTTP versions check in response parsing, and don't reuse connections on any response other than HTTP/1.1 (#5608)
* Harden the HTTP versions check in response parsing, validating specifically for 1.1 or 1.0, and throwing otherwise.

* Address feedback - comment was confusing.

* Update sdk/core/azure-core/src/http/curl/curl.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Clarify the http version check and set keep-alive as false instead of throwing for non-http1.x.

* Address PR feedback - add comment snippet, and update log message.

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-05-20 00:23:48 -07:00
Azure SDK Bot
edfca94426
Sync eng/common directory with azure-sdk-tools for PR 8295 (#5639)
* ensure we write the log to the same root directory as what is being used for the proxy invocation

* fix spacing

* we should write these proxy logs to the same root folder that we start the proxy in

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-05-17 17:15:08 -07:00
Azure SDK Bot
afb41afa58
properly feed the proxy output into the log on windows (#5569)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-05-17 13:41:46 -07:00
Larry Osterman
260ae116cc
Switched blob checkpoint store to use both connection string and token credentials. (#5632)
* Switched blob checkpoint store to use both connection string and token credentials; re-recorded tests using token credentials

* Added environment variable to ci.yml

* Try a slightly different storage url
2024-05-17 19:51:27 +00:00
James Suplizio
4415f66cff
Remove usage of azure-sdk-docs-prod-sas (#5637) 2024-05-17 17:44:12 +00:00
Azure SDK Bot
d055b7a921
Sync eng/common directory with azure-sdk-tools for PR 8283 (#5635)
* Update APIView script path to absolute path
2024-05-17 12:58:56 -04:00
Azure SDK Bot
a315b29bab
Remove SAS token from GitHubIO blob storage docs publish (#5636)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-17 09:35:10 -07:00
Azure SDK Bot
0869a14ff5
Sort the keys in devDependencies and overrides (#5629)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-05-16 17:42:52 -07:00
Azure SDK Bot
e8954d04ae
Convert live test clean-up to use WIF for open source api access (#5630)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-05-16 16:42:57 -07:00
Ahson Khan
741a71ceee
Update core changelog with attribution for a curl endless loop bug fix. (#5626)
* Update core changelog with attribution for a curl endless loop bug fix.

* Update cspell for contributor github alias.

* Fix typo in json, add a comma.
2024-05-16 12:02:50 -07:00
Anton Popov
5d3f95535a
fix possible endless loop while polling curl socket (#5589) 2024-05-16 12:02:01 -07:00
Azure SDK Bot
d41af3f1e2
Sync eng/common directory with azure-sdk-tools for PR 8267 (#5627)
* CODEOWNERS linter yml updates

* commit to add a space

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-16 11:56:18 -07:00
Ahson Khan
b7ae7b8987
Add retries to DisableCrlValidation test to improve reliability (#5537)
* Add retries to DisableCrlValidation test to improve reliability

* Add some test logging to CurlConnection ctor.

* Fix log level

* Revert changes to curl.cpp

* Reduce attempts to 3 and validate at least one passes.

* Remove unnecessary commented out code to reset CI.

* Remove unnecessary assert that won't fail.

* Remove unused variable.
2024-05-16 18:31:59 +00:00
AlexYue
c95f74a88b
it should be one cmake command instead of vcpkg command (#5622) 2024-05-16 10:52:55 -07:00
Ahson Khan
d895f82ef8
Add basic tests for GetMajor/Minor HTTP versions in the response. (#5613)
* Add basic tests for GetMajor/Minor HTTP versions in the response.

* Make the tests parameterized.

* Address PR feedback - add more test cases.
2024-05-16 10:51:50 -07:00
Ahson Khan
6b5a8d1e36
Update CURLCode error to the non-obsoleted value. (#5545) 2024-05-16 17:49:09 +00:00