Last active
April 12, 2018 11:18
-
-
Save Xotabu4/02f04e006e0328fe3d229e7b961bb743 to your computer and use it in GitHub Desktop.
selenoid (1.6.0) cannot create session when video record enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker_container 'selenoid' do | |
repo 'aerokube/selenoid' | |
tag node['selenoid']['selenoid_version'] | |
volumes [ | |
'/var/run/docker.sock:/var/run/docker.sock', | |
"/etc/selenoid:/etc/selenoid/", | |
"/etc/selenoid/video/:/opt/selenoid/video/", | |
] | |
env ["OVERRIDE_VIDEO_OUTPUT_DIR=/etc/selenoid/video/"] | |
command '-conf /etc/selenoid/browsers.json -limit 11 -retry-count 5 -session-attempt-timeout 30s -video-output-dir /opt/selenoid/video' | |
port '4444:4444' | |
action :run_if_missing | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@default-centos-73 video]# docker logs selenoid | |
2018/04/12 10:24:13 [-] [INIT] [Loading configuration files...] | |
2018/04/12 10:24:13 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json] | |
2018/04/12 10:24:13 [-] [INIT] [Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory] | |
2018/04/12 10:24:13 [-] [INIT] [Your Docker API version is 1.37] | |
2018/04/12 10:24:13 [-] [INIT] [Timezone: Local] | |
2018/04/12 10:24:13 [-] [INIT] [Video Dir: /opt/selenoid/video] | |
2018/04/12 10:24:13 [-] [INIT] [Listening on :4444] | |
2018/04/12 10:24:34 [-] [INIT] [Loading configuration files...] | |
2018/04/12 10:24:34 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json] | |
2018/04/12 10:24:34 [-] [INIT] [Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory] | |
2018/04/12 10:40:57 [-] [INIT] [Loading configuration files...] | |
2018/04/12 10:40:57 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json] | |
2018/04/12 10:40:57 [-] [INIT] [Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory] | |
2018/04/12 10:41:08 [-] [NEW_REQUEST] [unknown] [10.0.2.2] | |
2018/04/12 10:41:08 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.0.2.2] | |
2018/04/12 10:41:08 [0] [LOCATING_SERVICE] [chrome] [] | |
2018/04/12 10:41:08 [-] [DEFAULT_VERSION] [Using default version: 65.0] | |
2018/04/12 10:41:08 [0] [USING_DOCKER] [chrome] [65.0] | |
2018/04/12 10:41:08 [0] [CREATING_CONTAINER] [selenoid/vnc:chrome_65.0] | |
2018/04/12 10:41:08 [-] [NEW_REQUEST] [unknown] [10.0.2.2] | |
2018/04/12 10:41:08 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.0.2.2] | |
2018/04/12 10:41:08 [1] [LOCATING_SERVICE] [chrome] [] | |
2018/04/12 10:41:08 [-] [DEFAULT_VERSION] [Using default version: 65.0] | |
2018/04/12 10:41:08 [1] [USING_DOCKER] [chrome] [65.0] | |
2018/04/12 10:41:08 [1] [CREATING_CONTAINER] [selenoid/vnc:chrome_65.0] | |
2018/04/12 10:41:08 [0] [STARTING_CONTAINER] [selenoid/vnc:chrome_65.0] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] | |
2018/04/12 10:41:08 [1] [STARTING_CONTAINER] [selenoid/vnc:chrome_65.0] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] | |
2018/04/12 10:41:09 [0] [CONTAINER_STARTED] [selenoid/vnc:chrome_65.0] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] [0.44s] | |
2018/04/12 10:41:09 [0] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder] | |
2018/04/12 10:41:09 [1] [CONTAINER_STARTED] [selenoid/vnc:chrome_65.0] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] [0.48s] | |
2018/04/12 10:41:09 [1] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder] | |
2018/04/12 10:41:09 [0] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder] [08d1bd04c24d6d1c768b5ca755454964292b5eeafc6b38f8d2d34054eab319b2] | |
2018/04/12 10:41:09 [1] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder] [ac221671e1f2010fb3447edfdf494a59547ac85a0fcbede1d1c327bea19a9f38] | |
2018/04/12 10:41:09 [0] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder] [08d1bd04c24d6d1c768b5ca755454964292b5eeafc6b38f8d2d34054eab319b2] [0.68s] | |
2018/04/12 10:41:10 [1] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder] [ac221671e1f2010fb3447edfdf494a59547ac85a0fcbede1d1c327bea19a9f38] [0.80s] | |
2018/04/12 10:41:10 [1] [SERVICE_STARTED] [selenoid/vnc:chrome_65.0] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] [0.31s] | |
2018/04/12 10:41:10 [1] [PROXY_TO] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] [http://172.17.0.5:4444/] | |
2018/04/12 10:41:10 [1] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [1] | |
2018/04/12 10:41:10 [0] [SERVICE_STARTED] [selenoid/vnc:chrome_65.0] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] [0.46s] | |
2018/04/12 10:41:10 [0] [PROXY_TO] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] [http://172.17.0.4:4444/] | |
2018/04/12 10:41:10 [0] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [1] | |
2018/04/12 10:41:40 [0] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:41:40 [0] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [2] | |
2018/04/12 10:41:40 [1] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:41:40 [1] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [2] | |
2018/04/12 10:42:10 [1] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:42:10 [1] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [3] | |
2018/04/12 10:42:10 [0] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:42:10 [0] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [3] | |
2018/04/12 10:42:41 [1] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:42:41 [1] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [4] | |
2018/04/12 10:42:41 [0] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:42:41 [0] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [4] | |
2018/04/12 10:42:51 [1] [CLIENT_DISCONNECTED] [unknown] [10.0.2.2] [102.85s] | |
2018/04/12 10:42:51 [1] [STOPPING_VIDEO_CONTAINER] [ac221671e1f2010fb3447edfdf494a59547ac85a0fcbede1d1c327bea19a9f38] | |
2018/04/12 10:42:51 [0] [CLIENT_DISCONNECTED] [unknown] [10.0.2.2] [102.85s] | |
2018/04/12 10:42:51 [0] [STOPPING_VIDEO_CONTAINER] [08d1bd04c24d6d1c768b5ca755454964292b5eeafc6b38f8d2d34054eab319b2] | |
2018/04/12 10:42:52 [1] [STOPPED_VIDEO_CONTAINER] [ac221671e1f2010fb3447edfdf494a59547ac85a0fcbede1d1c327bea19a9f38] | |
2018/04/12 10:42:52 [1] [REMOVING_CONTAINER] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] | |
2018/04/12 10:42:52 [0] [STOPPED_VIDEO_CONTAINER] [08d1bd04c24d6d1c768b5ca755454964292b5eeafc6b38f8d2d34054eab319b2] | |
2018/04/12 10:42:52 [0] [REMOVING_CONTAINER] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] | |
2018/04/12 10:42:54 [-] [NEW_REQUEST] [unknown] [10.0.2.2] | |
2018/04/12 10:42:54 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.0.2.2] | |
2018/04/12 10:42:54 [2] [LOCATING_SERVICE] [chrome] [] | |
2018/04/12 10:42:54 [-] [DEFAULT_VERSION] [Using default version: 65.0] | |
2018/04/12 10:42:54 [2] [USING_DOCKER] [chrome] [65.0] | |
2018/04/12 10:42:54 [2] [CREATING_CONTAINER] [selenoid/vnc:chrome_65.0] | |
2018/04/12 10:42:54 [-] [NEW_REQUEST] [unknown] [10.0.2.2] | |
2018/04/12 10:42:54 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.0.2.2] | |
2018/04/12 10:42:54 [3] [LOCATING_SERVICE] [chrome] [] | |
2018/04/12 10:42:54 [-] [DEFAULT_VERSION] [Using default version: 65.0] | |
2018/04/12 10:42:54 [3] [USING_DOCKER] [chrome] [65.0] | |
2018/04/12 10:42:54 [3] [CREATING_CONTAINER] [selenoid/vnc:chrome_65.0] | |
2018/04/12 10:42:54 [3] [STARTING_CONTAINER] [selenoid/vnc:chrome_65.0] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] | |
2018/04/12 10:42:54 [2] [STARTING_CONTAINER] [selenoid/vnc:chrome_65.0] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] | |
2018/04/12 10:42:55 [0] [CONTAINER_REMOVED] [ef97f1c617fca9bf206b143ed50935190583814a733e7321419a8693fe860198] | |
2018/04/12 10:42:55 [1] [CONTAINER_REMOVED] [a51c0955353d857dff78307c330572dfbf55280f8281f7c2b9e60582954f0990] | |
2018/04/12 10:42:58 [3] [CONTAINER_STARTED] [selenoid/vnc:chrome_65.0] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] [3.85s] | |
2018/04/12 10:42:58 [2] [CONTAINER_STARTED] [selenoid/vnc:chrome_65.0] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] [3.83s] | |
2018/04/12 10:42:59 [3] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder] | |
2018/04/12 10:42:59 [2] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder] | |
2018/04/12 10:42:59 [2] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder] [e7dc7e89b21afb39733d31e60b183593f77375d6ea13923edf80d48fcdb7e820] | |
2018/04/12 10:42:59 [3] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder] [0eaf50ed6f66089c9da06809a64530a9c15ebd0edfd59548fa2c32ef24925867] | |
2018/04/12 10:43:02 [3] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder] [0eaf50ed6f66089c9da06809a64530a9c15ebd0edfd59548fa2c32ef24925867] [3.73s] | |
2018/04/12 10:43:02 [2] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder] [e7dc7e89b21afb39733d31e60b183593f77375d6ea13923edf80d48fcdb7e820] [3.72s] | |
2018/04/12 10:43:09 [3] [SERVICE_STARTED] [selenoid/vnc:chrome_65.0] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] [6.87s] | |
2018/04/12 10:43:09 [3] [PROXY_TO] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] [http://172.17.0.4:4444/] | |
2018/04/12 10:43:09 [3] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [1] | |
2018/04/12 10:43:09 [2] [SERVICE_STARTED] [selenoid/vnc:chrome_65.0] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] [6.88s] | |
2018/04/12 10:43:09 [2] [PROXY_TO] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] [http://172.17.0.5:4444/] | |
2018/04/12 10:43:09 [2] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [1] | |
2018/04/12 10:43:40 [3] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:43:40 [3] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [2] | |
2018/04/12 10:43:40 [2] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:43:40 [2] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [2] | |
2018/04/12 10:44:10 [2] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:44:10 [2] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [3] | |
2018/04/12 10:44:10 [3] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:44:10 [3] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [3] | |
2018/04/12 10:44:40 [2] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:44:40 [2] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [4] | |
2018/04/12 10:44:40 [3] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:44:40 [3] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [4] | |
2018/04/12 10:45:10 [3] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:45:10 [3] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [5] | |
2018/04/12 10:45:10 [2] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:45:10 [2] [SESSION_ATTEMPTED] [http://172.17.0.5:4444/] [5] | |
2018/04/12 10:45:40 [3] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:45:40 [3] [SESSION_FAILED] [http://172.17.0.4:4444/] [New session attempts retry count exceeded] | |
2018/04/12 10:45:40 [3] [STOPPING_VIDEO_CONTAINER] [0eaf50ed6f66089c9da06809a64530a9c15ebd0edfd59548fa2c32ef24925867] | |
2018/04/12 10:45:40 [2] [SESSION_ATTEMPT_TIMED_OUT] [30s] | |
2018/04/12 10:45:40 [2] [SESSION_FAILED] [http://172.17.0.5:4444/] [New session attempts retry count exceeded] | |
2018/04/12 10:45:40 [2] [STOPPING_VIDEO_CONTAINER] [e7dc7e89b21afb39733d31e60b183593f77375d6ea13923edf80d48fcdb7e820] | |
2018/04/12 10:45:41 [2] [STOPPED_VIDEO_CONTAINER] [e7dc7e89b21afb39733d31e60b183593f77375d6ea13923edf80d48fcdb7e820] | |
2018/04/12 10:45:41 [2] [REMOVING_CONTAINER] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] | |
2018/04/12 10:45:41 [3] [STOPPED_VIDEO_CONTAINER] [0eaf50ed6f66089c9da06809a64530a9c15ebd0edfd59548fa2c32ef24925867] | |
2018/04/12 10:45:41 [3] [REMOVING_CONTAINER] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] | |
2018/04/12 10:45:43 [2] [CONTAINER_REMOVED] [81ab4e6deca629fe9fd43601defebdbdc2ab6887c51cfcfff2fd2782c133a3a3] | |
2018/04/12 10:45:43 [3] [CONTAINER_REMOVED] [700810bcb4cca818cb791d62f385d036649b97739fe3eee381c0d94558c1fed9] | |
[root@default-centos-73 video]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@default-centos-73 video]# docker logs 0eaf50ed6f66 | |
Waiting for display to open... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
Sleeping before next attempt... | |
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers | |
built with gcc 6.3.0 (Alpine 6.3.0) | |
configuration: --prefix=/usr --enable-avfilter --enable-gpl --enable-libx264 --disable-stripping --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-w32threads --disable-alsa --disable-audiotoolbox --disable-cuda --disable-cuvid --disable-d3d11va --disable-dxva2 --disable-nvenc --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --disable-debug | |
libavutil 55. 78.100 / 55. 78.100 | |
libavcodec 57.107.100 / 57.107.100 | |
libavformat 57. 83.100 / 57. 83.100 | |
libavdevice 57. 10.100 / 57. 10.100 | |
libavfilter 6.107.100 / 6.107.100 | |
libswscale 4. 8.100 / 4. 8.100 | |
libswresample 2. 9.100 / 2. 9.100 | |
libpostproc 54. 7.100 / 54. 7.100 | |
[x11grab @ 0x7f610c273440] Cannot get the image data event_error: response_type:0 error_code:128 sequence:9 resource_id:604 minor_code:4 major_code:130. | |
[x11grab @ 0x7f610c273440] Stream #0: not enough frames to estimate rate; consider increasing probesize | |
Input #0, x11grab, from 'browser:99': | |
Duration: N/A, bitrate: N/A | |
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 12 fps, 1000k tbr, 1000k tbn, 1000k tbc | |
Stream mapping: | |
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) | |
Press [q] to stop, [?] for help | |
[libx264 @ 0x7f610930e080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX LZCNT | |
[libx264 @ 0x7f610930e080] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit | |
[libx264 @ 0x7f610930e080] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 | |
Output #0, mp4, to '/data/selenoid9bf0de89c1d1e9126b555741c1c052d8.mp4': | |
Metadata: | |
encoder : Lavf57.83.100 | |
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1920x1080, q=-1--1, 12 fps, 12288 tbn, 12 tbc | |
Metadata: | |
encoder : Lavc57.107.100 libx264 | |
Side data: | |
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 | |
[root@default-centos-73 video]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment