This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1a2a9806-1b1a-4082-b5e3-1a2d0b365460 XWIKI-25303 Open

WikiTemplateIT#createWikiFromTemplateTest is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-20392917-6cc9-48e6-a66d-1acfbf89269f Simon Urli created this issue on 15/Oct/26 09:31
 
Summary: WikiTemplateIT#createWikiFromTemplateTest is flickering
Issue Type: cid:jira-generated-image-avatar-1a2a9806-1b1a-4082-b5e3-1a2d0b365460 Bug
Affects Versions: 17.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 15/Oct/26 09:31
Labels: flickering
Priority: cid:jira-generated-image-static-major-6fc218ef-b798-43df-ad73-6c45a0b4f7f7 Major
Reporter: Simon Urli
Description:

Symptom

org.xwiki.wiki.test.ui.WikiTemplateIT#createWikiFromTemplateTest sometimes fails because the wiki creation job fails to resolve the template extension, the Maven repository answering with a 503:

org.junit.ComparisonFailure: expected:<[Done!]> but was:<[Failed! HttpResponseException: status code: 503, reason phrase: Service Unavailable (503)

org.xwiki.extension.ResolveException: Failed to resolve artifact [maven:templateextension:jar:1.0] descriptor
 at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:580)
 ...
 at org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:940)

Occurrence

It passed in the other environments of the same build, and in the previous builds.

Local reproduction

Run 3 times locally on commit 87df7079518 with the same configuration: 3/3 passed.

The failure is a transient 503 from the repository serving templateextension while the test runs, so the test depends on that repository being available.

 
 

1 update

 
cid:jira-generated-image-avatar-20392917-6cc9-48e6-a66d-1acfbf89269f Changes by Simon Urli on 15/Oct/26 09:31
 
Flickering Test: org.xwiki.wiki.test.ui.AllIT$NestedWikiTemplateIT#createWikiFromTemplateTest