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

Publishwait flag is being ignored from the new version of package:install. #1895

Closed
alper-tovi-cko opened this issue Jan 24, 2023 · 23 comments
Closed
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@alper-tovi-cko
Copy link

alper-tovi-cko commented Jan 24, 2023

Summary

In our CI/CD pipeline, as soon as we create a new package version, we distribute the package to various sandboxes. And because the new package version is not immediately available for installation, we use --publishwait flag with force:package:install command. Since the last release --publishwait flag seems to be broken. We had to switch to force:package:legacy:install to ensure our jobs can be completed.

Steps To Reproduce:

sfdx force:package:version:create --definitionfile config/developer-scratch-def.json --targetdevhubusername [email protected] -p PACKAGE-NAME --versionnumber 1.13.0.11840044 -k INSTALL_KEY --codecoverage --wait 60 --json

results in package version creation with SubscriberPackageVersionId 04txxxxxx. Once the package version is created, immediate execution of

sfdx force:package:install --upgradetype DeprecateOnly -u [email protected] --package 04txxxxxx --installationkey INSTALL_KEY --wait 60 --publishwait 10 --noprompt

results in

ERROR running force:package:install: The subscriber package version 04txxxxxx is invalid, no subscriber package version record found.

The command completely ignores --publishwait or -b flags. On the other hand, when we reran the same job with immediate execution of the legacy command post package version creation

sfdx force:package:legacy:install --upgradetype DeprecateOnly -u [email protected] --package 04txxxxxx --installationkey INSTALL_KEY --wait 60 --publishwait 10 --noprompt

results in

Waiting for the Subscriber Package Version ID to be published to the target org.

then

Waiting for the package install request to complete. Status = IN_PROGRESS

Expected result

--publishwait parameter should not be ignored and cli should respond with Waiting for the Subscriber Package Version ID to be published to the target org. then Waiting for the package install request to complete. Status = IN_PROGRESS output.

Actual result

ERROR running force:package:install: The subscriber package version 04txxxxxx is invalid, no subscriber package version record found.

System Information

{ "cliVersion": "sfdx-cli/7.184.2", "architecture": "linux-x64", "nodeVersion": "node-v14.20.1", "pluginVersions": [ "@oclif/plugin-autocomplete 1.3.8 (core)", "@oclif/plugin-commands 2.2.2 (core)", "@oclif/plugin-help 5.1.20 (core)", "@oclif/plugin-not-found 2.3.13 (core)", "@oclif/plugin-plugins 2.1.8 (core)", "@oclif/plugin-search 0.0.6 (core)", "@oclif/plugin-update 3.0.9 (core)", "@oclif/plugin-version 1.1.4 (core)", "@oclif/plugin-warn-if-update-available 2.0.18 (core)", "@oclif/plugin-which 2.2.6 (core)", "alias 2.1.16 (core)", "apex 1.3.0 (core)", "auth 2.3.10 (core)", "community 2.1.3 (core)", "config 1.4.23 (core)", "custom-metadata 2.0.11 (core)", "data 2.1.22 (core)", "generator 2.0.15 (core)", "info 2.3.2 (core)", "limits 2.2.2 (core)", "org 2.2.22 (core)", "packaging 1.12.2 (core)", "schema 2.2.2 (core)", "signups 1.2.12 (core)", "source 2.3.12 (core)", "telemetry 2.0.5 (core)", "templates 55.1.0 (core)", "trust 2.2.6 (core)", "user 2.1.25 (core)", "@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)", "salesforce-alm 54.8.5 (core)" ], "osVersion": "Linux 4.14.301-224.520.amzn2.x86_64", "shell": "unknown", "rootPath": "/usr/local/lib/node_modules/sfdx-cli" }

@alper-tovi-cko alper-tovi-cko added the investigating We're actively investigating this issue label Jan 24, 2023
@github-actions
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.

@WillieRuemmele WillieRuemmele added the bug Issue or pull request that identifies or fixes a bug label Jan 24, 2023
@git2gus
Copy link

git2gus bot commented Jan 24, 2023

This issue has been linked to a new work item: W-12432030

@WillieRuemmele
Copy link
Member

Hi @alper-tovi-cko, I'm having a hard time creating a package that is in this uninstallable state for long enough to debug. Can you help by running the install command with the --dev-debug flag?

@gsbasso
Copy link

gsbasso commented Jan 27, 2023

My experience is slightly different.

Issue suddenly appeared today (26-Jan-2023) on one codebase, but strangely not on another.

Switching to force:package:legacy:install results in the following error:

ERROR running force:package:legacy:install:  Error authenticating with the refresh token due to: grant type not supported

Original error running force:package:beta:install persists with repeated replays using same package id (even tens of minutes after original package version was created).

 CLI Version:
        sfdx-cli/7.183.1

 Architecture:
        win32-x64

 Node Version:
        node-v18.12.1

 Plugin Version:
        @oclif/plugin-autocomplete 1.3.8 (core)
        @oclif/plugin-commands 2.2.2 (core)
        @oclif/plugin-help 5.1.20 (core)
        @oclif/plugin-not-found 2.3.13 (core)
        @oclif/plugin-plugins 2.1.8 (core)
        @oclif/plugin-search 0.0.6 (core)
        @oclif/plugin-update 3.0.9 (core)
        @oclif/plugin-version 1.1.4 (core)
        @oclif/plugin-warn-if-update-available 2.0.18 (core)
        @oclif/plugin-which 2.2.6 (core)
        alias 2.1.14 (core)
        apex 1.3.0 (core)
        auth 2.3.8 (core)
        community 2.0.18 (core)
        config 1.4.22 (core)
        custom-metadata 2.0.5 (core)
        data 2.1.19 (core)
        generator 2.0.13 (core)
        info 2.3.1 (core)
        limits 2.2.0 (core)
        org 2.2.20 (core)
        packaging 1.12.2 (core)
        schema 2.2.2 (core)
        signups 1.2.12 (core)
        source 2.3.12 (core)
        telemetry 2.0.5 (core)
        templates 55.1.0 (core)
        trust 2.2.4 (core)
        user 2.1.24 (core)
        @salesforce/sfdx-plugin-lwc-test 1.0.1 (core)
        salesforce-alm 54.8.5 (core)

 OS and Version:
        Windows_NT 6.3.9600

@gsbasso
Copy link

gsbasso commented Jan 27, 2023

Here is output of force:package:beta:install with dev-debug option. Interestingly I see the same grant type not supported error as when I revert to legacy command.
dev-debug.zip

@alper-tovi-cko
Copy link
Author

@WillieRuemmele I was able to replicate the issue with a package this morning. here is the debug output:

config reading core plugin /usr/local/lib/node_modules/sfdx-cli +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/oclif.manifest.json +0ms
config:sfdx-cli using manifest from /usr/local/lib/node_modules/sfdx-cli/oclif.manifest.json +0ms
config reading user plugins pjson /Users/alpertovi/.local/share/sfdx/package.json +0ms
config loadJSON /Users/alpertovi/.local/share/sfdx/package.json +0ms
config loading plugins [ { name: '@salesforce/plugin-user', tag: 'latest', type: 'user' } ] +6ms
config loadJSON /Users/alpertovi/.local/share/sfdx/package.json/package.json +0ms
config reading user plugin /Users/alpertovi/.local/share/sfdx/node_modules/@salesforce/plugin-user +0ms
config loadJSON /Users/alpertovi/.local/share/sfdx/node_modules/@salesforce/plugin-user/package.json +0ms
config loadJSON /Users/alpertovi/.local/share/sfdx/node_modules/@salesforce/plugin-user/oclif.manifest.json +0ms
config:@salesforce/plugin-user using manifest from /Users/alpertovi/.local/share/sfdx/node_modules/@salesforce/plugin-user/oclif.manifest.json +0ms
config loading plugins [
'@oclif/plugin-command-snapshot',
'@salesforce/plugin-release-management'
] +17ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json +0ms
config loadJSON /usr/local/lib/node_modules/package.json +0ms
config loadJSON /usr/local/lib/node_modules/package.json +0ms
config loadJSON /usr/local/lib/package.json +0ms
config loadJSON /usr/local/lib/package.json +0ms
config loadJSON /usr/local/package.json +0ms
config loadJSON /usr/local/package.json +0ms
config loadJSON /usr/package.json +0ms
config loadJSON /usr/package.json +0ms
config loadJSON /package.json +0ms
config loadJSON /package.json +0ms
(node:77835) Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@oclif/plugin-command-snapshot'
}
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
(Use node --trace-warnings ... to show where the warning was created)
Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@oclif/plugin-command-snapshot'
}
at Plugin.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/plugin.js:106:19)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:438:17
at async Promise.all (index 0)
at async Config.loadPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:426:9)
at async Config.loadDevPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:160:21)
at async Config.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:139:9)
at async Object.run (/usr/local/lib/node_modules/sfdx-cli/dist/cli.js:106:13)
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
config loading plugins [
'@oclif/plugin-autocomplete',
'@oclif/plugin-commands',
'@oclif/plugin-help',
'@oclif/plugin-version',
'@oclif/plugin-not-found',
'@oclif/plugin-plugins',
'@oclif/plugin-search',
'@oclif/plugin-update',
'@oclif/plugin-warn-if-update-available',
'@oclif/plugin-which',
'@salesforce/plugin-alias',
'@salesforce/plugin-apex',
'@salesforce/plugin-auth',
'@salesforce/plugin-config',
'@salesforce/plugin-community',
'@salesforce/plugin-custom-metadata',
'@salesforce/plugin-data',
'@salesforce/plugin-generator',
'@salesforce/plugin-info',
'@salesforce/plugin-limits',
'@salesforce/plugin-org',
'@salesforce/plugin-packaging',
'@salesforce/plugin-source',
'@salesforce/plugin-schema',
'@salesforce/plugin-telemetry',
'@salesforce/plugin-templates',
'@salesforce/plugin-trust',
'@salesforce/plugin-user',
'@salesforce/plugin-signups',
'@salesforce/sfdx-plugin-lwc-test',
'salesforce-alm'
] +10ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json +0ms
config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/package.json +0ms
(node:77835) Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@salesforce/plugin-release-management'
}
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@salesforce/plugin-release-management'
}
at Plugin.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/plugin.js:106:19)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:438:17
at async Promise.all (index 1)
at async Config.loadPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:426:9)
at async Config.loadDevPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:160:21)
at async Config.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:139:9)
at async Object.run (/usr/local/lib/node_modules/sfdx-cli/dist/cli.js:106:13)
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/oclif.manifest.json +0ms
config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
config:@salesforce/plugin-alias using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/oclif.manifest.json +0ms
config:@oclif/plugin-update using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
config:@oclif/plugin-autocomplete using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
config:@salesforce/plugin-custom-metadata using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
config:@salesforce/plugin-community using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/oclif.manifest.json +0ms
config:@oclif/plugin-help using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
config:@salesforce/plugin-telemetry using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/oclif.manifest.json +0ms
config:@oclif/plugin-not-found using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
config:@salesforce/plugin-templates using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/oclif.manifest.json +0ms
config:@oclif/plugin-version using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/oclif.manifest.json +0ms
config:@salesforce/plugin-apex using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/oclif.manifest.json +0ms
config:@oclif/plugin-warn-if-update-available using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
config:@oclif/plugin-which using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
config:@oclif/plugin-search using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/oclif.manifest.json +0ms
config:@oclif/plugin-plugins using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
config:@salesforce/plugin-data using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/oclif.manifest.json +0ms
config:@salesforce/plugin-auth using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/oclif.manifest.json +0ms
config:@salesforce/plugin-limits using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/oclif.manifest.json +0ms
config:@salesforce/plugin-info using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/oclif.manifest.json +0ms
config:@salesforce/plugin-schema using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/oclif.manifest.json +0ms
config:@salesforce/plugin-packaging using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/oclif.manifest.json +0ms
config:@salesforce/plugin-source using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/oclif.manifest.json +0ms
config:@salesforce/plugin-trust using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/oclif.manifest.json +0ms
config:@salesforce/plugin-user using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/oclif.manifest.json +0ms
config:@salesforce/plugin-config using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/oclif.manifest.json +0ms
config:@salesforce/sfdx-plugin-lwc-test using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
config:@salesforce/plugin-signups using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/oclif.manifest.json +0ms
config:@oclif/plugin-commands using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
config:@salesforce/plugin-org using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/oclif.manifest.json +0ms
config:@salesforce/plugin-generator using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
config:salesforce-alm using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/oclif.manifest.json +0ms
config config done +154ms
sfdx OS: +0ms
sfdx platform: darwin +1ms
sfdx architecture: x64 +0ms
sfdx release: 22.2.0 +0ms
sfdx shell: zsh +0ms
sfdx NODE: +0ms
sfdx version: 16.14.0 +0ms
sfdx CLI: +0ms
sfdx version: 7.184.2 +0ms
sfdx channel: stable +0ms
sfdx bin: sfdx +0ms
sfdx data: /Users/alpertovi/.local/share/sfdx +0ms
sfdx cache: /Users/alpertovi/Library/Caches/sfdx +0ms
sfdx config: /Users/alpertovi/.config/sfdx +0ms
sfdx ENV: +0ms
sfdx NODE_OPTIONS: +0ms
sfdx SFDX_AUTOUPDATE_DISABLE: true +0ms
sfdx SFDX_BINPATH: +0ms
sfdx SFDX_COMPILE_CACHE: +0ms
sfdx SFDX_DISABLE_AUTOUPDATE: true +0ms
sfdx SFDX_ENV: development +0ms
sfdx SFDX_INSTALLER: +0ms
sfdx SFDX_NPM_REGISTRY: +0ms
sfdx SFDX_REDIRECTED: +1ms
sfdx SFDX_S3_HOST: +0ms
sfdx SFDX_UPDATE_INSTRUCTIONS: Use "npm update --global sfdx-cli" to update npm-based installations. +0ms
sfdx ARGS: +0ms
sfdx 0: /usr/local/bin/node +0ms
sfdx 1: /usr/local/bin/sfdx +0ms
sfdx 2: force:package:install +0ms
sfdx 3: --upgradetype +0ms
sfdx 4: DeprecateOnly +0ms
sfdx 5: -u +0ms
sfdx 6: [email protected] +0ms
sfdx 7: --installationkey +0ms
sfdx 8: INSTALL_KEY_GOES_HERE +0ms
sfdx 9: --wait +0ms
sfdx 10: 60 +0ms
sfdx 11: --publishwait +0ms
sfdx 12: 10 +0ms
sfdx 13: --noprompt +0ms
sfdx 14: --package +0ms
sfdx 15: 04t08000000cSP6AAM +0ms
config start init hook +3ms
sf:core TRACE Setup child 'plugin-config:load_config_meta' logger instance +0ms
sfdx:@oclif/plugin-update:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/lib/hooks/init.js +0ms
sfdx:@salesforce/plugin-telemetry:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/lib/hooks/telemetryInit.js +0ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update.js +0ms
sfdx:@salesforce/plugin-config:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/lib/hooks/init/load_config_meta.js +0ms
sf:plugin-config:load_config_meta INFO No config meta found for sfdx-cli +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-user +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-alias +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-update +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-autocomplete +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-custom-metadata +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-community +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-help +1ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-telemetry +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-not-found +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-templates +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-version +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-apex +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-warn-if-update-available +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-which +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-search +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-plugins +1ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-data +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-auth +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-limits +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-info +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-schema +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-packaging +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-source +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-trust +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-config +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-plugin-lwc-test +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-signups +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-commands +1ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-org +0ms
sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-generator +0ms
sf:plugin-config:load_config_meta INFO No config meta found for salesforce-alm +0ms
sfdx:@oclif/plugin-update:hooks:init done +5ms
sfdx:@salesforce/plugin-telemetry:hooks:init done +4ms
sfdx:@salesforce/plugin-config:hooks:init done +4ms
sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +7ms
config init hook done +310ms
config runCommand force:package:install [ '--upgradetype', 'DeprecateOnly', '-u', '[email protected]', '--installationkey', 'INSTALL_KEY_GOES_HERE', '--wait', '60', '--publishwait', '10', '--noprompt', '--package', '04t08000000cSP6AAM' ] +0ms
config:@salesforce/plugin-packaging (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/force/package/install.js +1s
config start prerun hook +585ms
sfdx:@salesforce/plugin-telemetry:hooks:prerun start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/lib/hooks/telemetryPrerun.js +0ms
sf:core TRACE Setup child 'Config' logger instance +635ms
sf:core TRACE Setup child 'Config' logger instance +1ms
sf:Config INFO Reading config file: /Users/alpertovi/.sf/config.json +0ms
sf:Config INFO Reading config file: /Users/alpertovi/sfdc-pricing-profile/.sf/config.json +4ms
sf:Config INFO Reading config file: /Users/alpertovi/.sf/config.json +5ms
sf:Config INFO Reading config file: /Users/alpertovi/sfdc-pricing-profile/.sf/config.json +0ms
sf:core TRACE Setup child 'core:config' logger instance +13ms
sfdx:[email protected] Usage acknowledgement file already exists +0ms
sfdx:[email protected] Using telemetry logging file /var/folders/77/wzl97yy90jj4rzh8_kmqmmt40000gn/T/sfdx-telemetry/telemetry-2821876dd1456c1de025d152a73dadede9da2139.log +0ms
sfdx:[email protected] Setting up process exit handler +7ms
sfdx:@salesforce/plugin-telemetry:hooks:prerun done +26ms
config prerun hook done +67ms
sf:core TRACE Setup child 'Install' logger instance +12ms
sfdx:force:package:install init version: @oclif/[email protected] argv: [ '--upgradetype', 'DeprecateOnly', '-u', '[email protected]', '--installationkey', 'INSTALL_KEY_GOES_HERE', '--wait', '60', '--publishwait', '10', '--noprompt', '--package', '04t08000000cSP6AAM' ] +0ms
sf:Install INFO Running command [Install] with flags [{"upgradetype":"DeprecateOnly","targetusername":"[email protected]","installationkey":"INSTALL_KEY_GOES_HERE","wait":{"quantity":60,"unit":0},"publishwait":{"quantity":10,"unit":0},"noprompt":true,"package":"04t08000000cSP6AAM","loglevel":"warn","apexcompile":"all","securitytype":"AdminsOnly"}] and args [{}] +0ms
sf:Config INFO Reading config file: /Users/alpertovi/.sf/config.json +21ms
sf:Config INFO Reading config file: /Users/alpertovi/sfdc-pricing-profile/.sf/config.json +7ms
sf:core TRACE Setup child 'core:config' logger instance +19ms
sf:core:config INFO Key org-metadata-rest-deploy already exists in allowedProperties, skipping. +0ms
sf:core TRACE Setup child 'OrgAccessor' logger instance +6ms
sf:core TRACE Setup child 'SandboxAccessor' logger instance +0ms
sf:core TRACE Setup child 'AliasesConfig' logger instance +1ms
sf:AliasesConfig INFO Reading config file: /Users/alpertovi/.sfdx/alias.json +0ms
sf:core TRACE Setup child 'TokensConfig' logger instance +7ms
sf:core TRACE Setup child 'crypto' logger instance +1ms
sf:crypto DEBUG retryStatus: undefined +0ms
sf:core TRACE Setup child 'keyChain' logger instance +1ms
sf:keyChain DEBUG platform: darwin +0ms
sf:TokensConfig INFO Reading config file: /Users/alpertovi/.sfdx/tokens.json +0ms
sf:core TRACE Setup child 'Org' logger instance +83ms
sf:core TRACE Setup child 'AuthInfoConfig' logger instance +1ms
sf:core TRACE Setup child 'crypto' logger instance +0ms
sf:crypto DEBUG retryStatus: undefined +86ms
sf:core TRACE Setup child 'keyChain' logger instance +2ms
sf:keyChain DEBUG platform: darwin +86ms
sf:AuthInfoConfig INFO Reading config file: /Users/alpertovi/.sfdx/[email protected] +0ms
sf:core TRACE Setup child 'AuthInfo' logger instance +4ms
sf:core TRACE Setup child 'Config' logger instance +1ms
sf:core TRACE Setup child 'Config' logger instance +1ms
sf:Config INFO Reading config file: /Users/alpertovi/.sf/config.json +115ms
sf:Config INFO Reading config file: /Users/alpertovi/sfdc-pricing-profile/.sf/config.json +9ms
sf:AuthInfo INFO Returning fields for a connection using OAuth config. +0ms
sf:core TRACE Setup child 'connection' logger instance +27ms
sf:connection DEBUG API version cache last checked on 1/19/2023, 12:49:38 PM (now is 1/27/2023, 9:47:55 AM) +0ms
sf:connection DEBUG API version cache expired. Re-fetching latest. +0ms
sf:core TRACE Setup child 'MyDomainResolver' logger instance +11ms
sf:core TRACE Setup child 'PollingClient' logger instance +0ms
sf:MyDomainResolver DEBUG Attempting to resolve url: checkout--trdev.sandbox.my.salesforce.com +0ms
sf:MyDomainResolver DEBUG Successfully resolved host: checkout--trdev.sandbox.my.salesforce.com result: {"address":"85.222.152.86","family":4} +180ms
sf:connection DEBUG Fetching API versions supported for org: [email protected] +183ms
sf:connection DEBUG request: {"method":"GET","url":"https://checkout--trdev.sandbox.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +0ms
sf:connection DEBUG response for org versions: 31.0,32.0,33.0,34.0,35.0,36.0,37.0,38.0,39.0,40.0,41.0,42.0,43.0,44.0,45.0,46.0,47.0,48.0,49.0,50.0,51.0,52.0,53.0,54.0,55.0,56.0,57.0 +2s
sf:AuthInfo INFO Updated auth info for username: [email protected] +2s
sf:AuthInfoConfig INFO Writing to config file: /Users/alpertovi/.sfdx/[email protected] +2s
sf:AuthInfo INFO Saved auth info for username: [email protected] +3ms
sf:connection DEBUG Connection created with apiVersion 57.0 +4ms
sf:core TRACE Setup child 'SfProjectJson' logger instance +2s
sf:SfProjectJson INFO Reading config file: /Users/alpertovi/sfdc-pricing-profile/sfdx-project.json +0ms
sf:core TRACE Setup child 'subscriberPackageVersion' logger instance +2ms
sf:subscriberPackageVersion DEBUG Checking package: [04t08000000cSP6AAM] for external sites +0ms
sf:connection DEBUG request: {"method":"GET","url":"https://checkout--trdev.sandbox.my.salesforce.com/services/data/v57.0/tooling/query?q=SELECT%20AppExchangeDescription%2CAppExchangeLogoUrl%2CAppExchangePackageName%2CAppExchangePublisherName%2CBuildNumber%2CCspTrustedSites%2CDependencies%2CDescription%2CId%2CInstallValidationStatus%2CIsBeta%2CIsDeprecated%2CIsManaged%2CIsOrgDependent%2CIsPasswordProtected%2CIsSecurityReviewed%2CMajorVersion%2CMinorVersion%2CName%2CPackage2ContainerOptions%2CPatchVersion%2CPostInstallUrl%2CProfiles%2CPublisherName%2CReleaseNotesUrl%2CReleaseState%2CRemoteSiteSettings%2CSubscriberPackageId%20FROM%20SubscriberPackageVersion%20WHERE%20Id%20%3D'04t08000000cSP6AAM'%20AND%20InstallationKey%20%3D'INSTALL_KEY_GOES_HERE'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +4ms
sf:AuthInfo INFO Access token has expired. Updating... +512ms
sf:core TRACE Setup child 'AuthInfo' logger instance +510ms
sf:core TRACE Setup child 'AuthInfoConfig' logger instance +2s
sf:core TRACE Setup child 'crypto' logger instance +1ms
sf:crypto DEBUG retryStatus: undefined +4s
sf:core TRACE Setup child 'keyChain' logger instance +0ms
sf:keyChain DEBUG platform: darwin +4s
sf:AuthInfoConfig INFO Reading config file: /Users/alpertovi/.sfdx/[email protected] +3s
sf:AuthInfo INFO Updated auth info for username: [email protected] +2s
sf:AuthInfoConfig INFO Writing to config file: /Users/alpertovi/.sfdx/[email protected] +2ms
sf:AuthInfo INFO Saved auth info for username: [email protected] +1ms
sf:AuthInfo INFO Access token has expired. Updating... +373ms
sf:core TRACE Setup child 'AuthInfo' logger instance +378ms
sf:core TRACE Setup child 'AuthInfoConfig' logger instance +1s
sf:core TRACE Setup child 'crypto' logger instance +0ms
sf:crypto DEBUG retryStatus: undefined +1s
sf:core TRACE Setup child 'keyChain' logger instance +1ms
sf:keyChain DEBUG platform: darwin +1s
sf:AuthInfoConfig INFO Reading config file: /Users/alpertovi/.sfdx/[email protected] +1s
sf:AuthInfo INFO Updated auth info for username: [email protected] +1s
sf:AuthInfoConfig INFO Writing to config file: /Users/alpertovi/.sfdx/[email protected] +2ms
sf:AuthInfo INFO Saved auth info for username: [email protected] +1ms
ERROR running force:package:install: The subscriber package version 04t08000000cSP6AAM is invalid, no subscriber package version record found.
*** Internal Diagnostic ***

ErrorInvalidIdNoRecordFound: The subscriber package version 04t08000000cSP6AAM is invalid, no subscriber package version record found.
at Messages.createError (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/messages.js:446:16)
at SubscriberPackageVersion.getData (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:305:32)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SubscriberPackageVersion.getField (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:364:13)
at async SubscriberPackageVersion.getExternalSites (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:350:36)
at async Install.confirmExternalSites (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/force/package/install.js:141:26)
at async Install.run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/force/package/install.js:72:9)
at async Install._run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/command/lib/sfdxCommand.js:102:40)
at async Config.runCommand (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:272:25)
at async run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/main.js:74:5)
Caused by: UNKNOWN_EXCEPTION: Package Not Found [04t08000000cSP6AAM]
The requested package doesn't yet exist or has been deleted. If this is a recently created package version, please try again in a few minutes or contact the package publisher.
at HttpApi.getError (/usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/http-api.js:307:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/http-api.js:154:23
at async Query._execute (/usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/query.js:476:18)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/query.js:395:9


sf:Install ERROR [
sf:Install '\x1B[1mERROR running force:package:install: \x1B[22m',
sf:Install '\x1B[31mThe subscriber package version 04t08000000cSP6AAM is invalid, no subscriber package version record found.\x1B[39m',
sf:Install '\x1B[31m\x1B[39m\n' +
sf:Install '\x1B[31m*** Internal Diagnostic \x1B[39m\n' +
sf:Install '\x1B[31m\x1B[39m\n' +
sf:Install '\x1B[31mErrorInvalidIdNoRecordFound: The subscriber package version 04t08000000cSP6AAM is invalid, no subscriber package version record found.\x1B[39m\n' +
sf:Install '\x1B[31m at Messages.createError (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/messages.js:446:16)\x1B[39m\n' +
sf:Install '\x1B[31m at SubscriberPackageVersion.getData (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:305:32)\x1B[39m\n' +
sf:Install '\x1B[31m at processTicksAndRejections (node:internal/process/task_queues:96:5)\x1B[39m\n' +
sf:Install '\x1B[31m at async SubscriberPackageVersion.getField (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:364:13)\x1B[39m\n' +
sf:Install '\x1B[31m at async SubscriberPackageVersion.getExternalSites (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:350:36)\x1B[39m\n' +
sf:Install '\x1B[31m at async Install.confirmExternalSites (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/force/package/install.js:141:26)\x1B[39m\n' +
sf:Install '\x1B[31m at async Install.run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/force/package/install.js:72:9)\x1B[39m\n' +
sf:Install '\x1B[31m at async Install._run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/command/lib/sfdxCommand.js:102:40)\x1B[39m\n' +
sf:Install '\x1B[31m at async Config.runCommand (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:272:25)\x1B[39m\n' +
sf:Install '\x1B[31m at async run (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/main.js:74:5)\x1B[39m\n' +
sf:Install '\x1B[31mCaused by: UNKNOWN_EXCEPTION: Package Not Found [04t08000000cSP6AAM]\x1B[39m\n' +
sf:Install "\x1B[31mThe requested package doesn't yet exist or has been deleted. If this is a recently created package version, please try again in a few minutes or contact the package publisher.\x1B[39m\n" +
sf:Install '\x1B[31m at HttpApi.getError (/usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/http-api.js:307:12)\x1B[39m\n' +
sf:Install '\x1B[31m at processTicksAndRejections (node:internal/process/task_queues:96:5)\x1B[39m\n' +
sf:Install '\x1B[31m at async /usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/http-api.js:154:23\x1B[39m\n' +
sf:Install '\x1B[31m at async Query._execute (/usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/query.js:476:18)\x1B[39m\n' +
sf:Install '\x1B[31m at async /usr/local/lib/node_modules/sfdx-cli/node_modules/jsforce/lib/query.js:395:9\x1B[39m\n' +
sf:Install '\x1B[31m
***\x1B[39m\n' +
sf:Install '\x1B[31m\x1B[39m'
sf:Install ] +7s
sf:core TRACE Setup child 'Org' logger instance +915ms
config start postrun hook +7s
sf:core TRACE Setup child 'AuthInfoConfig' logger instance +1ms
sf:core TRACE Setup child 'crypto' logger instance +1ms
config postrun hook done +2ms
sf:crypto DEBUG retryStatus: undefined +917ms
sf:core TRACE Setup child 'keyChain' logger instance +1ms
sf:keyChain DEBUG platform: darwin +918ms
sf:AuthInfoConfig INFO Reading config file: /Users/alpertovi/.sfdx/[email protected] +917ms
sf:core TRACE Setup child 'AuthInfo' logger instance +9ms
sf:AuthInfo INFO Returning fields for a connection using OAuth config. +931ms
sf:core TRACE Setup child 'connection' logger instance +7ms
sf:connection DEBUG API version cache last checked on 1/27/2023, 9:37:02 AM (now is 1/27/2023, 9:48:02 AM) +5s
sf:connection DEBUG Using cached API version: 56.0 +1ms
sf:connection DEBUG Connection created with apiVersion 56.0 +0ms
sf:connection DEBUG request: {"method":"GET","url":"https://checkout.my.salesforce.com/services/data/v56.0/query?q=SELECT%20CreatedDate%2CEdition%2CExpirationDate%20FROM%20ActiveScratchOrg%20WHERE%20ScratchOrg%3D'00D5r0000004cQ4'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +0ms
sfdx:[email protected] Spawning "/usr/local/bin/node /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/processes/upload /Users/alpertovi/Library/Caches/sfdx /var/folders/77/wzl97yy90jj4rzh8_kmqmmt40000gn/T/sfdx-telemetry/telemetry-2821876dd1456c1de025d152a73dadede9da2139.log" +7s

@gsbasso
Copy link

gsbasso commented Jan 28, 2023

We've been seeing the The subscriber package version 04txxxxxx is invalid, no subscriber package version record found. error for the past two days. I even tried changing the version number (made no difference). How do I clear this?

The curious thing is we are able to successfully build and install new versions of the same package with a different code base and a higher version. Same build server using the same version of the CLI (that I provided in a previous comments).

@gsbasso
Copy link

gsbasso commented Jan 29, 2023

Fixed by reauthorizing sandbox. Also upgraded to the latest 7.185.0 release but this did not help.

@shetzel shetzel removed the investigating We're actively investigating this issue label Feb 3, 2023
@shetzel
Copy link
Contributor

shetzel commented Feb 3, 2023

This should be fixed in the release candidate version of the CLI, 7.187.1. Feel free to try it out.

@mshanemc mshanemc closed this as completed Feb 9, 2023
@alper-tovi-cko
Copy link
Author

@mshanemc The issue is not fixed, unfortunately. I switched from legacy install to the current install with version - sfdx-cli/7.187.1. Here is what I get:

10 minutes remaining until timeout. Publish status: Querying Status...
�[G�[1A�[J10 minutes remaining until timeout. Publish status: Querying Status... ⣾
�[G�[1A�[J10 minutes remaining until timeout. Publish status: Querying Status... ⣽
�[G�[1A�[JError (1): The subscriber package version is not fully available.
10 minutes remaining until timeout. Publish status: Querying Status... done

@shetzel
Copy link
Contributor

shetzel commented Feb 16, 2023

Are you able to append --dev-debug to your command and get more output for us? E.g.,

sfdx force:package:install --upgradetype DeprecateOnly -u [email protected] --package 04txxxxxx --installationkey INSTALL_KEY --wait 60 --publishwait 10 --noprompt --dev-debug

@shetzel shetzel reopened this Feb 16, 2023
@alper-tovi-cko
Copy link
Author

Here is the related part. It's Jenkins output so formatting might be a little off. I also removed unique ID, installkey or usernames.

sfdx force:package:install --upgradetype DeprecateOnly -u USERNAME_GOES_HERE --package PACKAGE_ID_GOES_HERE --installationkey INSTALL_KEY_GOES_HERE --wait 60 --publishwait 10 --noprompt --dev-debug
2023-02-16T21:05:02.195Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli
2023-02-16T21:05:02.196Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json
2023-02-16T21:05:02.274Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/oclif.manifest.json
2023-02-16T21:05:02.360Z config:sfdx-cli using manifest from /usr/local/lib/node_modules/sfdx-cli/oclif.manifest.json
2023-02-16T21:05:02.361Z config reading user plugins pjson /root/.local/share/sfdx/package.json
2023-02-16T21:05:02.361Z config loadJSON /root/.local/share/sfdx/package.json
2023-02-16T21:05:02.362Z config loading plugins [
'@oclif/plugin-command-snapshot',
'@salesforce/plugin-release-management'
]
2023-02-16T21:05:02.364Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json
2023-02-16T21:05:02.364Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/package.json
2023-02-16T21:05:02.364Z config loadJSON /usr/local/lib/node_modules/package.json
2023-02-16T21:05:02.364Z config loadJSON /usr/local/lib/node_modules/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/local/lib/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/local/lib/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/local/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/local/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/package.json
2023-02-16T21:05:02.365Z config loadJSON /usr/package.json
2023-02-16T21:05:02.365Z config loadJSON /package.json
2023-02-16T21:05:02.366Z config loadJSON /package.json
(node:1912) Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@oclif/plugin-command-snapshot'
}
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
(Use node --trace-warnings ... to show where the warning was created)
Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@oclif/plugin-command-snapshot'
}
at Plugin.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/plugin.js:106:19)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:462:17
at async Promise.all (index 0)
at async Config.loadPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:450:9)
at async Config.loadDevPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:162:21)
at async Config.loadPluginsAndCommands (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:142:9)
at async Config.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:137:9)
at async Object.run (/usr/local/lib/node_modules/sfdx-cli/dist/cli.js:106:13)
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
2023-02-16T21:05:02.367Z config loading plugins [
'@oclif/plugin-autocomplete',
'@oclif/plugin-commands',
'@oclif/plugin-help',
'@oclif/plugin-version',
'@oclif/plugin-not-found',
'@oclif/plugin-plugins',
'@oclif/plugin-search',
'@oclif/plugin-update',
'@oclif/plugin-warn-if-update-available',
'@oclif/plugin-which',
'@salesforce/plugin-alias',
'@salesforce/plugin-apex',
'@salesforce/plugin-auth',
'@salesforce/plugin-config',
'@salesforce/plugin-community',
'@salesforce/plugin-custom-metadata',
'@salesforce/plugin-data',
'@salesforce/plugin-generator',
'@salesforce/plugin-info',
'@salesforce/plugin-limits',
'@salesforce/plugin-org',
'@salesforce/plugin-packaging',
'@salesforce/plugin-signups',
'@salesforce/plugin-source',
'@salesforce/plugin-schema',
'@salesforce/plugin-telemetry',
'@salesforce/plugin-templates',
'@salesforce/plugin-trust',
'@salesforce/plugin-user',
'@salesforce/sfdx-plugin-lwc-test',
'salesforce-alm'
]
2023-02-16T21:05:02.376Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete
2023-02-16T21:05:02.376Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/package.json
2023-02-16T21:05:02.376Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands
2023-02-16T21:05:02.376Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/package.json
2023-02-16T21:05:02.376Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update
2023-02-16T21:05:02.376Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/package.json
2023-02-16T21:05:02.376Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias
2023-02-16T21:05:02.376Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/package.json
2023-02-16T21:05:02.376Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community
2023-02-16T21:05:02.376Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config
2023-02-16T21:05:02.377Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/package.json
2023-02-16T21:05:02.377Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/package.json
2023-02-16T21:05:02.378Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test
2023-02-16T21:05:02.378Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json
2023-02-16T21:05:02.379Z config reading core plugin /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm
2023-02-16T21:05:02.379Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/package.json
(node:1912) Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@salesforce/plugin-release-management'
}
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
Error Plugin: sfdx-cli: could not find package.json with {
type: 'dev',
root: '/usr/local/lib/node_modules/sfdx-cli',
name: '@salesforce/plugin-release-management'
}
at Plugin.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/plugin.js:106:19)
at async /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:462:17
at async Promise.all (index 1)
at async Config.loadPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:450:9)
at async Config.loadDevPlugins (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:162:21)
at async Config.loadPluginsAndCommands (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:142:9)
at async Config.load (/usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/core/lib/config/config.js:137:9)
at async Object.run (/usr/local/lib/node_modules/sfdx-cli/dist/cli.js:106:13)
module: @oclif/[email protected]
task: loadPlugins
plugin: sfdx-cli
root: /usr/local/lib/node_modules/sfdx-cli
See more details with DEBUG=*
2023-02-16T21:05:02.380Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json
2023-02-16T21:05:02.380Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/oclif.manifest.json
2023-02-16T21:05:02.380Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/oclif.manifest.json
2023-02-16T21:05:02.380Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/oclif.manifest.json
2023-02-16T21:05:02.380Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/oclif.manifest.json
2023-02-16T21:05:02.381Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/oclif.manifest.json
2023-02-16T21:05:02.382Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/oclif.manifest.json
2023-02-16T21:05:02.383Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/oclif.manifest.json
2023-02-16T21:05:02.384Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json
2023-02-16T21:05:02.385Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/oclif.manifest.json
2023-02-16T21:05:02.385Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json
2023-02-16T21:05:02.385Z config loadJSON /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/.oclif.manifest.json
2023-02-16T21:05:02.386Z config:@oclif/plugin-autocomplete using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json
2023-02-16T21:05:02.386Z config:@oclif/plugin-commands using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-commands/oclif.manifest.json
2023-02-16T21:05:02.387Z config:@oclif/plugin-update using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/oclif.manifest.json
2023-02-16T21:05:02.387Z config:@salesforce/plugin-alias using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-alias/oclif.manifest.json
2023-02-16T21:05:02.387Z config:@salesforce/plugin-community using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-community/oclif.manifest.json
2023-02-16T21:05:02.387Z config:@salesforce/plugin-custom-metadata using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json
2023-02-16T21:05:02.387Z config:@salesforce/plugin-telemetry using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-help using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-help/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-version using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-version/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-not-found using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-not-found/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-plugins using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-plugins/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-search using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-search/oclif.manifest.json
2023-02-16T21:05:02.388Z config:@oclif/plugin-which using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-which/oclif.manifest.json
2023-02-16T21:05:02.389Z config:@salesforce/plugin-apex using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/oclif.manifest.json
2023-02-16T21:05:02.389Z config:@salesforce/plugin-auth using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-auth/oclif.manifest.json
2023-02-16T21:05:02.389Z config:@salesforce/plugin-config using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/oclif.manifest.json
2023-02-16T21:05:02.390Z config:@salesforce/plugin-data using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-data/oclif.manifest.json
2023-02-16T21:05:02.390Z config:@salesforce/plugin-info using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-info/oclif.manifest.json
2023-02-16T21:05:02.390Z config:@salesforce/plugin-limits using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-limits/oclif.manifest.json
2023-02-16T21:05:02.391Z config:@salesforce/plugin-org using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-org/oclif.manifest.json
2023-02-16T21:05:02.392Z config:@salesforce/plugin-packaging using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/oclif.manifest.json
2023-02-16T21:05:02.393Z config:@salesforce/plugin-signups using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-signups/oclif.manifest.json
2023-02-16T21:05:02.394Z config:@salesforce/plugin-source using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-source/oclif.manifest.json
2023-02-16T21:05:02.395Z config:@salesforce/plugin-schema using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-schema/oclif.manifest.json
2023-02-16T21:05:02.395Z config:@salesforce/plugin-templates using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-templates/oclif.manifest.json
2023-02-16T21:05:02.395Z config:@salesforce/plugin-trust using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-trust/oclif.manifest.json
2023-02-16T21:05:02.396Z config:@salesforce/plugin-user using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-user/oclif.manifest.json
2023-02-16T21:05:02.396Z config:@salesforce/sfdx-plugin-lwc-test using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json
2023-02-16T21:05:02.396Z config:@oclif/plugin-warn-if-update-available using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json
2023-02-16T21:05:02.396Z config:@salesforce/plugin-generator using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-generator/.oclif.manifest.json
2023-02-16T21:05:02.398Z config:salesforce-alm using manifest from /usr/local/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/oclif.manifest.json
2023-02-16T21:05:02.783Z config config done
2023-02-16T21:05:02.784Z sfdx OS:
2023-02-16T21:05:02.784Z sfdx platform: linux
2023-02-16T21:05:02.784Z sfdx architecture: x64
2023-02-16T21:05:02.784Z sfdx release: 5.10.162-141.675.amzn2.x86_64
2023-02-16T21:05:02.784Z sfdx shell: unknown
2023-02-16T21:05:02.784Z sfdx NODE:
2023-02-16T21:05:02.784Z sfdx version: 14.20.1
2023-02-16T21:05:02.784Z sfdx CLI:
2023-02-16T21:05:02.784Z sfdx version: 7.188.1
2023-02-16T21:05:02.784Z sfdx channel: stable
2023-02-16T21:05:02.784Z sfdx bin: sfdx
2023-02-16T21:05:02.784Z sfdx data: /root/.local/share/sfdx
2023-02-16T21:05:02.784Z sfdx cache: /root/.cache/sfdx
2023-02-16T21:05:02.784Z sfdx config: /root/.config/sfdx
2023-02-16T21:05:02.784Z sfdx ENV:
2023-02-16T21:05:02.784Z sfdx NODE_OPTIONS:
2023-02-16T21:05:02.784Z sfdx SFDX_AUTOUPDATE_DISABLE: true
2023-02-16T21:05:02.784Z sfdx SFDX_BINPATH:
2023-02-16T21:05:02.784Z sfdx SFDX_COMPILE_CACHE:
2023-02-16T21:05:02.784Z sfdx SFDX_DISABLE_AUTOUPDATE: true
2023-02-16T21:05:02.784Z sfdx SFDX_ENV: development
2023-02-16T21:05:02.784Z sfdx SFDX_INSTALLER:
2023-02-16T21:05:02.784Z sfdx SFDX_NPM_REGISTRY:
2023-02-16T21:05:02.784Z sfdx SFDX_REDIRECTED:
2023-02-16T21:05:02.784Z sfdx SFDX_S3_HOST:
2023-02-16T21:05:02.784Z sfdx SFDX_UPDATE_INSTRUCTIONS: Use "npm update --global sfdx-cli" to update npm-based installations.
2023-02-16T21:05:02.784Z sfdx ARGS:
2023-02-16T21:05:02.784Z sfdx 0: /usr/bin/node
2023-02-16T21:05:02.784Z sfdx 1: /usr/local/bin/sfdx
2023-02-16T21:05:02.785Z sfdx 2: force:package:install
2023-02-16T21:05:02.785Z sfdx 3: --upgradetype
2023-02-16T21:05:02.785Z sfdx 4: DeprecateOnly
2023-02-16T21:05:02.785Z sfdx 5: -u
2023-02-16T21:05:02.785Z sfdx 6: USERNAME_GOES_HERE
2023-02-16T21:05:02.785Z sfdx 7: --package
2023-02-16T21:05:02.785Z sfdx 8: PACKAGE_ID_GOES_HERE
2023-02-16T21:05:02.785Z sfdx 9: --installationkey
2023-02-16T21:05:02.785Z sfdx 10: INSTALL_KEY_GOES_HERE
2023-02-16T21:05:02.785Z sfdx 11: --wait
2023-02-16T21:05:02.785Z sfdx 12: 60
2023-02-16T21:05:02.785Z sfdx 13: --publishwait
2023-02-16T21:05:02.785Z sfdx 14: 10
2023-02-16T21:05:02.785Z sfdx 15: --noprompt
2023-02-16T21:05:02.785Z config start init hook
2023-02-16T21:05:03.497Z sf:core TRACE Setup child 'plugin-config:load_config_meta' logger instance
2023-02-16T21:05:03.569Z sfdx:@oclif/plugin-update:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-update/lib/hooks/init.js
2023-02-16T21:05:03.569Z sfdx:@salesforce/plugin-telemetry:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/lib/hooks/telemetryInit.js
2023-02-16T21:05:03.570Z sfdx:@salesforce/plugin-config:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-config/lib/hooks/init/load_config_meta.js
2023-02-16T21:05:03.570Z sf:plugin-config:load_config_meta INFO No config meta found for sfdx-cli
2023-02-16T21:05:03.571Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-autocomplete
2023-02-16T21:05:03.571Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-commands
2023-02-16T21:05:03.571Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-update
2023-02-16T21:05:03.571Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-alias
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-community
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-custom-metadata
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-telemetry
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-help
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-version
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-not-found
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-plugins
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-search
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-which
2023-02-16T21:05:03.572Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-apex
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-auth
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-config
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-data
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-info
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-limits
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-org
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-packaging
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-signups
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-source
2023-02-16T21:05:03.573Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-schema
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-templates
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-trust
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-user
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-plugin-lwc-test
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-warn-if-update-available
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-generator
2023-02-16T21:05:03.574Z sf:plugin-config:load_config_meta INFO No config meta found for salesforce-alm
2023-02-16T21:05:03.574Z sfdx:@oclif/plugin-warn-if-update-available:hooks:init start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update.js
2023-02-16T21:05:03.575Z sfdx:@oclif/plugin-update:hooks:init done
2023-02-16T21:05:03.575Z sfdx:@salesforce/plugin-telemetry:hooks:init done
2023-02-16T21:05:03.575Z sfdx:@salesforce/plugin-config:hooks:init done
2023-02-16T21:05:03.575Z sfdx:@oclif/plugin-warn-if-update-available:hooks:init done
2023-02-16T21:05:03.575Z config init hook done
2023-02-16T21:05:03.576Z config runCommand force:package:install [ '--upgradetype', 'DeprecateOnly', '-u', 'USERNAME_GOES_HERE', '--package', 'PACKAGE_ID_GOES_HERE', '--installationkey', 'INSTALL_KEY_GOES_HERE', '--wait', '60', '--publishwait', '10', '--noprompt' ]
2023-02-16T21:05:04.684Z config:@salesforce/plugin-packaging (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-packaging/lib/commands/package/install.js
2023-02-16T21:05:04.685Z config start prerun hook
2023-02-16T21:05:04.788Z sfdx:@salesforce/plugin-telemetry:hooks:prerun start (require) /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/lib/hooks/telemetryPrerun.js
2023-02-16T21:05:04.789Z sf:core TRACE Setup child 'Config' logger instance
2023-02-16T21:05:04.790Z sf:core TRACE Setup child 'Config' logger instance
2023-02-16T21:05:04.790Z sf:Config INFO Reading config file: /root/.sf/config.json
2023-02-16T21:05:04.791Z sf:Config INFO Reading config file: /home/jenkins/workspace/sfdc-pricing-profile_staging/.sf/config.json
2023-02-16T21:05:04.800Z sf:Config INFO Reading config file: /root/.sf/config.json
2023-02-16T21:05:04.800Z sf:Config INFO Reading config file: /home/jenkins/workspace/sfdc-pricing-profile_staging/.sf/config.json
2023-02-16T21:05:04.811Z sf:core TRACE Setup child 'core:config' logger instance
2023-02-16T21:05:04.868Z sfdx:[email protected] Usage acknowledgement file already exists
2023-02-16T21:05:04.868Z sfdx:[email protected] Using telemetry logging file /tmp/sfdx-telemetry/telemetry-3d63e2cc1651af3a5c7ac8bbb2482d33058d95df.log
2023-02-16T21:05:04.871Z sf:core TRACE Setup child 'OrgAccessor' logger instance
2023-02-16T21:05:04.871Z sf:core TRACE Setup child 'SandboxAccessor' logger instance
2023-02-16T21:05:04.872Z sf:core TRACE Setup child 'AliasesConfig' logger instance
2023-02-16T21:05:04.872Z sf:AliasesConfig INFO Reading config file: /root/.sfdx/alias.json
2023-02-16T21:05:04.873Z sf:core TRACE Setup child 'TokensConfig' logger instance
2023-02-16T21:05:04.873Z sf:core TRACE Setup child 'crypto' logger instance
2023-02-16T21:05:04.873Z sf:crypto DEBUG retryStatus: undefined
2023-02-16T21:05:04.874Z sf:core TRACE Setup child 'keyChain' logger instance
2023-02-16T21:05:04.874Z sf:keyChain DEBUG platform: linux
2023-02-16T21:05:04.877Z sf:TokensConfig INFO Reading config file: /root/.sfdx/tokens.json
2023-02-16T21:05:04.877Z sf:core TRACE Setup child 'Org' logger instance
2023-02-16T21:05:04.878Z sf:core TRACE Setup child 'Config' logger instance
2023-02-16T21:05:04.878Z sf:core TRACE Setup child 'Config' logger instance
2023-02-16T21:05:04.878Z sf:Config INFO Reading config file: /root/.sf/config.json
2023-02-16T21:05:04.879Z sf:Config INFO Reading config file: /home/jenkins/workspace/sfdc-pricing-profile_staging/.sf/config.json
2023-02-16T21:05:04.888Z sf:core TRACE Setup child 'AuthInfoConfig' logger instance
2023-02-16T21:05:04.888Z sf:core TRACE Setup child 'crypto' logger instance
2023-02-16T21:05:04.888Z sf:crypto DEBUG retryStatus: undefined
2023-02-16T21:05:04.889Z sf:core TRACE Setup child 'keyChain' logger instance
2023-02-16T21:05:04.889Z sf:keyChain DEBUG platform: linux
2023-02-16T21:05:04.890Z sf:AuthInfoConfig INFO Reading config file: /root/.sfdx/USERNAME_GOES_HERE.json
2023-02-16T21:05:04.896Z sf:core TRACE Setup child 'AuthInfo' logger instance
2023-02-16T21:05:04.963Z sf:AuthInfo INFO Returning fields for a connection using OAuth config.
2023-02-16T21:05:04.965Z sf:core TRACE Setup child 'connection' logger instance
2023-02-16T21:05:04.966Z sf:core TRACE Setup child 'MyDomainResolver' logger instance
2023-02-16T21:05:04.966Z sf:core TRACE Setup child 'PollingClient' logger instance
2023-02-16T21:05:04.968Z sf:MyDomainResolver DEBUG Attempting to resolve url: checkout--trdev.sandbox.my.salesforce.com
2023-02-16T21:05:05.023Z sf:MyDomainResolver DEBUG Successfully resolved host: checkout--trdev.sandbox.my.salesforce.com result: {"address":"85.222.154.214","family":4}
2023-02-16T21:05:05.024Z sf:connection DEBUG Fetching API versions supported for org: USERNAME_GOES_HERE
2023-02-16T21:05:05.024Z sf:connection DEBUG request: {"method":"GET","url":"https://checkout--trdev.sandbox.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}}
2023-02-16T21:05:05.205Z sf:connection DEBUG response for org versions: 31.0,32.0,33.0,34.0,35.0,36.0,37.0,38.0,39.0,40.0,41.0,42.0,43.0,44.0,45.0,46.0,47.0,48.0,49.0,50.0,51.0,52.0,53.0,54.0,55.0,56.0,57.0
2023-02-16T21:05:05.208Z sf:AuthInfo INFO Updated auth info for username: USERNAME_GOES_HERE
2023-02-16T21:05:05.209Z sf:AuthInfoConfig INFO Writing to config file: /root/.sfdx/USERNAME_GOES_HERE.json
2023-02-16T21:05:05.210Z sf:AuthInfo INFO Saved auth info for username: USERNAME_GOES_HERE
2023-02-16T21:05:05.210Z sf:connection DEBUG Connection created with apiVersion 57.0
2023-02-16T21:05:05.222Z sfdx:[email protected] Setting up process exit handler
2023-02-16T21:05:05.222Z sfdx:@salesforce/plugin-telemetry:hooks:prerun done
2023-02-16T21:05:05.222Z config prerun hook done
2023-02-16T21:05:05.223Z sf:Config INFO Reading config file: /root/.sf/config.json
2023-02-16T21:05:05.223Z sf:Config INFO Reading config file: /home/jenkins/workspace/sfdc-pricing-profile_staging/.sf/config.json
2023-02-16T21:05:05.232Z sf:core TRACE Setup child 'core:config' logger instance
2023-02-16T21:05:05.232Z sf:core:config INFO Key org-metadata-rest-deploy already exists in allowedProperties, skipping.
2023-02-16T21:05:05.232Z sfdx:Lifecycle 2 lifecycle events with the name update have now been registered. When this event is emitted all 2 listeners will fire.
2023-02-16T21:05:05.232Z sfdx:Lifecycle 3 lifecycle events with the name update have now been registered. When this event is emitted all 3 listeners will fire.
2023-02-16T21:05:05.232Z sfdx:Lifecycle 4 lifecycle events with the name update have now been registered. When this event is emitted all 4 listeners will fire.
2023-02-16T21:05:05.232Z sfdx:package:install init version: @oclif/[email protected] argv: [ '--upgradetype', 'DeprecateOnly', '-u', 'USERNAME_GOES_HERE', '--package', 'PACKAGE_ID_GOES_HERE', '--installationkey', 'INSTALL_KEY_GOES_HERE', '--wait', '60', '--publishwait', '10', '--noprompt' ]
Warning: The "force package install" command has been deprecated. Use "package install" instead.
2023-02-16T21:05:05.234Z sf:core TRACE Setup child 'Org' logger instance
2023-02-16T21:05:05.234Z sf:core TRACE Setup child 'AuthInfoConfig' logger instance
2023-02-16T21:05:05.234Z sf:core TRACE Setup child 'crypto' logger instance
2023-02-16T21:05:05.234Z sf:crypto DEBUG retryStatus: undefined
2023-02-16T21:05:05.235Z sf:core TRACE Setup child 'keyChain' logger instance
2023-02-16T21:05:05.235Z sf:keyChain DEBUG platform: linux
2023-02-16T21:05:05.235Z sf:AuthInfoConfig INFO Reading config file: /root/.sfdx/USERNAME_GOES_HERE.json
2023-02-16T21:05:05.236Z sf:core TRACE Setup child 'AuthInfo' logger instance
2023-02-16T21:05:05.244Z sf:AuthInfo INFO Returning fields for a connection using OAuth config.
2023-02-16T21:05:05.245Z sf:core TRACE Setup child 'connection' logger instance
2023-02-16T21:05:05.245Z sf:connection DEBUG API version cache last checked on 2/16/2023, 9:05:05 PM (now is 2/16/2023, 9:05:05 PM)
2023-02-16T21:05:05.245Z sf:connection DEBUG Using cached API version: 57.0
2023-02-16T21:05:05.245Z sf:connection DEBUG Connection created with apiVersion 57.0
Warning: The "--upgradetype" flag has been deprecated. Use "--upgrade-type" instead.
Warning: The "-u" flag has been deprecated. Use "--target-org" instead.
Warning: The "--installationkey" flag has been deprecated. Use "--installation-key" instead.
Warning: The "--publishwait" flag has been deprecated. Use "--publish-wait" instead.
Warning: The "--noprompt" flag has been deprecated. Use "--no-prompt" instead.
2023-02-16T21:05:05.272Z sf:core TRACE Setup child 'SfProjectJson' logger instance
2023-02-16T21:05:05.272Z sf:SfProjectJson INFO Reading config file: /home/jenkins/workspace/sfdc-pricing-profile_staging/sfdx-project.json
10 minutes remaining until timeout. Publish status: Querying Status...
�[G�[1A�[J2023-02-16T21:05:05.274Z sf:core TRACE Setup child 'PollingClient' logger instance
2023-02-16T21:05:05.274Z sf:core TRACE Setup child 'installPackage' logger instance
2023-02-16T21:05:05.275Z sf:installPackage DEBUG Polling for package availability in org. Package ID = PACKAGE_ID_GOES_HERE
2023-02-16T21:05:05.275Z sf:installPackage DEBUG Polling frequency (ms): 10000
2023-02-16T21:05:05.275Z sf:installPackage DEBUG Polling timeout (min): 10
2023-02-16T21:05:05.276Z sf:connection DEBUG request: {"method":"GET","url":"https://checkout--trdev.sandbox.my.salesforce.com/services/data/v57.0/tooling/query?q=SELECT%20Id%2C%20SubscriberPackageId%2C%20InstallValidationStatus%20FROM%20SubscriberPackageVersion%20WHERE%20Id%20%3D'PACKAGE_ID_GOES_HERE'%20AND%20InstallationKey%20%3D'INSTALL_KEY_GOES_HERE'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}}
10 minutes remaining until timeout. Publish status: Querying Status... ⣾
�[G�[1A�[JError (1): The subscriber package version is not fully available.
2023-02-16T21:05:05.471Z config start postrun hook
2023-02-16T21:05:05.471Z config postrun hook done
10 minutes remaining until timeout. Publish status: Querying Status... done
2023-02-16T21:05:05.474Z sfdx:[email protected] Spawning "/usr/bin/node /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-telemetry/processes/upload /root/.cache/sfdx /tmp/sfdx-telemetry/telemetry-3d63e2cc1651af3a5c7ac8bbb2482d33058d95df.log"

@shetzel
Copy link
Contributor

shetzel commented Feb 16, 2023

Thanks. You can actually delete most of that from the post if you want. I was hoping to get more info around this line:
[JError (1): The subscriber package version is not fully available.
That message should only be displayed upon polling timeout but there must be an error thrown during polling that is causing it.

Is there a way I can repro this myself? If not, are you able to reproduce it manually (i.e., outside of Jenkins) and can try some modifications to CLI files?

Also, you can run sfdx force:data:soql:query -t q="SELECT%20Id%2C%20SubscriberPackageId%2C%20InstallValidationStatus%20FROM%20SubscriberPackageVersion%20WHERE%20Id%20%3D'PACKAGE_ID_GOES_HERE'%20AND%20InstallationKey%20%3D'INSTALL_KEY_GOES_HERE" and see what is returned by the query command. The polling is essentially running a query every 10 seconds until it returns a certain status or a timeout. The install key is also escaped so that could also cause a problem.

@shetzel
Copy link
Contributor

shetzel commented Feb 17, 2023

@alper-tovi-cko - Pretty sure I found the problem and the fix will be in next week's CLI release candidate. The query I mentioned above can throw when the subscriber package version ID is not there yet. The legacy command handled that case but the new command didn't. I added that error handling and some additional logging (viewable with --dev-debug). If you want, you could verify that this is the issue by running your package version create command and running the query in my last post with the 04t immediately after. If the query command errors, that's the problem and it will be fixed in the next RC.

@alper-tovi-cko
Copy link
Author

This issue has been resolved with sfdx-cli/7.190.2.

@ar-srinivas
Copy link

ar-srinivas commented Mar 14, 2023

@gsbasso and @shetzel We are facing the similar issue with one of the packages. With all the versions of the same package the package install command return the below error:
ErrorInvalidIdNoRecordFoundError: The subscriber package version 04txxxxxxxx is invalid, no subscriber package version record found.

Facing this issue on previous(7.179) and latest(7.190) versions of CLI. But the same package is installed successfully when we use the package URL in the browser.

Appreciate any help to resolve this. Thank you in advance.

@shetzel
Copy link
Contributor

shetzel commented Mar 14, 2023

@ar-srinivas - this doesn't look like the same issue. I would make sure you're including the installation key with the command (if necessary) and ensure the target-org is the one you expect. You can also enable debugging (--dev-debug) for the command and check if there's something useful in the output for troubleshooting. If not, create a new issue.

@alper-tovi-cko
Copy link
Author

This issue started again. This time we are getting this error:

{
"code": 1,
"context": "Install",
"commandName": "Install",
"message": "The subscriber package version is not fully available.",
"name": "SubscriberPackageVersionNotPublishedError",
"status": 1,
"stack": "SubscriberPackageVersionNotPublishedError: The subscriber package version is not fully available. at Messages.createError (/home/runner/sfdx/node_modules/@salesforce/core/lib/messages.js:393:16) at waitForPublish (/home/runner/sfdx/node_modules/@salesforce/packaging/lib/package/packageInstall.js:132:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SubscriberPackageVersion.waitForPublish (/home/runner/sfdx/node_modules/@salesforce/packaging/lib/package/subscriberPackageVersion.js:328:9) at async Install.run (/home/runner/sfdx/node_modules/@salesforce/plugin-packaging/lib/commands/package/install.js:62:13) at async Install._run (/home/runner/sfdx/node_modules/@oclif/core/lib/command.js:117:22) at async Config.runCommand (/home/runner/sfdx/node_modules/@oclif/core/lib/config/config.js:329:25) at async run (/home/runner/sfdx/node_modules/@oclif/core/lib/main.js:89:16) DUE TO: MISMATCHING_VERSIONS: Mismatching versions at HttpApi.getError (/home/runner/sfdx/node_modules/jsforce/lib/http-api.js:252:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /home/runner/sfdx/node_modules/jsforce/lib/http-api.js:122:23 at async Query._execute (/home/runner/sfdx/node_modules/jsforce/lib/query.js:413:18) at async /home/runner/sfdx/node_modules/jsforce/lib/query.js:346:9",
"exitCode": 1,
"warnings": []
}

@shetzel
Copy link
Contributor

shetzel commented Jun 11, 2024

@alper-tovi-cko - that error doesn't look like the same issue. Looks like you need to add releaseVersion: previous to your scratch org config since the Summer '24 release is rolling out.

@alper-tovi-cko
Copy link
Author

All good @shetzel. You are right, this was because of the release. All handled.

@bdovh
Copy link

bdovh commented Sep 11, 2024

I have the same error

"message": "The subscriber package version is not fully available.",
"name": "SubscriberPackageVersionNotPublishedError",

Do I need to add releaseVersion: previous if my devhub is on old release?

I don't understand this.

I believed this applies only to devhubs which have already switched to the new release but my client production org is not on new release

@bdovh
Copy link

bdovh commented Sep 12, 2024

I have the same error

"message": "The subscriber package version is not fully available.",

however,
my devhub is not on the preview instance, it is still on the old release.

Why then do I have this error?

@shetzel
Copy link
Contributor

shetzel commented Sep 13, 2024

Here are the docs on targeting specific releases. Without a complete picture of the problem and reproducer it's difficult to know.

There are trailblazer communities specific to packaging that might help.
https://trailhead.salesforce.com/trailblazer-community/groups/0F93A000000Lg5USAS?tab=discussion&sort=LAST_MODIFIED_DATE_DESC

https://trailhead.salesforce.com/trailblazer-community/groups/0F93A000000HTp1SAG?tab=discussion&sort=LAST_MODIFIED_DATE_DESC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

7 participants