I can't seem to be able to report back to the eLog.
*** Log file does not exist: /opt/airflow/logs/test/test/2022-04-14T00:29:46.023176+00:00/1.log
*** Fetching from: http://airflow-worker-0.airflow-worker.airflow.svc.cluster.local:8793/log/test/test/2022-04-14T00:29:46.023176+00:00/1.log
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1037} INFO - Dependencies all met for <TaskInstance: test.test 4646cb75-ce29-4375-9e8f-8c81f9bdbbb1 [queued]>
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1037} INFO - Dependencies all met for <TaskInstance: test.test 4646cb75-ce29-4375-9e8f-8c81f9bdbbb1 [queued]>
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1243} INFO -
--------------------------------------------------------------------------------
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1244} INFO - Starting attempt 1 of 1
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1245} INFO -
--------------------------------------------------------------------------------
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1264} INFO - Executing <Task(JIDSlurmOperator): test> on 2022-04-14 00:29:46.023176+00:00
[2022-04-14, 00:29:47 UTC] {standard_task_runner.py:52} INFO - Started process 2096 to run task
[2022-04-14, 00:29:47 UTC] {standard_task_runner.py:76} INFO - Running: ['airflow', 'tasks', 'run', 'test', 'test', '4646cb75-ce29-4375-9e8f-8c81f9bdbbb1', '--job-id', '1033', '--raw', '--subdir', 'DAGS_FOLDER/test.py', '--cfg-path', '/tmp/tmphqx2f85d', '--error-file', '/tmp/tmpwqwgfspf']
[2022-04-14, 00:29:47 UTC] {standard_task_runner.py:77} INFO - Job 1033: Subtask test
[2022-04-14, 00:29:47 UTC] {logging_mixin.py:109} INFO - Running <TaskInstance: test.test 4646cb75-ce29-4375-9e8f-8c81f9bdbbb1 [running]> on host airflow-worker-0.airflow-worker.airflow.svc.cluster.local
[2022-04-14, 00:29:47 UTC] {taskinstance.py:1431} INFO - Exporting the following env vars:
AIRFLOW_CTX_DAG_OWNER=airflow
AIRFLOW_CTX_DAG_ID=test
AIRFLOW_CTX_TASK_ID=test
AIRFLOW_CTX_EXECUTION_DATE=2022-04-14T00:29:46.023176+00:00
AIRFLOW_CTX_DAG_RUN_ID=4646cb75-ce29-4375-9e8f-8c81f9bdbbb1
[2022-04-14, 00:29:47 UTC] {jid.py:156} INFO - Attempting to run at SLAC...
[2022-04-14, 00:29:47 UTC] {jid.py:159} INFO - Queueing slurm job...
[2022-04-14, 00:29:47 UTC] {jid.py:161} INFO - {'_id': '230295b1-8c39-4a69-b9f0-27954f2f437e', 'experiment': 'mfxp19619', 'run_num': '592022-04-14T00:29:45.893539', 'user': 'fpoitevi', 'status': '', 'tool_id': '', 'def_id': '46e88852-b70e-45f0-acb3-4f318f1a46eb', 'def': {'_id': 'ec7ed17a-aa86-4e40-911c-93085cd6b522', 'name': 'test', 'executable': '/cds/sw/package/autosfx/btx/scripts/elog_submit.sh', 'trigger': 'MANUAL', 'location': 'SLAC', 'parameters': '--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test', 'run_as_user': 'airflow'}}
[2022-04-14, 00:29:47 UTC] {jid.py:136} INFO - Calling http://psdm02:8446/jid_slac/jid/ws/mfxp19619/start_job with {'_id': '230295b1-8c39-4a69-b9f0-27954f2f437e', 'experiment': 'mfxp19619', 'run_num': '592022-04-14T00:29:45.893539', 'user': 'fpoitevi', 'status': '', 'tool_id': '', 'def_id': '46e88852-b70e-45f0-acb3-4f318f1a46eb', 'def': {'_id': 'ec7ed17a-aa86-4e40-911c-93085cd6b522', 'name': 'test', 'executable': '/cds/sw/package/autosfx/btx/scripts/elog_submit.sh', 'trigger': 'MANUAL', 'location': 'SLAC', 'parameters': '--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test', 'run_as_user': 'airflow'}}...
[2022-04-14, 00:29:47 UTC] {jid.py:138} INFO - + 200: {"success":true,"value":{"_id":"230295b1-8c39-4a69-b9f0-27954f2f437e","def":{"_id":"ec7ed17a-aa86-4e40-911c-93085cd6b522","executable":"/cds/sw/package/autosfx/btx/scripts/elog_submit.sh","location":"SLAC","name":"test","parameters":"--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test","run_as_user":"airflow","trigger":"MANUAL"},"def_id":"46e88852-b70e-45f0-acb3-4f318f1a46eb","experiment":"mfxp19619","run_num":"592022-04-14T00:29:45.893539","status":"SUBMITTED","tool_id":360306,"user":"fpoitevi"}}
[2022-04-14, 00:29:47 UTC] {jid.py:163} INFO - jobid 360306 successfully submitted!
[2022-04-14, 00:29:57 UTC] {jid.py:168} INFO - Checking for job completion...
[2022-04-14, 00:29:57 UTC] {jid.py:136} INFO - Calling http://psdm02:8446/jid_slac/jid/ws/job_statuses with [{'_id': '230295b1-8c39-4a69-b9f0-27954f2f437e', 'def': {'_id': 'ec7ed17a-aa86-4e40-911c-93085cd6b522', 'executable': '/cds/sw/package/autosfx/btx/scripts/elog_submit.sh', 'location': 'SLAC', 'name': 'test', 'parameters': '--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test', 'run_as_user': 'airflow', 'trigger': 'MANUAL'}, 'def_id': '46e88852-b70e-45f0-acb3-4f318f1a46eb', 'experiment': 'mfxp19619', 'run_num': '592022-04-14T00:29:45.893539', 'status': 'SUBMITTED', 'tool_id': 360306, 'user': 'fpoitevi'}]...
[2022-04-14, 00:29:57 UTC] {jid.py:138} INFO - + 200: {"success":true,"value":[{"_id":"230295b1-8c39-4a69-b9f0-27954f2f437e","counters":[{"setup":{"root_dir":"/cds/data/psdm/mfx/mfxp19619/scratch/test/"},"test":{"parameter":"value"}}],"def":{"_id":"ec7ed17a-aa86-4e40-911c-93085cd6b522","executable":"/cds/sw/package/autosfx/btx/scripts/elog_submit.sh","location":"SLAC","name":"test","parameters":"--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test","run_as_user":"airflow","trigger":"MANUAL"},"def_id":"46e88852-b70e-45f0-acb3-4f318f1a46eb","experiment":"mfxp19619","run_num":"592022-04-14T00:29:45.893539","status":"DONE","tool_id":360306,"user":"fpoitevi"}]}
[2022-04-14, 00:30:27 UTC] {jid.py:136} INFO - Calling http://psdm02:8446/jid_slac/jid/ws/mfxp19619/job_log_file with {'_id': '230295b1-8c39-4a69-b9f0-27954f2f437e', 'counters': [{'setup': {'root_dir': '/cds/data/psdm/mfx/mfxp19619/scratch/test/'}, 'test': {'parameter': 'value'}}], 'def': {'_id': 'ec7ed17a-aa86-4e40-911c-93085cd6b522', 'executable': '/cds/sw/package/autosfx/btx/scripts/elog_submit.sh', 'location': 'SLAC', 'name': 'test', 'parameters': '--config_file /cds/sw/package/autosfx/btx/tutorial/test.yaml --dag test --queue psanaq --ncores 1 --jid_update_counters http://psdm02.pcdsn:8442/jid_slac/jid/ws/replace_counters/62576af8b72ad5a60048f9e2 --task test', 'run_as_user': 'airflow', 'trigger': 'MANUAL'}, 'def_id': '46e88852-b70e-45f0-acb3-4f318f1a46eb', 'experiment': 'mfxp19619', 'run_num': '592022-04-14T00:29:45.893539', 'status': 'DONE', 'tool_id': 360306, 'user': 'fpoitevi'}...
[2022-04-14, 00:30:27 UTC] {jid.py:138} INFO - + 200: {"success":true,"value":"/cds/sw/package/autosfx/btx/scripts/main.py -c /cds/sw/package/autosfx/btx/tutorial/test.yaml -t test\nDEBUG:urllib3.connectionpool:Starting new HTTP connection (1): psdm02.pcdsn:8442\nDEBUG:urllib3.connectionpool:http://psdm02.pcdsn:8442/ \"POST /jid_slac/jid/ws/replace_counters/230295b1-8c39-4a69-b9f0-27954f2f437e HTTP/1.1\" 200 103\nError: required argument 'global' is not configured.\nError: required argument 'global' is not configured.\n{'setup': {'root_dir': '/cds/data/psdm/mfx/mfxp19619/scratch/test/'}, 'test': {'parameter': 'value'}}\nTask successfully executed\n"}
[2022-04-14, 00:30:27 UTC] {taskinstance.py:1282} INFO - Marking task as SUCCESS. dag_id=test, task_id=test, execution_date=20220414T002946, start_date=20220414T002947, end_date=20220414T003027
[2022-04-14, 00:30:27 UTC] {local_task_job.py:154} INFO - Task exited with return code 0
[2022-04-14, 00:30:27 UTC] {local_task_job.py:264} INFO - 0 downstream tasks scheduled from follow-on schedule check