Skip to content
This repository was archived by the owner on Jul 18, 2022. It is now read-only.
This repository was archived by the owner on Jul 18, 2022. It is now read-only.

Federation crash without killing helics_broker #56

@trevorhardy

Description

@trevorhardy

I've got a federation with a fatal error in one of the federates that results in all the federates dying but the helics_broker hanging around.

OS: Mac 10.15.7

$ helics --version
helics, version 0.6.1

Python HELICS version v3.1.2.post1

HELICS Library version 3.1.2 (2022-01-25)

HELICS Apps version v3.1.0

broken_federation.zip

$ helics run --path=./fib_runner.json     
helics-cli [error]: `helics` and `helics-apps` versions don't match. You may want to run `pip install helics helics-apps --upgrade`.
helics-cli [info]: Running federation: Fibonnaci demo
helics-cli [info]: Running federate fib1 as a background process
helics-cli [info]: Running federate fib4 as a background process
helics-cli [info]: Waiting for 3 processes to finish ...
Error: Process fib4 has failed, killing other processes
helics-cli [error]: Process broker exited with return code -9
helics-cli [error]: Process fib1 exited with return code -9
helics-cli [error]: Process fib4 exited with return code 1
helics-cli [info]: Done.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Users/hard312/opt/anaconda3/envs/HELICS_UG/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Users/hard312/opt/anaconda3/envs/HELICS_UG/lib/python3.8/site-packages/helics_cli/status_checker.py", line 40, in run
    raise HELICSRuntimeError("Error has occurred")
helics_cli.exceptions.HELICSRuntimeError: Error has occurred

$ ps
  PID TTY           TIME CMD
 1289 ttys000    0:00.11 -zsh
 1294 ttys001    0:00.10 -zsh
82724 ttys002    0:00.29 -zsh
95644 ttys002    0:00.03 /Users/hard312/opt/anaconda3/envs/HELICS_UG/lib/python3.8/site-packages/helics/install/bin/helics_broker -f 2 --loglevel=error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions