Skip to content

Omit page caching and object caching tests for Site Health if on WP>=6.1 #11064

Omit page caching and object caching tests for Site Health if on WP>=6.1

Omit page caching and object caching tests for Site Health if on WP>=6.1 #11064

Triggered via pull request October 25, 2023 09:08
Status Failure
Total duration 12m 57s
Artifacts 3

build-test-measure.yml

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

Annotations

23 errors and 1 warning
Unit test: PHP 7.4, WP 5.3: tests/php/src/Admin/SiteHealthTest.php#L162
Failed asserting that an array does not have the key 'amp_page_cache'.
Unit test: PHP 7.4, WP 5.3
Process completed with exit code 1.
Unit test: PHP 7.4, WP latest: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 7.4, WP latest
Process completed with exit code 1.
Unit test: PHP 8.0, WP latest: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.0, WP latest
Process completed with exit code 1.
Unit test: PHP 8.0, WP trunk: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.0, WP trunk
Process completed with exit code 1.
Unit test: PHP 7.4, WP 5.3: tests/php/src/Admin/SiteHealthTest.php#L162
Failed asserting that an array does not have the key 'amp_page_cache'.
Unit test: PHP 7.4, WP 5.3
Process completed with exit code 1.
Unit test: PHP 8.2, WP trunk: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.2, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.0, WP latest: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.0, WP latest
Process completed with exit code 1.
Unit test: PHP 7.4, WP latest: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 7.4, WP latest
Process completed with exit code 1.
Unit test: PHP 8.1, WP trunk: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.1, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.3, WP trunk: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test: PHP 8.3, WP trunk
Process completed with exit code 1.
Unit test (with coverage): PHP 8.0, WP latest: tests/php/src/Admin/SiteHealthTest.php#L157
Failed asserting that an array has the key 'amp_persistent_object_cache'.
Unit test (with coverage): PHP 8.0, WP latest
Process completed with exit code 1.
E2E test: JS
Process completed with exit code 1.
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

Artifacts

Produced during runtime
Name Size
amp-e2e-artifacts Expired
67.1 KB
amp-remove-page-cache-site-health-test-91695d74-dev Expired
6.36 MB
amp-remove-page-cache-site-health-test-91695d74-prod Expired
2.85 MB