You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already reported #18. The hope was that running with DCI_INSTALLER="drush" rather than DCI_INSTALLER="none" would at least solve the fatals, and hopefully would also write a report successfully.
[cut away hundreds of repetitions; the terminal is configured to a fairly small history, which prevents me from seeing more.]
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
Notice: Undefined offset: 1 in /var/www/core/scripts/run-tests.sh on line 941
real 2387.72
user 0.04
sys 0.05
Saving image build_2014_09_19_090858 at Fri Sep 19 09:48:46 UTC 2014:
3418a04d5fa8b91e0efc27dcd10e9163021b0d1a74587c45dd6c438e688a410b
------------------------------------------------------------------------------
Results directory: /home/testbot/testbotdata/build_2014_09_19_090858/results/
Clean up old Builds on /home/testbot/testbotdata to save disk space
------------------------------------------------------------------------------
Docker run command:
/usr/bin/time -p docker run --link=drupaltestbot-db-mysql-5.5:db --name=build_2014_09_19_090858 -v=/home/testbot/testbotdata/build_2014_09_19_090858/:/var/workspace:rw -v=/home/testbot/testbotdata/build_2014_09_19_090858/:/var/www:rw -p 80 -t drupalci/web-5.5
/**
* Display jUnit XML test results.
*/
function simpletest_script_reporter_write_xml_results() {
global $args, $test_ids, $results_map;
$results = Database::getConnection('default', 'test-runner')
->query("SELECT * FROM {simpletest} WHERE test_id IN (:test_ids) ORDER BY test_class, message_id", array(
':test_ids' => $test_ids,
));
$test_class = '';
$xml_files = array();
foreach ($results as $result) {
if (isset($results_map[$result->status])) {
if ($result->test_class != $test_class) {
// We've moved onto a new class, so write the last classes results to a file:
if (isset($xml_files[$test_class])) {
file_put_contents($args['xml'] . '/' . $test_class . '.xml', $xml_files[$test_class]['doc']->saveXML());
unset($xml_files[$test_class]);
}
$test_class = $result->test_class;
if (!isset($xml_files[$test_class])) {
$doc = new DomDocument('1.0');
$root = $doc->createElement('testsuite');
$root = $doc->appendChild($root);
$xml_files[$test_class] = array('doc' => $doc, 'suite' => $root);
}
}
// For convenience:
$dom_document = &$xml_files[$test_class]['doc'];
// Create the XML element for this test case:
$case = $dom_document->createElement('testcase');
$case->setAttribute('classname', $test_class);
list($class, $name) = explode('->', $result->function, 2);
$case->setAttribute('name', $name);
…
The text was updated successfully, but these errors were encountered:
I already reported #18. The hope was that running with
DCI_INSTALLER="drush"
rather thanDCI_INSTALLER="none"
would at least solve the fatals, and hopefully would also write a report successfully.Sadly it doesn't. :(
Command:
The output:
Line 941 is:
This is part of the XML report writing code:
The text was updated successfully, but these errors were encountered: