Intermittently failing test
まだ誰も着手していません。
評価
調査の方向性
tests/test_autosave.py::test_context_manager_thread_safety から始め、リンクされた実行の Windows CI 失敗を再現してください。Autosave 関連の動作を epicsdbbuilder issue #32 および PR #177 と比較してください。断続的な原因を特定し、CI でテストが確実に通過し、失敗が აღარ発生しないことを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/pythonSoftIOC のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
-
enhancement
DiamondLightSource/pythonSoftIOC#121 · コメント 2 件 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Replace devIocStats dependency with python device support implementing the same record interface オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
DiamondLightSource/pythonSoftIOC の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
learningequality/ricecooker#747 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
run-llama/llama_index#23199 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
KhronosGroup/glTF-Blender-IO#2769 ·