[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Manual test of automated GUI test
From: |
Greg Chicares |
Subject: |
[lmi] Manual test of automated GUI test |
Date: |
Sat, 18 Oct 2014 22:44:58 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
I've built lmi with all the latest GUI-testing patches, using a
wx snapshot as of 2014-10-18T16:40Z. It seemed like a good idea
to start with deliberate mischief, so I did this:
./wx_test.exe --data_path=/opt/lmi/data
without a command-line argument to suppress the automatic
"Help | About" dialog--remembering that running the last version
this way caused an unanticipated problem.
[Others could easily do this by accident, so would it make sense
to forestall it...e.g., by issuing an 'Esc' keypress before doing
anything else in the GUI test, if that's possible?]
Anyway, I ran the new version this way, and saw this messagebox:
Programming error
A document created during unattended test hasn't been closed, please report
this.
Here are the contents of the "Log Messages" window:
22:37:38: Starting automatic tests:
22:37:39: about_dialog_version: ERROR (Assertion failure: Expected wxDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: Error: can't open file 'wx_test.conf' (error 2: the system cannot
find the file specified.)
22:37:39: benchmark_census: ERROR (Assertion failure: can't read from
closed file [file ../src/common/ffile.cpp, line 128, in Read()].)
22:37:39: calculation_summary: ERROR (Assertion failure: Expected wxDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: configurable_settings: ERROR (Assertion
'fs::exists("/etc/opt/lmi/configurable_settings.xml")' failed. [file
/lmi/src/lmi/wx_test_config_settings.cpp, line 37] )
22:37:39: create_open_census: ERROR (Assertion failure: Expected
wxFileDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_database: ERROR (Assertion failure: Expected
wxFileDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_gpt: ERROR (Assertion failure: Expected wxDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: create_open_illustration: ERROR (Assertion failure: Expected
wxDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_mec: ERROR (Assertion failure: Expected wxDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: create_open_policy: ERROR (Assertion failure: Expected
wxFileDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_rounding: ERROR (Assertion failure: Expected
wxFileDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_strata: ERROR (Assertion failure: Expected
wxFileDialog dialog was not shown. [file
/opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in ReportFailure()].)
22:37:39: create_open_text: ERROR (Assertion failure: Expected wxFileDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: default_input: ERROR (Assertion '(effective_date) ==
(first_of_month)' failed (expected 2456932 vs observed 2456949). [file
/lmi/src/lmi/wx_test_default_input.cpp, line 44] )
22:37:39: default_update: ERROR (Assertion failure: Expected wxDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: expiry_dates: ERROR (Assertion '(end) == (end_of_month)' failed
(expected 2450480 vs observed 2458849). [file
/lmi/src/lmi/wx_test_expiry_dates.cpp, line 77] )
22:37:39: extract: ERROR (Assertion failure: Expected wxFileDialog dialog
was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line 315, in
ReportFailure()].)
22:37:39: input_sequences: ERROR (Assertion failure: Expected wxFileDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
22:37:39: input_validation: ERROR (Assertion failure: Expected wxFileDialog
dialog was not shown. [file /opt/lmi/local/include/wx-3.1/wx/testing.h, line
315, in ReportFailure()].)
When I clicked "OK", it crashed; JIT debugger report follows.
wx_test.exe caused an Access Violation at location ffffffff Reading from
location ffffffff.
Registers:
eax=ffffffff ebx=0022f680 ecx=0022f680 edx=02788280 esi=0022f228 edi=00000011
eip=ffffffff esp=0022f1cc ebp=0022f2a8 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
Call stack:
AddrPC AddrReturn AddrFrame AddrStack Params
FFFFFFFF 6B64683D 0022F1C8 0022F1CC 02788280 00000578 6C0B9EB0
00000001
FFFFFFFF
6B64683D 6B3310A1 0022F2A8 0022F1CC 0022F680 0022F420 6BFAAF14
000001F2
6B64683D
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B64683DC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxWindowBaseD2Ev
6B3310A1 6B29D467 0022F478 0022F1CC 0022F680 0022F504 0022F558
6B62EEF8
6B3310A1
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B3310A1C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN8wxWindowD2Ev
6B29D467 6B62EEF8 0022F488 0022F1CC 0022F680 0000000D 0022F4C8
00BCBF28
6B29D467
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B29D467C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN16wxNonOwnedWindowD2Ev
6B62EEF8 6B2F6762 0022F558 0022F1CC 0022F680 027882AC 0278858C
0278858C
6B62EEF8
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B62EEF8C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN20wxTopLevelWindowBaseD2Ev
6B2F6762 6B394085 0022F5B8 0022F1CC 0022F680 00000000 7E4193A8
0022F640
6B2F6762
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B2F6762C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN19wxTopLevelWindowMSWD2Ev
6B394085 00A911D8 0022F618 0022F1CC 0022F680 00B261B3 0022F858
00B26198
6B394085
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B394085C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN8wxDialogD2Ev
00A911D8 00B26198 0022F628 0022F1CC 0022F680 02775708 0022F7DC
00000001
00A911D8 skeleton.dll:00A911D8C:\opt\lmi\bin\skeleton.dll: No symbol found
_ZN11AboutDialogD1Ev
00B26198 6AF03ADE 0022F858 0022F1CC 025D2328 02778AE0 00B260F0
00000000
00B26198 skeleton.dll:00B26198C:\opt\lmi\bin\skeleton.dll: No symbol found
_ZN8Skeleton9UponAboutER14wxCommandEvent
6AF03ADE 6B142C9E 0022F888 0022F1CC 025D2328 025D2328 025C8A28
02778AE0
6AF03ADE
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF03ADEC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZNK16wxAppConsoleBase16CallEventHandlerEP12wxEvtHandlerR14wxEventFunctorR7wxEvent
6B142C9E 6B148AF3 0022F8B8 0022F1CC 00C23FFC 025D2328 02778AE0
0277C610
6B142C9E
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B142C9EC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent
6B148AF3 6B148B5E 0022F8E8 0022F1CC 00C24218 02778AE0 025D2328
6AF03ADE
6B148AF3
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B148AF3C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6B148B5E 6B148BFC 0022F908 0022F1CC 025D2328 02778AE0 00000000
02775708
6B148B5E
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B148B5EC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler11TryHereOnlyER7wxEvent
6B148BFC 6B148C95 0022F928 0022F1CC 025D2328 02778AE0 025BB890
02778AE0
6B148BFC
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B148BFCC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent
6B148C95 6B142FFE 0022F958 0022F1CC 025D2328 02778AE0 0022F988
6B14307A
6B148C95
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B148C95C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler12ProcessEventER7wxEvent
6B142FFE 6B14307A 0022F968 0022F1CC 02775708 02778AE0 02778AE0
00000000
6B142FFE
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B142FFEC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler8DoTryAppER7wxEvent
6B14307A 6B6419D0 0022F988 0022F1CC 02775708 02778AE0 0022F9E8
6B14376C
6B14307A
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B14307AC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler8TryAfterER7wxEvent
6B6419D0 6B148CFB 0022FA28 0022F1CC 02775708 02778AE0 0022FA58
6BF15AB1
6B6419D0
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B6419D0C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxWindowBase8TryAfterER7wxEvent
6B148CFB 6B145AF0 0022FA58 0022F1CC 02775708 02778AE0 7E42B326
00000000
6B148CFB
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B148CFBC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler12ProcessEventER7wxEvent
6B145AF0 6AF1014A 0022FCB8 0022F1CC 02775708 00000000 00000000
00000000
6B145AF0
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6B145AF0C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN12wxEvtHandler20ProcessPendingEventsEv
6AF1014A 6AF554BF 0022FCF8 0022F1CC 025D2328 025CC868 0022FD78
6AF55583
6AF1014A
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF1014AC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN16wxAppConsoleBase20ProcessPendingEventsEv
6AF554BF 6AF55583 0022FD08 0022F1CC 0277CBA8 77C12088 FFFFFFFF
77C2C3CE
6AF554BF
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF554BFC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN17wxEventLoopManual13ProcessEventsEv
6AF55583 6AF5581A 0022FD78 0022F1CC 0277CBA8 0277CBA8 0022FD98
6B0D9312
6AF55583
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF55583C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN17wxEventLoopManual5DoRunEv
6AF5581A 6AF0B896 0022FE28 0022F1CC 0277CBA8 02776C30 00407260
00000000
6AF5581A
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF5581AC:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN15wxEventLoopBase3RunEv
6AF0B896 6AFD5C80 0022FEB8 0022F1CC 025D2328 025D2ED0 00000000
00000000
6AF0B896
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AF0B896C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_ZN16wxAppConsoleBase8MainLoopEv
6AFD5C80 00404778 0022FF48 0022F1CC 6C0B9D9C 025D2ED0 025CC868
00404727
6AFD5C80
wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:6AFD5C80C:\opt\lmi\local\lib\wxmsw310u_gcc_gcc-345-33bad8a7c715e635a3db610b9586319f.dll:
No symbol found
_Z12wxInitializev
00404778 0040124B 0022FF78 0022F1CC 00000002 025CC868 003F2BA0
00491000
00404778 wx_test.exe:00404778C:\opt\lmi\bin\wx_test.exe: No symbol found
0040124B 004012B8 0022FFB0 0022F1CC 00000002 00000009 0022FFF0
7C817067
0040124B wx_test.exe:0040124BC:\opt\lmi\bin\wx_test.exe: No symbol found
004012B8 7C817067 0022FFC0 0022F1CC 00000000 00000000 7FFDB000
C0000005
004012B8 wx_test.exe:004012B8C:\opt\lmi\bin\wx_test.exe: No symbol found
7C817067 00000000 0022FFF0 0022F1CC 004012A0 00000000 78746341
00000020
7C817067 kernel32.dll:7C817067 RegisterWaitForInputIdle
DEBUG_EVENT:
dwDebugEventCode = EXIT_THREAD_DEBUG_EVENT
dwProcessId = 1CC4
dwThreadId = 1F8C
dwExitCode = 0
DEBUG_EVENT:
dwDebugEventCode = EXIT_THREAD_DEBUG_EVENT
dwProcessId = 1CC4
dwThreadId = 974
dwExitCode = C0000005
DEBUG_EVENT:
dwDebugEventCode = EXIT_PROCESS_DEBUG_EVENT
dwProcessId = 1CC4
dwThreadId = 116C
dwExitCode = C0000005
- [lmi] Manual test of automated GUI test,
Greg Chicares <=
- Re: [lmi] Manual test of automated GUI test, Vadim Zeitlin, 2014/10/18
- Re: [lmi] Manual test of automated GUI test, Greg Chicares, 2014/10/18
- Re: [lmi] Manual test of automated GUI test, Vadim Zeitlin, 2014/10/18
- Re: [lmi] Manual test of automated GUI test, Greg Chicares, 2014/10/18
- Re: [lmi] PDF opening errors (was: Manual test of automated GUI test), Vadim Zeitlin, 2014/10/19
- Re: [lmi] PDF opening errors, Greg Chicares, 2014/10/19
- Re: [lmi] PDF opening errors, Vadim Zeitlin, 2014/10/19
- [lmi] NDEBUG [Was: PDF opening errors], Greg Chicares, 2014/10/23
- Re: [lmi] NDEBUG, Vadim Zeitlin, 2014/10/23