Skip to content

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10991

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10991

Triggered via pull request October 3, 2023 16:37
Status Failure
Total duration 12m 56s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build-test-measure.yml

on: pull_request
Pre run
5s
Pre run
Matrix: build-zip
Lint: CSS
0s
Lint: CSS
Lint: JS
0s
Lint: JS
Normalize composer.json
12s
Normalize composer.json
Lint: PHP
1m 1s
Lint: PHP
Static Analysis: PHP
1m 22s
Static Analysis: PHP
Unit test: JS
0s
Unit test: JS
E2E test: JS
12m 30s
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

26 errors
Unit test: PHP 8.0, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.0, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.0, WP trunk: tests/php/validation/test-class-amp-validation-manager.php#L2046
Failed asserting that two arrays are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.1, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.1, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.1, WP trunk: tests/php/validation/test-class-amp-validation-manager.php#L2046
Failed asserting that two arrays are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.2, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.2, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.2, WP trunk: tests/php/validation/test-class-amp-validation-manager.php#L2044
Failed asserting that two arrays are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk
Process completed with exit code 1.
E2E test: JS: tests/e2e/specs/admin/anchor-linking.js#L211
TimeoutError: Navigation timeout of 60000 ms exceeded at /home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/LifecycleWatcher.ts:211:18 at FrameManager.waitForFrameNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:239:19) at Frame.waitForNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:795:12) at Page.waitForNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:1833:12) at async Promise.all (index 1) at loginUser (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/login-user.js:32:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/anchor-linking.js:18:3)
E2E test: JS
Process completed with exit code 1.

Artifacts

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