Skip to content
Snippets Groups Projects
  1. Nov 22, 2024
  2. Oct 22, 2024
    • Robert Schmidt's avatar
      CI: remove unknown imports and uses of names · 670e1fb8
      Robert Schmidt authored
      pyflakes warns about various errors, addressed here. For cls_cluster.py,
      remove (unknown) sys.exit and replace through Exception, as sys.exit()
      has the unwanted effect that the CI script would stop.  Instead, raise
      an Exception that would show the problem in the HTML, and ensures that
      the script runs until the end.
      
      These are the warnings flagged by pyflakes.
      
          cls_cluster.py:297:4: undefined name 'sys'
      
          cls_containerize.py:39:1: 'subprocess' imported but unused
          cls_containerize.py:41:1: 'threading' imported but unused
          cls_containerize.py:43:1: 'multiprocessing.Process' imported but unused
          cls_containerize.py:43:1: 'multiprocessing.Lock' imported but unused
          cls_containerize.py:43:1: 'multiprocessing.SimpleQueue' imported but unused
          cls_containerize.py:49:1: 'cls_cluster as OC' imported but unused
          cls_containerize.py:50:1: redefinition of unused 'cls_cmd' from line 42
      
          cls_module.py:28:1: 'os' imported but unused
          cls_module.py:29:1: 'sys' imported but unused
          cls_module.py:34:1: 'subprocess' imported but unused
          cls_module.py:35:1: 'datetime.datetime' imported but unused
          cls_module.py:211:11: undefined name 'sshconnection'
      
          cls_oaicitest.py:37:1: 'pexpect' imported but unused
          cls_oaicitest.py:47:1: 'cls_cluster as OC' imported but unused
          cls_oaicitest.py:54:1: 'matplotlib.pyplot as plt' imported but unused
          cls_oaicitest.py:55:1: 'numpy as np' imported but unused
      
          cls_oai_html.py:34:1: 'sys' imported but unused
          cls_oai_html.py:41:1: 'multiprocessing.Process' imported but unused
          cls_oai_html.py:41:1: 'multiprocessing.Lock' imported but unused
          cls_oai_html.py:41:1: 'multiprocessing.SimpleQueue' imported but unused
      
          cls_physim.py:37:1: 'multiprocessing.SimpleQueue' imported but unused
      
          cls_static_code_analysis.py:39:1: 'time' imported but unused
          cls_static_code_analysis.py:40:1: 'multiprocessing.Process' imported but unused
          cls_static_code_analysis.py:40:1: 'multiprocessing.Lock' imported but unused
          cls_static_code_analysis.py:40:1: 'multiprocessing.SimpleQueue' imported but unused
      
          epc.py:41:1: 'multiprocessing.Process' imported but unused
          epc.py:41:1: 'multiprocessing.Lock' imported but unused
          epc.py:41:1: 'multiprocessing.SimpleQueue' imported but unused
      
          main.py:60:1: 'pexpect' imported but unused
          main.py:66:1: 'datetime' imported but unused
          main.py:68:1: redefinition of unused 'subprocess' from line 63
          main.py:70:1: 'multiprocessing.Process' imported but unused
          main.py:70:1: 'multiprocessing.Lock' imported but unused
          main.py:70:1: 'multiprocessing.SimpleQueue' imported but unused
      
          provideUniqueImageTag.py:2:1: 'os' imported but unused
      670e1fb8
  3. Sep 28, 2024
  4. Sep 26, 2024
  5. Feb 12, 2024
    • Robert Schmidt's avatar
      CI: phytest-timing: detect deviation from normalized values above/below · 00356767
      Robert Schmidt authored
      The CI would only detect a deviation from the normalized value based on
      a configurable threshold, typically 1.25 (so we would tolerate a 25%
      increase). However, it often happens that a timing gets shorter (e.g.,
      forgot to put the timing measurements). This commit introduces a
      "Deviation Threshold" (smaller than 1) to not only check that we exceed
      1.0 + "Deviation Threshold" (as before), but also that are not below 1.0
      - "Deviation Threshold".
      
      In other words, assuming a maximum divergence of 25%, instead of just
      checking if val > 1.25, we now also check if val < 0.75 (and flag
      error).
      00356767
  6. Aug 07, 2023
    • Robert Schmidt's avatar
      CI: cell content's <pre> style to stack horizontally · 5ddb9f68
      Robert Schmidt authored
      The results of individual UEs (e.g., ping) is listed vertically, like
      so:
      
      | ping results | UE1 |
      |              | UE2 |
      |              | UE3 |
      
      Where UE1, UE2, ... represents an entire box with results for UE 1, 2,
      ... For many UEs, this results in considerable need for vertical space. This
      commit changes to something like the following to save space:
      
      | ping results | UE1 UE2 UE3 |
      
      For a single UE, this commit has no major impact (the boxes are not
      stretched to width anymore).
      5ddb9f68
  7. Feb 23, 2023
  8. Oct 18, 2022
  9. Sep 06, 2022
  10. Apr 22, 2022
  11. Mar 01, 2022
  12. Feb 28, 2022
  13. Aug 10, 2021
  14. Aug 09, 2021
  15. May 10, 2021
  16. Apr 30, 2021
  17. Apr 29, 2021
  18. Apr 28, 2021
  19. Apr 15, 2021
  20. Apr 13, 2021
  21. Apr 12, 2021
  22. Apr 07, 2021
  23. Jan 25, 2021
  24. Oct 26, 2020
  25. Oct 12, 2020
  26. Aug 06, 2020
  27. Jul 28, 2020
  28. Jul 19, 2020
  29. Jun 11, 2020
  30. May 07, 2020
  31. Apr 22, 2020
  32. Apr 21, 2020
Loading