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

Fix sumo scenario build hanging #1941

Merged
merged 5 commits into from
Apr 5, 2023
Merged

Fix sumo scenario build hanging #1941

merged 5 commits into from
Apr 5, 2023

Conversation

saulfield
Copy link
Contributor

I believe this fixes #1816.

It seems that junction_check_proc can sometimes not return. Since there was no timeout argument given to join, this could block infinitely.

@@ -168,7 +168,7 @@ def from_spec(cls, map_spec: MapSpec):
# coordinates are relative to the origin).
G._shifted_by_smarts = True

junction_check_proc.join()
junction_check_proc.join(5)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting. I assume somehow File, Process, or mmap is hanging.

@saulfield saulfield merged commit 62055be into master Apr 5, 2023
@saulfield saulfield deleted the saul/test-fixes branch April 5, 2023 14:17
Gamenot added a commit that referenced this pull request Apr 6, 2023
* Fix sumo scenario build hanging (#1941)

* Dummy commit

* Remove process call in sumo map class

* Try adding timeout

* Update changelog

* Add id based entry tactic.

* Fix Mission is None in id capture manager.

* Fix typing.

* Add time range.

* Ensure that IdEntryTactic is tested.

* Fix naming.

* Mangle method that should not be called.

* Fix typing test.

* Apply suggestions from code review

Co-authored-by: Saul Field <[email protected]>
Co-authored-by: adai <[email protected]>

* Clarify order of operations.

---------

Co-authored-by: Saul Field <[email protected]>
Co-authored-by: adai <[email protected]>
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.

CI timeout
3 participants