GithubHelp home page GithubHelp logo

Comments (10)

cf-gitbot avatar cf-gitbot commented on July 28, 2024

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

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

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

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

Hey @bonzofenix. Could you show the full failure output? My suspicion is that some other part of the test is failing and preventing the test from targeting an org.

from cf-smoke-tests.

bonzofenix avatar bonzofenix commented on July 28, 2024

Hi dsabeti,
Here is the complete output of the test: https://gist.github.com/bonzofenix/476fa832cae21d2a2fe2705b4fe5922e
Thank you

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

The output suggests that the test timed out setting the quota on the organization. The very next command that would have run (if cf set-quota had succeeded) is cf target. It seems pretty clear that the failure to set the quota is the real failure, and the failure to fetch the space guid is a side-effect.

from cf-smoke-tests.

bonzofenix avatar bonzofenix commented on July 28, 2024

cf_dial_timeout_in_seconds is set 300. Seems like a good amount of time. We looked through the code and it seems that the timeout is hardcoded: https://github.com/cloudfoundry/cf-smoke-tests/search?utf8=%E2%9C%93&q=DEFAULT_TIMEOUT&type=

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

Yeah, I don't know that opening the timeout will help. Have you tried running cf set-quota by hand? How long does it take? If it sometimes exceeds 30 seconds, you'll need to figure out why it takes so long. Some things to consider:

  • Is there something going wrong with your network?
  • Is the Cloud Controller experiencing significant load or facing resource limits?
  • Does the CC database respond to SQL commands in a reasonable amount of time?

from cf-smoke-tests.

bonzofenix avatar bonzofenix commented on July 28, 2024

Ok you are right I see whats happening, seems that the 30 seconds timeout is not enough:
screen shot 2017-04-07 at 11 30 40 am

Can we make this constant configurable?
Do you know how I could make my CF bosh-lite deployment run faster so that the smoke test would go green consistently?

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

@bonzofenix We can make that timeout configurable, but 30 seconds is pretty bad for a simple API call. In my comment above, I specified a few things to take a look at (CC load, CCDB slowness).

You might also compare it to other CC endpoints. For example, does cf curl /v2/info take a long time? If so, there's something pretty bad going on with either your network or the CC.

For networking slowness, I'd suggest debugging with traceroute or tcpdump.

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

Hey @bonzofenix, any update on this?

from cf-smoke-tests.

dsabeti avatar dsabeti commented on July 28, 2024

I'm going to close the issue due to inactivity, but feel free to re-open it if you have more questions.

from cf-smoke-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.