Skip to content

WIP Remove remaining references to V1 profiles #8370

WIP Remove remaining references to V1 profiles

WIP Remove remaining references to V1 profiles #8370

Triggered via push August 21, 2024 14:55
Status Failure
Total duration 49m 18s
Artifacts 9

zowe-cli.yml

on: push
Matrix: test
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

44 errors
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'. packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (18.x, macos-14)
Process completed with exit code 1.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (18.x, macos-14)
Process completed with exit code 1.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (20.x, ubuntu-latest)
Process completed with exit code 1.
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'. packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (20.x, ubuntu-latest)
Process completed with exit code 1.
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'. packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (20.x, macos-14)
Process completed with exit code 1.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (20.x, macos-14)
Process completed with exit code 1.
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'. packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler /home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (18.x, ubuntu-latest)
Process completed with exit code 1.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (18.x, ubuntu-latest)
Process completed with exit code 1.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (18.x, windows-latest)
Process completed with exit code 1.
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.·· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\r\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\r\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (18.x, windows-latest)
Process completed with exit code 1.
test (20.x, windows-latest)
The hosted runner encountered an error while running your job. (Error Type: Disconnect).
test (20.x, windows-latest)
The hosted runner: GitHub Actions 309 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
Command Processor › profiles › should find profile with type prefix that matches name specified in arguments: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2171
expect(received).toBe(expected) // Object.is equality Expected: "brown" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2171:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
Command Processor › profiles › should find default profile that matches type: packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts#L2176
expect(received).toBe(expected) // Object.is equality Expected: "green" Received: "yellow" at packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:2176:40 at fulfilled (packages/imperative/src/cmd/__tests__/CommandProcessor.unit.test.ts:15:58)
test (20.x, windows-latest)
Process completed with exit code 1.
cmd-cli › should display the help: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/root/Cmd.cli.root.integration.test.ts#L32
expect(received).toMatchSnapshot() Snapshot name: `cmd-cli should display the help 1` - Snapshot - 3 + Received + 1 @@ -21,11 +21,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -76,11 +75,10 @@ gen-help Commands to test help generator invalid Invalid definitions invoke Invoke handlers to test promise reject/fulfill nested Test a complex structure profile Validate profile mapping - read Read some profiles respond Invoke handlers that will produce messages validate Validate syntax checking OPTIONS ------- @@ -111,9 +109,9 @@ ================ISSUING HELP WITH RFJ================= { "success": true, "exitCode": 0, "message": "", - "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n read Read some profiles \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", + "stdout": "\n DESCRIPTION\n -----------\n\n A test CLI for the 'cmd' imperative package\n\n USAGE\n -----\n\n cmd-cli <group>\n\n Where <group> is one of the following:\n\n GROUPS\n ------\n\n auth Connect to token-based authentication services\n auto-format Invoke handlers to test auto-format \n chained chained handler test commands \n gen-help Commands to test help generator \n invalid Invalid definitions \n invoke Invoke handlers to test promise reject/fulfill\n nested Test a complex structure \n profile Validate profile mapping \n respond Invoke handlers that will produce messages \n validate Validate syntax checking \n\n OPTIONS\n -------\n\n --version | -V (boolean)\n\n Display the current version of Cmd Package CLI\n\n --available-commands | --ac (boolean)\n\n Displays a list of available commands\n\n GLOBAL OPTIONS\n --------------\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n", "stderr": "", "data": {} } at packages/imperative
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts#L24
expect(received).toContain(expected) // indexOf Expected substring: "Profile of type \"profile-with-dependency\" does not exist within the loaded profiles for the command and it is marked as required" Received string: "Handler Instantiation Failed: Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\UseDependentProfileHandler for command use-dependent-profile Error Details: ⨯ Unable to compile TypeScript: packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(17,42): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.· packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts(20,36): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.·· " at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:24:31)
Imperative With Profiles Tests › We should provide auto-generated profile commands for convenience: packages/imperative/__tests__/src/TestUtil.ts#L280
Command should have succeeded: { "success": false, "exitCode": 1, "message": "Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c", "stdout": "", "stderr": "Handler Instantiation Failed:\nCould not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c\nError Details:\n⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\r\n\n", "data": {}, "error": { "msg": "Could not instantiate the handler D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\src\\example_clis\\with_profiles\\handlers\\OptionalProfileCHandler for command optional-profile-c", "additionalDetails": "⨯ Unable to compile TypeScript:\npackages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts(17,32): error TS2339: Property 'profiles' does not exist on type 'IHandlerParameters'.\r\n" } } at Object.findExpectedOutputInCommand (packages/imperative/__tests__/src/TestUtil.ts:280:23) at Object.<anonymous> (packages/imperative/__tests__/src/example_clis/with_profiles/__integration__/AutoGeneratedProfileCommands.integration.subtest.ts:33:26)
test (20.x, windows-latest)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
macos-14-18.x-results
3.68 MB
macos-14-20.x-results
3.68 MB
ubuntu-latest-18.x-results
3.68 MB
ubuntu-latest-20.x-results
3.68 MB
windows-latest-18.x-results
3.68 MB
windows-latest-20.x-results
3.68 MB
zowe-macos-14.tgz
1.18 MB
zowe-ubuntu-latest.tgz
5.45 MB
zowe-windows-latest.tgz
850 KB