Created
July 30, 2020 20:33
-
-
Save jwestgard/8dcf1d9b03daaf00c0856d9476405997 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % npm test -- --runInBand | |
| > [email protected] test /Users/westgard/Dev/dart | |
| > jest "--runInBand" | |
| FAIL plugins/network/sftp_client.test.js (7.376 s) | |
| ● Console | |
| console.log | |
| [ | |
| 'All configured authentication methods failed', | |
| 'All configured authentication methods failed' | |
| ] | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:93:21) | |
| ● Upload handles Permission denied | |
| expect(received).toEqual(expected) // deep equality | |
| Expected: 1 | |
| Received: 2 | |
| 93 | console.log(result.errors); | |
| 94 | } | |
| > 95 | expect(result.errors.length).toEqual(1); | |
| | ^ | |
| 96 | expect(result.errors[0]).toMatch(/authentication methods failed/); | |
| 97 | done(); | |
| 98 | }); | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:95:38) | |
| at Client.<anonymous> (plugins/network/sftp_client.js:120:18) | |
| at doNextAuth (node_modules/ssh2/lib/client.js:415:12) | |
| at tryNextAuth (node_modules/ssh2/lib/client.js:484:5) | |
| at SSH2Stream.onUSERAUTH_FAILURE (node_modules/ssh2/lib/client.js:597:5) | |
| at parsePacket (node_modules/ssh2-streams/lib/ssh.js:3682:10) | |
| at SSH2Stream._transform (node_modules/ssh2-streams/lib/ssh.js:701:13) | |
| at SSH2Stream._read (node_modules/ssh2-streams/lib/ssh.js:253:15) | |
| ● Upload handles unspecfied failure | |
| : 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: | |
| 114 | }); | |
| 115 | | |
| > 116 | test('Upload handles unspecfied failure', done => { | |
| | ^ | |
| 117 | var ss = getStorageService(); | |
| 118 | var client = new SFTPClient(ss); | |
| 119 | client.on('finish', function(result) { | |
| at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) | |
| at Object.<anonymous> (plugins/network/sftp_client.test.js:116:1) | |
| PASS ui/controllers/workflow_batch_controller.test.js (7.87 s) | |
| PASS workers/cli.test.js | |
| PASS ui/controllers/settings_controller.test.js | |
| PASS ui/controllers/bag_validation_controller.test.js | |
| PASS bagit/bagger.test.js | |
| PASS ui/controllers/job_files_controller.test.js | |
| PASS bagit/validator.test.js | |
| PASS ui/controllers/bagit_profile_controller.test.js | |
| PASS core/persistent_object.test.js | |
| PASS workers/job_runner.test.js | |
| ● Console | |
| console.log | |
| Skipping upload portion of JobRunner test: no AWS credentials in environment. | |
| at getJob (workers/job_runner.test.js:52:21) | |
| PASS ui/controllers/dashboard_controller.test.js | |
| PASS ui/controllers/storage_service_controller.test.js | |
| PASS ui/common/request_handler.test.js | |
| PASS ui/controllers/job_packaging_controller.test.js | |
| PASS ui/controllers/job_metadata_controller.test.js | |
| PASS workers/bag_creator.test.js | |
| PASS ui/controllers/job_upload_controller.test.js | |
| PASS ui/controllers/app_setting_controller.test.js | |
| PASS ui/controllers/remote_repository_controller.test.js | |
| PASS bagit/bagit_profile.test.js | |
| PASS core/workflow_batch.test.js | |
| PASS core/job_params.test.js | |
| PASS ui/controllers/workflow_controller.test.js | |
| PASS core/storage_service.test.js | |
| PASS ui/controllers/job_run_controller.test.js | |
| PASS ui/controllers/internal_setting_controller.test.js | |
| PASS core/workflow.test.js | |
| PASS util/job_loader.test.js | |
| PASS core/job.test.js | |
| PASS core/manifest_entry.test.js | |
| PASS ui/controllers/job_controller.test.js | |
| PASS workers/bag_validator.test.js | |
| PASS core/remote_repository.test.js | |
| PASS ui/forms/job_tags_form.test.js | |
| PASS core/app_setting.test.js | |
| PASS core/test_util.test.js | |
| PASS core/export_question.test.js | |
| PASS core/internal_setting.test.js | |
| PASS util/csv_batch_parser.test.js | |
| PASS ui/forms/settings_export_form.test.js | |
| PASS plugins/formats/write/tar_writer.test.js | |
| PASS workers/uploader.test.js | |
| ● Console | |
| console.log | |
| Skipping S3 upload test for workers/Uploader: no credentials in ENV. | |
| at Object.<anonymous> (workers/uploader.test.js:44:17) | |
| PASS plugins/repository/aptrust.test.js | |
| PASS ui/controllers/plugin_controller.test.js | |
| PASS ui/forms/job_package_op_form.test.js | |
| PASS ui/controllers/base_controller.test.js | |
| PASS core/package_operation.test.js | |
| PASS plugins/plugin_manager.test.js | |
| PASS ui/forms/storage_service_form.test.js | |
| PASS ui/forms/bagit_profile_form.test.js | |
| PASS ui/forms/remote_repository_form.test.js | |
| PASS core/util.test.js | |
| PASS plugins/formats/write/file_system_writer.test.js | |
| PASS ui/forms/settings_questions_form.test.js | |
| PASS ui/common/templates.test.js | |
| PASS ui/forms/new_bagit_profile_form.test.js | |
| PASS core/upload_operation.test.js | |
| PASS plugins/network/s3_client.test.js | |
| ● Console | |
| console.log | |
| Skipping S3 upload test for S3Client: no credentials in ENV. | |
| at Object.<anonymous> (plugins/network/s3_client.test.js:105:17) | |
| PASS bagit/bagit_util.test.js | |
| PASS ui/forms/form.test.js | |
| PASS bagit/bagit_file.test.js | |
| PASS bagit/tag_definition.test.js | |
| PASS plugins/formats/read/file_system_reader.test.js | |
| PASS core/operation_result.test.js | |
| PASS core/context.test.js | |
| PASS core/export_settings.test.js | |
| PASS bagit/tag_file_parser.test.js | |
| PASS ui/forms/app_setting_form.test.js | |
| PASS ui/forms/field.test.js | |
| PASS workers/worker.test.js | |
| PASS bagit/key_value_collection.test.js | |
| PASS ui/forms/tag_definition_form.test.js | |
| PASS core/validation_operation.test.js | |
| PASS bagit/manifest_parser.test.js | |
| PASS plugins/network/s3_transfer.test.js | |
| PASS ui/forms/choice.test.js | |
| PASS ui/forms/tag_file_form.test.js | |
| PASS plugins/formats/read/tar_reader.test.js | |
| PASS core/constants.test.js | |
| PASS core/json_store.test.js | |
| PASS ui/common/ui_test_util.test.js | |
| PASS util/file/filestat.test.js | |
| PASS bagit/bagit_profile_info.test.js | |
| PASS util/file/dummy_reader.test.js | |
| PASS core/config.test.js | |
| PASS bagit/task_description.test.js | |
| Summary of all failing tests | |
| FAIL plugins/network/sftp_client.test.js (7.376 s) | |
| ● Upload handles Permission denied | |
| expect(received).toEqual(expected) // deep equality | |
| Expected: 1 | |
| Received: 2 | |
| 93 | console.log(result.errors); | |
| 94 | } | |
| > 95 | expect(result.errors.length).toEqual(1); | |
| | ^ | |
| 96 | expect(result.errors[0]).toMatch(/authentication methods failed/); | |
| 97 | done(); | |
| 98 | }); | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:95:38) | |
| at Client.<anonymous> (plugins/network/sftp_client.js:120:18) | |
| at doNextAuth (node_modules/ssh2/lib/client.js:415:12) | |
| at tryNextAuth (node_modules/ssh2/lib/client.js:484:5) | |
| at SSH2Stream.onUSERAUTH_FAILURE (node_modules/ssh2/lib/client.js:597:5) | |
| at parsePacket (node_modules/ssh2-streams/lib/ssh.js:3682:10) | |
| at SSH2Stream._transform (node_modules/ssh2-streams/lib/ssh.js:701:13) | |
| at SSH2Stream._read (node_modules/ssh2-streams/lib/ssh.js:253:15) | |
| ● Upload handles unspecfied failure | |
| : 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: | |
| 114 | }); | |
| 115 | | |
| > 116 | test('Upload handles unspecfied failure', done => { | |
| | ^ | |
| 117 | var ss = getStorageService(); | |
| 118 | var client = new SFTPClient(ss); | |
| 119 | client.on('finish', function(result) { | |
| at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) | |
| at Object.<anonymous> (plugins/network/sftp_client.test.js:116:1) | |
| Test Suites: 1 failed, 86 passed, 87 total | |
| Tests: 2 failed, 571 passed, 573 total | |
| Snapshots: 0 total | |
| Time: 57.69 s | |
| Ran all test suites. | |
| Jest did not exit one second after the test run has completed. | |
| This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue. | |
| ^C | |
| westgard@Joshuas-iMac dart % npm test -- --runInBand --detectOpenHandles | |
| > [email protected] test /Users/westgard/Dev/dart | |
| > jest "--runInBand" "--detectOpenHandles" | |
| FAIL plugins/network/sftp_client.test.js (7.75 s) | |
| ● Console | |
| console.log | |
| [ | |
| 'All configured authentication methods failed', | |
| 'All configured authentication methods failed' | |
| ] | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:93:21) | |
| ● Upload handles Permission denied | |
| expect(received).toEqual(expected) // deep equality | |
| Expected: 1 | |
| Received: 2 | |
| 93 | console.log(result.errors); | |
| 94 | } | |
| > 95 | expect(result.errors.length).toEqual(1); | |
| | ^ | |
| 96 | expect(result.errors[0]).toMatch(/authentication methods failed/); | |
| 97 | done(); | |
| 98 | }); | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:95:38) | |
| at Client.<anonymous> (plugins/network/sftp_client.js:120:18) | |
| at doNextAuth (node_modules/ssh2/lib/client.js:415:12) | |
| at tryNextAuth (node_modules/ssh2/lib/client.js:484:5) | |
| at SSH2Stream.onUSERAUTH_FAILURE (node_modules/ssh2/lib/client.js:597:5) | |
| at parsePacket (node_modules/ssh2-streams/lib/ssh.js:3682:10) | |
| at SSH2Stream._transform (node_modules/ssh2-streams/lib/ssh.js:701:13) | |
| at SSH2Stream._read (node_modules/ssh2-streams/lib/ssh.js:253:15) | |
| ● Upload handles unspecfied failure | |
| : 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: | |
| 114 | }); | |
| 115 | | |
| > 116 | test('Upload handles unspecfied failure', done => { | |
| | ^ | |
| 117 | var ss = getStorageService(); | |
| 118 | var client = new SFTPClient(ss); | |
| 119 | client.on('finish', function(result) { | |
| at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) | |
| at Object.<anonymous> (plugins/network/sftp_client.test.js:116:1) | |
| PASS ui/controllers/workflow_batch_controller.test.js (7.854 s) | |
| PASS workers/cli.test.js | |
| PASS ui/controllers/bag_validation_controller.test.js | |
| PASS ui/controllers/settings_controller.test.js | |
| PASS bagit/bagger.test.js | |
| PASS bagit/validator.test.js | |
| PASS ui/controllers/job_files_controller.test.js | |
| PASS ui/controllers/bagit_profile_controller.test.js | |
| PASS core/persistent_object.test.js | |
| PASS workers/job_runner.test.js | |
| ● Console | |
| console.log | |
| Skipping upload portion of JobRunner test: no AWS credentials in environment. | |
| at getJob (workers/job_runner.test.js:52:21) | |
| PASS ui/controllers/dashboard_controller.test.js | |
| PASS ui/controllers/job_packaging_controller.test.js | |
| PASS ui/controllers/storage_service_controller.test.js | |
| PASS ui/common/request_handler.test.js | |
| PASS ui/controllers/job_upload_controller.test.js | |
| PASS ui/controllers/job_metadata_controller.test.js | |
| PASS workers/bag_creator.test.js | |
| PASS ui/controllers/remote_repository_controller.test.js | |
| PASS ui/controllers/app_setting_controller.test.js | |
| PASS ui/controllers/job_controller.test.js | |
| PASS bagit/bagit_profile.test.js | |
| PASS ui/controllers/job_run_controller.test.js | |
| PASS core/workflow_batch.test.js | |
| PASS util/job_loader.test.js | |
| PASS core/job_params.test.js | |
| PASS ui/controllers/workflow_controller.test.js | |
| PASS core/workflow.test.js | |
| PASS ui/controllers/internal_setting_controller.test.js | |
| PASS ui/forms/settings_export_form.test.js | |
| PASS workers/bag_validator.test.js | |
| PASS plugins/repository/aptrust.test.js | |
| PASS core/app_setting.test.js | |
| PASS core/manifest_entry.test.js | |
| PASS ui/forms/job_tags_form.test.js | |
| PASS ui/forms/bagit_profile_form.test.js | |
| PASS core/job.test.js | |
| PASS core/test_util.test.js | |
| PASS core/storage_service.test.js | |
| PASS core/internal_setting.test.js | |
| PASS core/remote_repository.test.js | |
| PASS workers/uploader.test.js | |
| ● Console | |
| console.log | |
| Skipping S3 upload test for workers/Uploader: no credentials in ENV. | |
| at Object.<anonymous> (workers/uploader.test.js:44:17) | |
| PASS core/package_operation.test.js | |
| PASS ui/forms/job_package_op_form.test.js | |
| PASS ui/controllers/plugin_controller.test.js | |
| PASS core/export_question.test.js | |
| PASS util/csv_batch_parser.test.js | |
| PASS ui/controllers/base_controller.test.js | |
| PASS ui/forms/tag_file_form.test.js | |
| PASS ui/forms/storage_service_form.test.js | |
| PASS ui/forms/remote_repository_form.test.js | |
| PASS plugins/plugin_manager.test.js | |
| PASS bagit/tag_definition.test.js | |
| PASS plugins/formats/write/tar_writer.test.js | |
| PASS core/util.test.js | |
| PASS ui/forms/settings_questions_form.test.js | |
| PASS bagit/bagit_util.test.js | |
| PASS plugins/formats/write/file_system_writer.test.js | |
| PASS plugins/network/s3_client.test.js | |
| ● Console | |
| console.log | |
| Skipping S3 upload test for S3Client: no credentials in ENV. | |
| at Object.<anonymous> (plugins/network/s3_client.test.js:105:17) | |
| PASS ui/common/templates.test.js | |
| PASS bagit/bagit_file.test.js | |
| PASS ui/forms/form.test.js | |
| PASS core/upload_operation.test.js | |
| PASS ui/forms/new_bagit_profile_form.test.js | |
| PASS core/context.test.js | |
| PASS core/operation_result.test.js | |
| PASS plugins/formats/read/file_system_reader.test.js | |
| PASS bagit/manifest_parser.test.js | |
| PASS ui/forms/choice.test.js | |
| PASS bagit/tag_file_parser.test.js | |
| PASS ui/forms/tag_definition_form.test.js | |
| PASS core/export_settings.test.js | |
| PASS ui/forms/field.test.js | |
| PASS workers/worker.test.js | |
| PASS ui/forms/app_setting_form.test.js | |
| PASS bagit/key_value_collection.test.js | |
| PASS plugins/network/s3_transfer.test.js | |
| PASS core/validation_operation.test.js | |
| PASS plugins/formats/read/tar_reader.test.js | |
| PASS core/json_store.test.js | |
| PASS ui/common/ui_test_util.test.js | |
| PASS core/constants.test.js | |
| PASS util/file/filestat.test.js | |
| PASS bagit/bagit_profile_info.test.js | |
| PASS bagit/task_description.test.js | |
| PASS util/file/dummy_reader.test.js | |
| PASS core/config.test.js | |
| Summary of all failing tests | |
| FAIL plugins/network/sftp_client.test.js (7.75 s) | |
| ● Upload handles Permission denied | |
| expect(received).toEqual(expected) // deep equality | |
| Expected: 1 | |
| Received: 2 | |
| 93 | console.log(result.errors); | |
| 94 | } | |
| > 95 | expect(result.errors.length).toEqual(1); | |
| | ^ | |
| 96 | expect(result.errors[0]).toMatch(/authentication methods failed/); | |
| 97 | done(); | |
| 98 | }); | |
| at SFTPClient.<anonymous> (plugins/network/sftp_client.test.js:95:38) | |
| at Client.<anonymous> (plugins/network/sftp_client.js:120:18) | |
| at doNextAuth (node_modules/ssh2/lib/client.js:415:12) | |
| at tryNextAuth (node_modules/ssh2/lib/client.js:484:5) | |
| at SSH2Stream.onUSERAUTH_FAILURE (node_modules/ssh2/lib/client.js:597:5) | |
| at parsePacket (node_modules/ssh2-streams/lib/ssh.js:3682:10) | |
| at SSH2Stream._transform (node_modules/ssh2-streams/lib/ssh.js:701:13) | |
| at SSH2Stream._read (node_modules/ssh2-streams/lib/ssh.js:253:15) | |
| ● Upload handles unspecfied failure | |
| : 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: | |
| 114 | }); | |
| 115 | | |
| > 116 | test('Upload handles unspecfied failure', done => { | |
| | ^ | |
| 117 | var ss = getStorageService(); | |
| 118 | var client = new SFTPClient(ss); | |
| 119 | client.on('finish', function(result) { | |
| at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) | |
| at Object.<anonymous> (plugins/network/sftp_client.test.js:116:1) | |
| Test Suites: 1 failed, 86 passed, 87 total | |
| Tests: 2 failed, 571 passed, 573 total | |
| Snapshots: 0 total | |
| Time: 60.62 s | |
| Ran all test suites. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment