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

[Do not review] New schema with reference separation #4710

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

change capture

848195c
Select commit
Loading
Failed to load commit list.
Open

[Do not review] New schema with reference separation #4710

change capture
848195c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR Build & Deploy failed Nov 19, 2024 in 1h 7m 18s

Build #20307pr471030 had test failures

Details

Tests

  • Failed: 8 (0.03%)
  • Passed: 28,903 (97.90%)
  • Other: 611 (2.07%)
  • Total: 29,522
Code coverage

  • 9418 of 32062 branches covered (29.37%)
  • 26331 of 84110 lines covered (31.31%)

Annotations

Check failure on line 438 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Build log #L438

Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1

Check failure on line 443 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Build log #L443

Dotnet command failed with non-zero exit code on the following projects : [ '' ]

Check failure on line 396 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Build log #L396

Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1

Check failure on line 401 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Build log #L401

Dotnet command failed with non-zero exit code on the following projects : [ '' ]

Check failure on line 1 in Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds

System.InvalidOperationException : Failure using schema version 80
---- Microsoft.Data.SqlClient.SqlException : Invalid column name 'OffsetInFile'.
Raw output
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.<>c.<<GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds>b__1_1>d.MoveNext() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 114
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.<>c.<<GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds>b__1_1>d.MoveNext() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 120
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 92
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
   at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at Microsoft.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.<>c__DisplayClass30_0.<<SearchImpl>b__0>d.MoveNext() in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 387
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Storage.SqlRetryService.ExecuteSql(Func`4 action, ILogger logger, CancellationToken cancellationToken, Boolean isReadOnly) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlRetry/SqlRetryService.cs:line 239
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchImpl(SqlSearchOptions sqlSearchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 336
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchAsync(SearchOptions searchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 149
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.LoadSearchParamsFromDataStore(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 353
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.EnsureInitializedAsync(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager

Check failure on line 1 in Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds

System.InvalidOperationException : Failure using schema version 80
---- Microsoft.Data.SqlClient.SqlException : Invalid column name 'OffsetInFile'.
Raw output
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 70
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 78
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
   at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at Microsoft.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.<>c__DisplayClass30_0.<<SearchImpl>b__0>d.MoveNext() in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 387
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Storage.SqlRetryService.ExecuteSql(Func`4 action, ILogger logger, CancellationToken cancellationToken, Boolean isReadOnly) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlRetry/SqlRetryService.cs:line 239
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchImpl(SqlSearchOptions sqlSearchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 336
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchAsync(SearchOptions searchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 149
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.LoadSearchParamsFromDataStore(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 353
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.EnsureInitializedAsync(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 93
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerFhirStorageTestsFixture.InitializeAsync() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerFhirStorageTestsFixture.cs:line 314
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.FhirStorageTestsFixture.InitializeAsync() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/FhirStorageTestsFixture.cs:line 143
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests

Check failure on line 1 in Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds

System.InvalidOperationException : Failure using schema version 81
---- Microsoft.Data.SqlClient.SqlException : Invalid column name 'OffsetInFile'.
Raw output
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.<>c.<<GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds>b__1_1>d.MoveNext() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 114
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.<>c.<<GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds>b__1_1>d.MoveNext() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 120
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchema_WhenUpserting_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 92
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
   at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at Microsoft.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.<>c__DisplayClass30_0.<<SearchImpl>b__0>d.MoveNext() in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 387
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Storage.SqlRetryService.ExecuteSql(Func`4 action, ILogger logger, CancellationToken cancellationToken, Boolean isReadOnly) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlRetry/SqlRetryService.cs:line 239
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchImpl(SqlSearchOptions sqlSearchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 336
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchAsync(SearchOptions searchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 149
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.LoadSearchParamsFromDataStore(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 353
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.EnsureInitializedAsync(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager

Check failure on line 1 in Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Build & Deploy

Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests(SqlServer).GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds

System.InvalidOperationException : Failure using schema version 80
---- Microsoft.Data.SqlClient.SqlException : Invalid column name 'OffsetInFile'.
Raw output
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 70
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests.GivenADatabaseWithAnEarlierSupportedSchemaAndUpgraded_WhenUpsertingAfter_OperationSucceeds() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerSqlCompatibilityTests.cs:line 78
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
   at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at Microsoft.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)
   at Microsoft.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.<>c__DisplayClass30_0.<<SearchImpl>b__0>d.MoveNext() in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 387
--- End of stack trace from previous location ---
   at Microsoft.Health.Fhir.SqlServer.Features.Storage.SqlRetryService.ExecuteSql(Func`4 action, ILogger logger, CancellationToken cancellationToken, Boolean isReadOnly) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlRetry/SqlRetryService.cs:line 239
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchImpl(SqlSearchOptions sqlSearchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 336
   at Microsoft.Health.Fhir.SqlServer.Features.Search.SqlServerSearchService.SearchAsync(SearchOptions searchOptions, CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.SqlServer/Features/Search/SqlServerSearchService.cs:line 149
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.LoadSearchParamsFromDataStore(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 353
   at Microsoft.Health.Fhir.Core.Features.Definition.SearchParameterDefinitionManager.EnsureInitializedAsync(CancellationToken cancellationToken) in /_/src/Microsoft.Health.Fhir.Core/Features/Definition/SearchParameterDefinitionManager.cs:line 93
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerFhirStorageTestsFixture.InitializeAsync() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/SqlServerFhirStorageTestsFixture.cs:line 314
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.FhirStorageTestsFixture.InitializeAsync() in /_/test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/FhirStorageTestsFixture.cs:line 143
   at Microsoft.Health.Fhir.Tests.Integration.Persistence.SqlServerSqlCompatibilityTests