Closed (cannot reproduce)
Project:
Drupal core
Version:
8.3.x-dev
Component:
database system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2016 at 15:28 UTC
Updated:
12 Oct 2016 at 15:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
MixologicOur containers are built against the PHP-7.0 branch of php on github.
https://github.com/php/php-src/commits/PHP-7.0
Comment #3
xjmApparently this run was 7.0.13-dev:
(via @cilefen)
Comment #4
xjmhttps://github.com/php/php-src/commit/085dfca02b64588317a233eb191d07a755... looks interesting...
Comment #5
MixologicThis is the first occurance of a php7 test failing with this issue : https://www.drupal.org/node/2808317#comment-11673203
And every single php7 patch from that point forward all have the exact same fails.
Comment #6
mradcliffeThere is an existing PHP bug at https://bugs.php.net/bug.php?id=71822.
Maybe we need to stay on the island and not use parse_url? Or maybe there's a scalable library out there already that could be included?
Comment #7
cilefen commentedThis is reproducible on PHP 7.0 HEAD in isolation:
Comment #8
Mixologiccilefen++
Comment #9
cilefen commentedThe tests catch a legitimate PHP bug in HEAD. This is a moving-on-with-our-lives patch.
Comment #10
cilefen commentedHow did I do that?
Comment #11
cilefen commentedThis is one way to work around it. Better regex trickery is needed though.
Comment #12
mradcliffeI think PathAliasTest may be affected too. Remember to add php 7 tests for the patch instead of 5.5.
Comment #14
alexpottI'm not sure that we should be creating criticals against an un-released version of PHP. I think it is great we've had forewarning of this and we should be testing occasionally (nightly) against the bleeding edge but PHP7 patch and branch testing should be against the latest released version.
Comment #15
cilefen commentedNevertheless, forget the workaround, but it seems sensible to test for all allowed credentials characters and null passwords. PathAliasTest has some more, probably better, characters. We could rescope this issue to just that.
@Mixologic How onerous would it be to switch to releases generally?
@alexpott: Because there will be fails, is this critical until CI is changed?
Comment #16
cilefen commentedI opened #2814933: PHP 7 test runs should be on released versions on CI.
Comment #17
cilefen commentedOn further consideration and discussion with alexpott, this needs to remain critical and be postponed on #2814933: PHP 7 test runs should be on released versions. We are unlikely to implement our own parse_url(). We may like more test coverage but the existing test caught this one.
Comment #18
alexpottHas this been fixed in PHP? It doesn't seem to be happening anymore?
Comment #19
cilefen commented@alexpott: It looks like they reverted it: https://github.com/php/php-src/commit/1c468ee044289661c8c4118a0653222596...
Comment #20
alexpottSo we can close this one. The issue about which PHP7 version we test on is still relevant.