WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 20 months ago

#42385 closed task (blessed) (fixed)

Fix the 4.2 branch test suite

Reported by: johnbillion Owned by:
Milestone: 5.2 Priority: normal
Severity: normal Version: 4.2
Component: Build/Test Tools Keywords: needs-patch
Focuses: Cc:

Description

The test suite for the 4.2 branch on Travis CI broke today with npm errors. The last known working (and passing) build was around a month ago.

Erroring build:
https://travis-ci.org/WordPress/wordpress-develop/builds/295283327

Previous build (which was good):
https://travis-ci.org/WordPress/wordpress-develop/builds/277509137

What's changed in the last month that has caused this to error? Continually fixing node dependencies for older branches is completely unmaintainable. Can we pin more dependencies to known working versions?

Change History (8)

#1 @johnbillion
3 years ago

The same has happened on the 4.0 branch, but, curiously, not the 4.1 branch. What's different about the 4.1 branch?

#2 @ayeshrajans
3 years ago

Travis's systems had some issues yesterday (goes well with Halloween), and I had some of my own packages failing for no reason. I'll try to see if they are still failing.

#3 @johnbillion
3 years ago

@ayeshrajans Good suggestion, thanks. I just restarted the build and the same error occurred, so unfortunately that wasn't the issue.

This ticket was mentioned in Slack in #core by netweb. View the logs.


3 years ago

#5 @johnbillion
2 years ago

  • Milestone changed from 5.0 to Future Release

#6 @johnbillion
20 months ago

In 44989:

Build/Test tools: Switch npm dependency caching strategy on Travis CI for the 4.2 branch.

This switches to caching npm's local cache instead of the compiled modules in node_modules. The latter is causing errors on the PHP 5.2 build.

See #42385

#7 @johnbillion
20 months ago

In 44990:

Build/Test tools: Switch npm dependency caching strategy on Travis CI for the 4.3 branch.

This switches to caching npm's local cache instead of the compiled modules in node_modules. The latter is causing errors on the PHP 5.2 build.

Merges [44989] to the 4.3 branch.

See #42385

#8 @johnbillion
20 months ago

  • Milestone changed from Future Release to 5.2
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.