Skip to content

Add mandatory parent special case for amp-subscriptions #11640

Add mandatory parent special case for amp-subscriptions

Add mandatory parent special case for amp-subscriptions #11640

Triggered via pull request October 7, 2024 19:25
Status Failure
Total duration 8m 33s
Artifacts 3

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
53s
Lint: PHP
Static Analysis: PHP
1m 12s
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
23s
Upload plugin ZIPs to Google Cloud Storage
Comment on PR with links to plugin ZIPs
3s
Comment on PR with links to plugin ZIPs
Fit to window
Zoom out
Zoom in

Annotations

39 errors, 2 warnings, and 2 notices
Static Analysis: PHP: includes/admin/class-amp-post-meta-box.php#L172
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-post-meta-box.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/admin/class-amp-post-meta-box.php#L243
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-block-editor.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/admin/class-amp-template-customizer.php#L321
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-controls.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/admin/class-amp-template-customizer.php#L573
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-controls-legacy.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/admin/class-amp-template-customizer.php#L635
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-preview-legacy.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/embeds/class-amp-youtube-embed-handler.php#L278
Call to function is_array() with array will always evaluate to true.
Static Analysis: PHP: includes/embeds/class-amp-youtube-embed-handler.php#L479
Call to function is_array() with array{0?: string, minutes?: ''|numeric-string, 1?: ''|numeric-string, seconds?: numeric-string, 2?: numeric-string} will always evaluate to true.
Static Analysis: PHP: includes/settings/class-amp-customizer-design-settings.php#L233
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customizer-design-preview-legacy.asset.php" is not a file or it does not exist.
Static Analysis: PHP: includes/utils/class-amp-dom-utils.php#L376
Offset 'event' on array{0: list<string>, 1: list<non-falsy-string>, event: list<non-empty-string>, 2: list<non-empty-string>, actions: list<non-empty-string>, 3: list<non-empty-string>} in isset() always exists and is not nullable.
Static Analysis: PHP: includes/utils/class-amp-dom-utils.php#L394
Offset 'action' on array{0: list<string>, action: list<non-empty-string>, 1: list<non-empty-string>} in isset() always exists and is not nullable.
Unit test: PHP 8.0, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk
Process completed with exit code 1.
Upload plugin ZIPs to Google Cloud Storage
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions: https://github.com/google-github-actions/setup-gcloud
Unit test: PHP 8.3, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.3, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.3, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.3, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.3, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.3, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.2, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L290
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.1, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/test-amp-gallery-embed-handler.php#L292
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk
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.
Upload plugin ZIPs to Google Cloud Storage
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/setup-gcloud@20c93dacc1d70ddbce76c63ab32c35595345bdd1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Upload plugin ZIPs to Google Cloud Storage
"service_account_key" has been deprecated. Please switch to using google-github-actions/auth which supports both Workload Identity Federation and Service Account Key JSON authentication. For more details, see https://github.com/google-github-actions/setup-gcloud#authorization
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
amp-fix-subscriptions-section-ff3639b2-dev
5.98 MB
amp-fix-subscriptions-section-ff3639b2-prod
2.49 MB
e2e-failure-artifacts
190 KB