Project

General

Profile

Bug #58406

Updated by Nizamudeen A over 1 year ago

On main: 

 <pre> 
  Services page 
     ✓ should check if rgw service 
 + sudo groupadd docker 
 groupadd: group 'docker' already exists 
 + true 
 ++ id -un 
 + sudo usermod -aG docker jenkins-build 
 + sudo systemctl start docker 
 Failed to start docker.service: Unit docker.service is created (5633ms) 
     ✓ should create an mds service (23069ms) 
     ✓ should stop masked. 
 ++ on_error 1 93 
 ++ '[' 1 '!=' 0 ']' 
 </pre> 

 On quincy: 
 It looks like the prometheus is not started. The below message just stuck in a daemon (19259ms) 
     ✓ should restart a daemon (15451ms) 
     1) should redeploy a daemon 
     2) should start a daemon 
     ✓ should delete an mds service (16872ms) 
     ✓ should create and delete snmp-gateway service loop. I think this will happen in main as well once the above error is fixed. 
 <pre> 
 ++ jq -r '.[] | .status.running' 
 Inferring fsid 7dfd4f6a-9082-11ed-93aa-525400a36133 
 Inferring config /var/lib/ceph/7dfd4f6a-9082-11ed-93aa-525400a36133/mon.ceph-node-00/config 
 Using ceph image with version V2c (29911ms) 
     ✓ should create id 'cc65afd6173a' and delete snmp-gateway service with version V3 (37922ms) 
     ✓ should create and delete snmp-gateway service with version V3 and w/o privacy protocol (37362ms) 
     ✓ should create ingress as unmanaged (31572ms) 


   9 passing (4m) 
   2 failing 

   1) Services page 
        should redeploy a daemon: 
      CypressError: `cy.type()` failed because it targeted a disabled element. tag 'v17' created on 2022-10-17 23:41:41 +0000 UTC 
 quay.io/ceph/ceph@sha256:0560b16bec6e84345f29fb6693cd2430884e6efff16a95d5bdd0bb06d7661c45 
 + PROMETHEUS_RUNNING_COUNT=0 
 </pre> 

 The element typed into was: 

   > <input _ngcontent-uuq-c140="" aria-label="search" type="text" class="form-control ng-pristine ng-valid ng-touched" ng-reflect-model=""> 

 Ensure As per my local testing the element does main culprit looks like the below which is the side-effect of https://github.com/ceph/ceph/pull/49490 
 <pre> 
 Jan 10 06:52:01 ceph-node-00 ceph-mgr[13294]: mgr[py] Module not have an attribute found: 'prometheus' 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]: 2023-01-10T06:52:01.904+0000 7fa8c5ad5200 -1 mgr[py] Traceback (most recent call last): 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]:     File "/usr/share/ceph/mgr/prometheus/__init__.py", line 2, in <module> 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]:       from .module import Module, StandbyModule 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]:     File "/usr/share/ceph/mgr/prometheus/module.py", line 3, in <module> 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]:       from packaging.version import Version 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]: ModuleNotFoundError: No module named `disabled` before typing into it. 

 https://on.cypress.io/type 
       at https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:159232:86 
       at tryCatcher (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:13022:23) 
       at Promise._settlePromiseFromHandler (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:10957:31) 
       at Promise._settlePromise (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:11014:18) 
       at Promise._settlePromise0 (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:11059:10) 
       at Promise._settlePromises (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:11139:18) 
       at _drainQueueStep (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:7729:12) 
       at _drainQueue (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:7722:9) 
       at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:7738:5) 
       at Async.drainQueues (https://192.168.100.100:8443/__cypress/runner/cypress_runner.js:7608:14) 
   From Your Spec Code: 
       at PageHelper.searchTable (https://192.168.100.100:8443/__cypress/tests?p=cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts:529:50) 
       at PageHelper.getTableRow (https://192.168.100.100:8443/__cypress/tests?p=cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts:457:14) 
       at Context.eval (https://192.168.100.100:8443/__cypress/tests?p=cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts:199:19) 

 'packaging' 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]:  
 Jan 10 06:52:01 ceph-node-00 ceph-mgr[13294]: mgr[py] Traceback (most recent call last): 
                                                 File "/usr/share/ceph/mgr/prometheus/__init__.py", line 2, in <module> 
                                                   from .module import Module, StandbyModule 
                                                 File "/usr/share/ceph/mgr/prometheus/module.py", line 3, in <module> 
                                                   from packaging.version import Version 
                                               ModuleNotFoundError: No module named 'packaging' 
 Jan 10 06:52:01 ceph-node-00 conmon[13288]: 2023-01-10T06:52:01.914+0000 7fa8c5ad5200 -1 mgr[py] Class not found in module 'prometheus' 
 </pre> 

Back