Page MenuHomePhabricator

data-reload: DAG is failing the integrity check
Closed, ResolvedPublic

Description

The data-reload DAG hasn't gotten past the integrity check since it was launched:
https://airflow-wikidata.wikimedia.org/dags/wdqs_wikidata_data_reload/grid

It looks like some issue with a filename in the PVC:

[2026-07-13, 14:02:00 UTC] {pod_manager.py:358} INFO - [base] ERROR:lib.logging:Could not find file in /mnt/dumpsdata/otherdumps/wikibase/wikidatawiki/20260712/.

Event Timeline

trueg changed the task status from Open to In Progress.Sep 4 2026, 11:27 AM
trueg claimed this task.

The verification step had multiple issues which now have been resolved:

  • Before the DAG would re-use previously used dump directories by using the end of the schedule cycle as dir name. This resulted in the dump script writing different versions of dump files into the same dir. The verification script correctly flagged this as an issue. Now the DAG uses the start time of the DAG for dump dir naming.
  • With the mentioned change in dump dir, the verification script's hard-coded dump dir detection pattern did not work anymore. It is fixed now, and we plan to make it configurable in the future.
  • The verification script contained a small bug which made it search for dump files in the wrong dir. That is fixed now.