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

e2e test failure: no element found "e2e_replicated_with_128_pgs"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.2
    • Fix Version/s: 3.7.0
    • Component/s: QA/Testing
    • Labels:

      Description

      Fceph_pool_creation -> ceph_pool_creation.e2e.js
      
      Failures:
      1) ceph pool creation should create replicated pool
        Message:
          Expected true to be false.
        Stack:
          Error: Failed expectation
              at Object.checkForUnsavedChanges (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/common.js:64:45)
              at CephPoolCommons.submitForm (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/cephPoolCommon.js:403:13)
              at CephPoolCommons.createPool (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/cephPoolCommon.js:418:10)
              at UserContext.it (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/ceph_pool_creation.e2e.js:17:24)
              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)
        Message:
          Failed: No element found using locator: by.cssContainingText("tr", "e2e_replicated_with_128_pgs")
        Stack:
          NoSuchElementError: No element found using locator: by.cssContainingText("tr", "e2e_replicated_with_128_pgs")
              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 <anonymous>
              at process._tickCallback (internal/process/next_tick.js:188:7)Error
              at ElementArrayFinder.applyAction_ (/usr/lib/node_modules/protractor/lib/element.ts:482:23)
              at ElementArrayFinder.(anonymous function).args [as isDisplayed] (/usr/lib/node_modules/protractor/lib/element.ts:96:21)
              at ElementFinder.(anonymous function).args [as isDisplayed] (/usr/lib/node_modules/protractor/lib/element.ts:873:14)
              at CephPoolCommons.submitForm (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/cephPoolCommon.js:406:21)
              at CephPoolCommons.createPool (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/cephPoolCommon.js:418:10)
              at UserContext.it (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/ceph_pool_creation.e2e.js:17:24)
              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)
          From: Task: Run it("should create replicated pool") in control flow
              at UserContext.<anonymous> (/usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19)
          From asynchronous test: 
          Error
              at Suite.describe (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/ceph_pool_creation.e2e.js:15:3)
              at Env.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/node_modules/jasmine-fail-fast/dist/jasmine-fail-fast.js:57:26)
              at Env.wrapper [as describe] (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/node_modules/jasmine-fail-fast/node_modules/lodash/index.js:3592:19)
              at Object.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-1/webui/e2e/ceph/pools/ceph_pool_creation.e2e.js:6:1)
              at Module._compile (module.js:635:30)
              at Object.Module._extensions..js (module.js:646:10)
      

       

       

      openattic.log:

      2017-12-20 09:02:22,288 2846 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/models.py", line 440, in save
          None)
        File "/srv/openattic/backend/ceph/librados.py", line 461, in wrapper
          ret = next(runner)
        File "/srv/openattic/backend/ceph/librados.py", line 641, in osd_pool_create
          output_format='string')
        File "/srv/openattic/backend/ceph/librados.py", line 1059, in _call_mon_command
          timeout)
        File "/srv/openattic/backend/ceph/librados.py", line 439, in call_librados
          return run_in_external_process(with_client, cmd_name, timeout)
        File "/srv/openattic/backend/utilities.py", line 163, in run_in_external_process
          raise res
      ExternalCommandError: Executing "osd pool create pool_type=replicated pg_num=128 pool=e2e_replicated_with_128_pgs pgp_num=128" failed: " pg_num 128 size 3 would mean 2424 total pgs, which exceeds max 1800 (mon_max_pg_per_osd 200 * num_in_osds 9)" code=ERANGE
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgmueller Stephan Müller
                Reporter:
                lpaduano Paduano, Laura
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: