Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Cameron Aavik 6722ac3d71
Fix sanity check arg (#4464) 2024-09-18 06:32:15 +10:00
Cameron Aavik 254b737747
Supporting changes to implement python pipeline for performance runs on runtime repo (#4156)
* Make changes to python pipeline for runtime repo

* More fixes

* Clean up some parts

* Add latest changes from runtime repo

* Fix wasm bundle path and add arg support for local commit time

* Fix local commit time code

* Only set core_root for coreclr runs

* Fix ios hello world copying

* Fix wasm copying and prereq check on linux

* Fix wasm args quoting and PreparePayloadWorkItems usage

* Use new browser versions path

* Fix prerequisites script building

* Fix wasm args building

* Fix directory creation and prevent pip reinstalls

* Fix trailing space on wasm args

* More various fixes

* Fix file copy into root

* Fix FailOnTestFailure value

* Include recent changes from runtime repo

* Only build startup and SOD for runtime scenarios

* Fix infinite loop in zip creation

* Fix some directory issues

* Fix some copytree logic

* Copy ios apps into correct dir

* Fix iosSampleApp copying + add better logging

* Fix PDN download and error code

* Address PR comments

* Fix incorrect tfm condition check

* Address PR comments
2024-09-17 07:17:05 +10:00
Parker Bibus 0618d71d60
Update Maui Versions and name for runtime version (#4396)
Update Maui versions and rollback channels.
2024-08-15 10:20:18 -07:00
Parker Bibus 7ac5c58b29
Update Maui version flows (#4321)
Updated how we get the dotnet version and rollback file for Maui .Net testing. Specifically updated from using maui generated information stored as json at certain urls to generating it based on maestro/darc updated version information now stored in the dotnet/performance Version.Details.XML. This means that we will be in charge of merging the maestro PRs for these versions as well as meaning we will have the option to further gate and better track versions between runs.
2024-08-01 14:32:40 -07:00
Cameron Aavik 6151741fab
Enable log verbosity on seutp build commands (#4347) 2024-07-30 08:36:11 +10:00
Cameron Aavik 2068136cb1
Use correct python executable inside venv for perf tests on Windows (#4339)
* Use correct python executable inside venv

* Put "echo on" on windows, not linux
2024-07-26 07:26:44 +10:00
Parker Bibus 6f22a8b0bb
Add OpenTelemetry capabilities to python scripts (#4063)
* Attach basic log provider to the python logging we already have setup.

* Add more tracer spans and include them in ci_setup.py

* Add tracer.py helper file.

* Add opentelemetry api and sdk to install precommands.

* Wrap opentelemetry logging in try except so that normally logging still works without opentelemetry installed.

* Add support for the logging and tracing libraries to be imported and in code even without OpenTelemetry installed on the machine. This was accomplished by making no-op flows for when OpenTelemetry is not installed, and creating an AwareTracer that no-ops the Tracer start_as_current_span decorator when OTel is not installed.
2024-07-23 09:05:36 -07:00
Cameron Aavik 9086621167
Bump urllib3 from 1.26.18 to 1.26.19 (#4319) 2024-07-20 13:18:30 +10:00
Cameron Aavik b16e62227b
Download PDN with Managed Identity (#4287)
* Use managed identity to download PDN

* fix indentation in yaml

* Specify auth mode and place PDN zip in working directory

* Fix pdn path

* Fix broken escape sequence

* Move condition to if statement, use artifact staging dir

* Use condition instead of if statement

* Fix console arg quoting
2024-07-02 05:47:19 +10:00
Parker Bibus 04a3afef57
Update azure.storage.blob/queue and azure.identity pip install packages. (#4263) 2024-06-13 09:52:25 -07:00
Drew Scoggins b459418f82
Reapply "Add DAC as a cred source before we use SAS token (#4216)" (#4252) (#4257)
* Reapply "Add DAC as a cred source before we use SAS token (#4216)" (#4252)
2024-06-10 10:31:43 -07:00
Parker Bibus 40a4000a4c
Revert "Add DAC as a cred source before we use SAS token (#4216)" (#4252)
This reverts commit efa42472bf.
2024-06-05 11:04:58 -07:00
Drew Scoggins efa42472bf
Add DAC as a cred source before we use SAS token (#4216)
* Add DAC as a cred source before we use SAS token

* Update creds to use federated model

* Use correct app id

* Fix scopes for federated credential

* Add client and tenant id as constants
2024-06-04 15:39:25 -07:00
Parker Bibus 482ffb53f1
Setup performance-ci runs to only use the 9.0 and 8.0 branch from channel map when running for main to ensure non-main runs don't get included in main runs. (#4054) 2024-03-19 11:01:24 -07:00
Cameron Aavik f54f703c84
Don't set branch on performance CI runs (#4031) 2024-03-07 13:28:20 -08:00
Cameron Aavik 06b0d49c84
Set _BuildConfig earlier (#3903) 2024-02-13 11:36:54 +10:00
Cameron Aavik 9a6ab436db
Consolidate yaml/script/proj logic into a single python script that is reusable across all contexts (#3806)
* CI Python Pipeline

* Fix yaml

* More bug fixes

* Ensure helix access token is propagated

* Ensure variables are always defined in yaml

* Fix env var parsing

* Prevent passing in commit sha for performance ci runs

* Ensure root payload dir is created

* Fix Nuget.config copy code

* More bug fixes for scenarios runs

* Remove pip install and ensure payload dir has ending path segment

* Also ensure dotnet dir has path segment

* Some more fix attempts

* Install python packages on osx, fix runtime flavour argument

* Try pass perf command token via env

* Fix PDN output file path being treated as a directory

* Try fix scenarios directories

* Install urllib last so that it doesn't get reinstalled by azure storage packages

* Don't install packages at the user-level as it will be in a venv

* Some more fixes

* Fix more bugs

* Delete the right directory

* Disable node reuse and fix escaping for azure pipelines variables

* Don't run apt-get on osx

* Debugging the env var

* Fix duplicate upload token

* Ensure _BuildConfig is set

* Default to not internal and fix pdn param

* Disable prerequisite check if no prerequisites

* Fix some more warnings

* Fix not_in_lab value for performance CI runs

* Ensure PerfLabGenericEventSourceLTTngProvider is build on ubuntu

* Remember to run the command

* Ensure updated global.json is copied to payload

* Support runCategories and csproj in benchmark_jobs.yml

* Fix typo in yaml

* Try surround csproj path with quotes to keep backslash

* Convert target csproj path to target OS path

* Fix performance directory issues

* Fix SYSTEM_ACCESSTOKEN not being propagated

* Add binlog output when building all scenario dotnet projects

* Update scripts/run_performance_job.py

Co-authored-by: Parker Bibus <pbibus@hotmail.com>

---------

Co-authored-by: Parker Bibus <pbibus@hotmail.com>
2024-02-07 08:02:44 +10:00
Parker Bibus a72a41ae54
Update urllib to 1.26.18. (#3775) 2024-01-18 09:38:18 -08:00
Jiri Cincura ↹ 2525ba2571
Add support for specifying "experiment name". (#3489) 2023-11-15 14:58:26 +01:00
Jiri Cincura ↹ e95893374f
Cleanup and fix some R2R and Physical Promotion configs. (#3487) 2023-11-13 19:27:48 +01:00
Cameron Aavik ea751d5757
Re-add CiSetupArgs as a normal python class (#3252) 2023-08-14 14:10:34 +10:00
Cameron Aavik d85a49791e
Crank runner for Helix (#3230)
- General improvements to python scripting in repo
2023-08-11 19:08:09 +10:00