Clone
1
run 2410 TEST commit edda3ea
ci-bot edited this page 2025-08-18 12:47:40 +00:00

Test Report

View CI Run 2410 | Commit edda3ea

🧪 Test Report

Generated on 2025-08-18 14:47:13 CEST

🧾 General Info

  • duration: 5.467590093612671
  • root: /workspace/tligui_y/slic
  • environment: {}

📋 Summary

  • Passed: 5
  • Failed: 1
  • Total: 6
  • Collected: 6

🔎 Tests

Passed (5)
  • 📄 test_utils_duo.py

    Function: TestPickledDictReal

    • Test 1

      📌 Setup phase

      duration:

      0.0003845398314297199
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.029990892857313156
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003507360816001892
      

      outcome:

      passed
      
    • Test 2

      📌 Setup phase

      duration:

      0.00014052679762244225
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.019240790978074074
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017424626275897026
      

      outcome:

      passed
      

    Function: TestSecrets

    • Test 3

      📌 Setup phase

      duration:

      0.0008502216078341007
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.011314416769891977
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000452475156635046
      

      outcome:

      passed
      
    • Test 4

      📌 Setup phase

      duration:

      0.0007388610392808914
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0041467780247330666
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0021499176509678364
      

      outcome:

      passed
      
    • Test 5

      📌 Setup phase

      duration:

      0.0006002751179039478
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007952856831252575
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00032347580417990685
      

      outcome:

      passed
      
Failed (1)
  • 📄 test_utils_duo.py

    Function: test_list_pgroups

    • Test 6

      📌 Setup phase

      duration:

      0.0001274608075618744
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0537314279936254
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/models.py
      lineno: 1024
      message: requests.exceptions.HTTPError: 404 Client Error: Unknown p-group: for url: https://duo.psi.ch/duo/api.php/v1/CalendarInfos/pgroup/
      

      traceback:

      -   path: tests/test_utils_duo.py
        lineno: 143
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/models.py
        lineno: 1024
        message: HTTPError
      

      longrepr:

      def test_list_pgroups():
              """Return the list of available pgroups (IDs and names)."""
              KEY = "fried-BRAN-gorgon-togo-fledge-mummify-dustbin-advert"
              headers = {"x-api-secret": KEY}
      
              resp = requests.get(URL, headers=headers)
      >       resp.raise_for_status()
      
      tests/test_utils_duo.py:143: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <Response [404]>
      
          def raise_for_status(self):
              """Raises :class:`HTTPError`, if one occurred."""
      
              http_error_msg = ""
              if isinstance(self.reason, bytes):
                  # We attempt to decode utf-8 first because some servers
                  # choose to localize their reason strings. If the string
                  # isn't utf-8, we fall back to iso-8859-1 for all other
                  # encodings. (See PR #3538)
                  try:
                      reason = self.reason.decode("utf-8")
                  except UnicodeDecodeError:
                      reason = self.reason.decode("iso-8859-1")
              else:
                  reason = self.reason
      
              if 400 <= self.status_code < 500:
                  http_error_msg = (
                      f"{self.status_code} Client Error: {reason} for url: {self.url}"
                  )
      
              elif 500 <= self.status_code < 600:
                  http_error_msg = (
                      f"{self.status_code} Server Error: {reason} for url: {self.url}"
                  )
      
              if http_error_msg:
      >           raise HTTPError(http_error_msg, response=self)
      E           requests.exceptions.HTTPError: 404 Client Error: Unknown p-group: for url: https://duo.psi.ch/duo/api.php/v1/CalendarInfos/pgroup/
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/models.py:1024: HTTPError
      

      📌 Teardown phase

      duration:

      0.00021975208073854446
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_duo.py
      type: Module
    
tests (3 tests)
  • tests/test_utils_duo.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_duo.py::TestPickledDictReal
      type: Class
    -   nodeid: tests/test_utils_duo.py::TestSecrets
      type: Class
    -   nodeid: tests/test_utils_duo.py::test_list_pgroups
      type: Function
      lineno: 136
    
    • tests/test_utils_duo.py::TestPickledDictReal
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_duo.py::TestPickledDictReal::test_set_get
        type: Function
        lineno: 16
      -   nodeid: tests/test_utils_duo.py::TestPickledDictReal::test_load
        type: Function
        lineno: 50
      
    • tests/test_utils_duo.py::TestSecrets
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_secret_workflow
        type: Function
        lineno: 94
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_multiple_secrets
        type: Function
        lineno: 111
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_keyboard_interrupt
        type: Function
        lineno: 123
      

⚠️ Warnings

Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsread/h5.py
lineno: 207
Warnings nº2
message: The module numpy.dual is deprecated.  Instead of using dual, use the functions directly from numpy or scipy.
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/scipy/fft/__init__.py
lineno: 97