blade-sauce_labs_plugin 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,76 @@
1
+ Upstart is an event-based replacement for the `/sbin/init` Linux daemon that handles starting of tasks and services during boot, stopping them during shutdown, and supervising them while the system is running. For more information check out http://upstart.ubuntu.com.
2
+
3
+ Upstart will automatically start the Sauce Connect service, monitor each client, and tranparently restart the client if the client gets disconnected or a tunnel goes down.
4
+
5
+ Sauce Connect is a secure tunneling application that enables the Sauce Labs browser cloud to connect with websites you want to test that are hosted on your local machine or behind a firewall.
6
+
7
+ These instructions will help you set up Sauce Connect so that the starting and stopping of tunnels is controlled by Upstart.
8
+
9
+ 1. Install the Sauce connect binary to `/usr/local/bin/sc`.
10
+ 2. Copy the `sc_worker.conf` & `sc.conf` files to `/etc/init`.
11
+ This will create two new upstart services, `sc_worker` and `sc.conf`. `sc_worker` manages individual Sauce Connect instance, while `sc.conf` manages multiple-instances started with `sc_worker`, allowing you to start multiple instances on the same server.
12
+ 3. Check that the services are installed correctly with the `initctl list` command:
13
+ ```
14
+ $ initctl list | grep '^sc'
15
+ sc_worker stop/waiting
16
+ sc stop/waiting
17
+ ```
18
+ 4. Create a file named `/etc/default/sc` to store Sauce Connect's configuration options.
19
+ It should look something like that:
20
+ ```
21
+ SAUCE_USERNAME=username
22
+ SAUCE_ACCESS_KEY=fd698b0a-744c-4205-pa3d-16e2734127bf
23
+ ```
24
+ Single Instance
25
+ ---------------
26
+
27
+ Once that's done you can start and stop invidual Sauce Connect instance like this:
28
+ ```
29
+ $ sudo start sc_worker SE_PORT=8888
30
+ sc_worker (8888) start/running, process 8856
31
+ ```
32
+ The value `SE_PORT` corresponds to the Selenium port, each instance must have a
33
+ unique Seleniun port to listen on.
34
+
35
+ Let's check that our instace was started properly:
36
+
37
+ $ status sc_worker SE_PORT=8888
38
+ sc_worker (8888) start/running, process 8856
39
+
40
+ Looks all good, you now have a single instance of Sauce Connect running. If the
41
+ tunnel closes or anything unexpected happens upstart will automatically restart
42
+ Sauce Connect to re-establish connectivity.
43
+
44
+ Multiple Instances
45
+ ------------------
46
+
47
+ While single instance setups are perfectly acceptable for small scale operations, you should set up multiple instances of Sauce Connect with High Availability to improve reliability & performance. For more information about the High Availability configuration for Sauce Connect, check our our documentation wiki: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect
48
+
49
+ To use multiple instances, edit `/etc/default/sc` and add the parameter `SE_PORTS`
50
+ like this:
51
+ ```
52
+ SAUCE_USERNAME=username
53
+ SAUCE_ACCESS_KEY=fd698b0a-744c-4205-pa3d-16e2734127bf
54
+ SE_PORTS='8000 8001 8002 8003'
55
+ ```
56
+ This will create four Sauce Connect instances, listening on port 8000, 8001, 8002,
57
+ & 8003. Let's try it out with the `sc` service:
58
+ ```
59
+ $ sudo start sc
60
+ sc start/running
61
+ ```
62
+ Let's check the status of the `sc_worker` services:
63
+ ```
64
+ $ initctl list | grep sc_worker
65
+ sc_worker (8001) start/running, process 8503
66
+ sc_worker (8000) start/running, process 8500
67
+ sc_worker (8003) start/running, process 8512
68
+ sc_worker (8002) start/running, process 8508
69
+ ```
70
+ Stopping those instances is the same as starting them:
71
+ ```
72
+ $ sudo stop sc
73
+ sc stop/waiting
74
+ $ initctl list | grep sc_worker
75
+ sc_worker stop/waiting
76
+ ```
@@ -0,0 +1,29 @@
1
+ # vim:ft=upstart:
2
+ description "SauceLabs' Sauce Connect tunnel worker supervisor service"
3
+
4
+ start on runlevel [2345]
5
+ stop on runlevel [016]
6
+
7
+ pre-start script
8
+ # Load configuration
9
+ test -r /etc/default/sc || { stop; exit 0; }
10
+ . /etc/default/sc
11
+ test -n "$SE_PORTS" || { stop; exit 1; }
12
+
13
+ for se_port in $SE_PORTS
14
+ do
15
+ start sc_worker SE_PORT=$se_port
16
+ done
17
+ end script
18
+
19
+ post-stop script
20
+ # Load configuration
21
+ test -r /etc/default/sc || { stop; exit 0; }
22
+ . /etc/default/sc
23
+ test -n "$SE_PORTS" || { stop; exit 1; }
24
+
25
+ for se_port in $SE_PORTS
26
+ do
27
+ stop sc_worker SE_PORT=$se_port || true # ignore shutdown instances
28
+ done
29
+ end script
@@ -0,0 +1,59 @@
1
+ #
2
+ # This Upstart config expects that Sauce Connect (SC) is installed at
3
+ # /usr/local/bin/sc. Edit that path if it is installed somewhere else.
4
+ #
5
+ # Copy this file to /etc/init/sc.conf, and do:
6
+ #
7
+ # $ sudo initctl reload-configuration
8
+ #
9
+ # Then you can manage SC via the usual upstart tools, e.g.:
10
+ #
11
+ # $ sudo start sc
12
+ # $ sudo restart sc
13
+ # $ sudo stop sc
14
+ # $ sudo status sc
15
+ #
16
+
17
+ description "SauceLabs' Sauce Connect tunnel worker service"
18
+
19
+ instance $SE_PORT
20
+ usage "SE_PORT - selenium port"
21
+
22
+ stop on stopping sc
23
+
24
+ setuid nobody
25
+ setgid nogroup
26
+ chdir /tmp
27
+ # Restart Sauce Connect if it exits
28
+ respawn
29
+ # Sauce Connect output go to $logdir/sc.log.
30
+ console log
31
+ # Bump maximum number of open files/sockets.
32
+ limit nofile 8192 8192
33
+
34
+ # Sauce Connect will be killed if doesn't stop within 2 minutes. SC usually
35
+ # exits much faster than 2 minutes but it can occasionally get stuck if the
36
+ # connectivity between SC & Saucelabs is interupted.
37
+ kill timeout 120
38
+
39
+ script
40
+ # Load configuration
41
+ test -r /etc/default/sc || { stop; exit 0; }
42
+ . /etc/default/sc
43
+
44
+ # Temporary PID file since it's a required option for SauceConnect
45
+ pidfile="/tmp/.sauceconnect_$SE_PORT.pid"
46
+ exec \
47
+ env \
48
+ SAUCE_USERNAME="$SAUCE_USERNAME" \
49
+ SAUCE_ACCESS_KEY="$SAUCE_ACCESS_KEY" \
50
+ /usr/local/bin/sc \
51
+ --logfile - \
52
+ --pidfile "$pidfile" \
53
+ --se-port "$SE_PORT" \
54
+ --no-remove-colliding-tunnels \
55
+ --wait-tunnel-shutdown
56
+ end script
57
+
58
+ # Remove PID file once we've started the service since it's not needed
59
+ post-start exec rm -f "/tmp/.sauceconnect_$SE_PORT.pid"
@@ -19,35 +19,34 @@ Public Release of Sauce Connect <br />
19
19
  READ THIS AGREEMENT CAREFULLY.
20
20
  </b></p>
21
21
  <p>
22
- BY CLICKING ON THE “I AGREE” BUTTON OR INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS AGREEMENT IS ENFORCEABLE LIKE ANY WRITTEN AGREEMENT SIGNED BY YOU.
22
+ BY USING THIS SOFTWARE, YOU ARE ACCEPTING ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS AGREEMENT IS ENFORCEABLE LIKE ANY WRITTEN AGREEMENT SIGNED BY YOU.
23
23
  </p><p>
24
- IF YOU DO NOT AGREE TO ALL OF THESE TERMS AND CONDITIONS, CLICK “I DON’T AGREE”. YOU WILL NOT BE GIVEN ACCESS TO THE SOFTWARE UNLESS YOU ACCEPT THE TERMS OF THIS AGREEMENT. IF YOU HAVE PAID A LICENSE FEE FOR USE OF THE SOFTWARE AND DO NOT AGREE TO THESE TERMS, YOU MAY RETURN OR CONFIRM DELETION OF ALL COPIES OF THE SOFTWARE FOR A FULL REFUND PROVIDED YOU (A) DO NOT USE THE SOFTWARE AND (B) RETURN THE SOFTWARE WITHIN THIRTY (30) DAYS OF YOUR INITIAL PURCHASE.
25
- </p><p>
26
- IF YOU WISH TO USE the Software AS AN EMPLOYEE, CONTRACTOR, OR AGENT OF A CORPORATION, PARTNERSHIP OR SIMILAR ENTITY, THEN YOU MUST BE AUTHORIZED TO SIGN FOR AND BIND THE ENTITY IN ORDER TO ACCEPT THE TERMS OF THIS AGREEMENT. THE LICENSES GRANTED UNDER THIS AGREEMENT ARE EXPRESSLY CONDITIONED UPON ACCEPTANCE BY SUCH AUTHORIZED PERSONNEL.
24
+ IF YOU WISH TO USE THE SOFTWARE AS AN EMPLOYEE, CONTRACTOR, OR AGENT OF A CORPORATION, PARTNERSHIP OR SIMILAR ENTITY, THEN YOU MUST BE AUTHORIZED TO SIGN FOR AND BIND THE ENTITY IN ORDER TO ACCEPT THE TERMS OF THIS AGREEMENT. THE LICENSES GRANTED UNDER THIS AGREEMENT ARE EXPRESSLY CONDITIONED UPON ACCEPTANCE BY SUCH AUTHORIZED PERSONNEL.
27
25
  </p><p>
28
26
  IF YOU HAVE ENTERED INTO A SEPARATE WRITTEN LICENSE AGREEMENT WITH SAUCE LABS FOR USE OF THE SOFTWARE, THE TERMS AND CONDITIONS OF SUCH OTHER AGREEMENT SHALL PREVAIL OVER ANY CONFLICTING TERMS OR CONDITIONS IN THIS AGREEMENT.
29
27
  </p><p>
30
- This End User License Agreement (“Agreement”) is between Sauce Labs Inc, located at 55 Sheridan St., San Francisco, CA 94103 (“Sauce Labs”) and the customer (individual or entity) that has downloaded or otherwise procured the licensed Software (as defined below) for use as an end user (“you”). This Agreement covers any Software and supporting technical documentation provided with the Software (“Documentation”).
28
+ This End User License Agreement (“Agreement”) is between Sauce Labs Inc., located at 539 Bryant Street, #303, San Francisco, CA 94107 (“Sauce Labs”) and the customer (individual or entity) that has downloaded or otherwise procured the licensed Software (as defined below) for use as an end user (“you”). This Agreement covers any Software and supporting technical documentation provided with the Software (“Documentation”).
31
29
  </p>
32
30
  <div>
33
31
  <h4>1. Definitions. </h4>
34
32
  <p>
35
- <u>Effective Date:</u> means the earlier of the date you sign an Order Form or the date on which the Software is first made available to you.
36
- Order Form: means any order on Sauce Labs’ standard order form which is executed by Sauce Labs and you and which references this Agreement. Each Order Form which references this Agreement shall be deemed a part of this Agreement. This Agreement is binding on you whether or not you execute an Order Form with Sauce Labs.
33
+ <u>Effective Date:</u> means the earlier of (i) the date you sign an Order Form or (ii) the date on which the Software is first made available to you. Order Form: means any order on Sauce Labs’ standard order form which is executed by Sauce Labs and you and which references this Agreement. Each Order Form which references this Agreement shall be deemed a part of this Agreement. This Agreement is binding on you whether or not you execute an Order Form with Sauce Labs.
37
34
  </p><p>
38
35
  <u>Software:</u> means the Sauce Labs software product(s) provided in connection with this Agreement in object code form. “Software” shall also include any releases provided to or purchased by you under any separate support and maintenance agreement you may enter into with Sauce Labs. Unless otherwise noted, the Software and Documentation are referred to collectively herein as “Software”.
39
36
  </p>
40
37
  <h4>2. License.</h4>
41
38
  <p>
42
- 2.1 <u>Grant of License</u>. Subject to all of the terms and conditions of this Agreement, Sauce Labs grants you a non-transferable, non-sublicensable, non-exclusive license to use the Software, but only in accordance with (i) the Documentation, (ii) this Agreement and (iii) any license term, subscription term or other user, computer, field of use or other restrictions set forth in the applicable Order Form or otherwise specified upon download of the Software.
39
+ 2.1 <u>Grant of License</u>. Subject to all of the terms and conditions of this Agreement and compliance therewith, Sauce Labs grants you a non-transferable, non-sublicensable, non-exclusive license to: (A) use the Software for internal purposes only; and (B) distribute the Software solely for the purpose of bundling the Software with any of your products or services; provided that, such bundling shall not be permitted if the primary value of your product or service is the Software. In the case of both (A) and (B), your use and distribution of the Software shall be in accordance with (i) the Documentation, (ii) this Agreement and (iii) any license term, subscription term or other user, computer, field of use or other restrictions set forth in the applicable Order Form or otherwise specified upon download of the Software. The foregoing license does not include a license to (and you will not use or register anywhere in the world) any trademark or service mark used by Sauce Labs anywhere in the world.
43
40
  </p><p>
