Title: Intermittently failing test · Issue #178 · DiamondLightSource/pythonSoftIOC · GitHub
Open Graph Title: Intermittently failing test · Issue #178 · DiamondLightSource/pythonSoftIOC
X Title: Intermittently failing test · Issue #178 · DiamondLightSource/pythonSoftIOC
Description: 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...
Open Graph Description: 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 _____...
X Description: 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 _...
Opengraph URL: https://github.com/DiamondLightSource/pythonSoftIOC/issues/178
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intermittently failing test","articleBody":"There seems to be an intermittent failing test, introduced in the Autosave feature. Here's the failure stack from the[ last failed run](https://github.com/DiamondLightSource/pythonSoftIOC/actions/runs/12115105099/job/33772826165):\r\n\r\n```\r\n _____________________ test_context_manager_thread_safety ______________________\r\n Traceback (most recent call last):\r\n ...\r\n ...\r\n 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\r\n result = testfunction(**testargs)\r\n File \"D:\\a\\pythonSoftIOC\\pythonSoftIOC\\tests\\test_autosave.py\", line 443, in test_context_manager_thread_safety\r\n builder.aOut(\"PV-FROM-CM\")\r\n 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\r\n return PythonDevice.ao(name, EGU = EGU, PREC = PREC, **fields)\r\n 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__\r\n return RecordWrapper(\r\n 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__\r\n record.address = '@' + record.name\r\n 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__\r\n self.__ValidateField(fieldname, value)\r\n 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\r\n self._validate.ValidFieldValue(fieldname, str(value))\r\n 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\r\n assert message is None, \\\r\n AssertionError: Can't write \"@PV-FROM-CM\" to field OUT: fldDes not found\r\n```\r\n\r\nThe issue appears to be coming from epicsdbbuilder, which is why I've raised [this issue there.](https://github.com/DiamondLightSource/epicsdbbuilder/issues/32)\r\n\r\nI've attempted to investigate this issue in CI in PR #177 , but have been unable to recreate it so far.","author":{"url":"https://github.com/AlexanderWells-diamond","@type":"Person","name":"AlexanderWells-diamond"},"datePublished":"2024-12-03T14:21:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/178/pythonSoftIOC/issues/178"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd5e6697-12f3-41bd-18e7-48a4bd488e65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5CC:26013C:214687:2C0984:69827F84 |
| html-safe-nonce | 89e2c619dd5decab4121ecc034793a5bb6a937605b3b913155dcb4584e68bcf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUNDOjI2MDEzQzoyMTQ2ODc6MkMwOTg0OjY5ODI3Rjg0IiwidmlzaXRvcl9pZCI6IjIxMTkxNDUxNDYzMTM1MDY2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 14f9cad1220d2ad57a5acd9d1af1a753df8ead180b3da46576c73acf1d01fa03 |
| hovercard-subject-tag | issue:2715170441 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DiamondLightSource/pythonSoftIOC/178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da6015dca42faac60eee80891d577e6e8640dc54907322ad4d0c6419c534e0f8/DiamondLightSource/pythonSoftIOC/issues/178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da6015dca42faac60eee80891d577e6e8640dc54907322ad4d0c6419c534e0f8/DiamondLightSource/pythonSoftIOC/issues/178 |
| og:image:alt | 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 _____... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexanderWells-diamond |
| hostname | github.com |
| expected-hostname | github.com |
| None | 502ff2009aec8671c806fca4ec6d758f90b6b96901b01d5f0ed23cc438efdf0f |
| turbo-cache-control | no-preview |
| go-import | github.com/DiamondLightSource/pythonSoftIOC git https://github.com/DiamondLightSource/pythonSoftIOC.git |
| octolytics-dimension-user_id | 1233618 |
| octolytics-dimension-user_login | DiamondLightSource |
| octolytics-dimension-repository_id | 20049394 |
| octolytics-dimension-repository_nwo | DiamondLightSource/pythonSoftIOC |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20049394 |
| octolytics-dimension-repository_network_root_nwo | DiamondLightSource/pythonSoftIOC |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e7b93cf13221e895180e11ba3b1028b0b71f0ac |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width