Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gobview tests regularly crash #1085

Closed
sim642 opened this issue Jun 14, 2023 · 0 comments · Fixed by #1116
Closed

Gobview tests regularly crash #1085

sim642 opened this issue Jun 14, 2023 · 0 comments · Fixed by #1116
Assignees
Labels
setup Dependencies, CI, releasing testing
Milestone

Comments

@sim642
Copy link
Member

sim642 commented Jun 14, 2023

The Gobview tests from #1037 regularly spuriously just seem to crash and cause spurious CI failures:

finished webdriver installation 

open local GobView page

found the site's title GobView
cleanup
Traceback (most recent call last):
  File "/home/runner/work/analyzer/analyzer/scripts/test-gobview.py", line 69, in <module>
    raise e
  File "/home/runner/work/analyzer/analyzer/scripts/test-gobview.py", line 58, in <module>
    main = browser.find_element(By.CLASS_NAME, "main")
  File "/home/runner/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 740, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "/home/runner/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 346, in execute
    self.error_handler.check_response(response)
  File "/home/runner/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".main"}
  (Session info: headless chrome=113.0.5672.126); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x55805d81e133 <unknown>
#1 0x55805d552966 <unknown>
#2 0x55805d58f0dc <unknown>
#3 0x55805d58f211 <unknown>
#4 0x55805d5c96c4 <unknown>
#5 0x55805d5aebfd <unknown>
#6 0x55805d5c71c7 <unknown>
#7 0x55805d5ae9a3 <unknown>
#8 0x55805d58346a <unknown>
#9 0x55805d58455e <unknown>
#10 0x55805d7ddcae <unknown>
#11 0x55805d7e18fe <unknown>
#12 0x55805d7eaf20 <unknown>
#13 0x55805d7e2923 <unknown>
#14 0x55805d7b5c0e <unknown>
#15 0x55805d805b08 <unknown>
#16 0x55805d805c97 <unknown>
#17 0x55805d816113 <unknown>
#18 0x7fc246aa8b43 <unknown>

E.g. in https://github.com/goblint/analyzer/actions/runs/5264321076/jobs/9515461041.

@sim642 sim642 added testing setup Dependencies, CI, releasing labels Jun 14, 2023
@sim642 sim642 added this to the v2.2.0 milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Dependencies, CI, releasing testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants