plotly / dash-cytoscape

Interactive network visualization in Python and Dash, powered by Cytoscape.js
https://dash.plot.ly/cytoscape
MIT License
597 stars 120 forks source link

Use authentication with Docker Hub #109

Closed xhluca closed 3 years ago

xhluca commented 3 years ago

About

## Description of changes

Pre-Merge checklist

Reference Issues

Closes #[issue number]

Other comments

xhluca commented 3 years ago
======================================================================
ERROR: setUpClass (tests.test_callbacks.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/circleci/project/tests/IntegrationTests.py", line 30, in setUpClass
    cls.driver = webdriver.Chrome(options=options)
  File "/home/circleci/project/venv/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
    desired_capabilities=desired_capabilities)
  File "/home/circleci/project/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "/home/circleci/project/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/home/circleci/project/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/circleci/project/venv/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Seems like the tests are crashing now

xhluca commented 3 years ago

Do you want to discuss that on Tuesday (since you are on :palm_tree: )

rpkyle commented 3 years ago

Do you want to discuss that on Tuesday (since you are on palm_tree )

I'm away next week, but this failure appears unrelated to the Docker auth edits (since your image pulls appear to complete successfully). I'm curious if it's related to a previously reported ChromeDriver issue: https://github.com/SeleniumHQ/selenium/issues/6049.

xhluca commented 3 years ago

The issue was reported in 2018-2019 and the tests seemed to work until august 2020.

rpkyle commented 3 years ago

The issue was reported in 2018-2019 and the tests seemed to work until august 2020.

FWIW, I think we're OK to merge the Docker auth edits here, even if the integration test is failing. We can open an issue to address the ChromeDriver issue separately, but if you'd prefer to wait, that's OK too. I don't think the Docker policy change goes into effect until November 1st, so there's still a little time.