1. 08 May, 2020 2 commits
    • Jérome Perrin's avatar
      prune: tolerate all forms of broken slapos.cfg in instance · 7d0f70aa
      Jérome Perrin authored
      When we recurse in instance to find nested slapos that might be using
      parts from ourselves, we check all files named slapos.cfg but we may
      encounter some slapos.cfg that are not actual slapos config files, for
      example in testnodes we have a working copy of slapos repository which
      contains a stack/slapos.cfg which is completly different.
      
      This was breaking prune with an error like this:
      
          2020-04-29 20:07:28 slapos[2097] DEBUG Reading config at /srv/slapgrid/slappart9/srv/testnode/czp/slapos-repository/stack/slapos.cfg
          2020-04-29 20:07:28 slapos[2097] ERROR No section: 'slapos'
      
      See merge request !211
      7d0f70aa
    • Jérome Perrin's avatar
      collect: disable FolderSizeSnapshot for now · 2f726fab
      Jérome Perrin authored
      `FolderSizeSnapshot` is too slow and cause some "Database is locked" errors when running software instance tests.
      
      See merge request !206
      2f726fab
  2. 07 May, 2020 2 commits
  3. 06 May, 2020 2 commits
  4. 05 May, 2020 4 commits
  5. 04 May, 2020 2 commits
  6. 01 May, 2020 1 commit
  7. 30 Apr, 2020 4 commits
  8. 29 Apr, 2020 6 commits
  9. 28 Apr, 2020 3 commits
  10. 27 Apr, 2020 2 commits
    • Jérome Perrin's avatar
      testing/testcase: ignore gfortran.so in ldd check · 8a3c8aa3
      Jérome Perrin authored
      the rpath we set in LDFLAGS is not honored here, but we can ignore this
      as rpath is needed on executables and not important on shared objects.
      
      libgfortran.so is a shared object that happens to be executable, so it
      appears in our ldd check, but we are not executing it directly so it
      should be OK.
      8a3c8aa3
    • Jérome Perrin's avatar
      prune: prune dependencies recursively · 9ee14cb4
      Jérome Perrin authored
      prune was not recursive when checking dependencies, for example when we
      have for example a shared part for openssl that is used only by a shared
      part for curl that is not used, we had to run prune twice, the first
      iteration would remove curl and only the second iteration would see that
      openssl is not used.
      
      This prune in a loop until nothing is pruned by the last iteration. To
      support dry-run, we added a ignored_shared_parts parameter to ignore the
      parts that are supposed to be deleted.
      
      See merge request !205
      9ee14cb4
  11. 24 Apr, 2020 2 commits
    • Jérome Perrin's avatar
      testing/utils: ImageComparisonTestCase · 596d5c5c
      Jérome Perrin authored
      This was in plantuml test, but can be used in other cases where we want
      to snapshot test screenshots or images produced by softwares.
      
      See merge request !203
      596d5c5c
    • Jérome Perrin's avatar
      prune: prune dependencies recursively · 4a2b7e08
      Jérome Perrin authored
      prune was not recursive when checking dependencies, for example when we
      have for example a shared part for openssl that is used only by a shared
      part for curl that is not used, we had to run prune twice, the first
      iteration would remove curl and only the second iteration would see that
      openssl is not used.
      
      This prune in a loop until nothing is pruned by the last iteration. To
      support dry-run, we added a ignored_shared_parts parameter to ignore the
      parts that are supposed to be deleted.
      4a2b7e08
  12. 23 Apr, 2020 3 commits
  13. 22 Apr, 2020 1 commit
  14. 20 Apr, 2020 1 commit
  15. 16 Apr, 2020 5 commits