Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue is intended as a tracking issue only to list all of the known intermittent test failures affecting Drupal core. Some issues are due to bugs in Drupal core; others may be due to issues with DrupalCI infrastructure.
Only open issues should be listed in the summary.
Consistent failures
Intermittent failures
- #2825845: DST-related test failures in FilterDateTimeTest
- #2920590: (canard?) Big Bos of Random Fails is ChainedFastBackend::markAsOutdated()
- #3041318: Various random fails due to mis-triggered Mink deprecation error
- #3143812: Random test failure Table 'sequences' already exists.
- #3191559: [random test failure] Random test fail in EntityReferenceWidgetTest
- #3210432: [random test failure] LayoutBuilderQuickEditTest::testQuickEditIgnoresDuplicateFields()
- #3203712: [random test failure] EntityDisplayTest::testExtraFields()
- #3207125: [random test failure] SettingsTrayBlockFormTest:: testEditModeEnableDisable()
- #3389994: [random test failure] MediaTest::testViewMode
- #3401720: [random test fail] TimestampFormatterWithTimeDiffViewsTest::testTimestampFormatterWithTimeDiff
- #3414321: Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose
Low fail rate or may be resolved
- #3057767: [random test failure] DialogTest::testDialog() (failed 13 Mar 2023 for 10.0.x-dev test with PHP 8.1 & pgsql-14.1
Investigation and hardening for past random failures
- #2936432: Review use of pressButton() in functional javascript tests in the Media module
- #2946294: Fix race conditions in OffCanvasTestBase
- #2856047: Avoid random failures in JavascriptTestBase when testing functionality in a dialog
- #3055983: Occasional locks on SQLite
- #3056848: Investigate LayoutBuilderDisableInteractionsTest random fails further
- #2571183: Deprecate random() usage in tests to avoid random test failures
- #3165263: Allow known flaky tests to be automatically repeated
If your patch has an unexpected test failure
- Always click on the test results link to see what tests actually failed.
- Check the test results on https://www.drupal.org/node/3060/qa. If the same test appears to be failing on the "tested on commit" environments, HEAD may be broken.
- Most test failures are actually caused by bugs in patches. Even if a failure appears to be random, consider that the patch may be introducing the bug.
- If the test result says "CI error" or "CI aborted", that generally indicates an issue with the infrastructure and not with the patch. Wait a bit, then requeue the tests for the patch.
- If the test says "Fatal error" with no other information, click "View results on dispatcher", then "Console Output", then "Full log", and search on the page for "segmentation fault". #2859704: Intermittent segfaults on DrupalCI (some "did not complete due to a fatal error" with no additional info) is a known issue that may cause the test runner to report a fatal in different tests.
- If the test failure appears to be one of the above known failures, there is no need to add additional reports of it (unless the issue specifically requests so). Usually, once a fail is identified, Drupal.org maintainers can locate other, similar fails in server logs if needed. However, you should document on your issue which specific known issue caused the failure.
- If there is an unexpected test failure that is not covered by one of the above issues, file a new critical issue and add it to this issue's summary.
Comment | File | Size | Author |
---|
Comments
Comment #5
xjm@effulgentsia, @Cottser, @alexpott, @catch, and I agreed to track this issue as a major rather than a critical. The individual children will be at least major, but a few are not critical.
Comment #8
arlinsandbulte CreditAttribution: arlinsandbulte as a volunteer commentedJust a thought or maybe a feature request:
Random fails can be really hard to nail down because they are difficult to reproduce. Is there a way (or could one be created) to save ALL input variables (randomly generated strings & values, current time, etc.) and re-use all those input variables on a test re-run?
Comment #9
catchJust seen this one:
https://www.drupal.org/pift-ci-job/535086
Haven't opened an issue yet, but doesn't look like it's covered by the issues here afaict.
Comment #10
xjm@arlinsandbulte, run-tests.sh already supports that in a way -- you can set up a local test run to repeat hundreds of times, die on a fail, and preserve the environment. (For DrupalCI, the amount of storage needed to save every DB from every test run would be astronomical, but you can click through the results link to the full console output at least for tests going back for months.)
Comment #11
Wim Leers#2830485: \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest fails randomly is another one.
Comment #12
mikeryanAnother seemingly random test failure (two known instances): #2831603: Improve JSWebAssert::waitOnAutocomplete
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #15
timmillwoodIt looks as though 8.3.x HEAD is failing due to https://www.drupal.org/pift-ci-job/557206, this is
\Drupal\views\Tests\Update\ArgumentPlaceholderUpdatePathTest
. I can't replicate the issue locally.Comment #16
Wim Leers#15: to the best of my knowledge, #2828559-54: UpdatePathTestBase tests randomly failing is where this is being fixed.
Comment #17
wmostrey CreditAttribution: wmostrey commentedWould it be a good idea to send out a tweet when new random test failures pop up, and when they are resolved? For example by @drupal_org? Just so we know when we can retest a patch.
Comment #18
MixologicTestbot update:
So we've got the new testbot code in production now, and there were many hiccups with the deployment, which we've ironed out to prevent in future releases. One thing that seems to have been exacerbated are these core dumps on apache. I think this may have had something to do with the way that the AMI created its ramfs filespace so that all the tests run from memory and do not use disk IO at all.
The new deployment came with a new ami, and some ramfs settings were modified in the process, which I *think* may be whats causing apache to core dump.
So, next steps:
I have rebuilt the ami again with the latest drupalci code, and modified things to run on tmpfs instead of ramfs (much more stable and should act more like a normal filesystem). This ami went into production today. Additionally this AMI enabled core dump patterns on the host, which are required to get core dumps inside of docker.
When I get back from vacation (Jan 2nd), my next steps are to work on the container build process, and once thats ironed out, the first changes I plan on making to the containers is to get them to produce core dumps, and make sure that we have gdb installed on them. Ideally if a core dump is detected, I can then hook gdb up to them and at least probe them for some more detail and information.
Comment #19
alexpottFor most of the end of December the testbots have been very unstable. I asked @Mixologic about this on IRC and he said this was down to:
However we now have 2 new failure modes and #2828559: UpdatePathTestBase tests randomly failing appears more common. The two new failure modes are:
Comment #20
mpdonadioCleaned up IS list, and added a potentially new one.
Comment #22
Mixologic#2754217: Random Test Failure with "failed to open stream" for temporary://.htaccess is definitely related to #2843082: Random fails due to test installs trying to create /tmp/.htaccess, and I would bet that #2843024: Random fail in LanguageUILanguageNegotiationTest is also related given that the Language manager wasnt getting the tempnam from the FileSystemInterface Object.
Comment #23
alexpott@Mixologic you're right - I've closed my new random issue.
Comment #26
xjmAdding #2843358: Postgres fail in Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest and issues like it to the scope, so that we have them on this central list.
Comment #27
xjmAdding #2843693: Random test failure in CKEditor AjaxCss.
Comment #29
alexpottRemoving #2844509: Random fails in BrowserTestBase tests with Operation timed out after 30001 milliseconds with 0 bytes from the list since we think it is fixed.
Comment #30
mpdonadioIs https://www.drupal.org/pift-ci-job/577748 the same problem that was addressed in #2830485: \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest fails randomly or a new one? Think I have seen this a few times, but they got retriggered by the time I was able to dig into them.
Comment #31
Anonymous (not verified) CreditAttribution: Anonymous commentedIs https://www.drupal.org/pift-ci-job/577893 the new random test failure? Perhaps it is one of old problems of PageCacheTest::testPageCacheAnonymous403404().
Comment #32
Mixologic@vaplas - that may be the case. It appears as though that issue has popped up randomly, recently:
https://www.drupal.org/pift-ci-job/577747
https://www.drupal.org/pift-ci-job/577773
https://www.drupal.org/pift-ci-job/577893
https://www.drupal.org/pift-ci-job/577964
https://www.drupal.org/pift-ci-job/577972
Comment #33
pwolanin CreditAttribution: pwolanin as a volunteer and at SciShield commentedI had an issue flopping recently between the random OutsideInBlockFormTest fail and a 404 page cache test related fail
see e.g. https://www.drupal.org/pift-ci-job/581480
Comment #34
alexpott@pwolanin can you create issues rather than just commenting here. The OutsideInBlockFormTest is likely to be a JavascriptTestBase issue with timing. The other needs an issue - #2847268: Random fail in Drupal\page_cache\Tests\PageCacheTest:: testPageCacheAnonymous403404()
Comment #35
tacituseu CreditAttribution: tacituseu commentedRandom segfaults in
Drupal\node\Tests\Views\FrontPageTest.testCacheTagsWithCachePluginTime
, not recorded in error log, instead console output contains:https://www.drupal.org/pift-ci-job/584125
https://www.drupal.org/pift-ci-job/585098
https://www.drupal.org/pift-ci-job/585131
https://www.drupal.org/pift-ci-job/585157
Edit: changed links to d.o.
Comment #36
xjmhttps://www.drupal.org/pift-ci-job/585223 appears to be failing on dev versions of PHP 7; needs issue.
Comment #37
tacituseu CreditAttribution: tacituseu commentedAdding issue for #35
Comment #38
mpdonadioAdded #2848177: More \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest random fails which is starting to cause RTBC issue bouncing.
Comment #41
xjmhttps://www.drupal.org/pift-ci-job/592806 always fails on PHP 7.0.x-dev and 7.1.x-dev. Needs issue.
Comment #42
xjmEr, actually, MANY tests fail on PHP dev versions. AjaxTest is just the first one.
Comment #43
xjmFinally posted #2850639: Doctrine incompatibility with PHP 7.2.x: StaticReflectionClass::newInstance($args) should be compatible with ReflectionClass::newInstance(...$args). Looks like it may be an upstream problem.
Comment #44
tacituseu CreditAttribution: tacituseu commentedAdding #2851840: Random failures in ExposedFormTest, looks like recent commit,
Edit: was reverted already in #1863020: View's build fails when an unrelated form on the same page has validation errors.
Comment #46
xjmThanks @tacituseu.
#2850639: Doctrine incompatibility with PHP 7.2.x: StaticReflectionClass::newInstance($args) should be compatible with ReflectionClass::newInstance(...$args) is reverted upstream in PHP 7.0.x and 7.1.x, so tests are no longer failing because of it. (It is still a critical on its own because it will still affect 7.2.x, but no longer part of what we need to track here.)
Comment #47
wturrell CreditAttribution: wturrell as a volunteer commentedThis one @mixologic helped me on IRC earlier (thanks!) and reran just my class, which seems to have deleted the details from https://www.drupal.org/pift-ci-job/601122 - however I found the original job: https://dispatcher.drupalci.org/job/drupal_patches/2628/
exception: [Notice] Line 61 of
core/lib/Drupal/Core/Database/Driver/mysql/Schema.php:
Undefined index:
databaseDrupal\Core\Database\Driver\mysql\Schema->getPrefixInfo('%', 1)
(Line: 76)
Drupal\Core\Database\Driver\mysql\Schema->buildTableNameCondition('%',
'LIKE') (Line: 186)
Drupal\Core\Database\Schema->findTables('%') (Line: 1218)
Drupal\simpletest\TestBase->restoreEnvironment() (Line: 976)
Drupal\simpletest\TestBase->run(Array) (Line: 792)
simpletest_script_run_one_test('17', 'Drupal\action\Tests\ActionListTest')
(Line: 66)
Comment #48
Mixologic^ that was the original fail, and a rerun showed https://dispatcher.drupalci.org/job/drupal_patches/2637/ all passes.
Comment #49
xjm#2853905: Figure out why there were segfaults in every test run on PHP 7.1.x-dev has shown up the past three days now; adding to summary.
Comment #51
MixologicLooks like we may have a new one on php5.6:
https://dispatcher.drupalci.org/job/php5.6_mysql5.5/2134/artifact/jenkin...
Both:
https://dispatcher.drupalci.org/job/php5.6_mysql5.5/2134/
And
https://dispatcher.drupalci.org/job/php5.6_mysql5.5/2140/
Are having segfaults in what look to be the same location in the code:
https://dispatcher.drupalci.org/job/php5.6_mysql5.5/2134/artifact/jenkin...
https://dispatcher.drupalci.org/job/php5.6_mysql5.5/2140/artifact/jenkin...
Comment #52
tacituseu CreditAttribution: tacituseu commented#51: NULL pointer dereference in garbage collector triggered in
Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph
, possibly related to #2603152: Fix PHP 7 testbot failures.Comment #53
gambryhttps://www.drupal.org/pift-ci-job/608035
Noticed on #2627512: Datetime Views plugins don't support timezones #181.
Created #2857843: Random fail in Drupal\KernelTests\Core\Entity\ContentEntityChangedTest::testChanged .
Comment #54
Anonymous (not verified) CreditAttribution: Anonymous commented#2859704: Intermittent segfaults on DrupalCI (some "did not complete due to a fatal error" with no additional info)
Comment #56
xjmI consolidated the segfault issues into #2859704: Intermittent segfaults on DrupalCI (some "did not complete due to a fatal error" with no additional info); they are probably the same. This should cover #51 and #52.
Comment #57
xjmAdding #2860663: UserTimeZoneTest fails on PHP 7.0.x-dev and 7.1.x-dev.
Comment #58
Anonymous (not verified) CreditAttribution: Anonymous commentedCreated #2861067: Random fail in Drupal\aggregator\Tests\FeedAdminDisplayTest::testFeedUpdateFields
Comment #59
xjm@drpal added #2864177: Random failure in FormErrorHandlerCKEditorTest.
Comment #60
xjmAdding a note to the instructions in the summary on how to check for a segfault, since the apparent "failure" moves from test to test as new commits are made, we keep getting duplicate bug reports when it moves to a new test, and it is not obvious how to determine whether or not a segfault caused the test failure.
Comment #63
Lendude@xjm thanks for that segfault info, had us baffled in #2863268: Convert web tests to browser tests for tracker module. The actual string to look for seems to be 'Segmentation fault (core dumped)'.
Comment #64
xjm@Lendude, yep, thanks, that.
Comment #65
mpdonadioDid we open or solve the 30sec curl issue? Saw it happen again last night, https://www.drupal.org/pift-ci-job/637415 I thought we did, but I am not seeing an issue for it.
Comment #66
Anonymous (not verified) CreditAttribution: Anonymous commented#65: reopen #2844509: Random fails in BrowserTestBase tests with Operation timed out after 30001 milliseconds with 0 bytes or #2784159: Remove CURL timeout in BTB?
Comment #67
mpdonadioFigured #64 out, #2866056: ResourceTestBase should not have a timeout
Comment #68
xjmComment #69
LendudeHadn't seen this one before https://www.drupal.org/pift-ci-job/646538
Opened #2868880: Random fails in ContextualFilterTest::testAddContextualFilterUI, looks like another javascript test timing issue, like some previously fixed ones.
Comment #71
LendudeNew failures, old culprit: OutsideInBlockFormTest
https://www.drupal.org/pift-ci-job/649976
opened #2870146: Even more random fails in \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest
Comment #72
alexpottAdded #2876281: \Drupal\node\Tests\Views\FrontPageTest::testCacheTagsWithCachePluginTime fails randomly
Comment #73
tacituseu CreditAttribution: tacituseu commentedThere is a lot of
Requeued after CI error
lately, problems with checking out docker images, no space left messages, started around "May 8, 2017 5:07 PM" (see "Build History" at https://dispatcher.drupalci.org/job/php5.6_mysql5.5/ or https://dispatcher.drupalci.org/job/php7_postgres9.1/, but other runners too).First failures:
- php5.6_mysql5.5: #2696
- php7_postgres9.1: #3801
Examples of error messages:
Edit:
Accounting for time zone difference I ran the baseline/"cratering" test from #2859704: Intermittent segfaults on DrupalCI (some "did not complete due to a fatal error" with no additional info) at "8 May 2017 at 3:56PM" so it might be that fallout wasn't isolated to one instance.
Comment #74
Anonymous (not verified) CreditAttribution: Anonymous commentedWe have very frequent random errors with #2808063-77: LibraryDiscoveryParser::buildByExtension() doesn't validate that extensions exist. Example:
Comment #75
Anonymous (not verified) CreditAttribution: Anonymous commentedRandom fail due to random value #2891911: Random fail in Drupal\Tests\locale\Functional\LocaleTranslationUiTest::testStringTranslation.
Comment #76
xjmThanks @vaplas. I promoted #2891911: Random fail in Drupal\Tests\locale\Functional\LocaleTranslationUiTest::testStringTranslation to critical (we can always start with critical priority for random failures) and added it to the summary.
Comment #77
tacituseu CreditAttribution: tacituseu commentedBoth HEAD and issue testers started having segmentation faults in garbage collector after 'tested on commit' was re-enabled.
Comment #81
Anonymous (not verified) CreditAttribution: Anonymous commentedAdded #2901626: CSS animations cause \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest random fails
Comment #83
Anonymous (not verified) CreditAttribution: Anonymous commentedAdded #2902191: Determine cause and fix random fail in \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayBlockFormTest::testBlocks.
Comment #84
Anonymous (not verified) CreditAttribution: Anonymous commented#2906317: Random fail due to problems with database Perhaps a new random fail, or another manifestation of the old one
Comment #86
xjmPHP 7.0.x-dev and 7.1.x-dev are failing following a PHP bugfix: #2918570: Drupal\KernelTests\Core\Image\ToolkitGdTest fails on PHP 7.1.x-dev and 7.0.x-dev following a PHP bugfix
Comment #88
Anonymous (not verified) CreditAttribution: Anonymous commentedIf someone looking at the sources of random fails, then it can be interesting: #2920590: (canard?) Big Bos of Random Fails is ChainedFastBackend::markAsOutdated()
Comment #89
Anonymous (not verified) CreditAttribution: Anonymous commentedNew nit random fail #2924753: Random fail in ExposedFormUITest.
Also move #2919863: Discover why gc_disable() during non-interactive install improves tests stability to group with #2842393: Discover why gc_disable() improves update.php stability
Added #2920590: (canard?) Big Bos of Random Fails is ChainedFastBackend::markAsOutdated() to general list too.
Comment #91
tacituseu CreditAttribution: tacituseu commentedAll testbots are failing quite spectacularly at the moment (e.g. https://www.drupal.org/pift-ci-job/824177), could be a result of merging #2857788: Patch the testbot to start both chrome in webdriver mode and phantomjs in non webdriver mode related changes into production (see: https://www.drupal.org/node/2251767/commits)
Comment #95
MixologicLooks like theres a new one now with the introduction of the quick start scripts.
#2975644: Random Failure in Drupal\Tests\Core\Command\QuickStartTest
Comment #96
MixologicComment #97
tacituseu CreditAttribution: tacituseu commentedAdding #2980750: [random test failure] Random failure in CommentStatisticsTest.
Comment #98
tacituseu CreditAttribution: tacituseu commentedAdding #2982755: Random failure in SchemaTest::testSchemaChangePrimaryKey with order of composite primary key.
Comment #100
Krzysztof DomańskiAdding #3045612: Random test failure in MediaStandardProfileTest::testMediaSources.
Comment #102
Krzysztof DomańskiAdding #3041318: Various random fails due to mis-triggered Mink deprecation error.
Comment #103
Krzysztof DomańskiAdding to issues summary #3032275: Create a fault-tolerant method for interacting with links and fields in Javascript tests and #2946294: Fix race conditions in OffCanvasTestBase.
Comment #104
Krzysztof DomańskiAdding to issues summary:
#2892440: Provide helper test method to wait for an element to be removed from the page
#2901792: Disable all animations in Javascript testing
#3055648: Frequent random fail in \Drupal\Tests\media_library\FunctionalJavascript\MediaLibraryTest
Comment #105
Krzysztof DomańskiAdding to issues summary:
#2856047: Avoid random failures in JavascriptTestBase when testing functionality in a dialog
Comment #106
Krzysztof DomańskiRemoving closed issues.
Adding to issue summary:
#3055982: Remove resizing window in BlockFormMessagesTest::testValidationMessage
#3055983: Occasional locks on SQLite
#3056848: Investigate LayoutBuilderDisableInteractionsTest random fails further
Comment #107
alexpottRemoving closed and outdated issues from the issue summary.
Comment #108
MixologicHi. We introduced a new intermittent failure a few weeks ago, which broke HEAD yesterday, fixed it and have it at RTBC.
#3067768: Random test fail in ManageGitIgnoreTest
@alexpott was following it, but he said he'd be out afk for a month or so, so it'd be great to have any other core committer interested in less random failures give it either the thumbs up or down.
Comment #109
Krzysztof Domański#3067768: Random test fail in ManageGitIgnoreTest was commited.
Comment #110
Krzysztof DomańskiAdding to issue summary:
#3070853: Race condition during composer cache clear in functional composer scaffolding plugin tests
Comment #111
Krzysztof DomańskiComment #112
Krzysztof DomańskiRemoving closed issues from the issue summary.
Comment #113
Krzysztof DomańskiAdding #3086001: CreateSampleEntityTest::testSampleValueContentEntity can randomly fail.
Comment #114
Krzysztof Domański#3086001: CreateSampleEntityTest::testSampleValueContentEntity can randomly fail was commited.
Comment #116
Krzysztof DomańskiRemoving closed issues.
Comment #117
jhodgdonAdding a new child issue. #3099427: [random test failure] FieldLayoutTest::testEntityView()
Comment #118
Krzysztof DomańskiAdding #3101130: ConfigEntityQueryTest::testCaseSensitivity can randomly fail.
Comment #119
jhodgdonAdded #3103492: Random fail in WidgetUploadTest
Comment #120
Krzysztof Domański#3101130: ConfigEntityQueryTest::testCaseSensitivity can randomly fail was commited.
Comment #121
Krzysztof DomańskiAdded #3143812: Random test failure Table 'sequences' already exists..
Comment #123
Krzysztof DomańskiAdded #2571183: Deprecate random() usage in tests to avoid random test failures to the issue summary.
Comment #124
Krzysztof DomańskiReplace #3103492: Random fail in WidgetUploadTest with #3066447: [random test failure] Random failures building media library form after uploading image (WidgetUploadTest). It's a duplicate.
Comment #125
Krzysztof DomańskiAdded #3165263: Allow known flaky tests to be automatically repeated and #3037436: [random test failure] Make QuickEditIntegrationTest more robust and fail proof to the issue summary.
Comment #126
jhodgdonAdded #3191559: [random test failure] Random test fail in EntityReferenceWidgetTest to the Intermittent list, as it came up today. I don't see an open issue about it currently.
Comment #127
mondrakeAdded #2921123: Adjust Rectangle class to calculate rotated image dimensions according to libgd 2.2.2+ to the consistent failures section.
Comment #128
jhodgdonAdded #3192260: [random test failure] Random fail in media_library CKEditorIntegrationTest to intermittent. 9.2 branch test failed on that today.
Comment #129
catch#3192231: UnroutedUrlTest is failing on dev versions of PHP seems to be new-ish.
Comment #130
catchThis just failed on 9.1.x branch testing, first time I've seen this one personally.
Comment #131
longwaveLooks just like a "random" Chrome crash that we can't do much about.
Slightly surprised that we are on a nearly 2 year old version of Chrome that is long unsupported, we probably should be testing on modern versions - it is unlikely, but still possible, that a recent change in Chrome breaks somehow (e.g. the off canvas CSS issue, which wouldn't be caught here, but imagine something similar in JavaScript).
Comment #132
longwaveJust saw #130 again in https://www.drupal.org/pift-ci-job/2031538, opened #3208791: [random test failure] Random fail in LayoutBuilderDisableInteractionsTest
Comment #133
SpokjeAdded #3210432: [random test failure] LayoutBuilderQuickEditTest::testQuickEditIgnoresDuplicateFields() to intermittent. 9.2 test failed on that today.
Comment #136
quietone CreditAttribution: quietone as a volunteer commentedRemoved closed issues from the Issue Summary.
Comment #137
SpokjeAdded #3214565: [random test failure] Random fail in BuildTestTest::testPortMany to intermittent.
9.3
test failed on that today.Comment #138
SpokjeRemoved fixed #3214565: [random test failure] Random fail in BuildTestTest::testPortMany from IS.
Comment #140
benjifisherIt looks as though a lot of tests are failing because of #3255749: Composer v2.2 prompts to authorize plugins. It may not be intermittent, but I figure people will look here when their tests start to fail.
Comment #141
quietone CreditAttribution: quietone at PreviousNext commentedI have had two instances of failures of Drupal\Tests\layout_builder\FunctionalJavascript\AjaxBlockTest one is https://www.drupal.org/pift-ci-job/2306318
Comment #142
neclimdulpossibly related Drupal\Tests\layout_builder\FunctionalJavascript\ContentPreviewToggleTest
https://www.drupal.org/pift-ci-job/2306278
On a clean install I'm getting mostly failures locally with occasional passes. The failure doesn't seem to match the browser output so not sure what's causing the failure and inconsistent results are making bisect impossible.
Comment #143
benjifisherI am also seeing some unexpected failures from
layout_builder
's functional JavaScript tests: https://www.drupal.org/pift-ci-job/2311799 (AjaxBlockTest and LayoutBuilderTest). Both tests pass locally, at least the first time I try.The same two tests fail for Drupal core in one of the daily tests: https://www.drupal.org/pift-ci-job/2311855
I notice that Comment #141 was posted a day after #3239123: Refactor (if feasible) uses of the jQuery text function to use vanillaJS was fixed.
Comment #144
dwwhttps://www.drupal.org/pift-ci-job/2315189 also failed for AjaxBlockTest, ContentPreviewToggleTest, and LayoutBuilderTest. The history shows an alarming uptick in failures on the 9.4.x branch:
I didn't click through all of them, but I have seen a lot more layout_builder random fails than usual.
#3262505: [random test failure] Random error in layout_builder FunctionalJavascript tests now exists (added to the summary), but do we need a more holistic plan for layout_builder tests or something?
Thanks,
-Derek
Comment #145
catchA new one for me:
https://www.drupal.org/pift-ci-job/2316870
Seen here: #3263391: Remove deprecated code from book.module.
Comment #146
neclimdulSeems like this isn't too big a deal. Fuzzing triggering a pretty difficult to trigger edge case. #3264050: Fuzzed tag values to EntityAutocompleteController::handleAutocomplete can cause deprecation warning
Comment #147
catchComment #148
xjmFor folks posting issues for new random failures, be sure to include the method name(s).
Comment #151
xjmI've posted an issue to temporarily skip even more tests since it's atm at least a 50% chance that your test job will fail one or more of these random fails: #3268070: Temporarily skip even more failing tests
Comment #152
MatroskeenI faced the same failure as reported in #145 and filled a task for it: #3269085: [random test failure] Random test fail in EntityAutocompleteTest.
Comment #153
quietone CreditAttribution: quietone at PreviousNext commentedI've seen this twice in the past week, Drupal\Tests\quickedit\FunctionalJavascript\QuickEditFileTest::testRemove 1 at https://www.drupal.org/pift-ci-job/2348501
Comment #154
claudiu.cristea@quietone I saw also #153 in https://www.drupal.org/pift-ci-job/2353983
Comment #155
ressa CreditAttribution: ressa at Ardea commentedMultiple
Quickedit.Drupal\Tests\quickedit\FunctionalJavascript\SettingsTrayIntegrationTest - WebDriver\Exception\UnknownError: element click intercepted: Element ... is not clickable at point
in a row. I had to re-run the test four times, before it finally managed to complete.Also a few
Ckeditor5.Drupal\Tests\ckeditor5\FunctionalJavascript\MediaTest - Drupal\Tests\ckeditor5\FunctionalJavascript\MediaTest::testViewMode with data set "with alignment"
.Someone (accidentally?) triggered all ten tests combinations: Seven failed while only three completed, see #3278144: Remove quotes from olivero.info.yml for more.
Comment #156
quietone CreditAttribution: quietone at PreviousNext commentedIn the past week Migration tests have failed at least 5 times on fail on Drupal\Tests\quickedit\FunctionalJavascript\QuickEditFileTest::testRemove
https://www.drupal.org/pift-ci-job/2372832
Comment #157
gambrySame for here https://www.drupal.org/pift-ci-job/2370991 .
We got
QuickEditFileTest::testRemove
andfailures.
Comment #158
ressa CreditAttribution: ressa at Ardea commentedQuickedit [...] is not clickable at point
might have been fixed via #3278215: (Not so) Random test failures SettingsTrayIntegrationTest.Comment #160
SpokjeAdded #3309907: [random test failure] BookTest::testGetTableOfContents
Comment #161
SpokjeRemoved fixed issues from IS
Comment #162
xjmComment #163
SpokjeRemoved #3309907: [random test failure] BookTest::testGetTableOfContents and #3311476: Skip DownloadTest on SQLite from IS as they are fixed.
Comment #165
jastraat CreditAttribution: jastraat at CivicActions commentedComment #166
smustgrave CreditAttribution: smustgrave at Mobomo commentedStarting to see some random FunctionalJavascript ones popup. When they fail they sent back over a dozen tickets at once.
https://www.drupal.org/pift-ci-job/2628256
https://www.drupal.org/pift-ci-job/2628180
Comment #167
acbramley CreditAttribution: acbramley at PreviousNext for Service NSW commentedHere's a new one #3350973: [random failure] Curl error thrown for http in JSWebAssertTest discovered in https://www.drupal.org/pift-ci-job/2629301
Comment #168
fjgarlin CreditAttribution: fjgarlin as a volunteer and at Drupal Association commentedSame as #166 on this issue #3206643: Project messaging channel in core (as experimental) and this job: https://www.drupal.org/pift-ci-job/2629786
Comment #169
quietone CreditAttribution: quietone at PreviousNext commentedRemove fixed issue and add a child to the IS that was not in the list.
Comment #170
andypostThere's new
InstallerExistingConfigMultilingualTest
after upgrade to Symfony 6.3 beta fires very oftenComment #171
longwaveAdding #3361121: [random test failure] InstallerExistingConfig[SyncDirectory]MultilingualTest::testConfigSync
Comment #173
ressa CreditAttribution: ressa at Ardea commentedAdding #2944421: Double exposed filter field when trying to use "q" as identifier.
Comment #174
ressa CreditAttribution: ressa at Ardea commentedAnd now adding :)
Comment #175
tim.plunkett#2944421: Double exposed filter field when trying to use "q" as identifier is an issue that *encountered* a random fail, not an issue *describing* one, removing it from the IS.
(That issue was hitting InstallerExistingConfigSyncDirectoryMultilingualTest and InstallerExistingConfigMultilingualTest, which were recently addressed in #3362306: Skip InstallerExistingConfig[SyncDirectory]MultilingualTest::testConfigSync)
Comment #176
ressa CreditAttribution: ressa at Ardea commentedOops, sorry @tim.plunkett, and thanks for fixing it.
Comment #177
SpokjeComment #178
SpokjeComment #179
SpokjeComment #180
SpokjeComment #181
SpokjeComment #182
SpokjeComment #183
SpokjeComment #184
quietone CreditAttribution: quietone as a volunteer commentedI've been getting these lately,
https://www.drupal.org/pift-ci-job/2734245
I have not made a child issue.
Comment #185
quietone CreditAttribution: quietone as a volunteer commentedGot the error above again so I made the issue and added to the IS.
Comment #186
SpokjeRemoved fixed issues from IS.
Comment #187
quietone CreditAttribution: quietone as a volunteer commentedComment #188
benjifisherI saw a failure in
core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
that went away when I re-ran the (GitLab) pipeline. It looks different from the failure reported in #166 on this issue.https://git.drupalcode.org/issue/drupal-3386762/-/jobs/245517#L405
Comment #189
quietone CreditAttribution: quietone as a volunteer commentedUpdated latest failed date for #3057767: [random test failure] DialogTest::testDialog() in the IS>
Comment #190
catchAt least some of the 'new' failures on gitlab seem like they might be a regression of https://git.drupalcode.org/project/drupalci_testbot/-/commit/b5e9ad15bcb...
I opened #3317520: Random failure in Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayBlockFormTest::testEditModeEnableDisable but it's a duplicate of #3207125: [random test failure] SettingsTrayBlockFormTest:: testEditModeEnableDisable() which we hadn't seen on DrupalCI since the ipv6 issue was fixed.
Comment #191
acbramley CreditAttribution: acbramley at PreviousNext for Service NSW commentedNew one popped up today #3401720: [random test fail] TimestampFormatterWithTimeDiffViewsTest::testTimestampFormatterWithTimeDiff
https://git.drupalcode.org/issue/drupal-3395404/-/pipelines/49731/test_r...
Comment #192
Wim Leers#191: i've been seeing that one for at least a few days, and I'm pretty sure I've been seeing it since Mon Nov 6.
Comment #193
BramDriesenI also got the one in #188 today. A retest fixed it, I did notice a few dead URL's in that test so not sure if that might be related or not. Create an issue for that as well: #3401764: Replace CollegeHumor URLs and logic in core test cases
Comment #194
smustgrave CreditAttribution: smustgrave at Mobomo commentedIs it just me or have the random failures with night watch and JavaScript gone up with gitlab? And I love gitlab and hope that’s not the case but something I’ve noticed the last 2 weeks
Comment #195
catchIt's definitely gone up, we're seeing frequent failures come back that were previously fixed on DrupalCI via preventing IPV6 requests, but that doesn't appear to be the problem this time, or if it is it's hard to verify, see #3397749: gitlab pod DNS settings for background.
However I've revived #3316274: Stabilize FunctionalJavascript testing AJAX: add ::assertExpectedAjaxRequest() which should help/fix essentially all AJAX tests once it's committed or at least help us to fix any remaining ones.
After that the next worst one, and not fixed by the AJAX assertion changes is #3317520: Random failure in Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayBlockFormTest::testEditModeEnableDisable which has at least one method skipped but might need more until we're able to fix the underlying thing for that too.
Comment #196
acbramley CreditAttribution: acbramley at PreviousNext for Service NSW commentedRe #194 that can often be the case when your CI environment, or site in general, is more performant. That's because things are faster and tests that previously passed because they took long enough to "wait" for things themselves no longer do so assertions can start failing.
Comment #197
fjgarlin CreditAttribution: fjgarlin as a volunteer and at Drupal Association commentedNone of the DNS changes we did for the settings ("single-request" and "ndots") made a difference, so we might consider reverting them.
We recently increased the resources requested from some jobs to the pods, as that change seems to have an impact.
I've been doing some additional debugging here #3403162: [investigation] get metrics of request to see which settings need to be changed for random failures, where I'm unskipping most of the skipped tests, and so far I'm only getting one or two repeated offenders, but most of the others no longer fail, or at least I couldn't reproduce.
I'm adding additional artifacts (screenshots and html-shot of the failing step) that might help with debugging, but all that is not finished yet. I just wanted to give an update here.
Comment #198
jonathanshawAdded #3414321: Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose
Comment #199
andypostDrupal\FunctionalJavascriptTests\Ajax\AjaxTest
failed for me today, even after #3396536: [random test failure] Re-enable AjaxTest::testAjaxFocus()ref https://git.drupalcode.org/issue/drupal-3421482/-/jobs/927005