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

Ensure delete connection info is called #2258

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

oysteoh
Copy link
Contributor

@oysteoh oysteoh commented Oct 26, 2021

HM tutorial where we have multiple runs of ERT often ends up with the file storage_server.json is present and ERT will sys.exit. Tried to add a retry mechanism waiting 1 sec * 3 just to avoid race condition on the deletion of the file, but that is not fixing the problem. Another thing to try is to make sure an exception is not causing us to miss the deletion of the file - which i try to do in this PR.

+ ert es_mda --enable-new-storage --port-range 1024-65535 /scratch/oompf/jenkins-hm-tutorial/tmp.ge2N3oNiez/ert_testsuite/ert/model/hm_analysis_short.ert
storage_server.json is present on this location. Retry 0
storage_server.json is present on this location. Retry 1
storage_server.json is present on this location. Retry 2
A file called storage_server.json is present from this location. This indicates there is already a ert instance running. If you are certain that is not the case, try to delete the file and try again.
ert crashed unexpectedly 

@oysteoh oysteoh merged commit 45d2dee into equinor:main Oct 26, 2021
@oysteoh oysteoh deleted the ensure_delete_conn branch October 26, 2021 08:19
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 this pull request may close these issues.

None yet

2 participants