● Console console.error sorry, try again later! 217 | driver.fetchNewsfeedItems(http, config.service).pipe( 218 | catchError((err) => { > 219 | window.console.error(err); | ^ 220 | return Rx.of({ 221 | error: err, 222 | opensearchDashboardsVersion, at CatchSubscriber.driver.fetchNewsfeedItems.pipe.err [as selector] (src/plugins/newsfeed/public/lib/api.ts:219:26) at CatchSubscriber.Object..CatchSubscriber.error (node_modules/rxjs/src/internal/operators/catchError.ts:130:23) at node_modules/rxjs/src/internal/util/subscribeToPromise.ts:12:30 console.error Sorry, try again later! 217 | driver.fetchNewsfeedItems(http, config.service).pipe( 218 | catchError((err) => { > 219 | window.console.error(err); | ^ 220 | return Rx.of({ 221 | error: err, 222 | opensearchDashboardsVersion, at CatchSubscriber.driver.fetchNewsfeedItems.pipe.err [as selector] (src/plugins/newsfeed/public/lib/api.ts:219:26) at CatchSubscriber.Object..CatchSubscriber.error (node_modules/rxjs/src/internal/operators/catchError.ts:130:23) at node_modules/rxjs/src/internal/util/subscribeToPromise.ts:12:30 console.error Sorry, internal server error! 217 | driver.fetchNewsfeedItems(http, config.service).pipe( 218 | catchError((err) => { > 219 | window.console.error(err); | ^ 220 | return Rx.of({ 221 | error: err, 222 | opensearchDashboardsVersion, at CatchSubscriber.driver.fetchNewsfeedItems.pipe.err [as selector] (src/plugins/newsfeed/public/lib/api.ts:219:26) at CatchSubscriber.Object..CatchSubscriber.error (node_modules/rxjs/src/internal/operators/catchError.ts:130:23) at node_modules/rxjs/src/internal/util/subscribeToPromise.ts:12:30 console.error Sorry, it's too cold to go outside! 217 | driver.fetchNewsfeedItems(http, config.service).pipe( 218 | catchError((err) => { > 219 | window.console.error(err); | ^ 220 | return Rx.of({ 221 | error: err, 222 | opensearchDashboardsVersion, at CatchSubscriber.driver.fetchNewsfeedItems.pipe.err [as selector] (src/plugins/newsfeed/public/lib/api.ts:219:26) at CatchSubscriber.Object..CatchSubscriber.error (node_modules/rxjs/src/internal/operators/catchError.ts:130:23) at node_modules/rxjs/src/internal/util/subscribeToPromise.ts:12:30 PASS src/plugins/expressions/public/render.test.ts (10.112 s) PASS src/plugins/data/common/opensearch_query/opensearch_query/build_opensearch_query.test.ts (5.542 s) 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. Summary of all failing tests FAIL src/plugins/telemetry/public/services/telemetry_service.test.ts (22.609 s) ● TelemetryService › setOptIn › calls reportOptInStatus if reportOptInStatusChange is true : Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: 139 | }); 140 | > 141 | it('calls reportOptInStatus if reportOptInStatusChange is true', async () => { | ^ 142 | const telemetryService = mockTelemetryService({ 143 | reportOptInStatusChange: true, 144 | config: { allowChangingOptInStatus: true }, at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) at Suite.describe (src/plugins/telemetry/public/services/telemetry_service.test.ts:141:5) at Suite.Object..describe (src/plugins/telemetry/public/services/telemetry_service.test.ts:83:3) at Object. (src/plugins/telemetry/public/services/telemetry_service.test.ts:60:1) FAIL src/legacy/server/logging/rotate/log_rotator.test.ts (7.292 s) ● LogRotator › rotates log file when bigger than set limit on start : Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: 80 | }); 81 | > 82 | it('rotates log file when bigger than set limit on start', async () => { | ^ 83 | writeBytesToFile(testFilePath, 3); 84 | 85 | const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) at Suite.Object..describe (src/legacy/server/logging/rotate/log_rotator.test.ts:82:3) at Object. (src/legacy/server/logging/rotate/log_rotator.test.ts:71:1) ● LogRotator › rotates log file when equal than set limit over time expect(received).toBeTruthy() Received: false 92 | const testLogFileDir = dirname(testFilePath); 93 | > 94 | expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); | ^ 95 | }); 96 | 97 | it('rotates log file when equal than set limit over time', async () => { at Object.it (src/legacy/server/logging/rotate/log_rotator.test.ts:94:81) Snapshot Summary › 2 snapshots updated from 1 test suite. Test Suites: 2 failed, 1 skipped, 1432 passed, 1434 of 1435 total Tests: 3 failed, 27 skipped, 9 todo, 10653 passed, 10692 total Snapshots: 2 updated, 2415 passed, 2417 total Time: 799.917 s, estimated 1280 s Ran all test suites. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.