Integration suite: fixture tests blocked by the demo-data test; HTTP 500 on...
Open-source Excel-native EPM and consolidation for SAP & Dynamics
Brought to you by:
konsolid-at
Originally created by: grynn-in
Running tests/integration against the local stack on 13 Sep (on the intercompany branch, [#175]) gave 39 passed, 7 failed, 5 skipped and 3 errors. None of the failures come from that PR's code:
dbt build stops at assert_d365_gl_vouchers_balance, which fails on 927 rows of demo D365 data, and skips everything downstream. test_dbt_build_succeeds, test_dbt_build_no_errors_in_output and both fixture tests (ic_two_partners, IC decisions 12–14) fail on dbt's return code alone. Run with dbt run, both fixtures pass with 0 expectation mismatches. assert_staging_not_stale also fails.test_frappe_sync skips with "ClickHouse not available" when run from inside the container.The fixture expectations are the only check that catches some intercompany rules (for example, membership by ownership window). While dbt build stops at the demo-data test, they never run inside the suite. CI doesn't run the suite at all (#181).
+<ic models> with dbt run, then dbt test --select the IC tests.test_frappe_sync connects to inside the container.
Originally posted by: grynn-in
Verdict: the stated cause is GONE — recommend closing and re-running the suite rather than fixing as written.
The issue's first blocker is
dbt buildstopping atassert_d365_gl_vouchers_balanceon 927 rows of demo D365 data. That data no longer exists:konsol/fixtures/is reference data only, enforced by a test).epm_raw.gl_entriesandepm_bronze.general_journal_account_entriesboth returnCode: 60, Unknown table.So the suite will not fail the way this issue describes. It will very likely fail differently now (missing tables rather than unbalanced vouchers), which is a different problem and deserves a fresh run before a new issue is written. Related: konsolidat#181 (no dbt build or integration test in CI) is the reason nobody has noticed.
🤖 Triage against
main— Claude Code · https://claude.ai/code/session_01P3Pf9835FeLeXjRrYTTZ1MOriginally posted by: grynn-in
Closing because the stated cause no longer exists, and a fresh run should write the replacement rather than this issue being edited.
The first blocker was
dbt buildstopping atassert_d365_gl_vouchers_balanceon 927 rows of demo D365 data. That data is gone: the demo fixtures were removed by konsol#127, and the current stack has no D365 data at all —epm_raw.gl_entriesandepm_bronze.general_journal_account_entriesboth returnCode: 60, Unknown table.The suite will therefore not fail as described. It will very likely fail differently now, which deserves its own issue written from an actual run. konsolidat#181 (no
dbt build, nodbt testand no integration run in CI) is why nobody noticed this went stale, and is the better place to spend the effort.🤖 Claude Code · https://claude.ai/code/session_01P3Pf9835FeLeXjRrYTTZ1M
Ticket changed by: grynn-in