Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick for 1.17.1 patch release #19477

Merged
merged 23 commits into from
Feb 21, 2024

Changed command line argpasrse to process '--symmetric [True|False]'.…

d636587
Select commit
Loading
Failed to load commit list.
Merged

Cherry-pick for 1.17.1 patch release #19477

Changed command line argpasrse to process '--symmetric [True|False]'.…
d636587
Select commit
Loading
Failed to load commit list.
Azure Pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official failed Feb 21, 2024 in 9m 15s

Build #20240221.2 failed

Annotations

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official

Build log #L44

{"Errors":["Pipeline Validation Error: Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation"],"Warnings":[],"ServiceTreeId":"4cb52e54-39ee-48a0-bdee-8769e66888cb","Message":"\n##[section] Input Parameters:\nPipelineType = OneBranchBuild\r\nCollectionUrl = https://aiinfra.visualstudio.com/\r\nBuildDefinitionUrl = https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1067\r\nBuildUrl = https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=413586\r\nAccountName = aiinfra\r\nProjectName = Lotus\r\nRepoName = microsoft/onnxruntime\r\nRepoId = microsoft/onnxruntime\r\nProjectId = 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nBuildDefinitionId = 1067\r\nBuildId = 413586\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/cherry-pick-1.17.1\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nbuild_definition_id: 1067\r\nrepo_name: onnxruntime\r\nbranch_name: main,snnn/onebranch,master,rel-1.9.0\r\nbuild_type: Official\r\nservice_id: 4cb52e54-39ee-48a0-bdee-8769e66888cb\r\ntags: [\r\n  \u0022OneBranch Retail\u0022\r\n]\r\nallow_branch_regex: rel-*|user/.*\r\n\r\n##[section] Validation Logs:\nAuthToken from HttpHeaders is a valid PAT token.\r\n##[debug] ValidateReddogRecordAsync:\r\nSkip Reddog Validation because SkipReddogValidation flag is set to true.\r\nValidateReddogRecordAsync Status: Succeeded.\r\n##[debug] ValidateOnboardingRecordAsync:\r\n##[error] Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation\r\nValidateOnboardingRecordAsync Status: Failed.\r\n##[debug] ValidateBranchPoliciesAsync:\r\nSkip branch policies validation due to exception: System.FormatException: Unrecognized Guid format.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams, JsonObject onboardingRecord) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 490\r\nValidateBranchPoliciesAsync Status: Succeeded.\r\n##[debug] ValidateServiceTreeIdAndBuildTypeAsync:\r\nValidateServiceTreeIdAndBuildTypeAsync: Matching service tree Id found in product catalog and onboarding record: \u00274cb52e54-39ee-48a0-bdee-8769e66888cb\u0027.\r\nValidateServiceTreeIdAndBuildTypeAsync: this is an \u0027official\u0027 pipeline and the product catalog artifact has the \u0027production\u0027 tag.\r\n##[debug] AddBuildTagsAsync:\r\nAdding Build tags: onebranch_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\nBuild tags updated successfully: onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb, onebranch_build_type_Official.\r\n\r\n","InvocationId":"bb547f32-1fd3-4574-afce-daefa65f3ea4","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20240214.1\u002B73ea1e4b3d7146589bbc902301b1b5d3cfba1a8a","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-21T18:18:12.0217805Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official

Build log #L44

{"Errors":["Pipeline Validation Error: Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation"],"Warnings":[],"ServiceTreeId":"4cb52e54-39ee-48a0-bdee-8769e66888cb","Message":"\n##[section] Input Parameters:\nPipelineType = OneBranchBuild\r\nCollectionUrl = https://aiinfra.visualstudio.com/\r\nBuildDefinitionUrl = https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1067\r\nBuildUrl = https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=413586\r\nAccountName = aiinfra\r\nProjectName = Lotus\r\nRepoName = microsoft/onnxruntime\r\nRepoId = microsoft/onnxruntime\r\nProjectId = 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nBuildDefinitionId = 1067\r\nBuildId = 413586\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/cherry-pick-1.17.1\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nbuild_definition_id: 1067\r\nrepo_name: onnxruntime\r\nbranch_name: main,snnn/onebranch,master,rel-1.9.0\r\nbuild_type: Official\r\nservice_id: 4cb52e54-39ee-48a0-bdee-8769e66888cb\r\ntags: [\r\n  \u0022OneBranch Retail\u0022\r\n]\r\nallow_branch_regex: rel-*|user/.*\r\n\r\n##[section] Validation Logs:\nAuthToken from HttpHeaders is a valid PAT token.\r\n##[debug] ValidateReddogRecordAsync:\r\nSkip Reddog Validation because SkipReddogValidation flag is set to true.\r\nValidateReddogRecordAsync Status: Succeeded.\r\n##[debug] ValidateOnboardingRecordAsync:\r\n##[error] Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation\r\nValidateOnboardingRecordAsync Status: Failed.\r\n##[debug] ValidateBranchPoliciesAsync:\r\nSkip branch policies validation due to exception: System.FormatException: Unrecognized Guid format.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams, JsonObject onboardingRecord) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 490\r\nValidateBranchPoliciesAsync Status: Succeeded.\r\n##[debug] ValidateServiceTreeIdAndBuildTypeAsync:\r\nValidateServiceTreeIdAndBuildTypeAsync: Matching service tree Id found in product catalog and onboarding record: \u00274cb52e54-39ee-48a0-bdee-8769e66888cb\u0027.\r\nValidateServiceTreeIdAndBuildTypeAsync: this is an \u0027official\u0027 pipeline and the product catalog artifact has the \u0027production\u0027 tag.\r\n##[debug] AddBuildTagsAsync:\r\nAdding Build tags: onebranch_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\nBuild tags updated successfully: onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb, onebranch_build_type_Official.\r\n\r\n","InvocationId":"654f0111-985f-40ca-9818-b7922fc464b8","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20240214.1\u002B73ea1e4b3d7146589bbc902301b1b5d3cfba1a8a","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-21T18:19:11.0214985Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official

Build log #L44

{"Errors":["Pipeline Validation Error: Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation"],"Warnings":[],"ServiceTreeId":"4cb52e54-39ee-48a0-bdee-8769e66888cb","Message":"\n##[section] Input Parameters:\nPipelineType = OneBranchBuild\r\nCollectionUrl = https://aiinfra.visualstudio.com/\r\nBuildDefinitionUrl = https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1067\r\nBuildUrl = https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=413586\r\nAccountName = aiinfra\r\nProjectName = Lotus\r\nRepoName = microsoft/onnxruntime\r\nRepoId = microsoft/onnxruntime\r\nProjectId = 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nBuildDefinitionId = 1067\r\nBuildId = 413586\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/cherry-pick-1.17.1\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nbuild_definition_id: 1067\r\nrepo_name: onnxruntime\r\nbranch_name: main,snnn/onebranch,master,rel-1.9.0\r\nbuild_type: Official\r\nservice_id: 4cb52e54-39ee-48a0-bdee-8769e66888cb\r\ntags: [\r\n  \u0022OneBranch Retail\u0022\r\n]\r\nallow_branch_regex: rel-*|user/.*\r\n\r\n##[section] Validation Logs:\nAuthToken from HttpHeaders is a valid PAT token.\r\n##[debug] ValidateReddogRecordAsync:\r\nSkip Reddog Validation because SkipReddogValidation flag is set to true.\r\nValidateReddogRecordAsync Status: Succeeded.\r\n##[debug] ValidateOnboardingRecordAsync:\r\n##[error] Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation\r\nValidateOnboardingRecordAsync Status: Failed.\r\n##[debug] ValidateBranchPoliciesAsync:\r\nSkip branch policies validation due to exception: System.FormatException: Unrecognized Guid format.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams, JsonObject onboardingRecord) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 490\r\nValidateBranchPoliciesAsync Status: Succeeded.\r\n##[debug] ValidateServiceTreeIdAndBuildTypeAsync:\r\nValidateServiceTreeIdAndBuildTypeAsync: Matching service tree Id found in product catalog and onboarding record: \u00274cb52e54-39ee-48a0-bdee-8769e66888cb\u0027.\r\nValidateServiceTreeIdAndBuildTypeAsync: this is an \u0027official\u0027 pipeline and the product catalog artifact has the \u0027production\u0027 tag.\r\n##[debug] AddBuildTagsAsync:\r\nAdding Build tags: onebranch_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\nBuild tags updated successfully: onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb, onebranch_build_type_Official.\r\n\r\n","InvocationId":"ef281cd3-46e5-4509-95d2-6191ccb934ba","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20240214.1\u002B73ea1e4b3d7146589bbc902301b1b5d3cfba1a8a","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-21T18:19:17.5718167Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official

Build log #L44

{"Errors":["Pipeline Validation Error: Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation"],"Warnings":[],"ServiceTreeId":"4cb52e54-39ee-48a0-bdee-8769e66888cb","Message":"\n##[section] Input Parameters:\nPipelineType = OneBranchBuild\r\nCollectionUrl = https://aiinfra.visualstudio.com/\r\nBuildDefinitionUrl = https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1067\r\nBuildUrl = https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=413586\r\nAccountName = aiinfra\r\nProjectName = Lotus\r\nRepoName = microsoft/onnxruntime\r\nRepoId = microsoft/onnxruntime\r\nProjectId = 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nBuildDefinitionId = 1067\r\nBuildId = 413586\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/cherry-pick-1.17.1\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 530acbc4-21bc-487d-8cd8-348ff451d2ff\r\nbuild_definition_id: 1067\r\nrepo_name: onnxruntime\r\nbranch_name: main,snnn/onebranch,master,rel-1.9.0\r\nbuild_type: Official\r\nservice_id: 4cb52e54-39ee-48a0-bdee-8769e66888cb\r\ntags: [\r\n  \u0022OneBranch Retail\u0022\r\n]\r\nallow_branch_regex: rel-*|user/.*\r\n\r\n##[section] Validation Logs:\nAuthToken from HttpHeaders is a valid PAT token.\r\n##[debug] ValidateReddogRecordAsync:\r\nSkip Reddog Validation because SkipReddogValidation flag is set to true.\r\nValidateReddogRecordAsync Status: Succeeded.\r\n##[debug] ValidateOnboardingRecordAsync:\r\n##[error] Onboarding record validation: Official builds can only be queued on branches that were onboarded for official builds. You cannot change the target branch on which an official build can be performed after onboarding the build definition on a different branch - main,snnn/onebranch,master,rel-1.9.0. For details please see this wiki: https://aka.ms/obpipelines/official-build-validation\r\nValidateOnboardingRecordAsync Status: Failed.\r\n##[debug] ValidateBranchPoliciesAsync:\r\nSkip branch policies validation due to exception: System.FormatException: Unrecognized Guid format.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams, JsonObject onboardingRecord) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 490\r\nValidateBranchPoliciesAsync Status: Succeeded.\r\n##[debug] ValidateServiceTreeIdAndBuildTypeAsync:\r\nValidateServiceTreeIdAndBuildTypeAsync: Matching service tree Id found in product catalog and onboarding record: \u00274cb52e54-39ee-48a0-bdee-8769e66888cb\u0027.\r\nValidateServiceTreeIdAndBuildTypeAsync: this is an \u0027official\u0027 pipeline and the product catalog artifact has the \u0027production\u0027 tag.\r\n##[debug] AddBuildTagsAsync:\r\nAdding Build tags: onebranch_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\nBuild tags updated successfully: onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb, onebranch_build_type_Official.\r\n\r\n","InvocationId":"c6fda56e-6496-4440-a621-6c1de752e35d","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-wus-prod.azurewebsites.net","ProductVersion":"20240214.1\u002B73ea1e4b3d7146589bbc902301b1b5d3cfba1a8a","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-21T18:19:32.5226749Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}