Describe the bug
It's looking like some recently added email tests cause the test reporters to fail. More specifically, simplexml can't load the junit.xml report:
[ ... ]
Getting SVN Revision
Getting SVN message
Copying junit.xml results
rsync -r '/var/www/wordpress'/tests/phpunit/build/logs/* '/var/www/wordpress'
Processing and uploading junit.xml
PHP Warning: simplexml_load_string(): Entity: line 9474: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0x80 0x62 0x40 0x65 in /var/www/phpunit/functions.php on line 211
PHP Warning: simplexml_load_string(): name="test_returns_false_if_given_an_invalid_email_address with data set "a in /var/www/phpunit/functions.php on line 211
PHP Warning: simplexml_load_string(): ^ in /var/www/phpunit/functions.php on line 211
PHP Warning: Attempt to read property "testsuite" on false in /var/www/phpunit/functions.php on line 213
PHP Warning: Trying to access array offset on null in /var/www/phpunit/functions.php on line 217
PHP Warning: Trying to access array offset on null in /var/www/phpunit/functions.php on line 218
PHP Warning: Trying to access array offset on null in /var/www/phpunit/functions.php on line 219
PHP Warning: Trying to access array offset on null in /var/www/phpunit/functions.php on line 220
PHP Fatal error: Uncaught Error: Call to a member function xpath() on false in /var/www/phpunit/functions.php:225
Stack trace:
#0 /var/www/phpunit/report.php(97): process_junit_xml()
#1 {main}
thrown in /var/www/phpunit/functions.php on line 225
To Reproduce
Steps to reproduce the behavior:
- Run the host tests which will pass
- Attempt to report back results, which loads junit.xml
- Notice failure
Expected behavior
No failures, host tests report back successfully.
Screenshots
N/A
Additional context
Actual junit.xml.gz report is here for reference: junit.xml.gz
Describe the bug
It's looking like some recently added email tests cause the test reporters to fail. More specifically, simplexml can't load the junit.xml report:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No failures, host tests report back successfully.
Screenshots
N/A
Additional context
Actual
junit.xml.gzreport is here for reference: junit.xml.gz