Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: Not version specific
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Rice Team:
      Middleware
    • Rice Module:
      Rice Core
    • Application Requirement:
      Rice
    • Sprint:
      Rice Sprint 2015-02-18, Rice Sprint 2015-03-04
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes
    • Story Points:
      1

      Description

      Failed

      edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav
      Failing for the past 2 builds (Since Unstable#87 )
      Took 8 min 15 sec.

      Error Message:

      Element not found in the cache - perhaps the page has changed since it was looked up
      Command duration or timeout: 8.25 seconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
      System info: host: 'ip-10-158-134-112', ip: '10.158.134.112', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-59-virtual', java.version: '1.7.0_67'
      Session ID: 5d60dea0-8a3e-45bd-bad2-868e04654fd1
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=30.0}]
      
      Stacktrace
      
      org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
      Command duration or timeout: 8.25 seconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
      Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
      System info: host: 'ip-10-158-134-112', ip: '10.158.134.112', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-59-virtual', java.version: '1.7.0_67'
      Session ID: 5d60dea0-8a3e-45bd-bad2-868e04654fd1
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=30.0}]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      	at org.openqa.selenium.remote.RemoteWebElement.clear(RemoteWebElement.java:113)
      	at org.kuali.rice.testtools.selenium.WebDriverAftBase.clearText(WebDriverAftBase.java:505)
      	at org.kuali.rice.testtools.selenium.WebDriverAftBase.clearTextByName(WebDriverAftBase.java:513)
      	at edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.waitClearAndType(AgendaEditorAndOrToggleSyncAft.java:288)
      	at edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testFillRequiredDetails(AgendaEditorAndOrToggleSyncAft.java:270)
      	at edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testAgendaEditorEditRuleAddActionsValidationAction(AgendaEditorAndOrToggleSyncAft.java:244)
      	at edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav(AgendaEditorAndOrToggleSyncAft.java:322)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element not found in the cache - perhaps the page has changed since it was looked up
      Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
      System info: host: 'ip-10-158-134-112', ip: '10.158.134.112', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-59-virtual', java.version: '1.7.0_67'
      Driver info: driver.version: unknown
      	at <anonymous class>.fxdriver.cache.getElementAt(resource://fxdriver/modules/web_element_cache.js:7610:5)
      	at <anonymous class>.Utils.getElementAt(file:///tmp/anonymous3056941321843155095webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7210:3)
      	at <anonymous class>.fxdriver.preconditions.visible(file:///tmp/anonymous3056941321843155095webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8223:1)
      	at <anonymous class>.DelayedCommand.prototype.checkPreconditions_(file:///tmp/anonymous3056941321843155095webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10867:1)
      	at <anonymous class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous3056941321843155095webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10884:11)
      	at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous3056941321843155095webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:396:5)
      
      Standard Output
      
      AFT Step: Open http://env2.rice.kuali.org/portal.do
      AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav sessionId is 5d60dea0-8a3e-45bd-bad2-868e04654fd1
      AFT Step: Click Agenda Lookup link.
      AFT Step: Click Main Menu link.
      AFT Step: Click People Flow link.
      AFT Step: Click Create New link.
      AFT Step: Doc Id is 3441
      AFT Step: Type into document.documentHeader.documentDescription the text: Description for Document
      AFT Step: Select KUALI - Kuali Systems from document.newMaintainableObject.dataObject.namespaceCode
      AFT Step: Type into document.newMaintainableObject.dataObject.name the text: Document Name1423191410508xb
      AFT Step: Add Member kr
      AFT Step: Type into newCollectionLines['document.newMaintainableObject.dataObject.members'].memberName the text: kr
      AFT Step: Add Member admin
      AFT Step: Type into newCollectionLines['document.newMaintainableObject.dataObject.members'].priority the text: 2
      AFT Step: Type into newCollectionLines['document.newMaintainableObject.dataObject.members'].memberName the text: admin
      AFT Step: Click Save button.
      AFT Step: Is text 'SAVED' present? false
      AFT Step: Is text 'SAVED' present? false
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: people flow id is created
      AFT Step: Click Main Menu link.
      AFT Step: Click People Flow link.
      AFT Step: ready to search people flow
      AFT Step: Select KUALI - Kuali Systems from lookupCriteria[namespaceCode]
      AFT Step: Type into lookupCriteria[name] the text: Document Name1423191410508xb
      AFT Step: Is text 'edit' present? true
      AFT Step: Is text 'edit' present? true
      AFT Step: search people flow search complete
      AFT Step: people flow id is 10003
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select  from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Save button.
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select  from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Blanket Approve button.
      AFT Step: Click OK Confirmation
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select KrmsActionResolverType from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: ActionName
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Save button.
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select KrmsActionResolverType from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: ActionName
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Blanket Approve button.
      AFT Step: Click OK Confirmation
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select Notify PeopleFlow from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowId] the text: 10003
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowName] the text: Document Name1412916151718sz
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: test
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Save button.
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select Notify PeopleFlow from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowId] the text: 10003
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowName] the text: Document Name1412916151718sz
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: test
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Blanket Approve button.
      AFT Step: Click OK Confirmation
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select Route to PeopleFlow from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowId] the text: 10003
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowName] the text: Document Name1412916151718sz
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: test
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Save button.
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text 'SAVED' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Is text ' Document was successfully saved.' present? true
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? false
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'ENROUTE' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select Route to PeopleFlow from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowId] the text: 10003
      AFT Step: Type into document.newMaintainableObject.dataObject.customRuleActionAttributesMap[peopleFlowName] the text: Document Name1412916151718sz
      AFT Step: Type into document.newMaintainableObject.dataObject.agendaItemLineRuleAction.name the text: test
      AFT Step: Click Update Rule button.
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Is text 'INITIATED' present? true
      AFT Step: Click Blanket Approve button.
      AFT Step: Click OK Confirmation
      AFT Step: Click Main Menu link.
      AFT Step: Click Agenda Lookup link.
      AFT Step: Type into lookupCriteria[id] the text: T1001
      AFT Step: Select Validation Action from document.newMaintainableObject.dataObject.agendaItemLineRuleAction.typeId
      Last AFT URL: http://env2.rice.kuali.org/kr-krad/krmsAgendaEditor?overrideKeys=id&viewTypeName=MAINTENANCE&returnLocation=http%3A%2F%2Fenv2.rice.kuali.org%2Fportal.do&methodToCall=maintenanceEdit&dataObjectClassName=org.kuali.rice.krms.impl.ui.AgendaEditor&id=T1001&formKey=5bacc0a3-6b9b-43e8-9fdb-9505c6b452b5&cacheKey=pvxo3vulrckt62q1slz1me&pageId=AgendaEditorView-EditRule-Page
      AFT Step: https://ci.kuali.org/job/rice-2.6-test-functional-env2-jenkins-rice-sampleapp/88/artifact/screenshots/2015-02-06-03-04-41-AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav--AgendaEditorView-EditRule-Page.png
      Registering session failed 5d60dea0-8a3e-45bd-bad2-868e04654fd1
      

        Attachments

          Activity

          Hide
          cniesen Claus Niesen added a comment -

          edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav
          edu.sampleu.main.EditRuleBkMrkAft.testEditRuleBlanketApproveBookmark
          edu.sampleu.main.EditRuleBkMrkAft.testEditRuleSaveSubmitBookmark

          failed in build #86, #88 and current(#90)

          Show
          cniesen Claus Niesen added a comment - edu.sampleu.main.AgendaEditorAndOrToggleSyncAft.testAgendaEditorAddActionsNav edu.sampleu.main.EditRuleBkMrkAft.testEditRuleBlanketApproveBookmark edu.sampleu.main.EditRuleBkMrkAft.testEditRuleSaveSubmitBookmark failed in build #86, #88 and current(#90)
          Hide
          bsmith Brian Smith (Inactive) added a comment -

          I cannot reproduce this issue locally, however I can consistently get a different error with the third sub-test of this test, where it can never verify that a piece of text is not present and blows up. However it magically works if it hits at least one breakpoint in the test during running. No idea.

          Show
          bsmith Brian Smith (Inactive) added a comment - I cannot reproduce this issue locally, however I can consistently get a different error with the third sub-test of this test, where it can never verify that a piece of text is not present and blows up. However it magically works if it hits at least one breakpoint in the test during running. No idea.
          Show
          cniesen Claus Niesen added a comment - - edited It's now happening in 2.5. http://ci.kuali.org/view/rice/view/2.5/view/list/job/rice-2.5-test-functional-env12-jenkins-rice-sampleapp/lastCompletedBuild/testReport/edu.sampleu.main/AgendaEditorAndOrToggleSyncAft/testAgendaEditorAddActionsBookmark/ http://ci.kuali.org/view/rice/view/2.5/view/list/job/rice-2.5-test-functional-env12-jenkins-rice-sampleapp/lastCompletedBuild/testReport/edu.sampleu.main/AgendaEditorAndOrToggleSyncAft/testAgendaEditorAddActionsNav/
          Hide
          sonam Sona Sona (Inactive) added a comment -

          Cannot reproduce locally and is no longer failing on ci

          Show
          sonam Sona Sona (Inactive) added a comment - Cannot reproduce locally and is no longer failing on ci

            People

            • Assignee:
              sonam Sona Sona (Inactive)
              Reporter:
              cwade Christopher Wade (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: