Failed to build the mutated assembly due to unrecoverable error #2913
renzorodrigues
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I configured pipeline on Bitbucket and now I'm getting this error.
Version: 4.0.4
[11:10:07 INF] Analysis starting.
[11:10:07 INF] Identifying projects to mutate in /opt/atlassian/pipelines/agent/build/xcharge.sln. This can take a while.
[11:10:27 INF] Found 6 source projects
[11:10:27 INF] Found 2 test projects
[11:10:27 WRN] Project src/xcharge.API/xcharge.API.csproj will not be mutated because Stryker did not find a test project for it.
[11:10:27 WRN] Project src/xcharge.Infrastructure.Data/xcharge.Infrastructure.Data.csproj will not be mutated because Stryker did not find a test project for it.
[11:10:27 INF] Found project /opt/atlassian/pipelines/agent/build/src/xcharge.Domain/xcharge.Domain.csproj to mutate.
[11:10:27 WRN] Project src/xcharge.Infrastructure.Services/xcharge.Infrastructure.Services.csproj will not be mutated because Stryker did not find a test project for it.
[11:10:27 INF] Found project /opt/atlassian/pipelines/agent/build/src/xcharge.Application/xcharge.Application.csproj to mutate.
[11:10:27 WRN] Buildalyzer could not find sourcefiles. This should not happen. Will fallback to filesystem scan. Please report an issue at github.
[11:10:27 INF] Found project /opt/atlassian/pipelines/agent/build/src/xcharge.Shared/xcharge.Shared.csproj to mutate.
[11:10:27 INF] Analysis complete.
[11:10:27 INF] Building solution xcharge.sln
[11:10:42 INF] Number of tests found: 21 for project /opt/atlassian/pipelines/agent/build/src/xcharge.Domain/xcharge.Domain.csproj. Initial test run started.
[11:10:44 INF] Number of tests found: 21 for project /opt/atlassian/pipelines/agent/build/src/xcharge.Application/xcharge.Application.csproj. Initial test run started.
[11:10:46 INF] Number of tests found: 21 for project /opt/atlassian/pipelines/agent/build/src/xcharge.Shared/xcharge.Shared.csproj. Initial test run started.
[11:10:49 ERR] Failed to build the mutated assembly due to unrecoverable error: error CS0518: Predefined type 'System.Attribute' is not defined or imported
[11:10:50 ERR] An error occurred during the mutation test run
System.AggregateException: One or more errors occurred. (General Build Failure detected.)
Beta Was this translation helpful? Give feedback.
All reactions