Errors starting services in gitlab container causing failure starting orchestrated environment

Noted that in many test jobs we see errors starting the docker containers due to an error occurring starting a service such as nginx/logrotate/alertmanager etc.

This causes the startup process in gitlab-qa to ultimately raise an Docker::Shellout::StatusError exception causing the pipeline job to just fail.

e.g. The 3 most recent pipelines from #qa-master

    ================================================================================
    Error executing action `enable` on resource 'runit_service[logrotate]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    ruby_block[restart_log_service] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/libraries/provider_runit_service.rb line 66) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
    ---- Begin output of /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/logrotate/log ----
    STDOUT: timeout: run: /opt/gitlab/service/logrotate/log: (pid 511) 30s, got TERM
    STDERR: 
    ---- End output of /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/logrotate/log ----
    Ran /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/logrotate/log returned 1
bundler: failed to load command: exe/gitlab-qa (exe/gitlab-qa)
Gitlab::QA::Docker::Shellout::StatusError: Docker command `docker attach --sig-proxy=false praefect` failed! ✘
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/shellout.rb:34:in `block in execute!'
  /usr/local/lib/ruby/2.7.0/open3.rb:219:in `popen_run'
  /usr/local/lib/ruby/2.7.0/open3.rb:208:in `popen2e'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/shellout.rb:22:in `execute!'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/command.rb:48:in `execute!'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/command.rb:52:in `execute'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/docker/engine.rb:76:in `attach'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/component/gitlab.rb:157:in `reconfigure'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/component/base.rb:151:in `instance_no_teardown'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/component/base.rb:47:in `instance'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb:44:in `block in perform'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb:35:in `tap'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb:35:in `perform'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `tap'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/scenario/template.rb:6:in `perform'
  /builds/gitlab-org/gitlab-qa-mirror/lib/gitlab/qa/runner.rb:91:in `run'
  exe/gitlab-qa:8:in `<top (required)>'
Edited by John McDonnell