cloudfoundry / cf-mysql-release

Cloud Foundry MySQL Release
Apache License 2.0
58 stars 106 forks source link

Smoke Test MySQL Deployment - Proxy #222

Closed VatslavDS closed 4 years ago

VatslavDS commented 5 years ago

When I run the smoke test errand after mysql deployment in Cloud Foundry I got this message:

I'm using this release: https://github.com/cloudfoundry/cf-mysql-release.git#v36.10.0 And this deployment files: https://github.com/EngineerBetter/cf-mysql-deployment.git

The bosh create deployment: bosh -d cf-mysql deploy \ cf-mysql-deployment.yml --vars-store mysql-creds.yml \ -o ./operations/add-broker.yml \ --vars-file bosh-lite/default-vars.yml \ --var cf_mysql_external_host=p-mysql.$SYSTEM_DOMAIN \ --var cf_mysql_host=$BOSH_ENVIRONMENT \ --var cf_admin_password=$CF_ADMIN_PASSWORD \ --var cf_api_url=https://api.$SYSTEM_DOMAIN \ --var cf_skip_ssl_validation=true

There were failures detected in the following suites:
proxy ./cf-mysql-service/proxy

       Ginkgo ran 3 suites in 6m15.236127052s  
       Test Suite Failed  

Full output of the command: bosh -e vbox -d cf-mysql run-errand smoke-tests

Using environment '192.168.50.6' as client 'admin'

Using deployment 'cf-mysql'

Task 60

Task 60 | 11:29:38 | Preparing deployment: Preparing deployment Task 60 | 11:29:42 | Preparing package compilation: Finding packages to compile (00:00:00) Task 60 | 11:29:42 | Preparing deployment: Preparing deployment (00:00:04) Task 60 | 11:29:42 | Creating missing vms: smoke-tests-vm/96f7fcf4-db7b-43f6-b4a1-252fe9fc5837 (0) (00:00:22) Task 60 | 11:30:04 | Updating instance smoke-tests-vm: smoke-tests-vm/96f7fcf4-db7b-43f6-b4a1-252fe9fc5837 (0) (canary) (00:01:19) Task 60 | 11:31:23 | Running errand: smoke-tests-vm/96f7fcf4-db7b-43f6-b4a1-252fe9fc5837 (0) (00:06:19) Task 60 | 11:37:42 | Fetching logs for smoke-tests-vm/96f7fcf4-db7b-43f6-b4a1-252fe9fc5837 (0): Finding and packing log files (00:00:01)

Task 60 Started Tue Feb 26 11:29:38 UTC 2019 Task 60 Finished Tue Feb 26 11:37:43 UTC 2019 Task 60 Duration 00:08:05 Task 60 done

