Comments (10)
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.
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.
Hi dsabeti,
Here is the complete output of the test: https://gist.github.com/bonzofenix/476fa832cae21d2a2fe2705b4fe5922e
Thank you
from cf-smoke-tests.
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.
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.
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.
Ok you are right I see whats happening, seems that the 30 seconds timeout is not enough:
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.
@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.
Hey @bonzofenix, any update on this?
from cf-smoke-tests.
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)
- CodeQL scanning fails due to autobuild not supporting go1.21
- Error flag redefined: ginkgo.seed HOT 2
- List of the test cases HOT 5
- Any appetite for an app-autoscaler smoke test? HOT 7
- Bump cf-test-helpers HOT 3
- smoke test timing out HOT 2
- ETCD Cluster Check for PCF v1.12 HOT 3
- Smoketests release version for Cloud Foundry version 1.12 HOT 5
- cf smoketest failure on every 2-3 success attempts. HOT 3
- smoke tests failures when http is disabled HOT 2
- Missing method in smoke.config HOT 3
- cf auth command exited with 1 HOT 7
- Empty logging application name HOT 2
- Try to run cf-smoke-test from Ubuntu : getting panic: /tmp/ginkgo820229353/isolation_segments.test flag redefined: ginkgo.seed HOT 2
- Versioned Binaries of Smoke Test HOT 2
- cf push in runtime_tests uses random domain and can fail HOT 2
- Support for go modules in cf smoke tests HOT 2
- CodeQL should scan C# (dotnet app) HOT 1
- Setup dependabot for `assets/dotnet_simple` HOT 1
- Turn off cf-gitbot for this repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-smoke-tests.