cloudfoundry / cf-acceptance-tests

CF Acceptance tests
Apache License 2.0
69 stars 173 forks source link

cf auth failing #325

Closed XenoPhex closed 3 years ago

XenoPhex commented 6 years ago

We're running CATs and we're seeing weird errors with the cf auth failing. Additionally, the tests aren't even display what the errors for the auth command are when they occur:

• Failure in Spec Setup (BeforeEach) [76.145 seconds]
[services]
/tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:178
  Service Instance Lifecycle
  /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:184
    Synchronous operations
    /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:71
      when there is an app [BeforeEach]
      /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:243
        bindings
        /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:270
          when there is an existing binding
          /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:292
            can retrieve parameters
            /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:298

            No future change is possible.  Bailing out early after 16.002s.

            >>> [ cf auth ] exited with an error 

            Expected
                <int>: 1
            to match exit code:
                <int>: 0

            /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/vendor/github.com/cloudfoundry-incubator/cf-test-helpers/workflowhelpers/as_user.go:17
------------------------------
•••••••
------------------------------

[2018-08-07 22:09:27.25 (UTC)]> cf push CATS-11-BRKR-b615a5bdface8729 --no-start -b ruby_buildpack -m 256M -p assets/service_broker -d example.com 
Pushing app CATS-11-BRKR-b615a5bdface8729 to org CATS-11-ORG-84ceaa1dd1ef1e08 / space CATS-11-SPACE-ea2a12e88cf87a44 as CATS-11-USER-5e46fef71f4d03cb...
Getting app info...
Creating app with these attributes...
+ name:         CATS-11-BRKR-b615a5bdface8729
  path:         /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/assets/service_broker
  buildpacks:
+   ruby_buildpack
+ memory:       256M
  routes:
+   cats-11-brkr-b615a5bdface8729.example.com

Creating app CATS-11-BRKR-b615a5bdface8729...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
 235.11 KiB / 235.11 KiB [==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================] 100.00% 1s

Waiting for API to complete processing files...

name:              CATS-11-BRKR-b615a5bdface8729
requested state:   stopped
routes:            cats-11-brkr-b615a5bdface8729.example.com
last uploaded:     
stack:             
buildpacks:        

type:           web
instances:      0/1
memory usage:   256M

There are no running instances of this process.

[2018-08-07 22:09:34.28 (UTC)]> cf set-health-check CATS-11-BRKR-b615a5bdface8729 http --endpoint /v2/catalog 
Updating health check type for app CATS-11-BRKR-b615a5bdface8729 in org CATS-11-ORG-84ceaa1dd1ef1e08 / space CATS-11-SPACE-ea2a12e88cf87a44 as CATS-11-USER-5e46fef71f4d03cb...
OK

[2018-08-07 22:09:35.28 (UTC)]> cf start CATS-11-BRKR-b615a5bdface8729 
Starting app CATS-11-BRKR-b615a5bdface8729 in org CATS-11-ORG-84ceaa1dd1ef1e08 / space CATS-11-SPACE-ea2a12e88cf87a44 as CATS-11-USER-5e46fef71f4d03cb...

Staging app and tracing logs...
   Downloading ruby_buildpack...
   Downloaded ruby_buildpack
   Cell 26a46e2a-60bc-47eb-8fe7-bee36867019c creating container for instance fea57992-ba8f-45ae-a41c-067c19f6ca93
   Cell 26a46e2a-60bc-47eb-8fe7-bee36867019c successfully created container for instance fea57992-ba8f-45ae-a41c-067c19f6ca93
   Downloading app package...
   Downloaded app package (1.2M)
   -----> Ruby Buildpack version 1.7.21
   -----> Supplying Ruby
   -----> Installing bundler 1.16.2
          Download [https://buildpacks.cloudfoundry.org/dependencies/bundler/bundler-1.16.2.tgz]
          **WARNING** You have not declared a Ruby version in your Gemfile.
          Defaulting to 2.4.4
          See http://docs.cloudfoundry.org/buildpacks/ruby/index.html#runtime for more information.
   -----> Installing ruby 2.4.4
          Download [https://buildpacks.cloudfoundry.org/dependencies/ruby/ruby-2.4.4-linux-x64-8e992e9b.tgz]
   -----> Update rubygems from 2.6.14.1 to 2.7.7
   -----> Installing rubygems 2.7.7
          Download [https://buildpacks.cloudfoundry.org/dependencies/rubygems/rubygems-2.7.7-4cb2c9a3.tgz]
   -----> Installing dependencies using bundler 1.16.2
          Running: bundle install --without development:test --jobs=4 --retry=4 --path /tmp/contents089596242/deps/0/vendor_bundle --binstubs /tmp/contents089596242/deps/0/binstubs --deployment
          Using bundler 1.16.2
          Installing json 2.1.0 with native extensions
          Installing mustermann 1.0.2
          Installing rack 2.0.4
          Installing rainbow 3.0.0
          Installing tilt 2.0.8
          Installing rack-protection 2.0.1
          Installing sinatra 2.0.1
          Bundle complete! 5 Gemfile dependencies, 8 gems now installed.
          Gems in the groups development and test were not installed.
          Bundled gems are installed into `/tmp/contents089596242/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 (20.7M)
   Uploaded droplet (22.1M)
   Uploading complete
   Cell 26a46e2a-60bc-47eb-8fe7-bee36867019c stopping instance fea57992-ba8f-45ae-a41c-067c19f6ca93
   Cell 26a46e2a-60bc-47eb-8fe7-bee36867019c destroying container for instance fea57992-ba8f-45ae-a41c-067c19f6ca93
   Cell 26a46e2a-60bc-47eb-8fe7-bee36867019c successfully destroyed container for instance fea57992-ba8f-45ae-a41c-067c19f6ca93

Waiting for app to start...

name:              CATS-11-BRKR-b615a5bdface8729
requested state:   started
instances:         1/1
usage:             256M x 1 instances
routes:            cats-11-brkr-b615a5bdface8729.example.com
last uploaded:     Tue 07 Aug 22:09:27 UTC 2018
stack:             cflinuxfs2
buildpack:         ruby_buildpack
start command:     bundle exec rackup config.ru -p $PORT

     state     since                  cpu    memory         disk          details
#0   running   2018-08-07T22:10:07Z   0.0%   6.2M of 256M   91.4M of 1G   

[2018-08-07 22:10:10.29 (UTC)]> curl -k -H Expect: -s https://CATS-11-BRKR-b615a5bdface8729.example.com/config -d {
  "behaviors": {
    "catalog": {
      "sleep_seconds": 0,
      "status": 200,
      "body": {
        "services": [
          {
            "name": "CATS-11-SVC-932b3e1b2b7700fa",
            "id": "CATS-11-SVC-ID-3a26d3928e3999ca",
            "description": "fake service",
            "tags": [
              "no-sql",
              "relational"
            ],
            "max_db_per_node": 5,
            "bindable": true,
            "instances_retrievable": true,
            "bindings_retrievable": true,
            "metadata": {
              "provider": {
                "name": "The name"
              },
              "listing": {
                "imageUrl": "http://catgifpage.com/cat.gif",
                "blurb": "fake broker that is fake",
                "longDescription": "A long time ago, in a galaxy far far away..."
              },
              "displayName": "The Fake Broker",
              "shareable": true
            },
            "dashboard_client": {
              "id": "CATS-11-DASHBOARD-ID-2ee84baa764167ef",
              "secret": "CATS-11-DASHBOARD-SECRET-931a037069d3e8ae",
              "redirect_uri": "http://example.com"
            },
            "plan_updateable": true,
            "plans": [
              {
                "name": "CATS-11-SVC-PLAN-134e08e2563cbc55",
                "id": "CATS-11-SVC-PLAN-ID-65c3706e37285059",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "Shared fake server"
                    },
                    {
                      "content": "5 TB storage"
                    },
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                },
                "schemas": {"service_instance":{"create":{"parameters":null},"update":{"parameters":null}},"service_binding":{"create":{"parameters":null}}}
              },
              {
                "name": "CATS-11-SVC-PLAN-16fda575cb0c8e8c",
                "id": "CATS-11-SVC-PLAN-ID-f256e39f307befe7",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "Shared fake server"
                    },
                    {
                      "content": "5 TB storage"
                    },
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-a5c4376eb70d5ced",
                "id": "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-490a8a6759dea687",
                "id": "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-d82dde78438f25e4",
                "id": "CATS-11-SVC-PLAN-ID-07762d3c1256cc13",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "provision": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-07762d3c1256cc13": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
          "dashboard_url": "http://example.com"
        }
      }
    },
    "fetch": {
      "default": {
        "in_progress": {
          "sleep_seconds": 0,
          "status": 200,
          "body": {
            "state": "in progress",
            "description": "not 100 percent done"
          }
        },
        "finished": {
          "sleep_seconds": 0,
          "status": 200,
          "body": {
            "state": "succeeded",
            "description": "100 percent done"
          }
        }
      }
    },
    "update": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
        }
      }
    },
    "deprovision": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {}
      }
    },
    "bind": {
      "CATS-11-SVC-PLAN-ID-07762d3c1256cc13": {
        "sleep_seconds": 0,
        "async_only": true,
        "status": 202,
        "body": {}
      },
      "default": {
        "sleep_seconds": 0,
        "status": 201,
        "body": {
          "credentials": {
            "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
            "username": "fake-user",
            "password": "fake-password",
            "host": "fake-host",
            "port": 3306,
            "database": "fake-dbname"
          }
        }
      }
    },
    "unbind": {
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {}
      }
    },
    "fetch_service_binding": {
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
          "credentials": {
            "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
            "username": "fake-user",
            "password": "fake-password",
            "host": "fake-host",
            "port": 3306,
            "database": "fake-dbname"
          }
        }
      }
    }
  },
  "service_instances": {},
  "service_bindings": {},
  "max_fetch_service_instance_requests": 1
}

{
  "comment": [
    "I have no impact to the broker (json doesn't support comments explicitly)",
    "",
    "Run 'curl <service-broker-url>/config' to fetch the current configuration of the service broker",
    "Run 'curl <service-broker-url>/config -d @<json-file>' to update the current configuration of the service broker",
    "",
    "With the exception of catalog, behaviors are defined with responses by service plan guid. 'default' is the fallback response that the broker will use if a plan is not provided.",
    "",
    "Instead of specifying the 'body' key for responses, you can provide 'raw_body' which is a string of the response to return.",
    "raw_body allows you to specify invalid json responses. The 'body' key must be missing for the service broker to use raw_body."
  ],
  "behaviors": {
    "catalog": {
      "sleep_seconds": 0,
      "status": 200,
      "body": {
        "services": [
          {
            "name": "CATS-11-SVC-932b3e1b2b7700fa",
            "id": "CATS-11-SVC-ID-3a26d3928e3999ca",
            "description": "fake service",
            "tags": [
              "no-sql",
              "relational"
            ],
            "max_db_per_node": 5,
            "bindable": true,
            "instances_retrievable": true,
            "bindings_retrievable": true,
            "metadata": {
              "provider": {
                "name": "The name"
              },
              "listing": {
                "imageUrl": "http://catgifpage.com/cat.gif",
                "blurb": "fake broker that is fake",
                "longDescription": "A long time ago, in a galaxy far far away..."
              },
              "displayName": "The Fake Broker",
              "shareable": true
            },
            "dashboard_client": {
              "id": "CATS-11-DASHBOARD-ID-2ee84baa764167ef",
              "secret": "CATS-11-DASHBOARD-SECRET-931a037069d3e8ae",
              "redirect_uri": "http://example.com"
            },
            "plan_updateable": true,
            "plans": [
              {
                "name": "CATS-11-SVC-PLAN-134e08e2563cbc55",
                "id": "CATS-11-SVC-PLAN-ID-65c3706e37285059",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "Shared fake server"
                    },
                    {
                      "content": "5 TB storage"
                    },
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                },
                "schemas": {
                  "service_instance": {
                    "create": {
                      "parameters": null
                    },
                    "update": {
                      "parameters": null
                    }
                  },
                  "service_binding": {
                    "create": {
                      "parameters": null
                    }
                  }
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-16fda575cb0c8e8c",
                "id": "CATS-11-SVC-PLAN-ID-f256e39f307befe7",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "Shared fake server"
                    },
                    {
                      "content": "5 TB storage"
                    },
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-a5c4376eb70d5ced",
                "id": "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-490a8a6759dea687",
                "id": "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              },
              {
                "name": "CATS-11-SVC-PLAN-d82dde78438f25e4",
                "id": "CATS-11-SVC-PLAN-ID-07762d3c1256cc13",
                "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
                "max_storage_tb": 5,
                "metadata": {
                  "cost": 0,
                  "bullets": [
                    {
                      "content": "40 concurrent connections"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "provision": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-07762d3c1256cc13": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
          "dashboard_url": "http://example.com"
        }
      }
    },
    "fetch": {
      "default": {
        "in_progress": {
          "sleep_seconds": 0,
          "status": 200,
          "body": {
            "state": "in progress",
            "description": "not 100 percent done"
          }
        },
        "finished": {
          "sleep_seconds": 0,
          "status": 200,
          "body": {
            "state": "succeeded",
            "description": "100 percent done"
          }
        }
      }
    },
    "update": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
        }
      }
    },
    "deprovision": {
      "CATS-11-SVC-PLAN-ID-38622bdaf612f1e0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "CATS-11-SVC-PLAN-ID-1f5095eeeaeb44f0": {
        "sleep_seconds": 0,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
        }
      }
    },
    "bind": {
      "CATS-11-SVC-PLAN-ID-07762d3c1256cc13": {
        "sleep_seconds": 0,
        "async_only": true,
        "status": 202,
        "body": {
        }
      },
      "default": {
        "sleep_seconds": 0,
        "status": 201,
        "body": {
          "credentials": {
            "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
            "username": "fake-user",
            "password": "fake-password",
            "host": "fake-host",
            "port": 3306,
            "database": "fake-dbname"
          }
        }
      }
    },
    "unbind": {
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
        }
      }
    },
    "fetch_service_binding": {
      "default": {
        "sleep_seconds": 0,
        "status": 200,
        "body": {
          "credentials": {
            "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
            "username": "fake-user",
            "password": "fake-password",
            "host": "fake-host",
            "port": 3306,
            "database": "fake-dbname"
          }
        }
      }
    }
  },
  "max_fetch_service_instance_requests": 1
}
[2018-08-07 22:10:11.30 (UTC)]> cf api api.example.com --skip-ssl-validation 
Setting api endpoint to api.example.com...
OK

api endpoint:   https://api.example.com
api version:    2.116.0
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:13.30 (UTC)]> cf auth admin [REDACTED] 
API endpoint: https://api.example.com
Authenticating...
Post https://login.example.com/oauth/token: dial tcp 35.227.227.78:443: i/o timeout
FAILED

*****************************************************
***** APP REPORT: CATS-11-BRKR-b615a5bdface8729 *****
*****************************************************

[2018-08-07 22:10:29.31 (UTC)]> cf app CATS-11-BRKR-b615a5bdface8729 --guid 
Not logged in. Use 'cf login' to log in.
FAILED

[2018-08-07 22:10:31.32 (UTC)]> cf logs --recent CATS-11-BRKR-b615a5bdface8729 
Not logged in. Use 'cf login' to log in.
FAILED

*****************************************************
*** END APP REPORT: CATS-11-BRKR-b615a5bdface8729 ***
*****************************************************

[2018-08-07 22:10:32.35 (UTC)]> cf api api.example.com --skip-ssl-validation 
Setting api endpoint to api.example.com...
OK

api endpoint:   https://api.example.com
api version:    2.116.0
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:33.35 (UTC)]> cf auth admin [REDACTED] 
API endpoint: https://api.example.com
Authenticating...
OK
Use 'cf target' to view or set your target org and space.

[2018-08-07 22:10:34.38 (UTC)]> cf purge-service-offering CATS-11-SVC-932b3e1b2b7700fa -f 
Service offering does not exist
TIP: If you are trying to purge a v1 service offering, you must set the -p flag.

[2018-08-07 22:10:35.39 (UTC)]> cf logout 
Logging out admin...
OK

[2018-08-07 22:10:36.39 (UTC)]> cf api api.example.com --skip-ssl-validation 
Setting api endpoint to api.example.com...
OK

api endpoint:   https://api.example.com
api version:    2.116.0
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:38.39 (UTC)]> cf auth admin [REDACTED] 
API endpoint: https://api.example.com
Authenticating...
OK
Use 'cf target' to view or set your target org and space.

[2018-08-07 22:10:39.39 (UTC)]> cf delete-service-broker CATS-11-BRKR-b615a5bdface8729 -f 
Deleting service broker CATS-11-BRKR-b615a5bdface8729 as admin...
OK
Service Broker CATS-11-BRKR-b615a5bdface8729 does not exist.

[2018-08-07 22:10:40.40 (UTC)]> cf service-brokers 
Getting service brokers as admin...

name                            url
CATS-10-BRKR-bed5c754bbdd5200   https://CATS-10-BRKR-bed5c754bbdd5200.example.com
CATS-12-BRKR-2cc0519099acb219   https://CATS-12-BRKR-2cc0519099acb219.example.com
CATS-14-BRKR-df34bdfd3bc51c46   https://CATS-14-BRKR-df34bdfd3bc51c46.example.com
CATS-4-BRKR-caf3540d49c43e42    https://CATS-4-BRKR-caf3540d49c43e42.example.com
CATS-5-BRKR-b27d2837ea76d7e5    https://CATS-5-BRKR-b27d2837ea76d7e5.example.com
CATS-8-BRKR-5e9305450bdccad7    https://CATS-8-APP-2fd3a73a4d338a08.example.com

[2018-08-07 22:10:41.40 (UTC)]> cf logout 
Logging out admin...
OK

[2018-08-07 22:10:42.40 (UTC)]> cf delete CATS-11-BRKR-b615a5bdface8729 -f -r 
FAILED
Not logged in. Use 'cf login' to log in.

• Failure in Spec Setup (BeforeEach) [13.049 seconds]
[services]
/tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:178
  Service Instance Lifecycle
  /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:184
    Synchronous operations
    /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:71
      when there is an app [BeforeEach]
      /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:243
        bindings
        /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:270
          when there is an existing binding
          /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:292
            can retrieve parameters
            /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/services/service_instance_lifecycle.go:298

            Expected
                <int>: 1
            to match exit code:
                <int>: 0

            /tmp/build/f541ec31/gopath/src/github.com/cloudfoundry/cf-acceptance-tests/helpers/services/broker.go:138
------------------------------

[2018-08-07 22:10:43.40 (UTC)]> cf push CATS-11-BRKR-51b8979327ad3253 --no-start -b ruby_buildpack -m 256M -p assets/service_broker -d example.com 
FAILED
Not logged in. Use 'cf login' to log in.

*****************************************************
***** APP REPORT: CATS-11-BRKR-51b8979327ad3253 *****
*****************************************************

[2018-08-07 22:10:44.41 (UTC)]> cf app CATS-11-BRKR-51b8979327ad3253 --guid 
FAILED
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:45.41 (UTC)]> cf logs --recent CATS-11-BRKR-51b8979327ad3253 
Not logged in. Use 'cf login' to log in.
FAILED

*****************************************************
*** END APP REPORT: CATS-11-BRKR-51b8979327ad3253 ***
*****************************************************

[2018-08-07 22:10:46.41 (UTC)]> cf api api.example.com --skip-ssl-validation 
Setting api endpoint to api.example.com...
OK

api endpoint:   https://api.example.com
api version:    2.116.0
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:47.41 (UTC)]> cf auth admin [REDACTED] 
API endpoint: https://api.example.com
Authenticating...
OK
Use 'cf target' to view or set your target org and space.

[2018-08-07 22:10:48.41 (UTC)]> cf purge-service-offering CATS-11-SVC-07e2b1f833cba16c -f 
Service offering does not exist
TIP: If you are trying to purge a v1 service offering, you must set the -p flag.

[2018-08-07 22:10:49.41 (UTC)]> cf logout 
Logging out admin...
OK

[2018-08-07 22:10:50.41 (UTC)]> cf api api.example.com --skip-ssl-validation 
Setting api endpoint to api.example.com...
OK

api endpoint:   https://api.example.com
api version:    2.116.0
Not logged in. Use 'cf login' to log in.

[2018-08-07 22:10:51.42 (UTC)]> cf auth admin [REDACTED] 
API endpoint: https://api.example.com
Authenticating...
OK
Use 'cf target' to view or set your target org and space.

[2018-08-07 22:10:52.43 (UTC)]> cf delete-service-broker CATS-11-BRKR-51b8979327ad3253 -f 
Deleting service broker CATS-11-BRKR-51b8979327ad3253 as admin...
OK
Service Broker CATS-11-BRKR-51b8979327ad3253 does not exist.

[2018-08-07 22:10:53.44 (UTC)]> cf service-brokers 
Getting service brokers as admin...

name                            url
CATS-10-BRKR-bed5c754bbdd5200   https://CATS-10-BRKR-bed5c754bbdd5200.example.com
CATS-14-BRKR-df34bdfd3bc51c46   https://CATS-14-BRKR-df34bdfd3bc51c46.example.com
CATS-4-BRKR-caf3540d49c43e42    https://CATS-4-BRKR-caf3540d49c43e42.example.com
CATS-5-BRKR-b27d2837ea76d7e5    https://CATS-5-BRKR-b27d2837ea76d7e5.example.com
CATS-8-BRKR-5e9305450bdccad7    https://CATS-8-APP-2fd3a73a4d338a08.example.com

[2018-08-07 22:10:54.45 (UTC)]> cf logout 
Logging out admin...
OK

[2018-08-07 22:10:55.45 (UTC)]> cf delete CATS-11-BRKR-51b8979327ad3253 -f -r 
FAILED
Not logged in. Use 'cf login' to log in.
cf-gitbot commented 6 years ago

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

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

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

bbtong commented 3 years ago

This issue was Accepted per tracker and should be closed now.

XenoPhex commented 3 years ago

Not sure what's going on here, I no longer work at Pivotal/VMware/on CF. So feel free to close this if it's fixed.