-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Fix MySQL and MSSQL test failures #16011
Conversation
But we are not running those mysql tests then? Shouldn't we be using mysql in a container at least then? |
No problem. It's running as a container here: php-src/.github/workflows/push.yml Lines 44 to 50 in 5dd8bb0
(But it was still running locally) There are some parts that are run locally without using containers. This is for benchmarking purposes. Of course, they are left in place: php-src/.github/workflows/push.yml Lines 323 to 326 in 5dd8bb0
Just to be sure, I'll check the test results with artifacts later. |
Right, thank you. This makes sense. I misread the PR, sorry about that. |
Now, look at this: "All checks have passed" Thank you, @KentarouTakeda! cc @iluuu1994 |
Thank you! Indeed, we seem to have switched to mysql containers in 8.3, I forgot about that. Can you target 8.3 then? |
22a06d3
to
352e720
Compare
Watch out! It seems to me that nightly doesn't use a mysql container, what might be a problem. Also we need to port this to PHP-8.2, and possibly PHP-8.1. |
352e720
to
ef67067
Compare
The nightly tests have also been unified to start the service container. The pull request target has been changed to 8.3. It may take some time because I wasn't sure how to deal with conflicts in 8.2 and 8.1, and it's already late at night in Japan and I have work tomorrow. I'm sorry. If we need to hurry, please feel free to use my pull request as needed. |
@cmb69 8.2 doesn't use a mysql container yet, so 8.3 should be enough. |
Ah, right, PHP-8.2 wasn't affected by this issue at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
- 3306:3306 | ||
env: | ||
MYSQL_DATABASE: test | ||
MYSQL_ROOT_PASSWORD: root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is problematic, because it will add the service to older branches in nightly, at which point the sudo service mysql start
again needs to be removed. So maybe this needs to target 8.2 after all. Or we can skip the service somehow on older branches, but I don't think that's possible, I don't see such an option in the documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh, just committed to PHP-8.3 and master (I want todays tags to run on all CI). What to do now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmb69 No worries. It was broken anyway. I think it would be easiest if we backport this and consistently use containers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmb69 Are you still on Slack? If so, maybe it would be easier to discuss it there. 🙂 If not, I can organize a new invite for you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iluuu1994 @cmb69
It seems that I confused you because I didn't understand how backporting and Nightly Test work. Thank you very much for all your consideration and support.
Is it okay for me to ask everyone to backport? Please let me know if there's anything I can do for you.
This is a related fix to #15997.