Skip to content

ensure failed lookup requests are persisted too #51

ensure failed lookup requests are persisted too

ensure failed lookup requests are persisted too #51

GitHub Actions / altinn.notifications.integrationtests-check failed Apr 15, 2024 in 0s

ALTINN NOTIFICATIONS.INTEGRATIONTESTS

This test run completed at Mon, 15 Apr 2024 10:00:49 GMT

Details

Generic badge

Test Results - ALTINN NOTIFICATIONS.INTEGRATIONTESTS

Expand the following summaries for more details:

Duration: 151.738 seconds
Started: 2024-04-15T09:57:31.2553860+00:00
Creation: 2024-04-15T10:00:02.9931751+00:00
Queuing: 2024-04-15T09:57:38.6407101+00:00
Finished: 2024-04-15T10:00:02.9931751+00:00
Duration: 151.738 seconds
Outcome: Failed | Total Tests: 106 | Passed: 100 | Failed: 6
Total: 106
Executed: 106
Passed: 100
Failed: 6
Error: 0
Timeout: 0
Aborted: 0
Inconclusive: 0
PassedButRunAborted: 0
NotRunnable: 0
NotExecuted: 0
Disconnected: 0
Warning: 0
Completed: 0
InProgress: 0
Pending: 0
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithoutGatewayRef
ID: 442fb031-87bb-f6dc-ff44-5e0c785134bf
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithoutGatewayRef
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.2617106+00:00
End: 2024-04-15T10:00:02.2617106+00:00
Duration: 00:00:00.0141680
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name UpdateSendStatus_WithNotificationId_WithoutGatewayRef
Error Message:
System.AggregateException : One or more errors occurred. (53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Altinn.Notifications.Persistence.Repository.OrderRepository.Create(NotificationOrder order) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Persistence/Repository/OrderRepository.cs:line 94
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 109
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithoutGatewayRef() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 179
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.SetSmsResult_AllEnumValuesExistInDb
ID: 3591dde4-867d-90a8-8d84-d60460d276a4
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.SetSmsResult_AllEnumValuesExistInDb
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.1855540+00:00
End: 2024-04-15T10:00:02.1855541+00:00
Duration: 00:00:00.0699191
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name SetSmsResult_AllEnumValuesExistInDb
Error Message:
System.AggregateException : One or more errors occurred. (Exception thrown for SmsNotificationResultType: Sending. Exception: 53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Exception thrown for SmsNotificationResultType: Sending. Exception: 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Xunit.Sdk.FailException) -----
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.SetSmsResult_AllEnumValuesExistInDb() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 221
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetRecipients
ID: a4c14534-d236-8069-5574-bec3d3eb9a09
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetRecipients
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.2319711+00:00
End: 2024-04-15T10:00:02.2319711+00:00
Duration: 00:00:00.0287383
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name GetRecipients
Error Message:
System.AggregateException : One or more errors occurred. (53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Altinn.Notifications.Persistence.Repository.OrderRepository.Create(NotificationOrder order) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Persistence/Repository/OrderRepository.cs:line 94
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 109
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetRecipients() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 97
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithoutNotificationId_WithGatewayRef
ID: 45ae8510-4492-dd8e-d64b-80e33fd0a6aa
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithoutNotificationId_WithGatewayRef
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.2917362+00:00
End: 2024-04-15T10:00:02.2917363+00:00
Duration: 00:00:00.0145376
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name UpdateSendStatus_WithoutNotificationId_WithGatewayRef
Error Message:
System.AggregateException : One or more errors occurred. (53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Altinn.Notifications.Persistence.Repository.OrderRepository.Create(NotificationOrder order) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Persistence/Repository/OrderRepository.cs:line 94
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 109
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithoutNotificationId_WithGatewayRef() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 145
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetNewNotifications
ID: b5fdf21a-b38c-186b-30ac-807f3b043fa4
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetNewNotifications
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.3200802+00:00
End: 2024-04-15T10:00:02.3200803+00:00
Duration: 00:00:00.0137377
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name GetNewNotifications
Error Message:
System.AggregateException : One or more errors occurred. (53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Altinn.Notifications.Persistence.Repository.OrderRepository.Create(NotificationOrder order) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Persistence/Repository/OrderRepository.cs:line 94
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 109
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.GetNewNotifications() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 75
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31
❌ Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithGatewayRef
ID: fca3f8f3-8afe-6b39-6940-06358d78de60
Name: Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithGatewayRef
Outcome: Failed
Computer Name: fv-az564-627
Start: 2024-04-15T10:00:02.3472747+00:00
End: 2024-04-15T10:00:02.3472748+00:00
Duration: 00:00:00.0129754
Test Method Details:
Code Base /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/bin/Release/net8.0/Altinn.Notifications.IntegrationTests.dll
Class Name Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests
Method Name UpdateSendStatus_WithNotificationId_WithGatewayRef
Error Message:
System.AggregateException : One or more errors occurred. (53300: remaining connection slots are reserved for non-replication superuser connections) (53300: remaining connection slots are reserved for non-replication superuser connections)
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
---- Npgsql.PostgresException : 53300: remaining connection slots are reserved for non-replication superuser connections
Stack Trace:
----- Inner Stack Trace #1 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
   at Altinn.Notifications.Persistence.Repository.OrderRepository.Create(NotificationOrder order) in /home/runner/work/altinn-notifications/altinn-notifications/src/Altinn.Notifications.Persistence/Repository/OrderRepository.cs:line 94
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.PopulateDBWithOrderAndSmsNotification(String sendersReference) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 109
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.UpdateSendStatus_WithNotificationId_WithGatewayRef() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 117
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Npgsql.PostgresException) -----
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Npgsql.Internal.NpgsqlConnector.g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.PoolingDataSource.g__RentAsync|34_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataSourceCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteNonQuery()
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Utils.PostgreUtil.RunSql(String query) in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Utils/PostgreUtil.cs:line 139
   at Altinn.Notifications.IntegrationTests.Notifications.Persistence.SmsNotificationRepositoryTests.DisposeAsync() in /home/runner/work/altinn-notifications/altinn-notifications/test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs:line 31