we have not made any changes to DB and our DBT pac...
# community-support
v
we have not made any changes to DB and our DBT packages are up to date. Please help us to find the root cause of this
✅ 1
o
amm could be other dependency that got upgraded, from a quick look this seems related - https://github.com/dbt-labs/dbt-core/issues/3366#ref-pullrequest-1871392232
v
is this something needs to be fixed in run-elementary?
o
Can you please share the entire log of the github action?
s
hey @Or Avidov !! Sorry for jumping in on this conversation but I am also facing the same error since last week. Here is the github action log where the elementary action comes into picture.
Copy code
2023-10-19 15:05:47,799 Setting up the environment.
2023-10-19 15:05:47,799 Getting Elementary dbt package version.
2023-10-19 15:05:52,309 Failed to get Elementary dbt package version: {'returncode': 1, 'cmd': ['dbt', '--log-format', 'json', 'run-operation', 'get_elementary_dbt_pkg_version', '--project-dir', '/edr_stager_dbt_project'], 'output': b'{"data": {"log_version": 3, "version": "=1.6.6"}, "info": {"category": "", "code": "A001", "extra": {}, "invocation_id": "307abf4c-263f-4461-85cf-b2a95676190b", "level": "info", "msg": "Running with dbt=1.6.6", "name": "MainReportVersion", "pid": 53, "thread": "MainThread", "ts": "2023-10-19T15:05:50.482972Z"}}\n{"data": {"adapter_name": "snowflake", "adapter_version": "=1.6.4"}, "info": {"category": "", "code": "E034", "extra": {}, "invocation_id": "307abf4c-263f-4461-85cf-b2a95676190b", "level": "info", "msg": "Registered adapter: snowflake=1.6.4", "name": "AdapterRegistered", "pid": 53, "thread": "MainThread", "ts": "2023-10-19T15:05:50.822466Z"}}\n{"data": {"reason": "saved manifest not found. Starting full parse."}, "info": {"category": "", "code": "I024", "extra": {}, "invocation_id": "307abf4c-263f-4461-85cf-b2a95676190b", "level": "info", "msg": "Unable to do partial parsing because saved manifest not found. Starting full parse.", "name": "UnableToPartialParse", "pid": 53, "thread": "MainThread", "ts": "2023-10-19T15:05:50.834988Z"}}\n{"data": {"stat_line": "0 sources, 0 exposures, 0 metrics, 381 macros, 0 groups, 0 semantic models"}, "info": {"category": "", "code": "W006", "extra": {}, "invocation_id": "307abf4c-263f-4461-85cf-b2a95676190b", "level": "info", "msg": "Found 0 sources, 0 exposures, 0 metrics, 381 macros, 0 groups, 0 semantic models", "name": "FoundStats", "pid": 53, "thread": "MainThread", "ts": "2023-10-19T15:05:51.881212Z"}}\n{"data": {"exc": "Database Error\\n  Error detecting the version of libcrypto"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "307abf4c-263f-4461-85cf-b2a95676190b", "level": "error", "msg": "Encountered an error while running operation: Database Error\\n  Error detecting the version of libcrypto", "name": "RunningOperationCaughtError", "pid": 53, "thread": "MainThread", "ts": "2023-10-19T15:05:52.063051Z"}}\n', 'stderr': b''}
Traceback (most recent call last):
  File "/entrypoint.py", line 144, in <module>
    main()
  File "/entrypoint.py", line 135, in main
    install_edr(args.adapter, args.project_dir, args.profile_target)
  File "/entrypoint.py", line 60, in install_edr
    command_results = subprocess.run(
  File "/usr/local/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['dbt', '--log-format', 'json', 'run-operation', 'get_elementary_dbt_pkg_version', '--project-dir', '/edr_stager_dbt_project']' returned non-zero exit status 1.
A few of us are already trying to solve it in this thread. https://elementary-community.slack.com/archives/C02CTC89LAX/p1697451868560089 Any help would be appreciated.
i
Hi @Shantanu Panwar - see my comment in the thread you sent - I've released a new version of the action which I think should solve this.