-
Notifications
You must be signed in to change notification settings - Fork 66
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
PHP 8.0: Update inward singing job #63
Comments
The inward singing jobs pull from the testing download site. To fully test this, we will need to push a test build to the download site. This, in turn, requires that we can build and publish a PHP 8 capable agent. Pulling the agent release from the downloads site is the last mile of the prerequisites for this ticket. The majority of the work is in getting an agent build that can be uploaded to the testing site. The actual changes to create a PHP 8 version of the inward singing job is fairly minimal. There's an environment variable set before the test app is run. This needs to be updated to point to a PHP 8 based docker image name. Note: Not all of the frameworks tested by the inward singing job may support PHP 8. We may need to adjust which ones are run. Since the 7.4 job runs a framework not run on the other versions, look at it to see how this is accomplished. |
I've started the process of running the tests locally as it allows us to avoid having to wait for the official build to be ready. Here's what I have found so far.
|
|
When running a test-app, it is not uncommon on my system for the results parsing to fail with an error on line 41 of This looks to be caused by a race condition that occurs when locust exits. The shutdown of the locust container doesn't give the php container enough time to finish processing the running transactions. This results in partial xml files in the My proposal to fix this is to add a small delay after locust exits. This should give the running transactions enough time to finish writing their results to disk. Alternatively (or additionally), we can investigate improving the error handling of the valgrind results processor so that it more gracefully handles these errors. We may want to consider this if the delay proves insufficient or we find ourselves wanting to regularly abort a run while still being able to view partial results. |
Closing out this ticket.
Work to be done as part of the next MMF:
|
Summary
Our inward singing jenkins job needs to be updated to include a PHP 8.0 build of the agent. This ticket is part of issue #32.
Desired Behavior
Pre-reqs and dependencies
Additional context
See the MMF doc for more details.
The text was updated successfully, but these errors were encountered: