Skip to content

Bump php-stubs/wordpress-stubs from 6.5.3 to 6.6.0 #1655

Bump php-stubs/wordpress-stubs from 6.5.3 to 6.6.0

Bump php-stubs/wordpress-stubs from 6.5.3 to 6.6.0 #1655

Triggered via pull request August 2, 2024 00:43
Status Failure
Total duration 8m 48s
Artifacts 1

build-test-measure.yml

on: pull_request
Pre run
3s
Pre run
Matrix: build-zip
Lint: CSS
0s
Lint: CSS
Lint: JS
0s
Lint: JS
Lint: PHP
55s
Lint: PHP
Static Analysis: PHP
56s
Static Analysis: PHP
Unit test: JS
0s
Unit test: JS
Matrix: 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

12 errors and 2 notices
Static Analysis: PHP: src/OptionsRESTController.php#L167
Method AmpProject\AmpWP\OptionsRESTController::get_items() never returns WP_Error so it can be removed from the return type.
Static Analysis: PHP: src/Validation/ScannableURLsRestController.php#L131
Method AmpProject\AmpWP\Validation\ScannableURLsRestController::get_items() never returns WP_Error so it can be removed from the return type.
Static Analysis: PHP: src/Validation/ScannableURLsRestController.php#L182
Method AmpProject\AmpWP\Validation\ScannableURLsRestController::prepare_item_for_response() never returns WP_Error so it can be removed from the return type.
Static Analysis: PHP: src/Validation/ValidationCountsRestController.php#L99
Method AmpProject\AmpWP\Validation\ValidationCountsRestController::get_items() never returns WP_Error so it can be removed from the return type.
Static Analysis: PHP
Process completed with exit code 1.
Unit test: PHP 7.4, WP latest
Process completed with exit code 1.
Unit test: PHP 8.0, WP latest
Process completed with exit code 1.
Unit test (with coverage): PHP 8.0, WP latest
Process completed with exit code 1.
E2E test: JS (1, 2): tests/e2e/specs/block-editor/amp-preview-button.js#L813
TimeoutError: waiting for selector `.components-button.edit-post-header__post-preview-button` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at Object.waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/amp-preview-button.js:35:14) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Set featured image')]` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:24:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Set featured image')]` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:24:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2)
Process completed with exit code 1.
E2E test: JS (2, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-126.0.6478.126/chrome-linux64/chrome
E2E test: JS (1, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-126.0.6478.126/chrome-linux64/chrome

Artifacts

Produced during runtime
Name Size
e2e-failure-artifacts Expired
190 KB