Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Action: PHP Unit Tests / Get WP and WC version matrix failed #2374

Closed
ianlin opened this issue Apr 16, 2024 · 2 comments
Closed

GH Action: PHP Unit Tests / Get WP and WC version matrix failed #2374

ianlin opened this issue Apr 16, 2024 · 2 comments
Labels
needs investigation priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc.

Comments

@ianlin
Copy link
Contributor

ianlin commented Apr 16, 2024

Describe the bug:

When I was releasing 2.6.7, one of the checks in the final step merge trunk to develop failed. The check is the preprocessor of PHP unit tests which it would get WP and WC version matrix.

The error message is:

Get WP and WC version Matrix
Action failed with error: FetchError - Invalid response body while trying to fetch https://api.wordpress.org/plugins/info/1.0/woocommerce.json: Premature close

However, the URL https://api.wordpress.org/plugins/info/1.0/woocommerce.json is accessible. I also tested it locally using node-fetch to fetch the URL and it worked. I haven't dug deeper but just a bold guess it would possibly because of node-fetch/node-fetch#1576 in node-fetch package?

Strangely that the same check passed in the 2.6.7 release branch PR.

Steps to reproduce:

  1. Re-run this failed job
  2. Or, create a test PR and check the same job in that PR.

Expected behavior:

The job should complete successfully.

Actual behavior:

The job failed.

Additional details:

@ianlin ianlin added priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. needs investigation labels Apr 16, 2024
@eason9487
Copy link
Member

A new retry attempt passed - https://github.com/woocommerce/google-listings-and-ads/actions/runs/8701663168?pr=2373.

Probably the https://api.wordpress.org/plugins/info/1.0/woocommerce.json randomly fails for now.

@ianlin
Copy link
Contributor Author

ianlin commented Apr 16, 2024

Thanks for testing, I will close it as it seems to be the URL https://api.wordpress.org/plugins/info/1.0/woocommerce.json is unstable for now.

@ianlin ianlin closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
Projects
None yet
Development

No branches or pull requests

2 participants