Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behat Tests Failing #3968

Closed
mikemadison13 opened this issue Dec 20, 2019 · 10 comments
Closed

Behat Tests Failing #3968

mikemadison13 opened this issue Dec 20, 2019 · 10 comments
Labels
11.x Affects or applies to 11.x Support A support request

Comments

@mikemadison13
Copy link
Contributor

This may be related to #1382.

I want to...
Upgrade to BLT 11, Drush 10, etc.

It's not working because...
Behat tests are not executing due to the server not starting. Note that if I go into ci.blt.yml and change the value of tests.run-server from true to false, then it seems to work fine. I'm not sure why it was ok prior to this update and not post? Maybe a drush thing?

Detailed error output

blt tests:all --define drush.alias='${drush.aliases.ci}' -D behat.web-driver=chrome --no-interaction --ansi --verbose
> tests:behat:run
> tests:server:start
[info] Killing all processing containing string 'runserver'...
[info] Killing all processes on port '8888'...
Launching PHP's internal web server via drush.
[info] Running server at http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[info] Waiting for response from http://127.0.0.1:8888...
[error]  Timed out.
For troubleshooting guidance and support, see https://docs.acquia.com/blt/support/
Drush logged the following errors while attempting to start the web server:
For troubleshooting guidance and support, see https://docs.acquia.com/blt/support/ 
[error]  Command `tests:server:start ` exited with code 1. This most likely indicates a problem with your configuration, and is not a BLT bug.
For troubleshooting guidance and support, see https://docs.acquia.com/blt/support/ 
[error]  Command `tests:behat:run ` exited with code 1. This most likely indicates a problem with your configuration, and is not a BLT bug.
For troubleshooting guidance and support, see https://docs.acquia.com/blt/support/ 
01:01 total time elapsed.
pipelines_kill_background_processes
pstree -p $$ | grep -E -o '([0-9]+)' | grep -v "^$$\$" | sort -k2 -rn
Killing background jobs

BLT doctor output

lando blt doctor
+---------------------------+--------------------------------------------+
| Property                  | Value                                      |
+---------------------------+--------------------------------------------+
| %paths.%root              | /app/docroot                               |
| %paths.%site              | sites/default                              |
| %paths.%modules           | sites/all/modules                          |
| %paths.%themes            | sites/all/themes                           |
| %paths.%config-sync       | /app/config/default                        |
| %paths.%files             | sites/default/files                        |
| %paths.%temp              | /tmp                                       |
| %paths.%private           | /app/files-private                         |
| admin-theme               | seven                                      |
| alias-searchpaths.0       | /app/drush/sites                           |
| base-profile              |                                            |
| blt-version               | 11.0.1                                     |
| bootstrap                 | Successful                                 |
| composer-version          | Composer version 1.8.4 2019-02-11 10:52:10 |
| config-sync               | /app/config/default                        |
| db-driver                 | mysql                                      |
| db-hostname               | database                                   |
| db-name                   | drupal8                                    |
| db-password               | drupal8                                    |
| db-port                   | 3306                                       |
| db-status                 | Connected                                  |
| db-username               | drupal8                                    |
| drupal-settings-file      | sites/default/settings.php                 |
| drupal-version            | 8.8.1                                      |
| drush-alias-files.0       | /app/drush/sites/capitalcamp.site.yml      |
| drush-alias-files.1       | /app/drush/sites/dgc.site.yml              |
| drush-cache-directory     | /var/www/.drush/cache                      |
| drush-conf.0              | /app/vendor/drush/drush/drush.yml          |
| drush-conf.1              | /app/drush/drush.yml                       |
| drush-conf.2              | /app/docroot/sites/default/local.drush.yml |
| drush-script              | /app/vendor/drush/drush/drush              |
| drush-temp                | /tmp                                       |
| drush-version             | 10.1.1                                     |
| files                     | sites/default/files                        |
| install-profile           | lightning                                  |
| modules                   | sites/all/modules                          |
| php-bin                   | /usr/local/bin/php                         |
| php-conf.1                | false                                      |
| php-os                    | Linux                                      |
| private                   | /app/files-private                         |
| root                      | /app/docroot                               |
| site                      | sites/default                              |
| stacks.drupal-vm.inited   | false                                      |
| stacks.dev-desktop.inited | false                                      |
| temp                      | /tmp                                       |
| theme                     | twentynineteen                             |
| themes                    | sites/all/themes                           |
| uri                       | http://local.capitalcamp.com               |
+---------------------------+--------------------------------------------+
+----------------------------------------------+--------------------------------------------------------------+
| Check                                        | Problem                                                      |
+----------------------------------------------+--------------------------------------------------------------+
| BehatCheck:checkBaseUrl:uri                  | base_url in tests/behat/local.yml does not match the site    |
|                                              | URI.                                                         |
|                                              |   Behat base_url is set to                                   |
|                                              | http://drupalgovcon.lndo.site.                               |
|                                              |   Drush site URI is set to                                   |
|                                              | http://local.capitalcamp.com.                                |
| ComposerCheck:composer.extra.installer-paths | The Composer configuration for extra.installer-paths differs |
|                                              | from BLT's default, recommended values.                      |
|                                              |   Change your configuration to match BLT's defaults in       |
|                                              |                                                              |
|                                              | vendor/acquia/blt/subtree-splits/blt-project/composer.json.  |
| NodeCheck:checkNodeVersionFileExists         | .node-version file exists                                    |
| WebUriCheck:checkUriResponse                 | Did not get a response from http://local.capitalcamp.com     |
|                                              | Is your *AMP stack running?                                  |
|                                              | Is your /etc/hosts file correctly configured?                |
|                                              | Is your web server configured to serve this URI from         |
|                                              | /app/docroot?                                                |
|                                              | Is options.uri set correctly in                              |
|                                              | /app/docroot/sites/default/local.drush.yml?                  |
+----------------------------------------------+--------------------------------------------------------------+
[error]  BLT Doctor discovered one or more critical issues.

System information

  • Operating system type: Mac OS
  • Operating system version: Catalina
  • BLT version: 11.1
@mikemadison13 mikemadison13 added Support A support request 11.x Affects or applies to 11.x labels Dec 20, 2019
@mikemadison13
Copy link
Contributor Author

@danepowell
Copy link
Contributor

I was confused initially because without the server running, Behat tests shouldn't pass, but it turns out this is explained by the Behat tests in this particular application accessing the Drupal container directly rather than via web requests (which would probably fail).

Clearly something is going wrong during the web server start. We need to get the output from that command to have any hope of troubleshooting this.

@danepowell danepowell added the Awaiting response Maintainer needs more info label Jan 7, 2020
@no-response
Copy link

no-response bot commented Jan 21, 2020

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Jan 21, 2020
@mikemadison13 mikemadison13 reopened this Jan 23, 2020
@no-response no-response bot removed the Awaiting response Maintainer needs more info label Jan 23, 2020
@mikemadison13
Copy link
Contributor Author

mikemadison13 commented Jan 23, 2020

I'm doing some additional debugging on this to try and get some output related to the error. It looks like when I manually do drush runserver, it works.

