Skip to content

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10997

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10997

Triggered via pull request October 6, 2023 17:27
Status Failure
Total duration 11m 2s
Artifacts 1

build-test-measure.yml

on: pull_request
Pre run
4s
Pre run
Matrix: build-zip
Lint: CSS
0s
Lint: CSS
Lint: JS
0s
Lint: JS
Normalize composer.json
13s
Normalize composer.json
Lint: PHP
57s
Lint: PHP
Static Analysis: PHP
1m 29s
Static Analysis: PHP
Unit test: JS
0s
Unit test: JS
E2E test: JS
10m 34s
E2E test: JS
Matrix: feature-test-php
Matrix: unit-test-php
Upload plugin ZIPs to Google Cloud Storage
0s
Upload plugin ZIPs to Google Cloud Storage
Comment on PR with links to plugin ZIPs
0s
Comment on PR with links to plugin ZIPs
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Unit test: PHP 8.0, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.0, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.2, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.2, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.3, WP trunk: tests/php/test-class-amp-base-sanitizer.php#L545
Failed asserting that AmpProject\Dom\Element Object &00000000000067ac0000000000000000 (
Unit test: PHP 8.3, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.3, WP trunk
Process completed with exit code 2.
Unit test: PHP 8.1, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.1, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.0, WP latest
Process completed with exit code 127.
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L23
Error: No node found for selector: .install-now[data-slug="do-not-allow-amp-validate-capability"] at assert (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/assert.ts:23:21) at DOMWorld.click (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at installPlugin (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/install-plugin.js:22:2) at installPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:60:3) at activatePlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:95:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/site-scan-panel.js:28:4)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L23
Error: No node found for selector: .install-now[data-slug="do-not-allow-amp-validate-capability"] at assert (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/assert.ts:23:21) at DOMWorld.click (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at installPlugin (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/install-plugin.js:22:2) at installPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:60:3) at activatePlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:95:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/site-scan-panel.js:28:4)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)
E2E test: JS: tests/e2e/specs/admin/site-scan-panel.js#L38
Error: Unexpected error in page content: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 449 at visitAdminPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/visit-admin-page.js:38:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at isPluginInstalled (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:42:2) at installLocalPlugin (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/amp-settings-utils.js:73:6) at setupThemesAndPlugins (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:261:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:295:2)

Artifacts

Produced during runtime
Name Size
amp-e2e-artifacts Expired
67.4 KB