Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25303

WikiTemplateIT#createWikiFromTemplateTest is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.wiki.test.ui.AllIT$NestedWikiTemplateIT#createWikiFromTemplateTest

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: