lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail


From: Greg Chicares
Subject: Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail
Date: Sat, 3 Sep 2022 00:21:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

On 9/2/22 21:20, Vadim Zeitlin wrote:
> On Fri,  2 Sep 2022 14:23:17 -0400 (EDT) Greg Chicares 
> <gchicares@sbcglobal.net> wrote:
[...]
> GC>     At the moment, using wine-7.0, the GUI test succeeds when run at the
> GC>     command line, but fails and hangs when run under xvfb.
> 
>  FWIW I can't reproduce this problem here, on an up-to-date Debian Sid
> system. I didn't try running the nychthemeral script itself (I think it
> still fails here...), but running
> 
>       $ xvfb-run wine64 /opt/lmi/bin/wx_test.exe --ash_nazg 
> --data_path=Z:/opt/lmi/data
> 
> from the command line works fine for me (well, there are a lot of messages
> from Wine and also a few "Unknown accel modifier: 'Num'" that I thought I
> had already fixed, but apparently not) and ends with
> 
>       time=65467ms (for all tests)
>       SUCCESS: 21 tests successfully completed.
>       NOTE: 4 tests were skipped
> 
> (followed by the "usual" complaints about broken X connection).
> 
>  Does the command above also work for you, i.e. is the problem really
> specific to the nychthemeral script, or does it hang for you too?

No, it still fails when I copy and paste the command above
(full copy of terminal session below), and it fails at exactly
the same point as the nychthemeral test:

  paste_census: started
  paste_census: ERROR (Assertion '(lmi::ssize(grid_window->GetSelectedRows())) 
== (1)' failed (
  expected 1 vs observed 0). [wx_test_paste_census.cpp : 269] )

after which every subsequent test fails. If I run the same
command omitting the initial "xvfb-run", everything succeeds.

Here's that terminal session:

/opt/lmi/bin[0]$xvfb-run wine64 /opt/lmi/bin/wx_test.exe --ash_nazg 
--data_path=Z:/opt/lmi/data
Test files path '/opt/lmi/gui_test' doesn't exist--using current path instead.
0050:fixme:imm:ImeSetActiveContext (0x258060, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000258060): stub
0024:fixme:imm:ImeSetActiveContext (0x268260, 1): stub
0024:fixme:imm:ImmReleaseContext (0000000000010056, 0000000000268260): stub
NOTE: starting the test suite
about_dialog_version: started
About dialog version string is '20220829T2039Z'.
0024:fixme:event:wait_for_withdrawn_state window 0x60080/a00007 wait timed out
time=2086ms (for about_dialog_version)
about_dialog_version: ok
benchmark_census: started
time=1ms (for benchmark_census)
benchmark_census: ok
calculation_summary: started
0024:fixme:shell:SHAutoComplete stub
0024:fixme:shell:SHAutoComplete stub
0024:fixme:event:wait_for_withdrawn_state window 0x20472/a00027 wait timed out
0024:fixme:shell:SHAutoComplete stub
0024:fixme:shell:SHAutoComplete stub
0024:fixme:event:wait_for_withdrawn_state window 0x304a2/a00051 wait timed out
0024:fixme:shell:SHAutoComplete stub
0024:fixme:shell:SHAutoComplete stub
0024:fixme:event:wait_for_withdrawn_state window 0x603f8/a0007b wait timed out
time=11550ms (for calculation_summary)
calculation_summary: ok
configurable_settings: started
configurable_settings: skipped (not running distribution tests)
create_open_census: started
time=174ms (for create_open_census)
create_open_census: ok
create_open_database: started
time=1180ms (for create_open_database)
create_open_database: ok
create_open_gpt: started
time=565ms (for create_open_gpt)
create_open_gpt: ok
create_open_illustration: started
time=1879ms (for create_open_illustration)
create_open_illustration: ok
create_open_mec: started
time=491ms (for create_open_mec)
create_open_mec: ok
create_open_policy: started
time=304ms (for create_open_policy)
create_open_policy: ok
create_open_rounding: started
time=880ms (for create_open_rounding)
create_open_rounding: ok
create_open_strata: started
time=631ms (for create_open_strata)
create_open_strata: ok
create_open_text: started
time=101ms (for create_open_text)
create_open_text: ok
default_input: started
default_input: skipped (not running distribution tests)
default_update: started
default_update: skipped (not running distribution tests)
expiry_dates: started
Expiry dates: begin=2450449 (1996-12-31), end=2472011 (2056-01-13)
time=6ms (for expiry_dates)
expiry_dates: ok
input_sequences: started
0024:fixme:event:wait_for_withdrawn_state window 0x14047c/a0014f wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x15047c/a0017c wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x16047c/a001ac wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x17047c/a001ce wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x18047c/a001f2 wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x19047c/a00219 wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1a047c/a0023d wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1b047c/a00261 wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1c047c/a00285 wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1d047c/a002a9 wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1e047c/a002ca wait timed out
0024:fixme:event:wait_for_withdrawn_state window 0x1f047c/a002eb wait timed out
time=42843ms (for input_sequences)
input_sequences: ok
input_validation: started
input_validation: skipped (not running distribution tests)
log_error: started
time=0ms (for log_error)
log_error: ok
paste_census: started
paste_census: ERROR (Assertion '(lmi::ssize(grid_window->GetSelectedRows())) == 
(1)' failed (
expected 1 vs observed 0). [wx_test_paste_census.cpp : 269] )
pdf_census: started
pdf_census: ERROR (Assertion 'composite_pdf.exists()' failed. 
[wx_test_pdf_create.cpp : 160] 
)
pdf_illustration: started
pdf_illustration: ERROR (Assertion failure: Expected edit cell dialog to test 
$1,000,000,000 
scaling was not shown. [file /opt/lmi/src/lmi/wx_test_new.hpp, line 62, in 
do_new_illustratio
n()].)
validate_output_census: started
validate_output_census: ERROR (Assertion failure: Expected case defaults dialog 
was not shown
. [file /opt/lmi/src/lmi/wx_test_validate_output.cpp, line 150, in 
init_test_census()].)
validate_output_illustration: started
validate_output_illustration: ERROR (Assertion failure: Expected illustration 
properties dial
og was not shown. [file /opt/lmi/src/lmi/wx_test_new.hpp, line 62, in 
do_new_illustration()].
)
validate_output_mec: started
validate_output_mec: ERROR (Assertion failure: Expected new MEC parameters 
dialog was not sho
wn. [file /opt/lmi/src/lmi/wx_test_validate_output.cpp, line 573, in run()].)
time=63101ms (for all tests)
FAILURE: 6 out of 25 tests failed.
NOTE: 4 tests were skipped
Assertion '"Assert failure"' failed
(A message box "Do you want to save changes to unnamed15?" was shown 
unexpectedly.).
[file /opt/lmi/local/include/wx-3.2/wx/testing.h, line 431]

^CX connection to :99 broken (explicit kill or server shutdown).
X connection to :99 broken (explicit kill or server shutdown).
00fc:fixme:console:default_ctrl_handler Terminating process 20 on event 0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]