-
Notifications
You must be signed in to change notification settings - Fork 232
Test Flake: A Jasmine spec timed out. Resetting the WebDriver Control Flow. #2200
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
Comments
Screenshot is just a loading screen: |
Yeah I think in all this |
We probably should commit package-lock.json to avoid this stuff. |
Re: #2083 |
Might be unrelated, but Firefox recently changed from 52.3.0-2.el7_4 -> 52.4.0-1.el7_4 |
https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin_web_console/304/ It's failing on |
Timeout is only 3s. I can see the page taking longer than that to load. Since the tests take 20-30 minutes to run in Jenkins, we might want to bump this to something much higher.
|
I think its in here: Spec started
visiting url: create-project
visiting url: project/console-test-project-1506965913119/create
visiting url: project/console-test-project-1506965913119/browse/images
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
Protractor.get(https://localhost:9000/dev-console/project/console-test-project-1506965913119/browse/images) - reset url Tinkering locally, for some reason the click on "create" is no longer happening before the browser navigates to the next page (images). So it never actually creates the resources, thus the tables are empty. Thats the issue I've been working on the past 2 days locally, now its showing up in Travis. |
https://github.com/openshift/origin-web-console/blob/master/test/protractor.conf.js#L180 |
I think its not waiting for anything, its just plowing through the rest of the tests and failing. The |
Well we have origin-web-console/test/integration/helpers.js Lines 102 to 106 in 9c144f3
origin-web-console/test/integration/helpers.js Lines 50 to 59 in 9c144f3
|
Testing an increase in the |
Nice, tinkering as well. |
My theory, I think its deeper. I don't believe it is timing out in the navigation, I think its timing out waiting for elements to be rendered to the page. Since protractor is in sync w/Angular, it knowns when Angular is done (all promises resolved) for requesting the objects that never get created. So it is rendering empty tables, then the However, your links above consistently timeout at |
@benjaminapetersen I don't think you're wrong, but I think you're describing a different flake (#1685). This particular error consistently shows the white "Loading..." page in failure screenshots like discovery hasn't finished. I think it's just slow and timing out too soon. I wonder if our pre-Angular bootstrap tasks are tripping Protractor up. |
Oh that might be. I've read about custom bootstrapping causing problems. Will see if I can dig up the reference. |
I'm pretty sure this was caused by the Firefox 52.3.0 -> 52.4.0 bump. Both the test and merge queues stopped working as soon as the installed Firefox package was updated. 52.4.0 is the latest ESR released a few days ago. |
Opened openshift-eng/aos-cd-jobs#704 to temporarily downgrade Firefox as a workaround |
Downgrading FF did not fix the tests :( |
Lowering severity as the tests are no longer flaking. |
This failure is no longer happening. |
Getting the error Jasmine spec timed out. Resetting the WebDriver Control Flow while executing the test suit but individually it runs fine. tried changing the protractor config defaultTimeoutInterval and changing the Jasmine framework to Jasmine from jasmine2. Still nothing works. can somebody plz help me |
The text was updated successfully, but these errors were encountered: