Closed (cannot reproduce)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Jun 2023 at 18:46 UTC
Updated:
31 Oct 2023 at 19:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostVery probably this is a cause of CI which is unable to return results (I bet parsing fails for the same reason)
Ref https://dispatcher.drupalci.org/job/drupal_patches/187212
Comment #3
andypostI bet it's critical
Comment #4
andypostNew failures from https://www.drupal.org/pift-ci-job/2693255
Comment #5
longwave@andypost #4 was caused by #3052115: Mark an entity as 'syncing' during a migration update, this is now reverted.
Comment #6
andypostReported upstream with simplified script https://github.com/php/php-src/issues/11469
Comment #7
andypostThe cause is https://github.com/php/php-src/commit/50fdad83256989fadcb92e584ef77ef80d...
Comment #8
andypostThe commit was reverted, waiting for next alpha https://github.com/php/php-src/commit/ad5ee8a2b7ad960ba8286d11ff98d53098...
Comment #9
andypostThe proposed BC code is https://github.com/php/php-src/issues/11469#issuecomment-1597866217
Comment #11
tstarling commentedI added a a more specific workaround to the issue fork.
Comment #12
andypost@tstarling please create a MR from the issue fork, I did approve your account
Ref https://git.drupalcode.org/issue/drupal-3366843/-/commit/236f508df0de7f4...
Comment #14
andypostComment #15
andypostQueued suggested fix
- mysql https://www.drupal.org/pift-ci-job/2696385
- sqlite https://www.drupal.org/pift-ci-job/2696386
Comment #16
andypostTests are passed now but parsing artifacts fails, so this fix is not enough to allow CI to complete
This log means tests are stuck on parsing results
Comment #17
smustgrave commentedSince the tests are still failing.
Comment #18
andypostLooking at logs I see that parser fails on new tests that were not executed, ref #3346765: Add PerformanceTestBase for allowing browser performance assertions within FunctionalJavaScriptTests
PHP Notice: Undefined index: Drupal\Tests\system\FunctionalJavaScript\NoJavaScriptAnonymousTest in /opt/drupalci/testrunner/src/DrupalCI/Build/Artifact/Junit/JunitXmlBuilder.php on line 82Comment #19
andypostComposer namespaces are case sensitive
Comment #20
andypostLocally unable to reproduce but on runner it hangs finishing
simpletest_script_execute_batch()probably some process hangsComment #21
andypostComment #22
andypostComment #23
andypostComment #24
andypostComment #25
andypostwhich mean the first condition fails
Comment #26
andypoststill hangs, probably some test result parsing stucks
Comment #27
andypostThe test
Drupal\Tests\file\FunctionalJavascript\MaximumFileSizeExceededUploadTestis missing in ci-runComment #28
andypostskip it now
Comment #29
andypostupdated IS
Comment #30
joseph.olstad@andypost, have you been able to run these tests locally with PHP 8.3-alpha2 and compared the results vs the d.o ci ?
Comment #31
andypost@joseph.olstad yes, the same test hangs even after replacing Apache with nginx-unit
Comment #32
andypoststrace shows something strange to me
Comment #33
andypostreverted IS fix
Comment #34
longwave@andypost does that trace happen before or during the file upload, ie. in
Maybe there is a new bug in PHP 8.3 when post_max_size is exceeded? There are some changes around stack overflow handling and perhaps some changes around out of memory conditions as well: https://stitcher.io/blog/new-in-php-83#stack-overflow-detection-pr
Comment #35
andypostIt's caused by
generateFile()which is very slow with each iteration but no before https://3v4l.org/WciJK#v8.2.7Comment #36
andypostReported upstream https://github.com/php/php-src/issues/11507
Comment #37
andypostFiled child to improve the test #3368789: Fix MaximumFileSizeExceededUploadTest test for PHP 8.3
Comment #38
andypostupdated IS
Comment #39
andypostFixed via https://github.com/php/php-src/commit/3c872661c13a2543c28e1ce27ebd53876f...
Comment #41
andypost@shiv_tech chatgpt is not helpful here yet
Comment #42
gisleAs site moderator, I've deleted comment #40 by user shiv_tech.
It was obviously AI generated content and served no useful purpose.
Comment #43
andypostNew failure on beta3 #3375693-27: Fix deprecated assert_options() function usage for PHP 8.3
Comment #44
andypostLooks this failure is caused by libxml version
- 8.2 https://dispatcher.drupalci.org/job/drupal_patches/199725/artifact/jenki...
- 8.3 https://dispatcher.drupalci.org/job/drupal_patches/199724/artifact/jenki...
Comment #45
andypostFiled new issue for that #3383577: TextSummaryTest:testLength() fails on some libxml versions
Comment #46
andypostAs #3375693: Fix deprecated assert_options() function usage for PHP 8.3 commited, all tests are pass, any new regressions could use new issues with PHP 8.3 tag