{"action":"created","issue":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/3359","repository_url":"https://api.github.com/repos/mapnik/mapnik","labels_url":"https://api.github.com/repos/mapnik/mapnik/issues/3359/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/mapnik/issues/3359/comments","events_url":"https://api.github.com/repos/mapnik/mapnik/issues/3359/events","html_url":"https://github.com/mapnik/mapnik/issues/3359","id":140334595,"number":3359,"title":"Windows unit test failures","user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-12T02:04:26Z","updated_at":"2016-03-14T16:37:29Z","closed_at":null,"body":"I've got the windows builds working again on appveyor as of this afternoon. Now we are actually getting to the test runs but I'm seeing failures:\r\n\r\n\r\n```\r\ncsv\r\n  broken files\r\n-------------------------------------------------------------------------------\r\n..\\..\\test\\unit\\datasource\\csv.cpp(84)\r\n...............................................................................\r\n \r\n..\\..\\test\\unit\\datasource\\csv.cpp(153): FAILED:\r\n  REQUIRE_THROWS( get_csv_ds(path) )\r\nbecause no exception was thrown where one was expected:\r\n  test/data/csv/warns\\feature_id_counting.csv\r\n \r\nCompleted in 0.228424s\r\ncsv completed in 0s\r\n-------------------------------------------------------------------------------\r\ncsv\r\n  good files\r\n-------------------------------------------------------------------------------\r\n..\\..\\test\\unit\\datasource\\csv.cpp(84)\r\n...............................................................................\r\n \r\n..\\..\\test\\unit\\datasource\\csv.cpp(193): FAILED:\r\n  CHECK( mapnik::util::exists(path + \".index\") )\r\nwith expansion:\r\n  false\r\nwith messages:\r\n  0\r\n  0\r\n \r\nCompleted in 40.5926s\r\ncsv\r\n  creation of CSV from in-memory strings\r\n-------------------------------------------------------------------------------\r\n..\\..\\test\\unit\\datasource\\csv.cpp(84)\r\n...............................................................................\r\n \r\n..\\..\\test\\unit\\datasource\\csv.cpp(879): FAILED:\r\n  CHECK( feature->get(\"Name\") == ustring(name.c_str()) )\r\nwith expansion:\r\n  Québec == {?}\r\n \r\nCompleted in 0.000793s\r\n\r\nimage io\r\n  image_util : save_to_file/save_to_stream/save_to_string\r\n-------------------------------------------------------------------------------\r\n..\\..\\test\\unit\\imaging\\image_io_test.cpp(19)\r\n...............................................................................\r\n \r\n..\\..\\test\\unit\\imaging\\image_io_test.cpp(121): FAILED:\r\ndue to unexpected exception with message:\r\n  Could not write file to /tmp/mapnik-lightblue.png\r\n \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/comments/196401820","html_url":"https://github.com/mapnik/mapnik/issues/3359#issuecomment-196401820","issue_url":"https://api.github.com/repos/mapnik/mapnik/issues/3359","id":196401820,"user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T16:37:29Z","updated_at":"2016-03-14T16:37:29Z","body":"> Is there some clean up going on after successful tests?\r\n\r\nNot that I'm aware (because we write to /tmp we assume that gets cleaned up occasionally by the OS) - so perhaps locally you are accumulating a lot of failure data. Perhaps we could manually clear at the start of a new run or we could start using an official temp directory on windows: http://www.boost.org/doc/libs/1_46_0/libs/filesystem/v3/doc/reference.html#temp_directory_path"}}