Actions
action #155068
closed[sporadic] failing openQA unit test t/ui/16-tests_job_next_previous.t "Failed test '.dataTables_wrapper present'"
Start date:
2024-02-07
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
From https://app.circleci.com/pipelines/github/os-autoinst/openQA/12918/workflows/7aa1aa51-813d-483e-b8bf-c5a5cac46d95/jobs/120429 , first time occurrence.
Updated by mkittler 8 months ago
This is the relevant log (in case the CircleCI job is deleted):
[10:07:09] t/ui/16-tests_job_next_previous.t .......... 7/?
# Failed test '.dataTables_wrapper present'
# at /home/squamata/project/t/ui/../lib/OpenQA/SeleniumTest.pm line 296.
findElement: no such element: Unable to locate element: {"method":"css selector","selector":"#job_next_previous_table_info"} at /home/squamata/project/t/ui/../lib/OpenQA/SeleniumTest.pm:78 at /home/squamata/project/t/ui/../lib/OpenQA/SeleniumTest.pm line 81.
OpenQA::SeleniumTest::__ANON__(Test::Selenium::Chrome=HASH(0x55f88a58ac28), "Error while executing command: findElement: no such element: "..., HASH(0x55f88aaaade0), HASH(0x55f88aaaadf8)) called at /usr/lib/perl5/vendor_perl/5.26.1/Selenium/Remote/Driver.pm line 356
Selenium::Remote::Driver::catch {...} ("Error while executing command: findElement: no such element: "...) called at /usr/lib/perl5/vendor_perl/5.26.1/Try/Tiny.pm line 123
Try::Tiny::try(CODE(0x55f88aaabb60), Try::Tiny::Catch=REF(0x55f88aa8ad50)) called at /usr/lib/perl5/vendor_perl/5.26.1/Selenium/Remote/Driver.pm line 361
Selenium::Remote::Driver::__ANON__(CODE(0x55f889fe2bb0), Test::Selenium::Chrome=HASH(0x55f88a58ac28), HASH(0x55f88aaaade0), HASH(0x55f88aaaadf8)) called at (eval 1715)[/usr/lib/perl5/vendor_perl/5.26.1/Class/Method/Modifiers.pm:89] line 1
Selenium::Remote::Driver::__ANON__(Test::Selenium::Chrome=HASH(0x55f88a58ac28), HASH(0x55f88aaaade0), HASH(0x55f88aaaadf8)) called at (eval 1717)[/usr/lib/perl5/vendor_perl/5.26.1/Class/Method/Modifiers.pm:148] line 2
Selenium::Remote::Driver::_execute_command(Test::Selenium::Chrome=HASH(0x55f88a58ac28), HASH(0x55f88aaaade0), HASH(0x55f88aaaadf8)) called at /usr/lib/perl5/vendor_perl/5.26.1/Selenium/Remote/Driver.pm line 1335
eval {...} called at /usr/lib/perl5/vendor_perl/5.26.1/Selenium/Remote/Driver.pm line 1335
Selenium::Remote::Driver::find_element(Test::Selenium::Chrome=HASH(0x55f88a58ac28), "#job_next_previous_table_info") called at /usr/lib/perl5/vendor_perl/5.26.1/Selenium/Remote/Driver.pm line 1790
Selenium::Remote::Driver::get_text(Test::Selenium::Chrome=HASH(0x55f88a58ac28), "#job_next_previous_table_info") called at t/ui/16-tests_job_next_previous.t line 107
[10:07:09] t/ui/16-tests_job_next_previous.t .......... 8/? # Tests were run but no plan was declared and done_testing() was not seen.
[10:07:09] t/ui/16-tests_job_next_previous.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
I could reproduce this locally on the first attempt.
Updated by mkittler 8 months ago
- Status changed from In Progress to Feedback
I couldn't reproduce it very reliably locally, though. However, I think the following change will prevent this from happening again: https://github.com/os-autoinst/openQA/pull/5461
Actions