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

Improve reliability of TestDevLogs (in cmd) #1145

Merged
merged 5 commits into from Oct 6, 2018

Conversation

rfay
Copy link
Member

@rfay rfay commented Sep 29, 2018

The Problem/Issue/Bug:

We see regular failures of TestDevLogs (in cmd) like this in buildkite - basically a million warnings like [29-Sep-2018 22:22:36] WARNING: [pool www] child 488 said into stderr: "NOTICE: PHP message: PHP Warning: Unexpected character in input: ' in /var/www/html/htdocs/index.php on line 1" which (seem?) to flood the item we're looking at, so the test fails. It's intermittent, so hard to chase.
 

How this PR Solves The Problem:

Simplify the test, use some of our newer tools (testcommon.GetLocalHTTPResponse()), and use a static fatal.php instead of writing it out.

Manual Testing Instructions:

Probably if it tests OK then it's not going to be any worse.

@rfay rfay added this to the v1.3.0 milestone Sep 29, 2018
@rfay rfay self-assigned this Sep 29, 2018
Copy link
Member Author

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a trivial test-only PR. It works around a likelihood of php-fpm to SIGBUS when an error is detected, and should have no impact on anything but testing. I'm going to pull it ahead of our prep for release.

@rfay rfay merged commit 9063a31 into ddev:master Oct 6, 2018
@rfay rfay deleted the 20180929_improve_test_dev_logs branch October 6, 2018 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant