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

  1. #2825845: DST-related test failures in FilterDateTimeTest
  2. #2920590: (canard?) Big Bos of Random Fails is ChainedFastBackend::markAsOutdated()
  3. #3041318: Various random fails due to mis-triggered Mink deprecation error
  4. #3143812: Random test failure Table 'sequences' already exists.
  5. #3191559: [random test failure] Random test fail in EntityReferenceWidgetTest
  6. #3210432: [random test failure] LayoutBuilderQuickEditTest::testQuickEditIgnoresDuplicateFields()
  7. #3203712: [random test failure] EntityDisplayTest::testExtraFields()
  8. #3207125: [random test failure] SettingsTrayBlockFormTest:: testEditModeEnableDisable()
  9. #3389994: [random test failure] MediaTest::testViewMode
  10. #3401720: [random test fail] TimestampFormatterWithTimeDiffViewsTest::testTimestampFormatterWithTimeDiff
  11. #3414321: Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose

Low fail rate or may be resolved

Investigation and hardening for past random failures

If your patch has an unexpected test failure

  1. Always click on the test results link to see what tests actually failed.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
CommentFileSizeAuthor
#144 2829040-144.9.4.x-branch-fails.png271.44 KBdww
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm created an issue. See original summary.

xjm’s picture

Priority: Critical » Major
Issue summary: View changes
Issue tags: +Triaged core major

@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.

arlinsandbulte’s picture

Just 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?

catch’s picture

Title: [meta] Known intermittent test failures » [meta] Known intermittent/random test failures

Just seen this one:

https://www.drupal.org/pift-ci-job/535086

Standard.Drupal\Tests\standard\Functional\StandardTest

rupal\Tests\standard\Functional\StandardTe
exception: [Other] Line 0 of sites/default/files/simpletest/phpunit-1715.xml:
PHPunit Test failed to complete; Error: PHPUnit 4.8.27 by Sebastian Bergmann and contributors.

E

Time: 1.26 minutes, Memory: 2.75Mb

There was 1 error:

1) Drupal\Tests\standard\Functional\StandardTest::testStandard
GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Haven't opened an issue yet, but doesn't look like it's covered by the issues here afaict.

xjm’s picture

@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.)

Wim Leers’s picture

mikeryan’s picture

Another seemingly random test failure (two known instances): #2831603: Improve JSWebAssert::waitOnAutocomplete

Anonymous’s picture

timmillwood’s picture

It 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.

Wim Leers’s picture

#15: to the best of my knowledge, #2828559-54: UpdatePathTestBase tests randomly failing is where this is being fixed.

wmostrey’s picture

Would 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.

Mixologic’s picture

Testbot 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.

alexpott’s picture

For 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:

  • first we deployed the whole new drupalci codebase, upgraded jenkins that drupalci uses, and created a new AMI that feeds the testbots (because drupalci needed php7 now)
  • some of the deployments went awry because there were a couple of paths that changed, and jenkins was really, really sensitive to any signal > 0
  • then, when we noticed that there seemed to be an inordinate amount of apache crashes, I made more changes to the AMI to support core dumps, which introduced another path switcheroo.

However we now have 2 new failure modes and #2828559: UpdatePathTestBase tests randomly failing appears more common. The two new failure modes are:

mpdonadio’s picture

Issue summary: View changes

Cleaned up IS list, and added a potentially new one.

Mixologic’s picture

#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.

alexpott’s picture

Issue summary: View changes

@Mixologic you're right - I've closed my new random issue.

xjm’s picture

Title: [meta] Known intermittent/random test failures » [meta] Known intermittent, random, and environment-specific test failures
Issue summary: View changes

Adding #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.

xjm’s picture

alexpott’s picture

mpdonadio’s picture

Is 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.

Anonymous’s picture

Is https://www.drupal.org/pift-ci-job/577893 the new random test failure? Perhaps it is one of old problems of PageCacheTest::testPageCacheAnonymous403404().

Mixologic’s picture

pwolanin’s picture

I 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

alexpott’s picture

Issue summary: View changes

@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()

tacituseu’s picture

Random segfaults in Drupal\node\Tests\Views\FrontPageTest.testCacheTagsWithCachePluginTime, not recorded in error log, instead console output contains:

Segmentation fault (core dumped)
FATAL Drupal\node\Tests\Views\FrontPageTest: test runner returned a non-zero error code (139).

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.

xjm’s picture

Issue summary: View changes

https://www.drupal.org/pift-ci-job/585223 appears to be failing on dev versions of PHP 7; needs issue.

tacituseu’s picture

Issue summary: View changes

Adding issue for #35

mpdonadio’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

https://www.drupal.org/pift-ci-job/592806 always fails on PHP 7.0.x-dev and 7.1.x-dev. Needs issue.

xjm’s picture

Issue summary: View changes

Er, actually, MANY tests fail on PHP dev versions. AjaxTest is just the first one.

xjm’s picture

tacituseu’s picture

xjm’s picture

Issue summary: View changes

Thanks @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.)

wturrell’s picture

This 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)

Mixologic’s picture

^ that was the original fail, and a rerun showed https://dispatcher.drupalci.org/job/drupal_patches/2637/ all passes.

xjm’s picture

Issue summary: View changes

#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.

tacituseu’s picture

#51: NULL pointer dereference in garbage collector triggered in Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph, possibly related to #2603152: Fix PHP 7 testbot failures.

gambry’s picture

Issue summary: View changes

Drupal\KernelTests\Core\Entity\ContentEntityChangedTest::testChanged
When editing a non-translatable field the updated changed time is equal across all translations.
Failed asserting that 1487987261 matches expected 1487987260.

https://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 .

Anonymous’s picture

xjm’s picture

I 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.

xjm’s picture

Anonymous’s picture

testFeedUpdateFields
fail: [Other] Line 49 of core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php:
The non scheduled feed has not been updated. It does not show "x x ago" as last update.

Created #2861067: Random fail in Drupal\aggregator\Tests\FeedAdminDisplayTest::testFeedUpdateFields

xjm’s picture

xjm’s picture

Issue summary: View changes

Adding 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.

Lendude’s picture

@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)'.

xjm’s picture

Issue summary: View changes

@Lendude, yep, thanks, that.

mpdonadio’s picture

Did 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.

Anonymous’s picture

mpdonadio’s picture

xjm’s picture

Issue summary: View changes

 

Lendude’s picture

Hadn'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.

Lendude’s picture

alexpott’s picture

tacituseu’s picture

There 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:

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

error: copy-fd: write returned No space left on device

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.

Anonymous’s picture

Anonymous’s picture

xjm’s picture

Issue summary: View changes

Thanks @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.

tacituseu’s picture

Both HEAD and issue testers started having segmentation faults in garbage collector after 'tested on commit' was re-enabled.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

#2906317: Random fail due to problems with database Perhaps a new random fail, or another manifestation of the old one

xjm’s picture

Anonymous’s picture

If someone looking at the sources of random fails, then it can be interesting: #2920590: (canard?) Big Bos of Random Fails is ChainedFastBackend::markAsOutdated()

tacituseu’s picture

All 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)

Mixologic’s picture

Looks like theres a new one now with the introduction of the quick start scripts.

#2975644: Random Failure in Drupal\Tests\Core\Command\QuickStartTest

Mixologic’s picture

Issue summary: View changes
tacituseu’s picture

tacituseu’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

alexpott’s picture

Issue summary: View changes

Removing closed and outdated issues from the issue summary.

Mixologic’s picture

Issue summary: View changes

Hi. 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.

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Issue summary: View changes
Krzysztof Domański’s picture

Issue summary: View changes

Removing closed issues from the issue summary.

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Issue summary: View changes

Removing closed issues.

jhodgdon’s picture

Krzysztof Domański’s picture

jhodgdon’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

Krzysztof Domański’s picture

jhodgdon’s picture

Issue summary: View changes

Added #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.

mondrake’s picture

jhodgdon’s picture

Issue summary: View changes

Added #3192260: [random test failure] Random fail in media_library CKEditorIntegrationTest to intermittent. 9.2 branch test failed on that today.

catch’s picture

catch’s picture

This just failed on 9.1.x branch testing, first time I've seen this one personally.


Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest::testFormsLinksDisabled
Failed asserting that 'unknown error: session deleted because of page crash\n
from unknown error: cannot determine loading status\n
from tab crashed\n
  (Session info: headless chrome=74.0.3729.157)\n
  (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 4.9.0-0.bpo.6-amd64 x86_64)' contains "is not clickable at point".
longwave’s picture

Looks just like a "random" Chrome crash that we can't do much about.

Session info: headless chrome=74.0.3729.157

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).

longwave’s picture

Spokje’s picture

Spokje’s picture

Issue summary: View changes

Added #3214565: [random test failure] Random fail in BuildTestTest::testPortMany to intermittent. 9.3 test failed on that today.

Spokje’s picture

benjifisher’s picture

It 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.

Testing Drupal\Tests\Composer\Plugin\Scaffold\Functional\ComposerHookTest
E.                                                                  2 / 2 (100%)

Time: 00:02.074, Memory: 4.00 MB

There was 1 error:

1) Drupal\Tests\Composer\Plugin\Scaffold\Functional\ComposerHookTest::testComposerHooks
RuntimeException: Exit code: 2
quietone’s picture

I have had two instances of failures of Drupal\Tests\layout_builder\FunctionalJavascript\AjaxBlockTest one is https://www.drupal.org/pift-ci-job/2306318

neclimdul’s picture

possibly 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.

benjifisher’s picture

I 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.

dww’s picture

Issue summary: View changes
FileSize
271.44 KB

https://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:
9.4.x branch test results showing half of recent runs have failed
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

catch’s picture

A new one for me:

https://www.drupal.org/pift-ci-job/2316870

Entity.Drupal\KernelTests\Core\Entity\EntityAutocompleteTest
✗	
Drupal\KernelTests\Core\Entity\EntityAutocompleteTest
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-319.xml:
PHPUnit Test failed to complete; Error: PHPUnit 9.5.11 by Sebastian Bergmann and contributors.

Testing Drupal\KernelTests\Core\Entity\EntityAutocompleteTest
..                                                                  2 / 2 (100%)

Time: 00:02.829, Memory: 4.00 MB

OK (2 tests, 14 assertions)

Unsilenced deprecation notices (2)

  2x: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
    2x in EntityAutocompleteTest::testSelectionSettingsHandling from Drupal\KernelTests\Core\Entity

Seen here: #3263391: Remove deprecated code from book.module.

neclimdul’s picture

Seems 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

catch’s picture

Issue summary: View changes
Related issues: +#3267754: AjaxTest is failing
xjm’s picture

For folks posting issues for new random failures, be sure to include the method name(s).

xjm’s picture

I'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

Matroskeen’s picture

Issue summary: View changes

I faced the same failure as reported in #145 and filled a task for it: #3269085: [random test failure] Random test fail in EntityAutocompleteTest.

quietone’s picture

I've seen this twice in the past week, Drupal\Tests\quickedit\FunctionalJavascript\QuickEditFileTest::testRemove 1 at https://www.drupal.org/pift-ci-job/2348501

claudiu.cristea’s picture

ressa’s picture

Multiple 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.

quietone’s picture

In 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

gambry’s picture

Same for here https://www.drupal.org/pift-ci-job/2370991 .
We got QuickEditFileTest::testRemove and

Drupal\Tests\quickedit\FunctionalJavascript\SettingsTrayIntegrationTest::testQuickEditLinks
WebDriver\Exception\UnknownError: element click intercepted: Element ... is not clickable at point (504, 188). Other element would receive the click: ...

failures.

ressa’s picture

Issue summary: View changes

Quickedit [...] is not clickable at point might have been fixed via #3278215: (Not so) Random test failures SettingsTrayIntegrationTest.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Spokje’s picture

Spokje’s picture

Issue summary: View changes

Removed fixed issues from IS

xjm’s picture

Issue summary: View changes

 

Spokje’s picture

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

jastraat’s picture

Issue summary: View changes
smustgrave’s picture

Starting 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

