Tanzu RabbitMQ on Cloud Foundry 10.0

Smoke Tests for RabbitMQ on Cloud Foundry

Last Updated December 13, 2024

This topic tells you about the set of smoke tests that VMware Tanzu RabbitMQ on Cloud Foundry runs during installation to confirm system health.

Smoke Test Steps

The smoke tests perform the following for each available service plan:

  1. Targets the org system and creates a space to run the tests.
  2. Deploys an instance of the CF RabbitMQ Example App to this space
  3. Creates a Tanzu RabbitMQ on Cloud Foundry service instance and binds it to the CF RabbitMQ Example App
  4. Checks that the CF RabbitMQ Example App can write to and read from the Tanzu RabbitMQ on Cloud Foundry service instance
  5. Cleans up all deployed application and all its service bindings. Finally, the cf space is deleted.

Smoke tests fail unless you enable global default application security groups (ASGs). You can enable global default ASGs by binding the ASG to the system org without specifying a space. To enable global default ASGs, use cf bind-running-security-group.

Troubleshooting

If errors occur while the smoke tests run, they are summarized at the end of the errand log output. Detailed logs can be found where the failure occurs.

When encountering an error when running smoke tests, it can be helpful to search the log for other instances of the error summary printed at the end of the tests. For example, Failed to target Cloud Foundry. Lookout for TIP: ... in the logs next to any error output for further troubleshooting hints.