Generate .NET SDK for Microsoft.Insights metric alerts 2024-03-01-preview version #53565
Build #20260325.1 had test failures
Details
- Failed: 5,555 (45.17%, 0 new, 5,555 recurring)
- Passed: 3,274 (26.62%)
- Other: 3,468 (28.20%)
- Total: 12,297
- 10294 of 115453 line covered (8.92%)
Annotations
Check failure on line 12055 in Build log
azure-pipelines / net - ai - tests
Build log #L12055
Command failed to execute (00:01:59.1241933): dotnet test eng/service.proj --framework net8.0 --filter "TestCategory!=Manually & (Placeholder!=DefaultIgnoreMe)" --logger trx --logger:"console;verbosity=normal" --blame-crash-dump-type full --blame-hang-dump-type full --blame-hang-timeout 60minutes /p:SDKType=all /p:ServiceDirectory=ai /p:Project=** /p:IncludeSrc=false /p:IncludeSamples=false /p:IncludePerf=false /p:IncludeStress=false /p:BuildInParallel=True /p:CollectCoverage=false /p:CodeCoverageDirectory=/mnt/vss/_work/1/s\sdk\ai /p:EnableSourceLink=false /p:UseProjectReferenceToAzureClients=false
Check failure on line 12059 in Build log
azure-pipelines / net - ai - tests
Build log #L12059
PowerShell exited with code '1'.
Check failure on line 12055 in Build log
azure-pipelines / net - ai - tests
Build log #L12055
Command failed to execute (00:02:21.8821679): dotnet test eng/service.proj --framework net10.0 --filter "TestCategory!=Manually & (Placeholder!=DefaultIgnoreMe)" --logger trx --logger:"console;verbosity=normal" --blame-crash-dump-type full --blame-hang-dump-type full --blame-hang-timeout 60minutes /p:SDKType=all /p:ServiceDirectory=ai /p:Project=** /p:IncludeSrc=false /p:IncludeSamples=false /p:IncludePerf=false /p:IncludeStress=false /p:BuildInParallel=True /p:CollectCoverage=false /p:CodeCoverageDirectory=/mnt/vss/_work/1/s\sdk\ai /p:EnableSourceLink=false /p:UseProjectReferenceToAzureClients=false
Check failure on line 12059 in Build log
azure-pipelines / net - ai - tests
Build log #L12059
PowerShell exited with code '1'.
azure-pipelines / net - ai - tests
Azure.AI.Agents.Persistent.Tests.PersistentAgentTelemetryTests(True).TestAgentChatWithFunctionToolTracingContentRecordingDisabled(True)
System.InvalidOperationException : Unable to find environment variable AI_PROJECT_ENDPOINT or PROJECT_ENDPOINT required by test.
Make sure the test environment was initialized using the eng/common/TestResources/New-TestResources.ps1 script.
Raw output
at Azure.Core.TestFramework.TestEnvironment.EnsureValue(String name, String value) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 541
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name, Action`1 options) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 473
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 458
at Azure.AI.Agents.Persistent.Tests.AIAgentsTestEnvironment.get_PROJECT_ENDPOINT() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/AIAgentsTestEnvironment.cs:line 10
at Azure.AI.Agents.Persistent.Tests.PersistentAgentTelemetryTests.GetClient() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTelemetryTests.cs:line 87
at Azure.AI.Agents.Persistent.Tests.PersistentAgentTelemetryTests.TestAgentChatWithFunctionToolTracingContentRecordingDisabled(Boolean argumentAsList) in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTelemetryTests.cs:line 1001
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
azure-pipelines / net - ai - tests
Azure.AI.Agents.Persistent.Tests.Sample_PersistentAgents_Enterprise_File_Search.EnterpriseFileSearch
System.InvalidOperationException : Unable to find environment variable AI_PROJECT_ENDPOINT or PROJECT_ENDPOINT required by test.
Make sure the test environment was initialized using the eng/common/TestResources/New-TestResources.ps1 script.
Raw output
at Azure.Core.TestFramework.TestEnvironment.EnsureValue(String name, String value) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 541
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name, Action`1 options) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 473
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 458
at Azure.AI.Agents.Persistent.Tests.AIAgentsTestEnvironment.get_PROJECT_ENDPOINT() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/AIAgentsTestEnvironment.cs:line 10
at Azure.AI.Agents.Persistent.Tests.Sample_PersistentAgents_Enterprise_File_Search.EnterpriseFileSearch() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/Samples/Sample_PersistentAgents_Enterprise_File_Search.cs:line 127
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 1 in Azure.AI.Agents.Persistent.Tests.Readme.Troubleshooting
azure-pipelines / net - ai - tests
Azure.AI.Agents.Persistent.Tests.Readme.Troubleshooting
System.InvalidOperationException : Unable to find environment variable AI_PROJECT_ENDPOINT or PROJECT_ENDPOINT required by test.
Make sure the test environment was initialized using the eng/common/TestResources/New-TestResources.ps1 script.
Raw output
at Azure.Core.TestFramework.TestEnvironment.EnsureValue(String name, String value) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 541
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name, Action`1 options) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 473
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 458
at Azure.AI.Agents.Persistent.Tests.AIAgentsTestEnvironment.get_PROJECT_ENDPOINT() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/AIAgentsTestEnvironment.cs:line 10
at Azure.AI.Agents.Persistent.Tests.Readme.Troubleshooting() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/Samples/Readme.cs:line 30
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / net - ai - tests
Azure.AI.Agents.Persistent.Tests.PersistentAgentsTests(False).TestListRunsAfterAndBefore
System.InvalidOperationException : Unable to find environment variable AI_PROJECT_CONNECTION_STRING or PROJECT_CONNECTION_STRING required by test.
Make sure the test environment was initialized using the eng/common/TestResources/New-TestResources.ps1 script.
TearDown : System.InvalidOperationException : Unable to find environment variable AI_PROJECT_ENDPOINT or PROJECT_ENDPOINT required by test.
Make sure the test environment was initialized using the eng/common/TestResources/New-TestResources.ps1 script.
Raw output
at Azure.Core.TestFramework.TestEnvironment.EnsureValue(String name, String value) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 541
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name, Action`1 options) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 473
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 458
at Azure.AI.Agents.Persistent.Tests.AIAgentsTestEnvironment.get_PROJECT_CONNECTION_STRING() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/AIAgentsTestEnvironment.cs:line 11
at Azure.AI.Agents.Persistent.Tests.PersistentAgentsTests.GetClient() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTests.cs:line 2541
at Azure.AI.Agents.Persistent.Tests.PersistentAgentsTests.TestListRunsAfterAndBefore() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTests.cs:line 700
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--TearDown
at Azure.Core.TestFramework.TestEnvironment.EnsureValue(String name, String value) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 541
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name, Action`1 options) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 473
at Azure.Core.TestFramework.TestEnvironment.GetRecordedVariable(String name) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs:line 458
at Azure.AI.Agents.Persistent.Tests.AIAgentsTestEnvironment.get_PROJECT_ENDPOINT() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/AIAgentsTestEnvironment.cs:line 10
at Azure.AI.Agents.Persistent.Tests.PersistentAgentsTests.Cleanup() in /mnt/vss/_work/1/s/sdk/ai/Azure.AI.Agents.Persistent/tests/PersistentAgentsTests.cs:line 2897
at InvokeStub_PersistentAgentsTests.Cleanup(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)