Instance smoke-tests-vm/96f7fcf4-db7b-43f6-b4a1-252fe9fc5837
Exit Code 1
Stdout Running Suite: P-MySQL Acceptance Tests -- Lifecycle tests
==========================================================
Random Seed: 1551180686 - Will randomize all specs
Will run 4 of 4 specs

       Running in parallel across 2 nodes  

       P-MySQL Lifecycle Tests   
         Lists all public plans in cf marketplace  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/lifecycle/lifecycle_test.go:36  

       [2019-02-26 11:31:35.31 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:31:36.38 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:31:43.71 (UTC)]> cf create-quota MySQLATS-1-QUOTA-c30d0bd50191b57f -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans   
       Creating quota MySQLATS-1-QUOTA-c30d0bd50191b57f as admin...  
       OK  

       [2019-02-26 11:31:46.09 (UTC)]> cf create-org MySQLATS-1-ORG-4cef6ed58be40cb9   
       Creating org MySQLATS-1-ORG-4cef6ed58be40cb9 as admin...  
       OK  

       Assigning role OrgManager to user admin in org MySQLATS-1-ORG-4cef6ed58be40cb9 ...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-4cef6ed58be40cb9"' to target new org  

       [2019-02-26 11:31:52.05 (UTC)]> cf set-quota MySQLATS-1-ORG-4cef6ed58be40cb9 MySQLATS-1-QUOTA-c30d0bd50191b57f   
       Setting quota MySQLATS-1-QUOTA-c30d0bd50191b57f to org MySQLATS-1-ORG-4cef6ed58be40cb9 as admin...  
       OK  

       [2019-02-26 11:31:53.62 (UTC)]> cf create-space -o MySQLATS-1-ORG-4cef6ed58be40cb9 MySQLATS-1-SPACE-38f5529e375e5661   
       Creating space MySQLATS-1-SPACE-38f5529e375e5661 in org MySQLATS-1-ORG-4cef6ed58be40cb9 as admin...  
       OK  
       Assigning role RoleSpaceManager to user admin in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as admin...  
       OK  
       Assigning role RoleSpaceDeveloper to user admin in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as admin...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-4cef6ed58be40cb9" -s "MySQLATS-1-SPACE-38f5529e375e5661"' to target new space  

       [2019-02-26 11:31:58.27 (UTC)]> cf create-user MySQLATS-USER-1-2019_02_26-11h31m35.312s [REDACTED]   
       Creating user MySQLATS-USER-1-2019_02_26-11h31m35.312s...  
       OK  

       TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.  

       [2019-02-26 11:32:02.24 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h31m35.312s MySQLATS-1-ORG-4cef6ed58be40cb9 MySQLATS-1-SPACE-38f5529e375e5661 SpaceManager   
       Assigning role RoleSpaceManager to user MySQLATS-USER-1-2019_02_26-11h31m35.312s in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as admin...  
       OK  

       [2019-02-26 11:32:07.99 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h31m35.312s MySQLATS-1-ORG-4cef6ed58be40cb9 MySQLATS-1-SPACE-38f5529e375e5661 SpaceDeveloper   
       Assigning role RoleSpaceDeveloper to user MySQLATS-USER-1-2019_02_26-11h31m35.312s in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as admin...  
       OK  

       [2019-02-26 11:32:11.98 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h31m35.312s MySQLATS-1-ORG-4cef6ed58be40cb9 MySQLATS-1-SPACE-38f5529e375e5661 SpaceAuditor   
       Assigning role RoleSpaceAuditor to user MySQLATS-USER-1-2019_02_26-11h31m35.312s in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as admin...  
       OK  

       [2019-02-26 11:32:16.93 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:32:17.15 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:17.62 (UTC)]> cf auth MySQLATS-USER-1-2019_02_26-11h31m35.312s [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:19.30 (UTC)]> cf target -o MySQLATS-1-ORG-4cef6ed58be40cb9 -s MySQLATS-1-SPACE-38f5529e375e5661   
       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       user:           MySQLATS-USER-1-2019_02_26-11h31m35.312s  
       org:            MySQLATS-1-ORG-4cef6ed58be40cb9  
       space:          MySQLATS-1-SPACE-38f5529e375e5661  

       [2019-02-26 11:32:20.70 (UTC)]> cf m   
       Getting services from marketplace in org MySQLATS-1-ORG-4cef6ed58be40cb9 / space MySQLATS-1-SPACE-38f5529e375e5661 as MySQLATS-USER-1-2019_02_26-11h31m35.312s...  
       OK  

       service   plans        description  
       p-mysql   10mb, 20mb   MySQL databases on demand  

       TIP:  Use 'cf marketplace -s SERVICE' to view descriptions of individual plans of a given service.  

       [2019-02-26 11:32:22.34 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:32:22.82 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:23.46 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:25.82 (UTC)]> cf delete-user -f MySQLATS-USER-1-2019_02_26-11h31m35.312s   
       Deleting user MySQLATS-USER-1-2019_02_26-11h31m35.312s as admin...  
       OK  

       [2019-02-26 11:32:33.78 (UTC)]> cf delete-org -f MySQLATS-1-ORG-4cef6ed58be40cb9   
       Deleting org MySQLATS-1-ORG-4cef6ed58be40cb9 as admin...  
       OK  

       [2019-02-26 11:32:37.65 (UTC)]> cf delete-quota -f MySQLATS-1-QUOTA-c30d0bd50191b57f   
       Deleting quota MySQLATS-1-QUOTA-c30d0bd50191b57f as admin...  
       OK  

       [2019-02-26 11:32:44.41 (UTC)]> cf logout   
       Logging out...  
       OK  

       •  
       ------------------------------  

       [2019-02-26 11:31:35.03 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:31:36.37 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:31:43.74 (UTC)]> cf create-quota MySQLATS-2-QUOTA-5f02d753073026f4 -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans   
       Creating quota MySQLATS-2-QUOTA-5f02d753073026f4 as admin...  
       OK  

       [2019-02-26 11:31:46.11 (UTC)]> cf create-org MySQLATS-2-ORG-c9c200bea31d0a8a   
       Creating org MySQLATS-2-ORG-c9c200bea31d0a8a as admin...  
       OK  

       Assigning role OrgManager to user admin in org MySQLATS-2-ORG-c9c200bea31d0a8a ...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-2-ORG-c9c200bea31d0a8a"' to target new org  

       [2019-02-26 11:31:51.62 (UTC)]> cf set-quota MySQLATS-2-ORG-c9c200bea31d0a8a MySQLATS-2-QUOTA-5f02d753073026f4   
       Setting quota MySQLATS-2-QUOTA-5f02d753073026f4 to org MySQLATS-2-ORG-c9c200bea31d0a8a as admin...  
       OK  

       [2019-02-26 11:31:53.27 (UTC)]> cf create-space -o MySQLATS-2-ORG-c9c200bea31d0a8a MySQLATS-2-SPACE-d89af1924cb918d1   
       Creating space MySQLATS-2-SPACE-d89af1924cb918d1 in org MySQLATS-2-ORG-c9c200bea31d0a8a as admin...  
       OK  
       Assigning role RoleSpaceManager to user admin in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as admin...  
       OK  
       Assigning role RoleSpaceDeveloper to user admin in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as admin...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-2-ORG-c9c200bea31d0a8a" -s "MySQLATS-2-SPACE-d89af1924cb918d1"' to target new space  

       [2019-02-26 11:31:58.06 (UTC)]> cf create-user MySQLATS-USER-2-2019_02_26-11h31m35.031s [REDACTED]   
       Creating user MySQLATS-USER-2-2019_02_26-11h31m35.031s...  
       OK  

       TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.  

       [2019-02-26 11:32:02.21 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h31m35.031s MySQLATS-2-ORG-c9c200bea31d0a8a MySQLATS-2-SPACE-d89af1924cb918d1 SpaceManager   
       Assigning role RoleSpaceManager to user MySQLATS-USER-2-2019_02_26-11h31m35.031s in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as admin...  
       OK  

       [2019-02-26 11:32:06.45 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h31m35.031s MySQLATS-2-ORG-c9c200bea31d0a8a MySQLATS-2-SPACE-d89af1924cb918d1 SpaceDeveloper   
       Assigning role RoleSpaceDeveloper to user MySQLATS-USER-2-2019_02_26-11h31m35.031s in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as admin...  
       OK  

       [2019-02-26 11:32:11.24 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h31m35.031s MySQLATS-2-ORG-c9c200bea31d0a8a MySQLATS-2-SPACE-d89af1924cb918d1 SpaceAuditor   
       Assigning role RoleSpaceAuditor to user MySQLATS-USER-2-2019_02_26-11h31m35.031s in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as admin...  
       OK  

       [2019-02-26 11:32:15.10 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:32:15.55 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:16.14 (UTC)]> cf auth MySQLATS-USER-2-2019_02_26-11h31m35.031s [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:17.52 (UTC)]> cf target -o MySQLATS-2-ORG-c9c200bea31d0a8a -s MySQLATS-2-SPACE-d89af1924cb918d1   
       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       user:           MySQLATS-USER-2-2019_02_26-11h31m35.031s  
       org:            MySQLATS-2-ORG-c9c200bea31d0a8a  
       space:          MySQLATS-2-SPACE-d89af1924cb918d1  

       [2019-02-26 11:32:18.70 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:19.38 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:21.14 (UTC)]> cf enable-service-access p-mysql -o MySQLATS-2-ORG-c9c200bea31d0a8a   
       Enabling access to all plans of service p-mysql for the org MySQLATS-2-ORG-c9c200bea31d0a8a as admin...  
       OK  

       [2019-02-26 11:32:23.07 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:32:23.28 (UTC)]> cf unbind-service lifecycle-2--74bc579a2d9960e2 lifecycle-2--90a9919ab274a97e   
       Unbinding app lifecycle-2--74bc579a2d9960e2 from service lifecycle-2--90a9919ab274a97e in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as MySQLATS-USER-2-2019_02_26-11h31m35.031s...  
       App lifecycle-2--74bc579a2d9960e2 not found  
       FAILED  

       [2019-02-26 11:32:25.22 (UTC)]> cf delete-service -f lifecycle-2--90a9919ab274a97e   
       Deleting service lifecycle-2--90a9919ab274a97e in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as MySQLATS-USER-2-2019_02_26-11h31m35.031s...  
       OK  
       Service lifecycle-2--90a9919ab274a97e does not exist.  

       [2019-02-26 11:32:26.35 (UTC)]> cf delete lifecycle-2--74bc579a2d9960e2 -f   
       Deleting app lifecycle-2--74bc579a2d9960e2 in org MySQLATS-2-ORG-c9c200bea31d0a8a / space MySQLATS-2-SPACE-d89af1924cb918d1 as MySQLATS-USER-2-2019_02_26-11h31m35.031s...  
       OK  
       App lifecycle-2--74bc579a2d9960e2 does not exist.  

       [2019-02-26 11:32:27.84 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:32:28.06 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:28.48 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:29.85 (UTC)]> cf delete-user -f MySQLATS-USER-2-2019_02_26-11h31m35.031s   
       Deleting user MySQLATS-USER-2-2019_02_26-11h31m35.031s as admin...  
       OK  

       [2019-02-26 11:32:36.63 (UTC)]> cf delete-org -f MySQLATS-2-ORG-c9c200bea31d0a8a   
       Deleting org MySQLATS-2-ORG-c9c200bea31d0a8a as admin...  
       OK  

       [2019-02-26 11:32:43.53 (UTC)]> cf delete-quota -f MySQLATS-2-QUOTA-5f02d753073026f4   
       Deleting quota MySQLATS-2-QUOTA-5f02d753073026f4 as admin...  
       OK  

       [2019-02-26 11:32:49.96 (UTC)]> cf logout   
       Logging out...  
       OK  

       S  
       ------------------------------  
       P-MySQL Lifecycle Tests   
         Does not list any private plans in cf marketplace  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/lifecycle/lifecycle_test.go:52  

       [2019-02-26 11:32:50.36 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:50.76 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:52.34 (UTC)]> cf create-quota MySQLATS-2-QUOTA-86dbcb5ddcfd16ca -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans   
       Creating quota MySQLATS-2-QUOTA-86dbcb5ddcfd16ca as admin...  
       OK  

       [2019-02-26 11:32:53.02 (UTC)]> cf create-org MySQLATS-2-ORG-1911e0f892042794   
       Creating org MySQLATS-2-ORG-1911e0f892042794 as admin...  
       OK  

       Assigning role OrgManager to user admin in org MySQLATS-2-ORG-1911e0f892042794 ...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-2-ORG-1911e0f892042794"' to target new org  

       [2019-02-26 11:32:55.55 (UTC)]> cf set-quota MySQLATS-2-ORG-1911e0f892042794 MySQLATS-2-QUOTA-86dbcb5ddcfd16ca   
       Setting quota MySQLATS-2-QUOTA-86dbcb5ddcfd16ca to org MySQLATS-2-ORG-1911e0f892042794 as admin...  
       OK  

       [2019-02-26 11:32:56.82 (UTC)]> cf create-space -o MySQLATS-2-ORG-1911e0f892042794 MySQLATS-2-SPACE-089ecd7fd4025181   
       Creating space MySQLATS-2-SPACE-089ecd7fd4025181 in org MySQLATS-2-ORG-1911e0f892042794 as admin...  
       OK  
       Assigning role RoleSpaceManager to user admin in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as admin...  
       OK  
       Assigning role RoleSpaceDeveloper to user admin in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as admin...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-2-ORG-1911e0f892042794" -s "MySQLATS-2-SPACE-089ecd7fd4025181"' to target new space  

       [2019-02-26 11:32:59.54 (UTC)]> cf create-user MySQLATS-USER-2-2019_02_26-11h32m50.36s [REDACTED]   
       Creating user MySQLATS-USER-2-2019_02_26-11h32m50.36s...  
       OK  

       TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.  

       [2019-02-26 11:33:01.34 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h32m50.36s MySQLATS-2-ORG-1911e0f892042794 MySQLATS-2-SPACE-089ecd7fd4025181 SpaceManager   
       Assigning role RoleSpaceManager to user MySQLATS-USER-2-2019_02_26-11h32m50.36s in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as admin...  
       OK  

       [2019-02-26 11:33:04.47 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h32m50.36s MySQLATS-2-ORG-1911e0f892042794 MySQLATS-2-SPACE-089ecd7fd4025181 SpaceDeveloper   
       Assigning role RoleSpaceDeveloper to user MySQLATS-USER-2-2019_02_26-11h32m50.36s in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as admin...  
       OK  

       [2019-02-26 11:33:07.45 (UTC)]> cf set-space-role MySQLATS-USER-2-2019_02_26-11h32m50.36s MySQLATS-2-ORG-1911e0f892042794 MySQLATS-2-SPACE-089ecd7fd4025181 SpaceAuditor   
       Assigning role RoleSpaceAuditor to user MySQLATS-USER-2-2019_02_26-11h32m50.36s in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as admin...  
       OK  

       [2019-02-26 11:33:10.08 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:33:10.49 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:33:10.97 (UTC)]> cf auth MySQLATS-USER-2-2019_02_26-11h32m50.36s [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:33:12.36 (UTC)]> cf target -o MySQLATS-2-ORG-1911e0f892042794 -s MySQLATS-2-SPACE-089ecd7fd4025181   
       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       user:           MySQLATS-USER-2-2019_02_26-11h32m50.36s  
       org:            MySQLATS-2-ORG-1911e0f892042794  
       space:          MySQLATS-2-SPACE-089ecd7fd4025181  

       [2019-02-26 11:33:13.31 (UTC)]> cf m   
       Getting services from marketplace in org MySQLATS-2-ORG-1911e0f892042794 / space MySQLATS-2-SPACE-089ecd7fd4025181 as MySQLATS-USER-2-2019_02_26-11h32m50.36s...  
       OK  

       service   plans        description  
       p-mysql   10mb, 20mb   MySQL databases on demand  

       TIP:  Use 'cf marketplace -s SERVICE' to view descriptions of individual plans of a given service.  

       [2019-02-26 11:33:14.31 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:33:14.55 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:33:15.07 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:33:21.81 (UTC)]> cf delete-user -f MySQLATS-USER-2-2019_02_26-11h32m50.36s   
       Deleting user MySQLATS-USER-2-2019_02_26-11h32m50.36s as admin...  
       OK  

       [2019-02-26 11:33:28.63 (UTC)]> cf delete-org -f MySQLATS-2-ORG-1911e0f892042794   
       Deleting org MySQLATS-2-ORG-1911e0f892042794 as admin...  
       OK  

       [2019-02-26 11:33:36.69 (UTC)]> cf delete-quota -f MySQLATS-2-QUOTA-86dbcb5ddcfd16ca   
       Deleting quota MySQLATS-2-QUOTA-86dbcb5ddcfd16ca as admin...  
       OK  

       [2019-02-26 11:33:44.96 (UTC)]> cf logout   
       Logging out...  
       OK  

       •  
       ------------------------------  
       P-MySQL Lifecycle Tests When pushing an app   
         Allows users to create, bind, write to, read from, unbind, and destroy a service instance for the each plan  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/lifecycle/lifecycle_test.go:95  

       [2019-02-26 11:32:44.55 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:32:50.21 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:32:51.62 (UTC)]> cf create-quota MySQLATS-1-QUOTA-9b33223e74abea86 -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans   
       Creating quota MySQLATS-1-QUOTA-9b33223e74abea86 as admin...  
       OK  

       [2019-02-26 11:32:52.24 (UTC)]> cf create-org MySQLATS-1-ORG-9232891381c1317c   
       Creating org MySQLATS-1-ORG-9232891381c1317c as admin...  
       OK  

       Assigning role OrgManager to user admin in org MySQLATS-1-ORG-9232891381c1317c ...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-9232891381c1317c"' to target new org  

       [2019-02-26 11:32:55.10 (UTC)]> cf set-quota MySQLATS-1-ORG-9232891381c1317c MySQLATS-1-QUOTA-9b33223e74abea86   
       Setting quota MySQLATS-1-QUOTA-9b33223e74abea86 to org MySQLATS-1-ORG-9232891381c1317c as admin...  
       OK  

       [2019-02-26 11:32:56.29 (UTC)]> cf create-space -o MySQLATS-1-ORG-9232891381c1317c MySQLATS-1-SPACE-ff3ae2d3dd5d311f   
       Creating space MySQLATS-1-SPACE-ff3ae2d3dd5d311f in org MySQLATS-1-ORG-9232891381c1317c as admin...  
       OK  
       Assigning role RoleSpaceManager to user admin in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as admin...  
       OK  
       Assigning role RoleSpaceDeveloper to user admin in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as admin...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-9232891381c1317c" -s "MySQLATS-1-SPACE-ff3ae2d3dd5d311f"' to target new space  

       [2019-02-26 11:32:59.38 (UTC)]> cf create-user MySQLATS-USER-1-2019_02_26-11h32m44.558s [REDACTED]   
       Creating user MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.  

       [2019-02-26 11:33:01.44 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h32m44.558s MySQLATS-1-ORG-9232891381c1317c MySQLATS-1-SPACE-ff3ae2d3dd5d311f SpaceManager   
       Assigning role RoleSpaceManager to user MySQLATS-USER-1-2019_02_26-11h32m44.558s in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as admin...  
       OK  

       [2019-02-26 11:33:04.62 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h32m44.558s MySQLATS-1-ORG-9232891381c1317c MySQLATS-1-SPACE-ff3ae2d3dd5d311f SpaceDeveloper   
       Assigning role RoleSpaceDeveloper to user MySQLATS-USER-1-2019_02_26-11h32m44.558s in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as admin...  
       OK  

       [2019-02-26 11:33:07.26 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h32m44.558s MySQLATS-1-ORG-9232891381c1317c MySQLATS-1-SPACE-ff3ae2d3dd5d311f SpaceAuditor   
       Assigning role RoleSpaceAuditor to user MySQLATS-USER-1-2019_02_26-11h32m44.558s in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as admin...  
       OK  

       [2019-02-26 11:33:09.80 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:33:10.00 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:33:10.97 (UTC)]> cf auth MySQLATS-USER-1-2019_02_26-11h32m44.558s [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:33:12.67 (UTC)]> cf target -o MySQLATS-1-ORG-9232891381c1317c -s MySQLATS-1-SPACE-ff3ae2d3dd5d311f   
       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       user:           MySQLATS-USER-1-2019_02_26-11h32m44.558s  
       org:            MySQLATS-1-ORG-9232891381c1317c  
       space:          MySQLATS-1-SPACE-ff3ae2d3dd5d311f  

       [2019-02-26 11:33:13.63 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:33:14.04 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:33:15.28 (UTC)]> cf enable-service-access p-mysql -o MySQLATS-1-ORG-9232891381c1317c   
       Enabling access to all plans of service p-mysql for the org MySQLATS-1-ORG-9232891381c1317c as admin...  
       OK  

       [2019-02-26 11:33:16.71 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:33:16.90 (UTC)]> cf push lifecycle-1--1af9e2b8364f584b -m 256M -p ../../assets/sinatra_app -b ruby_buildpack -d bosh-lite.com -no-start   
       Creating app lifecycle-1--1af9e2b8364f584b in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       Creating route lifecycle-1--1af9e2b8364f584b.bosh-lite.com...  
       OK  

       Binding lifecycle-1--1af9e2b8364f584b.bosh-lite.com to lifecycle-1--1af9e2b8364f584b...  
       OK  

       Uploading lifecycle-1--1af9e2b8364f584b...  
       Uploading app files from: /var/vcap/data/packages/acceptance-tests/cad078cb521953aaa02702bbc0e3d616b7d1f45d/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/assets/sinatra_app  
       Uploading 63.3K, 11 files  
                                    Done uploading  
       OK  

       [2019-02-26 11:33:33.76 (UTC)]> cf create-service p-mysql 10mb lifecycle-1--a7a643489181cff8   
       Creating service instance lifecycle-1--a7a643489181cff8 in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       [2019-02-26 11:33:40.39 (UTC)]> cf bind-service lifecycle-1--1af9e2b8364f584b lifecycle-1--a7a643489181cff8   
       Binding service lifecycle-1--a7a643489181cff8 to app lifecycle-1--1af9e2b8364f584b in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  
       TIP: Use 'cf restage lifecycle-1--1af9e2b8364f584b' to ensure your env variable changes take effect  

       [2019-02-26 11:33:45.41 (UTC)]> cf start lifecycle-1--1af9e2b8364f584b   
       Starting app lifecycle-1--1af9e2b8364f584b in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  

       Staging app and tracing logs...  
          Downloading ruby_buildpack...  
          Downloaded ruby_buildpack  
          Creating container  
          Successfully created container  
          Downloading app package...  
          Downloaded app package (710.4K)  
          -----> Ruby Buildpack version 1.7.11  
          -----> Supplying Ruby  
          -----> Installing bundler 1.16.1  
                 Download [https://buildpacks.cloudfoundry.org/dependencies/bundler/bundler-1.16.1-8e9f1a6e.tgz]  
                 **WARNING** You have not declared a Ruby version in your Gemfile.  
                 Defaulting to 2.4.3  
                 See http://docs.cloudfoundry.org/buildpacks/ruby/index.html#runtime for more information.  
          -----> Installing ruby 2.4.3  
                 Download [https://buildpacks.cloudfoundry.org/dependencies/ruby/ruby-2.4.3-linux-x64-79b34eab.tgz]  
          -----> Update rubygems from 2.6.14 to 2.7.4  
          -----> Installing rubygems 2.7.4  
                 Download [https://buildpacks.cloudfoundry.org/dependencies/manual-binaries/ruby/rubygems-2.7.4.tgz]  
                 **WARNING** You have the `.bundle/config` file checked into your repository  
                 It contains local state like the location of the installed bundle  
                 as well as configured git local gems, and other settings that should  
                 not be shared between multiple checkouts of a single repo. Please  
                 remove the `.bundle/` folder from your repo and add it to your `.gitignore` file.  
          -----> Installing dependencies using bundler 1.16.1  
                 Running: bundle install --without development:test --jobs=4 --retry=4 --path /tmp/contents614436656/deps/0/vendor_bundle --binstubs /tmp/contents614436656/deps/0/binstubs --deployment  
                 Using bundler 1.16.1  
                 Installing mysql2 0.4.3 with native extensions  
                 Installing rack 1.6.4  
                 Installing tilt 2.0.2  
                 Installing rack-protection 1.5.3  
                 Installing sinatra 1.4.7  
                 Bundle complete! 2 Gemfile dependencies, 6 gems now installed.  
                 Gems in the groups development and test were not installed.  
                 Bundled gems are installed into `/tmp/contents614436656/deps/0/vendor_bundle`  
          -----> Regenerating bundler binstubs...  
                 Cleaning up the bundler cache.  
          -----> Creating runtime environment  
          -----> Saving vendor_bundle to cache  
          -----> Finalizing Ruby  
          -----> Copy binaries to app/bin directory  
          Exit status 0  
          Uploading droplet, build artifacts cache...  
          Uploading droplet...  
          Uploading build artifacts cache...  
          Uploaded build artifacts cache (1.8M)  
          Uploaded droplet (21.3M)  
          Uploading complete  
          Stopping instance d8fd1d9d-6115-4cb3-8e60-41790d13080a  
          Destroying container  

       Waiting for app to start...  

       name:              lifecycle-1--1af9e2b8364f584b  
       requested state:   started  
       instances:         1/1  
       usage:             256M x 1 instances  
       routes:            lifecycle-1--1af9e2b8364f584b.bosh-lite.com  
       last uploaded:     Tue 26 Feb 11:33:22 UTC 2019  
       stack:             cflinuxfs2  
       buildpack:         ruby_buildpack  
       start command:     bundle exec rackup config.ru -p $PORT  

            state     since                  cpu    memory          disk          details  
       #0   running   2019-02-26T11:36:11Z   8.3%   25.4M of 256M   89.7M of 1G     

       *** Posting to app  

       *** Curling app  

       [2019-02-26 11:36:17.02 (UTC)]> cf unbind-service lifecycle-1--1af9e2b8364f584b lifecycle-1--a7a643489181cff8   
       Unbinding app lifecycle-1--1af9e2b8364f584b from service lifecycle-1--a7a643489181cff8 in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       [2019-02-26 11:36:20.32 (UTC)]> cf delete-service -f lifecycle-1--a7a643489181cff8   
       Deleting service lifecycle-1--a7a643489181cff8 in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       [2019-02-26 11:36:27.54 (UTC)]> cf delete lifecycle-1--1af9e2b8364f584b -f   
       Deleting app lifecycle-1--1af9e2b8364f584b in org MySQLATS-1-ORG-9232891381c1317c / space MySQLATS-1-SPACE-ff3ae2d3dd5d311f as MySQLATS-USER-1-2019_02_26-11h32m44.558s...  
       OK  

       [2019-02-26 11:36:29.56 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:36:29.85 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:36:30.93 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:36:33.72 (UTC)]> cf delete-user -f MySQLATS-USER-1-2019_02_26-11h32m44.558s   
       Deleting user MySQLATS-USER-1-2019_02_26-11h32m44.558s as admin...  
       OK  

       [2019-02-26 11:36:40.60 (UTC)]> cf delete-org -f MySQLATS-1-ORG-9232891381c1317c   
       Deleting org MySQLATS-1-ORG-9232891381c1317c as admin...  
       OK  

       [2019-02-26 11:36:44.93 (UTC)]> cf delete-quota -f MySQLATS-1-QUOTA-9b33223e74abea86   
       Deleting quota MySQLATS-1-QUOTA-9b33223e74abea86 as admin...  
       OK  

       [2019-02-26 11:36:51.30 (UTC)]> cf logout   
       Logging out...  
       OK  

       •  
       Ran 3 of 4 Specs in 316.576 seconds  
       SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 1 Skipped   

       Running Suite: P-MySQL Acceptance Tests -- Proxy  
       ================================================  
       Random Seed: 1551180686 - Will randomize all specs  
       Will run 3 of 3 specs  

       Running in parallel across 2 nodes  

       P-MySQL Proxy   
         does not accept bad Basic Auth creds  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:32  

       • Failure [0.440 seconds]  
       P-MySQL Proxy  
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:47  
         does not accept bad Basic Auth creds [It]  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:32  

         Expected  
             <int>: 404  
         to equal  
             <int>: 401  

         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:30  

         Full Stack Trace  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).To(0xc42019a3c0, 0x9d2320, 0xc420198cc0, 0x0, 0x0, 0x0, 0xc42019a3c0)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:35 +0xae  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.glob..func2.2()  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:30 +0x2d2  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc420060de0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/helpers/suite.go:43 +0x32f  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.TestService(0xc420011110)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_suite_test.go:14 +0x45  
         testing.tRunner(0xc420011110, 0x8201a0)  
            /var/vcap/packages/golang/src/testing/testing.go:657 +0x96  
         created by testing.(*T).Run  
            /var/vcap/packages/golang/src/testing/testing.go:697 +0x2ca  

       ------------------------------  
       P-MySQL Proxy   
         accepts valid Basic Auth creds  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:46  

       • Failure [0.438 seconds]  
       P-MySQL Proxy  
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:47  
         accepts valid Basic Auth creds [It]  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:46  

         Expected  
             <int>: 404  
         to equal  
             <int>: 200  

         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:44  

         Full Stack Trace  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).To(0xc4201a7600, 0x9d2320, 0xc4201ad130, 0x0, 0x0, 0x0, 0xc4201a7600)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:35 +0xae  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.glob..func2.3()  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:44 +0x2d8  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc420060f60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/helpers/suite.go:43 +0x32f  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.TestService(0xc420011450)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_suite_test.go:14 +0x45  
         testing.tRunner(0xc420011450, 0x8201a0)  
            /var/vcap/packages/golang/src/testing/testing.go:657 +0x96  
         created by testing.(*T).Run  
            /var/vcap/packages/golang/src/testing/testing.go:697 +0x2ca  

       ------------------------------  
       P-MySQL Proxy   
         prompts for Basic Auth creds when they aren't provided  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:21  

       • Failure [0.206 seconds]  
       P-MySQL Proxy  
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:47  
         prompts for Basic Auth creds when they aren't provided [It]  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:21  

         Expected  
             <int>: 404  
         to equal  
             <int>: 401  

         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:19  

         Full Stack Trace  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).To(0xc42019a8c0, 0x9d2320, 0xc420199370, 0x0, 0x0, 0x0, 0xc42019a8c0)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:35 +0xae  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.glob..func2.1()  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:19 +0x239  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc420060cc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/helpers/suite.go:43 +0x32f  
         github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy_test.TestService(0xc420011110)  
            /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_suite_test.go:14 +0x45  
         testing.tRunner(0xc420011110, 0x8201a0)  
            /var/vcap/packages/golang/src/testing/testing.go:657 +0x96  
         created by testing.(*T).Run  
            /var/vcap/packages/golang/src/testing/testing.go:697 +0x2ca  

       ------------------------------  

       Summarizing 3 Failures:  

       [Fail] P-MySQL Proxy [It] does not accept bad Basic Auth creds   
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:30  

       [Fail] P-MySQL Proxy [It] accepts valid Basic Auth creds   
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:44  

       [Fail] P-MySQL Proxy [It] prompts for Basic Auth creds when they aren't provided   
       /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/proxy/proxy_test.go:19  

       Ran 3 of 3 Specs in 0.658 seconds  
       FAIL! -- 0 Passed | 3 Failed | 0 Pending | 0 Skipped   

       Running Suite: P-MySQL Acceptance Tests -- Broker  
       =================================================  
       Random Seed: 1551180686 - Will randomize all specs  
       Will run 1 of 1 specs  

       Running in parallel across 2 nodes  

       P-MySQL Service broker   
         Registers a route  
         /var/vcap/packages/acceptance-tests/src/github.com/cloudfoundry-incubator/cf-mysql-acceptance-tests/cf-mysql-service/broker/broker_test.go:22  

       [2019-02-26 11:36:52.72 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:36:53.25 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:36:54.81 (UTC)]> cf create-quota MySQLATS-1-QUOTA-5c811d5c0b688912 -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans   
       Creating quota MySQLATS-1-QUOTA-5c811d5c0b688912 as admin...  
       OK  

       [2019-02-26 11:36:55.39 (UTC)]> cf create-org MySQLATS-1-ORG-ca1dec5d9851032f   
       Creating org MySQLATS-1-ORG-ca1dec5d9851032f as admin...  
       OK  

       Assigning role OrgManager to user admin in org MySQLATS-1-ORG-ca1dec5d9851032f ...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-ca1dec5d9851032f"' to target new org  

       [2019-02-26 11:36:58.47 (UTC)]> cf set-quota MySQLATS-1-ORG-ca1dec5d9851032f MySQLATS-1-QUOTA-5c811d5c0b688912   
       Setting quota MySQLATS-1-QUOTA-5c811d5c0b688912 to org MySQLATS-1-ORG-ca1dec5d9851032f as admin...  
       OK  

       [2019-02-26 11:37:00.53 (UTC)]> cf create-space -o MySQLATS-1-ORG-ca1dec5d9851032f MySQLATS-1-SPACE-2c56631e2b084bbc   
       Creating space MySQLATS-1-SPACE-2c56631e2b084bbc in org MySQLATS-1-ORG-ca1dec5d9851032f as admin...  
       OK  
       Assigning role RoleSpaceManager to user admin in org MySQLATS-1-ORG-ca1dec5d9851032f / space MySQLATS-1-SPACE-2c56631e2b084bbc as admin...  
       OK  
       Assigning role RoleSpaceDeveloper to user admin in org MySQLATS-1-ORG-ca1dec5d9851032f / space MySQLATS-1-SPACE-2c56631e2b084bbc as admin...  
       OK  

       TIP: Use 'cf target -o "MySQLATS-1-ORG-ca1dec5d9851032f" -s "MySQLATS-1-SPACE-2c56631e2b084bbc"' to target new space  

       [2019-02-26 11:37:04.10 (UTC)]> cf create-user MySQLATS-USER-1-2019_02_26-11h36m52.696s [REDACTED]   
       Creating user MySQLATS-USER-1-2019_02_26-11h36m52.696s...  
       OK  

       TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.  

       [2019-02-26 11:37:06.05 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h36m52.696s MySQLATS-1-ORG-ca1dec5d9851032f MySQLATS-1-SPACE-2c56631e2b084bbc SpaceManager   
       Assigning role RoleSpaceManager to user MySQLATS-USER-1-2019_02_26-11h36m52.696s in org MySQLATS-1-ORG-ca1dec5d9851032f / space MySQLATS-1-SPACE-2c56631e2b084bbc as admin...  
       OK  

       [2019-02-26 11:37:11.39 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h36m52.696s MySQLATS-1-ORG-ca1dec5d9851032f MySQLATS-1-SPACE-2c56631e2b084bbc SpaceDeveloper   
       Assigning role RoleSpaceDeveloper to user MySQLATS-USER-1-2019_02_26-11h36m52.696s in org MySQLATS-1-ORG-ca1dec5d9851032f / space MySQLATS-1-SPACE-2c56631e2b084bbc as admin...  
       OK  

       [2019-02-26 11:37:15.08 (UTC)]> cf set-space-role MySQLATS-USER-1-2019_02_26-11h36m52.696s MySQLATS-1-ORG-ca1dec5d9851032f MySQLATS-1-SPACE-2c56631e2b084bbc SpaceAuditor   
       Assigning role RoleSpaceAuditor to user MySQLATS-USER-1-2019_02_26-11h36m52.696s in org MySQLATS-1-ORG-ca1dec5d9851032f / space MySQLATS-1-SPACE-2c56631e2b084bbc as admin...  
       OK  

       [2019-02-26 11:37:19.28 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:37:19.56 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:37:19.93 (UTC)]> cf auth MySQLATS-USER-1-2019_02_26-11h36m52.696s [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:37:21.19 (UTC)]> cf target -o MySQLATS-1-ORG-ca1dec5d9851032f -s MySQLATS-1-SPACE-2c56631e2b084bbc   
       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       user:           MySQLATS-USER-1-2019_02_26-11h36m52.696s  
       org:            MySQLATS-1-ORG-ca1dec5d9851032f  
       space:          MySQLATS-1-SPACE-2c56631e2b084bbc  

       *** Curling url: https://p-mysql.bosh-lite.com/v2/catalog  

       [2019-02-26 11:37:22.36 (UTC)]> curl -k -H Expect: -s https://p-mysql.bosh-lite.com/v2/catalog   
       HTTP Basic: Access denied.  
       Expected failure occured  

       [2019-02-26 11:37:22.79 (UTC)]> cf logout   
       Logging out...  
       OK  

       [2019-02-26 11:37:23.21 (UTC)]> cf api https://api.bosh-lite.com --skip-ssl-validation   
       Setting api endpoint to https://api.bosh-lite.com...  
       OK  

       api endpoint:   https://api.bosh-lite.com  
       api version:    2.103.0  
       Not logged in. Use 'cf login' to log in.  

       [2019-02-26 11:37:23.59 (UTC)]> cf auth admin [REDACTED]   
       API endpoint: https://api.bosh-lite.com  
       Authenticating...  
       OK  
       Use 'cf target' to view or set your target org and space.  

       [2019-02-26 11:37:24.91 (UTC)]> cf delete-user -f MySQLATS-USER-1-2019_02_26-11h36m52.696s   
       Deleting user MySQLATS-USER-1-2019_02_26-11h36m52.696s as admin...  
       OK  

       [2019-02-26 11:37:31.76 (UTC)]> cf delete-org -f MySQLATS-1-ORG-ca1dec5d9851032f   
       Deleting org MySQLATS-1-ORG-ca1dec5d9851032f as admin...  
       OK  

       [2019-02-26 11:37:39.04 (UTC)]> cf delete-quota -f MySQLATS-1-QUOTA-5c811d5c0b688912   
       Deleting quota MySQLATS-1-QUOTA-5c811d5c0b688912 as admin...  
       OK  

       [2019-02-26 11:37:41.30 (UTC)]> cf logout   
       Logging out...  
       OK  

       •  
       Ran 1 of 1 Specs in 48.912 seconds  
       SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped   

       There were failures detected in the following suites:  
        proxy ./cf-mysql-service/proxy  

       Ginkgo ran 3 suites in 6m15.236127052s  
       Test Suite Failed  

Stderr + export CONFIG=/var/vcap/jobs/smoke-tests/config/config.yml

Thank you.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/164247178

The labels on this github issue will be updated when the story is started.

zhangrl-mark commented 5 years ago

@VatslavDS Hi, i face similary issue. did you fixed it? i doubt there something wrong with your parameters: --var cf_mysql_host=$BOSH_ENVIRONMENT BOSH_ENVIRONMENT IP is wrong, i think. it shoud be point to the Host/IP of load balancer(LB), or empty it. did you config your LB? which LB you use? how do you config it?

jzlwang commented 4 years ago

cf-mysql-release is deprecated. closing this issue.