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

Cannot build xwiki-platform-web on Debian buster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 11.10.4, 12.3
    • None
    • Unknown
    • N/A

    Description

      xwiki-platform-web relies on jasmine for its javascript tests and on jasmine-maven-plugin to execute them. We currently use version 2.4.1 of the plugin which relies on phantomjs and apparently there is a known problem for using phantomjs on Debian buster: see https://github.com/wch/webshot/issues/90.

      Right now it prevents building xwiki-platform-web on Debian buster without some specific configuration. Here's an output of the errors we got when running it on Buster:

      INFO: arguments: [--webdriver=23146, --webdriver-logfile=/root/xwiki-platform/xwiki-platform-core/xwiki-platform-web/phantomjsdriver.log]
      May 04, 2020 8:05:23 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
      INFO: environment: {}
      Auto configuration failed
      140564820455040:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
      140564820455040:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
      140564820455040:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
      140564820455040:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
      [...]
      [ERROR] Failed to execute goal com.github.searls:jasmine-maven-plugin:2.1:test (default) on project xwiki-platform-web: The jasmine-maven-plugin encountered an exception: 
      [ERROR] org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
      [ERROR] Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
      

      One possible workaround is to run the following command:

      $ export OPENSSL_CONF=~/bin/etc/openssl.cnf
      $ openssl ciphers
      

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: