Andrei Costescu edited a comment on Bug JENKINS-27884

I had no browser selected. Explained in description why.

Indeed the above were from version 1.113 where it also happened once immediately after downgrade (probably because of a 'sc <defunct>' process).
Anyway here it is from when I had it running with 1.125, then it started to fail again:

At 16:34 there was a successful run of the job.
At 18:34 the tests failed because of a problem with our app. server not starting and thus the unit tests could not connect to it; unit tests connect of 2 min timed out and the job failed.
At 19:14:35 I now see two jobs started simultaneously (one by a timer the other by a colleague manually starting it in the same second)! One succeeded and one failed with that error in console "Process count non-zero, but no active tunnels found - Process count reset to zero - FATAL: Unable to start Sauce Connect, please see the Sauce Connect log"
That should not have been possible as the 2 jobs are configured to be mutually exclusive (using another plugin for that) and never saw them run at the same time before even if I started them both manually one after the other.
But anyway it still shouldn't make sauce plugin non-functional for all future jobs... All future jobs failed until I downgraded and killed processes.

20150410 163455.234 [01966] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 163455.235 [01966] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 163455.235 [01966] *** WARNING: open file limit 4096 is too low!
20150410 163455.235 [01966] *** Sauce Labs recommends setting it to at least 8000.
20150410 163455.235 [01966] Trying to autodetect proxy settings
20150410 163455.235 [01966] Starting up; pid 1966
20150410 163455.235 [01966] Command line arguments: /usr/share/tomcat7/sc-4.3.8-linux/bin/sc -u *** -k **** -P 4445
20150410 163455.236 [01966] Using no proxy for connecting to Sauce Labs REST API.
20150410 163455.237 [01966] Resolving saucelabs.com to 162.222.73.28 took 1 ms.
20150410 163456.140 [01966] PROXY *** scproxy started ***
20150410 163456.141 [01966] PROXY found DNS server 172.16.0.23
20150410 163456.190 [01966] Started scproxy on port 46880.
20150410 163456.190 [01966] Please wait for 'you may start your tests' to start your tests.
20150410 163456.190 [01966] Starting secure remote tunnel VM...
20150410 163502.660 [01966] Secure remote tunnel VM provisioned.
20150410 163502.660 [01966] Tunnel ID: fa3516d6947745628480895860b3bb18
20150410 163503.576 [01966] Secure remote tunnel VM is now: booting
20150410 163513.145 [01966] Secure remote tunnel VM is now: running
20150410 163513.145 [01966] Remote tunnel host is: maki77078.miso.saucelabs.com
20150410 163513.145 [01966] Using no proxy for connecting to tunnel VM.
20150410 163513.166 [01966] Resolving maki77078.miso.saucelabs.com to 162.222.77.78 took 21 ms.
20150410 163513.166 [01966] Starting Selenium listener...
20150410 163513.167 [01966] Establishing secure TLS connection to tunnel...
20150410 163513.167 [01966] [EVDNS] Added nameserver 172.16.0.23:53 as 0x7f44b0004c70
20150410 163513.168 [01966] Selenium listener started on port 4445.
20150410 163513.363 [01966] MAIN connecting to KGP server 162.222.77.78 took 195 ms
20150410 163513.365 [01966] MAIN warning, failed to set KGP bufferevent priority to 0
20150410 163516.378 [01966] Sauce Connect is up, you may start your tests.
20150410 163516.378 [01966] Connection established.
20150410 163724.106 [01966] PROXY resolved 'localhost' to '127.0.0.1'
(...) many many PROXY lines when running tests (...)
20150410 164056.602 [01966] PROXY 127.0.0.1:48955 <- 200 localhost:8089 (196 bytes)
20150410 164101.193 [01966] Cleaning up.
20150410 164102.171 [01966] Checking domain overlap for my domain sauce-connect.proxy, other tunnel domain sauce-connect.proxy
20150410 164102.171 [01966] Overlapping domain: sauce-connect.proxy, shutting down tunnel fa3516d6947745628480895860b3bb18.
20150410 164109.020 [01966] KGP warning: no keepalive ack for > 5s
20150410 164109.424 [01966] Goodbye.


20150410 183415.744 [09736] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 183415.745 [09736] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 183415.745 [09736] *** WARNING: open file limit 4096 is too low!
20150410 183415.745 [09736] *** Sauce Labs recommends setting it to at least 8000.
20150410 183415.745 [09736] Trying to autodetect proxy settings
20150410 183415.745 [09736] Starting up; pid 9736
20150410 183415.745 [09736] Command line arguments: /usr/share/tomcat7/sc-4.3.8-linux/bin/sc -u *** -k **** -P 4445
20150410 183415.746 [09736] Using no proxy for connecting to Sauce Labs REST API.
20150410 183415.747 [09736] Resolving saucelabs.com to 162.222.73.28 took 1 ms.
20150410 183416.680 [09736] PROXY *** scproxy started ***
20150410 183416.681 [09736] PROXY found DNS server 172.16.0.23
20150410 183416.731 [09736] Started scproxy on port 60369.
20150410 183416.731 [09736] Please wait for 'you may start your tests' to start your tests.
20150410 183416.731 [09736] Starting secure remote tunnel VM...
20150410 183425.150 [09736] Secure remote tunnel VM provisioned.
20150410 183425.150 [09736] Tunnel ID: 5355d188860f49ba94ea232b208580ad
20150410 183426.081 [09736] Secure remote tunnel VM is now: booting
20150410 183434.138 [09736] Secure remote tunnel VM is now: running
20150410 183434.138 [09736] Remote tunnel host is: maki77079.miso.saucelabs.com
20150410 183434.138 [09736] Using no proxy for connecting to tunnel VM.
20150410 183434.159 [09736] Resolving maki77079.miso.saucelabs.com to 162.222.77.79 took 20 ms.
20150410 183434.159 [09736] Starting Selenium listener...
20150410 183434.159 [09736] Establishing secure TLS connection to tunnel...
20150410 183434.163 [09736] [EVDNS] Added nameserver 172.16.0.23:53 as 0x7f4ffc004c70
20150410 183434.164 [09736] Selenium listener started on port 4445.
20150410 183434.336 [09736] MAIN connecting to KGP server 162.222.77.79 took 172 ms
20150410 183434.338 [09736] MAIN warning, failed to set KGP bufferevent priority to 0
20150410 183436.334 [09736] Sauce Connect is up, you may start your tests.
20150410 183436.334 [09736] Connection established.
20150410 183847.038 [09736] PROXY resolved 'localhost' to '127.0.0.1'
20150410 183847.038 [09736] PROXY 127.0.0.1:47382 -> GET http://localhost:8089*** (495 bytes)
20150410 183847.064 [09736] PROXY 127.0.0.1:47382 <- localhost:8089 connection error: Connection refused
20150410 183847.420 [09736] PROXY resolved 'localhost' to '127.0.0.1'
20150410 183847.420 [09736] PROXY 127.0.0.1:47384 -> GET http://localhost:8089*** (495 bytes)
20150410 183847.420 [09736] PROXY 127.0.0.1:47384 <- localhost:8089 connection error: Connection refused
20150410 184242.684 [09736] Cleaning up.
20150410 184243.857 [09736] Checking domain overlap for my domain sauce-connect.proxy, other tunnel domain sauce-connect.proxy
20150410 184243.858 [09736] Overlapping domain: sauce-connect.proxy, shutting down tunnel 5355d188860f49ba94ea232b208580ad.
20150410 184249.354 [09736] Goodbye.


20150410 191447.334 [16189] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 191447.334 [16189] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 191447.334 [16189] *** WARNING: open file limit 4096 is too low!
20150410 191447.334 [16189] *** Sauce Labs recommends setting it to at least 8000.
20150410 191447.334 [16189] Trying to autodetect proxy settings
20150410 191447.335 [16189] Starting up; pid 16189
20150410 191447.335 [16189] Command line arguments: /usr/share/tomcat7/sc-4.3.8-linux/bin/sc -u *** -k **** -P 4445 --vm-version dev-varnish
20150410 191447.335 [16189] Using no proxy for connecting to Sauce Labs REST API.
20150410 191447.336 [16189] Resolving saucelabs.com to 162.222.73.28 took 1 ms.
20150410 191448.256 [16189] PROXY *** scproxy started ***
20150410 191448.256 [16189] PROXY found DNS server 172.16.0.23
20150410 191448.306 [16189] Started scproxy on port 52081.
20150410 191448.306 [16189] Please wait for 'you may start your tests' to start your tests.
20150410 191448.306 [16189] Starting secure remote tunnel VM...
20150410 191455.826 [16189] Secure remote tunnel VM provisioned.
20150410 191455.826 [16189] Tunnel ID: fbb4c5881dc44b78a64084124e43e222
20150410 191456.862 [16189] Secure remote tunnel VM is now: booting
20150410 191507.908 [16189] Secure remote tunnel VM is now: running
20150410 191507.908 [16189] Remote tunnel host is: maki76173.miso.saucelabs.com
20150410 191507.908 [16189] Using no proxy for connecting to tunnel VM.
20150410 191507.923 [16189] Resolving maki76173.miso.saucelabs.com to 162.222.76.173 took 14 ms.
20150410 191507.924 [16189] Starting Selenium listener...
20150410 191507.924 [16189] Establishing secure TLS connection to tunnel...
20150410 191507.924 [16189] [EVDNS] Added nameserver 172.16.0.23:53 as 0x7fb028004c70
20150410 191507.924 [16189] Selenium listener started on port 4445.
20150410 191508.110 [16189] MAIN connecting to KGP server 162.222.76.173 took 2814 ms
20150410 191508.111 [16189] MAIN warning, failed to set KGP bufferevent priority to 0
20150410 191509.986 [16189] Sauce Connect is up, you may start your tests.
20150410 191509.986 [16189] Connection established.

20150410 191710.439 [16326] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 191710.439 [16326] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 191710.439 [16326] *** WARNING: open file limit 4096 is too low!
20150410 191710.439 [16326] *** Sauce Labs recommends setting it to at least 8000.
20150410 191710.439 [16326] Trying to autodetect proxy settings
20150410 191710.439 [16326] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 191710.439 [16326] Error creating pidfile /tmp/sc_client.pid.

20150410 191715.978 [16332] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 191715.979 [16332] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 191715.979 [16332] *** WARNING: open file limit 4096 is too low!
20150410 191715.980 [16332] *** Sauce Labs recommends setting it to at least 8000.
20150410 191715.980 [16332] Trying to autodetect proxy settings
20150410 191715.980 [16332] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 191715.980 [16332] Error creating pidfile /tmp/sc_client.pid.

20150410 191721.580 [16346] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 191721.580 [16346] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 191721.580 [16346] *** WARNING: open file limit 4096 is too low!
20150410 191721.580 [16346] *** Sauce Labs recommends setting it to at least 8000.
20150410 191721.580 [16346] Trying to autodetect proxy settings
20150410 191721.580 [16346] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 191721.580 [16346] Error creating pidfile /tmp/sc_client.pid.

20150410 191727.309 [16356] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 191727.309 [16356] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 191727.309 [16356] *** WARNING: open file limit 4096 is too low!
20150410 191727.309 [16356] *** Sauce Labs recommends setting it to at least 8000.
20150410 191727.309 [16356] Trying to autodetect proxy settings
20150410 191727.309 [16356] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 191727.309 [16356] Error creating pidfile /tmp/sc_client.pid.

20150410 191924.772 [16189] PROXY resolved 'localhost' to '127.0.0.1'
(...) many many PROXY lines when running tests (...)
20150410 191938.340 [16189] PROXY 127.0.0.1:41565 <- 200 www.***.com:443 (42472 bytes)

20150410 192147.510 [16584] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 192147.510 [16584] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 192147.510 [16584] *** WARNING: open file limit 4096 is too low!
20150410 192147.510 [16584] *** Sauce Labs recommends setting it to at least 8000.
20150410 192147.510 [16584] Trying to autodetect proxy settings
20150410 192147.510 [16584] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 192147.510 [16584] Error creating pidfile /tmp/sc_client.pid.
20150410 192152.973 [16590] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 192152.974 [16590] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 192152.974 [16590] *** WARNING: open file limit 4096 is too low!
20150410 192152.974 [16590] *** Sauce Labs recommends setting it to at least 8000.
20150410 192152.974 [16590] Trying to autodetect proxy settings
20150410 192152.974 [16590] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 192152.974 [16590] Error creating pidfile /tmp/sc_client.pid.
20150410 192158.482 [16596] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 192158.483 [16596] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 192158.483 [16596] *** WARNING: open file limit 4096 is too low!
20150410 192158.483 [16596] *** Sauce Labs recommends setting it to at least 8000.
20150410 192158.483 [16596] Trying to autodetect proxy settings
20150410 192158.483 [16596] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 192158.483 [16596] Error creating pidfile /tmp/sc_client.pid.
20150410 192203.936 [16604] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 192203.936 [16604] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 192203.936 [16604] *** WARNING: open file limit 4096 is too low!
20150410 192203.936 [16604] *** Sauce Labs recommends setting it to at least 8000.
20150410 192203.936 [16604] Trying to autodetect proxy settings
20150410 192203.936 [16604] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 192203.936 [16604] Error creating pidfile /tmp/sc_client.pid.
20150410 223209.460 [28199] Sauce Connect 4.3.8, build 1671 0fa40e2
20150410 223209.460 [28199] Using CA certificate bundle /etc/ssl/certs/ca-bundle.crt.
20150410 223209.460 [28199] *** WARNING: open file limit 4096 is too low!
20150410 223209.460 [28199] *** Sauce Labs recommends setting it to at least 8000.
20150410 223209.460 [28199] Trying to autodetect proxy settings
20150410 223209.460 [28199] can't lock pidfile /tmp/sc_client.pid. Please check if Sauce Connect is already running.
20150410 223209.460 [28199] Error creating pidfile /tmp/sc_client.pid.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to