Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-2672

Random e2e Failure: ceph nfs should add a export

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 31

      Description

      • oa-test-gui-pr-sle-1/1227
      • oa-test-gui-pr-sle-1/1228
      • oa-test-gui-pr-sle-1/1229
      • oa-test-gui-pr-sle-1/1230
      • oa-test-gui-pr-sle-1/1240
      ..FFFFFFFFFceph_nfs -> ceph_nfs_crud.e2e.js
      
      1) ceph nfs should add a export
        Message:
          Failed: No element found using locator: by.model("filterConfig.search")
        Stack:
          NoSuchElementError: No element found using locator: by.model("filterConfig.search")
              at WebDriverError (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
              at NoSuchElementError (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:168:5)
              at elementArrayFinder.getWebElements.then (/usr/lib/node_modules/protractor/lib/element.ts:851:17)
              at ManagedPromise.invokeCallback_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1366:14)
              at TaskQueue.execute_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2970:14)
              at TaskQueue.executeNext_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2953:27)
              at asyncRun (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2813:27)
              at /usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:676:7
              at process._tickCallback (internal/process/next_tick.js:109:7)Error
              at ElementArrayFinder.applyAction_ (/usr/lib/node_modules/protractor/lib/element.ts:482:23)
              at ElementArrayFinder.(anonymous function) [as clear] (/usr/lib/node_modules/protractor/lib/element.ts:96:21)
              at ElementFinder.(anonymous function) [as clear] (/usr/lib/node_modules/protractor/lib/element.ts:873:14)
              at UserContext.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/e2e/ceph/nfs/ceph_nfs_crud.e2e.js:149:23)
              at /usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25
              at new ManagedPromise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1067:7)
              at ControlFlow.promise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2396:12)
              at schedulerExecute (/usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18)
              at TaskQueue.execute_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2970:14)
              at TaskQueue.executeNext_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2953:27)
          From: Task: Run afterEach in control flow
              at UserContext.<anonymous> (/usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19)
              at /usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:64:48
              at ControlFlow.emit (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/events.js:62:21)
              at ControlFlow.shutdown_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2565:10)
              at shutdownTask_.MicroTask (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2490:53)
          From asynchronous test: 
          Error
              at Suite.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/e2e/ceph/nfs/ceph_nfs_crud.e2e.js:148:3)
              at Object.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/e2e/ceph/nfs/ceph_nfs_crud.e2e.js:9:1)
              at Module._compile (module.js:570:32)
              at Object.Module._extensions..js (module.js:579:10)
              at Module.load (module.js:487:32)
              at tryModuleLoad (module.js:446:12)
      
      2017-09-14 13:32:03,805 3191 mod_wsgi ERROR exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/rest_framework/views.py", line 400, in dispatch
          response = handler(request, *args, **kwargs)
        File "/usr/lib/python2.7/site-packages/rest_framework/mixins.py", line 54, in create
          self.object = serializer.save(force_insert=True)
        File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py", line 599, in save
          self.save_object(self.object, **kwargs)
        File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py", line 1041, in save_object
          obj.save(**kwargs)
        File "/srv/openattic/backend/ceph_nfs/models.py", line 336, in save
          GaneshaExport.save_exports(export_models + [self], [])
        File "/srv/openattic/backend/ceph_nfs/models.py", line 227, in save_exports
          setattr(e, 'rgwAccessKey', keys['access_key'])
      TypeError: 'NoneType' object has no attribute '__getitem__'
      
      127.0.01 - - [14/Sep/2017:13:31:55 +0200] "POST /openattic/api/ceph_nfs/<fsid>/exports?host=bluestore-3.domain HTTP/1.1" 500 62 "http://oa-e2e-sle-pr.domain/openattic/" - 7940601
      127.0.01 - - [14/Sep/2017:13:32:37 +0200] "POST /openattic/api/ceph_nfs/<fsid>/stop?host=bluestore-2.domain HTTP/1.1" 200 15 "http://oa-e2e-sle-pr.domain/openattic/" - 16947
      127.0.01 - - [14/Sep/2017:13:33:41 +0200] "POST /openattic/api/ceph_nfs/<fsid>/deploy?host=bluestore-2.domain HTTP/1.1" 200 15 "http://oa-e2e-sle-pr.domain/openattic/" - 18439
      
      

      Also, could you please rename the test to "should add a+n+ export"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rimarques Ricardo Marques
              Reporter:
              swagner Sebastian Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: