aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
224 stars 19 forks source link

Openshift issues - Waiting X server #261

Open emilorol opened 3 years ago

emilorol commented 3 years ago

After some time off, I am testing moon one more time in OpenShift.

This time I am getting the following error when opening trying to run a test in any of the container (chrome, firefox or opera)

Initialize...

Connecting to ws://app-moon.app.internal.com/ws/logs/chrome-87-0-6ebd726b-dc69-4347-9c3f-4dd481d0d61e...
Connected!
Waiting X server...
2021/03/01 19:54:33 [INIT] [Listening on :7070]
Waiting X server...
Logging to: /dev/null
Waiting X server...
Waiting X server...
Waiting X server...

am I missing something?

vania-pooh commented 3 years ago

@emilorol what browser images are you using for Openshift?

emilorol commented 3 years ago
{
    "chrome": {
        "default": "87.0",
        "versions": {
            "87.0": {
                "image": "selenoid/vnc_chrome:87.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "86.0": {
                "image": "selenoid/vnc_chrome:86.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "85.0": {
                "image": "selenoid/vnc_chrome:85.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "84.0": {
                "image": "selenoid/vnc_chrome:84.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "83.0": {
                "image": "selenoid/vnc_chrome:83.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            }
        }
    },
    "firefox": {
        "default": "83.0",
        "versions": {
          "83.0": {
                "image": "selenoid/vnc_firefox:83.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "82.0": {
                "image": "selenoid/vnc_firefox:82.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "81.0": {
                "image": "selenoid/vnc_firefox:81.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "80.0": {
                "image": "selenoid/vnc_firefox:80.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "79.0": {
                "image": "selenoid/vnc_firefox:79.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "78.0": {
                "image": "selenoid/vnc_firefox:78.0",
                "port": "4444",
                "path": "/wd/hub",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            }
        }
    },
    "opera": {
        "default": "72.0",
        "versions": {
          "72.0": {
                "image": "selenoid/vnc_opera:72.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "71.0": {
                "image": "selenoid/vnc_opera:71.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "70.0": {
                "image": "selenoid/vnc_opera:70.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
          },
          "69.0": {
                "image": "selenoid/vnc_opera:69.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            },
            "68.0": {
                "image": "selenoid/vnc_opera:68.0",
                "port": "4444",
                "path": "/",
                "env": ["SCREEN_RESOLUTION=1920x1080x24"]
            }
        }
    }
}
vania-pooh commented 3 years ago

@emilorol could you please try these? https://quay.io/repository/browsers/chrome?tab=tags

emilorol commented 3 years ago

That made no difference at all. Please see attached images:

waiting-x-server openshift
vania-pooh commented 3 years ago

Summon @aandryashin.

aandryashin commented 3 years ago

Is there anything in moon logs for such sessions?

чт, 4 мар. 2021 г., 13:38 Ivan Krutov notifications@github.com:

Summon @aandryashin https://github.com/aandryashin.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aerokube/moon/issues/261#issuecomment-790515373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23OHXB4MGFIDPOI5DE3TB5PKXANCNFSM4YPH5YNA .