[Pkg-javascript-devel] Bug#1031114: jquery-timepicker: autopkgtest failures

Andres Salomon dilinger at queued.net
Sun Feb 12 02:18:16 GMT 2023



On Sun, Feb 12 2023 at 02:42:12 AM +0100, William Desportes 
<williamdes at wdes.fr> wrote:
> I think this has nothing to do with my package :)
> 
>> selenium.common.exceptions.WebDriverException: Message: unknown 
>> error: unable to discover open pages
> 
> And this should be enough to reproduce it (deps: python3-selenium, 
> chromium-driver):
> 
> from selenium import webdriver
> from selenium.webdriver.support.wait import WebDriverWait
> from selenium.webdriver.common.by import By
> import os
> 
> data_dir = os.getenv('AUTOPKGTEST_TMP', default='/tmp') + 
> '/google-chrome'
> 
> options = webdriver.ChromeOptions()
> options.add_argument('--headless')
> options.add_argument('--no-sandbox')
> options.add_argument('--headless')
> options.add_argument('--disable-gpu')
> options.add_argument('--disable-dev-shm-usage')
> options.add_argument('--profile-directory=Default')
> options.add_argument('--user-data-dir=' + data_dir)
> driver = webdriver.Chrome(options=options)
> 
> print("Running tests")
> driver.get("http://localhost:8888/SpecRunner.html?random=false")
> 
> 
> Let me know if you can reproduce this WebDriverException



I don't get a successful test with chromium 109 in a bookworm virtual 
box. I haven't used selenium before and I'm not sure what this is 
supposed to look like..

dilinger at debian:~$ python3 ./test.py
Running tests
Traceback (most recent call last):
  File "/home/dilinger/./test.py", line 19, in <module>
    driver.get("http://localhost:8888/SpecRunner.html?random=false")
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", 
line 449, in get
    self.execute(Command.GET, {"url": url})
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", 
line 440, in execute
    self.error_handler.check_response(response)
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", 
line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: 
net::ERR_CONNECTION_REFUSED
  (Session info: headless chrome=109.0.5414.119)
Stacktrace:
#0 0x562fe7b45c53 <unknown>
#1 0x562fe78f902c <unknown>
#2 0x562fe78f286c <unknown>
#3 0x562fe78e6d77 <unknown>
#4 0x562fe78e8391 <unknown>
#5 0x562fe78e70fe <unknown>
#6 0x562fe78e62a5 <unknown>
#7 0x562fe78e612f <unknown>
#8 0x562fe78e5074 <unknown>
#9 0x562fe78e543b <unknown>
#10 0x562fe78fb60b <unknown>
#11 0x562fe796be08 <unknown>
#12 0x562fe79544c2 <unknown>
#13 0x562fe796ba13 <unknown>
#14 0x562fe7954283 <unknown>
#15 0x562fe792675b <unknown>
#16 0x562fe7927bf2 <unknown>
#17 0x562fe7b8bd9d <unknown>
#18 0x562fe7b8e151 <unknown>
#19 0x562fe7b8db00 <unknown>
#20 0x562fe7b8e8b5 <unknown>
#21 0x562fe7b795a6 <unknown>
#22 0x562fe7b8ec33 <unknown>
#23 0x562fe7b6b8e0 <unknown>
#24 0x562fe7ba8835 <unknown>
#25 0x562fe7ba89da <unknown>
#26 0x562fe7bc288f <unknown>
#27 0x7fed246a7fd4 <unknown>



More information about the Pkg-javascript-devel mailing list