Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

BLT-5209: [info] Waiting for non-50x response from http://localhost:9222... #4672

@neelkhatri

Description

@neelkhatri

Describe the bug
After upgrading to BLT 13.7.0 and Drush 11.5.x I am facing issue with my ci pieline. I am seeing "[debug] cURL error 7: Failed to connect to localhost port 9222: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
 [info] Waiting for non-50x response from http://localhost:9222/..." error during CI build after behat test triggered.

To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:

  1. Run composer create-project acquia/drupal-recommended-project --no-interaction
  2. After installing Drupal 9.5.7, BLT 13.7.0 and drush 11.5.x
  3. run blt tests:behat --no-interaction --define drush.alias='${drush.aliases.ci}' --define tests.run-server=true -v
  4. See error

Expected behavior
It should run ci pieline without any error

Detailed error output

Run All Tests

$COMPOSER_BIN/blt tests:behat --no-interaction --define drush.alias='${drush.aliases.ci}' --define tests.run-server=false --define environment=ci -v
[info] Running command /builds/ito-ms/applications/website-factory/drupal/repo/vendor/bin/drush @self status bootstrap
BLT can (re)generate tests/behat/local.yml using tests/behat/example.local.yml.
[warning] Required file /app/docroot does not exist.
[warning] Behat is not configured properly.

tests:behat:init
Generating Behat configuration files...
[Filesystem\FilesystemStack] mkdir ["/builds/ito-ms/applications/website-factory/drupal/repo/reports"]
[info] Killing running google-chrome processes...
[info] Killing all processes on port '9222'...
[info] Launching headless chrome...
'google-chrome' --headless --disable-web-security --no-sandbox --disable-gpu --disable-extensions --start-maximized --remote-debugging-port=9222 --window-size='1366,768' http://localhost/ -vvv
Deprecation Warning: this command is passing a command string and should pass a command array.
[Robo\Common\ProcessExecutor] Running ''''google-chrome'''' '--headless' '--disable-web-security' '--no-sandbox' '--disable-gpu' '--disable-extensions' '--start-maximized' '--remote-debugging-port=9222' '--window-size='''1366,768'''' 'http://localhost' '-vvv' in /builds/ito-ms/applications/website-factory/drupal/repo
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Waiting for non-50x response from http://localhost:9222/...
[info] Killing running google-chrome processes...
[info] Killing all processes on port '9222'...
[error] Timed out.

with debug mode it is showing some curl 7 error "[debug] cURL error 7: Failed to connect to localhost port 9222: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"

image

System information

  • Operating system type: docker container for CI on gitlab
  • Operating system version: Ubuntu
  • BLT version: 13.7.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions