8000 [travis] session.gc_probability=0 to fix transient tests on hhvm by nicolas-grekas · Pull Request #16443 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[travis] session.gc_probability=0 to fix transient tests on hhvm #16443

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

Merged
merged 1 commit into from
Nov 4, 2015

Conversation

nicolas-grekas
Copy link
Member
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #15617
License MIT
Doc PR -

Should fix tests failing with:
ps_files_cleanup_dir: opendir(/var/lib/hhvm/sessions) failed: Permission denied (13)

@Tobion
Copy link
Contributor
Tobion commented Nov 3, 2015

So saving and fetching session files works on HHVM, but GC doesn't? Or why does GC fail?

@nicolas-grekas
Copy link
Member Author

I really don't know... Yet, builds fail transiently with this error...

@Tobion
Copy link
Contributor
Tobion commented Nov 3, 2015

Could be https://www.leaseweb.com/labs/2012/08/ps_files_cleanup_dir-permission-denied/ or facebook/hhvm#6302

Anyway, it doesn't hurt to set gc probability to 0 for tests. So 👍

@fabpot
Copy link
Member
fabpot commented Nov 4, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit b4dd254 into symfony:2.3 Nov 4, 2015
fabpot added a commit that referenced this pull request Nov 4, 2015
… on hhvm (nicolas-grekas)

This PR was merged into the 2.3 branch.

Discussion
----------

[travis] session.gc_probability=0 to fix transient tests on hhvm

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15617
| License       | MIT
| Doc PR        | -

Should fix tests failing with:
`ps_files_cleanup_dir: opendir(/var/lib/hhvm/sessions) failed: Permission denied (13)`

Commits
-------

b4dd254 [travis] session.gc_probability=0 to fix transient tests on hhvm
@nicolas-grekas nicolas-grekas deleted the transient branch November 4, 2015 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0