Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'setContent FromObject') #2773

Closed
hwanginaver opened this issue Mar 13, 2024 · 16 comments
Closed
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@hwanginaver
Copy link

An error occurs when the command 'sfdx auth:jwt:grant '

Cannot read properties of undefined (reading 'setContent FromObject')

sf version , in rockylinux8.9

@salesforce/cli/2.30.8 linux-x64 v20.11.1

@hwanginaver hwanginaver added the investigating We're actively investigating this issue label Mar 13, 2024
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

Copy link

Hello @hwanginaver 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Mar 13, 2024
@hwanginaver
Copy link
Author

hwanginaver commented Mar 14, 2024

Hello @hwanginaver 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.

    • A repository that clearly demonstrates the bug is ideal.

    install sfdx-cli in rockylinux 8.9 using sfdx auth:jwt:grant

  • Make sure you've installed the latest version of Salesforce CLI. (docs)

    • Better yet, try the rc or nightly versions. (docs)

    Same

  • Try running the doctor command to diagnose common issues.

  • Search GitHub for existing related issues.

Thank you!

@shetzel
Copy link
Contributor

shetzel commented Mar 14, 2024

Using the same version of the CLI (2.30.8) and running the same command I can't reproduce this.

What's the output of sf plugins --core? It would also help to have a stack of the error and debug output when running the command. All of that can be obtained by using the doctor command. Run export SF_LOG_LEVEL=trace followed by sf doctor --command "<your jwt auth command>". That will generate some files you can attach to this issue that will help track it down. Scrub anything in the files you don't want public. Also, does the auth command work with previous versions of the CLI or did this start happening with 2.30.8?

@hwanginaver
Copy link
Author

The above error occurs in the rockylinux 8.9 environment.

Copy link

This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.

@github-actions github-actions bot added the stale label Mar 25, 2024
@cristiand391
Copy link
Member

@hwanginaver could you provide some logs (see Steve's comment above) so we can debug this?

@github-actions github-actions bot removed the stale label Mar 27, 2024
@sfitzsimmons-tractioncomplete

I'm experiencing the same issue.

Originally I was using the same syntax but during debugging I have updated to use sf org login jwt and it's still the same behaviour. Altogether my stack is a little complicated so I don't have an example repo I can share right now, but the bottom line is that with my given server's environment setup, this command is basically always being executed against a completely fresh server. I'll give you the use case and then the output of some of the commands you guys have asked for so far

Use Case:

  • I have an auto-scaling group of EC2 servers that are defined by Launch Template code in an AWS CDK app.
    • The machine image being used is Amazon's default ECS Optimized Image for the "Amazon Linux 2023" distro
    • The launch template installs sf via npm install @salesforce/cli --global in that launch template.
  • Those servers serve as our Jenkins worker agents and run tests against our scratch orgs, etc. Our Jenkinsfile pipeline files first run this jwt command to authenticate the worker agent server, then go on to create a scratch org and do whatever they need.

The Failing Command:

+ sf org login jwt --client-id **** --jwt-key-file **** --username **** --alias DevHub-Org --set-default-dev-hub
Error (1): We encountered a JSON web token error, which is likely not an issue with Salesforce CLI. Here’s the error: Cannot read properties of undefined (reading 'setContentsFromObject')

sf version --verbose --json

+ sf version --verbose --json
{
  "architecture": "linux-x64",
  "cliVersion": "@salesforce/cli/2.34.7",
  "nodeVersion": "node-v18.20.0",
  "osVersion": "Linux 6.1.79-99.164.amzn2023.x86_64",
  "rootPath": "/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli",
  "shell": "bash",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.13 (core)",
    "@oclif/plugin-commands 3.2.0 (core)",
    "@oclif/plugin-help 6.0.18 (core)",
    "@oclif/plugin-not-found 3.0.14 (core)",
    "@oclif/plugin-plugins 4.3.8 (core)",
    "@oclif/plugin-search 1.0.20 (core)",
    "@oclif/plugin-update 4.2.0 (core)",
    "@oclif/plugin-version 2.0.14 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.14 (core)",
    "@oclif/plugin-which 3.1.5 (core)",
    "@salesforce/cli 2.34.7 (core)",
    "apex 3.0.31 (core)",
    "auth 3.3.27 (core)",
    "data 3.1.11 (core)",
    "deploy-retrieve 3.2.35 (core)",
    "info 3.0.33 (core)",
    "limits 3.1.14 (core)",
    "marketplace 1.0.29 (core)",
    "org 3.5.0 (core)",
    "packaging 2.1.12 (core)",
    "schema 3.1.9 (core)",
    "settings 2.0.31 (core)",
    "sobject 1.1.20 (core)",
    "source 3.1.22 (core)",
    "telemetry 3.1.17 (core)",
    "templates 56.0.23 (core)",
    "trust 3.3.17 (core)",
    "user 3.3.4 (core)"
  ]
}

sf plugins --core

+ sf plugins --core
@oclif/plugin-autocomplete 3.0.13 (core)
@oclif/plugin-commands 3.2.0 (core)
@oclif/plugin-help 6.0.18 (core)
@oclif/plugin-not-found 3.0.14 (core)
@oclif/plugin-plugins 4.3.8 (core)
@oclif/plugin-search 1.0.20 (core)
@oclif/plugin-update 4.2.0 (core)
@oclif/plugin-version 2.0.14 (core)
@oclif/plugin-warn-if-update-available 3.0.14 (core)
@oclif/plugin-which 3.1.5 (core)
@salesforce/cli 2.34.7 (core)
apex 3.0.31 (core)
auth 3.3.27 (core)
data 3.1.11 (core)
deploy-retrieve 3.2.35 (core)
info 3.0.33 (core)
limits 3.1.14 (core)
marketplace 1.0.29 (core)
org 3.5.0 (core)
packaging 2.1.12 (core)
schema 3.1.9 (core)
settings 2.0.31 (core)
sobject 1.1.20 (core)
source 3.1.22 (core)
telemetry 3.1.17 (core)
templates 56.0.23 (core)
trust 3.3.17 (core)
user 3.3.4 (core)

Uninstalled JIT Plugins:
community 3.0.27
custom-metadata 3.1.18
dev 2.1.15
devops-center 1.2.9
env 3.0.25
functions 1.23.0
signups 2.0.29
@salesforce/sfdx-plugin-lwc-test 1.2.0
@salesforce/sfdx-scanner 3.22.0

sf doctor
(these worker servers self-destruct immediately after running their builds, so at the moment I don't have the contents of those log files though)

+ sf doctor --command 'sf org login jwt --client-id **** --jwt-key-file **** --username **** --alias DevHub-Org  --set-default-dev-hub'
=== Running command with debugging

sf org login jwt --client-id **** --jwt-key-file **** --username **** --alias DevHub-Org  --set-default-dev-hub --dev-debug

=== Running all diagnostics

pass - salesforcedx plugin not installed
pass - no linked plugins
pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
pass - using latest or latest-rc CLI version

Wrote command stdout log to: /tmp/jenkins-db72c61f/workspace/*****/1711649734690-command-stdout.log
Wrote command debug log to: /tmp/jenkins-db72c61f/workspace/*****/1711649734690-command-debug.log
Wrote doctor diagnosis to: /tmp/jenkins-db72c61f/workspace/*****/1711649734690-diagnosis.json

=== Suggestions

  * Check https://github.com/forcedotcom/cli/issues for CLI issues posted by the community.
  * Check http://status.salesforce.com/ for general Salesforce availability and performance.

As a final note, I'll point out that elsewhere we have a very similar jenkins job that runs very similar tasks, installs sf the same way, runs the same auth command, and is working fine. The only difference I can see in that other stack? it's running inside a Dockerfile that's based on Debian12, not AmazonLinux2023. So maybe there's something that's distro-sensitive at play here? /shrug

@sfitzsimmons-tractioncomplete

Update: I updated our build script to cat the logs, here they are (with some stuff redacted):

1711654291922-command-stdout.log

[19:31:32.777] TRACE (sf:core:config): Created 'sf:core:config' child logger instance
[19:31:32.777] TRACE (sf): Setup child 'sf:core:config' logger instance
[19:31:33.642] TRACE (sf:Config): Created 'sf:Config' child logger instance
[19:31:33.642] TRACE (sf): Setup child 'sf:Config' logger instance
[19:31:33.642] TRACE (sf:Config): Created 'sf:Config' child logger instance
[19:31:33.642] TRACE (sf): Setup child 'sf:Config' logger instance
[19:31:33.643] DEBUG (sf:Config): Reading config file: /home/ec2-user/.sf/config.json because hasRead is false
[19:31:33.644] TRACE (sf:core:config:stateFromSfdxFileSync): Created 'sf:core:config:stateFromSfdxFileSync' child logger instance
[19:31:33.644] TRACE (sf): Setup child 'sf:core:config:stateFromSfdxFileSync' logger instance
[19:31:33.644] DEBUG (sf:core:config:stateFromSfdxFileSync): Error reading state from sfdx config file at /home/ec2-user/.sfdx/sfdx-config.json: ENOENT: no such file or directory, open '/home/ec2-user/.sfdx/sfdx-config.json'
[19:31:33.644] DEBUG (sf:Config): Reading config file: /tmp/jenkins-88825c01/workspace/*****/.sf/config.json because hasRead is false
[19:31:33.644] TRACE (sf:core:config:stateFromSfdxFileSync): Created 'sf:core:config:stateFromSfdxFileSync' child logger instance
[19:31:33.644] TRACE (sf): Setup child 'sf:core:config:stateFromSfdxFileSync' logger instance
[19:31:33.644] DEBUG (sf:core:config:stateFromSfdxFileSync): Error reading state from sfdx config file at /tmp/jenkins-88825c01/workspace/*****/.sfdx/sfdx-config.json: ENOENT: no such file or directory, open '/tmp/jenkins-88825c01/workspace/*****/.sfdx/sfdx-config.json'
[19:31:33.671] TRACE (sf:LoginJwt): Created 'sf:LoginJwt' child logger instance
[19:31:33.671] TRACE (sf): Setup child 'sf:LoginJwt' logger instance
[19:31:33.674] TRACE (sf:Common): Created 'sf:Common' child logger instance
    tag: "resolveLoginUrl"
[19:31:33.674] TRACE (sf): Setup child 'sf:Common' logger instance
[19:31:33.675] TRACE (sf:SfProjectJson): Created 'sf:SfProjectJson' child logger instance
[19:31:33.675] TRACE (sf): Setup child 'sf:SfProjectJson' logger instance
[19:31:33.675] TRACE (sf:SfProjectJson): Created 'sf:SfProjectJson' child logger instance
[19:31:33.675] TRACE (sf): Setup child 'sf:SfProjectJson' logger instance
[19:31:33.675] DEBUG (sf:SfProjectJson): Reading config file: /home/ec2-user/.sfdx/sfdx-project.json because hasRead is false
[19:31:33.675] DEBUG (sf:SfProjectJson): Reading config file: /tmp/jenkins-88825c01/workspace/*****/sfdx-project.json because hasRead is false
[19:31:33.687] DEBUG (sf:Common): loginUrl: [https://login.salesforce.com](https://login.salesforce.com%1B[39m/)
    tag: "resolveLoginUrl"
[19:31:33.687] TRACE (sf:OrgAccessor): Created 'sf:OrgAccessor' child logger instance
[19:31:33.687] TRACE (sf): Setup child 'sf:OrgAccessor' logger instance
[19:31:33.688] TRACE (sf:SandboxAccessor): Created 'sf:SandboxAccessor' child logger instance
[19:31:33.688] TRACE (sf): Setup child 'sf:SandboxAccessor' logger instance
[19:31:33.688] DEBUG (sf:OrgAccessor): No auth file found for ****
[19:31:33.689] TRACE (sf:AuthInfoConfig): Created 'sf:AuthInfoConfig' child logger instance
[19:31:33.689] TRACE (sf): Setup child 'sf:AuthInfoConfig' logger instance
[19:31:33.689] TRACE (sf:keyChain): Created 'sf:keyChain' child logger instance
[19:31:33.689] TRACE (sf): Setup child 'sf:keyChain' logger instance
[19:31:33.689] DEBUG (sf:keyChain): platform: linux
[19:31:33.829] TRACE (sf:crypto): Created 'sf:crypto' child logger instance
[19:31:33.829] TRACE (sf): Setup child 'sf:crypto' logger instance
[19:31:33.829] DEBUG (sf:crypto): password not found in keychain. Creating new one (Crypto v1) and re-init.
[19:31:33.844] TRACE (sf:AuthInfo): Created 'sf:AuthInfo' child logger instance
[19:31:33.844] TRACE (sf): Setup child 'sf:AuthInfo' logger instance
[19:31:33.845] TRACE (sf:SfdcUrl): Created 'sf:SfdcUrl' child logger instance
[19:31:33.846] TRACE (sf): Setup child 'sf:SfdcUrl' logger instance
[19:31:34.499] TRACE (sf:MyDomainResolver): Created 'sf:MyDomainResolver' child logger instance
[19:31:34.500] TRACE (sf): Setup child 'sf:MyDomainResolver' logger instance
[19:31:34.500] TRACE (sf:PollingClient): Created 'sf:PollingClient' child logger instance
[19:31:34.500] TRACE (sf): Setup child 'sf:PollingClient' logger instance
[19:31:34.501] DEBUG (sf:MyDomainResolver): Attempting to resolve url: *****.my.salesforce.com
[19:31:34.525] DEBUG (sf:MyDomainResolver): Successfully resolved host: *****.my.salesforce.com result: {"address":"**.***.***.**","family":4}
[19:31:34.772] INFO (sf:AuthInfo): Updated auth info for username: ****
[19:31:34.773] TRACE (sf:AuthInfoConfig): Created 'sf:AuthInfoConfig' child logger instance
[19:31:34.773] TRACE (sf): Setup child 'sf:AuthInfoConfig' logger instance
[19:31:34.773] TRACE (sf:keyChain): Created 'sf:keyChain' child logger instance
[19:31:34.773] TRACE (sf): Setup child 'sf:keyChain' logger instance
[19:31:34.773] DEBUG (sf:keyChain): platform: linux
[19:31:34.782] DEBUG (sf:crypto): password not found in keychain. Creating new one (Crypto v1) and re-init.

1711654291922-command-debug.log

2024-03-28T19:31:32.433Z find-root:root-plugin Finding root plugin using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/dist
2024-03-28T19:31:32.434Z find-root:root-plugin Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/dist
2024-03-28T19:31:32.435Z find-root:root-plugin Checking /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/dist/package.json
2024-03-28T19:31:32.438Z find-root:root-plugin Checking /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/package.json
2024-03-28T19:31:32.439Z find-root:root-plugin Found root by traversing up from starting point!
2024-03-28T19:31:32.439Z find-root:root-plugin Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.440Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.440Z config:@salesforce/cli command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './dist/commands'
}
2024-03-28T19:31:32.447Z config:@salesforce/cli using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/oclif.manifest.json
2024-03-28T19:31:32.471Z config reading user plugins pjson /home/ec2-user/.local/share/sf/package.json
2024-03-28T19:31:32.524Z config loading plugins [
  '@oclif/plugin-autocomplete',
  '@oclif/plugin-commands',
  '@oclif/plugin-help',
  '@oclif/plugin-not-found',
  '@oclif/plugin-plugins',
  '@oclif/plugin-search',
  '@oclif/plugin-update',
  '@oclif/plugin-version',
  '@oclif/plugin-warn-if-update-available',
  '@oclif/plugin-which',
  '@salesforce/plugin-apex',
  '@salesforce/plugin-auth',
  '@salesforce/plugin-data',
  '@salesforce/plugin-deploy-retrieve',
  '@salesforce/plugin-info',
  '@salesforce/plugin-limits',
  '@salesforce/plugin-marketplace',
  '@salesforce/plugin-org',
  '@salesforce/plugin-packaging',
  '@salesforce/plugin-schema',
  '@salesforce/plugin-settings',
  '@salesforce/plugin-sobject',
  '@salesforce/plugin-source',
  '@salesforce/plugin-telemetry',
  '@salesforce/plugin-templates',
  '@salesforce/plugin-trust',
  '@salesforce/plugin-user'
]
2024-03-28T19:31:32.530Z find-root:@oclif/plugin-autocomplete Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.531Z find-root:@oclif/plugin-autocomplete Found starting point with require.resolve
2024-03-28T19:31:32.531Z find-root:@oclif/plugin-autocomplete Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-autocomplete/lib
2024-03-28T19:31:32.532Z find-root:@oclif/plugin-autocomplete Found root based on plugin name!
2024-03-28T19:31:32.532Z find-root:@oclif/plugin-commands Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.533Z find-root:@oclif/plugin-commands Found starting point with require.resolve
2024-03-28T19:31:32.533Z find-root:@oclif/plugin-commands Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-commands/lib
2024-03-28T19:31:32.533Z find-root:@oclif/plugin-commands Found root based on plugin name!
2024-03-28T19:31:32.534Z find-root:@oclif/plugin-help Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.534Z find-root:@oclif/plugin-help Found starting point with require.resolve
2024-03-28T19:31:32.535Z find-root:@oclif/plugin-help Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-help/lib
2024-03-28T19:31:32.535Z find-root:@oclif/plugin-help Found root based on plugin name!
2024-03-28T19:31:32.535Z find-root:@oclif/plugin-not-found Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.536Z find-root:@oclif/plugin-not-found Found starting point with require.resolve
2024-03-28T19:31:32.536Z find-root:@oclif/plugin-not-found Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-not-found/lib
2024-03-28T19:31:32.537Z find-root:@oclif/plugin-not-found Found root based on plugin name!
2024-03-28T19:31:32.537Z find-root:@oclif/plugin-plugins Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.538Z find-root:@oclif/plugin-plugins Found starting point with require.resolve
2024-03-28T19:31:32.538Z find-root:@oclif/plugin-plugins Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-plugins/lib
2024-03-28T19:31:32.538Z find-root:@oclif/plugin-plugins Found root based on plugin name!
2024-03-28T19:31:32.538Z find-root:@oclif/plugin-search Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.539Z find-root:@oclif/plugin-search Found starting point with require.resolve
2024-03-28T19:31:32.540Z find-root:@oclif/plugin-search Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-search/dist
2024-03-28T19:31:32.540Z find-root:@oclif/plugin-search Found root based on plugin name!
2024-03-28T19:31:32.540Z find-root:@oclif/plugin-update Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.541Z find-root:@oclif/plugin-update require.resolve could not find plugin starting point
2024-03-28T19:31:32.543Z find-root:@oclif/plugin-update Finding root using legacy method
2024-03-28T19:31:32.544Z find-root:@oclif/plugin-version Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.544Z find-root:@oclif/plugin-version Found starting point with require.resolve
2024-03-28T19:31:32.545Z find-root:@oclif/plugin-version Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-version/lib
2024-03-28T19:31:32.545Z find-root:@oclif/plugin-version Found root based on plugin name!
2024-03-28T19:31:32.545Z find-root:@oclif/plugin-warn-if-update-available Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.546Z find-root:@oclif/plugin-warn-if-update-available Found starting point with require.resolve
2024-03-28T19:31:32.546Z find-root:@oclif/plugin-warn-if-update-available Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available/lib
2024-03-28T19:31:32.549Z find-root:@oclif/plugin-warn-if-update-available Found root based on plugin name!
2024-03-28T19:31:32.549Z find-root:@oclif/plugin-which Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.550Z find-root:@oclif/plugin-which Found starting point with require.resolve
2024-03-28T19:31:32.550Z find-root:@oclif/plugin-which Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-which/lib
2024-03-28T19:31:32.550Z find-root:@oclif/plugin-which Found root based on plugin name!
2024-03-28T19:31:32.550Z find-root:@salesforce/plugin-apex Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.551Z find-root:@salesforce/plugin-apex Found starting point with require.resolve
2024-03-28T19:31:32.551Z find-root:@salesforce/plugin-apex Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-apex/lib
2024-03-28T19:31:32.551Z find-root:@salesforce/plugin-apex Found root based on plugin name!
2024-03-28T19:31:32.552Z find-root:@salesforce/plugin-auth Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.552Z find-root:@salesforce/plugin-auth Found starting point with require.resolve
2024-03-28T19:31:32.553Z find-root:@salesforce/plugin-auth Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth/lib
2024-03-28T19:31:32.553Z find-root:@salesforce/plugin-auth Found root based on plugin name!
2024-03-28T19:31:32.553Z find-root:@salesforce/plugin-data Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.554Z find-root:@salesforce/plugin-data Found starting point with require.resolve
2024-03-28T19:31:32.554Z find-root:@salesforce/plugin-data Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-data/lib
2024-03-28T19:31:32.554Z find-root:@salesforce/plugin-data Found root based on plugin name!
2024-03-28T19:31:32.554Z find-root:@salesforce/plugin-deploy-retrieve Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.555Z find-root:@salesforce/plugin-deploy-retrieve Found starting point with require.resolve
2024-03-28T19:31:32.555Z find-root:@salesforce/plugin-deploy-retrieve Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve/lib
2024-03-28T19:31:32.555Z find-root:@salesforce/plugin-deploy-retrieve Found root based on plugin name!
2024-03-28T19:31:32.556Z find-root:@salesforce/plugin-info Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.556Z find-root:@salesforce/plugin-info Found starting point with require.resolve
2024-03-28T19:31:32.556Z find-root:@salesforce/plugin-info Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-info/lib
2024-03-28T19:31:32.556Z find-root:@salesforce/plugin-info Found root based on plugin name!
2024-03-28T19:31:32.557Z find-root:@salesforce/plugin-limits Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.557Z find-root:@salesforce/plugin-limits Found starting point with require.resolve
2024-03-28T19:31:32.557Z find-root:@salesforce/plugin-limits Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-limits/lib
2024-03-28T19:31:32.558Z find-root:@salesforce/plugin-limits Found root based on plugin name!
2024-03-28T19:31:32.558Z find-root:@salesforce/plugin-marketplace Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.559Z find-root:@salesforce/plugin-marketplace Found starting point with require.resolve
2024-03-28T19:31:32.559Z find-root:@salesforce/plugin-marketplace Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-marketplace/lib
2024-03-28T19:31:32.559Z find-root:@salesforce/plugin-marketplace Found root based on plugin name!
2024-03-28T19:31:32.559Z find-root:@salesforce/plugin-org Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.560Z find-root:@salesforce/plugin-org Found starting point with require.resolve
2024-03-28T19:31:32.560Z find-root:@salesforce/plugin-org Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-org/lib
2024-03-28T19:31:32.560Z find-root:@salesforce/plugin-org Found root based on plugin name!
2024-03-28T19:31:32.560Z find-root:@salesforce/plugin-packaging Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.561Z find-root:@salesforce/plugin-packaging Found starting point with require.resolve
2024-03-28T19:31:32.561Z find-root:@salesforce/plugin-packaging Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-packaging/lib
2024-03-28T19:31:32.561Z find-root:@salesforce/plugin-packaging Found root based on plugin name!
2024-03-28T19:31:32.562Z find-root:@salesforce/plugin-schema Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.562Z find-root:@salesforce/plugin-schema Found starting point with require.resolve
2024-03-28T19:31:32.562Z find-root:@salesforce/plugin-schema Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-schema/lib
2024-03-28T19:31:32.563Z find-root:@salesforce/plugin-schema Found root based on plugin name!
2024-03-28T19:31:32.563Z find-root:@salesforce/plugin-settings Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.564Z find-root:@salesforce/plugin-settings Found starting point with require.resolve
2024-03-28T19:31:32.564Z find-root:@salesforce/plugin-settings Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings/lib
2024-03-28T19:31:32.564Z find-root:@salesforce/plugin-settings Found root based on plugin name!
2024-03-28T19:31:32.564Z find-root:@salesforce/plugin-sobject Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.565Z find-root:@salesforce/plugin-sobject Found starting point with require.resolve
2024-03-28T19:31:32.565Z find-root:@salesforce/plugin-sobject Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-sobject/lib
2024-03-28T19:31:32.565Z find-root:@salesforce/plugin-sobject Found root based on plugin name!
2024-03-28T19:31:32.565Z find-root:@salesforce/plugin-source Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.566Z find-root:@salesforce/plugin-source Found starting point with require.resolve
2024-03-28T19:31:32.566Z find-root:@salesforce/plugin-source Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-source/lib
2024-03-28T19:31:32.567Z find-root:@salesforce/plugin-source Found root based on plugin name!
2024-03-28T19:31:32.567Z find-root:@salesforce/plugin-telemetry Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.567Z find-root:@salesforce/plugin-telemetry Found starting point with require.resolve
2024-03-28T19:31:32.568Z find-root:@salesforce/plugin-telemetry Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry/lib
2024-03-28T19:31:32.568Z find-root:@salesforce/plugin-telemetry Found root based on plugin name!
2024-03-28T19:31:32.568Z find-root:@salesforce/plugin-templates Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.569Z find-root:@salesforce/plugin-templates Found starting point with require.resolve
2024-03-28T19:31:32.569Z find-root:@salesforce/plugin-templates Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-templates/lib
2024-03-28T19:31:32.569Z find-root:@salesforce/plugin-templates Found root based on plugin name!
2024-03-28T19:31:32.569Z find-root:@salesforce/plugin-trust Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.570Z find-root:@salesforce/plugin-trust Found starting point with require.resolve
2024-03-28T19:31:32.570Z find-root:@salesforce/plugin-trust Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-trust/lib
2024-03-28T19:31:32.570Z find-root:@salesforce/plugin-trust Found root based on plugin name!
2024-03-28T19:31:32.570Z find-root:@salesforce/plugin-user Finding root using /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli
2024-03-28T19:31:32.571Z find-root:@salesforce/plugin-user Found starting point with require.resolve
2024-03-28T19:31:32.571Z find-root:@salesforce/plugin-user Finding root starting at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-user/lib
2024-03-28T19:31:32.571Z find-root:@salesforce/plugin-user Found root based on plugin name!
2024-03-28T19:31:32.571Z find-root:@oclif/plugin-autocomplete Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-autocomplete
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-commands Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-commands
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-help Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-help
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-not-found Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-not-found
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-plugins Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-plugins
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-search Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-search
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-version Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-version
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-warn-if-update-available Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available
2024-03-28T19:31:32.572Z find-root:@oclif/plugin-which Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-which
2024-03-28T19:31:32.572Z find-root:@salesforce/plugin-apex Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-apex
2024-03-28T19:31:32.572Z find-root:@salesforce/plugin-auth Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth
2024-03-28T19:31:32.572Z find-root:@salesforce/plugin-data Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-data
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-deploy-retrieve Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-info Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-info
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-limits Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-limits
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-marketplace Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-marketplace
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-org Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-org
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-packaging Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-packaging
2024-03-28T19:31:32.573Z find-root:@salesforce/plugin-schema Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-schema
2024-03-28T19:31:32.574Z find-root:@salesforce/plugin-settings Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings
2024-03-28T19:31:32.574Z find-root:@salesforce/plugin-sobject Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-sobject
2024-03-28T19:31:32.574Z find-root:@salesforce/plugin-source Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-source
2024-03-28T19:31:32.574Z find-root:@salesforce/plugin-telemetry Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry
2024-03-28T19:31:32.575Z find-root:@salesforce/plugin-templates Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-templates
2024-03-28T19:31:32.575Z find-root:@salesforce/plugin-trust Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-trust
2024-03-28T19:31:32.575Z find-root:@salesforce/plugin-user Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-user
2024-03-28T19:31:32.575Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-autocomplete
2024-03-28T19:31:32.575Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-commands
2024-03-28T19:31:32.576Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-help
2024-03-28T19:31:32.576Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-not-found
2024-03-28T19:31:32.576Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-plugins
2024-03-28T19:31:32.576Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-search
2024-03-28T19:31:32.576Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-version
2024-03-28T19:31:32.577Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available
2024-03-28T19:31:32.577Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-which
2024-03-28T19:31:32.577Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-apex
2024-03-28T19:31:32.577Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth
2024-03-28T19:31:32.577Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-data
2024-03-28T19:31:32.578Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve
2024-03-28T19:31:32.578Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-info
2024-03-28T19:31:32.578Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-limits
2024-03-28T19:31:32.578Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-marketplace
2024-03-28T19:31:32.579Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-org
2024-03-28T19:31:32.579Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-packaging
2024-03-28T19:31:32.579Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-schema
2024-03-28T19:31:32.579Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings
2024-03-28T19:31:32.580Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-sobject
2024-03-28T19:31:32.580Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-source
2024-03-28T19:31:32.580Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry
2024-03-28T19:31:32.580Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-templates
2024-03-28T19:31:32.580Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-trust
2024-03-28T19:31:32.581Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-user
2024-03-28T19:31:32.608Z find-root:@oclif/plugin-update Found root at /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-update
2024-03-28T19:31:32.608Z config loading core plugin from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-update
2024-03-28T19:31:32.608Z config:@oclif/plugin-autocomplete command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.609Z config:@oclif/plugin-commands command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.609Z config:@oclif/plugin-help command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.610Z config:@oclif/plugin-not-found command discovery options undefined
2024-03-28T19:31:32.611Z config:@oclif/plugin-plugins command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.611Z config:@oclif/plugin-search command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './dist/commands'
}
2024-03-28T19:31:32.612Z config:@oclif/plugin-version command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.613Z config:@oclif/plugin-warn-if-update-available command discovery options undefined
2024-03-28T19:31:32.613Z config:@oclif/plugin-which command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.614Z config:@salesforce/plugin-apex command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.614Z config:@salesforce/plugin-auth command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.615Z config:@salesforce/plugin-data command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.616Z config:@salesforce/plugin-deploy-retrieve command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.616Z config:@salesforce/plugin-info command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.617Z config:@salesforce/plugin-limits command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.617Z config:@salesforce/plugin-marketplace command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.618Z config:@salesforce/plugin-org command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.619Z config:@salesforce/plugin-packaging command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.619Z config:@salesforce/plugin-schema command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.620Z config:@salesforce/plugin-settings command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.620Z config:@salesforce/plugin-sobject command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.621Z config:@salesforce/plugin-source command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.621Z config:@salesforce/plugin-telemetry command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.622Z config:@salesforce/plugin-templates command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.623Z config:@salesforce/plugin-trust command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.624Z config:@salesforce/plugin-user command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './lib/commands'
}
2024-03-28T19:31:32.637Z config:@oclif/plugin-update command discovery options {
  globPatterns: [
    '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)',
    '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)'
  ],
  strategy: 'pattern',
  target: './dist/commands'
}
2024-03-28T19:31:32.638Z config:@oclif/plugin-autocomplete using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json
2024-03-28T19:31:32.638Z config:@oclif/plugin-commands using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-commands/oclif.manifest.json
2024-03-28T19:31:32.639Z config:@oclif/plugin-help using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-help/oclif.manifest.json
2024-03-28T19:31:32.639Z config:@oclif/plugin-not-found using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-not-found/oclif.manifest.json
2024-03-28T19:31:32.640Z config:@oclif/plugin-plugins using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-plugins/oclif.manifest.json
2024-03-28T19:31:32.640Z config:@oclif/plugin-search using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-search/oclif.manifest.json
2024-03-28T19:31:32.640Z config:@oclif/plugin-version using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-version/oclif.manifest.json
2024-03-28T19:31:32.641Z config:@oclif/plugin-warn-if-update-available using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json
2024-03-28T19:31:32.641Z config:@oclif/plugin-which using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-which/oclif.manifest.json
2024-03-28T19:31:32.642Z config:@salesforce/plugin-apex using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-apex/oclif.manifest.json
2024-03-28T19:31:32.643Z config:@salesforce/plugin-auth using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth/oclif.manifest.json
2024-03-28T19:31:32.644Z config:@salesforce/plugin-data using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-data/oclif.manifest.json
2024-03-28T19:31:32.646Z config:@salesforce/plugin-deploy-retrieve using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve/oclif.manifest.json
2024-03-28T19:31:32.647Z config:@salesforce/plugin-info using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-info/oclif.manifest.json
2024-03-28T19:31:32.647Z config:@salesforce/plugin-limits using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-limits/oclif.manifest.json
2024-03-28T19:31:32.648Z config:@salesforce/plugin-marketplace using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-marketplace/oclif.manifest.json
2024-03-28T19:31:32.649Z config:@salesforce/plugin-org using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-org/oclif.manifest.json
2024-03-28T19:31:32.651Z config:@salesforce/plugin-packaging using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-packaging/oclif.manifest.json
2024-03-28T19:31:32.651Z config:@salesforce/plugin-schema using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-schema/oclif.manifest.json
2024-03-28T19:31:32.652Z config:@salesforce/plugin-settings using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings/oclif.manifest.json
2024-03-28T19:31:32.652Z config:@salesforce/plugin-sobject using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-sobject/oclif.manifest.json
2024-03-28T19:31:32.654Z config:@salesforce/plugin-source using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-source/oclif.manifest.json
2024-03-28T19:31:32.654Z config:@salesforce/plugin-telemetry using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry/oclif.manifest.json
2024-03-28T19:31:32.655Z config:@salesforce/plugin-templates using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-templates/oclif.manifest.json
2024-03-28T19:31:32.656Z config:@salesforce/plugin-trust using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-trust/oclif.manifest.json
2024-03-28T19:31:32.656Z config:@salesforce/plugin-user using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-user/oclif.manifest.json
2024-03-28T19:31:32.657Z config:@oclif/plugin-update using manifest from /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-update/oclif.manifest.json
2024-03-28T19:31:32.694Z config config done
2024-03-28T19:31:32.695Z sf                        OS:
2024-03-28T19:31:32.695Z sf                  platform: linux
2024-03-28T19:31:32.695Z sf              architecture: x64
2024-03-28T19:31:32.695Z sf                   release: 6.1.79-99.164.amzn2023.x86_64
2024-03-28T19:31:32.696Z sf                     shell: bash
2024-03-28T19:31:32.696Z sf                      NODE:
2024-03-28T19:31:32.696Z sf                   version: 18.20.0
2024-03-28T19:31:32.696Z sf                       CLI:
2024-03-28T19:31:32.696Z sf                   version: 2.34.7
2024-03-28T19:31:32.696Z sf                   channel: stable
2024-03-28T19:31:32.696Z sf                       bin: sf
2024-03-28T19:31:32.696Z sf                      data: /home/ec2-user/.local/share/sf
2024-03-28T19:31:32.697Z sf                     cache: /home/ec2-user/.cache/sf
2024-03-28T19:31:32.697Z sf                    config: /home/ec2-user/.config/sf
2024-03-28T19:31:32.697Z sf                       ENV:
2024-03-28T19:31:32.697Z sf     SF_AUTOUPDATE_DISABLE: true
2024-03-28T19:31:32.697Z sf    SF_UPDATE_INSTRUCTIONS: Use "npm update --global @salesforce/cli" to update npm-based installations.
2024-03-28T19:31:32.697Z sf     SF_DISABLE_AUTOUPDATE: true
2024-03-28T19:31:32.697Z sf                  SF_DEBUG: 1
2024-03-28T19:31:32.698Z sf                    SF_ENV: development
2024-03-28T19:31:32.698Z sf              SF_LOG_LEVEL: trace
2024-03-28T19:31:32.698Z sf              NODE_OPTIONS: <not set>
2024-03-28T19:31:32.698Z sf                SF_BINPATH: <not set>
2024-03-28T19:31:32.698Z sf          SF_COMPILE_CACHE: <not set>
2024-03-28T19:31:32.698Z sf              SF_INSTALLER: <not set>
2024-03-28T19:31:32.698Z sf           SF_NPM_REGISTRY: <not set>
2024-03-28T19:31:32.698Z sf             SF_REDIRECTED: <not set>
2024-03-28T19:31:32.699Z sf                      ARGS:
2024-03-28T19:31:32.699Z sf                         0: /home/ec2-user/.nvm/versions/node/v18.20.0/bin/node
2024-03-28T19:31:32.699Z sf                         1: /home/ec2-user/.nvm/versions/node/v18.20.0/bin/sf
2024-03-28T19:31:32.699Z sf                         2: org
2024-03-28T19:31:32.699Z sf                         3: login
2024-03-28T19:31:32.699Z sf                         4: jwt
2024-03-28T19:31:32.699Z sf                         5: --client-id
2024-03-28T19:31:32.699Z sf                         6: ****
2024-03-28T19:31:32.700Z sf                         7: --jwt-key-file
2024-03-28T19:31:32.700Z sf                         8: ****
2024-03-28T19:31:32.700Z sf                         9: --username
2024-03-28T19:31:32.700Z sf                        10: ****
2024-03-28T19:31:32.700Z sf                        11: --alias
2024-03-28T19:31:32.700Z sf                        12: DevHub-Org
2024-03-28T19:31:32.700Z sf                        13: --set-default-dev-hub
2024-03-28T19:31:32.701Z oclif:main process.execPath: /home/ec2-user/.nvm/versions/node/v18.20.0/bin/node
2024-03-28T19:31:32.701Z oclif:main process.execArgv: 
2024-03-28T19:31:32.701Z oclif:main process.argv: [
  '/home/ec2-user/.nvm/versions/node/v18.20.0/bin/node',
  '/home/ec2-user/.nvm/versions/node/v18.20.0/bin/sf',
  'org',
  'login',
  'jwt',
  '--client-id',
  ****,
  '--jwt-key-file',
  ****,
  '--username',
  ****,
  '--alias',
  'DevHub-Org',
  '--set-default-dev-hub'
]
2024-03-28T19:31:32.710Z config start init hook
2024-03-28T19:31:32.711Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:32.712Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:32.713Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-update because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:32.727Z sf:@salesforce/plugin-settings:hooks:init start (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-settings/lib/hooks/init/load_config_meta.js
2024-03-28T19:31:32.728Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:32.778Z sf:@salesforce/plugin-settings:hooks:init done
2024-03-28T19:31:32.784Z sf:@oclif/plugin-update:hooks:init start (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-update/dist/hooks/init.js
2024-03-28T19:31:32.785Z sf:@oclif/plugin-update:hooks:init done
2024-03-28T19:31:32.798Z sf:@oclif/plugin-warn-if-update-available:hooks:init start (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update.js
2024-03-28T19:31:32.800Z sf:@oclif/plugin-warn-if-update-available:hooks:init done
2024-03-28T19:31:32.801Z config init hook done
2024-03-28T19:31:32.802Z config runCommand org:login:jwt [ '--client-id', ****, '--jwt-key-file', ****, '--username', ****, '--alias', 'DevHub-Org', '--set-default-dev-hub' ]
2024-03-28T19:31:32.802Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:33.627Z config:@salesforce/plugin-auth (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth/lib/commands/org/login/jwt.js
2024-03-28T19:31:33.628Z config start prerun hook
2024-03-28T19:31:33.629Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:33.630Z config:ts-path Skipping typescript path lookup for /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry because NODE_ENV is NOT "test" or "development"
2024-03-28T19:31:33.638Z sf:@salesforce/cli:hooks:prerun start (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/dist/hooks/prerun.js
2024-03-28T19:31:33.638Z sf:@salesforce/cli:hooks:prerun done
2024-03-28T19:31:33.641Z sf:@salesforce/plugin-telemetry:hooks:prerun start (import) /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry/lib/hooks/telemetryPrerun.js
2024-03-28T19:31:33.663Z sf:telemetry Usage acknowledgement file already exists
2024-03-28T19:31:33.664Z sf:telemetry Using telemetry logging file /tmp/sf-telemetry/telemetry-499b031ef15ba0f7e31094a55a5da11f07bff6b9.log
2024-03-28T19:31:33.669Z sf:telemetry Setting up process exit handler
2024-03-28T19:31:33.670Z sf:@salesforce/plugin-telemetry:hooks:prerun done
2024-03-28T19:31:33.670Z config prerun hook done
2024-03-28T19:31:33.672Z sf:org:login:jwt init version: @oclif/[email protected] argv: [ '--client-id', ****, '--jwt-key-file', ****, '--username', ****, '--alias', 'DevHub-Org', '--set-default-dev-hub' ]
Error (1): We encountered a JSON web token error, which is likely not an issue with Salesforce CLI. Here’s the error: Cannot read properties of undefined (reading 'setContentsFromObject')

*** Internal Diagnostic ***

JwtGrantError: We encountered a JSON web token error, which is likely not an issue with Salesforce CLI. Here’s the error: Cannot read properties of undefined (reading 'setContentsFromObject')
    at Messages.createError (/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/core/lib/messages.js:431:16)
    at LoginJwt.run (file:///home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-auth/lib/commands/org/login/jwt.js:99:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async LoginJwt._run (/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/command.js:304:22)
    at async Config.runCommand (/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/config/config.js:432:25)
    at async run (/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/main.js:92:16)
******

2024-03-28T19:31:34.799Z oclif-perf Process Uptime: 2861.1825ms
2024-03-28T19:31:34.799Z oclif-perf Oclif Time: 2095.1181ms
2024-03-28T19:31:34.799Z oclif-perf Init Time: 100.4681ms
2024-03-28T19:31:34.799Z oclif-perf Config Load Time: 262.2044ms
2024-03-28T19:31:34.799Z oclif-perf   • Root Plugin Load Time: 34.2334ms
2024-03-28T19:31:34.799Z oclif-perf   • Plugins Load Time: 187.0608ms
2024-03-28T19:31:34.799Z oclif-perf   • Commands Load Time: 36.2954ms
2024-03-28T19:31:34.799Z oclif-perf Core Plugin Load Time: 133.3508ms
2024-03-28T19:31:34.799Z oclif-perf User Plugin Load Time: 0.0000ms
2024-03-28T19:31:34.799Z oclif-perf Linked Plugin Load Time: 0.0000ms
2024-03-28T19:31:34.799Z oclif-perf Plugin Load Times:
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-update: 117.2666ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-autocomplete: 108.3188ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-commands: 106.5910ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-help: 105.2875ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-not-found: 104.0192ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-plugins: 103.1574ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-search: 102.2473ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-version: 96.8907ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-warn-if-update-available: 95.9906ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-deploy-retrieve: 92.5290ms
2024-03-28T19:31:34.799Z oclif-perf   @oclif/plugin-which: 92.1494ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-apex: 91.8513ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-data: 91.6637ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-info: 91.6485ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-auth: 91.4229ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-limits: 90.8780ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-packaging: 90.8641ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-org: 90.3478ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-marketplace: 90.0428ms
2024-03-28T19:31:34.799Z oclif-perf   @salesforce/plugin-schema: 89.9387ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-settings: 89.0072ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-source: 88.8695ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-sobject: 88.1927ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-telemetry: 87.9370ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-templates: 87.8078ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-trust: 86.8957ms
2024-03-28T19:31:34.800Z oclif-perf   @salesforce/plugin-user: 86.5222ms
2024-03-28T19:31:34.800Z oclif-perf   root: 34.2334ms
2024-03-28T19:31:34.800Z oclif-perf Hook Run Times:
2024-03-28T19:31:34.800Z oclif-perf   init:
2024-03-28T19:31:34.800Z oclif-perf     total: 91.0010ms
2024-03-28T19:31:34.800Z oclif-perf     @oclif/plugin-warn-if-update-available(./lib/hooks/init/check-update): 89.5721ms
2024-03-28T19:31:34.800Z oclif-perf     @salesforce/plugin-settings(./lib/hooks/init/load_config_meta): 65.4348ms
2024-03-28T19:31:34.800Z oclif-perf     @oclif/plugin-update(./dist/hooks/init.js): 72.1127ms
2024-03-28T19:31:34.800Z oclif-perf   prerun:
2024-03-28T19:31:34.800Z oclif-perf     total: 41.7383ms
2024-03-28T19:31:34.800Z oclif-perf     @salesforce/cli(./dist/hooks/prerun): 9.7007ms
2024-03-28T19:31:34.800Z oclif-perf     @salesforce/plugin-telemetry(./lib/hooks/telemetryPrerun.js): 39.8467ms
2024-03-28T19:31:34.800Z oclif-perf Command Load Time: 0.0000ms
2024-03-28T19:31:34.800Z oclif-perf Command Run Time: 1994.5991ms
2024-03-28T19:31:35.017Z sf:telemetry Spawning "/home/ec2-user/.nvm/versions/node/v18.20.0/bin/node /home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-telemetry/processes/upload.js /home/ec2-user/.cache/sf /tmp/sf-telemetry/telemetry-499b031ef15ba0f7e31094a55a5da11f07bff6b9.log"

1711654291922-diagnosis.json

{
  "versionDetail": {
    "architecture": "linux-x64",
    "cliVersion": "@salesforce/cli/2.34.7",
    "nodeVersion": "node-v18.20.0",
    "osVersion": "Linux 6.1.79-99.164.amzn2023.x86_64",
    "rootPath": "/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli",
    "shell": "bash",
    "pluginVersions": [
      "@oclif/plugin-autocomplete 3.0.13 (core)",
      "@oclif/plugin-commands 3.2.0 (core)",
      "@oclif/plugin-help 6.0.18 (core)",
      "@oclif/plugin-not-found 3.0.14 (core)",
      "@oclif/plugin-plugins 4.3.8 (core)",
      "@oclif/plugin-search 1.0.20 (core)",
      "@oclif/plugin-update 4.2.0 (core)",
      "@oclif/plugin-version 2.0.14 (core)",
      "@oclif/plugin-warn-if-update-available 3.0.14 (core)",
      "@oclif/plugin-which 3.1.5 (core)",
      "@salesforce/cli 2.34.7 (core)",
      "apex 3.0.31 (core)",
      "auth 3.3.27 (core)",
      "data 3.1.11 (core)",
      "deploy-retrieve 3.2.35 (core)",
      "info 3.0.33 (core)",
      "limits 3.1.14 (core)",
      "marketplace 1.0.29 (core)",
      "org 3.5.0 (core)",
      "packaging 2.1.12 (core)",
      "schema 3.1.9 (core)",
      "settings 2.0.31 (core)",
      "sobject 1.1.20 (core)",
      "source 3.1.22 (core)",
      "telemetry 3.1.17 (core)",
      "templates 56.0.23 (core)",
      "trust 3.3.17 (core)",
      "user 3.3.4 (core)"
    ]
  },
  "sfdxEnvVars": [],
  "sfEnvVars": [
    [
      "SF_AUTOUPDATE_DISABLE",
      "true"
    ],
    [
      "SF_DISABLE_AUTOUPDATE",
      "true"
    ],
    [
      "SF_UPDATE_INSTRUCTIONS",
      "Use \"npm update --global @salesforce/cli\" to update npm-based installations."
    ]
  ],
  "cliConfig": {
    "arch": "x64",
    "bin": "sf",
    "binAliases": [
      "sfdx"
    ],
    "cacheDir": "/home/ec2-user/.cache/sf",
    "channel": "stable",
    "configDir": "/home/ec2-user/.config/sf",
    "dataDir": "/home/ec2-user/.local/share/sf",
    "debug": 0,
    "dirname": "sf",
    "errlog": "/home/ec2-user/.cache/sf/error.log",
    "flexibleTaxonomy": true,
    "home": "/home/ec2-user",
    "isSingleCommandCLI": false,
    "name": "@salesforce/cli",
    "nsisCustomization": "scripts/nsis.nsi",
    "platform": "linux",
    "root": "/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli",
    "shell": "bash",
    "theme": {
      "bin": "blueBright",
      "command": "blueBright",
      "dollarSign": "green",
      "flag": "green",
      "flagDefaultValue": "blueBright",
      "flagOptions": "blueBright",
      "flagRequired": "red",
      "sectionHeader": "blue",
      "topic": "blueBright"
    },
    "topicSeparator": " ",
    "userAgent": "@salesforce/cli/2.34.7 linux-x64 node-v18.20.0",
    "valid": true,
    "version": "2.34.7",
    "warned": false,
    "windows": false,
    "_base": "@oclif/[email protected]",
    "_commands": {},
    "_topics": {},
    "commandPermutations": {
      "validPermutations": {}
    },
    "pluginLoader": {
      "options": {
        "root": "/home/ec2-user/.nvm/versions/node/v18.20.0/lib/node_modules/@salesforce/cli/dist"
      },
      "errors": [],
      "plugins": {},
      "pluginsProvided": false
    },
    "topicPermutations": {
      "validPermutations": {}
    },
    "nodeEngine": ">=16.0.0"
  },
  "pluginSpecificData": {
    "@salesforce/plugin-deploy-retrieve": [
      {
        "sourceApiVersion": "57.0"
      }
    ]
  },
  "diagnosticResults": [
    {
      "testName": "salesforcedx plugin not installed",
      "status": "pass"
    },
    {
      "testName": "no linked plugins",
      "status": "pass"
    },
    {
      "testName": "[@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion",
      "status": "pass"
    },
    {
      "testName": "using latest or latest-rc CLI version",
      "status": "pass"
    }
  ],
  "suggestions": [
    "Check https://github.com/forcedotcom/cli/issues for CLI issues posted by the community.",
    "Check http://status.salesforce.com/ for general Salesforce availability and performance."
  ],
  "logFilePaths": [
    "/tmp/jenkins-88825c01/workspace/*****/1711654291922-command-stdout.log",
    "/tmp/jenkins-88825c01/workspace/*****/1711654291922-command-debug.log"
  ],
  "commandExitCode": 1,
  "commandName": "sf org login jwt --client-id **** --jwt-key-file **** --username **** --alias DevHub-Org  --set-default-dev-hub --dev-debug"
}

@cristiand391
Copy link
Member

@hwanginaver @sfitzsimmons-tractioncomplete could you try setting the this env SF_USE_GENERIC_UNIX_KEYCHAIN=true before running sf?

That should rule out any issues with the secret handling implementation for linux:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_env_variables.htm

@sfitzsimmons-tractioncomplete

@cristiand391 Sure! I set SF_USE_GENERIC_UNIX_KEYCHAIN=true and ran another build, but I unfortunately got identical results.

For each of the files/cmd outputs in my replies above, I ran a text diff of the new build's output against the old and the only differences in output were timestamps and version numbers.

(version numbers only changed as the servers are always built with the latest being installed, which has moved from 2.34.7 to 2.35.6 since we started the ticket)

@cristiand391
Copy link
Member

@sfitzsimmons-tractioncomplete

In the logs I see this error:

[19:31:33.644] DEBUG (sf:core:config:stateFromSfdxFileSync): Error reading state from sfdx config file at /home/ec2-user/.sfdx/sfdx-config.json: ENOENT: no such file or directory, open '/home/ec2-user/.sfdx/sfdx-config.json'

The CLI should try to create the file in ~/.config/sfdx-config.json but seems it's silently failing, then the command tries to read it and gets undefined.

Can you try setting SF_SFDX_INTEROPERABILITY=true? that env var should make the CLI skip that file (which is only read because of it was used in older version of the CLI).

@github-actions github-actions bot added validated Version information for this issue has been validated investigating We're actively investigating this issue and removed more information required Issue requires more information or a response from the customer labels Apr 8, 2024
@sfitzsimmons-tractioncomplete

No luck.

I added SF_SFDX_INTEROPERABILITY=true and ran a build, but everything was basically identical - when I ran a text diff of the output of all the files/commands we've discussed above, again the only differences were timestamps and the latest version numbers.

Just out of curiosity I ran another build with that flag set to false, but again the output I got was the same across the board.

Here's the log of the 1712718643066-command-stdout.log from the interoperability=true build:

[03:10:44.041] TRACE (sf:core:config): Created 'sf:core:config' child logger instance
[03:10:44.041] TRACE (sf): Setup child 'sf:core:config' logger instance
[03:10:45.095] TRACE (sf:Config): Created 'sf:Config' child logger instance
[03:10:45.095] TRACE (sf): Setup child 'sf:Config' logger instance
[03:10:45.095] TRACE (sf:Config): Created 'sf:Config' child logger instance
[03:10:45.095] TRACE (sf): Setup child 'sf:Config' logger instance
[03:10:45.096] DEBUG (sf:Config): Reading config file: /home/ec2-user/.sf/config.json because hasRead is false
[03:10:45.097] TRACE (sf:core:config:stateFromSfdxFileSync): Created 'sf:core:config:stateFromSfdxFileSync' child logger instance
[03:10:45.097] TRACE (sf): Setup child 'sf:core:config:stateFromSfdxFileSync' logger instance
[03:10:45.097] DEBUG (sf:core:config:stateFromSfdxFileSync): Error reading state from sfdx config file at /home/ec2-user/.sfdx/sfdx-config.json: ENOENT: no such file or directory, open '/home/ec2-user/.sfdx/sfdx-config.json'
[03:10:45.097] DEBUG (sf:Config): Reading config file: /tmp/jenkins-9c9164af/workspace/*****/.sf/config.json because hasRead is false
[03:10:45.097] TRACE (sf:core:config:stateFromSfdxFileSync): Created 'sf:core:config:stateFromSfdxFileSync' child logger instance
[03:10:45.097] TRACE (sf): Setup child 'sf:core:config:stateFromSfdxFileSync' logger instance
[03:10:45.097] DEBUG (sf:core:config:stateFromSfdxFileSync): Error reading state from sfdx config file at /tmp/jenkins-9c9164af/workspace/*****/.sfdx/sfdx-config.json: ENOENT: no such file or directory, open '/tmp/jenkins-9c9164af/workspace/*****/.sfdx/sfdx-config.json'
[03:10:45.136] TRACE (sf:LoginJwt): Created 'sf:LoginJwt' child logger instance
[03:10:45.136] TRACE (sf): Setup child 'sf:LoginJwt' logger instance
[03:10:45.141] TRACE (sf:Common): Created 'sf:Common' child logger instance
    tag: "resolveLoginUrl"
[03:10:45.141] TRACE (sf): Setup child 'sf:Common' logger instance
[03:10:45.142] TRACE (sf:SfProjectJson): Created 'sf:SfProjectJson' child logger instance
[03:10:45.142] TRACE (sf): Setup child 'sf:SfProjectJson' logger instance
[03:10:45.142] TRACE (sf:SfProjectJson): Created 'sf:SfProjectJson' child logger instance
[03:10:45.142] TRACE (sf): Setup child 'sf:SfProjectJson' logger instance
[03:10:45.142] DEBUG (sf:SfProjectJson): Reading config file: /home/ec2-user/.sfdx/sfdx-project.json because hasRead is false
[03:10:45.143] DEBUG (sf:SfProjectJson): Reading config file: /tmp/jenkins-9c9164af/workspace/*****/sfdx-project.json because hasRead is false
[03:10:45.151] DEBUG (sf:Common): loginUrl: https://login.salesforce.com
    tag: "resolveLoginUrl"
[03:10:45.152] TRACE (sf:OrgAccessor): Created 'sf:OrgAccessor' child logger instance
[03:10:45.152] TRACE (sf): Setup child 'sf:OrgAccessor' logger instance
[03:10:45.152] TRACE (sf:SandboxAccessor): Created 'sf:SandboxAccessor' child logger instance
[03:10:45.152] TRACE (sf): Setup child 'sf:SandboxAccessor' logger instance
[03:10:45.153] DEBUG (sf:OrgAccessor): No auth file found for ****
[03:10:45.154] TRACE (sf:AuthInfoConfig): Created 'sf:AuthInfoConfig' child logger instance
[03:10:45.154] TRACE (sf): Setup child 'sf:AuthInfoConfig' logger instance
[03:10:45.154] TRACE (sf:keyChain): Created 'sf:keyChain' child logger instance
[03:10:45.154] TRACE (sf): Setup child 'sf:keyChain' logger instance
[03:10:45.154] DEBUG (sf:keyChain): platform: linux
[03:10:45.298] TRACE (sf:crypto): Created 'sf:crypto' child logger instance
[03:10:45.298] TRACE (sf): Setup child 'sf:crypto' logger instance
[03:10:45.298] DEBUG (sf:crypto): password not found in keychain. Creating new one (Crypto v1) and re-init.
[03:10:45.348] TRACE (sf:AuthInfo): Created 'sf:AuthInfo' child logger instance
[03:10:45.348] TRACE (sf): Setup child 'sf:AuthInfo' logger instance
[03:10:45.350] TRACE (sf:SfdcUrl): Created 'sf:SfdcUrl' child logger instance
[03:10:45.350] TRACE (sf): Setup child 'sf:SfdcUrl' logger instance
[03:10:46.112] TRACE (sf:MyDomainResolver): Created 'sf:MyDomainResolver' child logger instance
[03:10:46.112] TRACE (sf): Setup child 'sf:MyDomainResolver' logger instance
[03:10:46.112] TRACE (sf:PollingClient): Created 'sf:PollingClient' child logger instance
[03:10:46.112] TRACE (sf): Setup child 'sf:PollingClient' logger instance
[03:10:46.113] DEBUG (sf:MyDomainResolver): Attempting to resolve url: *****.my.salesforce.com
[03:10:46.125] DEBUG (sf:MyDomainResolver): Successfully resolved host: *****.my.salesforce.com result: {"address":"**.***.***.**","family":4}
[03:10:46.433] INFO (sf:AuthInfo): Updated auth info for username: ****
[03:10:46.433] TRACE (sf:AuthInfoConfig): Created 'sf:AuthInfoConfig' child logger instance
[03:10:46.433] TRACE (sf): Setup child 'sf:AuthInfoConfig' logger instance
[03:10:46.433] TRACE (sf:keyChain): Created 'sf:keyChain' child logger instance
[03:10:46.433] TRACE (sf): Setup child 'sf:keyChain' logger instance
[03:10:46.433] DEBUG (sf:keyChain): platform: linux
[03:10:46.445] DEBUG (sf:crypto): password not found in keychain. Creating new one (Crypto v1) and re-init.

@hwanginaver
Copy link
Author

@hwanginaver @sfitzsimmons-tractioncomplete could you try setting the this env SF_USE_GENERIC_UNIX_KEYCHAIN=true before running sf?

That should rule out any issues with the secret handling implementation for linux: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_env_variables.htm

I solved the problem through SF_USE_GENERIC_UNIX_KEYCHAIN=true
thanks :)

@solstice-a
Copy link

Had a similar issue, found this thread from the identical error line. SF_USE_GENERIC_UNIX_KEYCHAIN=true fixed it for me also.

sf version
@salesforce/cli/2.71.6 linux-x64 node-v22.12.0

@fabmeyer
Copy link

fabmeyer commented Jan 7, 2025

This error just showed up today and I didn't experienced it before.
I've updated to @salesforce/cli/2.70.7 wsl-x64 node-v20.17.0 now with no luck.
I think I have added 2FA (authenticator app) since I've used it the last time, could that be the reason?
Anyway can anybody help me to resolve this problem?
Already tried SF_USE_GENERIC_UNIX_KEYCHAIN=true and SF_SFDX_INTEROPERABILITY=true with no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

6 participants