Pull request #203 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 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18+6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 (e909a560fcda1b48efb44af8962fe41f58a3d35d) 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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-203/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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-203/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 ‘prd-centos7-docker-4c-2g-27882’ Running on prd-centos7-docker-4c-2g-27885 in /w/workspace/_app-service-configurable_PR-203 [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-203 # 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 Merging remotes/origin/master commit 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 into PR head commit 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 Merge succeeded, producing 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 Checking out Revision 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 (PR-203) > 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/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # 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 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # timeout=10 Commit message: "refactor: Update profiles for change in Trigger configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:16:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:16:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:16:12 ========================================================= 21:16:12 EdgeX Global Pipelines Version Info 21:16:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:16:15 ------------------- 21:16:15 stable info: 21:16:15 ------------------- 21:16:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:16:15 Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 21:16:15 Message: update stable to v1.0.183 21:16:15 ------------------- 21:16:15 experimental info: 21:16:15 ------------------- 21:16:15 Commited By: **** collab-it+edgex@linuxfoundation.org 21:16:15 Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 21:16:15 Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:16:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:16:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:16:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cd0dce [Pipeline] echo 21:16:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:16:20 provisioning config files... 21:16:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-203@tmp/config7604739822991507439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:20 ---> docker-login.sh 21:16:20 nexus3.edgexfoundry.org:10001 21:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:21 Configure a credential helper to remove this warning. See 21:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:21 21:16:21 Login Succeeded 21:16:21 nexus3.edgexfoundry.org:10002 21:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:21 Configure a credential helper to remove this warning. See 21:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:21 21:16:21 Login Succeeded 21:16:21 nexus3.edgexfoundry.org:10003 21:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:21 Configure a credential helper to remove this warning. See 21:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:21 21:16:21 Login Succeeded 21:16:21 nexus3.edgexfoundry.org:10004 21:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:21 Configure a credential helper to remove this warning. See 21:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:21 21:16:21 Login Succeeded 21:16:21 docker.io 21:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:22 Configure a credential helper to remove this warning. See 21:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:22 21:16:22 Login Succeeded 21:16:22 ---> docker-login.sh ends [Pipeline] } 21:16:22 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 21:16:23 + git log --format=format:%s -1 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 [Pipeline] echo 21:16:23 GIT_COMMIT: 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18, Commit Message: refactor: Update profiles for change in Trigger configuration [Pipeline] echo 21:16:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:16:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:16:23 21:16:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:16:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:16:24 latest: Pulling from edgex-devops/git-semver 21:16:24 31603596830f: Pulling fs layer 21:16:24 2a8b12db71e7: Pulling fs layer 21:16:24 6ca5941a6612: Pulling fs layer 21:16:24 ecc8261a40a4: Pulling fs layer 21:16:24 ecc8261a40a4: Waiting 21:16:24 2a8b12db71e7: Verifying Checksum 21:16:24 2a8b12db71e7: Download complete 21:16:24 31603596830f: Verifying Checksum 21:16:24 31603596830f: Download complete 21:16:24 ecc8261a40a4: Verifying Checksum 21:16:24 ecc8261a40a4: Download complete 21:16:24 6ca5941a6612: Verifying Checksum 21:16:24 6ca5941a6612: Download complete 21:16:24 31603596830f: Pull complete 21:16:24 2a8b12db71e7: Pull complete 21:16:25 6ca5941a6612: Pull complete 21:16:25 ecc8261a40a4: Pull complete 21:16:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:16:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:16:26 prd-centos7-docker-4c-2g-27885 does not seem to be running inside a container 21:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-203 -v /w/workspace/_app-service-configurable_PR-203:/w/workspace/_app-service-configurable_PR-203:rw,z -v /w/workspace/_app-service-configurable_PR-203@tmp:/w/workspace/_app-service-configurable_PR-203@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:16:28 $ docker top f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:28 [ssh-agent] Looking for ssh-agent implementation... 21:16:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:28 $ docker exec f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 ssh-agent 21:16:28 SSH_AUTH_SOCK=/tmp/ssh-CW0EgpDrbyKD/agent.12 21:16:28 SSH_AGENT_PID=18 21:16:28 Running ssh-add (command line suppressed) 21:16:29 Identity added: /w/workspace/_app-service-configurable_PR-203@tmp/private_key_6482958759637511836.key (/w/workspace/_app-service-configurable_PR-203@tmp/private_key_6482958759637511836.key) 21:16:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:29 + git tag --points-at HEAD [Pipeline] } 21:16:29 $ docker exec --env ******** --env ******** f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 ssh-agent -k 21:16:29 unset SSH_AUTH_SOCK; 21:16:29 unset SSH_AGENT_PID; 21:16:29 echo Agent pid 18 killed; 21:16:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:16:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:29 [ssh-agent] Looking for ssh-agent implementation... 21:16:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:29 $ docker exec f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 ssh-agent 21:16:30 SSH_AUTH_SOCK=/tmp/ssh-vpNdW1ciUC65/agent.48 21:16:30 SSH_AGENT_PID=53 21:16:30 Running ssh-add (command line suppressed) 21:16:30 Identity added: /w/workspace/_app-service-configurable_PR-203@tmp/private_key_5941340467095043575.key (/w/workspace/_app-service-configurable_PR-203@tmp/private_key_5941340467095043575.key) 21:16:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:30 + git semver init 21:16:30 # -> Open(): unable to determine branch for HEAD 21:16:30 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-203/.git 21:16:30 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-203 21:16:30 # $SEMVER_REMOTE_NAME = origin 21:16:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:16:30 # $SEMVER_USER_NAME = edgex-jenkins 21:16:30 # $SEMVER_BRANCH = PR-203 21:16:30 # $SEMVER_TEMP = /tmp/semver-760839491 21:16:30 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 21:16:31 # '/tmp/semver-760839491' -> '/w/workspace/_app-service-configurable_PR-203/.semver' 21:16:31 # -> Force: false 21:16:31 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-203/.semver [Pipeline] } 21:16:31 $ docker exec --env ******** --env ******** f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 ssh-agent -k 21:16:31 unset SSH_AUTH_SOCK; 21:16:31 unset SSH_AGENT_PID; 21:16:31 echo Agent pid 53 killed; 21:16:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:32 + git semver [Pipeline] } 21:16:32 $ docker stop --time=1 f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 21:16:33 $ docker rm -f f76b06f1f4585187ca7bc1950bf0b2fee13b616ff1d1c88d198478bda70e7df4 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:16:34 Stashed 1 file(s) [Pipeline] echo 21:16:34 [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 21:16:50 Still waiting to schedule task 21:16:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:16:50 Still waiting to schedule task 21:16:50 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:19:06 Running on prd-centos7-docker-4c-2g-27886 in /w/workspace/_app-service-configurable_PR-203 [Pipeline] { [Pipeline] ws 21:19:06 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:19:08 using credential edgex-jenkins-ssh 21:19:08 Cloning the remote Git repository 21:19:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:19:08 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:19:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:19:09 > git --version # timeout=10 21:19:09 > git --version # 'git version 2.24.3' 21:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:19:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:19:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:19:10 Merging remotes/origin/master commit 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 into PR head commit 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 21:19:10 Merge succeeded, producing 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 21:19:10 Checking out Revision 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 (PR-203) 21:19:10 > git config core.sparsecheckout # timeout=10 21:19:10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # timeout=10 21:19:10 > git remote # timeout=10 21:19:10 > git config --get remote.origin.url # timeout=10 21:19:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:10 > git merge 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 # timeout=10 21:19:10 > git rev-parse HEAD^{commit} # timeout=10 21:19:10 > git config core.sparsecheckout # timeout=10 21:19:10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # timeout=10 21:19:13 Commit message: "refactor: Update profiles for change in Trigger configuration" 21:19:13 > git --version # timeout=10 21:19:13 > git --version # 'git version 2.24.3' 21:19:13 fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:19:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:19:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:19:16 + sudo service docker restart 21:19:16 + true 21:19:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:19:17 provisioning config files... 21:19:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config397355276961911139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:17 ---> docker-login.sh 21:19:17 nexus3.edgexfoundry.org:10001 21:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:18 Configure a credential helper to remove this warning. See 21:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:18 21:19:18 Login Succeeded 21:19:18 nexus3.edgexfoundry.org:10002 21:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:18 Configure a credential helper to remove this warning. See 21:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:18 21:19:18 Login Succeeded 21:19:18 nexus3.edgexfoundry.org:10003 21:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:18 Configure a credential helper to remove this warning. See 21:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:18 21:19:18 Login Succeeded 21:19:18 nexus3.edgexfoundry.org:10004 21:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:18 Configure a credential helper to remove this warning. See 21:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:18 21:19:18 Login Succeeded 21:19:18 docker.io 21:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:19 Configure a credential helper to remove this warning. See 21:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:19 21:19:19 Login Succeeded 21:19:19 ---> docker-login.sh ends [Pipeline] } 21:19:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:19:19 ========================================================= 21:19:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:19:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:19:20 + 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 . 21:19:20 Sending build context to Docker daemon 100.9kB 21:19:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:19:20 Step 2/8 : FROM ${BASE} 21:19:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:19:20 188c0c94c7c5: Pulling fs layer 21:19:20 0ef7d3d256c8: Pulling fs layer 21:19:20 de9db76c5a1d: Pulling fs layer 21:19:20 bca2f99d35d6: Pulling fs layer 21:19:20 93359f2a8cfa: Pulling fs layer 21:19:20 7c6f9722023f: Pulling fs layer 21:19:20 a35cf1a2eb13: Pulling fs layer 21:19:20 93359f2a8cfa: Waiting 21:19:20 7c6f9722023f: Waiting 21:19:20 a35cf1a2eb13: Waiting 21:19:20 bca2f99d35d6: Waiting 21:19:20 de9db76c5a1d: Verifying Checksum 21:19:20 de9db76c5a1d: Download complete 21:19:20 0ef7d3d256c8: Download complete 21:19:20 93359f2a8cfa: Verifying Checksum 21:19:20 188c0c94c7c5: Verifying Checksum 21:19:20 188c0c94c7c5: Download complete 21:19:20 7c6f9722023f: Verifying Checksum 21:19:20 7c6f9722023f: Download complete 21:19:20 188c0c94c7c5: Pull complete 21:19:21 0ef7d3d256c8: Pull complete 21:19:21 de9db76c5a1d: Pull complete 21:19:23 a35cf1a2eb13: Verifying Checksum 21:19:23 a35cf1a2eb13: Download complete 21:19:24 bca2f99d35d6: Verifying Checksum 21:19:24 bca2f99d35d6: Download complete 21:19:29 bca2f99d35d6: Pull complete 21:19:29 93359f2a8cfa: Pull complete 21:19:29 7c6f9722023f: Pull complete 21:19:34 a35cf1a2eb13: Pull complete 21:19:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:19:34 ---> a62c8e92a672 21:19:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:19:34 ---> Running in c974a537686e 21:19:34 Removing intermediate container c974a537686e 21:19:34 ---> 911c459cc82d 21:19:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:34 ---> Running in 5ffb2515b874 21:19:35 Removing intermediate container 5ffb2515b874 21:19:35 ---> 926fca36e00c 21:19:35 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 21:19:35 ---> Running in d3d5f869e61c 21:19:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:19:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:19:38 (1/6) Installing libc-dev (0.7.2-r3) 21:19:38 (2/6) Installing libsodium (1.0.18-r0) 21:19:38 (3/6) Installing pkgconf (1.7.2-r0) 21:19:38 (4/6) Installing libsodium-dev (1.0.18-r0) 21:19:38 (5/6) Installing libzmq (4.3.3-r0) 21:19:38 (6/6) Installing zeromq-dev (4.3.3-r0) 21:19:38 Executing busybox-1.31.1-r19.trigger 21:19:38 OK: 167 MiB in 45 packages 21:19:39 Removing intermediate container d3d5f869e61c 21:19:39 ---> a56a5c4d9ae7 21:19:39 Step 6/8 : WORKDIR /app 21:19:39 ---> Running in 8a9592ff1ff7 21:19:39 Removing intermediate container 8a9592ff1ff7 21:19:39 ---> 06d09bd2fd50 21:19:39 Step 7/8 : COPY . . 21:19:39 ---> 981379d69bc8 21:19:39 Step 8/8 : RUN go mod download 21:19:40 ---> Running in e15bba16f20c 21:19:40 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.20: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory 21:19:40 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] } [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 Post stage [Pipeline] libraryResource [Pipeline] sh 21:19:42 ---> job-cost.sh 21:19:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VIT9 21:19:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:20:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27887 in /w/workspace/_app-service-configurable_PR-203 [Pipeline] { [Pipeline] ws 21:20:03 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:20:08 using credential edgex-jenkins-ssh 21:20:08 Cloning the remote Git repository 21:20:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:20:08 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:20:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:20:08 > git --version # timeout=10 21:20:08 > git --version # 'git version 2.17.1' 21:20:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:20:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:20:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:20:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:20:10 Merging remotes/origin/master commit 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 into PR head commit 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 21:20:10 Merge succeeded, producing 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 21:20:10 Checking out Revision 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 (PR-203) 21:20:10 > git config core.sparsecheckout # timeout=10 21:20:10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # timeout=10 21:20:10 > git remote # timeout=10 21:20:10 > git config --get remote.origin.url # timeout=10 21:20:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:10 > git merge 6a27a6ac6e3c2a272a97c90a1aa1cb3f69845ca2 # timeout=10 21:20:10 > git rev-parse HEAD^{commit} # timeout=10 21:20:10 > git config core.sparsecheckout # timeout=10 21:20:10 > git checkout -f 4cd0dce284f2eeacab07479a6c28f2c2ed8e1a18 # timeout=10 21:20:14 Commit message: "refactor: Update profiles for change in Trigger configuration" 21:20:14 > git --version # timeout=10 21:20:14 > git --version # 'git version 2.17.1' 21:20:14 fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 21:20:15 21:20:15 GitHub has been notified of this commit’s build result 21:20:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:20:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:20:17 + true 21:20:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:20:20 provisioning config files... 21:20:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5943235859921213374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:20 ---> docker-login.sh 21:20:20 nexus3.edgexfoundry.org:10001 21:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:22 Configure a credential helper to remove this warning. See 21:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:22 21:20:22 Login Succeeded 21:20:22 nexus3.edgexfoundry.org:10002 21:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:22 Configure a credential helper to remove this warning. See 21:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:22 21:20:22 Login Succeeded 21:20:22 nexus3.edgexfoundry.org:10003 21:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:23 Configure a credential helper to remove this warning. See 21:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:23 21:20:23 Login Succeeded 21:20:23 nexus3.edgexfoundry.org:10004 21:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:23 Configure a credential helper to remove this warning. See 21:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:23 21:20:23 Login Succeeded 21:20:23 docker.io 21:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:24 Configure a credential helper to remove this warning. See 21:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:24 21:20:24 Login Succeeded 21:20:24 ---> docker-login.sh ends [Pipeline] } 21:20:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:24 ========================================================= 21:20:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:20:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:20:25 + 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 . 21:20:25 Sending build context to Docker daemon 100.9kB 21:20:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:20:25 Step 2/8 : FROM ${BASE} 21:20:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:20:25 5f621e34cdf4: Pulling fs layer 21:20:25 a4357932f1b6: Pulling fs layer 21:20:25 18c013af1878: Pulling fs layer 21:20:25 00ac8860ef70: Pulling fs layer 21:20:25 63d7cb157983: Pulling fs layer 21:20:25 b116817d02f9: Pulling fs layer 21:20:25 745a02a5169b: Pulling fs layer 21:20:25 b116817d02f9: Waiting 21:20:25 00ac8860ef70: Waiting 21:20:25 745a02a5169b: Waiting 21:20:25 63d7cb157983: Waiting 21:20:25 18c013af1878: Verifying Checksum 21:20:25 18c013af1878: Download complete 21:20:25 a4357932f1b6: Verifying Checksum 21:20:25 a4357932f1b6: Download complete 21:20:25 63d7cb157983: Verifying Checksum 21:20:25 63d7cb157983: Download complete 21:20:26 b116817d02f9: Download complete 21:20:26 5f621e34cdf4: Verifying Checksum 21:20:26 5f621e34cdf4: Download complete 21:20:27 5f621e34cdf4: Pull complete 21:20:27 a4357932f1b6: Pull complete 21:20:28 18c013af1878: Pull complete 21:20:29 745a02a5169b: Verifying Checksum 21:20:29 745a02a5169b: Download complete 21:20:29 00ac8860ef70: Verifying Checksum 21:20:29 00ac8860ef70: Download complete 21:20:30 lf-activate-venv(): INFO: Adding /tmp/venv-VIT9/bin to PATH 21:20:30 INFO: No Stack... 21:20:30 INFO: Retrieving Pricing Info for: v1-standard-2 21:20:30 INFO: Archiving Costs [Pipeline] sh 21:20:30 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:20:30 + cut -d, -f6 [Pipeline] lock 21:20:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] 21:20:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] did not exist. Created. 21:20:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:31 + echo total: 0.029999999329447746 [Pipeline] stash 21:20:31 Stashed 1 file(s) [Pipeline] } 21:20:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:32 Failed in branch amd64 21:20:39 00ac8860ef70: Pull complete 21:20:40 63d7cb157983: Pull complete 21:20:40 b116817d02f9: Pull complete 21:20:43 745a02a5169b: Pull complete 21:20:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:20:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:20:43 ---> b7e6874047d6 21:20:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:20:46 ---> Running in 35f6bff96151 21:20:47 Removing intermediate container 35f6bff96151 21:20:47 ---> 76833c49a19f 21:20:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:20:47 ---> Running in 39508462809e 21:20:49 Removing intermediate container 39508462809e 21:20:49 ---> 9438ec444a17 21:20:49 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 21:20:49 ---> Running in 3b9ffd7de08d 21:20:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:20:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:20:52 (1/6) Installing libc-dev (0.7.2-r3) 21:20:52 (2/6) Installing libsodium (1.0.18-r0) 21:20:52 (3/6) Installing pkgconf (1.7.2-r0) 21:20:52 (4/6) Installing libsodium-dev (1.0.18-r0) 21:20:52 (5/6) Installing libzmq (4.3.3-r0) 21:20:53 (6/6) Installing zeromq-dev (4.3.3-r0) 21:20:53 Executing busybox-1.31.1-r19.trigger 21:20:53 OK: 144 MiB in 45 packages 21:20:54 Removing intermediate container 3b9ffd7de08d 21:20:54 ---> 9480cda0cb13 21:20:54 Step 6/8 : WORKDIR /app 21:20:54 ---> Running in 7830ba0f8e4e 21:20:55 Removing intermediate container 7830ba0f8e4e 21:20:55 ---> 2fbaf6bb2f95 21:20:55 Step 7/8 : COPY . . 21:20:55 ---> ce84d0379bbf 21:20:55 Step 8/8 : RUN go mod download 21:20:56 ---> Running in 85811afdf701 21:20:57 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.20: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory 21:20:57 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] } [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 21:20:59 ---> job-cost.sh 21:20:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m5PZ 21:21:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:23:45 lf-activate-venv(): INFO: Adding /tmp/venv-m5PZ/bin to PATH 21:23:45 INFO: No Stack... 21:23:45 INFO: Retrieving Pricing Info for: lf-standard-4 21:23:46 INFO: Archiving Costs [Pipeline] sh 21:23:46 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:23:46 + cut -d, -f6 [Pipeline] lock 21:23:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] 21:23:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] did not exist. Created. 21:23:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:47 /w/workspace/app-service-configurable/1@tmp/durable-6903266d/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-6903266d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:23:47 + echo total: 0.20999999344348907 [Pipeline] stash 21:23:47 Warning: overwriting stash ‘stack-cost’ 21:23:48 Stashed 1 file(s) [Pipeline] } 21:23:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:49 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 21:23:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:23:53 ---> package-listing.sh 21:23:53 ++ facter osfamily 21:23:53 ++ tr '[:upper:]' '[:lower:]' 21:23:53 + OS_FAMILY=redhat 21:23:53 + workspace=/w/workspace/_app-service-configurable_PR-203 21:23:53 + START_PACKAGES=/tmp/packages_start.txt 21:23:53 + END_PACKAGES=/tmp/packages_end.txt 21:23:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:23:53 + PACKAGES=/tmp/packages_start.txt 21:23:53 + '[' /w/workspace/_app-service-configurable_PR-203 ']' 21:23:53 + PACKAGES=/tmp/packages_end.txt 21:23:53 + case "${OS_FAMILY}" in 21:23:53 + rpm -qa 21:23:53 + sort 21:23:58 + '[' -f /tmp/packages_start.txt ']' 21:23:58 + '[' -f /tmp/packages_end.txt ']' 21:23:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:23:58 + '[' /w/workspace/_app-service-configurable_PR-203 ']' 21:23:58 + mkdir -p /w/workspace/_app-service-configurable_PR-203/archives/ 21:23:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-203/archives/ [Pipeline] echo 21:23:58 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:23:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:23:59 21:23:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:23:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:23:59 alpine: Pulling from edgex-lftools-log-publisher 21:23:59 df20fa9351a1: Pulling fs layer 21:23:59 36b3adc4ff6f: Pulling fs layer 21:23:59 8ad3a11d3b57: Pulling fs layer 21:23:59 46f8f816bc3b: Pulling fs layer 21:23:59 93b61091891f: Pulling fs layer 21:23:59 93b9cdb0e59b: Pulling fs layer 21:23:59 5e14af77c1be: Pulling fs layer 21:23:59 01666e4c0597: Pulling fs layer 21:23:59 aa168da1d23b: Pulling fs layer 21:23:59 93b9cdb0e59b: Waiting 21:23:59 5e14af77c1be: Waiting 21:23:59 01666e4c0597: Waiting 21:23:59 aa168da1d23b: Waiting 21:23:59 93b61091891f: Waiting 21:23:59 36b3adc4ff6f: Verifying Checksum 21:23:59 36b3adc4ff6f: Download complete 21:23:59 46f8f816bc3b: Verifying Checksum 21:23:59 46f8f816bc3b: Download complete 21:24:00 df20fa9351a1: Verifying Checksum 21:24:00 df20fa9351a1: Download complete 21:24:00 93b9cdb0e59b: Download complete 21:24:00 5e14af77c1be: Verifying Checksum 21:24:00 5e14af77c1be: Download complete 21:24:00 93b61091891f: Verifying Checksum 21:24:00 93b61091891f: Download complete 21:24:00 01666e4c0597: Verifying Checksum 21:24:00 01666e4c0597: Download complete 21:24:00 df20fa9351a1: Pull complete 21:24:00 36b3adc4ff6f: Pull complete 21:24:01 8ad3a11d3b57: Verifying Checksum 21:24:01 8ad3a11d3b57: Download complete 21:24:02 8ad3a11d3b57: Pull complete 21:24:02 46f8f816bc3b: Pull complete 21:24:02 93b61091891f: Pull complete 21:24:02 aa168da1d23b: Verifying Checksum 21:24:02 aa168da1d23b: Download complete 21:24:03 93b9cdb0e59b: Pull complete 21:24:03 5e14af77c1be: Pull complete 21:24:03 01666e4c0597: Pull complete 21:24:10 aa168da1d23b: Pull complete 21:24:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:24:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:24:10 prd-centos7-docker-4c-2g-27885 does not seem to be running inside a container 21:24:10 $ 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-203/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-203 -v /w/workspace/_app-service-configurable_PR-203:/w/workspace/_app-service-configurable_PR-203:rw,z -v /w/workspace/_app-service-configurable_PR-203@tmp:/w/workspace/_app-service-configurable_PR-203@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:24:14 $ docker top ab1a75f59d37764b4ac45a003ee1b2cf8e6d456e5c314fdcbbb7e599f7418f43 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:24:15 + mkdir -p /var/log/sa [Pipeline] sh 21:24:15 + ls /var/log/sa-host 21:24:15 + sadf -c /var/log/sa-host/sa23 21:24:15 file_magic: OK 21:24:15 HZ: Using current value: 100 21:24:15 file_header: OK 21:24:15 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 21:24:15 Statistics: 21:24:15 Hnuu...uuuununununu... 21:24:15 File successfully converted to sysstat format version 12.2.1 21:24:15 + sadf -c /var/log/sa-host/sa26 21:24:15 file_magic: OK 21:24:15 HZ: Using current value: 100 21:24:15 file_header: OK 21:24:15 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 21:24:15 Statistics: 21:24:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:24:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:15 provisioning config files... 21:24:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-203@tmp/config2553499730050211333tmp [Pipeline] { [Pipeline] echo 21:24:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:24:16 ---> create-netrc.sh [Pipeline] } 21:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:24:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:24:16 ---> python-tools-install.sh [Pipeline] echo 21:24:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:24:17 ---> sudo-logs.sh 21:24:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:24:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:24:17 ---> job-cost.sh 21:24:17 lf-activate-venv: SKIPPING 21:24:17 DEBUG: total: 0.20999999344348907 21:24:17 INFO: Retrieving Stack Cost... 21:24:18 INFO: Retrieving Pricing Info for: v1-standard-2 21:24:19 INFO: Archiving Costs [Pipeline] echo 21:24:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:24:19 ---> logs-deploy.sh 21:24:19 lf-activate-venv: SKIPPING 21:24:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-203/1 21:24:19 INFO: archiving workspace using pattern(s): 21:24:21 Archives upload complete. 21:24:21 INFO: archiving logs to Nexus