Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cf-acceptance-tests services tests don't provide output logs #22

Closed
Amit-PivotalLabs opened this issue Jul 12, 2016 · 5 comments
Closed
Labels

Comments

@Amit-PivotalLabs
Copy link

I have several flaky service instance lifecycle tests. The code looks deterministic, namely that when create an asynchronous service instance, the fake broker should first respond saying that it is in_progress, and then respond saying it's complete. It appears to continue saying it's in_progress. We were wondering if there was some caching of the response happening anywhere, and wanted to check if requests were making it all the way to the service broker app. We see the requests making it to the router. The problem is the CATS in question don't dump the service broker app's logs when the test fails.

@cf-gitbot
Copy link

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

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

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

@ameowlia
Copy link
Member

ameowlia commented Jul 27, 2016

Hi Amit,

Are you talking about running CATs in a pipeline? We have a job that uploads our CAT logs to S3 which you could add to your pipeline.

https://github.com/cloudfoundry/capi-ci/blob/master/ci/pipeline.yml#L337

@Amit-PivotalLabs
Copy link
Author

Those logs are typically CF_TRACE logs from the CLI. I'm talking about logs of the pushed app itself, i.e. the stuff from cf logs MY_APP --recent. Most tests leverage an AppReport helper which dumps logs of an app on teardown, but not true of the service brokers.

@Amit-PivotalLabs
Copy link
Author

Any update on this? This would still be useful for improving ability to debug CATS failures.

@luan
Copy link
Contributor

luan commented Sep 20, 2016

We believe we address this issue on cloudfoundry/cf-acceptance-tests@19865cc. Feel free to re-open this issue if you believe there's more to be done here.

Thanks,
@luan | @youreddy,
CF CAPI Team

@luan luan closed this as completed Sep 20, 2016
capi-bot added a commit that referenced this issue Jun 22, 2023
Bump src/code.cloudfoundry.org/tps
  M. Oleske:
     Make go 1.20 minimum and bump lots of things (#22)
capi-bot added a commit that referenced this issue Oct 10, 2023
…/tps

Bump src/code.cloudfoundry.org/cc-uploader
  dependabot[bot]:
     Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#22)
Bump src/code.cloudfoundry.org/tps
  dependabot[bot]:
     Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants