update projects to target dotnet 9 #416
8 fail, 82 pass in 16s
Annotations
Check warning on line 0 in Testing.ApiTests.HeaderTests
github-actions / C# Unit Tests
CheckCloudflareHeaderSizeLimit (Testing.ApiTests.HeaderTests) failed
./test-results/Testing.results.xml [took 15s]
Raw output
Shouldly.ShouldAssertException : failStatusCodes
should be empty but had
1
item and was
[HttpStatusCode.520] at Testing.ApiTests.HeaderTests.CheckCloudflareHeaderSizeLimit() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/HeaderTests.cs:line 34
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Check warning on line 0 in Testing.Fixtures.Tests.ServicesFixtureTests
github-actions / C# Unit Tests
CanSetupServices (Testing.Fixtures.Tests.ServicesFixtureTests) failed
./test-results/Testing.results.xml [took 1s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
at Testing.Fixtures.Tests.ServicesFixtureTests.<>c__DisplayClass0_0.<<CanSetupServices>b__0>d.MoveNext() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/Tests/ServicesFixtureTests.cs:line 13
at Shouldly.Should.CompleteIn(Task actual, TimeSpan timeout, String customMessage, String what) in /_/src/Shouldly/ShouldStaticClasses/ShouldCompleteInExtensions.cs:line 72
at Shouldly.Should.CompleteIn(Func`1 actual, TimeSpan timeout, String customMessage) in /_/src/Shouldly/ShouldStaticClasses/ShouldCompleteInExtensions.cs:line 27
at Testing.Fixtures.Tests.ServicesFixtureTests.CanSetupServices() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/Tests/ServicesFixtureTests.cs:line 16
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.LexCore.CrdtServerCommitTests
github-actions / C# Unit Tests
TypePropertyShouldAlwaysBeFirst (Testing.LexCore.CrdtServerCommitTests) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
Check warning on line 0 in Testing.LexCore.CrdtServerCommitTests
github-actions / C# Unit Tests
CanSaveServerCommit (Testing.LexCore.CrdtServerCommitTests) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
Check warning on line 0 in Testing.LexCore.CrdtServerCommitTests
github-actions / C# Unit Tests
CanRoundTripCommitChanges (Testing.LexCore.CrdtServerCommitTests) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
Check warning on line 0 in Testing.LexCore.Services.ProjectServiceTest
github-actions / C# Unit Tests
CanCreateProject (Testing.LexCore.Services.ProjectServiceTest) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
Check warning on line 0 in Testing.LexCore.Services.ProjectServiceTest
github-actions / C# Unit Tests
ShouldErrorIfCreatingAProjectWithTheSameCode (Testing.LexCore.Services.ProjectServiceTest) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68
Check warning on line 0 in Testing.LexCore.Services.ProjectServiceTest
github-actions / C# Unit Tests
CanUpdateProjectLangTags (Testing.LexCore.Services.ProjectServiceTest) failed
./test-results/Testing.results.xml [took 0s]
Raw output
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'LexBoxDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'. at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, TParam arg)
at Microsoft.EntityFrameworkCore.Diagnostics.RelationalLoggerExtensions.PendingModelChangesWarning(IDiagnosticsLogger`1 diagnostics, Type contextType)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.NpgsqlMigrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at LexData.DbStartupService.TryMigrate(DbContext dbContext, CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 81
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 52
at LexData.DbStartupService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/LexData/DbStartupService.cs:line 73
at Testing.Fixtures.TestingServicesFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/TestingServicesFixture.cs:line 68