'make test' failures
| From: | Jesse Williams | Date: | Fri, 14 Jan 2011 21:18:07 +0000 |
| Subject: | 'make test' failures | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-310772@lists.php.net to get a copy of this message | ||
I am attempting to compile php from source, because a couple of our developers require a new version
than what is packaged with our linux distribution (Oracle Enterprise Linux 5.3). The code
configures just fine and builds, but when I run the 'make test' command it fails with
something like this:
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 28
Exts tested : 51
---------------------------------------------------------------------
Number of tests : 9031 7604
Tests skipped : 1427 ( 15.8%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 36 ( 0.4%) ( 0.5%)
Expected fail : 5 ( 0.1%) ( 0.1%)
Tests passed : 7563 ( 83.7%) ( 99.5%)
---------------------------------------------------------------------
Time taken : 959 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
easter_date() [ext/calendar/tests/easter_date.phpt]
unixtojd() [ext/calendar/tests/unixtojd.phpt]
curl_setopt() basic parameter test [ext/curl/tests/curl_setopt_error.phpt]
timezone_abbreviations_list() tests [ext/date/tests/010.phpt]
Test DateTimeZone::listAbbreviations() function : basic functionality
[ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt]
Test DateTime::modify() function : usage variation - Passing unexpected values to first argument
$modify. [ext/date/tests/DateTime_modify_variation1.phpt]
Test date_modify() function : usage variation - Passing unexpected values to second argument
$format. [ext/date/tests/date_modify_variation2.phpt]
Test timezone_abbreviations_list() function : basic functionality
[ext/date/tests/timezone_abbreviations_list_basic1.phpt]
DOMDocument::$validateOnParse - effectual determination
(dom_document_validate_on_parse_read/dom_document_validate_on_parse_write)
[ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt]
Bug #43073 (TrueType bounding box is wrong for angle<>0) [ext/gd/tests/bug43073.phpt]
Bug #48801 (Problem with imagettfbbox) [ext/gd/tests/bug48801.phpt]
Test imagecolorallocate() function : usage variations - passing different data types to fourth
argument [ext/gd/tests/imagecolorallocate_variation4.phpt]
gmp_gcd() basic tests [ext/gmp/tests/021.phpt]
gmp_cmp() basic tests [ext/gmp/tests/026.phpt]
Feature Request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36)
[ext/gmp/tests/bug50283.phpt]
ldap_bind() - Basic anonymous binding [ext/ldap/tests/ldap_bind_basic.phpt]
ldap_bind() - Advanced binding [ext/ldap/tests/ldap_bind_variation.phpt]
ldap_sasl_bind() - Basic anonymous binding [ext/ldap/tests/ldap_sasl_bind_basic.phpt]
ldap_search() - operation that should fail [ext/ldap/tests/ldap_search_error.phpt]
ldap_start_tls() - Basic ldap_start_tls test [ext/ldap/tests/ldap_start_tls_basic.phpt]
Bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
[ext/pdo_mysql/tests/bug41125.phpt]
Bug #44327 (PDORow::queryString property & numeric offsets / Crash)
[ext/pdo_mysql/tests/bug44327.phpt]
Test session_encode() function : error functionality [ext/session/tests/session_encode_error2.phpt]
SimpleXML: XPath [ext/simplexml/tests/008.phpt]
SPL: DirectoryIterator test getGroup [ext/spl/tests/DirectoryIterator_getGroup_basic.phpt]
SPL: Spl Directory Iterator test getOwner [ext/spl/tests/DirectoryIterator_getOwner_basic.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
[ext/standard/tests/strings/htmlentities02.phpt]
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt]
htmlentities() test 10 (default_charset / cp1252) [ext/standard/tests/strings/htmlentities10.phpt]
htmlentities() test 11 (default_charset / ISO-8859-15)
[ext/standard/tests/strings/htmlentities11.phpt]
htmlentities() test 13 (default_charset / EUC-JP) [ext/standard/tests/strings/htmlentities13.phpt]
htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt]
sysvmsg functions on non-existing queue [ext/sysvmsg/tests/005.phpt]
msg_send() data types when not serializing [ext/sysvmsg/tests/006.phpt]
Bug #42189 (xmlrpc_get_type() crashes PHP on invalid dates) [ext/xmlrpc/tests/bug42189.phpt]
Bug #51288 (CVE-2010-0397, NULL pointer deref when no <methodName> in request)
[ext/xmlrpc/tests/bug51288.phpt]
=====================================================================
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
output buffering - fatalism [tests/output/ob_011.phpt]
ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush()
[tests/output/ob_start_basic_unerasable_005.phpt]
Bug #42718 (unsafe_raw filter not applied when configured as default filter)
[ext/filter/tests/bug42718.phpt]
SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store.
[ext/spl/tests/arrayObject_exchangeArray_basic3.phpt]
Bug #39863 (file_exists() silently truncates after a null byte)
[ext/standard/tests/file/bug39863.phpt]
=====================================================================
You may have found a problem in PHP.
=====================================================================
I have compiled multiple different times, tried different 'configure' options and tried
compiling on different machines. I've even tried different versions (5.2.14, 5.2.17, and
5.3.5). Everytime I get some level of errors from 'make test'. As such I'm starting
to wonder if it is normal for a certain number to tests fail, or is something going wrong with my
build somewhere?
I appreciate any insight you can offer.
Thanks!