quickemu-project / quicktest

Quickly and automatically test systems inside Quickemu virtual machines 🧑‍🔬
MIT License
16 stars 3 forks source link

bug: Fails to detect Firefox welcome screen #30

Open ali1234 opened 1 month ago

ali1234 commented 1 month ago

When running Ubuntu 24.04 live test.

Screenshot:

image

Detected text:

Fey NIG) @ WelcometoFirefox x | Gi FirefoxPrivacyNotice— x + Vv Loa x

GC) 1D Search or enter address wv ea

5 Sign in

We love keeping you safe

Our non-profit backed browser helps stop
companies from secretly Following you around the
web.

Import from previous browser

Save and continue

i) ‘Skip this step >

Output (tail):

[20240518-033130] 🔁 10 / 10 «Welcome to Firefox» 
[20240518-033130] 📷 screenshot_0020_test_launch_firefox.ppm
[20240518-033131] 🔍 «Welcome to Firefox» in screenshot «0020»
[20240518-033131] ❌ «Welcome to Firefox»
[20240518-033131] ⏳ 5 s
[20240518-033136] 🚨 Test failed.
[20240518-033136] Last error in: Coulnd't find text «Welcome to Firefox» in screenshot «20» after 10 retries

I suspect that the clock is going to make this test non-deterministic.

I am running on Xubuntu 24.04.

al@al-desktop:~/Source/quicktest$ tesseract --version
tesseract 5.3.4
 leptonica-1.82.0
  libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 2.1.5) : libpng 1.6.43 : libtiff 4.5.1 : zlib 1.3 : libwebp 1.3.2 : libopenjp2 2.5.0
 Found AVX2
 Found AVX
 Found FMA
 Found SSE4.1
 Found OpenMP 201511
 Found libarchive 3.7.2 zlib/1.3 liblzma/5.4.5 bz2lib/1.0.8 liblz4/1.9.4 libzstd/1.5.5
 Found libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7