Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
postgresql db driver
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2015 at 14:14 UTC
Updated:
16 Sep 2015 at 23:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jhedstromI'll take a look.
Comment #3
jhedstromI cannot reproduce any of the failing tests from https://www.drupal.org/pift-ci-job/25433 locally using Postgres 9.3.5. However, the exceptions in that test run reminded me of the inconsistent fails in #2266871: Update Notify fails to send email in AutomaticCron which were due to services being requested after the onTerminate events had been called (by the automatic cron runner, which has an equal weight to
KernelDesctructionSubscriber).I may have time later to spin up a VM with Postgres 9.1 to see if the exceptions can be reproduced.
Comment #4
dawehner@jhedstrom
You might have a good time when you try to use https://www.drupal.org/project/drupalci_testbot
Comment #5
jhedstromActually, this exception:
would happen if our installer error handling somewhere relied on the renderer service (further down in the failed test run are some serialization notices, which might attempt to display the message). I thought we'd resolved those early error handling issues though.
Comment #6
dawehnerWell, the problem afaik is that we rely on the database for the container, so I guess for the installer we might have to switch to not try to get the container from cache?
Comment #7
jhedstromSadly, I cannot reproduce the fails even using https://www.drupal.org/project/drupalci_testbot locally (php 5.5/pgsql 9.1). I tried the aggregator and basic_auth test groups, and they all pass.
Comment #8
jhedstromThis test fails locally
Drupal\system\Tests\Entity\Update\SqlContentEntityStorageSchemaIndexFilledTestin drupalci.Comment #9
alexpott#8 is #2561229: Upgrade content tests fails on postgres for translated comment - not related to this (unfortunately)
I've got some more info by removing the call to the render system...
Seem to be the two errors we are seeing - for more see https://www.drupal.org/pift-ci-job/26487
Comment #10
alexpottI'm doing investigations in #2561915: alexpott's test issue
Comment #11
alexpottWorked it out... Postgres's installer tasks does not work in a concurrent situation since it running queries that affect the whole database and we're using prefixes.
Comment #12
dawehnerGood catch!
Added some documentation to explain the problem you saw.
Comment #13
alexpottSo the two postgres fails in #11/#12 have issues with green patches on! woot :) #2561229: Upgrade content tests fails on postgres for translated comment and #2561129: Composite indexes are not correctly deleted/re-created when updating a field storage definition. I feel a green postgres testsuite round around the corner.
Comment #14
plachLooks great
Comment #16
catchNice one tracking this down. Fix itself is very straightforward for a tricky bug.
Committed/pushed to 8.0.x, thanks!
Comment #19
plachbot--