OSOE-353: Add duplicate SQL query detector in Lombiq.UITestingToolbox #7349
Annotations
3 errors and 2 warnings
test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs#L78
System.AggregateException: There were exceptions out of the test execution context. ( A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9010/Admin Database command execute counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Count: 3 Counter value is greater then SessionThreshold.DbCommandExcludingParametersExecutionThreshold, threshold: 0. ) ---> Lombiq.Tests.UI.Exceptions.CounterThresholdException: A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9010/Admin Database command execute counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Count: 3 Counter value is greater then SessionThreshold.DbCommandExcludingParametersExecutionThreshold, threshold: 0. at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass125_0`1.<AssertIntegerCounterValue>b__1(TKey key) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 360 at System.Collections.Generic.EnumerableExtensions.ForEach[T](IEnumerable`1 source, Action`1 action, Action`1 beforeFirst) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/src/Libraries/Lombiq.HelpfulLibraries/Lombiq.HelpfulLibraries.Common/Extensions/EnumerableExtensions.cs:line 51 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.AssertIntegerCounterValue[TKey](ICounterProbe probe, Func`2 excludeFilter, String thresholdName, Int32 threshold) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 352 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass124_0.<DefaultAssertCounterData>b__0(ICounterDataCollector collector, ICounterProbe probe) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 328 --- End of inner exception stack trace --- at Lombiq.Tests.UI.Services.CounterDataCollector.AssertCounter() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs:line 78 at Lombiq.Tests.UI.Services.UITestExecutionSession.EndAssertDataCollection() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 183 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 131 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 153 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 166 at Lombiq.Tests.UI.Services.UITestExecutor.ExecuteOrchardCoreTestInnerAsync(WebApplicationInstanceFactory webApplicationInstanceFactory, UITestManifest testManifest, OrchardCoreUITestExecutorConfiguration configuration, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestEx
|
test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs#L78
System.AggregateException: There were exceptions out of the test execution context. ( A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9018/Admin Database reader read counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Parameters: [0]Type = OrchardCore.AdminMenu.Models.AdminMenuList, OrchardCore.AdminMenu Count: 2 Counter value is greater then SessionThreshold.DbReaderReadThreshold, threshold: 0. ) ---> Lombiq.Tests.UI.Exceptions.CounterThresholdException: A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9018/Admin Database reader read counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Parameters: [0]Type = OrchardCore.AdminMenu.Models.AdminMenuList, OrchardCore.AdminMenu Count: 2 Counter value is greater then SessionThreshold.DbReaderReadThreshold, threshold: 0. at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass125_0`1.<AssertIntegerCounterValue>b__1(TKey key) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 360 at System.Collections.Generic.EnumerableExtensions.ForEach[T](IEnumerable`1 source, Action`1 action, Action`1 beforeFirst) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/src/Libraries/Lombiq.HelpfulLibraries/Lombiq.HelpfulLibraries.Common/Extensions/EnumerableExtensions.cs:line 51 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.AssertIntegerCounterValue[TKey](ICounterProbe probe, Func`2 excludeFilter, String thresholdName, Int32 threshold) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 352 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass124_0.<DefaultAssertCounterData>b__0(ICounterDataCollector collector, ICounterProbe probe) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 333 --- End of inner exception stack trace --- at Lombiq.Tests.UI.Services.CounterDataCollector.AssertCounter() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs:line 78 at Lombiq.Tests.UI.Services.UITestExecutionSession.EndAssertDataCollection() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 183 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 131 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 153 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 166 at Lombiq.Tests.UI.Services.UITestExecutor.ExecuteOrchardCoreTestInnerAsync(WebApplicationInstanceFactory webApplicationInstanceFactory, UITestManifest testManifest, OrchardCoreUITestExecutorConfiguration configuration, String dumpRootPath) in /home/runner/work/Open-Source-
|
test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs#L78
System.AggregateException: There were exceptions out of the test execution context. ( A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9048/Admin Database command with parameters execute counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Parameters: [0]Type = OrchardCore.AdminMenu.Models.AdminMenuList, OrchardCore.AdminMenu Count: 2 Counter value is greater then SessionThreshold.DbCommandIncludingParametersExecutionCountThreshold, threshold: 0. ) ---> Lombiq.Tests.UI.Exceptions.CounterThresholdException: A counter value has crossed the configured threshold level. Details: SessionProbe, [GET]https://localhost:9048/Admin Database command with parameters execute counter Query: SELECT [Document].* FROM [Document] WHERE [Document].[Type] = @type LIMIT 1 Parameters: [0]Type = OrchardCore.AdminMenu.Models.AdminMenuList, OrchardCore.AdminMenu Count: 2 Counter value is greater then SessionThreshold.DbCommandIncludingParametersExecutionCountThreshold, threshold: 0. at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass125_0`1.<AssertIntegerCounterValue>b__1(TKey key) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 360 at System.Collections.Generic.EnumerableExtensions.ForEach[T](IEnumerable`1 source, Action`1 action, Action`1 beforeFirst) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/src/Libraries/Lombiq.HelpfulLibraries/Lombiq.HelpfulLibraries.Common/Extensions/EnumerableExtensions.cs:line 51 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.AssertIntegerCounterValue[TKey](ICounterProbe probe, Func`2 excludeFilter, String thresholdName, Int32 threshold) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 352 at Lombiq.Tests.UI.Services.OrchardCoreUITestExecutorConfiguration.<>c__DisplayClass124_0.<DefaultAssertCounterData>b__0(ICounterDataCollector collector, ICounterProbe probe) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs:line 323 --- End of inner exception stack trace --- at Lombiq.Tests.UI.Services.CounterDataCollector.AssertCounter() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/CounterDataCollector.cs:line 78 at Lombiq.Tests.UI.Services.UITestExecutionSession.EndAssertDataCollection() in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 183 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 131 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 153 at Lombiq.Tests.UI.Services.UITestExecutionSession.ExecuteAsync(Int32 retryCount, String dumpRootPath) in /home/runner/work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestExecutionSession.cs:line 166 at Lombiq.Tests.UI.Services.UITestExecutor.ExecuteOrchardCoreTestInnerAsync(WebApplicationInstanceFactory webApplicationInstanceFactory, UITestManifest testManifest, OrchardC
|
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "check-spelling-comment".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job succeeded
Loading