See e.g. https://integration.wikimedia.org/ci/job/mwext-Wikibase-repo-tests-sqlite-hhvm-jessie/5080/console related to https://gerrit.wikimedia.org/r/#/c/406302/ (documentation change).
From the log:
Could not insert main page: RevisionStore for cannot be used with a DB connection for jenkins_u0_mw
Interestingly enough, mysql builds seem to be fine?
@Addshore kindly pointed that the similar exception has been observed in T183914. Now it is somehow back again.
Wild guess of mine is that https://gerrit.wikimedia.org/r/#/c/406789/2/includes/Storage/RevisionStore.php might have somehow caused this (although my brain is too small to find the connection).