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

Update OneBranch official yml file #643

Closed
wants to merge 2 commits into from

Merge branch 'main' into yguo/fix-one-branch-yml

3e14cdf
Select commit
Loading
Failed to load commit list.
Closed

Update OneBranch official yml file #643

Merge branch 'main' into yguo/fix-one-branch-yml
3e14cdf
Select commit
Loading
Failed to load commit list.
Azure Pipelines / onnxruntime-extensions-Official cancelled Feb 5, 2024 in 4m 20s

Build #20240205.3 was canceled

Annotations

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-extensions-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. 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/ONNX Runtime/_build?definitionId=1182\r\nBuildUrl = https://dev.azure.com/aiinfra/ONNX Runtime/_build/results?buildId=407072\r\nAccountName = aiinfra\r\nProjectName = ONNX Runtime\r\nRepoName = microsoft/onnxruntime-extensions\r\nRepoId = microsoft/onnxruntime-extensions\r\nProjectId = 6a833879-cd9b-44a4-a9de-adc2d818f13c\r\nBuildDefinitionId = 1182\r\nBuildId = 407072\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/fix-one-branch-yml\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 6a833879-cd9b-44a4-a9de-adc2d818f13c\r\nbuild_definition_id: 1182\r\nrepo_name: onnxruntime_build_scripts\r\nbranch_name: main\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-*\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. 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: Guid string should only contain hexadecimal characters.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 489\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_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\n\r\n","InvocationId":"0e7b3d9e-b8ce-4f7e-b6a3-442aabe7a722","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20240130.3\u002B6acd0afc225f851386fd4807259947946921f560","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-05T23:01:16.082802Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}

Check failure on line 44 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onnxruntime-extensions-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. 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/ONNX Runtime/_build?definitionId=1182\r\nBuildUrl = https://dev.azure.com/aiinfra/ONNX Runtime/_build/results?buildId=407072\r\nAccountName = aiinfra\r\nProjectName = ONNX Runtime\r\nRepoName = microsoft/onnxruntime-extensions\r\nRepoId = microsoft/onnxruntime-extensions\r\nProjectId = 6a833879-cd9b-44a4-a9de-adc2d818f13c\r\nBuildDefinitionId = 1182\r\nBuildId = 407072\r\nBuildType = Official\r\nSourceBranch = refs/heads/yguo/fix-one-branch-yml\r\nSkipOfficialValidation = false\r\nSkipReddogValidation = true\r\nSkipPoliciesValidation = false\r\nSkipAddBuildTags = false\r\n\n##[section] Onboarding Record:\naccount_name: aiinfra\r\nproject_id: 6a833879-cd9b-44a4-a9de-adc2d818f13c\r\nbuild_definition_id: 1182\r\nrepo_name: onnxruntime_build_scripts\r\nbranch_name: main\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-*\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. 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: Guid string should only contain hexadecimal characters.\r\n   at System.Guid.GuidResult.SetFailure(ParseFailure failureKind)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at Ops.Api.Helpers.PipelineValidationHelper.ValidateBranchPoliciesAsync(AdoClient adoClient, PipelineValidationParameters pipelineParams) in C:\\__w\\1\\s\\src\\Ops.Api\\Helpers\\PipelineValidationHelper.cs:line 489\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_build_type_Official, onebranch_service_tree_id_4cb52e54-39ee-48a0-bdee-8769e66888cb.\r\n\r\n","InvocationId":"9d4aec43-7f8e-41ba-9110-e38d4ec3cc5e","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20240130.3\u002B6acd0afc225f851386fd4807259947946921f560","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2024-02-05T23:03:03.0894455Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}