Project

General

Profile

Bug #45545

Updated by Laura Paduano almost 4 years ago

The error is not always reproducible, but we've seen it happens on *some* "braggi" and "ubuntu-slave[..]"-nodes. 
 <pre><code class="text"> 
   ● Test suite failed to run 

     src/app/core/auth/user-form/user-form.component.spec.ts:62:5 - error TS2554: Expected 1 arguments, but got 2. 

     62       true 
                ~~~~ 

 . 
   ● Test suite failed to run 

     src/app/core/auth/user-form/user-form.component.spec.ts:62:5 - error TS2554: Expected 1 arguments, but got 2. 

     62       true 
                ~~~~ 

 . 
   ● Test suite failed to run 

     src/app/core/auth/user-form/user-form.component.spec.ts:62:5 - error TS2554: Expected 1 arguments, but got 2. 

     62       true 
                ~~~~ 

 . 
   ● Test suite failed to run 

     src/app/core/auth/user-form/user-form.component.spec.ts:62:5 - error TS2554: Expected 1 arguments, but got 2. 

     62       true 
                ~~~~ 

 A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --runInBand --detectOpenHandles to find leaks. 


 npm ERR! code ELIFECYCLE 
 npm ERR! errno 1 
 npm ERR! ceph-dashboard@0.0.0 test:ci: `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/jenkins-build/.npm/_logs/2020-05-14T04_31_01_877Z-debug.log 
 Linting "ceph-dashboard"... 
 no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead. 
 All files pass linting. 
 </code></pre> 

 - See https://jenkins.ceph.com/job/ceph-pull-requests/51596/consoleFull#127523406433cfc4d7-d735-4db6-903a-110b68358374 

 While (on braggi nodes?) there is a slightly different error in make check: 

 <pre><code class="text"> 
 . 
   ● Test suite failed to run 

     src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts:16:3 - error TS2305: Module '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. 

     16     Mocks 
              ~~~~~ 

 . 
   ● Test suite failed to run 

     src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts:16:3 - error TS2305: Module '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. 

     16     Mocks 
              ~~~~~ 

 . 
   ● Test suite failed to run 

     src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts:16:3 - error TS2305: Module '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. 

     16     Mocks 
              ~~~~~ 

 . 
   ● Test suite failed to run 

     src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts:16:3 - error TS2305: Module '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. 

     16     Mocks 
              ~~~~~ 

 . 
   ● Test suite failed to run 

     src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts:16:3 - error TS2305: Module '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. 

     16     Mocks 
              ~~~~~ 



 npm ERR! code ELIFECYCLE 
 npm ERR! errno 1 
 npm ERR! ceph-dashboard@0.0.0 test:ci: `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/jenkins-build/.npm/_logs/2020-05-14T03_55_24_024Z-debug.log 
 Linting "ceph-dashboard"... 
 no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead. 
 All files pass linting. 
 </code></pre> 


 - See https://jenkins.ceph.com/job/ceph-pull-requests/51591/consoleFull#127523406433cfc4d7-d735-4db6-903a-110b68358374 

 Maybe https://github.com/ceph/ceph/pull/34965 is related to those issues?

Back