Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-23319

Install Chrome on Ubuntu build nodes

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jenkins
    • None
    • Guacamole

    Description

      Within guacamole-client, we have JavaScript unit tests that attempt to leverage Chrome running in a headless mode. Those tests are currently failing the build when run beneath Jenkins on the Ubuntu nodes, as the nodes do not have Chrome installed:

      ...
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 02:42 min
      [INFO] Finished at: 2022-05-24T21:21:16Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.searls:jasmine-maven-plugin:3.0-beta-02:test (default) on project guacamole-common-js: The jasmine-maven-plugin encountered an exception:: unknown error: cannot find Chrome binary
      [ERROR] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      [ERROR] System info: host: 'asf941.gq1.ygridcore.net', ip: '67.195.81.173', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-99-generic', java.version: '1.8.0_291'
      [ERROR] Driver info: driver.version: ChromeDriver
      [ERROR] remote stacktrace: #0 0x562b904f7533 <unknown>
      [ERROR] #1 0x562b902561e8 <unknown>
      [ERROR] #2 0x562b90277469 <unknown>
      [ERROR] #3 0x562b90274c4a <unknown>
      ...

      See:

      * https://lists.apache.org/thread/kzy2340r2ovmhssd5rm8k6km1v1b0484
      * https://issues.apache.org/jira/browse/GUACAMOLE-1614

      If possible, it would be great to have the browser present on the build nodes. As the guacamole-client build leverages a build matrix to test the build against multiple versions of the JDK, I'm not sure it will be feasible to leverage isolated Docker containers like we do for most other builds.

      Attachments

        Issue Links

          Activity

            People

              gmcdonald Gavin McDonald
              mjumper Mike Jumper
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: