1. 22 Apr, 2020 3 commits
  2. 20 Apr, 2020 3 commits
  3. 18 Apr, 2020 3 commits
  4. 17 Apr, 2020 5 commits
  5. 16 Apr, 2020 3 commits
    • Jérome Perrin's avatar
      Fix missing rpaths on components · 58a3efb3
      Jérome Perrin authored
      Because of a bug in `slapos/testcase`, ldd check was not properly reporting several problems, because several components were using system libraries.
      
      These are the changes to profiles, adding the missing rpath and other changes so that components do not use system libraries either by explicitly providing the libraries so that the configure script does not use system development libraries if they are available ( like for zstd ) or by disabling the features at compile time for features we don't use ( like the `--without-icu` for boost )
      
      See merge request !732
      58a3efb3
    • Jérome Perrin's avatar
      Fix jstesnode software release test random failure · 5770e533
      Jérome Perrin authored
      Fix this random failure we sometimes have, like [here](https://nexedijs.erp5.net/#/test_result_module/20200414-44DF7D23/11) by adding a promise so that test does not try to connect to a nginx that's not started yet
      
      ```
      ======================================================================
      ERROR: test (test.TestJSTestNode)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "parts/slapos-repository/software/jstestnode/test/test.py", line 60, in test
          '%sjio/test/tests.html' % (connection_dict['nginx'], ), allow_redirects=False)
        File "eggs/requests-2.20.0-py2.7.egg/requests/api.py", line 75, in get
          return request('get', url, params=params, **kwargs)
        File "eggs/requests-2.20.0-py2.7.egg/requests/api.py", line 60, in request
          return session.request(method=method, url=url, **kwargs)
        File "eggs/requests-2.20.0-py2.7.egg/requests/sessions.py", line 524, in request
          resp = self.send(prep, **send_kwargs)
        File "eggs/requests-2.20.0-py2.7.egg/requests/sessions.py", line 637, in send
          r = adapter.send(request, **kwargs)
        File "eggs/requests-2.20.0-py2.7.egg/requests/adapters.py", line 516, in send
          raise ConnectionError(e, request=request)
      ConnectionError: HTTPConnectionPool(host='::1', port=9443): Max retries exceeded with url: /jio/test/tests.html (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b01f4b310>: Failed to establish a new connection: [Errno 111] Connection refused',))
      
      ```
      
      See merge request !733
      5770e533
    • Jérome Perrin's avatar
      Simplify installation of recipe installing scripts · 4f1be677
      Jérome Perrin authored
      Several software use `slapos` command and expect this command to have networkcache support enabled, which is achieved in buildout by having `slapos.libnetworkcache` in the egg "working set" when generating the slapos script.
      
      Introduce a dedicated section to install `slapos` command and use it in softwares which includes a slapos, testnode and slaprunner. Test softwares like slapos-sr-testing also need a slapos command, but they generate one with development version of slapos.core.
      
      Before these changes, several software were installing `slapos` indirectly by installing `extra-eggs` from monitoring stack. The monitoring stack was also modified so that it uses a section with a prefix (`monitor-eggs`) and users of monitoring stacks were also modified to not use this `extra-eggs` part from monitoring stack, but install eggs through their own section.
      
      Similar problem also existed with `slapos.toolbox`, which is installed by several softwares and stacks, for different reasons (because it contains lots of utilities), now that buildout detects parts installing the same path, only one parts can install the scripts. For this, define a section `slapos-toolbox` that software and stack should install, instead of listing the egg as `eggs` in a `zc.recipe.egg` section, because that would install the scripts again.
      
      See merge request !729
      4f1be677
  6. 15 Apr, 2020 19 commits
  7. 14 Apr, 2020 1 commit
  8. 13 Apr, 2020 3 commits
    • Jérome Perrin's avatar
      Postgres recipe cleanup · dc5d3a88
      Jérome Perrin authored
      * use strings for options, not `sets` which requires to use the `'!py!'` syntax and only works on a patched buildout
      * supports regenerating config, like when for example IP change
      * Removes the backup part of the recipe, which we don't use and looks buggy.
      * fix python3 support
      
      See merge request !727
      dc5d3a88
    • Jérome Perrin's avatar
      software/grafana: promise to check influxdb is usable · d783653f
      Jérome Perrin authored
      This should fix this random failure with tests:
      
          ======================================================================
          FAIL: test_influxdb_api (test.TestInfluxDb)
          ----------------------------------------------------------------------
          Traceback (most recent call last):
            File "parts/slapos-repository/software/grafana/test/test.py", line 126, in test_influxdb_api
              [connection_params['influxdb-database']], result['series'][0]['values'])
          AssertionError: ['telegraf'] not found in [[u'_internal']]
      d783653f
    • Jérome Perrin's avatar