Add hash calculation on Agent release #4592
Build #20240117.14 had test failures
Details
- Failed: 4 (0.09%)
- Passed: 4,597 (99.91%)
- Other: 0 (0.00%)
- Total: 4,601
- 15352 of 41493 lines covered (37.00%)
Annotations
Check failure on line 649 in Build log
azure-pipelines / azure-pipelines-agent.ci
Build log #L649
Bash exited with code '1'.
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_multi_repos_should_return_correct_hash
System.MissingMethodException : Method not found: 'Void Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty_callback(Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult<!!0>, System.String)'.
Raw output
at Castle.Proxies.Invocations.IArgUtilInstanced_ListNotNullOrEmpty.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.InvokeBase.HandleIntercept(ICallContext invocation, InterceptorContext ctx, CurrentInterceptContext localctx)
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty[T](IEnumerable`1 value, String name)
at Microsoft.VisualStudio.Services.Agent.Util.ArgUtil.ListNotNullOrEmpty[T](IEnumerable`1 value, String name) in /home/vsts/work/1/s/src/Agent.Sdk/Util/ArgUtil/ArgUtil.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TrackingConfigHashAlgorithm.ComputeHash(String collectionId, String definitionId, IList`1 repositories) in /home/vsts/work/1/s/src/Agent.Worker/Build/TrackingConfigHashAlgorithm.cs:line 24
at Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_multi_repos_should_return_correct_hash() in /home/vsts/work/1/s/src/Test/L0/Worker/Build/TrackingConfigHashAlgorithmL0.cs:line 163
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_returns_correct_hash
System.MissingMethodException : Method not found: 'Void Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty_callback(Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult<!!0>, System.String)'.
Raw output
at Castle.Proxies.Invocations.IArgUtilInstanced_ListNotNullOrEmpty.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.InvokeBase.HandleIntercept(ICallContext invocation, InterceptorContext ctx, CurrentInterceptContext localctx)
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty[T](IEnumerable`1 value, String name)
at Microsoft.VisualStudio.Services.Agent.Util.ArgUtil.ListNotNullOrEmpty[T](IEnumerable`1 value, String name) in /home/vsts/work/1/s/src/Agent.Sdk/Util/ArgUtil/ArgUtil.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TrackingConfigHashAlgorithm.ComputeHash(String collectionId, String definitionId, IList`1 repositories) in /home/vsts/work/1/s/src/Agent.Worker/Build/TrackingConfigHashAlgorithm.cs:line 24
at Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_returns_correct_hash() in /home/vsts/work/1/s/src/Test/L0/Worker/Build/TrackingConfigHashAlgorithmL0.cs:line 41
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_should_throw_when_parameters_invalid
Assert.Throws() Failure
Expected: typeof(System.ArgumentNullException)
Actual: typeof(System.MissingMethodException): Method not found: 'Void Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty_callback(Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult<!!0>, System.String)'.
Raw output
at Castle.Proxies.Invocations.IArgUtilInstanced_ListNotNullOrEmpty.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.InvokeBase.HandleIntercept(ICallContext invocation, InterceptorContext ctx, CurrentInterceptContext localctx)
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty[T](IEnumerable`1 value, String name)
at Microsoft.VisualStudio.Services.Agent.Util.ArgUtil.ListNotNullOrEmpty[T](IEnumerable`1 value, String name) in /home/vsts/work/1/s/src/Agent.Sdk/Util/ArgUtil/ArgUtil.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TrackingConfigHashAlgorithm.ComputeHash(String collectionId, String definitionId, IList`1 repositories) in /home/vsts/work/1/s/src/Agent.Worker/Build/TrackingConfigHashAlgorithm.cs:line 24
at Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.<>c__DisplayClass1_0.<ComputeHash_should_throw_when_parameters_invalid>b__1() in /home/vsts/work/1/s/src/Test/L0/Worker/Build/TrackingConfigHashAlgorithmL0.cs:line 66
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_single_repo_should_return_correct_hash
System.MissingMethodException : Method not found: 'Void Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty_callback(Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult<!!0>, System.String)'.
Raw output
at Castle.Proxies.Invocations.IArgUtilInstanced_ListNotNullOrEmpty.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.InvokeBase.HandleIntercept(ICallContext invocation, InterceptorContext ctx, CurrentInterceptContext localctx)
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ArgUtilInstancedProxy.ListNotNullOrEmpty[T](IEnumerable`1 value, String name)
at Microsoft.VisualStudio.Services.Agent.Util.ArgUtil.ListNotNullOrEmpty[T](IEnumerable`1 value, String name) in /home/vsts/work/1/s/src/Agent.Sdk/Util/ArgUtil/ArgUtil.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Worker.Build.TrackingConfigHashAlgorithm.ComputeHash(String collectionId, String definitionId, IList`1 repositories) in /home/vsts/work/1/s/src/Agent.Worker/Build/TrackingConfigHashAlgorithm.cs:line 24
at Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_single_repo_should_return_correct_hash() in /home/vsts/work/1/s/src/Test/L0/Worker/Build/TrackingConfigHashAlgorithmL0.cs:line 99