Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 0311b7b86f0e520c9ede5f06fa779b8617545fef+b49824f9ec169793e39571ce4fd98f03f09d482e (6c14feda974fc4c19c5c809d635d4e855e5cf8a7) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-217/workspace@libs/edgex-global-pipelines # 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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-217/workspace@libs/lf-pipelines # 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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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: true 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30585 in /w/workspace/_app-service-configurable_PR-217 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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 > 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/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b49824f9ec169793e39571ce4fd98f03f09d482e into PR head commit 0311b7b86f0e520c9ede5f06fa779b8617545fef Merge succeeded, producing 0311b7b86f0e520c9ede5f06fa779b8617545fef Checking out Revision 0311b7b86f0e520c9ede5f06fa779b8617545fef (PR-217) > git config core.sparsecheckout # timeout=10 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # 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 b49824f9ec169793e39571ce4fd98f03f09d482e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # timeout=10 Commit message: "refactor: Updated profiles to use service keys for Client names" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:27:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:27:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:27:08 ========================================================= 17:27:08 EdgeX Global Pipelines Version Info 17:27:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:27:09 ------------------- 17:27:09 stable info: 17:27:09 ------------------- 17:27:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:27:09 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 17:27:09 Message: update stable to v1.0.184 17:27:10 ------------------- 17:27:10 experimental info: 17:27:10 ------------------- 17:27:10 Commited By: **** collab-it+edgex@linuxfoundation.org 17:27:10 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 17:27:10 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:27:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:27:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:27:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:27:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:27:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:27:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:27:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0311b7b86f0e520c9ede5f06fa779b8617545fef [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0311b7b [Pipeline] echo 17:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:27:16 provisioning config files... 17:27:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-217@tmp/config3994757856621626554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:16 ---> docker-login.sh 17:27:16 nexus3.edgexfoundry.org:10001 17:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 nexus3.edgexfoundry.org:10002 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 nexus3.edgexfoundry.org:10003 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 nexus3.edgexfoundry.org:10004 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:17 Configure a credential helper to remove this warning. See 17:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:17 17:27:17 Login Succeeded 17:27:17 docker.io 17:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:18 Configure a credential helper to remove this warning. See 17:27:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:18 17:27:18 Login Succeeded 17:27:18 ---> docker-login.sh ends [Pipeline] } 17:27:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:19 + git log --format=format:%s -1 0311b7b86f0e520c9ede5f06fa779b8617545fef [Pipeline] echo 17:27:19 GIT_COMMIT: 0311b7b86f0e520c9ede5f06fa779b8617545fef, Commit Message: refactor: Updated profiles to use service keys for Client names [Pipeline] echo 17:27:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:20 17:27:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:27:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:20 latest: Pulling from edgex-devops/git-semver 17:27:20 31603596830f: Pulling fs layer 17:27:20 2a8b12db71e7: Pulling fs layer 17:27:20 6ca5941a6612: Pulling fs layer 17:27:20 ecc8261a40a4: Pulling fs layer 17:27:20 ecc8261a40a4: Waiting 17:27:20 2a8b12db71e7: Verifying Checksum 17:27:20 2a8b12db71e7: Download complete 17:27:20 31603596830f: Download complete 17:27:20 6ca5941a6612: Verifying Checksum 17:27:20 6ca5941a6612: Download complete 17:27:20 ecc8261a40a4: Verifying Checksum 17:27:20 ecc8261a40a4: Download complete 17:27:21 31603596830f: Pull complete 17:27:21 2a8b12db71e7: Pull complete 17:27:21 6ca5941a6612: Pull complete 17:27:22 ecc8261a40a4: Pull complete 17:27:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:27:22 prd-centos7-docker-4c-2g-30585 does not seem to be running inside a container 17:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-217 -v /w/workspace/_app-service-configurable_PR-217:/w/workspace/_app-service-configurable_PR-217:rw,z -v /w/workspace/_app-service-configurable_PR-217@tmp:/w/workspace/_app-service-configurable_PR-217@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:27:24 $ docker top b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:27:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:25 [ssh-agent] Looking for ssh-agent implementation... 17:27:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:25 $ docker exec b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f ssh-agent 17:27:25 SSH_AUTH_SOCK=/tmp/ssh-QA8GCY4eAe3p/agent.11 17:27:25 SSH_AGENT_PID=16 17:27:25 Running ssh-add (command line suppressed) 17:27:25 Identity added: /w/workspace/_app-service-configurable_PR-217@tmp/private_key_264854242375575423.key (/w/workspace/_app-service-configurable_PR-217@tmp/private_key_264854242375575423.key) 17:27:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:26 + git tag --points-at HEAD [Pipeline] } 17:27:26 $ docker exec --env ******** --env ******** b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f ssh-agent -k 17:27:26 unset SSH_AUTH_SOCK; 17:27:26 unset SSH_AGENT_PID; 17:27:26 echo Agent pid 16 killed; 17:27:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:27:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:26 [ssh-agent] Looking for ssh-agent implementation... 17:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:26 $ docker exec b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f ssh-agent 17:27:26 SSH_AUTH_SOCK=/tmp/ssh-z04kuWb85wwO/agent.44 17:27:26 SSH_AGENT_PID=49 17:27:26 Running ssh-add (command line suppressed) 17:27:27 Identity added: /w/workspace/_app-service-configurable_PR-217@tmp/private_key_2509306176973143407.key (/w/workspace/_app-service-configurable_PR-217@tmp/private_key_2509306176973143407.key) 17:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:27 + git semver init 17:27:27 # -> Open(): unable to determine branch for HEAD 17:27:27 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-217/.git 17:27:27 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-217 17:27:27 # $SEMVER_REMOTE_NAME = origin 17:27:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:27:27 # $SEMVER_USER_NAME = edgex-jenkins 17:27:27 # $SEMVER_BRANCH = PR-217 17:27:27 # $SEMVER_TEMP = /tmp/semver-037283259 17:27:27 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 17:27:28 # '/tmp/semver-037283259' -> '/w/workspace/_app-service-configurable_PR-217/.semver' 17:27:28 # -> Force: false 17:27:28 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-217/.semver [Pipeline] } 17:27:28 $ docker exec --env ******** --env ******** b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f ssh-agent -k 17:27:28 unset SSH_AUTH_SOCK; 17:27:28 unset SSH_AGENT_PID; 17:27:28 echo Agent pid 49 killed; 17:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:27:28 + git semver [Pipeline] } 17:27:28 $ docker stop --time=1 b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f 17:27:30 $ docker rm -f b3d8810f5c2e8b903ebafe759b438009e0f34733629499dc1db7f177033b563f [Pipeline] // withDockerContainer [Pipeline] sh 17:27:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:27:31 Stashed 1 file(s) [Pipeline] echo 17:27:31 [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] node [Pipeline] node 17:27:47 Still waiting to schedule task 17:27:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:27:47 Still waiting to schedule task 17:27:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:29:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30586 in /w/workspace/_app-service-configurable_PR-217 [Pipeline] { [Pipeline] ws 17:29:24 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:29:29 using credential edgex-jenkins-ssh 17:29:29 Cloning the remote Git repository 17:29:29 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:29:29 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:29:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:29:29 > git --version # timeout=10 17:29:29 > git --version # 'git version 2.17.1' 17:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:29:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:29:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:29:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:29:31 Merging remotes/origin/master commit b49824f9ec169793e39571ce4fd98f03f09d482e into PR head commit 0311b7b86f0e520c9ede5f06fa779b8617545fef 17:29:31 Merge succeeded, producing 0311b7b86f0e520c9ede5f06fa779b8617545fef 17:29:31 Checking out Revision 0311b7b86f0e520c9ede5f06fa779b8617545fef (PR-217) 17:29:31 > git config core.sparsecheckout # timeout=10 17:29:31 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # timeout=10 17:29:31 > git remote # timeout=10 17:29:31 > git config --get remote.origin.url # timeout=10 17:29:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:31 > git merge b49824f9ec169793e39571ce4fd98f03f09d482e # timeout=10 17:29:31 > git rev-parse HEAD^{commit} # timeout=10 17:29:31 > git config core.sparsecheckout # timeout=10 17:29:31 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # timeout=10 17:29:35 Commit message: "refactor: Updated profiles to use service keys for Client names" 17:29:36 > git --version # timeout=10 17:29:36 > git --version # 'git version 2.17.1' 17:29:36 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:29:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:29:38 + true 17:29:38 + sudo service docker restart 17:29:39 Running on prd-centos7-docker-4c-2g-30587 in /w/workspace/_app-service-configurable_PR-217 [Pipeline] { [Pipeline] ws 17:29:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:29:41 provisioning config files... 17:29:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3216571759733531716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:41 using credential edgex-jenkins-ssh 17:29:42 Cloning the remote Git repository 17:29:42 ---> docker-login.sh 17:29:42 nexus3.edgexfoundry.org:10001 17:29:41 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:29:41 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:29:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:29:41 > git --version # timeout=10 17:29:42 > git --version # 'git version 2.24.3' 17:29:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:42 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:29:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:42 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:29:42 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:29:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:43 Merging remotes/origin/master commit b49824f9ec169793e39571ce4fd98f03f09d482e into PR head commit 0311b7b86f0e520c9ede5f06fa779b8617545fef 17:29:43 Merge succeeded, producing 0311b7b86f0e520c9ede5f06fa779b8617545fef 17:29:43 Checking out Revision 0311b7b86f0e520c9ede5f06fa779b8617545fef (PR-217) 17:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:43 Configure a credential helper to remove this warning. See 17:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:43 17:29:43 Login Succeeded 17:29:43 nexus3.edgexfoundry.org:10002 17:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:43 Configure a credential helper to remove this warning. See 17:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:43 17:29:43 Login Succeeded 17:29:43 nexus3.edgexfoundry.org:10003 17:29:43 > git config core.sparsecheckout # timeout=10 17:29:43 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # timeout=10 17:29:43 > git remote # timeout=10 17:29:43 > git config --get remote.origin.url # timeout=10 17:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:43 > git merge b49824f9ec169793e39571ce4fd98f03f09d482e # timeout=10 17:29:43 > git rev-parse HEAD^{commit} # timeout=10 17:29:43 > git config core.sparsecheckout # timeout=10 17:29:43 > git checkout -f 0311b7b86f0e520c9ede5f06fa779b8617545fef # timeout=10 17:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:44 Configure a credential helper to remove this warning. See 17:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:44 17:29:44 Login Succeeded 17:29:44 nexus3.edgexfoundry.org:10004 17:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:44 Configure a credential helper to remove this warning. See 17:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:44 17:29:44 Login Succeeded 17:29:44 docker.io 17:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:45 Configure a credential helper to remove this warning. See 17:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:45 17:29:45 Login Succeeded 17:29:45 ---> docker-login.sh ends [Pipeline] } 17:29:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:46 ========================================================= 17:29:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:29:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:29:46 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 17:29:46 Sending build context to Docker daemon 97.28kB 17:29:46 Commit message: "refactor: Updated profiles to use service keys for Client names" 17:29:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:29:46 Step 2/8 : FROM ${BASE} 17:29:46 > git --version # timeout=10 17:29:46 > git --version # 'git version 2.24.3' 17:29:46 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 17:29:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:29:47 5f621e34cdf4: Pulling fs layer 17:29:47 a4357932f1b6: Pulling fs layer 17:29:47 18c013af1878: Pulling fs layer 17:29:47 00ac8860ef70: Pulling fs layer 17:29:47 63d7cb157983: Pulling fs layer 17:29:47 b116817d02f9: Pulling fs layer 17:29:47 745a02a5169b: Pulling fs layer 17:29:47 63d7cb157983: Waiting 17:29:47 b116817d02f9: Waiting 17:29:47 745a02a5169b: Waiting 17:29:47 00ac8860ef70: Waiting 17:29:47 18c013af1878: Download complete 17:29:47 a4357932f1b6: Verifying Checksum 17:29:47 a4357932f1b6: Download complete 17:29:47 63d7cb157983: Verifying Checksum 17:29:47 63d7cb157983: Download complete 17:29:47 b116817d02f9: Download complete 17:29:47 5f621e34cdf4: Verifying Checksum 17:29:47 5f621e34cdf4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:48 5f621e34cdf4: Pull complete 17:29:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:29:48 a4357932f1b6: Pull complete 17:29:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:29:49 + sudo service docker restart 17:29:49 + true 17:29:49 Redirecting to /bin/systemctl restart docker.service 17:29:49 18c013af1878: Pull complete 17:29:49 745a02a5169b: Verifying Checksum 17:29:49 745a02a5169b: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:29:50 provisioning config files... 17:29:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5223291448434646618tmp [Pipeline] { 17:29:50 00ac8860ef70: Verifying Checksum 17:29:50 00ac8860ef70: Download complete [Pipeline] libraryResource [Pipeline] sh 17:29:51 ---> docker-login.sh 17:29:51 nexus3.edgexfoundry.org:10001 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10002 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10003 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10004 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 docker.io 17:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:52 Configure a credential helper to remove this warning. See 17:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:52 17:29:52 Login Succeeded 17:29:52 ---> docker-login.sh ends [Pipeline] } 17:29:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:53 ========================================================= 17:29:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:29:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:29:53 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 17:29:53 Sending build context to Docker daemon 97.28kB 17:29:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:29:53 Step 2/8 : FROM ${BASE} 17:29:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:53 188c0c94c7c5: Pulling fs layer 17:29:53 0ef7d3d256c8: Pulling fs layer 17:29:53 de9db76c5a1d: Pulling fs layer 17:29:53 bca2f99d35d6: Pulling fs layer 17:29:53 93359f2a8cfa: Pulling fs layer 17:29:53 7c6f9722023f: Pulling fs layer 17:29:53 a35cf1a2eb13: Pulling fs layer 17:29:53 93359f2a8cfa: Waiting 17:29:53 bca2f99d35d6: Waiting 17:29:53 7c6f9722023f: Waiting 17:29:53 a35cf1a2eb13: Waiting 17:29:53 de9db76c5a1d: Verifying Checksum 17:29:53 de9db76c5a1d: Download complete 17:29:53 0ef7d3d256c8: Verifying Checksum 17:29:53 0ef7d3d256c8: Download complete 17:29:53 93359f2a8cfa: Verifying Checksum 17:29:53 93359f2a8cfa: Download complete 17:29:53 7c6f9722023f: Verifying Checksum 17:29:53 7c6f9722023f: Download complete 17:29:53 188c0c94c7c5: Verifying Checksum 17:29:53 188c0c94c7c5: Download complete 17:29:54 188c0c94c7c5: Pull complete 17:29:54 0ef7d3d256c8: Pull complete 17:29:54 de9db76c5a1d: Pull complete 17:29:56 a35cf1a2eb13: Verifying Checksum 17:29:56 a35cf1a2eb13: Download complete 17:29:56 bca2f99d35d6: Verifying Checksum 17:29:56 bca2f99d35d6: Download complete 17:30:00 00ac8860ef70: Pull complete 17:30:00 63d7cb157983: Pull complete 17:30:00 b116817d02f9: Pull complete 17:30:01 bca2f99d35d6: Pull complete 17:30:01 93359f2a8cfa: Pull complete 17:30:01 7c6f9722023f: Pull complete 17:30:05 745a02a5169b: Pull complete 17:30:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:30:05 ---> b7e6874047d6 17:30:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:30:07 ---> Running in 7d9f7f9ff683 17:30:08 Removing intermediate container 7d9f7f9ff683 17:30:08 ---> 83f9bbe7e761 17:30:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:08 ---> Running in 168225c8fb2c 17:30:10 Removing intermediate container 168225c8fb2c 17:30:10 ---> ab60251d87cd 17:30:10 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 17:30:10 ---> Running in 794c464bc856 17:30:11 a35cf1a2eb13: Pull complete 17:30:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:30:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:30:11 ---> a62c8e92a672 17:30:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:30:11 ---> Running in 77e54bae4909 17:30:11 Removing intermediate container 77e54bae4909 17:30:11 ---> f52b37cf66ec 17:30:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:11 ---> Running in 2c4db881c49e 17:30:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:30:12 Removing intermediate container 2c4db881c49e 17:30:12 ---> 369729d89794 17:30:12 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 17:30:12 ---> Running in 6c87063b6560 17:30:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:30:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:30:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:30:14 (1/6) Installing libc-dev (0.7.2-r3) 17:30:14 (2/6) Installing libsodium (1.0.18-r0) 17:30:14 (3/6) Installing pkgconf (1.7.2-r0) 17:30:14 (4/6) Installing libsodium-dev (1.0.18-r0) 17:30:14 (5/6) Installing libzmq (4.3.3-r0) 17:30:14 (6/6) Installing zeromq-dev (4.3.3-r0) 17:30:14 Executing busybox-1.31.1-r19.trigger 17:30:14 OK: 144 MiB in 45 packages 17:30:14 (1/6) Installing libc-dev (0.7.2-r3) 17:30:14 (2/6) Installing libsodium (1.0.18-r0) 17:30:15 (3/6) Installing pkgconf (1.7.2-r0) 17:30:15 (4/6) Installing libsodium-dev (1.0.18-r0) 17:30:15 (5/6) Installing libzmq (4.3.3-r0) 17:30:15 (6/6) Installing zeromq-dev (4.3.3-r0) 17:30:15 Executing busybox-1.31.1-r19.trigger 17:30:15 OK: 167 MiB in 45 packages 17:30:16 Removing intermediate container 794c464bc856 17:30:16 ---> fca9c30a7acb 17:30:16 Step 6/8 : WORKDIR /app 17:30:16 ---> Running in 460ec9d03461 17:30:16 Removing intermediate container 6c87063b6560 17:30:16 ---> b3ea88dfe26e 17:30:16 Step 6/8 : WORKDIR /app 17:30:16 ---> Running in 507e7b2d71af 17:30:16 Removing intermediate container 507e7b2d71af 17:30:16 ---> 51a13d136888 17:30:16 Step 7/8 : COPY . . 17:30:16 ---> 5d2bd028d41e 17:30:16 Step 8/8 : RUN go mod download 17:30:16 ---> Running in 1522eb8c895c 17:30:16 Removing intermediate container 460ec9d03461 17:30:16 ---> 6bc69e5208e0 17:30:16 Step 7/8 : COPY . . 17:30:17 ---> 3d4e88b6cc8f 17:30:17 Step 8/8 : RUN go mod download 17:30:17 ---> Running in fe5fe294ba8e 17:30:17 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.30: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory 17:30:17 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } 17:30:18 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.30: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 17:30:19 The command '/bin/sh -c go mod download' returned a non-zero code: 1 Post stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 17:30:20 ---> job-cost.sh 17:30:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Vh0R [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 17:30:21 ---> job-cost.sh 17:30:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8RAL 17:30:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:31:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:31:01 lf-activate-venv(): INFO: Adding /tmp/venv-Vh0R/bin to PATH 17:31:01 INFO: No Stack... 17:31:02 INFO: Retrieving Pricing Info for: v1-standard-2 17:31:02 INFO: Archiving Costs [Pipeline] sh 17:31:02 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:31:02 + cut -d, -f6 [Pipeline] lock 17:31:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] 17:31:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] did not exist. Created. 17:31:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:03 + echo total: 0.029999999329447746 [Pipeline] stash 17:31:04 Stashed 1 file(s) [Pipeline] } 17:31:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:31:05 Failed in branch amd64 17:32:21 lf-activate-venv(): INFO: Adding /tmp/venv-8RAL/bin to PATH 17:32:21 INFO: No Stack... 17:32:22 INFO: Retrieving Pricing Info for: lf-standard-4 17:32:22 INFO: Archiving Costs [Pipeline] sh 17:32:22 + + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:32:22 cut -d, -f6 [Pipeline] lock 17:32:22 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] 17:32:22 Resource [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] did not exist. Created. 17:32:22 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:32:23 /w/workspace/app-service-configurable/1@tmp/durable-b84d8224/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-b84d8224/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:32:23 + echo total: 0.20999999344348907 [Pipeline] stash 17:32:23 Warning: overwriting stash ‘stack-cost’ 17:32:24 Stashed 1 file(s) [Pipeline] } 17:32:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:32:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:32:30 ---> package-listing.sh 17:32:30 ++ facter osfamily 17:32:30 ++ tr '[:upper:]' '[:lower:]' 17:32:30 + OS_FAMILY=redhat 17:32:30 + workspace=/w/workspace/_app-service-configurable_PR-217 17:32:30 + START_PACKAGES=/tmp/packages_start.txt 17:32:30 + END_PACKAGES=/tmp/packages_end.txt 17:32:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:32:30 + PACKAGES=/tmp/packages_start.txt 17:32:30 + '[' /w/workspace/_app-service-configurable_PR-217 ']' 17:32:30 + PACKAGES=/tmp/packages_end.txt 17:32:30 + case "${OS_FAMILY}" in 17:32:30 + rpm -qa 17:32:30 + sort 17:32:34 + '[' -f /tmp/packages_start.txt ']' 17:32:34 + '[' -f /tmp/packages_end.txt ']' 17:32:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:32:34 + '[' /w/workspace/_app-service-configurable_PR-217 ']' 17:32:34 + mkdir -p /w/workspace/_app-service-configurable_PR-217/archives/ 17:32:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-217/archives/ [Pipeline] echo 17:32:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:32:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:32:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:32:35 17:32:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:32:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:32:36 alpine: Pulling from edgex-lftools-log-publisher 17:32:36 df20fa9351a1: Pulling fs layer 17:32:36 36b3adc4ff6f: Pulling fs layer 17:32:36 8ad3a11d3b57: Pulling fs layer 17:32:36 46f8f816bc3b: Pulling fs layer 17:32:36 93b61091891f: Pulling fs layer 17:32:36 93b9cdb0e59b: Pulling fs layer 17:32:36 5e14af77c1be: Pulling fs layer 17:32:36 01666e4c0597: Pulling fs layer 17:32:36 aa168da1d23b: Pulling fs layer 17:32:36 46f8f816bc3b: Waiting 17:32:36 93b9cdb0e59b: Waiting 17:32:36 5e14af77c1be: Waiting 17:32:36 01666e4c0597: Waiting 17:32:36 aa168da1d23b: Waiting 17:32:36 93b61091891f: Waiting 17:32:36 36b3adc4ff6f: Verifying Checksum 17:32:36 36b3adc4ff6f: Download complete 17:32:36 46f8f816bc3b: Verifying Checksum 17:32:36 46f8f816bc3b: Download complete 17:32:36 df20fa9351a1: Verifying Checksum 17:32:36 df20fa9351a1: Download complete 17:32:36 93b9cdb0e59b: Download complete 17:32:36 5e14af77c1be: Verifying Checksum 17:32:36 5e14af77c1be: Download complete 17:32:36 01666e4c0597: Verifying Checksum 17:32:36 01666e4c0597: Download complete 17:32:36 93b61091891f: Verifying Checksum 17:32:36 93b61091891f: Download complete 17:32:36 df20fa9351a1: Pull complete 17:32:36 36b3adc4ff6f: Pull complete 17:32:36 8ad3a11d3b57: Verifying Checksum 17:32:36 8ad3a11d3b57: Download complete 17:32:37 8ad3a11d3b57: Pull complete 17:32:37 46f8f816bc3b: Pull complete 17:32:38 aa168da1d23b: Verifying Checksum 17:32:38 aa168da1d23b: Download complete 17:32:38 93b61091891f: Pull complete 17:32:39 93b9cdb0e59b: Pull complete 17:32:39 5e14af77c1be: Pull complete 17:32:39 01666e4c0597: Pull complete 17:32:48 aa168da1d23b: Pull complete 17:32:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:32:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:32:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:32:48 prd-centos7-docker-4c-2g-30585 does not seem to be running inside a container 17:32:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-217/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-217 -v /w/workspace/_app-service-configurable_PR-217:/w/workspace/_app-service-configurable_PR-217:rw,z -v /w/workspace/_app-service-configurable_PR-217@tmp:/w/workspace/_app-service-configurable_PR-217@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-lftools-log-publisher:alpine cat 17:32:51 $ docker top 4719cf4c2edc3ea26b4263294474efe8867b00f999f2f6540c4dae607828d486 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:52 + touch /tmp/pre-build-complete [Pipeline] sh 17:32:52 + mkdir -p /var/log/sa [Pipeline] sh 17:32:53 + ls /var/log/sa-host 17:32:53 + sadf -c /var/log/sa-host/sa19 17:32:53 file_magic: OK 17:32:53 HZ: Using current value: 100 17:32:53 file_header: OK 17:32:53 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:32:53 Statistics: 17:32:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:32:53 File successfully converted to sysstat format version 12.2.1 17:32:53 + sadf -c /var/log/sa-host/sa23 17:32:53 file_magic: OK 17:32:53 HZ: Using current value: 100 17:32:53 file_header: OK 17:32:53 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:32:53 Statistics: 17:32:53 Hnuu...uuuununununu... 17:32:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:53 provisioning config files... 17:32:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-217@tmp/config5186323886108589394tmp [Pipeline] { [Pipeline] echo 17:32:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:32:54 ---> create-netrc.sh [Pipeline] } 17:32:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:32:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:32:54 ---> python-tools-install.sh [Pipeline] echo 17:32:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:32:55 ---> sudo-logs.sh 17:32:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:32:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:32:55 ---> job-cost.sh 17:32:55 lf-activate-venv: SKIPPING 17:32:55 DEBUG: total: 0.20999999344348907 17:32:55 INFO: Retrieving Stack Cost... 17:32:56 INFO: Retrieving Pricing Info for: v1-standard-2 17:32:57 INFO: Archiving Costs [Pipeline] echo 17:32:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:32:57 ---> logs-deploy.sh 17:32:57 lf-activate-venv: SKIPPING 17:32:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-217/1 17:32:57 INFO: archiving workspace using pattern(s): 17:32:59 Archives upload complete. 17:32:59 INFO: archiving logs to Nexus