Pull request #504 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 02fcb0ee35132ff22f35b0d09624d5321ba76276+33a8a0fb1d1881fd1b73fa23662390bbef39c173 (96bcbd7a5bf449a0305b2f0c3424195918a757ea) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9862674123014398949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12010119360245612834.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-504/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-504/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16772078820876692132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-504/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1067044106780940041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13596569815464288950.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-504/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-504/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2522277263093087040.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3114 in /w/workspace/_app-service-configurable_PR-504 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-504 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit 02fcb0ee35132ff22f35b0d09624d5321ba76276 Merge succeeded, producing 02fcb0ee35132ff22f35b0d09624d5321ba76276 Checking out Revision 02fcb0ee35132ff22f35b0d09624d5321ba76276 (PR-504) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02fcb0ee35132ff22f35b0d09624d5321ba76276 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02fcb0ee35132ff22f35b0d09624d5321ba76276 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:02:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:02:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:02:33 ========================================================= 12:02:33 EdgeX Global Pipelines Version Info 12:02:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:02:33 ------------------- 12:02:33 stable info: 12:02:33 ------------------- 12:02:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:02:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:33 Message: update stable to v1.0.244 12:02:34 ------------------- 12:02:34 experimental info: 12:02:34 ------------------- 12:02:34 Commited By: **** collab-it+edgex@linuxfoundation.org 12:02:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:34 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:02:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-504 [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-504 [Pipeline] echo 12:02:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-504 [Pipeline] echo 12:02:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02fcb0ee35132ff22f35b0d09624d5321ba76276 [Pipeline] echo 12:02:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02fcb0e [Pipeline] echo 12:02:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:36 provisioning config files... 12:02:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-504@tmp/config18124460181973498524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:36 ---> docker-login.sh 12:02:36 nexus3.edgexfoundry.org:10001 12:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:36 Configure a credential helper to remove this warning. See 12:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:36 12:02:36 Login Succeeded 12:02:36 nexus3.edgexfoundry.org:10002 12:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:37 Configure a credential helper to remove this warning. See 12:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:37 12:02:37 Login Succeeded 12:02:37 nexus3.edgexfoundry.org:10003 12:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:37 Configure a credential helper to remove this warning. See 12:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:37 12:02:37 Login Succeeded 12:02:37 nexus3.edgexfoundry.org:10004 12:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:37 Configure a credential helper to remove this warning. See 12:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:37 12:02:37 Login Succeeded 12:02:37 docker.io 12:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:37 Configure a credential helper to remove this warning. See 12:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:37 12:02:37 Login Succeeded 12:02:37 ---> docker-login.sh ends [Pipeline] } 12:02:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:02:38 + git rev-list -1 --merges 02fcb0ee35132ff22f35b0d09624d5321ba76276~1..02fcb0ee35132ff22f35b0d09624d5321ba76276 [Pipeline] echo 12:02:38 -----------> git rev-list -1 --merges 02fcb0ee35132ff22f35b0d09624d5321ba76276~1..02fcb0ee35132ff22f35b0d09624d5321ba76276 02fcb0ee35132ff22f35b0d09624d5321ba76276 [false] [Pipeline] sh 12:02:38 + git log --format=format:%s -1 02fcb0ee35132ff22f35b0d09624d5321ba76276 [Pipeline] echo 12:02:38 ========================================================= 12:02:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:02:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:39 + git log --format=format:%s -1 02fcb0ee35132ff22f35b0d09624d5321ba76276 [Pipeline] echo 12:02:39 [semverPrep] GIT_COMMIT: 02fcb0ee35132ff22f35b0d09624d5321ba76276, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:02:39 [semverPrep] This is not a build commit. [Pipeline] sh 12:02:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:39 + grep -v github /etc/ssh/ssh_known_hosts 12:02:39 + [ -e /tmp/ssh_known_hosts ] 12:02:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:02:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:02:39 + sudo tee -a /etc/ssh/ssh_known_hosts 12:02:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:40 12:02:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:02:40 b85a868b505f: Pulling fs layer 12:02:40 e2be974225ed: Pulling fs layer 12:02:40 339a4e72a1f5: Pulling fs layer 12:02:40 988bab9f4d93: Pulling fs layer 12:02:40 1469e6f7b9e6: Pulling fs layer 12:02:40 eaf3925da568: Pulling fs layer 12:02:40 bab4dde63d76: Pulling fs layer 12:02:40 bde34c3a00c8: Pulling fs layer 12:02:40 b352a97aabf1: Pulling fs layer 12:02:40 4872d77fe225: Pulling fs layer 12:02:40 5851b861e8e6: Pulling fs layer 12:02:40 bab4dde63d76: Waiting 12:02:40 bde34c3a00c8: Waiting 12:02:40 b352a97aabf1: Waiting 12:02:40 4872d77fe225: Waiting 12:02:40 5851b861e8e6: Waiting 12:02:40 988bab9f4d93: Waiting 12:02:40 1469e6f7b9e6: Waiting 12:02:40 eaf3925da568: Waiting 12:02:40 e2be974225ed: Verifying Checksum 12:02:40 e2be974225ed: Download complete 12:02:40 988bab9f4d93: Verifying Checksum 12:02:40 988bab9f4d93: Download complete 12:02:40 1469e6f7b9e6: Verifying Checksum 12:02:40 1469e6f7b9e6: Download complete 12:02:40 339a4e72a1f5: Verifying Checksum 12:02:40 339a4e72a1f5: Download complete 12:02:40 eaf3925da568: Download complete 12:02:40 bde34c3a00c8: Verifying Checksum 12:02:40 bde34c3a00c8: Download complete 12:02:40 b352a97aabf1: Verifying Checksum 12:02:40 b352a97aabf1: Download complete 12:02:40 4872d77fe225: Verifying Checksum 12:02:40 4872d77fe225: Download complete 12:02:40 5851b861e8e6: Verifying Checksum 12:02:40 5851b861e8e6: Download complete 12:02:40 b85a868b505f: Verifying Checksum 12:02:40 b85a868b505f: Download complete 12:02:41 bab4dde63d76: Verifying Checksum 12:02:41 bab4dde63d76: Download complete 12:02:42 b85a868b505f: Pull complete 12:02:42 e2be974225ed: Pull complete 12:02:42 339a4e72a1f5: Pull complete 12:02:42 988bab9f4d93: Pull complete 12:02:42 1469e6f7b9e6: Pull complete 12:02:43 eaf3925da568: Pull complete 12:02:45 bab4dde63d76: Pull complete 12:02:45 bde34c3a00c8: Pull complete 12:02:45 b352a97aabf1: Pull complete 12:02:45 4872d77fe225: Pull complete 12:02:45 5851b861e8e6: Pull complete 12:02:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:45 prd-ubuntu20.04-docker-8c-8g-3114 does not seem to be running inside a container 12:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-504 -v /w/workspace/_app-service-configurable_PR-504:/w/workspace/_app-service-configurable_PR-504:rw,z -v /w/workspace/_app-service-configurable_PR-504@tmp:/w/workspace/_app-service-configurable_PR-504@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 ******** -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 ******** -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:46 $ docker top b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 -eo pid,comm 12:02:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:02:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:47 [ssh-agent] Looking for ssh-agent implementation... 12:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:47 $ docker exec b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 ssh-agent 12:02:47 SSH_AUTH_SOCK=/tmp/ssh-nMg50OXdR82U/agent.31 12:02:47 SSH_AGENT_PID=38 12:02:47 Running ssh-add (command line suppressed) 12:02:47 Identity added: /w/workspace/_app-service-configurable_PR-504@tmp/private_key_4823126097608697108.key (/w/workspace/_app-service-configurable_PR-504@tmp/private_key_4823126097608697108.key) 12:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:47 + git tag --points-at HEAD [Pipeline] } 12:02:47 $ docker exec --env ******** --env ******** b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 ssh-agent -k 12:02:47 unset SSH_AUTH_SOCK; 12:02:47 unset SSH_AGENT_PID; 12:02:47 echo Agent pid 38 killed; 12:02:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:47 [ssh-agent] Looking for ssh-agent implementation... 12:02:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:48 $ docker exec b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 ssh-agent 12:02:48 SSH_AUTH_SOCK=/tmp/ssh-A7hiiqUc1E44/agent.70 12:02:48 SSH_AGENT_PID=76 12:02:48 Running ssh-add (command line suppressed) 12:02:48 Identity added: /w/workspace/_app-service-configurable_PR-504@tmp/private_key_7643860536038634601.key (/w/workspace/_app-service-configurable_PR-504@tmp/private_key_7643860536038634601.key) 12:02:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:48 + git semver init 12:02:48 2023-01-19 12:02:48,827 [run_init] DEBUG init version:0.0.0 force:False 12:02:48 2023-01-19 12:02:48,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-504/.semver 12:02:48 2023-01-19 12:02:48,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-504/.semver 12:02:48 2023-01-19 12:02:48,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-504/.semver'], cwd=/w/workspace/_app-service-configurable_PR-504, universal_newlines=False, shell=None, istream=None) 12:02:49 2023-01-19 12:02:49,691 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-504/.git/info/exclude 12:02:49 2023-01-19 12:02:49,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-504/.semver/PR-504 with force:False 12:02:49 2023-01-19 12:02:49,691 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-504/.semver/PR-504 12:02:49 2023-01-19 12:02:49,695 [execute] INFO git cat-file --batch-check 12:02:49 2023-01-19 12:02:49,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-504/.semver, universal_newlines=False, shell=None, istream=) 12:02:49 2023-01-19 12:02:49,701 [execute] INFO git cat-file --batch 12:02:49 2023-01-19 12:02:49,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-504/.semver, universal_newlines=False, shell=None, istream=) 12:02:49 2023-01-19 12:02:49,706 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-504/.semver/PR-504 12:02:49 0.0.0 [Pipeline] } 12:02:49 $ docker exec --env ******** --env ******** b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 ssh-agent -k 12:02:49 unset SSH_AUTH_SOCK; 12:02:49 unset SSH_AGENT_PID; 12:02:49 echo Agent pid 76 killed; 12:02:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:50 + git semver [Pipeline] } 12:02:50 $ docker stop --time=1 b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 12:02:52 $ docker rm -f --volumes b1feb5b4e953e39d153f2d4b9ea4913b42eac70061a64095e257c575046af370 [Pipeline] // withDockerContainer [Pipeline] sh 12:02:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:02:52 Stashed 1 file(s) [Pipeline] echo 12:02:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:53 provisioning config files... 12:02:53 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-504@tmp/config3055028916206985964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:53 ---> docker-login.sh 12:02:53 nexus3.edgexfoundry.org:10001 12:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:53 Configure a credential helper to remove this warning. See 12:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:53 12:02:53 Login Succeeded 12:02:53 nexus3.edgexfoundry.org:10002 12:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:53 Configure a credential helper to remove this warning. See 12:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:53 12:02:53 Login Succeeded 12:02:53 nexus3.edgexfoundry.org:10003 12:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:53 Configure a credential helper to remove this warning. See 12:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:53 12:02:53 Login Succeeded 12:02:53 nexus3.edgexfoundry.org:10004 12:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:53 Configure a credential helper to remove this warning. See 12:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:53 12:02:53 Login Succeeded 12:02:53 docker.io 12:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:54 Configure a credential helper to remove this warning. See 12:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:54 12:02:54 Login Succeeded 12:02:54 ---> docker-login.sh ends [Pipeline] } 12:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:02:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:54 ========================================================= 12:02:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:02:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:02:54 Sending build context to Docker daemon 3.219MB 12:02:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:02:54 Step 2/12 : FROM ${BASE} AS builder 12:02:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:02:54 213ec9aee27d: Pulling fs layer 12:02:54 4583459ba037: Pulling fs layer 12:02:54 93c1e223e6f2: Pulling fs layer 12:02:54 53926ce57604: Pulling fs layer 12:02:54 21b2b0c7a3f4: Pulling fs layer 12:02:54 22ff95d597cd: Pulling fs layer 12:02:54 12d6caf4c0d1: Pulling fs layer 12:02:54 96b7cbca73a9: Pulling fs layer 12:02:54 a7acece74701: Pulling fs layer 12:02:54 53926ce57604: Waiting 12:02:54 22ff95d597cd: Waiting 12:02:54 96b7cbca73a9: Waiting 12:02:54 21b2b0c7a3f4: Waiting 12:02:54 a7acece74701: Waiting 12:02:54 12d6caf4c0d1: Waiting 12:02:54 93c1e223e6f2: Download complete 12:02:54 4583459ba037: Verifying Checksum 12:02:54 4583459ba037: Download complete 12:02:54 21b2b0c7a3f4: Verifying Checksum 12:02:54 21b2b0c7a3f4: Download complete 12:02:55 22ff95d597cd: Verifying Checksum 12:02:55 22ff95d597cd: Download complete 12:02:55 213ec9aee27d: Verifying Checksum 12:02:55 213ec9aee27d: Download complete 12:02:55 12d6caf4c0d1: Download complete 12:02:55 213ec9aee27d: Pull complete 12:02:55 4583459ba037: Pull complete 12:02:55 93c1e223e6f2: Pull complete 12:02:56 a7acece74701: Verifying Checksum 12:02:56 a7acece74701: Download complete 12:02:56 53926ce57604: Verifying Checksum 12:02:56 53926ce57604: Download complete 12:02:56 96b7cbca73a9: Verifying Checksum 12:03:00 53926ce57604: Pull complete 12:03:00 21b2b0c7a3f4: Pull complete 12:03:00 22ff95d597cd: Pull complete 12:03:00 12d6caf4c0d1: Pull complete 12:03:01 96b7cbca73a9: Pull complete 12:03:02 a7acece74701: Pull complete 12:03:02 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:03:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:03:02 ---> db6d94c90886 12:03:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:03:04 ---> Running in 678f0cd8710c 12:03:04 Removing intermediate container 678f0cd8710c 12:03:04 ---> ef931b805fba 12:03:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:04 ---> Running in 2317bb9bb832 12:03:04 Removing intermediate container 2317bb9bb832 12:03:04 ---> 2c0a8b2533f7 12:03:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:04 ---> Running in 0a6e80608343 12:03:04 Removing intermediate container 0a6e80608343 12:03:04 ---> 03aa8562c83e 12:03:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:04 ---> Running in eb237483c880 12:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:03:05 OK: 211 MiB in 51 packages 12:03:05 Removing intermediate container eb237483c880 12:03:05 ---> 2d0e701f5e6d 12:03:05 Step 7/12 : WORKDIR /app 12:03:06 ---> Running in e7bf0f9b280b 12:03:06 Removing intermediate container e7bf0f9b280b 12:03:06 ---> 677eb62ac8e9 12:03:06 Step 8/12 : COPY go.mod vendor* ./ 12:03:06 ---> f6d44fe9b972 12:03:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:06 ---> Running in 2bfdc52de33f 12:03:08 Still waiting to schedule task 12:03:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:03:52 Removing intermediate container 2bfdc52de33f 12:03:52 ---> f580490a38dd 12:03:52 Step 10/12 : COPY . . 12:03:52 ---> dd10fd5543db 12:03:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:52 ---> Running in acbdd9749df8 12:03:52 Removing intermediate container acbdd9749df8 12:03:52 ---> 53670c989e16 12:03:52 Step 12/12 : RUN $MAKE 12:03:52 ---> Running in 59530c2e6be4 12:03:52 noop 12:03:52 Removing intermediate container 59530c2e6be4 12:03:52 ---> 9bfa878e7087 12:03:52 Successfully built 9bfa878e7087 12:03:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:53 + docker inspect -f . ci-base-image-x86_64 12:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:53 prd-ubuntu20.04-docker-8c-8g-3114 does not seem to be running inside a container 12:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-504 -v /w/workspace/_app-service-configurable_PR-504:/w/workspace/_app-service-configurable_PR-504:rw,z -v /w/workspace/_app-service-configurable_PR-504@tmp:/w/workspace/_app-service-configurable_PR-504@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:03:53 $ docker top 59163744f996e189be4dd8554b5805b5e0d002e3639090aa1b07a2445fafa902 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:54 + go version 12:03:54 go version go1.18.7 linux/amd64 [Pipeline] } 12:03:54 $ docker stop --time=1 59163744f996e189be4dd8554b5805b5e0d002e3639090aa1b07a2445fafa902 12:03:55 $ docker rm -f --volumes 59163744f996e189be4dd8554b5805b5e0d002e3639090aa1b07a2445fafa902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:56 + docker inspect -f . ci-base-image-x86_64 12:03:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:56 prd-ubuntu20.04-docker-8c-8g-3114 does not seem to be running inside a container 12:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-504 -v /w/workspace/_app-service-configurable_PR-504:/w/workspace/_app-service-configurable_PR-504:rw,z -v /w/workspace/_app-service-configurable_PR-504@tmp:/w/workspace/_app-service-configurable_PR-504@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:03:57 $ docker top 80cc86cce7362e377209ffe99590964dc14cd95b440a88d2742e852195ecafb9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:57 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-504 [Pipeline] fileExists [Pipeline] sh 12:03:57 + make test 12:03:57 go test -race -coverprofile=coverage.out ./... 12:04:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:15 go vet ./... 12:04:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:24 ./bin/test-attribution-txt.sh 12:04:24 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:04:24 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:24 $ docker stop --time=1 80cc86cce7362e377209ffe99590964dc14cd95b440a88d2742e852195ecafb9 12:04:26 $ docker rm -f --volumes 80cc86cce7362e377209ffe99590964dc14cd95b440a88d2742e852195ecafb9 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:27 + ls -al . 12:04:27 total 176 12:04:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 12:03 . 12:04:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 12:02 .. 12:04:27 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 12:02 .dockerignore 12:04:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 12:02 .git 12:04:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 12:02 .github 12:04:27 -rw-rw-r-- 1 jenkins jenkins 171 Jan 19 12:02 .gitignore 12:04:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 12:02 .semver 12:04:27 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 19 12:02 Attribution.txt 12:04:27 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 19 12:02 CHANGELOG.md 12:04:27 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 19 12:02 Dockerfile 12:04:27 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 12:02 GOVERNANCE.md 12:04:27 -rw-rw-r-- 1 jenkins jenkins 688 Jan 19 12:02 Jenkinsfile 12:04:27 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 12:02 LICENSE 12:04:27 -rw-rw-r-- 1 jenkins jenkins 618 Jan 19 12:02 OWNERS.md 12:04:27 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 19 12:02 README.md 12:04:27 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 12:02 VERSION 12:04:27 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 12:02 bin 12:04:27 -rw-r--r-- 1 jenkins jenkins 13 Jan 19 12:03 coverage.out 12:04:27 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 19 12:02 go.mod 12:04:27 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 19 12:02 go.sum 12:04:27 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 19 12:02 main.go 12:04:27 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 19 12:02 makefile 12:04:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 12:02 res 12:04:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 12:02 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:28 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=02fcb0ee35132ff22f35b0d09624d5321ba76276 --label arch=amd64 --label version=0.0.0 . 12:04:28 Sending build context to Docker daemon 3.22MB 12:04:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:04:28 Step 2/26 : FROM ${BASE} AS builder 12:04:28 ---> 9bfa878e7087 12:04:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:04:28 ---> Running in 76795ce7a4d1 12:04:28 Removing intermediate container 76795ce7a4d1 12:04:28 ---> 63f4bd660e29 12:04:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:04:28 ---> Running in 3a72019f89f1 12:04:28 Removing intermediate container 3a72019f89f1 12:04:28 ---> f219e330e9e5 12:04:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:04:28 ---> Running in a13e9a5b6578 12:04:28 Removing intermediate container a13e9a5b6578 12:04:28 ---> e8781052c3a5 12:04:28 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:28 ---> Running in abb8f05513e3 12:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:29 OK: 211 MiB in 51 packages 12:04:29 Removing intermediate container abb8f05513e3 12:04:29 ---> 76946f4f4365 12:04:29 Step 7/26 : WORKDIR /app 12:04:29 ---> Running in 1d6fbb353078 12:04:29 Removing intermediate container 1d6fbb353078 12:04:29 ---> c83d3d0fc538 12:04:29 Step 8/26 : COPY go.mod vendor* ./ 12:04:29 ---> 992c08072d63 12:04:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:29 ---> Running in 30a907e971fc 12:04:30 Removing intermediate container 30a907e971fc 12:04:30 ---> 14d46200881f 12:04:30 Step 10/26 : COPY . . 12:04:31 ---> c08e26c56e97 12:04:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:31 ---> Running in e434c9ae6719 12:04:31 Removing intermediate container e434c9ae6719 12:04:31 ---> e8574b736d46 12:04:31 Step 12/26 : RUN $MAKE 12:04:31 ---> Running in 56767fed4792 12:04:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.20 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:04:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3115 in /w/workspace/_app-service-configurable_PR-504 [Pipeline] { [Pipeline] ws 12:04:38 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:04:38 Selected Git installation does not exist. Using Default 12:04:38 The recommended git tool is: NONE 12:04:44 using credential edgex-jenkins-ssh 12:04:44 Cloning the remote Git repository 12:04:44 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:04:44 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:04:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:44 > git --version # timeout=10 12:04:44 > git --version # 'git version 2.25.1' 12:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:46 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit 02fcb0ee35132ff22f35b0d09624d5321ba76276 12:04:47 Merge succeeded, producing 02fcb0ee35132ff22f35b0d09624d5321ba76276 12:04:47 Checking out Revision 02fcb0ee35132ff22f35b0d09624d5321ba76276 (PR-504) 12:04:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:04:47 > git config core.sparsecheckout # timeout=10 12:04:47 > git checkout -f 02fcb0ee35132ff22f35b0d09624d5321ba76276 # timeout=10 12:04:47 > git remote # timeout=10 12:04:47 > git config --get remote.origin.url # timeout=10 12:04:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:47 > git merge 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 12:04:47 > git rev-parse HEAD^{commit} # timeout=10 12:04:47 > git config core.sparsecheckout # timeout=10 12:04:47 > git checkout -f 02fcb0ee35132ff22f35b0d09624d5321ba76276 # timeout=10 12:04:47 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:04:47 > git --version # timeout=10 12:04:47 > git --version # 'git version 2.25.1' 12:04:47 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:04:49 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:49 Dload Upload Total Spent Left Speed 12:04:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 12:04:49 Removing intermediate container 56767fed4792 12:04:49 ---> cef9ad82a5c3 12:04:49 Step 13/26 : FROM alpine:3.16 12:04:49 3.16: Pulling from library/alpine 12:04:49 ca7dd9ec2225: Pulling fs layer 12:04:49 ca7dd9ec2225: Verifying Checksum 12:04:49 ca7dd9ec2225: Download complete 12:04:49 ca7dd9ec2225: Pull complete 12:04:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:04:49 Status: Downloaded newer image for alpine:3.16 12:04:49 ---> bfe296a52501 12:04:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:04:49 ---> Running in 97eea7569898 12:04:49 Removing intermediate container 97eea7569898 12:04:49 ---> a327e102cad3 12:04:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:04:49 ---> Running in 90de053bd8d0 12:04:49 Removing intermediate container 90de053bd8d0 12:04:49 ---> 7a0e6b7dddd0 12:04:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:04:49 ---> Running in c8f5ee16a338 12:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:49 (1/2) Installing ca-certificates (20220614-r0) 12:04:49 (2/2) Installing dumb-init (1.2.5-r1) 12:04:49 Executing busybox-1.35.0-r17.trigger 12:04:49 Executing ca-certificates-20220614-r0.trigger 12:04:49 OK: 6 MiB in 16 packages 12:04:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:04:50 + sudo tee /etc/docker/daemon.new 12:04:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:04:50 { 12:04:50 "registry-mirrors": [ 12:04:50 "https://nexus3.edgexfoundry.org:10001" 12:04:50 ], 12:04:50 "bip": "10.250.0.254/24", 12:04:50 "hosts": [ 12:04:50 "tcp://0.0.0.0:5555", 12:04:50 "unix:///var/run/docker.sock" 12:04:50 ], 12:04:50 "mtu": 1458, 12:04:50 "selinux-enabled": true, 12:04:50 "seccomp-profile": "/etc/docker/seccomp.json" 12:04:50 } [Pipeline] sh 12:04:50 Removing intermediate container c8f5ee16a338 12:04:50 ---> 1a52190eba7b 12:04:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:04:50 ---> 1855e8acbb09 12:04:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:04:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:04:50 ---> 6c3e45e4274c 12:04:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:04:50 ---> 57da7b8a4a7d 12:04:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:04:50 + sudo service docker restart 12:04:51 ---> 25865b064c43 12:04:51 Step 21/26 : EXPOSE 48095 12:04:51 ---> Running in bbb1a34b785b 12:04:51 Removing intermediate container bbb1a34b785b 12:04:51 ---> c1da84579019 12:04:51 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:04:51 ---> Running in af4ff558c2e6 12:04:51 Removing intermediate container af4ff558c2e6 12:04:51 ---> 2fabb951fa02 12:04:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:04:51 ---> Running in b587ede90b3e 12:04:51 Removing intermediate container b587ede90b3e 12:04:51 ---> 7a538b90922e 12:04:51 Step 24/26 : LABEL arch=amd64 12:04:51 ---> Running in a0d030a62adb 12:04:51 Removing intermediate container a0d030a62adb 12:04:51 ---> 693e34182c88 12:04:51 Step 25/26 : LABEL git_sha=02fcb0ee35132ff22f35b0d09624d5321ba76276 12:04:51 ---> Running in aa753cc8b838 12:04:51 Removing intermediate container aa753cc8b838 12:04:51 ---> e05213a961c8 12:04:51 Step 26/26 : LABEL version=0.0.0 12:04:51 ---> Running in ff7ea925b7d1 12:04:51 Removing intermediate container ff7ea925b7d1 12:04:51 ---> 2ec8fc95e9fc 12:04:51 [Warning] One or more build-args [ARCH] were not consumed 12:04:51 Successfully built 2ec8fc95e9fc 12:04:51 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:52 12:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:53 latest: Pulling from edgex-lftools-log-publisher 12:04:53 5eb5b503b376: Pulling fs layer 12:04:53 5c69ac0246d0: Pulling fs layer 12:04:53 ec43610c2a17: Pulling fs layer 12:04:53 3a2ae6a8a46f: Pulling fs layer 12:04:53 33b1e0a273af: Pulling fs layer 12:04:53 5d3b04190fa2: Pulling fs layer 12:04:53 2f39f015ded8: Pulling fs layer 12:04:53 33b1e0a273af: Waiting 12:04:53 5d3b04190fa2: Waiting 12:04:53 2f39f015ded8: Waiting 12:04:53 3a2ae6a8a46f: Waiting 12:04:53 5c69ac0246d0: Download complete 12:04:53 3a2ae6a8a46f: Verifying Checksum 12:04:53 3a2ae6a8a46f: Download complete 12:04:53 33b1e0a273af: Verifying Checksum 12:04:53 33b1e0a273af: Download complete 12:04:53 5d3b04190fa2: Verifying Checksum 12:04:53 5d3b04190fa2: Download complete 12:04:53 ec43610c2a17: Verifying Checksum 12:04:53 ec43610c2a17: Download complete 12:04:53 5eb5b503b376: Download complete 12:04:54 2f39f015ded8: Verifying Checksum 12:04:54 2f39f015ded8: Download complete 12:04:54 5eb5b503b376: Pull complete 12:04:54 5c69ac0246d0: Pull complete 12:04:55 ec43610c2a17: Pull complete 12:04:55 3a2ae6a8a46f: Pull complete 12:04:55 33b1e0a273af: Pull complete 12:04:55 5d3b04190fa2: Pull complete 12:04:59 2f39f015ded8: Pull complete 12:04:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:59 prd-ubuntu20.04-docker-8c-8g-3114 does not seem to be running inside a container 12:04:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-504 -v /w/workspace/_app-service-configurable_PR-504:/w/workspace/_app-service-configurable_PR-504:rw,z -v /w/workspace/_app-service-configurable_PR-504@tmp:/w/workspace/_app-service-configurable_PR-504@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:01 $ docker top 36ec34cc955f83614f74bd994186c80b5d0de359a52d563453ab906a46a7925b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:01 ---> job-cost.sh 12:05:01 lf-activate-venv: SKIPPING 12:05:01 INFO: No Stack... 12:05:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:02 INFO: Archiving Costs [Pipeline] sh 12:05:02 + cat /w/workspace/_app-service-configurable_PR-504/archives/cost.csv 12:05:02 + cut -d, -f6 [Pipeline] lock 12:05:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] 12:05:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] did not exist. Created. 12:05:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:03 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:03 Stashed 1 file(s) [Pipeline] } 12:05:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:03 $ docker stop --time=1 36ec34cc955f83614f74bd994186c80b5d0de359a52d563453ab906a46a7925b 12:05:04 $ docker rm -f --volumes 36ec34cc955f83614f74bd994186c80b5d0de359a52d563453ab906a46a7925b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:09 provisioning config files... 12:05:09 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config4451736141531724231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:09 ---> docker-login.sh 12:05:09 nexus3.edgexfoundry.org:10001 12:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:10 Configure a credential helper to remove this warning. See 12:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:10 12:05:10 Login Succeeded 12:05:10 nexus3.edgexfoundry.org:10002 12:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:10 Configure a credential helper to remove this warning. See 12:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:10 12:05:10 Login Succeeded 12:05:10 nexus3.edgexfoundry.org:10003 12:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:10 Configure a credential helper to remove this warning. See 12:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:10 12:05:10 Login Succeeded 12:05:10 nexus3.edgexfoundry.org:10004 12:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:11 Configure a credential helper to remove this warning. See 12:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:11 12:05:11 Login Succeeded 12:05:11 docker.io 12:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:11 Configure a credential helper to remove this warning. See 12:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:11 12:05:11 Login Succeeded 12:05:11 ---> docker-login.sh ends [Pipeline] } 12:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:12 ========================================================= 12:05:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:05:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:05:12 Sending build context to Docker daemon 205.3kB 12:05:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:05:12 Step 2/12 : FROM ${BASE} AS builder 12:05:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:05:13 9b18e9b68314: Pulling fs layer 12:05:13 35d82f9e3411: Pulling fs layer 12:05:13 e16973657156: Pulling fs layer 12:05:13 fc693d55d65f: Pulling fs layer 12:05:13 7e9fc2657dce: Pulling fs layer 12:05:13 dda99020689f: Pulling fs layer 12:05:13 db1c61fa0a46: Pulling fs layer 12:05:13 891c053d2c06: Pulling fs layer 12:05:13 7e9fc2657dce: Waiting 12:05:13 dda99020689f: Waiting 12:05:13 db1c61fa0a46: Waiting 12:05:13 891c053d2c06: Waiting 12:05:13 fc693d55d65f: Waiting 12:05:13 e16973657156: Verifying Checksum 12:05:13 e16973657156: Download complete 12:05:13 35d82f9e3411: Verifying Checksum 12:05:13 35d82f9e3411: Download complete 12:05:13 7e9fc2657dce: Verifying Checksum 12:05:13 7e9fc2657dce: Download complete 12:05:13 dda99020689f: Verifying Checksum 12:05:13 dda99020689f: Download complete 12:05:13 9b18e9b68314: Download complete 12:05:14 9b18e9b68314: Pull complete 12:05:14 891c053d2c06: Verifying Checksum 12:05:14 891c053d2c06: Download complete 12:05:14 35d82f9e3411: Pull complete 12:05:15 e16973657156: Pull complete 12:05:15 db1c61fa0a46: Verifying Checksum 12:05:15 db1c61fa0a46: Download complete 12:05:16 fc693d55d65f: Verifying Checksum 12:05:16 fc693d55d65f: Download complete 12:05:28 fc693d55d65f: Pull complete 12:05:28 7e9fc2657dce: Pull complete 12:05:28 dda99020689f: Pull complete 12:05:35 db1c61fa0a46: Pull complete 12:05:36 891c053d2c06: Pull complete 12:05:36 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:05:36 ---> f96f9c87975a 12:05:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:05:38 ---> Running in 210d270e51dd 12:05:38 Removing intermediate container 210d270e51dd 12:05:38 ---> 74ec8b474550 12:05:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:05:38 ---> Running in 87a14adabf1b 12:05:38 Removing intermediate container 87a14adabf1b 12:05:38 ---> 8aaa785f488c 12:05:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:05:38 ---> Running in 66ce61ea9830 12:05:39 Removing intermediate container 66ce61ea9830 12:05:39 ---> fcb52bc5cb14 12:05:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:39 ---> Running in cdf9164a0752 12:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:05:41 OK: 221 MiB in 51 packages 12:05:42 Removing intermediate container cdf9164a0752 12:05:42 ---> 342584ebe045 12:05:42 Step 7/12 : WORKDIR /app 12:05:42 ---> Running in 7d7926ca85dc 12:05:42 Removing intermediate container 7d7926ca85dc 12:05:42 ---> ce36dea0e3aa 12:05:42 Step 8/12 : COPY go.mod vendor* ./ 12:05:43 ---> 14aba3d4b331 12:05:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:43 ---> Running in b684f1ed3989 12:06:51 Removing intermediate container b684f1ed3989 12:06:51 ---> 2c9ecd886be3 12:06:51 Step 10/12 : COPY . . 12:06:51 ---> 8369cdfbc789 12:06:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:51 ---> Running in 26440fa6503d 12:06:51 Removing intermediate container 26440fa6503d 12:06:51 ---> ba661b2d4d4d 12:06:51 Step 12/12 : RUN $MAKE 12:06:51 ---> Running in d6ea298134d1 12:06:51 noop 12:06:51 Removing intermediate container d6ea298134d1 12:06:51 ---> c592ee78bfd7 12:06:51 Successfully built c592ee78bfd7 12:06:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:51 + docker inspect -f . ci-base-image-arm64 12:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-3115 does not seem to be running inside a container 12:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:53 $ docker top 3423c9dbc0b66cb24bd7ad4bc375ba6bdfbe5ce3113a9354956bdb1b154627b3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:54 + go version 12:06:54 go version go1.18.7 linux/arm64 [Pipeline] } 12:06:54 $ docker stop --time=1 3423c9dbc0b66cb24bd7ad4bc375ba6bdfbe5ce3113a9354956bdb1b154627b3 12:06:56 $ docker rm -f --volumes 3423c9dbc0b66cb24bd7ad4bc375ba6bdfbe5ce3113a9354956bdb1b154627b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:57 + docker inspect -f . ci-base-image-arm64 12:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:57 prd-ubuntu20.04-docker-arm64-4c-16g-3115 does not seem to be running inside a container 12:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:58 $ docker top 5e7782ba987628eef92d2ed1a196c6c664f8acaf199893a9ebfa6045f7b1ac8e -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:59 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:06:59 + make test 12:06:59 go test -race -coverprofile=coverage.out ./... 12:09:06 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:06 go vet ./... 12:10:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:57 ./bin/test-attribution-txt.sh 12:10:57 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:10:57 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:10:57 $ docker stop --time=1 5e7782ba987628eef92d2ed1a196c6c664f8acaf199893a9ebfa6045f7b1ac8e 12:10:59 $ docker rm -f --volumes 5e7782ba987628eef92d2ed1a196c6c664f8acaf199893a9ebfa6045f7b1ac8e [Pipeline] // withDockerContainer [Pipeline] sh 12:11:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:01 Warning: overwriting stash ‘coverage-report’ 12:11:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:02 + ls -al . 12:11:02 total 172 12:11:02 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 12:07 . 12:11:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 12:04 .. 12:11:02 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 12:04 .dockerignore 12:11:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 12:04 .git 12:11:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 12:04 .github 12:11:02 -rw-rw-r-- 1 jenkins jenkins 171 Jan 19 12:04 .gitignore 12:11:02 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 19 12:04 Attribution.txt 12:11:02 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 19 12:04 CHANGELOG.md 12:11:02 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 19 12:04 Dockerfile 12:11:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 12:04 GOVERNANCE.md 12:11:02 -rw-rw-r-- 1 jenkins jenkins 688 Jan 19 12:04 Jenkinsfile 12:11:02 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 12:04 LICENSE 12:11:02 -rw-rw-r-- 1 jenkins jenkins 618 Jan 19 12:04 OWNERS.md 12:11:02 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 19 12:04 README.md 12:11:02 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 12:02 VERSION 12:11:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 12:04 bin 12:11:02 -rw-r--r-- 1 jenkins jenkins 13 Jan 19 12:07 coverage.out 12:11:02 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 19 12:04 go.mod 12:11:02 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 19 12:04 go.sum 12:11:02 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 19 12:04 main.go 12:11:02 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 19 12:04 makefile 12:11:02 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 12:04 res 12:11:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 12:04 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:02 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=02fcb0ee35132ff22f35b0d09624d5321ba76276 --label arch=arm64 --label version=0.0.0 . 12:11:02 Sending build context to Docker daemon 206.3kB 12:11:03 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:11:03 Step 2/26 : FROM ${BASE} AS builder 12:11:03 ---> c592ee78bfd7 12:11:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:11:03 ---> Running in 0fcac495142e 12:11:03 Removing intermediate container 0fcac495142e 12:11:03 ---> bf012c262b82 12:11:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:11:03 ---> Running in b45510b342f6 12:11:03 Removing intermediate container b45510b342f6 12:11:03 ---> 21555331aec5 12:11:03 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:11:03 ---> Running in 20ff09a137d1 12:11:04 Removing intermediate container 20ff09a137d1 12:11:04 ---> e9950db58255 12:11:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:04 ---> Running in 403ca4801fc7 12:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:11:06 OK: 221 MiB in 51 packages 12:11:07 Removing intermediate container 403ca4801fc7 12:11:07 ---> 49d282108607 12:11:07 Step 7/26 : WORKDIR /app 12:11:07 ---> Running in 80d7ea3415fc 12:11:07 Removing intermediate container 80d7ea3415fc 12:11:07 ---> af13a99d7e8e 12:11:07 Step 8/26 : COPY go.mod vendor* ./ 12:11:07 ---> 0feb4b36285e 12:11:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:07 ---> Running in 2a38de706474 12:11:10 Removing intermediate container 2a38de706474 12:11:10 ---> 9983b5199772 12:11:10 Step 10/26 : COPY . . 12:11:11 ---> 05e77d62d067 12:11:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:11:11 ---> Running in 75b37450fb14 12:11:11 Removing intermediate container 75b37450fb14 12:11:11 ---> 8d2693a63672 12:11:11 Step 12/26 : RUN $MAKE 12:11:11 ---> Running in 358cfb31482b 12:11:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.20 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:13:19 Removing intermediate container 358cfb31482b 12:13:19 ---> 5ef1fbbd3ae1 12:13:19 Step 13/26 : FROM alpine:3.16 12:13:19 3.16: Pulling from library/alpine 12:13:19 6875df1f5354: Pulling fs layer 12:13:19 6875df1f5354: Verifying Checksum 12:13:19 6875df1f5354: Pull complete 12:13:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:13:19 Status: Downloaded newer image for alpine:3.16 12:13:19 ---> 2b4661558fb8 12:13:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:19 ---> Running in cfd3422ffed9 12:13:19 Removing intermediate container cfd3422ffed9 12:13:19 ---> 31564a25ceed 12:13:19 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:19 ---> Running in e093780d1d90 12:13:19 Removing intermediate container e093780d1d90 12:13:19 ---> 3471dcf9971c 12:13:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:13:19 ---> Running in 0415017b5442 12:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:13:19 (1/2) Installing ca-certificates (20220614-r0) 12:13:19 (2/2) Installing dumb-init (1.2.5-r1) 12:13:19 Executing busybox-1.35.0-r17.trigger 12:13:19 Executing ca-certificates-20220614-r0.trigger 12:13:19 OK: 6 MiB in 16 packages 12:13:19 Removing intermediate container 0415017b5442 12:13:19 ---> 46cb82cb2d98 12:13:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:19 ---> 204bb4362873 12:13:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:13:19 ---> bbc6e6d2e7fd 12:13:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:13:19 ---> e56a6807e06f 12:13:19 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:13:19 ---> 636350f534b7 12:13:19 Step 21/26 : EXPOSE 48095 12:13:19 ---> Running in b25e32e4874b 12:13:19 Removing intermediate container b25e32e4874b 12:13:19 ---> 734ce422539c 12:13:19 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:13:19 ---> Running in 3917affeddca 12:13:19 Removing intermediate container 3917affeddca 12:13:19 ---> 7004971621ae 12:13:19 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:13:19 ---> Running in 7228aad91e0f 12:13:19 Removing intermediate container 7228aad91e0f 12:13:19 ---> a7ea345bf977 12:13:19 Step 24/26 : LABEL arch=arm64 12:13:19 ---> Running in b83494be7276 12:13:19 Removing intermediate container b83494be7276 12:13:19 ---> 0e70190e218f 12:13:19 Step 25/26 : LABEL git_sha=02fcb0ee35132ff22f35b0d09624d5321ba76276 12:13:19 ---> Running in a62326cf2e6b 12:13:19 Removing intermediate container a62326cf2e6b 12:13:19 ---> 583cb495e17d 12:13:19 Step 26/26 : LABEL version=0.0.0 12:13:19 ---> Running in faff3569a012 12:13:19 Removing intermediate container faff3569a012 12:13:19 ---> 849aa549a304 12:13:19 [Warning] One or more build-args [ARCH] were not consumed 12:13:19 Successfully built 849aa549a304 12:13:19 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:19 12:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:20 arm64: Pulling from edgex-lftools-log-publisher 12:13:20 8998bd30e6a1: Pulling fs layer 12:13:20 04944245beec: Pulling fs layer 12:13:20 699f458cf7ca: Pulling fs layer 12:13:20 765212b225bb: Pulling fs layer 12:13:20 f23df028b6ca: Pulling fs layer 12:13:20 d65c8cfc05b1: Pulling fs layer 12:13:20 2437ff75d9bd: Pulling fs layer 12:13:20 f23df028b6ca: Waiting 12:13:20 d65c8cfc05b1: Waiting 12:13:20 2437ff75d9bd: Waiting 12:13:20 765212b225bb: Waiting 12:13:20 04944245beec: Verifying Checksum 12:13:20 04944245beec: Download complete 12:13:20 765212b225bb: Verifying Checksum 12:13:20 765212b225bb: Download complete 12:13:20 f23df028b6ca: Download complete 12:13:20 d65c8cfc05b1: Verifying Checksum 12:13:20 d65c8cfc05b1: Download complete 12:13:20 699f458cf7ca: Verifying Checksum 12:13:20 699f458cf7ca: Download complete 12:13:21 8998bd30e6a1: Download complete 12:13:23 2437ff75d9bd: Verifying Checksum 12:13:23 2437ff75d9bd: Download complete 12:13:25 8998bd30e6a1: Pull complete 12:13:25 04944245beec: Pull complete 12:13:27 699f458cf7ca: Pull complete 12:13:27 765212b225bb: Pull complete 12:13:27 f23df028b6ca: Pull complete 12:13:28 d65c8cfc05b1: Pull complete 12:13:43 2437ff75d9bd: Pull complete 12:13:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:43 prd-ubuntu20.04-docker-arm64-4c-16g-3115 does not seem to be running inside a container 12:13:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:13:46 $ docker top 73fb8083b311a23b34aea617893a06677f57aece3a6da1ed72fb45704cf719cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:47 ---> job-cost.sh 12:13:47 lf-activate-venv: SKIPPING 12:13:47 INFO: No Stack... 12:13:47 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:48 INFO: Archiving Costs [Pipeline] sh 12:13:49 + cut -d, -f6 12:13:49 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:13:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] 12:13:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] did not exist. Created. 12:13:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:50 /w/workspace/app-service-configurable/1@tmp/durable-ea0216d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:13:50 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:50 Warning: overwriting stash ‘stack-cost’ 12:13:50 Stashed 1 file(s) [Pipeline] } 12:13:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-504-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:50 $ docker stop --time=1 73fb8083b311a23b34aea617893a06677f57aece3a6da1ed72fb45704cf719cc 12:13:52 $ docker rm -f --volumes 73fb8083b311a23b34aea617893a06677f57aece3a6da1ed72fb45704cf719cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:13:53 provisioning config files... 12:13:53 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-504@tmp/config16738434631642702855tmp [Pipeline] { [Pipeline] sh 12:13:53 + set +x 12:13:53 + + bash -s -- 12:13:53 curl -s https://codecov.io/bash 12:13:53 12:13:53 _____ _ 12:13:53 / ____| | | 12:13:53 | | ___ __| | ___ ___ _____ __ 12:13:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:13:53 | |___| (_) | (_| | __/ (_| (_) \ V / 12:13:53 \_____\___/ \__,_|\___|\___\___/ \_/ 12:13:53 Bash-1.0.6 12:13:53 12:13:53 12:13:53 ==> git version 2.25.1 found 12:13:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:13:53 Release-Date: 2020-01-08 12:13:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:13:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:13:53 ==> Jenkins CI detected. 12:13:53 current dir:  /w/workspace/_app-service-configurable_PR-504 12:13:53 project root: . 12:13:53 --> token set from env 12:13:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:13:53 ==> Running gcov in . (disable via -X gcov) 12:13:53 ==> Python coveragepy not found 12:13:53 ==> Searching for coverage reports in: 12:13:53 + . 12:13:53 -> Found 1 reports 12:13:53 ==> Detecting git/mercurial file structure 12:13:53 ==> Reading reports 12:13:53 + ./coverage.out bytes=13 12:13:53 ==> Appending adjustments 12:13:53 https://docs.codecov.io/docs/fixing-reports 12:13:54 + Found adjustments 12:13:54 ==> Gzipping contents 12:13:54 4.0K /tmp/codecov.O88mo7.gz 12:13:54 ==> Uploading reports 12:13:54 url: https://codecov.io 12:13:54 query: branch=PR-504&commit=02fcb0ee35132ff22f35b0d09624d5321ba76276&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=504&job=&cmd_args= 12:13:54 -> Pinging Codecov 12:13:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-504&commit=02fcb0ee35132ff22f35b0d09624d5321ba76276&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=504&job=&cmd_args= 12:13:54 -> Uploading to 12:13:54 https://storage.googleapis.com/codecov/v4/raw/2023-01-19/A97CA9966030D2A3747ED39772930CCE/02fcb0ee35132ff22f35b0d09624d5321ba76276/bd007c9e-f1ce-4bd1-8406-0da0f430a8dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T121354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4d68a3bb9e85d19d4bb9f70ae8cbe2298e610d54b4b96fbea124e65fc85bd4b 12:13:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:54 Dload Upload Total Spent Left Speed 12:13:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2290 --:--:-- --:--:-- --:--:-- 2300 12:13:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/02fcb0ee35132ff22f35b0d09624d5321ba76276 [Pipeline] } 12:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:13:56 + [ -d /w/workspace/_app-service-configurable_PR-504/archives ] 12:13:56 + ls -al /w/workspace/_app-service-configurable_PR-504/archives 12:13:56 total 16 12:13:56 drwxr-xr-x 3 root root 4096 Jan 19 12:05 . 12:13:56 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 12:05 .. 12:13:56 drwxr-xr-x 2 root root 4096 Jan 19 12:05 cost 12:13:56 -rw-r--r-- 1 root root 96 Jan 19 12:05 cost.csv 12:13:56 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-504/archives 12:13:56 + ls -al /w/workspace/_app-service-configurable_PR-504/archives 12:13:56 total 16 12:13:56 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 12:05 . 12:13:56 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 12:05 .. 12:13:56 drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 12:05 cost 12:13:56 -rw-r--r-- 1 jenkins jenkins 96 Jan 19 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:57 ---> package-listing.sh 12:13:57 ++ facter osfamily 12:13:57 ++ tr '[:upper:]' '[:lower:]' 12:13:57 + OS_FAMILY=debian 12:13:57 + workspace=/w/workspace/_app-service-configurable_PR-504 12:13:57 + START_PACKAGES=/tmp/packages_start.txt 12:13:57 + END_PACKAGES=/tmp/packages_end.txt 12:13:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:57 + PACKAGES=/tmp/packages_start.txt 12:13:57 + '[' /w/workspace/_app-service-configurable_PR-504 ']' 12:13:57 + PACKAGES=/tmp/packages_end.txt 12:13:57 + case "${OS_FAMILY}" in 12:13:57 + dpkg -l 12:13:57 + grep '^ii' 12:13:57 + '[' -f /tmp/packages_start.txt ']' 12:13:57 + '[' -f /tmp/packages_end.txt ']' 12:13:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:57 + '[' /w/workspace/_app-service-configurable_PR-504 ']' 12:13:57 + mkdir -p /w/workspace/_app-service-configurable_PR-504/archives/ 12:13:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-504/archives/ [Pipeline] echo 12:13:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-504/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:59 prd-ubuntu20.04-docker-8c-8g-3114 does not seem to be running inside a container 12:13:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-504/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-504 -v /w/workspace/_app-service-configurable_PR-504:/w/workspace/_app-service-configurable_PR-504:rw,z -v /w/workspace/_app-service-configurable_PR-504@tmp:/w/workspace/_app-service-configurable_PR-504@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 ******** -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:59 $ docker top 17cb659ce136fc82ad7f23dd78d4969e639675b6b99e5887c85690d9e87d811f -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:59 + touch /tmp/pre-build-complete [Pipeline] sh 12:14:00 + mkdir -p /var/log/sysstat [Pipeline] sh 12:14:00 + ls /var/log/sa-host 12:14:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:00 provisioning config files... 12:14:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-504@tmp/config5717857340689977794tmp [Pipeline] { [Pipeline] echo 12:14:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:14:00 ---> create-netrc.sh [Pipeline] } 12:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:14:01 ---> python-tools-install.sh [Pipeline] echo 12:14:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:14:01 ---> sudo-logs.sh 12:14:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:14:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:14:02 ---> job-cost.sh 12:14:02 lf-activate-venv: SKIPPING 12:14:02 DEBUG: total: 0.2199999988079071 12:14:02 INFO: Retrieving Stack Cost... 12:14:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:14:02 INFO: Archiving Costs [Pipeline] echo 12:14:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:14:03 ---> logs-deploy.sh 12:14:03 lf-activate-venv: SKIPPING 12:14:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-504/1 12:14:03 INFO: archiving workspace using pattern(s): 12:14:04 Archives upload complete. 12:14:04 INFO: archiving logs to Nexus