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

Docker-based PDF export doesn't work when XWiki runs on a virtual machine

    XMLWordPrintable

Details

    • Integration
    • High
    • Medium
    • N/A
    • N/A

    Description

      This has been observed while running the PDF export automated functional tests on https://ci.xwiki.org/ where each agent is a virtual machine. On the UI we see this message:

      The PDF generator is currently unavailable.

      In the logs we can see:

      Caused by: java.util.concurrent.TimeoutException: Timeout waiting for Chrome remote debugging to become available. Waited [14] seconds. Root cause: [TimeoutException: ]
          at org.xwiki.export.pdf.internal.chrome.ChromeManager.waitForChromeService(ChromeManager.java:170)
          at org.xwiki.export.pdf.internal.chrome.ChromeManager.connect(ChromeManager.java:116)
          at org.xwiki.export.pdf.internal.chrome.ChromeManagerManager.connectChromeService(ChromeManagerManager.java:257)
      

      Moreover, executing docker container ls shows that the Chrome Docker container is not running, which explains why we cannot connect to Chrome. The issue is that the Chrome Docker container fails to start.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: