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

Test bug72666_variation3 fails with 8.4.5RC1 #17932

Open
andypost opened this issue Feb 25, 2025 · 2 comments
Open

Test bug72666_variation3 fails with 8.4.5RC1 #17932

andypost opened this issue Feb 25, 2025 · 2 comments

Comments

@andypost
Copy link
Contributor

Description

The following test fails when I run test build for Alpinelinux

TEST 15312/18713 [ext/standard/tests/file/bug72666_variation3.phpt]
========DIFF========
     string(4) "test"
     int(4)
003- bool(true)
003+ bool(false)
     bool(true)
========DONE========
FAIL Bug #72666 (stat cache clearing inconsistent - plain wrapper) [ext/standard/tests/file/bug72666_variation3.phpt] 

Not sure what can cause it but it consistently fails on 2 arches - armv7 and riscv64

PHP Version

PHP 8.4.5RC1

Operating System

Alpinelinux

@nielsdos
Copy link
Member

nielsdos referenced this issue Feb 25, 2025
This adds more aggressive clearing of stat cache. It is added to the
filestat as well as plain wrapper operations which covers stream file
accessing as well as exec functions (using pipes). It should hopefully
fix the most visible issues with the stat cache.

Closes GH-17681
@andypost
Copy link
Contributor Author

Thank you! looks exactly a case, this build happening in dockerized CI so atime can be missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants