Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3300

Security Admin UI tests cannot run on Linux ARM64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0
    • None
    • admin
    • None

    Description

      security-admin-web UI tests fail on Linux ARM64 because they depend on PhantomJS.

      PhantomJS is not maintained since 2018 and it does not provide binary for linux/aarch64 CPU architecture.

       

      I see two solutions:

      1) use https://repo1.maven.org/maven2/com/github/liusheng/phantomjs/2.1.1/

      When building on Linux ARM64 add this library as dependency, unpack it, and point to its aarch64 binary with PHANTOMJS_BIN=/path/to/the/unpacked/phantomjs

       

      2) in my opinion a better solution would be to use headless Chromium/Firefox instead of PhantomJS

      As I said PhantomJS is not maintained since 2018 and since then there are many changes and new features in the modern browsers

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m