Skip to content

Import and process TPS CSV extract file #2264

Import and process TPS CSV extract file

Import and process TPS CSV extract file #2264

Triggered via pull request March 10, 2024 16:12
Status Failure
Total duration 3m 37s
Artifacts

pr.yml

on: pull_request
Validate Terraform
26s
Validate Terraform
Package application  /  Build & package
3m 27s
Package application / Build & package
DQT integration tests
0s
DQT integration tests
Deploy dev environment  /  Deploy to AKS
Deploy dev environment / Deploy to AKS
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
TeachingRecordSystem.Core.Tests.Services.WorkforceData.TpsCsvExtractProcessorTests ► ProcessNonMatchingEstablishments_WhenCalledWithEstablishmentsNotMatchingEstablishmentsInTrs_SetsResultToInvalidEstablishment: TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreateEstablishment.cs#L67
Failed test found in: TeachingRecordSystem/tests/TeachingRecordSystem.Core.Tests/TestResults/_fv-az700-379_2024-03-10_16_15_16.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23505: duplicate key value violates unique constraint "ix_establishment_urn" DETAIL: Key (urn)=(123457) already exists.
TeachingRecordSystem.Core.Tests.Services.WorkforceData.TpsCsvExtractProcessorTests ► ProcessNonMatchingTrns_WhenCalledWithTrnsNotMatchingPersonsInTrs_SetsResultToInvalidTrn: TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreateEstablishment.cs#L67
Failed test found in: TeachingRecordSystem/tests/TeachingRecordSystem.Core.Tests/TestResults/_fv-az700-379_2024-03-10_16_15_16.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23505: duplicate key value violates unique constraint "ix_establishment_urn" DETAIL: Key (urn)=(123456) already exists.
TeachingRecordSystem.Core.Tests.Services.WorkforceData.TpsCsvExtractProcessorTests ► ProcessUpdatedEmploymentHistory_WhenCalledWithUpdatedEmploymentHistory_UpdatesPersonEmploymentRecord: TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreateEstablishment.cs#L67
Failed test found in: TeachingRecordSystem/tests/TeachingRecordSystem.Core.Tests/TestResults/_fv-az700-379_2024-03-10_16_15_16.trx Error: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details. ---- Npgsql.PostgresException : 23505: duplicate key value violates unique constraint "ix_establishment_urn" DETAIL: Key (urn)=(123459) already exists.
Build & test
Process completed with exit code 1.
Build & test
Failed test were found and 'fail-on-error' option is set to true
Build & test
Linting changed files only