Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Aug 2010 at 10:39 UTC
Updated:
30 Mar 2011 at 12:30 UTC
Jump to comment: Most recent file
Here is the list of tests failing on Windows/MySQL this morning:
Import feeds from OPML functionality 53 passes, 0 fails, and 6 exceptions
Color functionality 61 passes, 0 fails, and 6 exceptions
File field display tests 20 passes, 0 fails, and 6 exceptions
File field file path tests 23 passes, 0 fails, and 6 exceptions
File field revision test 67 passes, 0 fails, and 6 exceptions
File field widget test 61 passes, 0 fails, and 6 exceptions
File token replacement 35 passes, 0 fails, and 6 exceptions
File field validation tests 102 passes, 0 fails, and 18 exceptions
File copying 106 passes, 0 fails, and 18 exceptions
File download 26 passes, 7 fails, and 9 exceptions
File paths and directories 18 passes, 2 fails, and 8 exceptions
File moving 105 passes, 0 fails, and 18 exceptions
File save data 88 passes, 0 fails, and 24 exceptions
Unmanaged file save data 7 passes, 1 fail, and 6 exceptions
Unmanaged file copying 27 passes, 4 fails, and 12 exceptions
Unmanaged file moving 20 passes, 2 fails, and 12 exceptions
File uploading 221 passes, 42 fails, and 76 exceptions
Image field validation tests 16 passes, 2 fails, and 8 exceptions
Image field display tests 81 passes, 0 fails, and 19 exceptions
Image styles and effects UI configuration 167 passes, 0 fails, and 12 exceptions
Image effects 33 passes, 0 fails, and 36 exceptions
Locale uninstall (FR) 31 passes, 0 fails, and 6 exceptions
Locale uninstall (EN) 31 passes, 0 fails, and 6 exceptions
Image toolkit tests 44 passes, 0 fails, and 54 exceptions
String translate, search and validate 250 passes, 0 fails, and 6 exceptions
FATAL ModuleUninstallTestCase: test runner returned a non-zero error code (255).
Path alias functionality 92 passes, 5 fails, and 0 exceptions
OpenID discovery and login 225 passes, 4 fails, and 0 exceptions
Menu router 157 passes, 1 fail, and 0 exceptions
RDF comment mapping 201 passes, 3 fails, and 0 exceptions
RDFa markup 21 passes, 0 fails, and 6 exceptions
Session https handling 59 passes, 5 fails, and 0 exceptions
Top visitor blocking 43 passes, 1 fail, and 0 exceptions
Cron run 45 passes, 0 fails, and 6 exceptions
Drupal HTTP request 27 passes, 0 fails, and 2 exceptions
Registry parse files test 6 passes, 0 fails, and 6 exceptions
HTTP file retrieval 1 pass, 6 fails, and 0 exceptions
Theme interface functionality 66 passes, 0 fails, and 7 exceptions
Upload and extract module functionality 18 passes, 0 fails, and 6 exceptions
Upload user picture 70 passes, 6 fails, and 34 exceptions
Test run duration: 1 hour 21 min
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | windows_tests_01.patch | 841 bytes | cwgordon7 |
Comments
Comment #3
cwgordon7 commentedA good portion of these fails are due to exceptions from the failure to delete files at the end of the test. This patch fixes that, not sure how acceptable the code is though, it's kind of kludgy. May I suggest that we break any remaining issues out into several issues instead of one giant issue?
Comment #5
cwgordon7 commentedActually, that was fixed with http://drupal.org/node/443286, heh. So a lot of those tests now pass on HEAD. Updated results would be nice, then we can split out into multiple issues, leaving this here to track them.
Comment #6
damien tournoud commentedHere is the updated list, from today:
Comment #7
theflowimmemorial commentedTesting this as part of Core Dev Summit at Drupalcon.
Comment #8
clemens.tolboomFor the path test we get an 403 when requesting on windows apache
This alias contains windows character not allowed within file system names
\/:*?"<>|- the ? / are handled nicely by apache
Comment #9
theflowimmemorial commentedThis fails in drupal_http_request. When requesting a "localhost" URL stream_socket_client will time out when attempting to retrieve the file (with error number 10060). This works instead when the base URL is 127.0.0.1.
Comment #10
theflowimmemorial commentedI couldn't reproduce this on Windows 7, Apache and PHP 5.2.9.
Comment #11
theflowimmemorial commentedAll tests on my machine passed with this. Windows 7, Apache, PHP 5.2.9.
Output from tests:
Perhaps HTTPS wasn't enabled on the orgininal test system?
Comment #12
theflowimmemorial commentedWe checked out the OpenID failures as well. It looks like it's related to the failure in #9. Chaning localhost to 127.0.0.1 causes the failining tests to pass.
Comment #13
clemens.tolboomMicrosoft provide a VM which unfortunately failed to run the test suite due to not having a Clean URL setup. See http://drupal.org/node/3854 at least we thought. But it was a views test file not finding it's test class.
This machine meets the oral configuration setup "Win 7 / IIS / PHP 5.3"
We definitely need specs for how to test.
Comment #14
clemens.tolboomI got the VM Drupal site running the test suite. But there was an error regarding "Unlink" and "rmdir"
When cleaning up the test. Not sure whether this is an old issue. Not sure how to update drupal easy.
Installing drush and run it gives
Remember we are running MS SQL Server on this VM
Installing http://getgnuwin32.sourceforge.net/ now to get wget, curl etc in place.
[edit] The process for updating drupal seems quite arcane. I failed to do so. I wrecked the installed drupal site on the VM :(
Comment #15
theflowimmemorial commentedI made a couple seperate tickets for a couple of the above issues:
http://drupal.org/node/892140
http://drupal.org/node/892110
Comment #16
sun.core commentedI'm pretty sure we have a dedicated issue for those failing File API tests on Windows in the queue.
Aside from that, failing tests on a certain platform may be annoying but not major.
Comment #17
damien tournoud commentedThis is actually a duplicate of #1003524: Meta issue: fix the remaining test failures on Windows. Cleaning-up.