Skip to content

Chrome sessions hang randomly with node-chrome due to DBUS issue #465

@testphreak

Description

@testphreak

Meta -

Image(s):
node-chrome. May affect other chrome and firefox images as well.

Image Version:
3.3.1-cesium

Docker version:
17.04.0-ce, build 4845c56

OS:
Ubuntu 16.04.2 LTS

Expected Behavior -

Tests execute as usual without hanging.

Actual Behavior -

@diemol, @ddavison spent a good deal of time last night trying to get to the bottom of the issue. It's related to this change 88584de made by @a-k-g to resolve #358.

Due to this change, none of the node-chrome images after 3.0.1 are working for me and the timeline of the commit confirms that. Would it be possible to add a fix that would work for all images - node-chrome, node-chrome-debug, standalone-chrome and standalone-chrome-debug images?

I passed in DBUS_SESSION_BUS_ADDRESS=/dev/null as an environment variable to node-chrome when starting the containers and all my tests now execute without random hangs with 3.4.0-actinium. It would be better if this variable is set in the image rather than us having to pass it in every time.

I also found out that I am not alone in this issue and several including @pwaller and others have run into this issue recently #87 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions