1. 28 May, 2021 1 commit
    • Tatuya Kamada's avatar
      stack/slapos: Upgrade the version of setuptools · a886a3f9
      Tatuya Kamada authored
      Otherwise setup_requires in python-dateutil trying to install
      the latest version of setuptools_scm and it does not support python2.7.
      As the result, fails to install it.
      
      ---
      
      INFO networkcache: Downloading pypi-index-96af89cdde216340df5aec1e9a1392e0-python-dateutil==2.7.3...
      INFO networkcache: ignored unhandled exception at /srv/slapgrid/slappart6/srv/testnode/dcj/soft/beff23aad53b201b191f995a667eb5f9/eggs/slapos.libnetworkcache-0.15-py2.7.egg/slapos/networkcachehelper.py:106
      INFO HTTPError: HTTP Error 404: Not Found
      INFO networkcache: Downloading pypi-index-99e2b3234a294248d07c2bb8e6698302-python-dateutil==2.7.3...
      INFO networkcache: ignored unhandled exception at /srv/slapgrid/slappart6/srv/testnode/dcj/soft/beff23aad53b201b191f995a667eb5f9/eggs/slapos.libnetworkcache-0.15-py2.7.egg/slapos/networkcachehelper.py:106
      INFO HTTPError: HTTP Error 404: Not Found
      INFO networkcache: Downloading pypi-index-a46be9bd3756ada5c303353adbb6407f-python-dateutil==2.7.3...
      INFO Downloaded http://www.nexedi.org/static/packages/source/slapos.buildout/ from network cache.
      INFO networkcache: Downloading pypi-index-23ce7712b6e6cbc7d09787f73e5c3dc5-python-dateutil==2.7.3...
      INFO Downloaded https://pypi.org/simple/python-dateutil/ from network cache.
      INFO networkcache: Downloading slapos-buildout-a35382ef8370ced1c46d97632a2ec508...
      INFO Downloaded https://files.pythonhosted.org/packages/a0/b0/a4e3241d2dee665fea11baec21389aec6886655cd4db7647ddf96c3fad15/python-dateutil-2.7.3.tar.gz#sha256=e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8 from network cache.
      INFO Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
      INFO No local packages or working download links found for setuptools_scm
      INFO error: Could not find suitable distribution for Requirement.parse('setuptools_scm')
      INFO An error occurred when trying to install python-dateutil 2.7.3. Look above this message for any errors that were output by easy_install.
      INFO While:
      INFO   Installing neoppod.
      INFO Error: Couldn't install: python-dateutil 2.7.3
      ERROR Failed to run buildout profile in directory '/srv/slapgrid/slappart6/srv/testnode/dcj/soft/beff23aad53b201b191f995a667eb5f9'
      INFO Finished software releases.
      a886a3f9
  2. 25 May, 2021 1 commit
  3. 03 Sep, 2019 1 commit
  4. 22 Feb, 2019 1 commit
  5. 14 Nov, 2018 6 commits
  6. 13 Nov, 2018 2 commits
  7. 12 Nov, 2018 1 commit
  8. 09 Nov, 2018 1 commit
  9. 08 Nov, 2018 1 commit
  10. 07 Nov, 2018 3 commits
  11. 31 Oct, 2018 7 commits
    • Jérome Perrin's avatar
      component/firefox: keep using geckodriver 0.17.0 for default ${geckodriver} · c05514c5
      Jérome Perrin authored
      This version is compatible with the default firefox (52)
      c05514c5
    • Thomas Gambier's avatar
      version up: slapos.toolbox: 0.82 · cfa7c7e0
      Thomas Gambier authored
      cfa7c7e0
    • Jérome Perrin's avatar
      fixup! seleniumrunner: repair compatibility with erp5testnode · 8104f8cf
      Jérome Perrin authored
      geckodriver is also required
      8104f8cf
    • Jérome Perrin's avatar
      104060b2
    • Jérome Perrin's avatar
      Selenium Server · 88394ddb
      Jérome Perrin authored
      New software release, selenium server, which expose a http server to which clients can connect using [`webdriver.Remote`](https://selenium-python.readthedocs.io/getting-started.html#using-selenium-with-remote-webdriver) and then use standard webdriver API to control the browser.
      
      The server is made of :
       * the "hub" to which webdriver connects
       * a Xvfb server
       * some nodes, for different browsers:
         * Firefox 52
         * Firefox 60
         * Chrome 69
       * an IPv6 https frontend, exposing the admin interface and the hub. Note that python's webdriver binding before 3.14.0 refuse to connect to a hub with a non verified SSL certificate, so for now clients must either use the published `backend-url` (which is IPv4) or use a version of selenium eggs >= 3.14. In the future we'll see how [caucase](https://lab.nexedi.com/nexedi/caucase/) can solve this. Also, this behavior might also change with future version of selenium, because it's wrong that it does not verify SSL certificates.
       * a ssh server, to which you can connect to establish a ssh tunnel with port forward and register more nodes to the hub. This can be used to connect a browser running on your desktop and see the test running, run unsupported browsers, maybe also [appium](http://appium.io/docs/en/advanced-concepts/grid/) to run tests on mobile. This is a kind of "extra feature" that seems working, but I'm not sure we can support it.
      
      To achieve this, we had to :
        * update Xorg components and build gtk with a X11 gdk backend  to be able to run firefox 60. Updating xorg/gdk also fixed a bug in firefox 52, before this, firefox 52 was not able to get the screen size and ` window.screen.width` was 0. Now firefox 52 can get the screen size properly but resizing window does not work.
        * update chrome 69 and fix a few missing `$LD_LIBRARY_PATH` in the wrapper.
      
      Everything seems working, including taking screenshots, uploading files and resizing window - except resizing window does not work on firefox 52.
      
      See the included test suite for some example usage. Basically it's same as what we're doing today, but instead of:
      
      ```python
      driver = webdriver.Firefox(path_to_firefox)
      ```
      
      we use:
      
      ```python
      driver = webdriver.Remote(
         command_executor='http://127.0.0.1:4444/wd/hub', # the url or backend-url parameter published by the instance.
         desired_capabilities={
            'browserName': 'firefox', # or chrome
            'version': '60', # or don't set a version if you want any version (browserName, on the other hand, is required)
         })
      ```
      
      
      /reviewed-on nexedi/slapos!420
      88394ddb
    • Jérome Perrin's avatar
      JSTestNode on Selenium Server · bc662696
      Jérome Perrin authored
      Change jstestnode arguments to accept the [desired capabilities](https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities) as a JSON object, so that we can run jstestnode tests on any selenium server ( the target being nexedi/slapos!420 ), not only saucelabs.
      
      This MR also introduces some JSON schema for instance parameter.
      
      /reviewed-on nexedi/slapos!429
      bc662696
    • Jérome Perrin's avatar
      Theia · bf4aef15
      Jérome Perrin authored
      https://www.theia-ide.org/
      
      /reviewed-on nexedi/slapos!417
      bf4aef15
  12. 30 Oct, 2018 1 commit
  13. 29 Oct, 2018 10 commits
  14. 26 Oct, 2018 4 commits