Skip to content

Fix mockserver host, try shutdown core and mockserver #245

Fix mockserver host, try shutdown core and mockserver

Fix mockserver host, try shutdown core and mockserver #245

GitHub Actions / System test report windows failed Nov 20, 2023 in 1s

System test report windows ❌

Tests failed

Report Passed Failed Skipped Time
tests/system/target/surefire-reports/TEST-org.nzbhydra.AuthLoginTest.xml 1✅ 3s
tests/system/target/surefire-reports/TEST-org.nzbhydra.BackupTest.xml 2✅ 97ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.DebugInfosTest.xml 3✅ 394ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.DownloaderTest.xml 3✅ 1s
tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalApiSearchingTest.xml 3✅ 491ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalToolsTest.xml 1⚪ 1ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.GenericStorageTest.xml 1✅ 16ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.HistoryTest.xml 3✅ 679ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.IndexerWebTest.xml 1✅ 4s
tests/system/target/surefire-reports/TEST-org.nzbhydra.MediaInfoTest.xml 2✅ 953ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.NewsTest.xml 1❌ 167ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.NotificationsTest.xml 1✅ 68ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.NzbHandlingTest.xml 3✅ 408ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.StaticResourcesLoadableTest.xml 1✅ 326ms
tests/system/target/surefire-reports/TEST-org.nzbhydra.StatsTest.xml 1✅ 683ms

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.AuthLoginTest.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.AuthLoginTest 1✅ 3s

✅ org.nzbhydra.AuthLoginTest

✅ shouldRequireLogin

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.BackupTest.xml

2 tests were completed in 97ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.BackupTest 2✅ 97ms

✅ org.nzbhydra.BackupTest

✅ shouldBackupAndDownload
✅ shouldBackupAndShowInListAndBeDownloadable

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.DebugInfosTest.xml

3 tests were completed in 394ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.DebugInfosTest 3✅ 394ms

✅ org.nzbhydra.DebugInfosTest

✅ shouldListAndDownloadLog
✅ shouldDownloadCurrentLog
✅ shouldDownloadDebugInfosAsBytes

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.DownloaderTest.xml

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.DownloaderTest 3✅ 1s

✅ org.nzbhydra.DownloaderTest

✅ shouldAddNzb
✅ shouldCheckConnection
✅ shouldGetStatus

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalApiSearchingTest.xml

3 tests were completed in 491ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.ExternalApiSearchingTest 3✅ 491ms

✅ org.nzbhydra.ExternalApiSearchingTest

✅ shouldComplainWithoutApiKey
✅ shouldSearch
✅ shouldDownloadNzb

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalToolsTest.xml

1 tests were completed in 1ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.ExternalToolsTest 1⚪ 1ms

✅ org.nzbhydra.ExternalToolsTest

⚪ org.nzbhydra.ExternalToolsTest

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.GenericStorageTest.xml

1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.GenericStorageTest 1✅ 16ms

✅ org.nzbhydra.GenericStorageTest

✅ shouldPutAndGet

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.HistoryTest.xml

3 tests were completed in 679ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.HistoryTest 3✅ 679ms

✅ org.nzbhydra.HistoryTest

✅ shouldShowDownloadHistory
✅ shouldShowSearchHistoryForSearching
✅ shouldShowSearchHistory

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.IndexerWebTest.xml

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.IndexerWebTest 1✅ 4s

✅ org.nzbhydra.IndexerWebTest

✅ shouldCheckCaps

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.MediaInfoTest.xml

2 tests were completed in 953ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.MediaInfoTest 2✅ 953ms

✅ org.nzbhydra.MediaInfoTest

✅ shouldAutocompleteMovie
✅ shouldAutocompleteTV

❌ tests/system/target/surefire-reports/TEST-org.nzbhydra.NewsTest.xml

1 tests were completed in 167ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.NewsTest 1❌ 167ms

❌ org.nzbhydra.NewsTest

❌ shouldLoadAllNews
	java.lang.AssertionError:

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.NotificationsTest.xml

1 tests were completed in 68ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.NotificationsTest 1✅ 68ms

✅ org.nzbhydra.NotificationsTest

✅ shouldTestNotificationAndStoreInHistory

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.NzbHandlingTest.xml

3 tests were completed in 408ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.NzbHandlingTest 3✅ 408ms