44
- 2.2 <u>Installation and Copies</u>. Sauce Labs shall deliver the Software and Documentation by disk or other media or make it available for download in electronic form. Sauce Labs shall also provide you with electronic passwords or other enabling mechanisms if necessary to permit the licensed usage of the Software. Delivery shall be deemed to occur as of the Effective Date (or, if later, such date on which the Software and license keys are first made available to you). You may copy and install the number of copies of Software you indicated to Sauce Labs at the time of download. You may also make one copy of the Software for back-up and archival purposes.
41
+ 2.2 <u>Installation and Copies</u>. The Software and Documentation are available via download in electronic form. Sauce Labs shall also provide you with a user name and electronic password or other enabling mechanisms if necessary to permit the licensed usage of the Software. Delivery shall be deemed to occur as of the Effective Date (or, if later, such date on which the Software and license keys are first made available to you).
45
42
  </p><p>
46
- 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions);(c) distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized in writing by Sauce Labs; or (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software.
43
+ 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions); (c) except as permitted by 2.1(B), distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized herein or in writing by Sauce Labs; (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software, (g) use the Software in a manner that violates, or encourages the violation of, the legal rights of others, (h) use the Software for any unlawful, invasive, infringing, defamatory, or fraudulent purpose, (i) use the Software to interfere with Sauce Lab’s products and services, (j) create or attempt to create a substitute or similar service or product through use of or access to the Software or proprietary information related thereto; (k) use the Software to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature; (l) use the Software to alter, disable, interfere with, or circumvent any aspect of Sauce Labs’ products or services, including but not limited to security features of such products and services; or (l) use the Software in a manner not authorized by Sauce Labs.
47
44
  </p><p>
45
+ 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions); (c) except as permitted by 2.1(B), distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized herein or in writing by Sauce Labs; (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software, (g) use the Software in a manner that violates, or encourages the violation of, the legal rights of others, (h) use the Software for any unlawful, invasive, infringing, defamatory, or fraudulent purpose, (i) use the Software to interfere with Sauce Lab’s products and services, (j) create or attempt to create a substitute or similar service or product through use of or access to the Software or proprietary information related thereto; (k) use the Software to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature; (l) use the Software to alter, disable, interfere with, or circumvent any aspect of Sauce Labs’ products or services, including but not limited to security features of such products and services; or (l) use the Software in a manner not authorized by Sauce Labs.
48
46
  2.4 <u>Special Provision regarding Beta or Evaluation Code</u>. If the Software was provided to you free of charge or is otherwise designated as a “beta” or “evaluation” release, you acknowledge that the Software may not be complete or fully functional and furthermore that Sauce Labs provides the Software to you without any support, maintenance or other obligation of any kind. Sauce Labs does not guarantee that the Software will continue to be made available for any period of time or that any future release of the Software will be made available under the same terms.
49
47
  </p><p>
50
- 2.5 <u>Third-Party Open Source Code</u>. The Software may contain or be provided with components subject to the terms and conditions of “open source” software licenses (“Open Source Software”). Open Source Software may be identified in the Documentation, legal notices or as otherwise designated by Sauce Labs or provided to Customer upon Customer’s written request. To the extent required by the license that accompanies the Open Source Software, the terms of such license will apply in lieu of the terms of this Agreement with respect to such Open Source Software, including, without limitation, any provisions governing access to source code, modification or reverse engineering.
48
+ 2.5 <u>Third-Party Open Source Code</u>. The Software may contain or be provided with components subject to the terms and conditions of “open source” software licenses (“Open Source Software”). Open Source Software may be identified in the Documentation, legal notices or as otherwise designated by Sauce Labs or provided to Customer upon Customer’s written request. To the extent required by the license that accompanies the Open Source Software, the terms of such license will apply in lieu of the terms of this Agreement with respect to such Open Source Software, including, without limitation, any provisions governing access to source code, modification or reverse engineering.
49
+
51
50
  </p><p>
52
51
  <h4>3. Ownership.</h4>
53
52
  <p>
@@ -59,7 +58,7 @@ Notwithstanding anything to the contrary contained herein, except for the limite
59
58
  </p><p>
60
59
  4.2 <u>Termination</u>. Upon any expiration or termination of this Agreement, you shall cease any and all use of any Software and destroy all copies thereof and so certify to Sauce Labs in writing.
61
60
  </p><p>
62
- 4.3 <u>Survival</u>. Sections 2.3 (License Restrictions), 3 (Ownership), 4 (Term of Agreement), 5 (Warranty Disclaimer), 7 (Limitation of Remedies and Damages), 8 (Confidential Information), 10 (Export Compliance) and 11 (General) shall survive any termination or expiration of this Agreement.
61
+ 4.3 <u>Survival</u>. Sections 1 (Definitions), 2.3 (License Restrictions), 3 (Ownership), 4 (Term of Agreement), 5 (Warranty Disclaimer), 7 (Limitation of Remedies and Damages), 8 (Confidential Information), 10 (Export Compliance) and 11 (General) shall survive any termination or expiration of this Agreement.
63
62
 
64
63
  <h4>5. Warranty Disclaimer. </h4>
65
64
  <p>
@@ -68,17 +67,17 @@ THE SOFTWARE AND ALL SERVICES ARE PROVIDED “AS IS”. NEITHER SAUCE LABS NOR I
68
67
  YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR LOCAL LAWS, WHICH THIS AGREEMENT CANNOT CHANGE.
69
68
  </p>
70
69
  <h4>6. Support &amp; Maintenance.</h4>
71
- <p>Sauce Labs may provide the support and maintenance services, if any, as
72
- separately purchased by you and specified in the applicable Order Form. All
73
- support &amp; maintenance shall be provided pursuant to Sauce Labs’ standard service terms which are available upon request from Sauce Labs.
70
+ <p>Sauce Labs may provide the support and maintenance services, if any, as separately purchased by you and specified in the applicable Order Form. All support & maintenance shall be provided pursuant to Sauce Labs’ standard service terms which are available upon request from Sauce Labs.
74
71
  </p>
75
72
  <h4>7. Limitation of Remedies and Damages.</h4>
76
73
  <p>
77
- 7.1 NEITHER YOU NOR Sauce Labs (Including Sauce Labssuppliers) SHALL BE LIABLE FOR ANY LOSS OF USE, LOST DATA, FAILURE OF SECURITY MECHANISMS, INTERRUPTION OF BUSINESS, OR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING LOST PROFITS), REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF INFORMED OF THE POSSIBILITY OF SUCH DAMAGES IN ADVANCE.
74
+ 7.1 SAUCE LABS (INCLUDING SAUCE LABSSUPPLIERS) SHALL NOT BE LIABLE FOR ANY LOSS OF USE, LOST DATA, FAILURE OF SECURITY MECHANISMS, INTERRUPTION OF BUSINESS, OR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING LOST PROFITS), REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF IT IS INFORMED OF THE POSSIBILITY OF SUCH DAMAGES IN ADVANCE.
75
+ </p><p>
76
+ 7.2 NOTWITHSTANDING ANY OTHER PROVISION OF THIS AGREEMENT, SAUCE LABS AND ITS SUPPLIERS’ ENTIRE LIABILITY TO YOU UNDER THIS AGREEMENT SHALL NOT EXCEED THE AMOUNT ACTUALLY PAID BY YOU TO SAUCE LABS UNDER THIS AGREEMENT.
78
77
  </p><p>
79
- 7.2 NOTWITHSTANDING ANY OTHER PROVISION OF THIS AGREEMENT, SAUCE LABS AND ITS SUPPLIERS’ ENTIRE LIABILITY TO YOU UNDER THIS AGREEMENT SHALL NOT EXCEED THE AMOUNT ACTUALLY PAID BY YOU TO SAUCE LABS UNDER THIS AGREEMENT.
78
+ 7.3 The parties agree that the limitations specified in this Section 7 will survive and apply even if any limited remedy specified in this Agreement is found to have failed of its essential purpose.
80
79
  </p><p>
81
- 7.3 The parties agree that the limitations specified in this Section 7 will survive and apply even if any limited remedy specified in this Agreement is found to have failed of its essential purpose.
80
+ 7.4 You shall, at your expense, indemnify, hold harmless and, at Sauce Lab’s option and request, defend Sauce Labs and its affiliates, and its and their officers, employees, agents, and suppliers from and against any claims, suits, losses, liabilities, damages, court judgments or awards and the associated costs and expenses (including attorneys’ fees) (collectively, “Losses”) payable to third parties because of (i) actual or alleged infringement by any of your products or services of any intellectual property right or other right of a third party or (ii) breach by you of any representation or warranty contained in this Agreement.
82
81
  </p>
83
82
  <h4>8. Confidential Information.</h4>
84
83
  <p>Any software, documentation or technical information provided by Sauce Labs (or its agents) shall be deemed “Sauce Labs Confidential Information” without any marking or further designation. Except as expressly authorized herein, you will hold in confidence and not use or disclose any Sauce Labs Confidential Information. You acknowledge that disclosure of Sauce Labs Confidential Information would cause substantial harm to Sauce Labs that could not be remedied by the payment of damages alone and therefore that upon any such disclosure by you, Sauce Labs shall be entitled to appropriate equitable relief in addition to whatever remedies it might have at law.
@@ -96,7 +95,7 @@ You agree that Sauce Labs may disclose you as a customer of Sauce Labs.
96
95
  </p><p>
97
96
  11.2 <u>Severability</u>. If any provision of this Agreement shall be adjudged by any court of competent jurisdiction to be unenforceable or invalid, that provision shall be limited to the minimum extent necessary so that this Agreement shall otherwise remain in effect.
98
97
  </p><p>
99
- 11.3 <u>Governing Law; Jurisdiction and Venue</u>. This Agreement shall be governed by the laws of The State of California and the United States without regard to conflicts of laws provisions thereof, and without regard to the United Nations Convention on the International Sale of Goods. The jurisdiction and venue for actions related to the subject matter hereof shall be the California state and United States federal courts located in San Francisco, California, and both parties hereby submit to the personal jurisdiction of such courts.
98
+ 11.3 <u>Governing Law; Jurisdiction and Venue</u>. This Agreement shall be governed by the laws of The State of California and the United States without regard to conflicts of laws provisions thereof, and without regard to the United Nations Convention on the International Sale of Goods. The jurisdiction and venue for actions related to the subject matter hereof shall be the California state and United States federal courts located in San Francisco, California, and both parties hereby submit to the personal jurisdiction of such courts.
100
99
  </p><p>
101
100
  11.4 <u>Attorneys’ Fees and Costs</u>. The prevailing party in any action to enforce this Agreement will be entitled to recover its attorneys’ fees and costs in connection with such action.
102
101
  </p><p>
@@ -110,7 +109,7 @@ You agree that Sauce Labs may disclose you as a customer of Sauce Labs.
110
109
  </p><p>
111
110
  11.9 <u>Force Majeure</u>. Neither party shall be liable to the other for any delay or failure to perform any obligation under this Agreement (except for a failure to pay fees) if the delay or failure is due to unforeseen events, which occur after the signing of this Agreement and which are beyond the reasonable control of the parties, such as strikes, blockade, war, terrorism, riots, natural disasters, refusal of license by the government or other governmental agencies, in so far as such an event prevents or delays the affected party from fulfilling its obligations and such party is not able to prevent or remove the force majeure at reasonable cost.
112
111
  </p><p>
113
- 11.10 <u>Government End-Users</u>. The Software is commercial computer software. If the user or licensee of the Software is an agency, department, or other entity of the United States Government, the use, duplication, reproduction, release, modification, disclosure, or transfer of the Software, or any related documentation of any kind, including technical data and manuals, is restricted by a license agreement or by the terms of this Agreement in accordance with Federal Acquisition Regulation 12.212 for civilian purposes and Defense Federal Acquisition Regulation Supplement 227.7202 for military purposes. The Software was developed fully at private expense. All other use is prohibited.
112
+ 11.10 <u>Government End-Users</u>. The Software is commercial computer software. If the user or licensee of the Software is an agency, department, or other entity of the United States Government, the use, duplication, reproduction, release, modification, disclosure, or transfer of the Software, or any related documentation of any kind, including technical data and manuals, is restricted by a license agreement or by the terms of this Agreement in accordance with Federal Acquisition Regulation 12.212 for civilian purposes and Defense Federal Acquisition Regulation Supplement 227.7202 for military purposes. The Software was developed fully at private expense. All other use is prohibited.
114
113
  </p>
115
114
  </body>
116
115
  </html>
@@ -0,0 +1,314 @@
1
+
2
+
3
+ Sauce Connect Open Source Software Declaration
4
+ =====
5
+
6
+
7
+ Sauce Connect Proxy Server software incorporates the following open source components and associated licenses:
8
+
9
+
10
+ C-ares
11
+ =====
12
+ Copyright © 1998 by the Massachusetts Institute of Technology.
13
+
14
+ Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any
15
+ purpose. It is provided "as is" without express or implied warranty.
16
+
17
+
18
+ Curl
19
+ =====
20
+ COPYRIGHT AND PERMISSION NOTICE
21
+ Copyright (c) 1996 - 2016, Daniel Stenberg, daniel@haxx.se, and many contributors, see the THANKS file. All rights reserved.
22
+ Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+ Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
25
+
26
+
27
+ Jannson
28
+ =====
29
+ Copyright (c) 2009-2014 Petri Lehtinen <petri@digip.org>
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy
32
+ of this software and associated documentation files (the "Software"), to deal
33
+ in the Software without restriction, including without limitation the rights
34
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35
+ copies of the Software, and to permit persons to whom the Software is
36
+ furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in
39
+ all copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
44
+
45
+
46
+ Libevent
47
+ =====
48
+ Libevent is available for use under the following license, commonly known
49
+ as the 3-clause (or "modified") BSD license:
50
+
51
+ Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
52
+ Copyright (c) 2007-2010 Niels Provos and Nick Mathewson
53
+
54
+ Redistribution and use in source and binary forms, with or without
55
+ modification, are permitted provided that the following conditions
56
+ are met:
57
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
58
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
59
+ 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
60
+
61
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
62
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
63
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
64
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
65
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
66
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
67
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
68
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
69
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
70
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
71
+
72
+ Portions of Libevent are based on works by others, also made available by
73
+ them under the three-clause BSD license above. The copyright notices are
74
+ available in the corresponding source files; the license is as above. Here's
75
+ a list:
76
+
77
+ log.c:
78
+ Copyright (c) 2000 Dug Song <dugsong@monkey.org>
79
+ Copyright (c) 1993 The Regents of the University of California.
80
+
81
+ strlcpy.c:
82
+ Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
83
+
84
+ win32select.c:
85
+ Copyright (c) 2003 Michael A. Davis <mike@datanerds.net>
86
+
87
+ evport.c:
88
+ Copyright (c) 2007 Sun Microsystems
89
+
90
+ ht-internal.h:
91
+ Copyright (c) 2002 Christopher Clark
92
+
93
+ minheap-internal.h:
94
+ Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com>
95
+
96
+ The arc4module is available under the following, sometimes called the
97
+ "OpenBSD" license:
98
+
99
+ Copyright (c) 1996, David Mazieres <dm@uun.org>
100
+ Copyright (c) 2008, Damien Miller <djm@openbsd.org>
101
+
102
+ Permission to use, copy, modify, and distribute this software for any
103
+ purpose with or without fee is hereby granted, provided that the above
104
+ copyright notice and this permission notice appear in all copies.
105
+
106
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
107
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
108
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
109
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
110
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
111
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
112
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
113
+
114
+
115
+ Libpac
116
+ =====
117
+ Copyright © 2014 Sauce Labs Inc.
118
+
119
+ Licensed under the Apache License, Version 2.0 (the "License");
120
+ you may not use this file except in compliance with the License.
121
+ You may obtain a copy of the License at
122
+
123
+ http://www.apache.org/licenses/LICENSE-2.0
124
+
125
+ Unless required by applicable law or agreed to in writing, software
126
+ distributed under the License is distributed on an "AS IS" BASIS,
127
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
128
+ See the License for the specific language governing permissions and
129
+ limitations under the License.
130
+
131
+ Winpthreads
132
+ =====
133
+ Copyright (c) 2011 mingw-w64 project
134
+
135
+ Permission is hereby granted, free of charge, to any person obtaining a
136
+ copy of this software and associated documentation files (the "Software"),
137
+ to deal in the Software without restriction, including without limitation
138
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
139
+ and/or sell copies of the Software, and to permit persons to whom the
140
+ Software is furnished to do so, subject to the following conditions:
141
+
142
+ The above copyright notice and this permission notice shall be included in
143
+ all copies or substantial portions of the Software.
144
+
145
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
146
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
147
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
148
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
149
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
150
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
151
+ DEALINGS IN THE SOFTWARE.
152
+
153
+
154
+ /*
155
+ * Parts of this library are derived by:
156
+ *
157
+ * Posix Threads library for Microsoft Windows
158
+ *
159
+ * Use at own risk, there is no implied warranty to this code.
160
+ * It uses undocumented features of Microsoft Windows that can change
161
+ * at any time in the future.
162
+ *
163
+ * (C) 2010 Lockless Inc.
164
+ * All rights reserved.
165
+ *
166
+ * Redistribution and use in source and binary forms, with or without modification,
167
+ * are permitted provided that the following conditions are met:
168
+ *
169
+ *
170
+ * * Redistributions of source code must retain the above copyright notice,
171
+ * this list of conditions and the following disclaimer.
172
+ * * Redistributions in binary form must reproduce the above copyright notice,
173
+ * this list of conditions and the following disclaimer in the documentation
174
+ * and/or other materials provided with the distribution.
175
+ * * Neither the name of Lockless Inc. nor the names of its contributors may be
176
+ * used to endorse or promote products derived from this software without
177
+ * specific prior written permission.
178
+ *
179
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AN
180
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
181
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
182
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
183
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
184
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
185
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
186
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
187
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
188
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
189
+ */
190
+
191
+
192
+ OpenSSL
193
+ =====
194
+
195
+ The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
196
+ the OpenSSL License and the original SSLeay license apply to the toolkit.
197
+ See below for the actual license texts.
198
+
199
+ OpenSSL License
200
+ ---------------
201
+
202
+ /* ====================================================================
203
+ * Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved.
204
+ *
205
+ * Redistribution and use in source and binary forms, with or without
206
+ * modification, are permitted provided that the following conditions
207
+ * are met:
208
+ *
209
+ * 1. Redistributions of source code must retain the above copyright
210
+ * notice, this list of conditions and the following disclaimer.
211
+ *
212
+ * 2. Redistributions in binary form must reproduce the above copyright
213
+ * notice, this list of conditions and the following disclaimer in
214
+ * the documentation and/or other materials provided with the
215
+ * distribution.
216
+ *
217
+ * 3. All advertising materials mentioning features or use of this
218
+ * software must display the following acknowledgment:
219
+ * "This product includes software developed by the OpenSSL Project
220
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
221
+ *
222
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
223
+ * endorse or promote products derived from this software without
224
+ * prior written permission. For written permission, please contact
225
+ * openssl-core@openssl.org.
226
+ *
227
+ * 5. Products derived from this software may not be called "OpenSSL"
228
+ * nor may "OpenSSL" appear in their names without prior written
229
+ * permission of the OpenSSL Project.
230
+ *
231
+ * 6. Redistributions of any form whatsoever must retain the following
232
+ * acknowledgment:
233
+ * "This product includes software developed by the OpenSSL Project
234
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
235
+ *
236
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
237
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
238
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
239
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
240
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
241
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
242
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
243
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
244
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
245
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
246
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
247
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
248
+ * ====================================================================
249
+ *
250
+ * This product includes cryptographic software written by Eric Young
251
+ * (eay@cryptsoft.com). This product includes software written by Tim
252
+ * Hudson (tjh@cryptsoft.com).
253
+ *
254
+ */
255
+
256
+ Original SSLeay License
257
+ -----------------------
258
+
259
+ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
260
+ * All rights reserved.
261
+ *
262
+ * This package is an SSL implementation written
263
+ * by Eric Young (eay@cryptsoft.com).
264
+ * The implementation was written so as to conform with Netscapes SSL.
265
+ *
266
+ * This library is free for commercial and non-commercial use as long as
267
+ * the following conditions are aheared to. The following conditions
268
+ * apply to all code found in this distribution, be it the RC4, RSA,
269
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
270
+ * included with this distribution is covered by the same copyright terms
271
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
272
+ *
273
+ * Copyright remains Eric Young's, and as such any Copyright notices in
274
+ * the code are not to be removed.
275
+ * If this package is used in a product, Eric Young should be given attribution
276
+ * as the author of the parts of the library used.
277
+ * This can be in the form of a textual message at program startup or
278
+ * in documentation (online or textual) provided with the package.
279
+ *
280
+ * Redistribution and use in source and binary forms, with or without
281
+ * modification, are permitted provided that the following conditions
282
+ * are met:
283
+ * 1. Redistributions of source code must retain the copyright
284
+ * notice, this list of conditions and the following disclaimer.
285
+ * 2. Redistributions in binary form must reproduce the above copyright
286
+ * notice, this list of conditions and the following disclaimer in the
287
+ * documentation and/or other materials provided with the distribution.
288
+ * 3. All advertising materials mentioning features or use of this software
289
+ * must display the following acknowledgement:
290
+ * "This product includes cryptographic software written by
291
+ * Eric Young (eay@cryptsoft.com)"
292
+ * The word 'cryptographic' can be left out if the rouines from the library
293
+ * being used are not cryptographic related :-).
294
+ * 4. If you include any Windows specific code (or a derivative thereof) from
295
+ * the apps directory (application code) you must include an acknowledgement:
296
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
297
+ *
298
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
299
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
300
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
301
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
302
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
303
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
304
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
305
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
306
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
307
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
308
+ * SUCH DAMAGE.
309
+ *
310
+ * The licence and distribution terms for any publically available version or
311
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
312
+ * copied and put under another distribution licence
313
+ * [including the GNU Public Licence.]
314
+ */