Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent Test: NiFgenSessionTest.InitializedSession_CloseSession_ClosesDriverSession #951

Closed
reckenro opened this issue Jun 22, 2023 · 2 comments · Fixed by #983
Closed

Comments

@reckenro
Copy link
Collaborator

reckenro commented Jun 22, 2023

From this run on a PR: https://github.com/ni/grpc-device/actions/runs/5339863258/jobs/9680561659?pr=950

[ RUN      ] NiFgenSessionTest.InitializedSession_CloseSession_ClosesDriverSession
unknown file: Failure
C++ exception with description "MAX:  (Hex 0x80040303) Internal error: The requested object was not found in the configuration database. Please note the steps you performed that led to this error and contact technical support at http://ni.com/support.

Component Name: 
File Name: 
Line Number: 0

Status Code: -2147220733" thrown in the test body.
[  FAILED  ] NiFgenSessionTest.InitializedSession_CloseSession_ClosesDriverSession (415 ms)

AB#2429222

@bkeryan
Copy link
Contributor

bkeryan commented Jun 22, 2023

Good, I was hoping #949 would show what's going on with this test.

The NI-FGEN simulation code for this instrument model creates a temporary device entry in the MXS database that is used to track installed devices in MAX. For some reason, it is unable to find the device that it has just created (or a related database entry).

A potential workaround is to simulate a different model that uses a different simulation codebase, such as "5423 (2CH)". Example option string: "Simulate=1, DriverSetup=Model:5423 (2CH); BoardType:PXIe"

@reckenro
Copy link
Collaborator Author

Similar FGEN Failure for a different test from https://github.com/ni/grpc-device/actions/runs/5410336730/jobs/9843887723?pr=957:

[ RUN      ] NiFgenSessionTest.InitializeSessionWithDeviceAndNoSessionName_CreatesDriverSession
unknown file: Failure
C++ exception with description "MAX:  (Hex 0x80040303) Internal error: The requested object was not found in the configuration database. Please note the steps you performed that led to this error and contact technical support at http://ni.com/support.

Component Name: 
File Name: 
Line Number: 0

Status Code: -2147220733" thrown in the test body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants