Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
12.8
-
None
-
Unknown
-
N/A
-
N/A
-
Description
We already know that the test is flaky (XWIKI-16681), but now we are noticing a different result and stacktrace from the flaky test report, seemingly related to a bad test setup for the LogCapture:
Error Message expected: <Content of the template> but was: <Wiki creation The wiki mynewwiki has been successfully created. You can now access it. Starting job of type [wikicreationjob] with identifier [wikicreation/createandinstall/mynewwiki] Copying document [My new template » IconThemes » FontAwesome] to [My new wiki » IconThemes » FontAwesome]. Done copying document [My new template » IconThemes » FontAwesome] to [My new wiki » IconThemes » FontAwesome]. Copying document [My new template » IconThemes » Silk] to [My new wiki » IconThemes » Silk]. Done copying document [My new template » IconThemes » Silk] to [My new wiki » IconThemes » Silk]. Copying document [My new template » IconThemes » WebHome] to [My new wiki » IconThemes » WebHome]. Done copying document [My new template » IconThemes » WebHome] to [My new wiki » IconThemes » WebHome]. Copying document [My new template » IconThemesCode » IconPicker] to [My new wiki » IconThemesCode » IconPicker]. Done copying document [My new template » IconThemesCode » IconPicker] to [My new wiki » IconThemesCode » IconPicker]. Copying document [My new template » IconThemesCode » IconPickerMacro] to [My new wiki » IconThemesCode » IconPickerMacro]. Done copying document [My new template » IconThemesCode » IconPickerMacro] to [My new wiki » IconThemesCode » IconPickerMacro]. Copying document [My new template » IconThemesCode » IconThemeClass] to [My new wiki » IconThemesCode » IconThemeClass]. Done copying document [My new template » IconThemesCode » IconThemeClass] to [My new wiki » IconThemesCode » IconThemeClass]. Copying document [My new template » IconThemesCode » IconThemeSheet] to [My new wiki » IconThemesCode » IconThemeSheet]. Done copying document [My new template » IconThemesCode » IconThemeSheet] to [My new wiki » IconThemesCode » IconThemeSheet]. ... Copying document [My new template » XWiki » XWikiUsers] to [My new wiki » XWiki » XWikiUsers]. Done copying document [My new template » XWiki » XWikiUsers] to [My new wiki » XWiki » XWikiUsers]. The [org.xwiki.notifications.filters.watch.internal.AutomaticWatchModeListener] listener is overwriting a previously registered listener [org.xwiki.notifications.filters.watch.internal.AutomaticWatchModeListener] since they both are registered under the same id [AutomaticNotificationsWatchModeListener]. In the future consider removing a Listener first if you really want to register it again. Finished job of type [wikicreationjob] with identifier [wikicreation/createandinstall/mynewwiki] Go to the wiki> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124) at org.xwiki.wiki.test.ui.WikiTemplateIT.createWikiFromTemplate(WikiTemplateIT.java:191) at org.xwiki.wiki.test.ui.WikiTemplateIT.createWikiFromTemplateTest(WikiTemplateIT.java:103) ...
Also noticing these exceptions in the Standard Output:
2020-10-20 09:54:53,659 [Exec Stream Pumper] - 2020-10-20 09:54:53,184 [XWiki Solr index thread] WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: -4850, SQLState: 3F000 2020-10-20 09:54:53,659 [Exec Stream Pumper] - 2020-10-20 09:54:53,184 [XWiki Solr index thread] ERROR o.h.e.j.s.SqlExceptionHelper - invalid schema name: SUBWIKI 2020-10-20 09:54:53,659 [Exec Stream Pumper] - 2020-10-20 09:54:53,184 [XWiki Solr index thread] ERROR o.x.s.s.i.DefaultSolrIndexer - Failed to process entry [INDEX subwiki:WikiManager.Translations(hr)] 2020-10-20 09:54:53,659 [Exec Stream Pumper] - org.xwiki.search.solr.internal.api.SolrIndexerException: Failed to get input Solr document for entity 'subwiki:WikiManager.Translations(hr)' 2020-10-20 09:54:53,659 [Exec Stream Pumper] - at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:140) 2020-10-20 09:54:53,659 [Exec Stream Pumper] - at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:499) 2020-10-20 09:54:53,659 [Exec Stream Pumper] - at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:408) ... 2020-10-20 09:54:53,659 [Exec Stream Pumper] - Caused by: java.sql.SQLException: invalid schema name: SUBWIKI
Attachments
Issue Links
- depends on
-
XWIKI-17962 Solr displays a huge stack when trying to index a document from a deleted wiki
- Closed
- duplicates
-
XWIKI-16681 WikiTemplateIT.createWikiFromTemplateTest is still flickering on template wiki creation
- Closed