Skip to content

Test V8::executeString() : Check timezone handling fail #368

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
gempir opened this issue Jul 20, 2018 · 1 comment
Closed

Test V8::executeString() : Check timezone handling fail #368

gempir opened this issue Jul 20, 2018 · 1 comment

Comments

@gempir
Copy link

gempir commented Jul 20, 2018

I'm running into an issue with V8JS. I've compiled V8 from scratch with the latest release.
As described here: https://github.com/phpv8/v8js/blob/php7/README.Linux.md

Since I'm on Debian Stretch I followed the instructions with patchelf too.

Then I compiled V8JS it. And Ran the tests.
Test V8::executeString() : Check timezone handling [tests/timezones.phpt]

This test failed. I'm not sure why.

I've been running this on a local vagrant machine on my mac with High Sierra if that's relevant.

Unsetting the default.timzone in my php.ini did not help
Setting the path to the icudtl.dat in the php.ini didn't help either. Although it shouldn't be necessary anyway since it's next to the libv8.so in /opt/v8/lib

Here is some of the test summary:

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   16
---------------------------------------------------------------------

Number of tests :  173               172
Tests skipped   :    1 (  0.6%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  0.6%) (  0.6%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :  171 ( 98.8%) ( 99.4%)
---------------------------------------------------------------------
Time taken      :   10 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test V8::executeString() : Check timezone handling [tests/timezones.phpt]
=====================================================================


================================================================================
/tmp/v8js/tests/timezones.phpt
================================================================================
Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
===EOF===
================================================================================
001+ Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
002+ Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
003+ Thu Mar 20 2014 11:03:24 GMT+0200 (Eastern European Standard Time)
001- Thu Mar 20 2014 11:03:24 GMT+0200 (EET)
002- Thu Mar 20 2014 05:03:24 GMT-0400 (EDT)
003- Thu Mar 20 2014 11:03:24 GMT+0200 (EET)
================================================================================




================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Linux - Linux dev.moebel-vergleich.de 4.9.0-7-amd64 #1 SMP Debian 4.9.110-1 (2018-07-05) x86_64

System Information:
Debian Stretch
Kernel: 4.9.0-7-amd64
V8: 6.9.454 and 6.4.388.18 (tried both)
PHP: PHP 7.1.19
V8JS Version: Latest master (commit: 18b79d9) also tried 2.0.0

UPDATE

I just repeated this with a completly different system. Based on Debian Jessie (And not Vagrant). I'm getting the exact same error.

@gempir gempir changed the title PHP-FPM SIGKILL (502 Bad Gateway in Nginx) PHP-FPM SIGKILL / Test V8::executeString() : Check timezone handling fail Jul 20, 2018
@gempir gempir changed the title PHP-FPM SIGKILL / Test V8::executeString() : Check timezone handling fail Test V8::executeString() : Check timezone handling fail Jul 20, 2018
@gempir
Copy link
Author

gempir commented Jul 20, 2018

I recompiled 6.5.143 of V8 which makes v8js tests work! Not Sure whats the issue with newer versions?

Edit: I'll close this issue now since I have no more issues (the previous issue i noted here was related to an import of babel-polyfill)

@gempir gempir closed this as completed Jul 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant