[2016-12-07 13:51:10,671] Making new env: flashgames.DuskDrive-v0 [2016-12-07 13:51:10,675] Writing logs to file: /tmp/universe-3684.log [2016-12-07 13:51:10,714] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.2. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.2 [2016-12-07 13:51:10,963] Remote closed: address=localhost:15900 [2016-12-07 13:51:10,964] Remote closed: address=localhost:5900 [2016-12-07 13:51:10,964] At least one sockets was closed by the remote. Sleeping 1s... universe-0ltTsm-0 | Setting VNC and rewarder password: openai universe-0ltTsm-0 | [Wed Dec 7 12:51:11 UTC 2016] Waiting for /tmp/.X11-unix/X0 to be created (try 1/10) universe-0ltTsm-0 | [Wed Dec 7 12:51:11 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none universe-0ltTsm-0 | [init] [2016-12-07 12:51:11,168] PID 54 launched with command ['sudo', '-H', '-u', 'nobody', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=/dev/null', '/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901'] universe-0ltTsm-0 | [init] [2016-12-07 12:51:11,168] init detected end of child process 22 with exit code 0, not killed by signal universe-0ltTsm-0 | WebSocket server settings: universe-0ltTsm-0 | - Listen on :5898 universe-0ltTsm-0 | - Flash security policy server universe-0ltTsm-0 | - No SSL/TLS support (no cert file) universe-0ltTsm-0 | - proxying from :5898 to localhost:5900 universe-0ltTsm-0 | [2016-12-07 12:51:11,854] [INFO:root] Starting play_controlplane.py with the following: command=['/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901'] args=Namespace(bot_demonstration=False, demonstration=False, env_id=None, idle_timeout=None, integrator_mode=False, no_env=False, no_rewarder=False, no_scorer=False, no_vexpect=False, remotes='vnc://127.0.0.1:5900', rewarder_fps=60, rewarder_port=15901, verbosity=0) env=environ({'SUDO_GID': '0', 'MAIL': '/var/mail/nobody', 'TERM': 'xterm', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SUDO_UID': '0', 'HOME': '/nonexistent', 'SUDO_COMMAND': '/app/universe-envs/controlplane/bin/controlplane.py --rewarder-port=15901', 'HOSTNAME': '87b04831843c', 'DBUS_SESSION_BUS_ADDRESS': '/dev/null', 'USER': 'nobody', 'SUDO_USER': 'root', 'USERNAME': 'nobody', 'DISPLAY': ':0', 'SHELL': '/usr/sbin/nologin', 'LOGNAME': 'nobody'}) universe-0ltTsm-0 | [2016-12-07 12:51:11,854] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> None (env_id=None) (episode_id: 0->0, fps=60) universe-0ltTsm-0 | [2016-12-07 12:51:11,855] [INFO:universe.rewarder.remote] Starting Rewarder on port=15901 universe-0ltTsm-0 | [2016-12-07 12:51:11,858] [INFO:universe.extra.universe.wrappers.logger] Running VNC environments with Logger set to print_frequency=5. To change this, pass "print_frequency=k" or "print_frequency=None" to "env.configure". universe-0ltTsm-0 | [2016-12-07 12:51:11,860] [INFO:universe.envs.vnc_env] Using the golang VNC implementation universe-0ltTsm-0 | [2016-12-07 12:51:11,860] [INFO:universe.envs.vnc_env] Using VNCSession arguments: {'encoding': 'zrle', 'fine_quality_level': 50, 'compress_level': 9, 'start_timeout': 7, 'subsample_level': 2}. (Customize by running "env.configure(vnc_kwargs={...})" universe-0ltTsm-0 | [2016-12-07 12:51:11,860] [INFO:universe.envs.vnc_env] Printed stats will ignore clock skew. (This usually makes sense only when the environment and agent are on the same machine.) universe-0ltTsm-0 | [2016-12-07 12:51:11,862] [INFO:universe.envs.vnc_env] [0] Connecting to environment: vnc://127.0.0.1:5900 password=openai. Use the browser-based VNC client: http://None/viewer/?password=openai universe-0ltTsm-0 | [2016-12-07 12:51:11,863] [INFO:universe.extra.universe.envs.vnc_env] [0] Connecting to environment details: vnc_address=127.0.0.1:5900 vnc_password=openai rewarder_address=None rewarder_password=openai universe-0ltTsm-0 | [2016-12-07 12:51:11,863] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> resetting (env_id=None) (episode_id: 0->1, fps=60) universe-0ltTsm-0 | [2016-12-07 12:51:11,864] [INFO:root] [MainThread] Env state: env_id=None episode_id=1 universe-0ltTsm-0 | 2016/12/07 12:51:11 I1207 12:51:11.871951 55 gymvnc.go:417] [0:127.0.0.1:5900] opening connection to VNC server universe-0ltTsm-0 | 2016/12/07 12:51:11 I1207 12:51:11.87341 55 gymvnc.go:550] [0:127.0.0.1:5900] connection established universe-0ltTsm-0 | [Wed Dec 7 12:51:11 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none universe-0ltTsm-0 | [2016-12-07 12:51:11,888] [INFO:gym_flashgames.launcher] [MainThread] Launching new Chrome process (attempt 0/10) universe-0ltTsm-0 | [2016-12-07 12:51:11,888] [INFO:root] Replacing selenium_wrapper_server since we currently do it at every episode boundary [2016-12-07 13:51:11,968] Remote closed: address=localhost:5900 [2016-12-07 13:51:11,969] Remote closed: address=localhost:15900 [2016-12-07 13:51:11,969] At least one sockets was closed by the remote. Sleeping 1s... universe-0ltTsm-0 | [2016-12-07 12:51:11,972] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:48926 observer=True universe-0ltTsm-0 | [2016-12-07 12:51:11,973] [INFO:universe.rewarder.remote] WebSocket connection established universe-0ltTsm-0 | [2016-12-07 12:51:11,994] [selenium_wrapper_server] Calling webdriver.Chrome() universe-0ltTsm-0 | [init] [2016-12-07 12:51:12,072] init detected end of child process 16 with exit code 0, not killed by signal [2016-12-07 13:51:12,972] Using the golang VNC implementation [2016-12-07 13:51:12,973] Using VNCSession arguments: {'subsample_level': 2, 'start_timeout': 7, 'fine_quality_level': 50, 'encoding': 'tight'}. (Customize by running "env.configure(vnc_kwargs={...})" [2016-12-07 13:51:12,974] [0] Connecting to environment: vnc://localhost:5900 password=openai. Use the browser-based VNC client: http://localhost:15900/viewer/?password=openai 2016/12/07 13:51:12 I1207 13:51:12.977986 3684 gymvnc.go:417] [0:localhost:5900] opening connection to VNC server 2016/12/07 13:51:12 I1207 13:51:12.981758 3684 gymvnc.go:550] [0:localhost:5900] connection established universe-0ltTsm-0 | [2016-12-07 12:51:12,972] [INFO:universe.rewarder.remote] WebSocket connection closed: connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake) Traceback (most recent call last): File "test.py", line 11, in env.render() File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 192, in render return self._render(mode=mode, close=close) File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 342, in _render return self.env.render(mode, close) File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 192, in render return self._render(mode=mode, close=close) File "/home/user/src/openai/universe/universe/wrappers/render.py", line 49, in _render return self.env.render(mode=mode, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 192, in render return self._render(mode=mode, close=close) File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 342, in _render return self.env.render(mode, close) File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 192, in render return self._render(mode=mode, close=close) File "/home/user/src/openai/universe/universe/envs/vnc_env.py", line 533, in _render self.vnc_session.render(self.connection_names[0]) go_vncdriver.Error: /tmp/pip-build-3EtFRK/go-vncdriver/.build/src/github.com/openai/go-vncdriver/main.go:387: go_vncdriver was installed without OpenGL support. See https://github.com/openai/go-vncdriver for details on how debug. universe-0ltTsm-0 | [2016-12-07 12:51:12,992] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:48940 observer=False universe-0ltTsm-0 | [2016-12-07 12:51:12,993] [INFO:universe.rewarder.remote] WebSocket connection established [2016-12-07 13:51:13,027] [0:localhost:5900] Sending reset for env_id=flashgames.DuskDrive-v0 fps=60 episode_id=0 universe-0ltTsm-0 | [2016-12-07 12:51:13,018] [INFO:universe.rewarder.remote] CONNECTION STATUS: Marking connection as active: observer=False peer=tcp4:127.0.0.1:48940 total_conns=1 universe-0ltTsm-0 | [2016-12-07 12:51:13,028] [INFO:universe.rewarder.remote] Received reset message: {'method': 'v0.env.reset', 'body': {'seed': None, 'fps': 60, 'env_id': 'flashgames.DuskDrive-v0'}, 'headers': {'episode_id': '0', 'message_id': 10, 'sent_at': 1481115073.027689}} [2016-12-07 13:51:13,191] Killing and removing container: id=87b04831843c367eeccdb628a2d3143011ef7c3c3578ca251b741bbb4a06bd7f. (If this command errors, you can always kill all automanaged environments on this Docker daemon via: docker rm -f $(docker ps -q -a -f 'label=com.openai.automanaged=true')