Executing step tests.
+ $SOURCE_DIR/vendor/bin/drush runserver http://127.0.0.1:8888 -vvv
[preflight] Config paths: /mnt/tmp/local.prod/source/vendor/drush/drush/drush.yml,/mnt/tmp/local.prod/source/drush/drush.yml
[preflight] Alias paths: /mnt/tmp/local.prod/source/docroot/drush/sites,/mnt/tmp/local.prod/source/drush/sites
[preflight] Commandfile search paths: /mnt/tmp/local.prod/source/vendor/drush/drush/src,/mnt/tmp/local.prod/source/drush
[debug] Starting bootstrap to full [0.08 sec, 8.53 MB]
[debug] Drush bootstrap phase 5 [0.08 sec, 8.53 MB]
[debug] Try to validate bootstrap phase 5 [0.08 sec, 8.53 MB]
[debug] Try to validate bootstrap phase 5 [0.08 sec, 8.53 MB]
[debug] Try to bootstrap at phase 5 [0.08 sec, 8.53 MB]
[debug] Drush bootstrap phase: bootstrapDrupalRoot() [0.08 sec, 8.53 MB]
[debug] Change working directory to /mnt/tmp/local.prod/source/docroot [0.08 sec, 8.53 MB]
[debug] Initialized Drupal 8.8.1 root directory at /mnt/tmp/local.prod/source/docroot [0.08 sec, 8.66 MB]
[debug] Try to validate bootstrap phase 5 [0.08 sec, 8.66 MB]
[debug] Try to bootstrap at phase 5 [0.09 sec, 9.01 MB]
[debug] Drush bootstrap phase: bootstrapDrupalSite() [0.09 sec, 9.02 MB]
[debug] Initialized Drupal site default at sites/default [0.09 sec, 9.18 MB]
[debug] Try to validate bootstrap phase 5 [0.09 sec, 9.18 MB]
[debug] Try to bootstrap at phase 5 [0.09 sec, 9.18 MB]
[debug] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.09 sec, 9.18 MB]
[debug] Add service modifier [0.1 sec, 9.48 MB]
[debug] Try to validate bootstrap phase 5 [0.1 sec, 9.48 MB]
[debug] Try to bootstrap at phase 5 [0.1 sec, 9.84 MB]
[debug] Drush bootstrap phase: bootstrapDrupalDatabase() [0.1 sec, 9.84 MB]
[debug] Successfully connected to the Drupal database. [0.1 sec, 9.84 MB]
[debug] Try to validate bootstrap phase 5 [0.1 sec, 9.84 MB]
[debug] Try to bootstrap at phase 5 [0.1 sec, 9.84 MB]
[debug] Drush bootstrap phase: bootstrapDrupalFull() [0.1 sec, 9.84 MB]
[debug] Start bootstrap of the Drupal Kernel. [0.1 sec, 9.84 MB]
[debug] acquia_connector commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/acquia_connector/composer.json (see 'extra\drush\services' section) to remove this message. [0.2 sec, 13.07 MB]
[debug] config_split commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/config_split/composer.json (see 'extra\drush\services' section) to remove this message. [0.2 sec, 13.07 MB]
[debug] lightning_core commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/lightning_core/composer.json (see 'extra\drush\services' section) to remove this message. [0.2 sec, 13.07 MB]
[debug] lightning_scheduler commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/lightning_workflow/modules/lightning_scheduler/composer.json (see 'extra\drush\services' section) to remove this message. [0.2 sec, 13.07 MB]
[debug] purge_drush commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/purge/modules/purge_drush/composer.json (see 'extra\drush\services' section) to remove this message. [0.2 sec, 13.07 MB]
[debug] simple_oauth commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/simple_oauth/composer.json (see 'extra\drush\services' section) to remove this message. [0.21 sec, 13.07 MB]
[debug] Found drush.services.yml for token Drush commands [0.21 sec, 13.07 MB]
[debug] webform commands loaded even though its constraint (^9) is incompatible with Drush 10.1.1. Broaden the constraint in modules/contrib/webform/composer.json (see 'extra\drush\services' section) to remove this message. [0.21 sec, 13.07 MB]
[info] pathauto should have an extra.drush.services section in its composer.json. See http://docs.drush.org/en/master/commands/#specifying-the-services-file. [0.21 sec, 13.07 MB]
[debug] Found drush.services.yml for xmlsitemap Drush commands [0.21 sec, 13.07 MB]
[debug] Get container builder [0.21 sec, 13.08 MB]
[debug] Service modifier alter. [0.21 sec, 13.18 MB]
[debug] process drush.console.services console.command [0.25 sec, 18.24 MB]
[debug] process drush.command.services drush.command [0.25 sec, 18.24 MB]
[debug] Found tagged service config.commands [0.25 sec, 18.24 MB]
[debug] Found tagged service config.export.commands [0.25 sec, 18.24 MB]
[debug] Found tagged service config.import.commands [0.25 sec, 18.24 MB]
[debug] Found tagged service batch.commands [0.25 sec, 18.24 MB]
[debug] Found tagged service cli.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service drupal.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service entity.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service image.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service jsonapi.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service language.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service locale.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service messenger.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service queue.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service role.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service state.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service twig.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service user.commands [0.25 sec, 18.25 MB]
[debug] Found tagged service views.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service watchdog.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service pm.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service theme.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service sanitize.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service sanitize.comments.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service sanitize.sessions.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service sanitize.userfields.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service sanitize.usertable.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service acquia_connector.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service config_split.commands [0.25 sec, 18.26 MB]
[debug] Found tagged service lightning_core.hooks [0.25 sec, 18.27 MB]
[debug] Found tagged service lightning_core.commands [0.25 sec, 18.27 MB]
[debug] Found tagged service lightning_scheduler.migration_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.debug_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.diagnostics_command [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.invalidate_command [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.processor_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.purger_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.queue_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.queuer_commands [0.25 sec, 18.27 MB]
[debug] Found tagged service purge_drush.types_command [0.25 sec, 18.27 MB]
[debug] Found tagged service Drupal\simple_oauth\Commands\SimpleOauthCommands [0.25 sec, 18.28 MB]
[debug] Found tagged service devel.command [0.25 sec, 18.28 MB]
[debug] Found tagged service webform.commands [0.25 sec, 18.28 MB]
[debug] Found tagged service webform.sanitize.submissions.commands [0.25 sec, 18.28 MB]
[debug] Found tagged service pathauto.commands [0.25 sec, 18.28 MB]
[debug] Found tagged service xmlsitemap.commands [0.25 sec, 18.28 MB]
[debug] process drush.command_info_alterer.services drush.command_info_alterer [0.25 sec, 18.28 MB]
[debug] process drush.generator.services drush.generator [0.26 sec, 18.28 MB]
[debug] Finished bootstrap of the Drupal Kernel. [0.55 sec, 31.12 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigCommands [0.7 sec, 47.69 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigExportCommands [0.7 sec, 47.87 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigImportCommands [0.71 sec, 47.87 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\BatchCommands [0.71 sec, 47.87 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\CliCommands [0.71 sec, 47.88 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\DrupalCommands [0.71 sec, 47.88 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\EntityCommands [0.71 sec, 47.89 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ImageCommands [0.71 sec, 47.9 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\JsonapiCommands [0.71 sec, 47.91 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LanguageCommands [0.71 sec, 47.92 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LocaleCommands [0.71 sec, 47.93 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\MessengerCommands [0.72 sec, 47.94 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\QueueCommands [0.72 sec, 47.94 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\RoleCommands [0.72 sec, 47.95 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\StateCommands [0.72 sec, 47.98 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\TwigCommands [0.72 sec, 47.99 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\UserCommands [0.72 sec, 48 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ViewsCommands [0.72 sec, 48.04 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\core\WatchdogCommands [0.72 sec, 48.07 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\PmCommands [0.73 sec, 48.1 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\ThemeCommands [0.73 sec, 48.11 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommands [0.73 sec, 48.12 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommentsCommands [0.73 sec, 48.12 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeSessionsCommands [0.73 sec, 48.12 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands [0.73 sec, 48.12 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserTableCommands [0.73 sec, 48.13 MB]
[debug] Add a commandfile class: Drupal\acquia_connector\Commands\AcquiaConnectorCommands [0.73 sec, 48.13 MB]
[debug] Add a commandfile class: Drupal\config_split\Commands\ConfigSplitCommands [0.73 sec, 48.14 MB]
[debug] Add a commandfile class: Drupal\lightning_core\Commands\Hooks [0.73 sec, 48.15 MB]
[debug] Add a commandfile class: Drupal\lightning_core\Commands\LightningCoreCommands [0.73 sec, 48.15 MB]
[debug] Add a commandfile class: Drupal\lightning_scheduler\Commands\MigrationCommands [0.74 sec, 48.15 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\DebugCommands [0.74 sec, 48.16 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\DiagnosticsCommand [0.74 sec, 48.16 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\InvalidateCommand [0.74 sec, 48.17 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\ProcessorCommands [0.74 sec, 48.18 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\PurgerCommands [0.74 sec, 48.2 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\QueueCommands [0.74 sec, 48.23 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\QueuerCommands [0.74 sec, 48.26 MB]
[debug] Add a commandfile class: Drupal\purge_drush\Commands\TypesCommand [0.74 sec, 48.28 MB]
[debug] Add a commandfile class: Drupal\simple_oauth\Commands\SimpleOauthCommands [0.75 sec, 48.29 MB]
[debug] Add a commandfile class: Drupal\token\Commands\TokenCommands [0.75 sec, 48.29 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformCommands [0.75 sec, 48.29 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSanitizeSubmissionsCommands [0.75 sec, 48.36 MB]
[debug] Add a commandfile class: Drupal\pathauto\Commands\PathautoCommands [0.75 sec, 48.36 MB]
[debug] Add a commandfile class: Drupal\xmlsitemap\Commands\XmlSitemapCommands [0.75 sec, 48.38 MB]
[notice] HTTP server listening on 127.0.0.1, port 8888 (see http://127.0.0.1:8888/), serving site, sites/default [0.76 sec, 49.02 MB]
[info] Executing: 'php' '-S' '127.0.0.1:8888' '/mnt/tmp/local.prod/source/vendor/drush/drush/misc/d8-rs-router.php' [0.77 sec, 49.36 MB]

@mikemadison13
Copy link
Contributor Author

I downgraded a project to drush 9.7.1 instead of 10.x and suddenly things seem to be working again. i've looked at the diff from 9.7.1 to 10.2 and nothing immediately jumps out at me as different on the RunServer command -- drush-ops/drush@9.7.1...10.2.0

@mikemadison13
Copy link
Contributor Author

It appears after comparing across a few projects, that my problem here is actually horribly out of date behat.yml and example.local.yml files in the /tests directory It's unclear at the moment if we failed to provide an update hook, or if I just missed one. But somewhere between Drush 9.6 and 10.x, and BLT 10 and 11, the "old" config "stopped working" for whatever reason. The new config works just fine (facepalm).

@danepowell
Copy link
Contributor

Thanks for following up. Do you have any insight as to what specifically in the config was failing? Is there anything BLT could do differently to have made debugging this easier?

@mikemadison13
Copy link
Contributor Author

I don't know how common it is for people to change these files... However, my behat.yml file was particularly out of date (see Drupal4Gov/Drupal-GovCon-2017@ce5a6ad#diff-17d136558ee3ab9bc09984b5af32821d and Drupal4Gov/Drupal-GovCon-2017@ce5a6ad#diff-1f9e31ef1a0de71ecab91db0af38903c).

For me, I re-ran the blt initi config script a few times, and expected "something" to change if I was out of sync (but I had to manually go and update these files). So it might be nice to have some sort of config recipe that would reset these files to "BLT Standard" if nothing else?

@alfattal
Copy link

I'm having the same issue. Acquia pipelines keep failing for exactly same reason and same error output. I'm on BLT version 13.4, Drupal version 9.4.2 and Drush version 11.0.5. @mikemadison13 Can you please indicate what changes you made manually to make this work?

@neelkhatri
Copy link

@alfattal Did you get anyfix for this? I am also seeing similar issue. I'm on BLT version 13.7, Drupal version 9.5.2 and Drush version 11.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.x Affects or applies to 11.x Support A support request
Projects
None yet
Development

No branches or pull requests

4 participants