Testing Drupal\Tests\media\FunctionalJavascript\MediaSourceFileTest
E                                                                   1 / 1 (100%)

Time: 00:09.719, Memory: 4.00 MB

There was 1 error:

1) Drupal\Tests\media\FunctionalJavascript\MediaSourceFileTest::testMediaFileSource
Behat\Mink\Exception\ElementHtmlException: The text "text--plain.png" was not found in the attribute "src" of the element matching css "img".

https://www.drupal.org/pift-ci-job/2628180

Testing Drupal\Tests\layout_builder\FunctionalJavascript\ContextualLinksTest
F                                                                   1 / 1 (100%)

Time: 00:18.127, Memory: 4.00 MB

There was 1 failure:

1) Drupal\Tests\layout_builder\FunctionalJavascript\ContextualLinksTest::testContextualLinks
Failed asserting that a NULL is not empty.

/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122
/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55
/var/www/html/core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php:111
/var/www/html/core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php:80
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
acbramley’s picture

fjgarlin’s picture

quietone’s picture

Issue summary: View changes

Remove fixed issue and add a child to the IS that was not in the list.

andypost’s picture

There's new InstallerExistingConfigMultilingualTest after upgrade to Symfony 6.3 beta fires very often

longwave’s picture

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

ressa’s picture

ressa’s picture

Issue summary: View changes

And now adding :)

tim.plunkett’s picture

Issue summary: View changes

#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)

ressa’s picture

Oops, sorry @tim.plunkett, and thanks for fixing it.

Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
Spokje’s picture

Issue summary: View changes
quietone’s picture

I've been getting these lately,
https://www.drupal.org/pift-ci-job/2734245

1) Drupal\Tests\system\Functional\System\CronRunTest::testAutomatedCron
Failed asserting that 1691374878 is less than 1691374878.

I have not made a child issue.

quietone’s picture

Issue summary: View changes

Got the error above again so I made the issue and added to the IS.

Spokje’s picture

Issue summary: View changes

Removed fixed issues from IS.

quietone’s picture

Issue summary: View changes
benjifisher’s picture

I 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

    Drupal\Tests\media\FunctionalJavascript\MediaSourceOEmbedVideoTest::testMediaOEmbedVideoSource
    WebDriver\Exception\JavaScriptError: javascript error: Cannot read
    properties of null (reading 'getAttribute')
      (Session info: headless chrome=106.0.5249.103)
      (Driver info: chromedriver=106.0.5249.61
    (511755355844955cd3e264779baf0dd38212a4d0-refs/branch-heads/5249@{#569}),platform=Linux
    5.4.241-150.347.amzn2.x86_64 x86_64)
    
    /builds/issue/drupal-3386762/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:198
    /builds/issue/drupal-3386762/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:166
    /builds/issue/drupal-3386762/vendor/instaclick/php-webdriver/lib/WebDriver/Session.php:436
    /builds/issue/drupal-3386762/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:973
    /builds/issue/drupal-3386762/vendor/behat/mink/src/Session.php:343
    /builds/issue/drupal-3386762/core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php:147
    /builds/issue/drupal-3386762/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
quietone’s picture

Issue summary: View changes

Updated latest failed date for #3057767: [random test failure] DialogTest::testDialog() in the IS>

catch’s picture

Wim Leers’s picture

#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.

BramDriesen’s picture

I 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

smustgrave’s picture

Is 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

catch’s picture

It'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.

acbramley’s picture

Re #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.

fjgarlin’s picture

None 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.

jonathanshaw’s picture

andypost’s picture

Drupal\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

    1) Drupal\FunctionalJavascriptTests\Ajax\AjaxTest::testAjaxFocus
    Failed asserting that two strings are equal.
    --- Expected
    +++ Actual
    @@ @@
    -'edit-textfield-3'
    +'edit-textfield-2'
    
    /builds/issue/drupal-3421482/vendor/phpunit/phpunit/src/Framework/Constraint/Equality/IsEqual.php:94
    /builds/issue/drupal-3421482/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php:335
    /builds/issue/drupal-3421482/vendor/phpunit/phpunit/src/Framework/TestResult.php:728