1. 16 Jan, 2020 4 commits
    • Rafael Monnerat's avatar
    • Rafael Monnerat's avatar
      slapos_wechat: Fixup Tests. · f1d9c0ca
      Rafael Monnerat authored
      f1d9c0ca
    • Rafael Monnerat's avatar
      slapos_wechat: Cancel the Payment if the invoice is open for more them 24 hours · 5eeadcf7
      Rafael Monnerat authored
      This means the user gave up, so we cancel so the new payment is created or Subscription Request is cancelled.
      5eeadcf7
    • Jérome Perrin's avatar
      Extend tests to detect shared libraries using system libraries · 013c7ff7
      Jérome Perrin authored
      On some test machines, we saw test failures because openssl version mismatch:
      
      ```
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart14/srv/testnode/cqg/soft/18d28ecd49e5e0f732e2ce0c00c57519/parts/slapos.core-repository/slapos/testing/testcase.py", line 227, in installSoftwareUrlList
          checkSoftware(cls.slap, software_url)
        File "/srv/slapgrid/slappart14/srv/testnode/cqg/soft/18d28ecd49e5e0f732e2ce0c00c57519/parts/slapos.core-repository/slapos/testing/testcase.py", line 211, in checkSoftware
          raise RuntimeError('\n'.join(error_list))
      RuntimeError: ./parts/proftpd/libexec/mod_auth_web.so:
      ./parts/proftpd/libexec/mod_auth_web.so: /usr/lib/x86_64-linux-gnu/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /srv/slapgrid/slappart14/srv/testnode/cqg/inst/test0-0/tmp/shared/curl/724c785f86fff6993ff24ef745d4dbb9/lib/libcurl.so.4)
      ```
      
      What we see in this traceback is that the version of openssl used was the one from system ( in `/usr/lib/` ), which should not happen because we are using setting rpath to slapos libraries. We had a test checking for missing rpath that could not resolved, but our test did not catch missing rpath that can be resolved on a system library, which is also wrong because this system library might be a different version like here or even be missing.
      
      /reviewed-on !172
      013c7ff7
  2. 15 Jan, 2020 4 commits
    • Łukasz Nowak's avatar
      Release 1.5.7 · 9b6b637d
      Łukasz Nowak authored
      9b6b637d
    • Jérome Perrin's avatar
      testing/testcase: check executables are not linked with system libraries · 4656f063
      Jérome Perrin authored
      Except a short whitelist of system libraries, we should have always set
      rpath so that the slapos version of the library is used.
      
      We had issues with components which where compiled with slapos version
      of openssl but linked without rpath. At runtime they were using system
      openssl.
      
      Rewrite our complex grep shell pipeline in python, with a function
      parsing ldd output so that we can check not only for not found dynamic
      libraries, but also for libraries that are found outside of slapos
      library dirs.
      
      This also fixes problems that this grep pipeline did not support paths
      with spaces in their names.
      4656f063
    • Łukasz Nowak's avatar
      proxy: Update timestamp partition on slave changes · 4990aeaf
      Łukasz Nowak authored
      Each time slave partition changes (it is added or updated) the master
      partition timestamp has to be recalculated.
      
      /reviewed-on !176
      4990aeaf
    • Jérome Perrin's avatar
      testing/testcase: cleanups · 2138e2ce
      Jérome Perrin authored
      Fix long lines, incorrect type annotations and adjust a bit to make mypy
      happy.
      2138e2ce
  3. 14 Jan, 2020 6 commits
  4. 13 Jan, 2020 1 commit
  5. 09 Jan, 2020 2 commits
  6. 08 Jan, 2020 7 commits
  7. 07 Jan, 2020 2 commits
  8. 03 Jan, 2020 2 commits
  9. 02 Jan, 2020 2 commits
  10. 30 Dec, 2019 1 commit
  11. 27 Dec, 2019 9 commits