You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The task storages.allocate-pumped-hydro-eGon2035 failed in the current CI-run:
[2022-07-28 14:56:15,109] {taskinstance.py:901} INFO - Executing <Task(Storages (versioned)): storages.allocate-pumped-hydro-eGon2035> on 2022-07-24T20:52:55+00:00
[2022-07-28 14:56:15,119] {standard_task_runner.py:54} INFO - Started process 681625 to run task
[2022-07-28 14:56:15,231] {standard_task_runner.py:77} INFO - Running: ['airflow', 'run', 'egon-data-processing-pipeline', 'storages.allocate-pumped-hydro-eGon2035', '2022-07-24T20:52:55+00:00', '--job_id', '185', '--pool', 'default_pool', '--raw', '-sd', 'DAGS_FOLDER/dags/pipeline.py', '--cfg_path', '/tmp/tmpnidbw63_']
[2022-07-28 14:56:15,232] {standard_task_runner.py:78} INFO - Job 185: Subtask storages.allocate-pumped-hydro-eGon2035
[2022-07-28 14:56:15,270] {logging_mixin.py:120} INFO - Running <TaskInstance: egon-data-processing-pipeline.storages.allocate-pumped-hydro-eGon2035 2022-07-24T20:52:55+00:00 [running]> on host at32
[2022-07-28 14:56:15,610] {taskinstance.py:1150} ERROR - name 'egon' is not defined
Traceback (most recent call last):
File "/home/egondata/git-repos/friday-evening-weekend-run/environment/lib/python3.8/site-packages/airflow/models/taskinstance.py", line 984, in _run_raw_task
result = task_copy.execute(context=context)
File "/home/egondata/git-repos/friday-evening-weekend-run/code/src/egon/data/datasets/__init__.py", line 194, in skip_task
result = super(type(task), task).execute(*xs, **ks)
File "/home/egondata/git-repos/friday-evening-weekend-run/environment/lib/python3.8/site-packages/airflow/operators/python_operator.py", line 113, in execute
return_value = self.execute_callable()
File "/home/egondata/git-repos/friday-evening-weekend-run/environment/lib/python3.8/site-packages/airflow/operators/python_operator.py", line 118, in execute_callable
return self.python_callable(*self.op_args, **self.op_kwargs)
File "/home/egondata/git-repos/friday-evening-weekend-run/code/src/egon/data/datasets/storages/__init__.py", line 92, in allocate_pumped_hydro_eGon2035
nep = select_nep_pumped_hydro()
File "/home/egondata/git-repos/friday-evening-weekend-run/code/src/egon/data/datasets/storages/pumped_hydro.py", line 31, in select_nep_pumped_hydro
cfg = egon.data.config.datasets()["power_plants"]
NameError: name 'egon' is not defined
[2022-07-28 14:56:15,617] {taskinstance.py:1187} INFO - Marking task as FAILED. dag_id=egon-data-processing-pipeline, task_id=storages.allocate-pumped-hydro-eGon2035, execution_date=20220724T205255, start_date=20220728T125615, end_date=20220728T125615
[2022-07-28 14:56:19,991] {local_task_job.py:102} INFO - Task exited with return code 1
I had a look at the recent changes, it looks like f94f918 created this problem. I manually undid this change in the current CI run and the task run successfully. @AmeliaNadal: These changes seem to be already in the dev-branch. Do you know if it run successfully once? Looking at the code, I would assume that this problem also exists in test-mode.
The text was updated successfully, but these errors were encountered:
The task storages.allocate-pumped-hydro-eGon2035 failed in the current CI-run:
I had a look at the recent changes, it looks like f94f918 created this problem. I manually undid this change in the current CI run and the task run successfully.
@AmeliaNadal: These changes seem to be already in the dev-branch. Do you know if it run successfully once? Looking at the code, I would assume that this problem also exists in test-mode.
The text was updated successfully, but these errors were encountered: