Skip to content

Support for participant count #2230

Support for participant count

Support for participant count #2230

Triggered via pull request February 15, 2024 15:34
Status Failure
Total duration 1h 8m 36s
Artifacts 1

main.yml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
Drupal 10.2.* | CiviCRM 5.69.x-dev
Failed asserting that 'The website encountered an unexpected error. Try again later. DivisionByZeroError: Division by zero in Drupal\webform_civicrm\WebformCivicrmPostProcess->validateParticipants() (line 490 of /home/runner/work/webform_civicrm/webform_civicrm/src/WebformCivicrmPostProcess.php). Drupal\webform_civicrm\WebformCivicrmPostProcess->validate() (Line: 135) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->validateForm() (Line: 2765) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1887) Drupal\webform\WebformSubmissionForm->validateForm() call_user_func_array() (Line: 82) Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 275) Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118) Drupal\Core\Form\FormValidator->validateForm() (Line: 593) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1257) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 37) Drupal\Core\Test\StackMiddleware\TestWaitTerminateMiddleware->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 10.2.* | CiviCRM 5.69.x-dev
Failed asserting that 0 matches expected 2.
Drupal 10.2.* | CiviCRM 5.69.x-dev
Process completed with exit code 2.
Drupal 9.5.* | CiviCRM 5.65.*
Failed asserting that 'The website encountered an unexpected error. Please try again later. Brick\Math\Exception\NumberFormatException: The given value "NAN" does not represent a valid number. in Brick\Math\BigNumber::Brick\Math\{closure}() (line 74 of /home/runner/drupal/vendor/brick/math/src/BigNumber.php). Brick\Math\BigNumber::of() (Line: 191) Brick\Money\Money::of() (Line: 241) CRM_Utils_Money::formatUSLocaleNumericRounded() (Line: 91) CRM_Utils_Money::format() (Line: 680) Drupal\webform_civicrm\WebformCivicrmPreProcess->displayLineItems() (Line: 217) Drupal\webform_civicrm\WebformCivicrmPreProcess->alterForm() (Line: 119) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->alterForm() (Line: 2765) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 674) Drupal\webform\WebformSubmissionForm->buildForm() call_user_func_array() (Line: 536) Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 375) Drupal\Core\Form\FormBuilder->rebuildForm() (Line: 633) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1257) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.65.*
Failed asserting that 1 matches expected 2.
Drupal 9.5.* | CiviCRM 5.65.*
Process completed with exit code 2.
Drupal 10.2.* | CiviCRM dev-master
Failed asserting that 'The website encountered an unexpected error. Try again later. DivisionByZeroError: Division by zero in Drupal\webform_civicrm\WebformCivicrmPostProcess->validateParticipants() (line 490 of /home/runner/work/webform_civicrm/webform_civicrm/src/WebformCivicrmPostProcess.php). Drupal\webform_civicrm\WebformCivicrmPostProcess->validate() (Line: 135) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->validateForm() (Line: 2765) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1887) Drupal\webform\WebformSubmissionForm->validateForm() call_user_func_array() (Line: 82) Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 275) Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118) Drupal\Core\Form\FormValidator->validateForm() (Line: 593) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1257) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 37) Drupal\Core\Test\StackMiddleware\TestWaitTerminateMiddleware->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 10.2.* | CiviCRM dev-master
Failed asserting that 0 matches expected 2.
Drupal 10.2.* | CiviCRM dev-master
Process completed with exit code 2.
Drupal 9.5.* | CiviCRM 5.66.*
Failed asserting that 'The website encountered an unexpected error. Please try again later. Brick\Math\Exception\NumberFormatException: The given value "NAN" does not represent a valid number. in Brick\Math\BigNumber::Brick\Math\{closure}() (line 74 of /home/runner/drupal/vendor/brick/math/src/BigNumber.php). Brick\Math\BigNumber::of() (Line: 191) Brick\Money\Money::of() (Line: 241) CRM_Utils_Money::formatUSLocaleNumericRounded() (Line: 91) CRM_Utils_Money::format() (Line: 680) Drupal\webform_civicrm\WebformCivicrmPreProcess->displayLineItems() (Line: 217) Drupal\webform_civicrm\WebformCivicrmPreProcess->alterForm() (Line: 119) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->alterForm() (Line: 2765) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 674) Drupal\webform\WebformSubmissionForm->buildForm() call_user_func_array() (Line: 536) Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 375) Drupal\Core\Form\FormBuilder->rebuildForm() (Line: 633) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1257) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.66.*
Failed asserting that 1 matches expected 2.
Drupal 9.5.* | CiviCRM 5.66.*
Process completed with exit code 2.
Drupal 10.2.* | CiviCRM 5.69.x-dev
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Drupal 9.5.* | CiviCRM 5.65.*
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Drupal 10.2.* | CiviCRM dev-master
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Drupal 9.5.* | CiviCRM 5.66.*
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
phpunit_browser_output Expired
365 MB