Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Intermittently failing test

オープン
#178 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
testing

調査の方向性

tests/test_autosave.py::test_context_manager_thread_safety から始め、リンクされた実行の Windows CI 失敗を再現してください。Autosave 関連の動作を epicsdbbuilder issue #32 および PR #177 と比較してください。断続的な原因を特定し、CI でテストが確実に通過し、失敗が აღარ発生しないことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

There seems to be an intermittent failing test, introduced in the Autosave feature. Here's the failure stack from the last failed run:

   _____________________ test_context_manager_thread_safety ______________________
  Traceback (most recent call last):
    ...
    ...
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 159, in pytest_pyfunc_call
      result = testfunction(**testargs)
    File "D:\a\pythonSoftIOC\pythonSoftIOC\tests\test_autosave.py", line 443, in test_context_manager_thread_safety
      builder.aOut("PV-FROM-CM")
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\softioc\builder.py", line 59, in aOut
      return PythonDevice.ao(name, EGU = EGU, PREC = PREC, **fields)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\softioc\pythonSoftIoc.py", line 117, in __call__
      return RecordWrapper(
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\softioc\pythonSoftIoc.py", line 36, in __init__
      record.address = '@' + record.name
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\epicsdbbuilder\recordbase.py", line 216, in __setattr__
      self.__ValidateField(fieldname, value)
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\epicsdbbuilder\recordbase.py", line 227, in __ValidateField
      self._validate.ValidFieldValue(fieldname, str(value))
    File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-4d5mbdhg\cp39-win_amd64\venv-test\lib\site-packages\epicsdbbuilder\dbd.py", line 91, in ValidFieldValue
      assert message is None, \
  AssertionError: Can't write "@PV-FROM-CM" to field OUT: fldDes not found

The issue appears to be coming from epicsdbbuilder, which is why I've raised this issue there.

I've attempted to investigate this issue in CI in PR #177 , but have been unable to recreate it so far.

主要言語
Python
スター
47
フォーク
15
平均マージ
1日 18時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/pythonSoftIOC のほかの issue

DiamondLightSource/pythonSoftIOC の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。