Started by user admin
Obtained Jenkinsfile from git ...
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] getContext
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/test
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository ...
> git init /var/jenkins_home/workspace/test # timeout=10
Fetching upstream changes from ...
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- ... +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url ... # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision ec0611df78fbd5f993a54f322ce13a5bc3246552 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f ec0611df78fbd5f993a54f322ce13a5bc3246552 # timeout=10
Commit message: "Update Dockerfile, Jenkinsfile files"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t ddb0c5c60e0169d58463c72eb783ac1f0884b061 -f Dockerfile .
Sending build context to Docker daemon 182.3kB
Step 1/6 : FROM node:14.14-alpine
14.14-alpine: Pulling from library/node
cbdbe7a5bc2a: Already exists
378c9540b231: Already exists
fd5173d17220: Already exists
72f138d46980: Already exists
Digest: sha256:97c4cddbbf97299f5eda09946ba31d424c84848d4f4c1b7adef40e2e0d478345
Status: Downloaded newer image for node:14.14-alpine
---> fa2fa5d4e6f4
Step 2/6 : RUN apk add --update --no-cache git findutils bash unzip curl wget nodejs-npm openjdk8-jre openssh-client perl jq
---> Running in 7cf58678bc0a
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/68) Installing ncurses-terminfo-base (6.1_p20200118-r4)
(2/68) Installing ncurses-libs (6.1_p20200118-r4)
(3/68) Installing readline (8.0.1-r0)
(4/68) Installing bash (5.0.11-r1)
Executing bash-5.0.11-r1.post-install
(5/68) Installing ca-certificates (20191127-r2)
(6/68) Installing nghttp2-libs (1.40.0-r1)
(7/68) Installing libcurl (7.67.0-r5)
(8/68) Installing curl (7.67.0-r5)
(9/68) Installing findutils (4.7.0-r0)
(10/68) Installing expat (2.2.9-r1)
(11/68) Installing pcre2 (10.34-r1)
(12/68) Installing git (2.24.4-r0)
(13/68) Installing oniguruma (6.9.4-r1)
(14/68) Installing jq (1.6-r0)
(15/68) Installing c-ares (1.17.2-r0)
(16/68) Installing nodejs (12.22.6-r0)
(17/68) Installing npm (12.22.6-r0)
(18/68) Installing libbz2 (1.0.8-r1)
(19/68) Installing libpng (1.6.37-r1)
(20/68) Installing freetype (2.10.1-r1)
(21/68) Installing libuuid (2.34-r1)
(22/68) Installing fontconfig (2.13.1-r2)
(23/68) Installing encodings (1.0.5-r0)
(24/68) Installing libfontenc (1.1.4-r0)
(25/68) Installing mkfontscale (1.2.1-r1)
(26/68) Installing ttf-dejavu (2.37-r1)
(27/68) Installing libxau (1.0.9-r0)
(28/68) Installing libbsd (0.10.0-r0)
(29/68) Installing libxdmcp (1.1.3-r0)
(30/68) Installing libxcb (1.13.1-r0)
(31/68) Installing libx11 (1.6.12-r1)
(32/68) Installing libxcomposite (0.4.5-r0)
(33/68) Installing libxext (1.3.4-r0)
(34/68) Installing libxi (1.7.10-r0)
(35/68) Installing libxrender (0.9.10-r3)
(36/68) Installing libxtst (1.2.3-r3)
(37/68) Installing alsa-lib (1.2.1.2-r0)
(38/68) Installing giflib (5.2.1-r0)
(39/68) Installing libjpeg-turbo (2.0.4-r1)
(40/68) Installing openjdk8-jre-lib (8.275.01-r0)
(41/68) Installing java-common (0.2-r0)
(42/68) Installing libffi (3.2.1-r6)
(43/68) Installing p11-kit (0.23.18.1-r1)
(44/68) Installing libtasn1 (4.15.0-r0)
(45/68) Installing p11-kit-trust (0.23.18.1-r1)
(46/68) Installing java-cacerts (1.0-r0)
(47/68) Installing nspr (4.24-r0)
(48/68) Installing sqlite-libs (3.30.1-r2)
(49/68) Installing nss (3.48-r0)
(50/68) Installing krb5-conf (1.0-r1)
(51/68) Installing libcom_err (1.45.5-r0)
(52/68) Installing keyutils-libs (1.6.1-r0)
(53/68) Installing libverto (0.3.1-r1)
(54/68) Installing krb5-libs (1.17.2-r0)
(55/68) Installing lcms2 (2.9-r1)
(56/68) Installing pcsc-lite-libs (1.8.25-r2)
(57/68) Installing liblksctp (1.0.18-r1)
(58/68) Installing openjdk8-jre-base (8.275.01-r0)
(59/68) Installing openjdk8-jre (8.275.01-r0)
(60/68) Installing openssh-keygen (8.1_p1-r0)
(61/68) Installing libedit (20191211.3.1-r0)
(62/68) Installing openssh-client (8.1_p1-r0)
(63/68) Installing perl (5.30.3-r0)
(64/68) Installing perl-error (0.17028-r0)
(65/68) Installing perl-git (2.24.4-r0)
(66/68) Installing git-perl (2.24.4-r0)
(67/68) Installing unzip (6.0-r7)
(68/68) Installing wget (1.20.3-r0)
Executing busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
Executing fontconfig-2.13.1-r2.trigger
Executing mkfontscale-1.2.1-r1.trigger
Executing java-common-0.2-r0.trigger
OK: 223 MiB in 84 packages
Removing intermediate container 7cf58678bc0a
---> fb60ee947474
Step 3/6 : RUN npm install sfdx-cli --global
---> Running in 0992d7e297c5
[91mnpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[0m[91mnpm WARN deprecated har-validator@5.1.5: this library is no longer supported
[0m[91mnpm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[0m[91mnpm WARN deprecated @salesforce/plugin-deploy-retrieve-utils@0.0.10: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[0m[91mnpm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[0m[91mnpm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[0m[91mnpm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
[0m
> yarn@1.22.11 preinstall /usr/local/lib/node_modules/sfdx-cli/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
/usr/local/bin/sf -> /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/cli/bin/run
/usr/local/bin/sfdx -> /usr/local/lib/node_modules/sfdx-cli/bin/run
> dtrace-provider@0.6.0 install /usr/local/lib/node_modules/sfdx-cli/node_modules/dtrace-provider
> node scripts/install.js
> ejs@2.7.4 postinstall /usr/local/lib/node_modules/sfdx-cli/node_modules/ejs
> node ./postinstall.js
Thank you for installing [35mEJS[0m: built with the [32mJake[0m JavaScript build tool ([32mhttps://jakejs.com/[0m)
[91mnpm WARN eslint-config-xo@0.36.0 requires a peer of eslint@>=7.20.0 but none is installed. You must install peer dependencies yourself.
[0m[91mnpm [0m[91mWARN eslint-config-xo-space@0.27.0 requires a peer of eslint@>=7.20.0 but none is installed. You must install peer dependencies yourself.
[0m[91mnpm WARN eslint-config-xo@0.35.0 requires a peer of eslint@>=7.20.0 but none is installed. You must install peer dependencies yourself.
[0m[91m
[0m+ sfdx-cli@7.116.2
added 1394 packages from 687 contributors in 150.577s
Removing intermediate container 0992d7e297c5
---> 672f282b6fd8
Step 4/6 : RUN sfdx --version
---> Running in 602b74d65ee8
sfdx-cli/7.116.2 linux-x64 node-v14.14.0
Removing intermediate container 602b74d65ee8
---> c007c82e32a7
Step 5/6 : RUN mkdir .local && chmod g+rwx .local && echo 'y' | sfdx plugins:install sfpowerkit
---> Running in 09d7509a42a9
[91mYou acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
[0m[91mThis plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: [0mFinished digital signature check.
[91mInstalling plugin sfpowerkit...[0m[91m yarn add v1.22.11
[0m[91mInstalling plugin sfpowerkit... info No lockfile found.[0m[91mInstalling plugin sfpowerkit... [1/4] Resolving packages...[0m[91mInstalling plugin sfpowerkit... [2/4] Fetching packages...[0m[91mInstalling plugin sfpowerkit... [3/4] Linking dependencies...[0m[91mInstalling plugin sfpowerkit... [4/4] Building fresh packages...[0m[91mInstalling plugin sfpowerkit... success Saved lockfile.[0m[91mInstalling plugin sfpowerkit... success Saved 341 new dependencies.[0m[91mInstalling plugin sfpowerkit... info Direct dependencies[0m[91mInstalling plugin sfpowerkit... info All dependencies[0m[91mInstalling plugin sfpowerkit... ├─ @oclif/test@1.2.8[0m[91mInstalling plugin sfpowerkit... ├─ ansi-regex@5.0.0[0m[91mInstalling plugin sfpowerkit... ├─ child-process@1.0.2[0m[91mInstalling plugin sfpowerkit... ├─ diff-match-patch@1.0.5[0m[91mInstalling plugin sfpowerkit... ├─ is-extglob@2.1.1[0m[91mInstalling plugin sfpowerkit... ├─ request-promise-core@1.1.4[0m[91mInstalling plugin sfpowerkit... ├─ sort-keys@2.0.0[0m[91mInstalling plugin sfpowerkit... └─ zip-stream@4.1.0[0m[91mInstalling plugin sfpowerkit... Done in 38.76s.[0m[91mInstalling plugin sfpowerkit... installed v3.2.2[0m[91m
[0m[91mwarning sfpowerkit > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning sfpowerkit > salesforce-alm > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[0m[91mwarning sfpowerkit > @salesforce/core > jsforce > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[0m[91mwarning sfpowerkit > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning sfpowerkit > salesforce-alm > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
[0m[91mwarning sfpowerkit > request > har-validator@5.1.5: this library is no longer supported
[0m[91mwarning sfpowerkit > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning sfpowerkit > salesforce-alm > @salesforce/source-deploy-retrieve > @salesforce/core > jsforce > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning "sfpowerkit > ts-node@9.1.1" has unmet peer dependency "typescript@>=2.7".
[0m[91mwarning "sfpowerkit > cli-ux > @oclif/command@1.8.0" has unmet peer dependency "@oclif/config@^1".
[0mRemoving intermediate container 09d7509a42a9
---> d827b83a0943
Step 6/6 : RUN sfdx plugins
---> Running in 009f705b5fce
sfpowerkit 3.2.2
Removing intermediate container 009f705b5fce
---> 0dc8d8abe911
Successfully built 0dc8d8abe911
Successfully tagged ddb0c5c60e0169d58463c72eb783ac1f0884b061:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . ddb0c5c60e0169d58463c72eb783ac1f0884b061
.
[Pipeline] withDockerContainer
Jenkins seems to be running inside container fe6d4fc6cbe49e4c126ed82d97d5c68109ffedd7901e6bf00dc4ce2044f428ce
but /var/jenkins_home/workspace/test could not be found among []
but /var/jenkins_home/workspace/test@tmp could not be found among []
$ docker run -t -d -u 1000:1000 -w /var/jenkins_home/workspace/test -v /var/jenkins_home/workspace/test:/var/jenkins_home/workspace/test:rw,z -v /var/jenkins_home/workspace/test@tmp:/var/jenkins_home/workspace/test@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ddb0c5c60e0169d58463c72eb783ac1f0884b061 cat
$ docker top b7a8153bdf05dd4b6ad499cb3277b7d1c97cc51c4cac0a1e8bc5b11d47a82fd6 -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] echo
build step
[Pipeline] sh
+ pwd
/var/jenkins_home/workspace/test
[Pipeline] sh
+ node --version
v14.14.0
[Pipeline] sh
+ npm --version
6.14.8
[Pipeline] sh
+ sfdx --version
sfdx-cli/7.116.2 linux-x64 node-v14.14.0
[Pipeline] sh
+ sfdx plugins --core
You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.3 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.1 (core)
@oclif/plugin-update 1.4.0-3 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.10 (core)
apex 0.2.8 (core)
auth 1.7.1 (core)
config 1.2.24 (core)
custom-metadata 1.0.12 (core)
data 0.6.1 (core)
generator 1.2.0 (core)
limits 1.2.1 (core)
org 1.7.0 (core)
salesforce-alm 52.3.1 (core)
schema 1.0.8 (core)
sfdx-cli 7.116.2 (core)
source 1.0.12 (core)
telemetry 1.2.3 (core)
templates 52.1.0 (core)
user 1.4.0 (core)
[Pipeline] sh
+ sfdx plugins
no plugins installed
[Pipeline] sh
+ sfdx commands
Command Description
───────────────────────────────────── ───────────────────────────────────────────────────────────────────────────────────────────────────────
alias:list list username aliases for the Salesforce CLI
alias:set set username aliases for the Salesforce CLI
alias:unset unsets aliases for the Salesforce CLI
auth:accesstoken:store authorize an org using an existing Salesforce access token
auth:device:login authorize an org using a device code
auth:jwt:grant authorize an org using the JWT flow
auth:list list auth connection information
auth:logout log out from authorized orgs
auth:sfdxurl:store Authorize an org using an SFDX auth URL
auth:web:login authorize an org using the web login flow
autocomplete display autocomplete installation instructions
commands list all the commands
config:get get config var values for given names
config:list lists the config variables that the Salesforce CLI uses for various commands and tasks.
config:set sets the configuration variables that the Salesforce CLI uses for various commands and tasks.
config:unset unsets the local and global configuration variables for the Salesforce CLI.
force:analytics:template:create add an Analytics template to your workspace
force:apex:class:create create an Apex class
force:apex:execute executes anonymous Apex code
force:apex:log:get fetch debug logs
force:apex:log:list display a list of IDs and general information about debug logs
force:apex:log:tail
force:apex:test:report display test results for a specific asynchronous test run
force:apex:test:run invoke Apex tests
force:apex:trigger:create create an Apex trigger
force:cmdt:create creates a new custom metadata type in the current project
force:cmdt:field:create generate a custom metadata field based on the field type provided
force:cmdt:generate generates a custom metadata type and all its records for the provided sObject
force:cmdt:record:create create a new record for a given custom metadata type in the current project
force:cmdt:record:insert create new custom metadata type records from a CSV file
force:community:create creates an Experience Cloud site using a template
force:community:publish publishes an Experience Builder site to make it live
force:community:template:list retrieves the list of templates available in your org
force:data:bulk:delete bulk delete records from a csv file
force:data:bulk:status view the status of a bulk data load job or batch
force:data:bulk:upsert bulk upsert records from a CSV file
force:data:record:create creates and inserts a record
force:data:record:delete deletes a single record
force:data:record:get displays a single record
force:data:record:update updates a single record
force:data:soql:query execute a SOQL query
force:data:tree:export export data from an org
force:data:tree:import import data into an org
force:lightning:app:create create a Lightning app
force:lightning:component:create create a bundle for an Aura component or a Lightning web component
force:lightning:event:create create a Lightning event
force:lightning:interface:create create a Lightning interface
force:lightning:lint analyze (lint) Aura component code
force:lightning:lwc:test:create creates a Lightning web component test file with boilerplate code inside a __tests__ directory.
force:lightning:lwc:test:run invokes Lightning Web Components Jest unit tests.
force:lightning:lwc:test:setup install Jest unit testing tools for Lightning Web Components.
force:lightning:test:create create a Lightning test
force:limits:api:display display current org’s limits
force:limits:recordcounts:display display record counts for the specified standard and custom objects
force:mdapi:convert convert metadata from the Metadata API format into the source format
force:mdapi:deploy deploy metadata to an org using Metadata API
force:mdapi:deploy:cancel cancel a metadata deployment
force:mdapi:deploy:report check the status of a metadata deployment
force:mdapi:describemetadata display the metadata types enabled for your org
force:mdapi:listmetadata display properties of metadata components of a specified type
force:mdapi:retrieve retrieve metadata from an org using Metadata API
force:mdapi:retrieve:report check the status of a metadata retrieval
force:org:clone clone a sandbox org
force:org:create create a scratch or sandbox org
force:org:delete mark a scratch or sandbox org for deletion
force:org:display get the description for the current or target org
force:org:list list all orgs you’ve created or authenticated to
force:org:open open your default scratch org, or another specified org
force:org:shape:create Create a scratch org configuration (shape) based on the specified source org
force:org:shape:delete delete all org shapes for a target org
force:org:shape:list list all org shapes you’ve created
force:org:snapshot:create snapshot a scratch org
force:org:snapshot:delete delete a scratch org snapshot
force:org:snapshot:get get details about a scratch org snapshot
force:org:snapshot:list list scratch org snapshots
force:org:status report sandbox org creation status and authenticate to org
force:package1:version:create create a first-generation package version in the release org
force:package1:version:create:get retrieve the status of a package version creation request
force:package1:version:display display details about a first-generation package version
force:package1:version:list list package versions for the specified first-generation package or for the org
force:package:create create a package
force:package:delete delete a package
force:package:install install a package in the target org
force:package:install:report retrieve the status of a package installation request
force:package:installed:list list the org’s installed packages
force:package:list list all packages in the Dev Hub org
force:package:uninstall uninstall a second-generation package from the target org
force:package:uninstall:report retrieve status of package uninstall request
force:package:update update package details
force:package:version:create create a package version
force:package:version:create:list list package version creation requests
force:package:version:create:report retrieve details about a package version creation request
force:package:version:delete delete a package version
force:package:version:displayancestry display the ancestry tree for a 2GP managed package version
force:package:version:list list all package versions in the Dev Hub org
force:package:version:promote promote a package version to released
force:package:version:report retrieve details about a package version in the Dev Hub org
force:package:version:update update a package version
force:project:create create a Salesforce DX project
force:schema:sobject:describe displays the metadata for a standard or custom object
force:schema:sobject:list list all objects of a specified category
force:source:convert convert source into Metadata API format
force:source:delete delete source from your project and from a non-source-tracked org
force:source:deploy deploy source to an org Use this command to deploy source (metadata that’s in source format) to an org.
force:source:deploy:cancel cancel a source deployment
force:source:deploy:report check the status of a metadata deployment
force:source:ignored:list check your local project package directories for forceignored files
force:source:manifest:create create a project manifest that lists the metadata components you want to deploy or retrieve
force:source:open edit a Lightning Page with Lightning App Builder
force:source:pull pull source from the scratch org to the project
force:source:push push source to a scratch org from the project
force:source:retrieve retrieve source from an org
force:source:status list local changes and/or changes in a scratch org
force:source:tracking:clear clear all local source tracking information
force:source:tracking:reset reset local and remote source tracking
force:staticresource:create create a static resource
force:user:create create a user for a scratch org
force:user:display displays information about a user of a scratch org
force:user:list list all authenticated users of an org
force:user:password:generate generate a password for scratch org users
force:user:permset:assign assign a permission set to one or more users of an org
force:visualforce:component:create create a Visualforce component
force:visualforce:page:create create a Visualforce page
help display help for sfdx
plugins list installed plugins
plugins:generate create a new sfdx-cli plugin
plugins:inspect displays installation properties of a plugin
plugins:install installs a plugin into the CLI
plugins:link links a plugin into the CLI for development
plugins:uninstall removes a plugin from the CLI
plugins:update update installed plugins
update update the sfdx CLI
which show which plugin a command is in
[Pipeline] sh
+ sfdx sfpowerkit --help
› Error: command sfpowerkit not found
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 b7a8153bdf05dd4b6ad499cb3277b7d1c97cc51c4cac0a1e8bc5b11d47a82fd6
$ docker rm -f b7a8153bdf05dd4b6ad499cb3277b7d1c97cc51c4cac0a1e8bc5b11d47a82fd6
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE