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

[Rust] fix ORT_RUST_STRATEGY env var in rust ci #18362

Closed
wants to merge 10 commits into from

try rust flags for windows

55c0057
Select commit
Loading
Failed to load commit list.
Closed

[Rust] fix ORT_RUST_STRATEGY env var in rust ci #18362

try rust flags for windows
55c0057
Select commit
Loading
Failed to load commit list.
Azure Pipelines / onnxruntime-Nuget-WindowsAI-Pipeline-Official failed Nov 29, 2023 in 8m 14s

Build #20231129.3 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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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=384921\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 = 384921\r\nBuildType = Official\r\nSourceBranch = refs/pull/18362/head\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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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 should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\r\n   at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at System.Guid.TryParseGuid(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 505\r\nValidateBranchPoliciesAsync Status: Succeeded.\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":"9c59337f-4342-4929-b8c9-10d0be39abb5","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20231117.1\u002B188f3efe628478181ddaacddb7d7b71a57c0e13f","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2023-11-29T18:41:24.0145992Z","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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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=384921\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 = 384921\r\nBuildType = Official\r\nSourceBranch = refs/pull/18362/head\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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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 should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\r\n   at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at System.Guid.TryParseGuid(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 505\r\nValidateBranchPoliciesAsync Status: Succeeded.\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":"584e2880-c074-479f-af36-fdfd1502f385","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20231117.1\u002B188f3efe628478181ddaacddb7d7b71a57c0e13f","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2023-11-29T18:43:02.0168243Z","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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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=384921\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 = 384921\r\nBuildType = Official\r\nSourceBranch = refs/pull/18362/head\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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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 should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\r\n   at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at System.Guid.TryParseGuid(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 505\r\nValidateBranchPoliciesAsync Status: Succeeded.\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":"b671bb4c-1981-4cc7-b6fe-86181a412b76","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20231117.1\u002B188f3efe628478181ddaacddb7d7b71a57c0e13f","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2023-11-29T18:43:07.4167636Z","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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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=384921\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 = 384921\r\nBuildType = Official\r\nSourceBranch = refs/pull/18362/head\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 build is not allowed from the PullRequest branch: \u0027refs/pull/18362/head\u0027. 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 should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\r\n   at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)\r\n   at System.Guid.TryParseExactN(ReadOnlySpan\u00601 guidString, GuidResult\u0026 result)\r\n   at System.Guid.TryParseGuid(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 505\r\nValidateBranchPoliciesAsync Status: Succeeded.\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":"6aaf59e6-1aa9-433b-bca9-1b26a24aa065","FunctionName":"ValidatePipelineFunction","WebsiteHostname":"ops-functionapp-eus-prod.azurewebsites.net","ProductVersion":"20231117.1\u002B188f3efe628478181ddaacddb7d7b71a57c0e13f","UserId":null,"UserAgent":"Mozilla/5.0","StatusCode":417,"Date":"2023-11-29T18:43:15.0468299Z","Error":"","Details":"","GenevaLogUrl":"","LogUrl":""}