We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to... I'm working on upgrading BLT from 12 to 13 for PHP 8 support.
It's not working because... I keep getting errors during build. It looks like behat can't be found but I did add the separate behat repo.
Detailed error output `Fatal error: Uncaught Error: Call to undefined method League\Container\Definition\Definition::withArgument() in /mnt/tmp/local.prod/source/vendor/acquia/blt-behat/src/Blt/Plugin/Commands/BehatTestCommand.php:31 Stack trace: #0 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(47): Acquia\BltBehat\Blt\Plugin\Commands\BehatTestCommand->initialize() #1 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook() #2 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook() #3 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize() #4 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(335): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook() #5 /mnt/tmp/local.prod/source/vendor/symfony/console/Command/Command.php(221): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize() #6 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run() #7 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(31): Symfony\Component\Console\Application->doRunCommand() #8 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(22): Acquia\Blt\Robo\Application->doRunCommand() #9 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(100): Acquia\Blt\Robo\Application->runCommand() #10 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(65): Acquia\Blt\Robo\BltTasks->invokeCommand() #11 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(135): Acquia\Blt\Robo\BltTasks->invokeCommands() #12 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Commands/Tests/TestsAllCommand.php(20): Acquia\Blt\Robo\BltTasks->invokeNamespace() #13 [internal function]: Acquia\Blt\Robo\Commands\Tests\TestsAllCommand->tests() #14 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array() #15 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback() #16 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter() #17 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(350): Consolidation\AnnotatedCommand\CommandProcessor->process() #18 /mnt/tmp/local.prod/source/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute() #19 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run() #20 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(31): Symfony\Component\Console\Application->doRunCommand() #21 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(273): Acquia\Blt\Robo\Application->doRunCommand() #22 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun() #23 /mnt/tmp/local.prod/source/vendor/consolidation/robo/src/Runner.php(282): Symfony\Component\Console\Application->run() #24 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Blt.php(266): Robo\Runner->run() #25 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt-robo-run.php(35): Acquia\Blt\Robo\Blt->run() #26 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt-robo.php(15): require_once('...') #27 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt(11): require_once('...') #28 {main} thrown in /mnt/tmp/local.prod/source/vendor/acquia/blt-behat/src/Blt/Plugin/Commands/BehatTestCommand.php on line 31
pipelines_kill_background_processes
pstree -p $$ grep -E -o '([0-9]+)' grep -v "^$$$" sort -k2 -rn`
BLT doctor output Post the full output of blt doctor in the failing environment here.
blt doctor
System information
The text was updated successfully, but these errors were encountered:
There's an issue and PR open on the blt-behat queue related to this. Patch in acquia/blt-behat#16 should fix the issue temporarily
Sorry, something went wrong.
Great! the patch fixed the issue. Thanks @mikemadison13
No branches or pull requests
I want to...
I'm working on upgrading BLT from 12 to 13 for PHP 8 support.
It's not working because...
I keep getting errors during build. It looks like behat can't be found but I did add the separate behat repo.
Detailed error output
`Fatal error: Uncaught Error: Call to undefined method League\Container\Definition\Definition::withArgument() in /mnt/tmp/local.prod/source/vendor/acquia/blt-behat/src/Blt/Plugin/Commands/BehatTestCommand.php:31
Stack trace:
#0 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(47): Acquia\BltBehat\Blt\Plugin\Commands\BehatTestCommand->initialize()
#1 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook()
#2 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook()
#3 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize()
#4 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(335): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook()
#5 /mnt/tmp/local.prod/source/vendor/symfony/console/Command/Command.php(221): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize()
#6 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run()
#7 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(31): Symfony\Component\Console\Application->doRunCommand()
#8 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(22): Acquia\Blt\Robo\Application->doRunCommand()
#9 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(100): Acquia\Blt\Robo\Application->runCommand()
#10 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(65): Acquia\Blt\Robo\BltTasks->invokeCommand()
#11 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/BltTasks.php(135): Acquia\Blt\Robo\BltTasks->invokeCommands()
#12 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Commands/Tests/TestsAllCommand.php(20): Acquia\Blt\Robo\BltTasks->invokeNamespace()
#13 [internal function]: Acquia\Blt\Robo\Commands\Tests\TestsAllCommand->tests()
#14 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array()
#15 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#16 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#17 /mnt/tmp/local.prod/source/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(350): Consolidation\AnnotatedCommand\CommandProcessor->process()
#18 /mnt/tmp/local.prod/source/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#19 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run()
#20 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Application.php(31): Symfony\Component\Console\Application->doRunCommand()
#21 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(273): Acquia\Blt\Robo\Application->doRunCommand()
#22 /mnt/tmp/local.prod/source/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#23 /mnt/tmp/local.prod/source/vendor/consolidation/robo/src/Runner.php(282): Symfony\Component\Console\Application->run()
#24 /mnt/tmp/local.prod/source/vendor/acquia/blt/src/Robo/Blt.php(266): Robo\Runner->run()
#25 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt-robo-run.php(35): Acquia\Blt\Robo\Blt->run()
#26 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt-robo.php(15): require_once('...')
#27 /mnt/tmp/local.prod/source/vendor/acquia/blt/bin/blt(11): require_once('...')
#28 {main}
thrown in /mnt/tmp/local.prod/source/vendor/acquia/blt-behat/src/Blt/Plugin/Commands/BehatTestCommand.php on line 31
pipelines_kill_background_processes
pstree -p $$ grep -E -o '([0-9]+)' grep -v "^$$$" sort -k2 -rn`
BLT doctor output
Post the full output of
blt doctor
in the failing environment here.System information
The text was updated successfully, but these errors were encountered: