Bug #60467 [Com]: About 107 auto test [phpt script] failed .
| From: | mi+php at aldan dot algebra dot com | Date: | Wed, 26 Jun 2013 16:30:07 +0000 |
| Subject: | Bug #60467 [Com]: About 107 auto test [phpt script] failed . | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-179848@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60467&edit=1
ID: 60467
Comment by: mi+php at aldan dot algebra dot com
Reported by: Jtang at suse dot com
Summary: About 107 auto test [phpt script] failed .
Status: Open
Type: Bug
Package: Testing related
Operating System: SLES 11 SP2
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
In the cases, where the errors are related to DateTime, the differences seem to have to do with
daylight-saving time. Note the EST vs. EDT differences in the lines reported by the test-failures:
DateTime_add-spring-type2-type3.diff
...
008+ test_time_spring_type2_st_type3_post: ADD: 2010-03-14 00:10:20 EST + P+0Y0M1DT18H49M39S =
**2010-03-15 18:59:59 EST**
009+ test_time_spring_type2_dt_type3_prev: ADD: 2010-03-14 03:16:55 EDT + P-0Y0M0DT7H38M27S =
**2010-03-13 19:38:28 EDT**
008- test_time_spring_type2_st_type3_post: ADD: 2010-03-14 00:10:20 EST + P+0Y0M1DT18H49M39S =
**2010-03-15 19:59:59 EDT**
009- test_time_spring_type2_dt_type3_prev: ADD: 2010-03-14 03:16:55 EDT + P-0Y0M0DT7H38M27S =
**2010-03-13 18:38:28 EST**
It is likely, the build-machine's TZ-definitions aren't up to date -- daylight savings
really did begin on March 14th in 2010:
http://www.timeanddate.com/time/dst/2010.html
Previous Comments:
------------------------------------------------------------------------
[2011-12-09 14:13:52] danielc@php.net
I'll deal with the ext/date/tests portions in the near future.
------------------------------------------------------------------------
[2011-12-08 03:34:59] Jtang at suse dot com
Description:
------------
I use the phpt file from php 5.3 tarball package for automation test.
11338 test file , 107 failed ,
in 107 failed :
# 33 test are expect as described in output
# 9 test have bug NO.
# 66 test is failed
66 test cases are:
./ext/calendar/tests/easter_date.phpt
./ext/calendar/tests/unixtojd.phpt
./ext/date/tests/DateTime_days-spring-type2-type2.phpt
./ext/date/tests/DateTime_days-spring-type2-type3.phpt
./ext/date/tests/DateTime_days-spring-type3-type2.phpt
./ext/date/tests/DateTime_days-spring-type3-type3.phpt
./ext/date/tests/DateTime_sub-dates.phpt
./ext/date/tests/DateTime_sub-february.phpt
./ext/date/tests/timezone_location_get.phpt
./ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
./ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
./ext/gmp/tests/gmp_nextprime.phpt
./ext/intl/tests/resourcebundle_arrayaccess.phpt
./ext/intl/tests/resourcebundle_individual.phpt
./ext/intl/tests/resourcebundle_iterator.phpt
./ext/mysql/tests/001.phpt
./ext/mysql/tests/mysql_connect.phpt
./ext/mysql/tests/mysql_max_links.phpt
./ext/mysql/tests/mysql_sql_safe_mode.phpt
./ext/mysqli/tests/mysqli_connect.phpt
./ext/mysqli/tests/mysqli_connect_oo.phpt
./ext/mysqli/tests/mysqli_connect_oo_defaults.phpt
./ext/pcre/tests/006.phpt
./ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
./ext/pdo_mysql/tests/pdo_mysql_interface.phpt
./ext/posix/tests/posix_ttyname_error.phpt
./ext/posix/tests/posix_ttyname_variation1.phpt
./ext/posix/tests/posix_ttyname_variation2.phpt
./ext/posix/tests/posix_ttyname_variation3.phpt
./ext/posix/tests/posix_ttyname_variation4.phpt
./ext/posix/tests/posix_ttyname_variation5.phpt
./ext/posix/tests/posix_ttyname_variation6.phpt
./ext/posix/tests/posix_ttyname_variation7.phpt
./ext/session/tests/014.phpt
./ext/session/tests/015.phpt
./ext/session/tests/018.phpt
./ext/session/tests/020.phpt
./ext/session/tests/021.phpt
./ext/session/tests/session_id_variation2.phpt
./ext/sockets/tests/socket_strerror.phpt
./ext/spl/examples/tests/dualiterator_001.phpt
./ext/sqlite/tests/sqlite_session_001.phpt
./ext/sqlite/tests/sqlite_session_002.phpt
./ext/sqlite3/tests/sqlite3_prepare_001.phpt
./ext/standard/tests/class_object/is_a_error_001.phpt
./ext/standard/tests/class_object/is_subclass_of_error_001.phpt
./ext/standard/tests/general_functions/getservbyname_variation10.phpt
./ext/standard/tests/general_functions/getservbyname_variation9.phpt
./ext/standard/tests/general_functions/getservbyport_variation1.phpt
./ext/standard/tests/general_functions/phpinfo.phpt
./ext/standard/tests/general_functions/proc_nice_variation5.phpt
./ext/standard/tests/misc/time_sleep_until_basic.phpt
./ext/standard/tests/php_ini_loaded_file.phpt
./ext/standard/tests/strings/htmlentities02.phpt
./ext/standard/tests/strings/htmlentities04.phpt
./ext/standard/tests/strings/htmlentities10.phpt
./ext/standard/tests/strings/htmlentities11.phpt
./ext/standard/tests/strings/htmlentities13.phpt
./ext/standard/tests/strings/htmlentities15.phpt
./ext/standard/tests/strings/setlocale_variation2.phpt
./ext/xsl/tests/xslt010.phpt
./ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
./ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt
./sapi/cli/tests/001.phpt
./sapi/cli/tests/015.phpt
Test script:
---------------
only one line script
env TEST_PHP_EXECUTABLE=/usr/bin/php REPORT_EXIT_STATUS=1
TEST_PHP_SRCDIR=/usr/share/qa/qa_test_php53 TEST_PHP_DETAILED=1 NO_INTERACTION=1 /usr/bin/php -d
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1'
/usr/share/qa/qa_test_php53/run-tests.php [phpt.file]
Expected result:
----------------
65 test cases should pass?
Actual result:
--------------
65 test cases failed
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60467&edit=1