Project

General

Profile

Bug #48387

mgr-dashboard-frontend-unittests (Failed) - npm ERR! Failed at the ceph-dashboard@0.0.0 test:ci script

Added by Brad Hubbard over 3 years ago. Updated almost 3 years ago.

Status:
Need More Info
Priority:
Low
Assignee:
-
Category:
Component - RBD
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

> ceph-dashboard@0.0.0 test:ci /home/brad/working/src/ceph5/src/pybind/mgr/dashboard/frontend                                                                                                                                    [6076/11301]
> jest --clearCache && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter                                                                                                                                       

Cleared /tmp/jest_rs                                                                                                                                                                                                                         
...............................................................................................                                                                                                                                              
  ● RbdTrashMoveModalComponent › should call moveImage › with delay < 0                                                                                                                                                                      

    expect(received).toBeGreaterThan(expected)                                                                                                                                                                                               

    Expected: > 76390                                                                                                                                                                                                                        
    Received:   50399.131                                                                                                                                                                                                                    

      89 |       const req = httpTesting.expectOne('api/block/image/foo%2Fbar/move_trash');                                                                                                                                                  
      90 |       req.flush(null);                                                                                                                                                                                                            
    > 91 |       expect(req.request.body.delay).toBeGreaterThan(76390);                                                                                                                                                                      
         |                                      ^                                                                                                                                                                                            
      92 |     });                                                                                                                                                                                                                           
      93 |   });                                                                                                                                                                                                                             
      94 | });                                                                                                                                                                                                                               

      at src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts:91:38                                                                                                                                                
      at ZoneDelegate.Object.<anonymous>.ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:386:30)                                                                                                                                      
      at ProxyZoneSpec.Object.<anonymous>.ProxyZoneSpec.onInvoke (node_modules/zone.js/dist/proxy.js:117:43)                                                                                                                                 
      at ZoneDelegate.Object.<anonymous>.ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:385:36)                                                                                                                                      
      at Zone.Object.<anonymous>.Zone.run (node_modules/zone.js/dist/zone.js:143:47)                                                                                                                                                         

.......................................................................................................................................................................................                                                      

npm ERR! code ELIFECYCLE                                                                                                                                                                                                                     
npm ERR! errno 1                                                                                                                                                                                                                             
npm ERR! ceph-dashboard@0.0.0 test:ci: `jest --clearCache && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter`                                                                                                
npm ERR! Exit status 1                                                                                                                                                                                                                       
npm ERR!                                                                                                                                                                                                                                     
npm ERR! Failed at the ceph-dashboard@0.0.0 test:ci script.                                                                                                                                                                                  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                                                                                                                                           

npm ERR! A complete log of this run can be found in:                                                                                                                                                                                         
npm ERR!     /home/brad/.npm/_logs/2020-11-27T03_52_34_971Z-debug.log                                                                                                                                                                        
[lint:html    ]                                                                                                                                                                                                                              
[lint:html    ] [htmllint] found 0 errors out of 158 files                                                                                                                                                                                   
[lint:html    ] All files pass linting                                                                                                                                                                                                       
[lint:tslint  ] Linting "ceph-dashboard"...                                                                                                                                                                                                  
[lint:tslint  ] All files pass linting.

Seen on db2767cc6deabc7b51fb2a21d1e706dca4daf2f1 + 1 on fedora32.

History

#1 Updated by Ernesto Puerta over 3 years ago

  • Status changed from New to Need More Info
  • Priority changed from Normal to Low

Waiting for more occurrences of this one.

#2 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 139 to Component - RBD

#3 Updated by Tomohiro Misono almost 3 years ago

Hi,

I got the same error in my development machine.
It seems that expected delay value has been reduced some time ago to fix probably the same problem: https://github.com/ceph/ceph/commit/746bac29afd915bb85279234c665d38c807ef2b7
So, can we just lower the value once again?

Also available in: Atom PDF