https://dagster.io/ logo
#ask-community
Title
# ask-community
e

Emrullah Ergun

02/23/2024, 2:32 PM
Hi I currently defined a sensor for my dbt jobs but upon executing the job I see this unexpected error :
Copy code
dagster._core.errors.DagsterSubprocessError: During multiprocess execution errors occurred in child processes:
In process 21: dagster._check.CheckError: Invariant failed.

Stack Trace:
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/executor/child_process_executor.py", line 79, in _execute_command_in_child_process
    for step_event in command.execute():
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/executor/multiprocess.py", line 97, in execute
    yield from execute_plan_iterator(
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/execution/api.py", line 875, in __iter__
    yield from self.iterator(
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/execution/plan/execute_plan.py", line 39, in inner_plan_execution_iterator
    compute_log_manager = job_context.instance.compute_log_manager
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/instance/__init__.py", line 799, in compute_log_manager
    compute_log_manager = cast(InstanceRef, self._ref).compute_log_manager
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/instance/ref.py", line 533, in compute_log_manager
    return self.compute_logs_data.rehydrate(as_type=ComputeLogManager)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/dagster/_serdes/config_class.py", line 132, in rehydrate
    return klass.from_config_value(self, check.not_none(result.value))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/dagster_gcp/gcs/compute_log_manager.py", line 119, in from_config_value
    return cls(inst_data=inst_data, **config_value)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/dagster_gcp/gcs/compute_log_manager.py", line 88, in __init__
    check.invariant(self._bucket.exists())
  File "/usr/local/lib/python3.11/dist-packages/dagster/_check/__init__.py", line 1614, in invariant
    raise CheckError("Invariant failed.")


  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/execution/api.py", line 764, in job_execution_iterator
    for event in job_context.executor.execute(job_context, execution_plan):
  File "/usr/local/lib/python3.11/dist-packages/dagster/_core/executor/multiprocess.py", line 311, in execute
    raise DagsterSubprocessError(
Do you have any idea ?
2 Views