Skip to content

Fix PHP 7.2 tests on master branch #24515

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

Closed
wants to merge 1 commit into from

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? not yet
Fixed tickets -
License MIT
Doc PR -

@nicolas-grekas nicolas-grekas added this to the 4.0 milestone Oct 11, 2017
- php: 7.1.3
- php: 7.1
env: deps=high
- php: 7.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is meant to be reverted, right ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, just for testing now

@stof
Copy link
Member

stof commented Oct 11, 2017

Looks weird to have @Simperfit and @sroze approving the PR at a time it is totally not mergeable...

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Oct 11, 2017

On 7.2:

  • HttpFoundations's NativeSessionStorageTest fails with "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
  • Process hangs completely.

If someone wants to investigate, help welcomed :)
See https://travis-ci.org/symfony/symfony/builds/286466244

@Simperfit
Copy link
Contributor

Simperfit commented Oct 11, 2017

@nicolas-grekas Did you merge the one we did back to master ? it's the same thing

@nicolas-grekas
Copy link
Member Author

Yes I did, so this is some leftover.

@Simperfit
Copy link
Contributor

Both the ini's one should not be hard to fix (I think it's the same error as the other PR).

About the Process components that hang, I could help you debugging if you want to.

@stof I approuved this PR because I though (maybe, too fast) that this will be working directly since we already worked on it. Sorry.

@stof
Copy link
Member

stof commented Oct 11, 2017

@Simperfit removing testing on PHP 7.1 cannot be approved as is anyway.

@sroze
Copy link
Contributor

sroze commented Oct 11, 2017

@nicolas-grekas Interestingly I see it the other way around:

  1. The Process tests failing (fix proposed in [Process] Fix broken tests for PHP 7.2 #24516)
  2. HttpFoundation hanging. Will dig into this 🤔

@nicolas-grekas
Copy link
Member Author

If it hangs locally with HttpFoundation, it may be related to an obsolete phpunit bridge. Try removing the .phpunit folder locally.

@sroze
Copy link
Contributor

sroze commented Oct 11, 2017

Doesn't seam like it, I've dev-master with your commit c754fc1 in it (tried the rm option as well)

@sroze
Copy link
Contributor

sroze commented Oct 11, 2017

Looks like all the tests tagged @runInSeparateProcess are blocking actually.

@nicolas-grekas
Copy link
Member Author

composer update

@nicolas-grekas nicolas-grekas deleted the php72 branch October 12, 2017 09:23
nicolas-grekas added a commit that referenced this pull request Nov 6, 2017
This PR was squashed before being merged into the 4.0-dev branch (closes #24516).

Discussion
----------

[Process] Fix broken tests for PHP 7.2

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #24524, #24515
| License       | MIT
| Doc PR        | ø

Following #24515, trying to fix Process tests with PHP 7.2

Commits
-------

b410a36 [Process] Fix broken tests for PHP 7.2
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.

6 participants