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 [96msrc/app/core/auth/user-form/user-form.component.spec.ts[0m:[93m62[0m:[93m5[0m - [91merror[0m[90m TS2554: [0mExpected 1 arguments, but got 2. [7m62[0m true [7m [0m [91m ~~~~[0m . â Test suite failed to run [96msrc/app/core/auth/user-form/user-form.component.spec.ts[0m:[93m62[0m:[93m5[0m - [91merror[0m[90m TS2554: [0mExpected 1 arguments, but got 2. [7m62[0m true [7m [0m [91m ~~~~[0m . â Test suite failed to run [96msrc/app/core/auth/user-form/user-form.component.spec.ts[0m:[93m62[0m:[93m5[0m - [91merror[0m[90m TS2554: [0mExpected 1 arguments, but got 2. [7m62[0m true [7m [0m [91m ~~~~[0m . â Test suite failed to run [96msrc/app/core/auth/user-form/user-form.component.spec.ts[0m:[93m62[0m:[93m5[0m - [91merror[0m[90m TS2554: [0mExpected 1 arguments, but got 2. [7m62[0m true [7m [0m [91m ~~~~[0m 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 [96msrc/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts[0m:[93m16[0m:[93m3[0m - [91merror[0m[90m TS2305: [0mModule '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. [7m16[0m Mocks [7m [0m [91m ~~~~~[0m . â Test suite failed to run [96msrc/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts[0m:[93m16[0m:[93m3[0m - [91merror[0m[90m TS2305: [0mModule '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. [7m16[0m Mocks [7m [0m [91m ~~~~~[0m . â Test suite failed to run [96msrc/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts[0m:[93m16[0m:[93m3[0m - [91merror[0m[90m TS2305: [0mModule '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. [7m16[0m Mocks [7m [0m [91m ~~~~~[0m . â Test suite failed to run [96msrc/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts[0m:[93m16[0m:[93m3[0m - [91merror[0m[90m TS2305: [0mModule '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. [7m16[0m Mocks [7m [0m [91m ~~~~~[0m . â Test suite failed to run [96msrc/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts[0m:[93m16[0m:[93m3[0m - [91merror[0m[90m TS2305: [0mModule '"../../../../testing/unit-test-helper"' has no exported member 'Mocks'. [7m16[0m Mocks [7m [0m [91m ~~~~~[0m 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?