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

Updating WordPress fails causing local pretest, CI, etc. failures #8418

Closed
tofumatt opened this issue Aug 3, 2018 · 1 comment
Closed

Updating WordPress fails causing local pretest, CI, etc. failures #8418

tofumatt opened this issue Aug 3, 2018 · 1 comment
Assignees
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Comments

@tofumatt
Copy link
Member

tofumatt commented Aug 3, 2018

Argh everything is broken! 😡

Nearly any CI test that relies on the bin/install-wordpress.sh script is failing across branches: https://travis-ci.org/WordPress/gutenberg/jobs/411608028#L1164

Additionally, npm run test-e2e will fail because pretest-e2e runs bin/install-wordpress.sh --e2e_tests. bin/setup-local-env.sh also fails.

It seems very obscure because we hide Docker output... maybe we should stop. This is the offending line: https://github.com/WordPress/gutenberg/blob/master/bin/install-wordpress.sh#L52

If you uncomment the output being sent to /dev/null you'll see:

STATUS: Installing WordPress...
Warning: Unable to create directory wp-content/uploads/2018/08. Is its parent directory writable by the server?
Success: WordPress installed successfully.
Updating to version 4.9.8 (en_US)...
Downloading update from https://downloads.wordpress.org/release/wordpress-4.9.8-no-content.zip...
Unpacking the update...
Error: Could not create directory.
@tofumatt tofumatt added the [Priority] High Used to indicate top priority items that need quick attention label Aug 3, 2018
@tofumatt
Copy link
Member Author

tofumatt commented Aug 3, 2018

Downgrading to 4.9.7 Docker image fixes this, I think we should just do that for now. I've filed docker-library/wordpress#322 and I'll have a PR that forces our version to 4.9.7 for now. 😞

@tofumatt tofumatt self-assigned this Aug 3, 2018
@designsimply designsimply added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

No branches or pull requests

2 participants