When trying to spin up drupal core 9.0.0-beta2 I get error:
The requested submission failed. 113%

Building preview: 5e8e5eb322ea847f1f330df4 (stm5e8e5e941efb7)

The requested submission failed. 113%

However, when testing 8.9.0-beta2, everything seems to work fine

Comments

matsbla created an issue. See original summary.

matsbla’s picture

Title: Drupal core: The requested submission failed. 113% » Drupal core 9.0.0-beta2: The requested submission failed. 113%
Issue summary: View changes
nerdstein’s picture

I'll take a look, thanks for letting me know.

nerdstein’s picture

This is a composer memory error and was raised by the Umami one click button issue as well. I'll work on this today.

nerdstein’s picture

Status: Active » Needs review

I just released a patch to #3122978 that should fix this. Testing it now...

nerdstein’s picture

Status: Needs review » Needs work

This still doesn't work even with the unrestricted memory. I think we may need to wait until the next beta is released and #3126003 is rolled in.

5e8fe71a70963b34140deb21# /bin/sh -c cd "${DOCROOT}" && echo 'if (PHP_SAPI === "cli"){ ini_set("memory_limit", "-1"); }' >> sites/default/settings.php

5e8fe71a70963b34140deb21# /bin/sh -c cd "${DOCROOT}" && ../vendor/bin/drush si standard --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --account-name=admin --account-pass=admin -y

if (PHP_SAPI === "cli"){ ini_set("memory_limit", "-1"); }

// You are about to DROP all tables in your 'tugboat' database. Do you want to // continue?: yes.

[notice] Starting Drupal installation. This takes a while.

[warning] session_id(): Cannot change session id when headers already sent AbstractProxy.php:94

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1048576 bytes) in /var/lib/tugboat/stm/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php on line 96

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1048576 bytes) in /var/lib/tugboat/stm/vendor/symfony/http-foundation/Response.php on line 226

Command Failed (Tugboat Error 1064): Exit code (255)
anybody’s picture

Yep just ran into this and can confirm the problem still exists.

martin107’s picture

Just trying to be helpful ... it is not really unexpected but maybe another data point is useful.

I see exactly this error on the 9.1.x dev branch

commit 7590d5b5df4f9510564f2e727e019a15c18c648d (origin/9.1.x, 9.1.x)
Author: xjm <xjm@65776.no-reply.drupal.org>
Date:   Sat May 9 21:23:55 2020 -0500

    Issue #3126906 by jungle, longwave, AndyF: MenuLinkContentTest.php is recognized as a binary file by git
nerdstein’s picture

The previous fix did not work because it only fixed Drush, not Composer. Confirmed:

/bin/sh -c cd stm && composer update

Loading composer repositories with package information

Updating dependencies (including require-dev)

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
nerdstein’s picture

Status: Needs work » Needs review
StatusFileSize
new615 bytes

Pushing this patch to the dev server for testing

nerdstein’s picture

StatusFileSize
new1.65 KB

The last patch still failed:

composer update

Loading composer repositories with package information

Updating dependencies (including require-dev)

Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for drupal/core-recommended 9.0.0-beta2 -> satisfiable by drupal/core-recommended[9.0.0-beta2]. - drupal/core-recommended 9.0.0-beta2 requires composer/installers v1.8.0 -> satisfiable by composer/installers[v1.8.0] but these conflict with your requirements or minimum-stability.

Here is a new one to test on dev.

nerdstein’s picture

StatusFileSize
new2.22 KB

This resolved the memory error and now we're getting headers printed due to the previous memory fix.

nerdstein’s picture

Status: Needs review » Patch (to be ported)

That did the trick

  • nerdstein committed f468867 on 7.x-1.x
    Issue #3126147 by nerdstein, matsbla: Drupal core 9.0.0-beta2: The...
nerdstein’s picture

Status: Patch (to be ported) » Fixed

Fixed - pushing this to live now.

martin107’s picture

thank you, thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.