Hello everyone, ANyone knows a way of debugging t...
# community-support
a
Hello everyone, ANyone knows a way of debugging the
send-report
command besides the log file created on target folder? I am getting a super generic error and the log does not tell me anything.
Copy code
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:39:58 — DEBUG — Result bytes size for command '['dbt', '--log-format', 'json', 'run-operation', 'elementary.log_macro_results', '--args', '{"macro_name": "elementary_cli.get_models", "macro_args": {"exclude_elementary": true}}', '--project-dir', '/usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project', '--profiles-dir', '/usr/app/prd-dw/.dbt', '--target', 'wif']' is 538868
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:39:58 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_sources", "macro_args": {}} --project-dir /usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project --profiles-dir /usr/app/prd-dw/.dbt --target wif
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:40:09 — DEBUG — Result bytes size for command '['dbt', '--log-format', 'json', 'run-operation', 'elementary.log_macro_results', '--args', '{"macro_name": "elementary_cli.get_sources", "macro_args": {}}', '--project-dir', '/usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project', '--profiles-dir', '/usr/app/prd-dw/.dbt', '--target', 'wif']' is 473882
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:40:09 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_exposures", "macro_args": {}} --project-dir /usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project --profiles-dir /usr/app/prd-dw/.dbt --target wif
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:40:20 — DEBUG — Result bytes size for command '['dbt', '--log-format', 'json', 'run-operation', 'elementary.log_macro_results', '--args', '{"macro_name": "elementary_cli.get_exposures", "macro_args": {}}', '--project-dir', '/usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project', '--profiles-dir', '/usr/app/prd-dw/.dbt', '--target', 'wif']' is 3504
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] 2024-01-24 19:40:20 — INFO — Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_models_runs", "macro_args": {"days_back": 7, "exclude_elementary": true}} --project-dir /usr/local/lib/python3.9/site-packages/elementary/monitor/dbt_project --profiles-dir /usr/app/prd-dw/.dbt --target wif
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] [31;20m2024-01-24 19:44:11 — ERROR — Could not generate the report - Error: Failed to run dbt command.
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] Please reach out to our community for help with this issue.[0m
[2024-01-24, 19:44:13 UTC] {pod_manager.py:395} INFO - [base] NoneType: None
[2024-01-24, 19:44:14 UTC] {pod_manager.py:529} ERROR - Error parsing timestamp (no timestamp in message ''). Will continue execution but won't update timestamp
[2024-01-24, 19:44:14 UTC] {pod_manager.py:395} INFO - [base] 
[2024-01-24, 19:44:14 UTC] {pod_manager.py:516} INFO - Pod elementary-send-report-task-id-gnjnpddx has phase Running
n
Hey @Andre Almeida What is your dbt package version and your edr version? Did you upgrade them recently? You can check the logs in the
dbt.log
file. This should help as well.
a
both the most recent 0.13.2
i will try print dbt.log as well
nothin relvant on dbt.log, unfortunatly
Finally i was able to fix. For anyone running dbt/edr on Kubernetes, you might need to icnrease your default memory limit. A Pod with just 4GB of RAM wan;t enough, apparently. I Had to increase to 8GB. Now it is working. I am expecting this happening again in the future because our model keeps growing