[Bug 34965] New: New Testbot doesn't correctly sets the time for the VMs so e.g. winhttp is failing
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Nov 20 17:20:20 CST 2013
http://bugs.winehq.org/show_bug.cgi?id=34965
Bug #: 34965
Summary: New Testbot doesn't correctly sets the time for the
VMs so e.g. winhttp is failing
Product: Wine-Testbot
Version: unspecified
Platform: x86
URL: https://newtestbot.winehq.org/JobDetails.pl?Key=3484
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: nerv at dawncrow.de
CC: fgouget at codeweavers.com
Classification: Unclassified
winhttp tests a secure connection to google.com, but fails because the VM time
out of the certificates time range:
winhttp:winhttp start - -
winhttp.c:806: WINHTTP_CALLBACK_STATUS_FLAG_CERT_DATE_INVALID
winhttp.c:859: Test failed: failed to send request 12175
winhttp.c:870: ftStart Wednesday, November 06, 2013 2:00:40 PM
winhttp.c:874: ftExpiry Thursday, March 06, 2014 12:00:00 AM
winhttp.c:878: local Friday, October 25, 2013 9:23:32 AM
after hacking this into the tests before the skip:
size = sizeof(info);
ret = WinHttpQueryOption(req, WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT,
&info, &size );
ok(ret, "failed to retrieve certificate info %u\n", GetLastError());
{
SYSTEMTIME st;
char exdate[255], extime[255];
FileTimeToSystemTime( &info.ftStart, &st );
GetDateFormatA( LOCALE_USER_DEFAULT, DATE_LONGDATE, &st, NULL, exdate, 255 );
GetTimeFormatA( LOCALE_USER_DEFAULT, 0, &st, NULL, extime, 255 );
trace( "ftStart %s %s\n", exdate, extime );
FileTimeToSystemTime( &info.ftExpiry, &st );
GetDateFormatA( LOCALE_USER_DEFAULT, DATE_LONGDATE, &st, NULL, exdate, 255 );
GetTimeFormatA( LOCALE_USER_DEFAULT, 0, &st, NULL, extime, 255 );
trace( "ftExpiry %s %s\n", exdate, extime );
GetLocalTime(&st);
GetDateFormatA( LOCALE_USER_DEFAULT, DATE_LONGDATE, &st, NULL, exdate, 255 );
GetTimeFormatA( LOCALE_USER_DEFAULT, 0, &st, NULL, extime, 255 );
trace( "local %s %s\n", exdate, extime );
}
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list