✅ org.nzbhydra.NzbHandlingTest

✅ shouldDownloadNzb
✅ shouldDownloadZipWithNzbs
✅ shouldSaveToBlackhole

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.StaticResourcesLoadableTest.xml

1 tests were completed in 326ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.StaticResourcesLoadableTest 1✅ 326ms

✅ org.nzbhydra.StaticResourcesLoadableTest

✅ shouldLoadAllStaticResources

✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.StatsTest.xml

1 tests were completed in 683ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.nzbhydra.StatsTest 1✅ 683ms

✅ org.nzbhydra.StatsTest

✅ shouldLoadStats

Annotations

Check failure on line 44 in tests/system/src/test/java/org/nzbhydra/NewsTest.java

See this annotation in the file changed.

@github-actions github-actions / System test report windows

org.nzbhydra.NewsTest ► shouldLoadAllNews

Failed test found in:
  tests/system/target/surefire-reports/TEST-org.nzbhydra.NewsTest.xml
Error:
  java.lang.AssertionError: 
Raw output
java.lang.AssertionError: 

Expected size: 4 but was: 11 in:
[NewsEntryForWeb(version=4.3.0, news=<p>If you're running the docker container by linuxserver.io and have problems connecting to indexers or other weird issues I suggest you use the tag v4.3.0-ls47 for now. Changes in the docker image seems to cause connection issues in some cases.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=3.17.0, news=<p>I've borked the manual update in 3.17.0, meaning after a restart NZBHydra will still be running its old version. If you have installed 3.17.0 outside of docker and have automatic updates disabled, either enable automatic updates and let it do its thing or update manually using the latest release from GitHub.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=3.10.0, news=<p>If you're running NZBHydra behind a reverse proxy please add the following lines to the location section: proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection &quot;upgrade&quot;;</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=3.0.0, news=<p>NZBHydra now allows sending and displaying notifications. Go to the config to explore this..</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.21.0, news=<p>I've added a feature that allows NZBHydra to fall back to similar results when an NZB download fails. It only works if you've set the 'NZB access type' in the downloading config to proxy results. That way NZBHydra can recognize the failed download and automatically try a different one. This should prevent Sonarr &amp; co from disabling NZBHydra due to failed downloads.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.19.6, news=<p>If you're using the linuxserver.io container linuxserver/hydra2 please move to linuxserver/nzbhydra2. If not please ignore this.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.10.7, news=<p>If you're running v2.10.7 or older the display of changes of the latest update will not work. Please just update to fix this. The actual update mechanism should not be affected.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.8.4, news=<p>If you're running v2.8.4 or older and not using docker and have automatic updates disabled: The updates page won't load because I've made changes to the changelog file that's loaded on that page and I forgot to consider that that will affect older instances. If you can't update you'll have to do so manually. Shut down Hydra, download the latest release and extract it into your main Hydra folder. Sorry about that! :-/</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.7.5, news=<p>If you're upgrading from v2.7.5 to v2.7.6 expect the restart after the update to take a couple of minutes.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.5.1, news=<p>I was told I could or should not expect everyone to read the changelog and that I should inform of more... drastic changes another way. So I will inform you about new features or important bugfixes this way. If you don't want to see these news you can disable them in the main config but be warned that you may also miss some important... well, news.</p><p>I have added a footer that displays the status of your configured downloader (i.e. SABnzbd or NZBGet). The footer can be disabled in the config. For now it's non-interactive, so you cannot control the downloader. The button does not link to the downloader's URL because it wouldn't work with a lot of configurations and I didn't consider this usecase important enough to warrant a new config property with the actual URL of the downloader.</p>
, forCurrentVersion=false, forNewerVersion=false),
    NewsEntryForWeb(version=2.3.11, news=<p>Version 2.3.11 contains a bug which causes problems when connecting to some servers. Unfortunately this also affects GitHub and therefore the built in update mechanism. If you have updated to 2.3.11 and have Hydra not running inside a docker container you'll have to update manually from https://github.com/theotherp/nzbhydra2/releases/tag/v2.3.12. Sorry for the inconvenience</p>
, forCurrentVersion=false, forNewerVersion=false)]
	at org.nzbhydra.NewsTest.shouldLoadAllNews(NewsTest.java:44)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)