-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Parallelize pdo tests (dblib, firebird, oci, odbc, pgsql) #12395
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
Conversation
6738c98
to
e69e7fa
Compare
There is still one PR waiting for review with a similar goal: #11879 |
Oh nice, thanks for pointing this out! It's just mere luck that I didn't yet include the MySQL implementation in my PR ^^ |
Now that I added |
eb9955d
to
25820bb
Compare
ef94333
to
fbc9c85
Compare
It becomes possibly by using different symbols in all tests.
fbc9c85
to
dcfa0c8
Compare
Main remain issues seems to be Firebird on Windows |
2d7ab2a
to
b0aea91
Compare
b0aea91
to
b7ec7b0
Compare
Still slightly broken Windows:
And Linux CI:
|
394386a
to
586e2ea
Compare
As I suppose there is still some concurrency issue.
Co-authored-by: Jorg Adam Sowa <[email protected]>
This also happened on a previous CI run:
|
e2c8274
to
13760c2
Compare
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.
So the following test start a transaction without closing it properly:
ext/pdo/tests/bug_34630.phpt
Maybe the ddl and pdo017 tests need to be marked as conflicting.
Hmm, interesting idea, but it looks like the transaction is related to OCI8 only. :/
Yeah, I had already re-aadded the CONFLICTS file for firebird. Doing so apparently fixed a bunch of failures.
Yeah, I tend to do so soon, but I'd still prefer to find out the root cause even though these random failures drive me nuts.. I thought parallelization will be easy to do... :/ |
3036cfe
to
771a21b
Compare
771a21b
to
298d60e
Compare
I had enough, I xfailed it... |
b11d97b
to
191227f
Compare
Merged as is, thank you! |
It seems like this broke the CircleCI build. Can somebody take a look? |
I'm having a look |
ODBC frequently deadlocks in nightly. https://github.com/php/php-src/actions/runs/6792494456/job/18465897192 Can we re-unparallelize this, at least for CI only? I don't think there's currently an option for this, maybe allow |
I think just readding the CONFLICT file is better for the moment. |
I re-added the CONFLICTS files. Feel free to remove them if you can improve the stability, or maybe rather just enable parallelization for local development. |
Thanks Ilija, I wasn't able to add the conflicts file yesterday. I am fed up fixing these locking issues so I am fine with the current circumvention. |
It becomes possible by using different SQL symbols in all tests.