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

Add hash calculation on Agent release #4592

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Merge branch 'master' into users/ismayilov-ismayil/agent-hash-validation

4c328e8
Select commit
Loading
Failed to load commit list.
Open

Add hash calculation on Agent release #4592

Merge branch 'master' into users/ismayilov-ismayil/agent-hash-validation
4c328e8
Select commit
Loading
Failed to load commit list.
Azure Pipelines / azure-pipelines-agent.ci failed Jan 17, 2024 in 10m 36s

Build #20240117.14 had test failures

Details

Tests

  • Failed: 4 (0.09%)
  • Passed: 4,597 (99.91%)
  • Other: 0 (0.00%)
  • Total: 4,601
Code coverage

  • 15352 of 41493 lines covered (37.00%)

Annotations

Check failure on line 649 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-agent.ci

Build log #L649

Bash exited with code '1'.

Check failure on line 1 in Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_multi_repos_should_return_correct_hash

See this annotation in the file changed.

@azure-pipelines 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

Check failure on line 1 in Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_returns_correct_hash

See this annotation in the file changed.

@azure-pipelines 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

Check failure on line 1 in Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_should_throw_when_parameters_invalid

See this annotation in the file changed.

@azure-pipelines 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

Check failure on line 1 in Microsoft.VisualStudio.Services.Agent.Tests.Worker.Build.TrackingConfigHashAlgorithmL0.ComputeHash_with_single_repo_should_return_correct_hash

See this annotation in the file changed.

@azure-pipelines 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