(node:3876) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Running "test:jest" task
PASS src\core_plugins\console\public\tests\src\integration.test.js
● Console
console.log src\core_plugins\console\public\src\kb.js:163
failed to load API 'es_6_0': undefined
console.log src\core_plugins\console\public\src\autocomplete.js:961
error while getting completion terms Error: failed to resolve link [GLOBAL.broken]: Error: failed to resolve global components for ['broken']
at ScopeResolver.resolveLinkToComponents (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\body_completer.js:99:13)
at ScopeResolver.match (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\body_completer.js:117:29)
at C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:89:32
at arrayEach (C:\Users\vagrant\kibana\node_modules\lodash\index.js:1289:13)
at Function.<anonymous> (C:\Users\vagrant\kibana\node_modules\lodash\index.js:3345:13)
at C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:87:7
at arrayEach (C:\Users\vagrant\kibana\node_modules\lodash\index.js:1289:13)
at Function.<anonymous> (C:\Users\vagrant\kibana\node_modules\lodash\index.js:3345:13)
at walkTokenPath (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:85:5)
at walkTokenPath (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:128:10)
at walkTokenPath (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:128:10)
at walkTokenPath (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:128:10)
at walkTokenPath (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:128:10)
at populateContext (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete\engine.js:133:20)
at addBodyAutoCompleteSetToContext (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete.js:532:33)
at getAutoCompleteContext (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete.js:173:9)
at Object.getCompletions (C:\Users\vagrant\kibana\src\core_plugins\console\public\src\autocomplete.js:608:23)
at C:\Users\vagrant\kibana\src\core_plugins\console\public\tests\src\integration.test.js:100:34
at C:\Users\vagrant\kibana\src\core_plugins\console\public\src\sense_editor\editor.js:189:9
at Timeout.callback [as _onTimeout] (C:\Users\vagrant\kibana\node_modules\jest-environment-jsdom\node_modules\jsdom\lib\jsdom\browser\Window.js:633:19)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
console.log src\core_plugins\console\public\src\autocomplete.js:801
Can't extract a valid url token path.
PASS src\server\saved_objects\service\lib\repository.test.js
PASS src\core\server\http__tests__\http_server.test.ts
FAIL src\cli_plugin\install\download.test.js
● kibana cli › plugin downloader › proxy support › should use http_proxy env variable
ENOTEMPTY: directory not empty, rmdir 'C:\Users\vagrant\kibana\src\cli_plugin\install\.test.data.download'
71 | logger.log.restore();
72 | logger.error.restore();
> 73 | rimraf.sync(testWorkingPath);
74 | });
75 |
76 | describe('_downloadSingle', function () {
at rmkidsSync (node_modules/rimraf/rimraf.js:332:11)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:73:14)
● kibana cli › plugin downloader › proxy support › should use https_proxy for secure URLs
assert.equal(received, expected) or assert(received)
Expected value to be (operator: ==):
true
Received:
false
64 | sinon.stub(logger, 'log');
65 | sinon.stub(logger, 'error');
> 66 | rimraf.sync(testWorkingPath);
67 | mkdirp.sync(testWorkingPath);
68 | });
69 |
at fixWinEPERMSync (node_modules/rimraf/rimraf.js:181:5)
at rimrafSync (node_modules/rimraf/rimraf.js:300:28)
at node_modules/rimraf/rimraf.js:330:5
at Array.forEach (<anonymous>)
at rmkidsSync (node_modules/rimraf/rimraf.js:329:26)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:66:14)
● kibana cli › plugin downloader › proxy support › should support domains in no_proxy
ENOTEMPTY: directory not empty, rmdir 'C:\Users\vagrant\kibana\src\cli_plugin\install\.test.data.download'
71 | logger.log.restore();
72 | logger.error.restore();
> 73 | rimraf.sync(testWorkingPath);
74 | });
75 |
76 | describe('_downloadSingle', function () {
at rmkidsSync (node_modules/rimraf/rimraf.js:332:11)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:73:14)
● kibana cli › plugin downloader › proxy support › should support subdomains in no_proxy
assert.equal(received, expected) or assert(received)
Expected value to be (operator: ==):
true
Received:
false
64 | sinon.stub(logger, 'log');
65 | sinon.stub(logger, 'error');
> 66 | rimraf.sync(testWorkingPath);
67 | mkdirp.sync(testWorkingPath);
68 | });
69 |
at fixWinEPERMSync (node_modules/rimraf/rimraf.js:181:5)
at rimrafSync (node_modules/rimraf/rimraf.js:300:28)
at node_modules/rimraf/rimraf.js:330:5
at Array.forEach (<anonymous>)
at rmkidsSync (node_modules/rimraf/rimraf.js:329:26)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:66:14)
console.warn node_modules\moment\moment.js:293
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now/w, _f: undefined, _strict: undefined, _locale: [object Object]
Error
at Function.createFromInputFallback (C:\Users\vagrant\kibana\node_modules\moment\moment.js:320:94)
at configFromString (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2368:11)
at configFromInput (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2594:9)
at prepareConfig (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2577:9)
at createFromConfig (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2544:40)
at createLocalOrUTC (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2631:12)
at createLocal (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2635:12)
at hooks (C:\Users\vagrant\kibana\node_modules\moment\moment.js:12:25)
at DashboardStateManager.syncTimefilterWithDashboard (C:\Users\vagrant\kibana\src\core_plugins\kibana\public\dashboard\dashboard_state_manager.js:519:43)
at Object.<anonymous> (C:\Users\vagrant\kibana\src\core_plugins\kibana\public\dashboard\dashboard_state.test.js:63:22)
at Object.asyncFn (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\jasmine_async.js:82:37)
at resolve (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:52:12)
at new Promise (<anonymous>)
at mapper (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:39:19)
at promise.then (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:73:82)
at <anonymous>
console.warn node_modules\moment\moment.js:293
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-17m, _f: undefined, _strict: undefined, _locale: [object Object]
Error
at Function.createFromInputFallback (C:\Users\vagrant\kibana\node_modules\moment\moment.js:320:94)
at configFromString (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2368:11)
at configFromInput (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2594:9)
at prepareConfig (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2577:9)
at createFromConfig (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2544:40)
at createLocalOrUTC (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2631:12)
at createLocal (C:\Users\vagrant\kibana\node_modules\moment\moment.js:2635:12)
at hooks (C:\Users\vagrant\kibana\node_modules\moment\moment.js:12:25)
at formatTimeString (C:\Users\vagrant\kibana\src\ui\public\timepicker\pretty_duration.js:31:7)
at cantLookup (C:\Users\vagrant\kibana\src\ui\public\timepicker\pretty_duration.js:25:23)
at prettyDuration (C:\Users\vagrant\kibana\src\ui\public\timepicker\pretty_duration.js:67:16)
at Object.test (C:\Users\vagrant\kibana\src\ui\public\timepicker\pretty_duration.test.js:52:12)
at Object.asyncFn (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\jasmine_async.js:82:37)
at resolve (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:52:12)
at new Promise (<anonymous>)
at mapper (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:39:19)
at promise.then (C:\Users\vagrant\kibana\node_modules\jest-jasmine2\build\queue_runner.js:73:82)
at <anonymous>
expect(received).toEqual(expected)
Expected value to equal:
"/data/newest.yml"
Received:
"C:\\data\\newest.yml"
48 | expect(file).toEqual('/data/newest.yml');
49 | });
> 50 |
at Object.<anonymous>.test (packages/kbn-es/src/utils/find_most_recently_changed.test.js:50:16)
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib__tests\can_append_wildcard.test.js
PASS packages\kbn-ui-framework\src\components\expression\expression.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table\components\call_outs__tests\call_outs.test.js
PASS packages\kbn-ui-framework\src\components\info_button\info_button.test.js
PASS src\ui\public\field_editor\components\scripting_call_outs\warning_call_out.test.js
PASS src\server\index_patterns\service\lib\time_pattern_to_wildcard.test.js
PASS src\server\base_path.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\header__tests\header.test.js
PASS src\core\lib\kbn_observable\operators__tests\map.test.ts
PASS packages\kbn-ui-framework\src\components\local_nav\local_nav_row.test.js
PASS src\core\server\config__tests\read_config.test.ts
PASS src\core_plugins\kibana\server\tutorials\apm\saved_objects\get_saved_objects.test.js
(node:2952) UnhandledPromiseRejectionWarning: Error: only absolute urls are supported
(node:2952) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 116)
(node:2952) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
PASS src\ui\public\kfetch\kfetch_abortable.test.ts
PASS src\core\utils__tests\get.test.ts
PASS packages\kbn-ui-framework\src\components\form_layout\field_group_section.test.js
PASS src\server\config\override.test.js
PASS src\ui\public\field_editor\components\scripting_call_outs\disabled_call_out.test.js
PASS src\core\lib\kbn_observable\operators__tests\filter.test.ts
PASS src\core_plugins\kibana\public\dashboard\top_nav\add_panel.test.js
PASS packages\kbn-ui-framework\src\components\form_layout\field_group.test.js
PASS src\ui\public\field_editor\components\field_format_editor\editors\url\label_template_flyout.test.js
PASS src\ui\public\field_editor\components\field_format_editor\editors\url\url_template_flyout.test.js
PASS packages\kbn-ui-framework\src\components\card\card_group.test.js
PASS src\core_plugins\console\public\tests\src\content_type.test.js
PASS src\ui\public\visualize\components\visualization_noresults.test.js
PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests\scan_all_types.test.js
PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table\components\header\tests\header.test.js
PASS packages\kbn-ui-framework\src\components\menu\menu.test.js
PASS packages\kbn-ui-framework\src\components\table\table_row.test.js
PASS src\core_plugins\kibana\public\dashboard\top_nav\save_modal.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests__\contains_invalid_characters.test.js
PASS src\server\path\index.test.js
PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\save_to_file.test.js
PASS packages\kbn-ui-framework\src\components\table\table_header_check_box_cell.test.js
PASS packages\kbn-ui-framework\src\components\outside_click_detector\outside_click_detector.test.js
PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_actions.test.js
PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_message.test.js
PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\parse_query.test.js
PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_panel.test.js
PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_footer_section.test.js
PASS packages\kbn-ui-framework\src\components\card\card_description_title.test.js
PASS packages\kbn-ui-framework\src\components\card\card_description_text.test.js
PASS packages\kbn-ui-framework\src\components\form\label\label.test.js
PASS packages\kbn-ui-framework\src\components\local_nav\local_nav_row_section.test.js
PASS packages\kbn-ui-framework\src\components\popover\popover_title.test.js
PASS packages\kbn-ui-framework\src\components\event\event_body_metadata.test.js
PASS packages\kbn-ui-framework\src\components\flex\flex_grid.test.js
PASS packages\kbn-ui-framework\src\components\panel_simple\panel_simple.test.js
PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_label.test.js
PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_image.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal_header_title.test.js
PASS packages\kbn-ui-framework\src\components\event\event_body_message.test.js
PASS packages\kbn-ui-framework\src\components\header_bar\header_bar_section.test.js
PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_icon.test.js
PASS packages\kbn-ui-framework\src\components\table\controlled_table.test.js
PASS src\server\sample_data\routes\lib\load_data.test.js
PASS packages\kbn-ui-framework\src\components\flex\flex_group.test.js
PASS packages\kbn-ui-framework\src\components\table\table_header_cell.test.js
PASS packages\kbn-ui-framework\src\components\card\card_description.test.js
PASS packages\kbn-ui-framework\src\components\table\table_row_check_box_cell.test.js
PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_section.test.js
PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_footer.test.js
PASS src\core_plugins\kibana\public\home\components\tutorial\content.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal_overlay.test.js
PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_text.test.js
PASS packages\kbn-ui-framework\src\components\event\event_symbol.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal_footer.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal_header.test.js
PASS packages\kbn-ui-framework\src\components\action_item\action_item.test.js
PASS packages\kbn-ui-framework\src\components\bar\bar_section.test.js
PASS packages\kbn-ui-framework\src\components\card\card_footer.test.js
PASS packages\kbn-ui-framework\src\components\tabs\tabs.test.js
PASS packages\kbn-ui-framework\src\components\local_nav\local_title.test.js
PASS packages\kbn-ui-framework\src\components\modal\modal_body.test.js
PASS packages\kbn-ui-framework\src\components\table\table_info.test.js
PASS packages\kbn-ui-framework\src\components\event\event_body.test.js
PASS packages\kbn-ui-framework\src\components\header_bar\header_bar.test.js
PASS packages\kbn-ui-framework\src\components\local_nav\local_tabs.test.js
PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests\default_category.test.js
PASS packages\kbn-ui-framework\src\components\menu\menu_item.test.js
PASS packages\kbn-ui-framework\src\components\table\table_row_cell.test.js
PASS packages\kbn-ui-framework\src\components\local_nav\local_nav.test.js
PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar.test.js
PASS packages\kbn-ui-framework\src\components\gallery\gallery.test.js
PASS packages\kbn-ui-framework\src\components\event\event.test.js
PASS packages\kbn-ui-framework\src\components\card\card.test.js
PASS packages\kbn-ui-framework\src\components\bar\bar.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_time_field\components\header\tests__\header.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern\components\loading_indices\tests\loading_indices.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table\components\header\tests__\header.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\loading_state\tests__\loading_state.test.js
PASS src\core_plugins\kibana\public\management\sections\settings\components\call_outs\call_outs.test.js
PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\source_filters_table\components\header\tests__\header.test.js
PASS src\core_plugins\kibana\public\home\components\tutorial\copy_button.test.js
PASS src\core_plugins\kibana\public\home\components\tutorial\footer.test.js
PASS src\server\index_patterns\service\lib\errors.test.js
PASS src\cli_plugin\lib\is_oss.test.js
Summary of all failing tests
FAIL src\cli_plugin\install\download.test.js
● kibana cli › plugin downloader › proxy support › should use http_proxy env variable
ENOTEMPTY: directory not empty, rmdir 'C:\Users\vagrant\kibana\src\cli_plugin\install\.test.data.download'
71 | logger.log.restore();
72 | logger.error.restore();
> 73 | rimraf.sync(testWorkingPath);
74 | });
75 |
76 | describe('_downloadSingle', function () {
at rmkidsSync (node_modules/rimraf/rimraf.js:332:11)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:73:14)
● kibana cli › plugin downloader › proxy support › should use https_proxy for secure URLs
assert.equal(received, expected) or assert(received)
Expected value to be (operator: ==):
true
Received:
false
64 | sinon.stub(logger, 'log');
65 | sinon.stub(logger, 'error');
> 66 | rimraf.sync(testWorkingPath);
67 | mkdirp.sync(testWorkingPath);
68 | });
69 |
at fixWinEPERMSync (node_modules/rimraf/rimraf.js:181:5)
at rimrafSync (node_modules/rimraf/rimraf.js:300:28)
at node_modules/rimraf/rimraf.js:330:5
at Array.forEach (<anonymous>)
at rmkidsSync (node_modules/rimraf/rimraf.js:329:26)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:66:14)
● kibana cli › plugin downloader › proxy support › should support domains in no_proxy
ENOTEMPTY: directory not empty, rmdir 'C:\Users\vagrant\kibana\src\cli_plugin\install\.test.data.download'
71 | logger.log.restore();
72 | logger.error.restore();
> 73 | rimraf.sync(testWorkingPath);
74 | });
75 |
76 | describe('_downloadSingle', function () {
at rmkidsSync (node_modules/rimraf/rimraf.js:332:11)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:73:14)
● kibana cli › plugin downloader › proxy support › should support subdomains in no_proxy
assert.equal(received, expected) or assert(received)
Expected value to be (operator: ==):
true
Received:
false
64 | sinon.stub(logger, 'log');
65 | sinon.stub(logger, 'error');
> 66 | rimraf.sync(testWorkingPath);
67 | mkdirp.sync(testWorkingPath);
68 | });
69 |
at fixWinEPERMSync (node_modules/rimraf/rimraf.js:181:5)
at rimrafSync (node_modules/rimraf/rimraf.js:300:28)
at node_modules/rimraf/rimraf.js:330:5
at Array.forEach (<anonymous>)
at rmkidsSync (node_modules/rimraf/rimraf.js:329:26)
at rmdirSync (node_modules/rimraf/rimraf.js:322:7)
at Function.rimrafSync [as sync] (node_modules/rimraf/rimraf.js:293:9)
at Object.<anonymous> (src/cli_plugin/install/download.test.js:66:14)
expect(received).toEqual(expected)
Expected value to equal:
"/data/newest.yml"
Received:
"C:\\data\\newest.yml"
48 | expect(file).toEqual('/data/newest.yml');
49 | });
> 50 |
at Object.<anonymous>.test (packages/kbn-es/src/utils/find_most_recently_changed.test.js:50:16)
Snapshot Summary
› 18 snapshot tests failed in 4 test suites. Inspect your code changes or re-run jest with -u to update them.
Test Suites: 10 failed, 1 skipped, 442 passed, 452 of 453 total
Tests: 39 failed, 3 skipped, 2591 passed, 2633 total
Snapshots: 18 failed, 757 passed, 775 total
Time: 183.314s
Ran all test suites.
Closing this out - this is a really old issue and we're really not expecting all unit tests to run on Windows. Additionally, we're working to deprecate Windows development.
(node:3876) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Running "test:jest" task PASS src\core_plugins\console\public\tests\src\integration.test.js ● Console
PASS src\server\saved_objects\service\lib\repository.test.js PASS src\core\server\http__tests__\http_server.test.ts FAIL src\cli_plugin\install\download.test.js ● kibana cli › plugin downloader › proxy support › should use http_proxy env variable
● kibana cli › plugin downloader › proxy support › should use https_proxy for secure URLs
● kibana cli › plugin downloader › proxy support › should support domains in no_proxy
● kibana cli › plugin downloader › proxy support › should support subdomains in no_proxy
PASS src\server\saved_objects\service\lib\errors.test.js PASS src\core_plugins\console\public\tests\src\url_autocomplete.test.js PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table__tests\objects_table.test.js PASS packages\kbn-ui-framework\src\components\context_menu\context_menu_panel.test.js PASS src\core\server\logging\tests__\logger.test.ts PASS src\server\config\config.test.js PASS src\core_plugins\console\public\tests\src\editor.test.js ● Console
PASS src\core_plugins\kibana\public\management\sections\settings\components\field\field.test.js PASS packages\kbn-system-loader\src\system_loader.test.ts PASS src\ui\public\saved_objects__tests__\saved_objects_client.test.js PASS src\core_plugins\console\public\tests\src\input_tokenization.test.js ● Console
PASS src\core\lib\kbn_observable__tests\subject.test.ts PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\source_filters_table\components\table__tests\table.test.js PASS src\core_plugins\input_control_vis\public\components\editor\list_control_editor.test.js PASS src\server\config\schema.test.js PASS src\ui\ui_settings\public\ui_settings_client.test.js PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table\components\flyout__tests\flyout.test.js PASS src\core\server\config\tests\config_service.test.ts PASS src\ui\public\timefilter\timefilter.test.js PASS packages\kbn-pm\src\utils\projects.test.ts PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\resolve_saved_objects.test.js PASS src\server\saved_objects\service\lib\search_dsl\query_params.test.js PASS src\ui\public\utils\tests__\brush_event.test.js PASS src\core\server\config\schema\types\tests__\conditional_type.test.ts PASS src\cli_plugin\install\settings.test.js PASS src\core_plugins\console\public\tests\src\mapping.test.js PASS src\cli_plugin\install\pack.test.js PASS src\cli\cluster\worker.test.js FAIL src\server\status\lib\metrics.test.js ● Console
● Metrics › captureCGroups › returns cgroups
● Metrics › captureCGroupsIfAvailable › allows subsequent calls if cgroups are available
PASS src\core\lib\kbn_observable\operators__tests\switch_map.test.ts PASS src\core\server\legacy_compat\tests__\legacy_platform_config.test.ts PASS src\server\logging\log_format_json.test.js FAIL src\server\status\lib\cgroup.test.js ● Console
● Control Group › readCPUStat › parses the file
● Control Group › getAllStats › can override the cpu group path
● Control Group › getAllStats › can override the cpuacct group path
● Control Group › getAllStats › extracts control group stats
● Control Group › getAllStats › returns -1 stat values if cpuStat file is missing
PASS src\server\saved_objects\service\lib\search_dsl\sorting_params.test.js PASS packages\kbn-plugin-generator\sao_template\sao.test.js PASS packages\kbn-ui-framework\src\components\accessibility\keyboard_accessible.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_time_field__tests__\step_time_field.test.js PASS src\server\keystore\keystore.test.js PASS src\server\config\complete.test.js PASS src\core\server\legacy_compat__tests\legacy_platform_proxifier.test.ts PASS src\core\server\http\tests__\http_config.test.ts PASS src\server\index_patterns\service\lib\field_capabilities\field_capabilities.test.js PASS src\core_plugins\console\public\tests\src\kb.test.js PASS src\server\logging\log_interceptor.test.js PASS src\core_plugins\input_control_vis\public\components\editor\controls_tab.test.js PASS src\server\sample_data\routes\lib\translate_timestamp.test.js (node:2952) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. PASS src\cli\cluster\configure_base_path_proxy.test.js PASS src\core_plugins\input_control_vis\public\components\vis\input_control_vis.test.js FAIL packages\kbn-test\src\functional_tests\cli\run_tests\cli.test.js ● run tests CLI › options › rejects boolean config value
● run tests CLI › options › rejects empty config value if no default passed
● run tests CLI › options › rejects non-boolean value for bail
● run tests CLI › options › rejects boolean value for kibana-install-dir
● run tests CLI › options › rejects non-enum value for esFrom
● run tests CLI › options › rejects invalid options even if valid options exist
› 6 snapshot tests failed. PASS src\server\server_extensions\add_memoized_factory_to_request.test.js PASS src\ui\public\notify\banners\banners.test.js PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table\components\relationships__tests__\relationships.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table__tests__\scripted_field_table.test.js PASS src\core_plugins\kibana\public\home\components\home.test.js (node:2952) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 warning listeners added. Use emitter.setMaxListeners() to increase limit PASS src\server\http\xsrf.test.js (8.631s) PASS src\core_plugins\input_control_vis\public\control\filter_manager\phrase_filter_manager.test.js FAIL packages\kbn-test\src\functional_tests\cli\start_servers\cli.test.js ● start servers CLI › options › rejects boolean config value
● start servers CLI › options › rejects empty config value if no default passed
● start servers CLI › options › rejects bail
● start servers CLI › options › rejects boolean value for kibana-install-dir
● start servers CLI › options › accepts boolean value for updateBaselines
● start servers CLI › options › rejects non-enum value for esFrom
● start servers CLI › options › rejects invalid options even if valid options exist
› 7 snapshot tests failed. PASS src\server\index_patterns\service\lib\es_api.test.js PASS src\core\server\logging__tests__\logger_factory.test.ts PASS src\core\server\logging\appenders__tests__\file_appender.test.ts PASS src\core_plugins\kibana\public\dashboard\grid\dashboard_grid_container.test.js PASS src\server\saved_objects\routes\find.test.js PASS src\server\mappings\index_mappings.test.js PASS packages\kbn-pm\src\commands\bootstrap.test.ts PASS packages\kbn-ui-framework\src\components\popover\popover.test.js PASS src\core_plugins\kibana\public\dashboard\dashboard_state.test.js ● Console
PASS src\core_plugins\input_control_vis\public\control\control.test.js PASS src\core\server\logging__tests\logging_config.test.ts PASS src\server\index_patterns\service\lib\field_capabilities\field_caps_response.test.js PASS src\ui\public\field_editor\field_editor.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern__tests\step_index_pattern.test.js PASS src\core\server\config\schema\types__tests\object_type.test.ts PASS src\cli_plugin\lib\logger.test.js PASS src\core\server\config\schema\types__tests__\string_type.test.ts PASS packages\kbn-pm\src\utils\project.test.ts PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard__tests\create_index_pattern_wizard.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\source_filters_table\tests__\source_filters_table.test.js PASS src\core\lib\kbn_observable\tests\behavior_subject.test.ts PASS src\core\lib\kbn_observable\operators\tests__\skip_repeats.test.ts PASS packages\kbn-ui-framework\src\services\sort\sortable_properties.test.js PASS src\ui\public\courier\fetch\request\serialize_fetch_params\serialize_fetch_params.test.js PASS src\ui\ui_settings\public\ui_settings_api.test.js PASS src\server\status\server_status.test.js PASS src\server\status\status.test.js PASS src\cli_plugin\install\kibana.test.js PASS src\cli_keystore\add.test.js PASS src\core\public\legacy_platform\legacy_platform_service.test.ts PASS src\core\server\config\schema\byte_size_value\tests\index.test.ts PASS src\ui\ui_render\bootstrap\app_bootstrap.test.js PASS src\core_plugins\kibana\public\discover\directives\no_results.test.js PASS src\core\server\http\tests__\http_service.test.ts PASS src\cli_plugin\install\cleanup.test.js PASS src\core_plugins\console\public\tests\src\utils.test.js PASS packages\kbn-ui-framework\src\components\button\button.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\tutorial.test.js PASS src\ui\public\vis\update_status.test.js PASS src\core\server\config\schema\types\tests\array_type.test.ts PASS src\server\saved_objects\service\lib\scoped_client_provider.test.js PASS src\server\index_patterns\service\lib\resolve_time_pattern.test.js PASS packages\kbn-ui-framework\src\components\form\text_input\text_input.test.js PASS packages\kbn-ui-framework\src\components\modal\confirm_modal.test.js PASS src\core\server\config\tests__\raw_config_service.test.ts PASS src\core_plugins\input_control_vis\public\components\vis\range_control.test.js PASS src\ui\public\persisted_log\persisted_log.test.js PASS src\server\saved_objects\service\lib\decorate_es_error.test.js (node:2952) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated. PASS packages\kbn-plugin-helpers\tasks\build\create_build.test.js PASS src\core_plugins\kibana\public\dashboard\listing\dashboard_listing.test.js FAIL packages\kbn-test\src\functional_tests\lib\run_cli.test.js ● logs the stack then exits when run function throws an error
● logs no stack trace then exits when stack missing
● does right thing when non-error is thrown
› 3 snapshot tests failed. PASS src\core_plugins\kibana\public\home\components\tutorial\instruction_set.test.js PASS src\core\server\root__tests\index.test.ts PASS src\cli_plugin\list\list.test.js PASS packages\kbn-pm\src\run.test.ts PASS src\server\http\short_url_lookup.test.js PASS packages\kbn-ui-framework\src\components\form\text_area\text_area.test.js PASS src\ui\public\index_patterns__tests_index_pattern.test.js PASS src\cli_plugin\install\progress.test.js PASS src\ui\ui_apps\ui_apps_mixin.test.js PASS src\core_plugins\input_control_vis\public\components\editor\range_control_editor.test.js PASS src\core\public\core_system.test.ts PASS src\core\server\config__tests\env.test.ts PASS packages\kbn-test\src\functional_tests\cli\run_tests\args.test.js PASS src\core\lib\kbn_observable\operators__tests\merge_map.test.ts PASS src\server\saved_objects\service\saved_objects_client.test.js PASS src\core\server\config\schema\types__tests\one_of_type.test.ts PASS src\core_plugins\kibana\public\management\sections\settings\advanced_settings.test.js PASS packages\kbn-ui-framework\src\components\pager\pager_button_group.test.js PASS packages\kbn-plugin-helpers\tasks\build\build_action.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\indexed_fields_table\components\table__tests\table.test.js PASS packages\kbn-ui-framework\src\components\button\link_button.test.js PASS src\core\server\logging__tests\log_level.test.ts PASS packages\kbn-ui-framework\src\components\color_picker\color_picker.test.js PASS src\server\mappings\lib\get_root_properties_objects.test.js PASS src\ui\public\notify\toasts\toast_notifications.test.js PASS packages\kbn-pm\src\utils\parallelize.test.ts PASS src\server\saved_objects\routes\create.test.js PASS src\core\lib\kbn_observable__tests\observable.test.ts PASS packages\kbn-test\src\functional_tests\cli\start_servers\args.test.js PASS src\ui\public\inspector\view_registry.test.ts PASS packages\kbn-ui-framework\src\components\form\select\select.test.js PASS src\cli_plugin\remove\settings.test.js PASS src\core\server\logging\appenders__tests\appenders.test.ts PASS src\core_plugins\input_control_vis\public\control\filter_manager\range_filter_manager.test.js PASS src\core\server\logging\layouts\tests__\pattern_layout.test.ts PASS src\server\config\transform_deprecations.test.js PASS src\ui\public\inspector\inspector.test.js PASS src\core_plugins\markdown_vis\public\markdown_vis_controller.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests__\to_editable_config.test.js PASS src\cli_plugin\remove\remove.test.js PASS src\core_plugins\kibana\public\home\components\recently_accessed.test.js PASS packages\kbn-ui-framework\src\components\code_editor\code_editor.test.js PASS src\core_plugins\console\public\tests\src\url_params.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\default\default.test.js PASS src\core\server\legacy_compat\logging\appenders\tests__\legacy_appender.test.ts PASS src\ui\public\vis\vis_update_state.test.js PASS src\server\utils\prompt.test.js PASS packages\kbn-ui-framework\src\components\pager\pager.test.js PASS src\core\server\logging\tests__\logger_adapter.test.ts PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests__\get_matched_indices.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests__\is_default_value.test.js PASS src\ui\public\markdown\markdown.test.js PASS src\ui\public\kfetch\kfetch.test.ts PASS src\cli_plugin\install\zip.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests__\get_indices.test.js PASS src\core\server\config\schema\types\tests\map_of_type.test.ts PASS packages\kbn-es\src\utils\parse_es_log.test.js PASS src\ui\public\visualize\components\visualization_chart.test.js PASS src\core\public\injected_metadata\deep_freeze.test.ts PASS src\core_plugins\kibana\public\dashboard\grid\dashboard_grid.test.js PASS src\cli_keystore\create.test.js PASS src\ui\public\timefilter\lib\diff_time_picker_vals.test.js PASS src\core_plugins\input_control_vis\public\components\editor\options_tab.test.js PASS src\server\saved_objects\service\lib\search_dsl\search_dsl.test.js PASS src\core\server\config\schema\types\tests\byte_size_type.test.ts PASS src\core\server\http\tests__\https_redirect_server.test.ts PASS packages\kbn-pm\src\utils\link_project_executables.test.ts PASS src\ui\public\error_auto_create_index\error_auto_create_index.test.js PASS packages\kbn-ui-framework\src\components\context_menu\context_menu_item.test.js PASS packages\kbn-ui-framework\src\components\form\check_box\check_box_label.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\indexed_fields_table\tests\indexed_fields_table.test.js PASS src\cli\serve\read_yaml_config.test.js PASS src\core\server\config\tests__\ensure_deep_object.test.ts PASS src\core_plugins\console\public\tests\src\output_tokenization.test.js ● Console
PASS src\core_plugins\kibana\public\management\sections\objects\lib__tests__\retrieve_and_export_docs.test.js PASS src\core_plugins\kibana\public\dashboard\panel\panel_header\panel_header_container.test.js PASS src\server\plugins\lib\call_plugin_hook.test.js PASS packages\kbn-plugin-helpers\lib\commander_action.test.js PASS src\core_plugins\input_control_vis\public\control\range_control_factory.test.js FAIL src\dev\notice\generate_build_notice_text.test.js ● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › returns a string
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › returns a string
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes NOTICE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes NOTICE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes LICENSE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes LICENSE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the LICENSE file from node
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the LICENSE file from node
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes node version
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes node version
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the noticeFromSource
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the noticeFromSource
PASS src\core_plugins\kibana\public\dashboard\panel\panel_utils.test.js PASS src\core\server\logging__tests\logging_service.test.ts PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern\components\status_message__tests\status_message.test.js PASS src\core_plugins\kibana\public\dashboard\components\exit_full_screen_button.test.js PASS src\core\server\config\schema\types__tests\number_type.test.ts PASS packages\kbn-ui-framework\src\components\button\submit_button.test.js PASS src\server\mappings\lib\get_property.test.js PASS packages\kbn-ui-framework\src\components\table\listing_table\listing_table.test.js PASS src\core\server\logging\appenders__tests__\console_appender.test.ts PASS src\server\http\version_check.test.js PASS packages\kbn-pm\src\utils\watch.test.ts PASS src\core\lib\kbn_observable\factories\tests\from_callback.test.ts PASS src\ui\public\inspector\adapters\request\request_adapter.test.ts PASS src\core_plugins\kibana\public\dashboard\panel\dashboard_panel.test.js PASS packages\kbn-ui-framework\src\components\form\check_box\check_box.test.js PASS src\core_plugins\kibana\public\management\sections\settings\components\form\form.test.js PASS src\core_plugins\metrics\public\components\add_delete_buttons.test.js PASS src\ui\public\visualize\components\visualization.test.js PASS packages\kbn-ui-framework\src\components\context_menu\context_menu.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\duration\duration.test.js PASS src\ui\public\vis\editors\default\update_editor_state.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table\components\table\tests\table.test.js PASS src\cli_plugin\install\rename.test.js PASS src\cli_plugin\install\index.test.js PASS src\core_plugins\kibana\public\dashboard\reducers\panels.test.ts PASS src\core_plugins\kibana\server\routes\api\management\saved_objects\scroll.test.js PASS src\core_plugins\kibana\server\lib\import\import_dashboards.test.js PASS src\ui\public\filter_bar\lib\tests__\change_time_filter.test.js PASS packages\kbn-ui-framework\src\components\expression\expression_button.test.js PASS src\server\saved_objects\routes\bulk_get.test.js PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\saved_objects_installer.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_time_field\components\time_field\tests__\time_field.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\url\url.test.js PASS src\core\lib\kbn_observable\factories\tests\bind_node_callback.test.ts PASS src\server\saved_objects\routes\update.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern\components\indices_list\tests\indices_list.test.js PASS src\ui\public\inspector\adapters\data\data_adapters.test.ts PASS src\ui\public\agg_types\param_types\filter\field_filters.test.ts PASS src\core\lib\kbn_observable\operators\tests__\to_promise.test.ts PASS src\ui\public\timepicker\pretty_duration.test.js ● Console
PASS src\cli\cluster\cluster_manager.test.js PASS src\core_plugins\kibana\public\dashboard\reducers\view.test.ts PASS src\ui\public\agg_types\filter\agg_type_filters.test.ts PASS src\core\server\config\schema\types__tests\duration_type.test.ts PASS src\ui\public\courier\search_strategy\search_strategy_registry.test.js PASS src\server\saved_objects\routes\get.test.js PASS src\core\lib\kbn_observable__tests\k.test.ts PASS src\server\http\max_payload_size.test.js PASS src\core\utils__tests\url.test.ts PASS src\ui\public\notify\lib\format_msg.test.js PASS packages\kbn-system-loader\src\system.test.ts PASS src\ui\public\field_editor\components\field_format_editor\editors\color\color.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib__tests\get_val_type.test.js PASS src\core\server\logging\layouts__tests\json_layout.test.ts PASS src\server\saved_objects\routes\delete.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\introduction.test.js PASS src\core\server\logging\layouts__tests__\layouts.test.ts PASS src\core_plugins\kibana\public\dashboard\actions\embeddables.test.ts PASS src\server\http\short_url_error.test.js PASS src\core_plugins\kibana\public\dashboard\panel\dashboard_panel_container.test.js PASS src\cli_keystore\list.test.js PASS src\ui\public\notify\lib\format_es_msg.test.js PASS src\core_plugins\input_control_vis\public\control\filter_manager\filter_manager.test.js PASS src\core_plugins\input_control_vis\public\lineage\parent_candidates.test.js PASS src\core_plugins\inspector_views\public\data\data_view.test.js PASS src\core\server\logging\appenders__tests__\buffer_appender.test.ts PASS src\core_plugins\kibana\public\dashboard\top_nav\clone_modal.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests__\get_category_name.test.js PASS src\ui\public\inspector\ui\inspector_panel.test.js PASS src\core_plugins\timelion\server\lib\offset_time.test.js PASS src\setup_node_env\node_version_validator.test.js PASS packages\kbn-ui-framework\src\components\collapse_button\collapse_button.test.js PASS src\core_plugins\input_control_vis\public\control\list_control_factory.test.js PASS src\ui\public\vis\editors\components\editor_options_group.test.js PASS src\server\http\short_url_assert_valid.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_search_box.test.js PASS src\core\server\config\tests__\apply_argv.test.ts PASS src\server\saved_objects\service\lib\included_fields.test.js PASS src\ui\public\field_editor\components\field_format_editor\field_format_editor.test.js PASS packages\kbn-ui-framework\src\services\accessibility\html_id_generator.test.js PASS src\core\lib\kbn_observable\factories\tests\concat.test.ts PASS src\core_plugins\input_control_vis\public\lineage\lineage_map.test.js PASS src\core_plugins\kibana\public\home\components\synopsis.test.js PASS src\server\status\wrap_auth_config.test.js PASS src\core\lib\kbn_observable\operators\tests__\reduce.test.ts PASS src\core\lib\kbn_observable\operators\tests\scan.test.ts PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table\components\table\tests__\table.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\get_relationships.test.js FAIL packages\kbn-pm\src\utils\projects_tree.test.ts ● handles projects outside root folder
● handles projects within projects outside root folder
› 2 snapshot tests failed. PASS src\cli_keystore\remove.test.js PASS src\core_plugins\kibana\public\management\sections\settings\components\search\search.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\static_lookup\static_lookup.test.js PASS src\core_plugins\metrics\public\components\vis_editor_visualization.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib__tests\get_in_app_url.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\date\date.test.js PASS packages\kbn-plugin-helpers\tasks\build\create_package.test.js PASS src\server\logging\log_format_string.test.js PASS src\core\server\config\schema\types__tests\maybe_type.test.ts PASS src\server\saved_objects\service\lib\repository_provider.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib__tests\get_saved_object_icon.test.js PASS packages\kbn-plugin-helpers\lib\run.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\source_filters_table\components\add_filter__tests\add_filter.test.js PASS src\core\server\config\schema\types__tests\boolean_type.test.ts PASS src\core\lib\kbn_observable\factories__tests__\combine_latest.test.ts PASS packages\kbn-ui-framework\src\components\table\table.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard__tests\render.test.js PASS packages\kbn-es\src\utils\extract_config_files.test.js PASS packages\kbn-ui-framework\src\components\accessibility\screen_reader.test.js PASS packages\kbn-ui-framework\src\components\button\button_icon\button_icon.test.js PASS src\core_plugins\input_control_vis\public\components\vis\list_control.test.js PASS src\core\lib\kbn_observable\operators\tests__\first.test.ts PASS src\ui\public\chrome\directives\loading_indicator.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests__\ensure_minimum_time.test.js PASS src\core\lib\kbn_observable\operators\tests__\last.test.ts PASS src\cli_plugin\list\settings.test.js PASS packages\kbn-ui-framework\src\components\tabs\tab.test.js PASS packages\kbn-ui-framework\src\components\typography\typography.test.js PASS packages\kbn-system-loader\src\topological_sort.test.ts PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests\import_file.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\empty_state\tests__\empty_state.test.js PASS src\core_plugins\metrics\public\components\yes_no.test.js PASS packages\kbn-ui-framework\src\components\button\button_group\button_group.test.js PASS src\core\public\injected_metadata\injected_metadata_service.test.ts PASS src\ui\public\field_editor\lib\tests__\copy_field.test.js PASS src\cli_plugin\lib\error_if_x_pack.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\string\string.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests__\get_aria_name.test.js PASS src\ui\public\utils\memoize.test.ts PASS src\core_plugins\kibana\public\dashboard\reducers\embeddables.test.ts PASS src\core_plugins\console\public\tests\src\curl_parsing.test.js PASS src\server\http\secure_options.test.js FAIL src\server\sass\build.test.js ● SASS builder › generates a glob
● SASS builder › builds SASS
● SASS builder › has an output file with a different extension
PASS src\ui\public\field_editor\lib__tests\get_default_format.test.js PASS packages\kbn-pm\src\production\prepare_project_dependencies.test.ts PASS src\ui\public\field_editor\components\scripting_help\help_flyout.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern\components\header__tests\header.test.js PASS src\core\server\config\schema\types__tests\literal_type.test.ts PASS packages\kbn-ui-framework\src\components\flex\flex_item.test.js PASS src\ui\public\notify\banners\global_banner_list.test.js PASS packages\kbn-es\src\utils\decompress.test.js PASS packages\kbn-ui-framework\src\components\local_nav\local_tab.test.js PASS src\core_plugins\metric_vis\public\components\metric_vis_value.test.js PASS src\cli\serve\read_keystore.test.js PASS src\core_plugins\metrics\public\lib\tests__\create_brush_handler.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_time_field\components\advanced_options\tests__\advanced_options.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\truncate\truncate.test.js PASS src\core\server\legacy_compat\tests\legacy_kbn_server.test.ts PASS src\ui\public\field_editor\components\field_format_editor\editors\percent\percent.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\number\number.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\bytes\bytes.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\indexed_fields_table\lib\tests\get_field_format.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests\extract_time_fields.test.js PASS src\ui\public\field_editor\components\field_format_editor\samples\samples.test.js PASS src\server\config\explode_by.test.js PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt.test.js PASS src\server\logging\apply_filters_to_keys.test.js PASS src\core_plugins\input_control_vis\public\components\vis\form_row.test.js PASS src\core\lib\kbn_observable\factories\tests__\from.test.ts PASS src\core_plugins\kibana\public\home\components\add_data.test.js PASS src\ui\public\timepicker\pretty_interval.test.js FAIL packages\kbn-es\src\utils\find_most_recently_changed.test.js ● returns newest file
PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib__tests\can_append_wildcard.test.js PASS packages\kbn-ui-framework\src\components\expression\expression.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table\components\call_outs__tests\call_outs.test.js PASS packages\kbn-ui-framework\src\components\info_button\info_button.test.js PASS src\ui\public\field_editor\components\scripting_call_outs\warning_call_out.test.js PASS src\server\index_patterns\service\lib\time_pattern_to_wildcard.test.js PASS src\server\base_path.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\header__tests\header.test.js PASS src\core\lib\kbn_observable\operators__tests\map.test.ts PASS packages\kbn-ui-framework\src\components\local_nav\local_nav_row.test.js PASS src\core\server\config__tests\read_config.test.ts PASS src\core_plugins\kibana\server\tutorials\apm\saved_objects\get_saved_objects.test.js (node:2952) UnhandledPromiseRejectionWarning: Error: only absolute urls are supported (node:2952) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 116) (node:2952) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. PASS src\ui\public\kfetch\kfetch_abortable.test.ts PASS src\core\utils__tests\get.test.ts PASS packages\kbn-ui-framework\src\components\form_layout\field_group_section.test.js PASS src\server\config\override.test.js PASS src\ui\public\field_editor\components\scripting_call_outs\disabled_call_out.test.js PASS src\core\lib\kbn_observable\operators__tests\filter.test.ts PASS src\core_plugins\kibana\public\dashboard\top_nav\add_panel.test.js PASS packages\kbn-ui-framework\src\components\form_layout\field_group.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\url\label_template_flyout.test.js PASS src\ui\public\field_editor\components\field_format_editor\editors\url\url_template_flyout.test.js PASS packages\kbn-ui-framework\src\components\card\card_group.test.js PASS src\core_plugins\console\public\tests\src\content_type.test.js PASS src\ui\public\visualize\components\visualization_noresults.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests\scan_all_types.test.js PASS src\core_plugins\kibana\public\management\sections\objects\components\objects_table\components\header\tests\header.test.js PASS packages\kbn-ui-framework\src\components\menu\menu.test.js PASS packages\kbn-ui-framework\src\components\table\table_row.test.js PASS src\core_plugins\kibana\public\dashboard\top_nav\save_modal.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\lib\tests__\contains_invalid_characters.test.js PASS src\server\path\index.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\save_to_file.test.js PASS packages\kbn-ui-framework\src\components\table\table_header_check_box_cell.test.js PASS packages\kbn-ui-framework\src\components\outside_click_detector\outside_click_detector.test.js PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_actions.test.js PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_message.test.js PASS src\core_plugins\kibana\public\management\sections\objects\lib\tests__\parse_query.test.js PASS packages\kbn-ui-framework\src\components\empty_table_prompt\empty_table_prompt_panel.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_footer_section.test.js PASS packages\kbn-ui-framework\src\components\card\card_description_title.test.js PASS packages\kbn-ui-framework\src\components\card\card_description_text.test.js PASS packages\kbn-ui-framework\src\components\form\label\label.test.js PASS packages\kbn-ui-framework\src\components\local_nav\local_nav_row_section.test.js PASS packages\kbn-ui-framework\src\components\popover\popover_title.test.js PASS packages\kbn-ui-framework\src\components\event\event_body_metadata.test.js PASS packages\kbn-ui-framework\src\components\flex\flex_grid.test.js PASS packages\kbn-ui-framework\src\components\panel_simple\panel_simple.test.js PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_label.test.js PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_image.test.js PASS packages\kbn-ui-framework\src\components\modal\modal.test.js PASS packages\kbn-ui-framework\src\components\modal\modal_header_title.test.js PASS packages\kbn-ui-framework\src\components\event\event_body_message.test.js PASS packages\kbn-ui-framework\src\components\header_bar\header_bar_section.test.js PASS packages\kbn-ui-framework\src\components\gallery\gallery_item\gallery_item_icon.test.js PASS packages\kbn-ui-framework\src\components\table\controlled_table.test.js PASS src\server\sample_data\routes\lib\load_data.test.js PASS packages\kbn-ui-framework\src\components\flex\flex_group.test.js PASS packages\kbn-ui-framework\src\components\table\table_header_cell.test.js PASS packages\kbn-ui-framework\src\components\card\card_description.test.js PASS packages\kbn-ui-framework\src\components\table\table_row_check_box_cell.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_section.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_footer.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\content.test.js PASS packages\kbn-ui-framework\src\components\modal\modal_overlay.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar_text.test.js PASS packages\kbn-ui-framework\src\components\event\event_symbol.test.js PASS packages\kbn-ui-framework\src\components\modal\modal_footer.test.js PASS packages\kbn-ui-framework\src\components\modal\modal_header.test.js PASS packages\kbn-ui-framework\src\components\action_item\action_item.test.js PASS packages\kbn-ui-framework\src\components\bar\bar_section.test.js PASS packages\kbn-ui-framework\src\components\card\card_footer.test.js PASS packages\kbn-ui-framework\src\components\tabs\tabs.test.js PASS packages\kbn-ui-framework\src\components\local_nav\local_title.test.js PASS packages\kbn-ui-framework\src\components\modal\modal_body.test.js PASS packages\kbn-ui-framework\src\components\table\table_info.test.js PASS packages\kbn-ui-framework\src\components\event\event_body.test.js PASS packages\kbn-ui-framework\src\components\header_bar\header_bar.test.js PASS packages\kbn-ui-framework\src\components\local_nav\local_tabs.test.js PASS src\core_plugins\kibana\public\management\sections\settings\lib\tests\default_category.test.js PASS packages\kbn-ui-framework\src\components\menu\menu_item.test.js PASS packages\kbn-ui-framework\src\components\table\table_row_cell.test.js PASS packages\kbn-ui-framework\src\components\local_nav\local_nav.test.js PASS packages\kbn-ui-framework\src\components\tool_bar\tool_bar.test.js PASS packages\kbn-ui-framework\src\components\gallery\gallery.test.js PASS packages\kbn-ui-framework\src\components\event\event.test.js PASS packages\kbn-ui-framework\src\components\card\card.test.js PASS packages\kbn-ui-framework\src\components\bar\bar.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_time_field\components\header\tests__\header.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\step_index_pattern\components\loading_indices\tests\loading_indices.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\scripted_fields_table\components\header\tests__\header.test.js PASS src\core_plugins\kibana\public\management\sections\indices\create_index_pattern_wizard\components\loading_state\tests__\loading_state.test.js PASS src\core_plugins\kibana\public\management\sections\settings\components\call_outs\call_outs.test.js PASS src\core_plugins\kibana\public\management\sections\indices\edit_index_pattern\source_filters_table\components\header\tests__\header.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\copy_button.test.js PASS src\core_plugins\kibana\public\home\components\tutorial\footer.test.js PASS src\server\index_patterns\service\lib\errors.test.js PASS src\cli_plugin\lib\is_oss.test.js
Summary of all failing tests FAIL src\cli_plugin\install\download.test.js ● kibana cli › plugin downloader › proxy support › should use http_proxy env variable
● kibana cli › plugin downloader › proxy support › should use https_proxy for secure URLs
● kibana cli › plugin downloader › proxy support › should support domains in no_proxy
● kibana cli › plugin downloader › proxy support › should support subdomains in no_proxy
FAIL src\server\status\lib\metrics.test.js ● Metrics › captureCGroups › returns cgroups
● Metrics › captureCGroupsIfAvailable › allows subsequent calls if cgroups are available
FAIL src\server\status\lib\cgroup.test.js ● Control Group › readCPUStat › parses the file
● Control Group › getAllStats › can override the cpu group path
● Control Group › getAllStats › can override the cpuacct group path
● Control Group › getAllStats › extracts control group stats
● Control Group › getAllStats › returns -1 stat values if cpuStat file is missing
FAIL packages\kbn-test\src\functional_tests\cli\run_tests\cli.test.js ● run tests CLI › options › rejects boolean config value
● run tests CLI › options › rejects empty config value if no default passed
● run tests CLI › options › rejects non-boolean value for bail
● run tests CLI › options › rejects boolean value for kibana-install-dir
● run tests CLI › options › rejects non-enum value for esFrom
● run tests CLI › options › rejects invalid options even if valid options exist
FAIL packages\kbn-test\src\functional_tests\cli\start_servers\cli.test.js ● start servers CLI › options › rejects boolean config value
● start servers CLI › options › rejects empty config value if no default passed
● start servers CLI › options › rejects bail
● start servers CLI › options › rejects boolean value for kibana-install-dir
● start servers CLI › options › accepts boolean value for updateBaselines
● start servers CLI › options › rejects non-enum value for esFrom
● start servers CLI › options › rejects invalid options even if valid options exist
FAIL packages\kbn-test\src\functional_tests\lib\run_cli.test.js ● logs the stack then exits when run function throws an error
● logs no stack trace then exits when stack missing
● does right thing when non-error is thrown
FAIL src\dev\notice\generate_build_notice_text.test.js ● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › returns a string
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › returns a string
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes NOTICE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes NOTICE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes LICENSE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes LICENSE files from packages
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the LICENSE file from node
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the LICENSE file from node
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes node version
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes node version
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the noticeFromSource
● src/dev/build/tasks/notice_file/generate_notice › generateBuildNoticeText() › includes the noticeFromSource
FAIL packages\kbn-pm\src\utils\projects_tree.test.ts ● handles projects outside root folder
● handles projects within projects outside root folder
FAIL src\server\sass\build.test.js ● SASS builder › generates a glob
● SASS builder › builds SASS
● SASS builder › has an output file with a different extension
FAIL packages\kbn-es\src\utils\find_most_recently_changed.test.js ● returns newest file
Snapshot Summary › 18 snapshot tests failed in 4 test suites. Inspect your code changes or re-run jest with
-u
to update them.Test Suites: 10 failed, 1 skipped, 442 passed, 452 of 453 total Tests: 39 failed, 3 skipped, 2591 passed, 2633 total Snapshots: 18 failed, 757 passed, 775 total Time: 183.314s Ran all test suites.
Part of #21315