# PHP CLI webserver test failures

- Thread: https://externals.io/message/56350
- Original archive: https://news-web.php.net/php.internals/56350
- Started by Christopher Jones on 2011-11-16T19:41:27+00:00
- Messages: 10
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #56350 — Christopher Jones — 2011-11-16T19:41:27+00:00

URL: https://externals.io/message/56350#56350

Hi Laruence,

Is there anyway to make the PHP CLI webserver tests more resilient?
They are failing on gcov.php.net and are high on the list of user test reports:

http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests
http://qa.php.net/reports/?version=5.4.0RC2-dev

Chris

-- 
Email: christopher.jones@oracle.com
Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

---

## #56351 — Klaus Silveira — 2011-11-16T20:15:13+00:00

URL: https://externals.io/message/56350#56351 · In reply to: #56350

I'll try to help Laruence improve the test coverage. If you guys have any
suggestion for test starting point, let me know.

On Wed, Nov 16, 2011 at 5:41 PM, Christopher Jones <
christopher.jones@oracle.com> wrote:

> Hi Laruence,
>
> Is there anyway to make the PHP CLI webserver tests more resilient?
> They are failing on gcov.php.net and are high on the list of user test
> reports:
>
> http://gcov.php.net/viewer.**php?version=PHP_HEAD&func=**tests<http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests>
> http://qa.php.net/reports/?**version=5.4.0RC2-dev<http://qa.php.net/reports/?version=5.4.0RC2-dev>
>
> Chris
>
> --
> Email: christopher.jones@oracle.com
> Tel:  +1 650 506 8630
> Blog:  http://blogs.oracle.com/opal/

---

## #56352 — Ferenc Kovacs — 2011-11-16T20:21:05+00:00

URL: https://externals.io/message/56350#56352 · In reply to: #56351

\o/
You could also ask Alex Shein, he was "volunteered" to update the http
tests to use our new embedded developer server instead.

On Wed, Nov 16, 2011 at 9:15 PM, Klaus Silveira <klaussilveira@php.net>wrote:

> I'll try to help Laruence improve the test coverage. If you guys have any
> suggestion for test starting point, let me know.
>
> On Wed, Nov 16, 2011 at 5:41 PM, Christopher Jones <
> christopher.jones@oracle.com> wrote:
>
> > […]
> http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests>
> > […]
> http://qa.php.net/reports/?version=5.4.0RC2-dev>
> > […]
>



-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #56353 — Alexey Shein — 2011-11-16T20:31:12+00:00

URL: https://externals.io/message/56350#56353 · In reply to: #56352

2011/11/17 Ferenc Kovacs <tyra3l@gmail.com>:
> \o/
> You could also ask Alex Shein, he was "volunteered" to update the http tests
> to use our new embedded developer server instead.
>

Hi, I'm still into that, but unfortunately is very busy at work :(
server-tests.php is a big outdated mess, and I still want to write my
own phpt parser from scratch.
Klaus, if you wanna help, you'd better to fix failing cli server tests
before improving code coverage.

> On Wed, Nov 16, 2011 at 9:15 PM, Klaus Silveira <klaussilveira@php.net>
> wrote:
> > […]
>
>
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu
>



-- 
Regards,
Shein Alexey

---

## #56354 — Ferenc Kovacs — 2011-11-16T20:41:34+00:00

URL: https://externals.io/message/56350#56354 · In reply to: #56353

> 2011/11/17 Ferenc Kovacs <tyra3l@gmail.com>:
> > […]
> tests
> > […]
>
> Hi, I'm still into that, but unfortunately is very busy at work :(
> server-tests.php is a big outdated mess, and I still want to write my
> own phpt parser from scratch.
>

I would be also interested that (for run-tests.php), so if you have
anything ping me
Did you check the wiki about that? There are ideas laying around there, and
there were even a effort to rewrite run-tests.php:
https://wiki.php.net/qa/runtests/documentation
phpruntests seems to had a better OOPish architechture, and it seems that
it supported parallel test execution.

I think that it would be a good think to first document the current
behavior, use cases, and create a decoupled toolchain for running the
testsuite.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #56355 — Alexey Shein — 2011-11-16T21:09:08+00:00

URL: https://externals.io/message/56350#56355 · In reply to: #56354

2011/11/17 Ferenc Kovacs <tyra3l@gmail.com>:
>
>
> 
> > […]
>
>
> I would be also interested that (for run-tests.php), so if you have anything
> ping me
> Did you check the wiki about that? There are ideas laying around there, and
> there were even a effort to rewrite run-tests.php:
> https://wiki.php.net/qa/runtests/documentation

Hm, nice catch, will definitely check that out.
I was only refering to phpt spec here:  http://qa.php.net/phpt_details.php

> phpruntests seems to had a better OOPish architechture, and it seems that it
> supported parallel test execution.

Is there any code to see? Or just architecture in the wiki?

> I think that it would be a good think to first document the current
> behavior, use cases, and create a decoupled toolchain for running the
> testsuite.
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu
>



-- 
Regards,
Shein Alexey

---

## #56356 — Ferenc Kovacs — 2011-11-16T21:18:33+00:00

URL: https://externals.io/message/56350#56356 · In reply to: #56355

> 2011/11/17 Ferenc Kovacs <tyra3l@gmail.com>:
> > […]
> anything
> > […]
> and
> > […]
>
> Hm, nice catch, will definitely check that out.
> I was only refering to phpt spec here:  http://qa.php.net/phpt_details.php
>
> > […]
> that it
> > […]
>
> Is there any code to see? Or just architecture in the wiki?
>
>
http://svn.php.net/viewvc/php/phpruntests/trunk/src/taskScheduler/

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #56357 — Christopher Jones — 2011-11-16T21:21:33+00:00

URL: https://externals.io/message/56350#56357 · In reply to: #56355

> 2011/11/17 Ferenc Kovacs<tyra3l@gmail.com>:
> > […]
>
> Hm, nice catch, will definitely check that out.
> I was only refering to phpt spec here:  http://qa.php.net/phpt_details.php
>
> > […]
>
> Is there any code to see? Or just architecture in the wiki?

http://svn.php.net/viewvc/php/phpruntests/trunk/

For some background, there might be some posts on Zoe's blog e.g: http://zoomsplatter.blogspot.com/2009/07/on-no-not-more-tests.html

Chris

-- 
Email: christopher.jones@oracle.com
Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

---

## #56358 — Alexey Shein — 2011-11-16T21:37:17+00:00

URL: https://externals.io/message/56350#56358 · In reply to: #56357

2011/11/17 Christopher Jones <christopher.jones@oracle.com>:
>
>
> 
> > […]
>
> http://svn.php.net/viewvc/php/phpruntests/trunk/
>
> For some background, there might be some posts on Zoe's blog e.g:
> http://zoomsplatter.blogspot.com/2009/07/on-no-not-more-tests.html
>

Thanks.

> Chris
>
> --
> Email: christopher.jones@oracle.com
> Tel:  +1 650 506 8630
> Blog:  http://blogs.oracle.com/opal/
>



-- 
Regards,
Shein Alexey

---

## #56359 — Laruence — 2011-11-17T02:06:55+00:00

URL: https://externals.io/message/56350#56359 · In reply to: #56350

Hi:
    thanks, I will look at it,
    the cli sever test all failed in trunk, but parts in branch

    maybe due to the port competing.

thanks

On Thu, Nov 17, 2011 at 3:41 AM, Christopher Jones
<christopher.jones@oracle.com> wrote:
> Hi Laruence,
>
> Is there anyway to make the PHP CLI webserver tests more resilient?
> They are failing on gcov.php.net and are high on the list of user test
> reports:
>
> http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests
> http://qa.php.net/reports/?version=5.4.0RC2-dev
>
> Chris
>
> --
> Email: christopher.jones@oracle.com
> Tel:  +1 650 506 8630
> Blog:  http://blogs.oracle.com/opal/
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/
