Fix issue reported by gitlab ci.

Created on 31 October 2023, about 1 year ago

phpstan

------ --------------------------------------------------------------------------- 
  Line   tests/src/ExistingSite/PageImageDamTest.php                                
 ------ --------------------------------------------------------------------------- 
  18     Class Drupal\Tests\acquia_cms_page\ExistingSite\PageImageDamTest           
         extends unknown class weitzman\DrupalTestTraits\ExistingSiteBase.          
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols        
  42     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\PageImageDamTest::assertTrue().  
  45     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\PageImageDamTest::assertTrue().  
 ------ --------------------------------------------------------------------------- 
 ------ --------------------------------------------------------------------------- 
  Line   tests/src/ExistingSite/TabsBlockTest.php                                   
 ------ --------------------------------------------------------------------------- 
  17     Class Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest extends      
         unknown class weitzman\DrupalTestTraits\ExistingSiteBase.                  
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols        
  23     Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::setUp()           
         calls parent::setUp() but                                                  
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest does not           
         extend any class.                                                          
  28     Access to an undefined property                                            
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::$container.       
         💡 Learn more:                                                             
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property   
  29     Access to an undefined property                                            
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::$container.       
         💡 Learn more:                                                             
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property   
  34     Access to an undefined property                                            
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::$container.       
         💡 Learn more:                                                             
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property   
  54     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::createUser().     
  57     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::drupalLogin().    
  59     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::assertSession().  
  65     Access to an undefined property                                            
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::$container.       
         💡 Learn more:                                                             
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property   
  67     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::createNode().     
  70     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::assertSame().     
  71     Call to an undefined method                                                
         Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::drupalGet().      
 ------ --------------------------------------------------------------------------- 
 [ERROR] Found 15 errors   

phpunit-d9

1) Drupal\Tests\acquia_cms_page\ExistingSite\PageImageDamTest::testPageDamImageDependencyConfig
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:155
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:105
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:54
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:71
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:351
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:162
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
phpvfscomposer:///builds/project/acquia_cms_page/vendor/phpunit/phpunit/phpunit:106
/builds/project/acquia_cms_page/vendor/bin/phpunit:115
2) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #0 ('administrator')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:155
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:105
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:54
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:71
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:351
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:162
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
phpvfscomposer:///builds/project/acquia_cms_page/vendor/phpunit/phpunit/phpunit:106
/builds/project/acquia_cms_page/vendor/bin/phpunit:115
3) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #1 ('content_administrator')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:155
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:105
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:54
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:71
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:351
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:162
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
phpvfscomposer:///builds/project/acquia_cms_page/vendor/phpunit/phpunit/phpunit:106
/builds/project/acquia_cms_page/vendor/bin/phpunit:115
4) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #2 ('content_editor')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:155
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:105
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:54
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:71
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:351
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:162
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
phpvfscomposer:///builds/project/acquia_cms_page/vendor/phpunit/phpunit/phpunit:106
/builds/project/acquia_cms_page/vendor/bin/phpunit:115
5) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #3 ('content_author')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:155
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:105
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:54
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:71
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:351
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:162
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
phpvfscomposer:///builds/project/acquia_cms_page/vendor/phpunit/phpunit/phpunit:106
/builds/project/acquia_cms_page/vendor/bin/phpunit:115
6) Drupal\Tests\acquia_cms_page\Functional\PageTest::testContentType
Exception: Warning: file_get_contents(libraries/chart.js/dist/chart.min.js): failed to open stream: No such file or directory
_locale_parse_js_file()() (Line: 1092)
/builds/project/acquia_cms_page/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:49
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:204
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:153
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/TaskQueue.php:48
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:248
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:224
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:269
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:226
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:62
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:182
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:404
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:622
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:422
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/Client.php:324
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:719
/builds/project/acquia_cms_page/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:494
/builds/project/acquia_cms_page/vendor/behat/mink/src/Element/NodeElement.php:153
/builds/project/acquia_cms_page/vendor/behat/mink/src/Element/NodeElement.php:161
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/UiHelperTrait.php:100
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/UiHelperTrait.php:257
/builds/project/acquia_cms_page/web/modules/contrib/acquia_cms_common/tests/src/Functional/ContentTypeTestBase.php:129
/builds/project/acquia_cms_page/web/modules/contrib/acquia_cms_common/tests/src/Functional/ContentTypeTestBase.php:98
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
7) Drupal\Tests\acquia_cms_page\Kernel\PageWithLayoutCanvasFieldTest::testPageContentTypeWithFields
PHPUnit\Framework\Exception: Unavailable module: 'cohesion_elements'. If this module needs to be downloaded separately, annotate the test class with '@requires module cohesion_elements'.
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:525
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:375
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:260
/builds/project/acquia_cms_page/web/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php:56
/builds/project/acquia_cms_page/tests/src/Kernel/PageWithLayoutCanvasFieldTest.php:47
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
ERRORS!
Tests: 11, Assertions: 29, Errors: 7.

phpunit-d10

1) Drupal\Tests\acquia_cms_page\ExistingSite\PageImageDamTest::testPageDamImageDependencyConfig
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/core/misc/druplicon.png
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:38
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:66
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:333
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:169
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:111
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
/builds/project/acquia_cms_page/vendor/bin/phpunit:122
2) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #0 ('administrator')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/core/misc/druplicon.png
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:38
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:66
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:333
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:169
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:111
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
/builds/project/acquia_cms_page/vendor/bin/phpunit:122
3) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #1 ('content_administrator')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/core/misc/druplicon.png
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:38
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:66
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:333
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:169
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:111
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
/builds/project/acquia_cms_page/vendor/bin/phpunit:122
4) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #2 ('content_editor')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/core/misc/druplicon.png
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:38
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:66
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:333
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:169
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:111
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
/builds/project/acquia_cms_page/vendor/bin/phpunit:122
5) Drupal\Tests\acquia_cms_page\ExistingSite\TabsBlockTest::testTabsBlock with data set #3 ('content_author')
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 8000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/core/misc/druplicon.png
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php:174
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:38
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Middleware.php:66
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:333
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:169
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:111
/builds/project/acquia_cms_page/vendor/behat/mink/src/Session.php:148
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:123
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/BrowserKitTrait.php:82
/builds/project/acquia_cms_page/vendor/weitzman/drupal-test-traits/src/ExistingSiteBase.php:48
/builds/project/acquia_cms_page/tests/src/ExistingSite/TabsBlockTest.php:23
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/TextUI/Command.php:97
/builds/project/acquia_cms_page/vendor/bin/phpunit:122
6) Drupal\Tests\acquia_cms_page\Functional\PageTest::testContentType
Exception: Warning: file_get_contents(libraries/chart.js/dist/chart.min.js): Failed to open stream: No such file or directory
_locale_parse_js_file()() (Line: 1097)
/builds/project/acquia_cms_page/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:47
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:209
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:158
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/TaskQueue.php:52
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:251
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:227
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:272
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:229
/builds/project/acquia_cms_page/vendor/guzzlehttp/promises/src/Promise.php:69
/builds/project/acquia_cms_page/vendor/guzzlehttp/guzzle/src/Client.php:189
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:403
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:603
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:421
/builds/project/acquia_cms_page/vendor/symfony/browser-kit/AbstractBrowser.php:320
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:674
/builds/project/acquia_cms_page/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:462
/builds/project/acquia_cms_page/vendor/behat/mink/src/Element/NodeElement.php:153
/builds/project/acquia_cms_page/vendor/behat/mink/src/Element/NodeElement.php:161
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/UiHelperTrait.php:100
/builds/project/acquia_cms_page/web/core/tests/Drupal/Tests/UiHelperTrait.php:157
/builds/project/acquia_cms_page/web/modules/contrib/acquia_cms_common/tests/src/Functional/ContentTypeTestBase.php:129
/builds/project/acquia_cms_page/web/modules/contrib/acquia_cms_common/tests/src/Functional/ContentTypeTestBase.php:98
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
7) Drupal\Tests\acquia_cms_page\Kernel\PageWithLayoutCanvasFieldTest::testPageContentTypeWithFields
PHPUnit\Framework\Exception: Unavailable module: 'cohesion_elements'. If this module needs to be downloaded separately, annotate the test class with '@requires module cohesion_elements'.
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:536
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:386
/builds/project/acquia_cms_page/web/core/tests/Drupal/KernelTests/KernelTestBase.php:262
/builds/project/acquia_cms_page/web/core/modules/field/tests/src/Kernel/FieldKernelTestBase.php:56
/builds/project/acquia_cms_page/tests/src/Kernel/PageWithLayoutCanvasFieldTest.php:47
/builds/project/acquia_cms_page/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
ERRORS!
Tests: 11, Assertions: 29, Errors: 7.

Fix in parent issue use this fork: https://git.drupalcode.org/issue/acquia_cms_page-3397138/-/tree/3397138-... so pipeline will run.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India rajeshreeputra Pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024