Kevin Schaich
02/21/2023, 6:09 PMdaniel
02/22/2023, 5:37 PMKevin Schaich
02/23/2023, 5:10 AMMultiprocess executor: child process for step seatgeek_events_raw was terminated by signal 7 (SIGBUS).
dagster._core.executor.child_process_executor.ChildProcessCrashException
Stack Trace:
File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/multiprocess.py", line 240, in execute
event_or_none = next(step_iter)
, File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/multiprocess.py", line 357, in execute_step_out_of_process
for ret in execute_child_process_command(multiproc_ctx, command):
, File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/child_process_executor.py", line 174, in execute_child_process_command
raise ChildProcessCrashException(exit_code=process.exitcode)
daniel
02/23/2023, 1:37 PMdaniel
02/23/2023, 1:44 PMKevin Schaich
02/23/2023, 7:20 PMKevin Schaich
02/23/2023, 7:22 PMChildProcessCrashException
, just a hunch thoughKevin Schaich
02/23/2023, 7:23 PMdaniel
02/23/2023, 7:25 PMexecution:
config:
in_process:
i'd still expect it to crash but maybe there might be more information about the crash since it'd be happening in the 'main' process? or if it doesn't crash that might be a clueKevin Schaich
02/23/2023, 7:27 PMdaniel
02/23/2023, 7:28 PMKevin Schaich
02/23/2023, 7:32 PMKevin Schaich
02/23/2023, 7:37 PM[DagsterApiServer] Run execution process for cca2b48b-36db-4443-8f53-01a7934c3283 was terminated by signal 7 (SIGBUS).
14:33:20.459
-
RUN_FAILURE
This run has been marked as failed from outside the execution context.
do I need a true
or similar here? or is null
expecteddaniel
02/23/2023, 7:50 PMKevin Schaich
02/23/2023, 8:09 PMdaniel
02/23/2023, 8:12 PMKevin Schaich
02/23/2023, 8:14 PM<http://context.log.info|context.log.info>
and similar in my ops – I meant is there a way for us to dig into what's actually causing the signal 7 SIGBUS thing.
Like when I was running locally if anything failed, I'd always get a full stacktracedaniel
02/23/2023, 8:15 PMdaniel
02/23/2023, 8:16 PMdaniel
02/23/2023, 8:25 PMPYTHONFAULTHANDLER
environment variable to True and it will hopefully give you more of a stack trace at least when the SIGBUS happensKevin Schaich
02/25/2023, 7:56 PMfaulthandler.enable()
and unfortunately I get the same thing
dagster._core.executor.child_process_executor.ChildProcessCrashException
Stack Trace:
File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/multiprocess.py", line 240, in execute
event_or_none = next(step_iter)
, File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/multiprocess.py", line 357, in execute_step_out_of_process
for ret in execute_child_process_command(multiproc_ctx, command):
, File "/opt/conda/lib/python3.10/site-packages/dagster/_core/executor/child_process_executor.py", line 174, in execute_child_process_command
raise ChildProcessCrashException(exit_code=process.exitcode)
daniel
02/25/2023, 7:59 PMKevin Schaich
02/25/2023, 8:01 PMdaniel
02/25/2023, 8:02 PMdaniel
02/25/2023, 8:26 PMKevin Schaich
02/27/2023, 9:29 PM2023-02-25 14:53:24 2023-02-25 19:53:24 +0000 - dagit - INFO - Serving dagit on <http://0.0.0.0:3003> in process 1
like I mentioned, this op was working fine when I just ran dagster dev
locally but in Docker it only works sometimesKevin Schaich
02/27/2023, 9:30 PMexecute_in_process
for an asset?daniel
02/27/2023, 9:32 PMKevin Schaich
02/27/2023, 9:34 PMexecution:
config:
in_process:
daniel
02/27/2023, 9:34 PMdaniel
02/27/2023, 9:35 PMKevin Schaich
02/27/2023, 9:45 PM@asset(group_name="unified", retry_policy=retry_policy)
def events(context: OpExecutionContext):
# ...
# op definition
# ...
# works
events(None)
# also works
materialize([events])
Kevin Schaich
02/27/2023, 10:52 PMdocker-compose.yml
example) – we'd like to improve the docs and hopefully alleviate problems for others
https://dagster.slack.com/archives/C01U954MEER/p1677537966734039?thread_ts=1676958835.416799&cid=C01U954MEERdaniel
02/27/2023, 10:53 PMKevin Schaich
02/27/2023, 10:53 PMKevin Schaich
02/27/2023, 10:53 PMdaniel
02/27/2023, 10:54 PM