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

safety.dat unable to SEEK_SET to 0 #646

Closed
heifner opened this issue Aug 27, 2024 · 2 comments · Fixed by #659 or #663
Closed

safety.dat unable to SEEK_SET to 0 #646

heifner opened this issue Aug 27, 2024 · 2 comments · Fixed by #659 or #663
Assignees
Labels
bug The product is not working as was intended. 👍 lgtm OCI Work exclusive to OCI team

Comments

@heifner
Copy link
Member

heifner commented Aug 27, 2024

Noticed in log of lib_advance_test.py

This was before #624
https://github.com/AntelopeIO/spring/actions/runs/10564544450

warn  2024-08-26T18:00:00.910 net-1     finalizer.cpp:209             save_finalizer_safet ] 13 NSt8ios_base7failureB5cxx11E: cfile: /__w/spring/spring/build/TestLogs/lib_advance_test9/node_03/finalizers/safety.dat unable to SEEK_SET to: 0, ferror: 0: iostream error
rethrow cfile: /__w/spring/spring/build/TestLogs/lib_advance_test9/node_03/finalizers/safety.dat unable to SEEK_SET to: 0, ferror: 0: iostream error: 
    {"what":"cfile: /__w/spring/spring/build/TestLogs/lib_advance_test9/node_03/finalizers/safety.dat unable to SEEK_SET to: 0, ferror: 0: iostream error"}
    net-1  finalizer.cpp:209 save_finalizer_safety_info
@heifner heifner added this to the Spring v1.0.0-rc3 milestone Aug 27, 2024
@heifner heifner added bug The product is not working as was intended. and removed triage labels Aug 27, 2024
@enf-ci-bot enf-ci-bot moved this to Todo in Team Backlog Aug 27, 2024
@heifner heifner added the triage label Aug 27, 2024
@bhazzard
Copy link

bhazzard commented Aug 27, 2024

For RC3: catch and stop voting, possibly shut down.

Finding the root cause of the SEEK_SET error could become a separate issue tracked for a future milestone (after v1.0.0).

@bhazzard bhazzard added 👍 lgtm OCI Work exclusive to OCI team and removed triage labels Aug 27, 2024
@heifner heifner moved this from Todo to In Progress in Team Backlog Aug 27, 2024
heifner added a commit that referenced this issue Aug 28, 2024
…t and incorporate vote if save_finalizer_safety_info() returns true.

Add missing mutex. Unlikely needed as only accessed during startup or initial transition.
Throw exception out of load_finalizer_safety_info() if unable to open file.
heifner added a commit that referenced this issue Aug 28, 2024
@heifner
Copy link
Member Author

heifner commented Aug 28, 2024

Was able to reproduce this issue on branch f866521, but not on branch 5315ce6. Appears to have been fixed by #624 somehow. Unclear as nothing in #624 should have made any difference in this regard.

@heifner heifner moved this from In Progress to Awaiting Review in Team Backlog Aug 28, 2024
heifner added a commit that referenced this issue Aug 28, 2024
[1.0] Improve finalizer safety file exception handling
heifner added a commit that referenced this issue Aug 28, 2024
heifner added a commit that referenced this issue Aug 28, 2024
…-main

[1.0 -> main] Improve finalizer safety file exception handling
@github-project-automation github-project-automation bot moved this from Awaiting Review to Done in Team Backlog Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The product is not working as was intended. 👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
3 participants