Event Timeline
Comment Actions
More information:
(Pdb) cfg['storage'] {'check_config': {'check_write': True}, 'cls': 'local', 'db': 'postgresql://postgres@127.0.0.1:16607/tests', 'objstorage': {'args': {}, 'cls': 'memory'}} (Pdb) cfg['scheduler'] {'args': {'db': "user=postgres password=xxx dbname=tests host=127.0.0.1 port=16607 options=''"}, 'cls': 'local'}
so both the storage and scheduler backends are written to the same db.
It so happens that both scheduler and storage have a dbversion table.
So the storage check fails because the dbversion 17 (from the scheduler) does not match the latest storage dbversion (162)...
This is a current limitation in the swh.core db fixture somewhere there where we don't specify the dbname or schema.
Thanks @douardda ;)