Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

[🐛 Bug]: PHPUnit unable to establish session with latest version of docker-seleniarm #68

Open
@bkline

Description

@bkline

What happened?

This is a followup for issue #33. @jamesmortensen has said we should reopen that issue if I was able to come up with a simpler repro case (which I have done), but I don't see any way to reopen the issue, so I'm following the conflicting instructions to open a new ticket instead, as I was unable to find a way to ask James how to proceed (other than posting on X, which didn't seem quite right). Instructions for demonstrating successful (with older version of the image) and unsuccessful (with the current version) session requests are provided in the next field.

(By the way, James, GitHub thinks you're in Chattanooga, but X has you in Chennai. We just got back from visiting our son and his family in Chattanooga, and helping them with spring plantings in their new house. Nice town!)

session-test.tgz

Command used to start Selenium Grid with Docker (or Kubernetes)

# Start the older version of the Docker image.
docker run --rm -it -p 4445:4444 -p 5901:5900 --shm-size 2g seleniarm/standalone-chromium:4.1.4-20220429
# From a separate terminal window, request a session (completes in about 1/2 second).
# Output is shown in attached session-test-success.out, with HTTP code 200, and
# a response body which includes a valid session ID.
php session-test.php
# Stop the container (control+C) in the first terminal window, and start a fresh container
# with the current version of the image.
docker run --rm -it -p 4445:4444 -p 5901:5900 --shm-size 2g seleniarm/standalone-chromium:latest
# Back to the second terminal window, running the same PHP script.
# After five minutes, a 500 error will be returned.
php session-test.php

Relevant log output

See attached logs.

Operating System

Mac M1 Pro Sonoma 14.4

Docker Selenium version (image tag)

seleniarm-v4.18.0-20240221

Selenium Grid chart version (chart version)

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions