Giter Club home page Giter Club logo

Comments (5)

cwperks avatar cwperks commented on June 26, 2024

Not sure if its related, but the geckodriver release notes for 0.33.0 has known issues with FF: https://github.com/mozilla/geckodriver/releases/tag/v0.33.0

from security-dashboards-plugin.

cwperks avatar cwperks commented on June 26, 2024

I see integration tests passing with the same runner and version 2.305.0, but its failing on 2.307.1.

More details:

2.305.0
Image: ubuntu-22.04
  Version: 20230702.1.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230702.1/images/linux/Ubuntu2204-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230702.1
2.307.1
Image: ubuntu-22.04
  Version: 2023072[8](https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/5744153275/job/15572648806?pr=1533#step:1:9).3.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230728.3/images/linux/Ubuntu2204-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230728.3

from security-dashboards-plugin.

cwperks avatar cwperks commented on June 26, 2024

One thing that's odd is that there are progressively more " surrounding the debug output of Browser path:

console.debug
    Driver path: /opt/hostedtoolcache/geckodriver/0.33.0/x64/geckodriver

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Browser path: "/usr/lib/firefox/firefox.sh"

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Driver path: /opt/hostedtoolcache/geckodriver/0.33.0/x64/geckodriver

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.debug
    Browser path: ""/usr/lib/firefox/firefox.sh""

      at logOutput (plugins/security-dashboards-plugin/node_modules/selenium-webdriver/common/seleniumManager.js:142:15)
          at runMicrotasks (<anonymous>)

  console.log
    Remove the Sample Data

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/saml_auth.test.ts:178:13)
          at runMicrotasks (<anonymous>)

  console.error
    Unhandled error

      at process.uncaught (node_modules/jest-jasmine2/build/jasmine/Env.js:241:19)
      at process.emit (node_modules/source-map-support/source-map-support.js:516:21)

  console.error
    InvalidArgumentError: binary is not a Firefox executable
        at Object.throwDecodedError (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/error.js:524:15)
        at parseHttpResponse (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/http.js:601:13)
        at Executor.execute (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/plugins/security-dashboards-plugin/node_modules/selenium-webdriver/lib/http.js:529:28)
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)

      at process.uncaught (node_modules/jest-jasmine2/build/jasmine/Env.js:242:19)
      at process.emit (node_modules/source-map-support/source-map-support.js:516:21)

from security-dashboards-plugin.

cwperks avatar cwperks commented on June 26, 2024

I have confirmed that this is an issue with selenium-webdriver 4.11.x, the build errors are resolved by forcing the resolution to 4.10.0

from security-dashboards-plugin.

cwperks avatar cwperks commented on June 26, 2024

Closing the issue as its currently resolved by freezing the version of selenium to 4.10.0.

from security-dashboards-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.