CI web console terminates with job
Summary
When attaching to web console, the console stops when the job exists
Just for the record, session_timeout is set
[session_server]
listen_address = "0.0.0.0:8093"
advertise_address = "wptsrv2.deif.com:8093"
session_timeout = 1800
I se the bug on our own server, I do not have the web console option on gitlab.com
Steps to reproduce
- Start the project below
- Connect web console
- do ps -ef
- kill the sleep
Now the console exits
Example Project
https://gitlab.com/kfc1/consoletest
What is the current bug behavior?
Web console exists before server_timeout
What is the expected correct behavior?
It should be possible to use the console for 1800 second after the job has finished.
Relevant logs and/or screenshots
root@runner-bxe1bquj-project-967-concurrent-0:/# ps -a
PID TTY TIME CMD
26 pts/0 00:00:00 ps
root@runner-bxe1bquj-project-967-concurrent-0:/# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 10:17 ? 00:00:00 /bin/bash
root 7 1 0 10:17 ? 00:00:00 /bin/bash
root 9 7 0 10:17 ? 00:00:00 sleep 120
root 10 0 0 10:17 pts/0 00:00:00 /bin/bash
root 27 10 0 10:18 pts/0 00:00:00 ps -ef
root@runner-bxe1bquj-project-967-concurrent-0:/# kill 9
root@runner-bxe1bquj-project-967-concurrent-0:/#
Results of GitLab environment info
Running with gitlab-runner 13.10.0 (54944146)