Pull request #164 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 bed0758ad2a2d2e1e46f99ed323f19ce7733e629+618621af6c647468a921ec216f023524fe0aadad (10e2418d2adc1432c9270c6cd6b89a7387e1b620) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-164/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-164/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18307 in /w/workspace/_app-service-configurable_PR-164 [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-164 # 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/164/head:refs/remotes/origin/PR-164 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 618621af6c647468a921ec216f023524fe0aadad into PR head commit bed0758ad2a2d2e1e46f99ed323f19ce7733e629 Merge succeeded, producing bed0758ad2a2d2e1e46f99ed323f19ce7733e629 Checking out Revision bed0758ad2a2d2e1e46f99ed323f19ce7733e629 (PR-164) > git config core.sparsecheckout # timeout=10 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # 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 618621af6c647468a921ec216f023524fe0aadad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # timeout=10 Commit message: "feat: Allow for multiple MessageBus subscriptions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:30 ========================================================= 22:42:30 EdgeX Global Pipelines Version Info 22:42:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:31 ------------------- 22:42:31 stable info: 22:42:31 ------------------- 22:42:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:31 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:42:31 Message: update stable to v1.0.173 22:42:32 ------------------- 22:42:32 experimental info: 22:42:32 ------------------- 22:42:32 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:32 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:42:32 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:42:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:42:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bed0758ad2a2d2e1e46f99ed323f19ce7733e629 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bed0758 [Pipeline] echo 22:42:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:37 provisioning config files... 22:42:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-164@tmp/config5927669501711293606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:38 ---> docker-login.sh 22:42:38 nexus3.edgexfoundry.org:10001 22:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 nexus3.edgexfoundry.org:10002 22:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 nexus3.edgexfoundry.org:10003 22:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:39 Configure a credential helper to remove this warning. See 22:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:39 22:42:39 Login Succeeded 22:42:39 nexus3.edgexfoundry.org:10004 22:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:39 Configure a credential helper to remove this warning. See 22:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:39 22:42:39 Login Succeeded 22:42:39 docker.io 22:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:39 Configure a credential helper to remove this warning. See 22:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:39 22:42:39 Login Succeeded 22:42:39 ---> docker-login.sh ends [Pipeline] } 22:42:39 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 22:42:40 + git log --format=format:%s -1 bed0758ad2a2d2e1e46f99ed323f19ce7733e629 [Pipeline] echo 22:42:40 GIT_COMMIT: bed0758ad2a2d2e1e46f99ed323f19ce7733e629, Commit Message: feat: Allow for multiple MessageBus subscriptions [Pipeline] echo 22:42:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:41 22:42:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:42 latest: Pulling from edgex-devops/git-semver 22:42:42 31603596830f: Pulling fs layer 22:42:42 2a8b12db71e7: Pulling fs layer 22:42:42 6ca5941a6612: Pulling fs layer 22:42:42 ecc8261a40a4: Pulling fs layer 22:42:42 ecc8261a40a4: Waiting 22:42:42 2a8b12db71e7: Verifying Checksum 22:42:42 2a8b12db71e7: Download complete 22:42:42 31603596830f: Verifying Checksum 22:42:42 31603596830f: Download complete 22:42:42 ecc8261a40a4: Verifying Checksum 22:42:42 ecc8261a40a4: Download complete 22:42:42 6ca5941a6612: Verifying Checksum 22:42:42 6ca5941a6612: Download complete 22:42:42 31603596830f: Pull complete 22:42:42 2a8b12db71e7: Pull complete 22:42:43 6ca5941a6612: Pull complete 22:42:43 ecc8261a40a4: Pull complete 22:42:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:43 prd-centos7-docker-4c-2g-18307 does not seem to be running inside a container 22:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-164 -v /w/workspace/_app-service-configurable_PR-164:/w/workspace/_app-service-configurable_PR-164:rw,z -v /w/workspace/_app-service-configurable_PR-164@tmp:/w/workspace/_app-service-configurable_PR-164@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:10004/edgex-devops/git-semver:latest cat 22:42:46 $ docker top 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:46 [ssh-agent] Looking for ssh-agent implementation... 22:42:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:46 $ docker exec 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 ssh-agent 22:42:46 SSH_AUTH_SOCK=/tmp/ssh-QgCCO9nMkhbQ/agent.11 22:42:46 SSH_AGENT_PID=16 22:42:46 Running ssh-add (command line suppressed) 22:42:46 Identity added: /w/workspace/_app-service-configurable_PR-164@tmp/private_key_6939632507438859414.key (/w/workspace/_app-service-configurable_PR-164@tmp/private_key_6939632507438859414.key) 22:42:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:47 + git tag --points-at HEAD [Pipeline] } 22:42:47 $ docker exec --env ******** --env ******** 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 ssh-agent -k 22:42:47 unset SSH_AUTH_SOCK; 22:42:47 unset SSH_AGENT_PID; 22:42:47 echo Agent pid 16 killed; 22:42:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:47 [ssh-agent] Looking for ssh-agent implementation... 22:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:47 $ docker exec 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 ssh-agent 22:42:48 SSH_AUTH_SOCK=/tmp/ssh-nLeksvmyB5c7/agent.45 22:42:48 SSH_AGENT_PID=50 22:42:48 Running ssh-add (command line suppressed) 22:42:48 Identity added: /w/workspace/_app-service-configurable_PR-164@tmp/private_key_504658891235339186.key (/w/workspace/_app-service-configurable_PR-164@tmp/private_key_504658891235339186.key) 22:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:48 + git semver init 22:42:48 # -> Open(): unable to determine branch for HEAD 22:42:48 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-164/.git 22:42:48 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-164 22:42:48 # $SEMVER_REMOTE_NAME = origin 22:42:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:48 # $SEMVER_USER_NAME = edgex-jenkins 22:42:48 # $SEMVER_BRANCH = PR-164 22:42:48 # $SEMVER_TEMP = /tmp/semver-138567094 22:42:48 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 22:42:49 # '/tmp/semver-138567094' -> '/w/workspace/_app-service-configurable_PR-164/.semver' 22:42:49 # -> Force: false 22:42:49 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-164/.semver [Pipeline] } 22:42:49 $ docker exec --env ******** --env ******** 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 ssh-agent -k 22:42:49 unset SSH_AUTH_SOCK; 22:42:49 unset SSH_AGENT_PID; 22:42:49 echo Agent pid 50 killed; 22:42:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:49 + git semver [Pipeline] } 22:42:49 $ docker stop --time=1 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 22:42:51 $ docker rm -f 1f4a265d3f81ed4d64f05eb632b443ea2820bf863fd270fc9d0a0e0d6117c1a7 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:52 Stashed 1 file(s) [Pipeline] echo 22:42:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:43:08 Still waiting to schedule task 22:43:08 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18308’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 22:43:08 Still waiting to schedule task 22:43:08 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:45:43 Running on prd-centos7-docker-4c-2g-18310 in /w/workspace/_app-service-configurable_PR-164 [Pipeline] { [Pipeline] ws 22:45:43 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 22:45:45 using credential edgex-jenkins-ssh 22:45:45 Cloning the remote Git repository 22:45:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:45:46 > git init /w/workspace/app-service-configurable/1 # timeout=10 22:45:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:45:46 > git --version # timeout=10 22:45:46 > git --version # 'git version 2.24.3' 22:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:45:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:45:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:47 Merging remotes/origin/master commit 618621af6c647468a921ec216f023524fe0aadad into PR head commit bed0758ad2a2d2e1e46f99ed323f19ce7733e629 22:45:47 Merge succeeded, producing bed0758ad2a2d2e1e46f99ed323f19ce7733e629 22:45:47 Checking out Revision bed0758ad2a2d2e1e46f99ed323f19ce7733e629 (PR-164) 22:45:47 > git config core.sparsecheckout # timeout=10 22:45:47 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # timeout=10 22:45:47 > git remote # timeout=10 22:45:47 > git config --get remote.origin.url # timeout=10 22:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:47 > git merge 618621af6c647468a921ec216f023524fe0aadad # timeout=10 22:45:47 > git rev-parse HEAD^{commit} # timeout=10 22:45:47 > git config core.sparsecheckout # timeout=10 22:45:47 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # timeout=10 22:45:50 Commit message: "feat: Allow for multiple MessageBus subscriptions" 22:45:50 > git --version # timeout=10 22:45:50 > git --version # 'git version 2.24.3' 22:45:50 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:53 + sudo service docker restart 22:45:53 + true 22:45:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:54 provisioning config files... 22:45:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7737518139452618239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:54 ---> docker-login.sh 22:45:54 nexus3.edgexfoundry.org:10001 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 nexus3.edgexfoundry.org:10002 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 nexus3.edgexfoundry.org:10003 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 nexus3.edgexfoundry.org:10004 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 docker.io 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:56 Configure a credential helper to remove this warning. See 22:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:56 22:45:56 Login Succeeded 22:45:56 ---> docker-login.sh ends [Pipeline] } 22:45:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:56 ========================================================= 22:45:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:45:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:57 + 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 . 22:45:57 Sending build context to Docker daemon 97.28kB 22:45:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:57 Step 2/8 : FROM ${BASE} 22:45:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:57 188c0c94c7c5: Pulling fs layer 22:45:57 0ef7d3d256c8: Pulling fs layer 22:45:57 de9db76c5a1d: Pulling fs layer 22:45:57 bca2f99d35d6: Pulling fs layer 22:45:57 93359f2a8cfa: Pulling fs layer 22:45:57 7c6f9722023f: Pulling fs layer 22:45:57 a35cf1a2eb13: Pulling fs layer 22:45:57 93359f2a8cfa: Waiting 22:45:57 7c6f9722023f: Waiting 22:45:57 a35cf1a2eb13: Waiting 22:45:57 bca2f99d35d6: Waiting 22:45:57 de9db76c5a1d: Verifying Checksum 22:45:57 de9db76c5a1d: Download complete 22:45:57 0ef7d3d256c8: Verifying Checksum 22:45:57 0ef7d3d256c8: Download complete 22:45:57 93359f2a8cfa: Verifying Checksum 22:45:57 93359f2a8cfa: Download complete 22:45:57 188c0c94c7c5: Verifying Checksum 22:45:57 188c0c94c7c5: Download complete 22:45:57 7c6f9722023f: Verifying Checksum 22:45:57 7c6f9722023f: Download complete 22:45:57 188c0c94c7c5: Pull complete 22:45:57 0ef7d3d256c8: Pull complete 22:45:58 de9db76c5a1d: Pull complete 22:45:59 a35cf1a2eb13: Verifying Checksum 22:45:59 a35cf1a2eb13: Download complete 22:46:00 bca2f99d35d6: Verifying Checksum 22:46:00 bca2f99d35d6: Download complete 22:46:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18309 in /w/workspace/_app-service-configurable_PR-164 [Pipeline] { [Pipeline] ws 22:46:01 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 22:46:05 bca2f99d35d6: Pull complete 22:46:05 93359f2a8cfa: Pull complete 22:46:05 7c6f9722023f: Pull complete 22:46:06 using credential edgex-jenkins-ssh 22:46:06 Cloning the remote Git repository 22:46:06 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:46:06 > git init /w/workspace/app-service-configurable/1 # timeout=10 22:46:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:46:06 > git --version # timeout=10 22:46:06 > git --version # 'git version 2.17.1' 22:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:46:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:46:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:08 Merging remotes/origin/master commit 618621af6c647468a921ec216f023524fe0aadad into PR head commit bed0758ad2a2d2e1e46f99ed323f19ce7733e629 22:46:08 Merge succeeded, producing bed0758ad2a2d2e1e46f99ed323f19ce7733e629 22:46:08 Checking out Revision bed0758ad2a2d2e1e46f99ed323f19ce7733e629 (PR-164) 22:46:08 > git config core.sparsecheckout # timeout=10 22:46:08 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # timeout=10 22:46:08 > git remote # timeout=10 22:46:08 > git config --get remote.origin.url # timeout=10 22:46:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:08 > git merge 618621af6c647468a921ec216f023524fe0aadad # timeout=10 22:46:08 > git rev-parse HEAD^{commit} # timeout=10 22:46:08 > git config core.sparsecheckout # timeout=10 22:46:08 > git checkout -f bed0758ad2a2d2e1e46f99ed323f19ce7733e629 # timeout=10 22:46:12 a35cf1a2eb13: Pull complete 22:46:12 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:46:12 ---> a62c8e92a672 22:46:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:46:12 ---> Running in 01494190ef10 22:46:12 Removing intermediate container 01494190ef10 22:46:12 ---> 4a810e17e1b4 22:46:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:12 ---> Running in fde633a6c072 22:46:13 Commit message: "feat: Allow for multiple MessageBus subscriptions" 22:46:13 > git --version # timeout=10 22:46:13 > git --version # 'git version 2.17.1' 22:46:13 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 22:46:13 Removing intermediate container fde633a6c072 22:46:13 ---> 633f1a21c92a 22:46:13 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 22:46:13 ---> Running in 00626120e9ab [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:46:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:46:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:46:15 (1/6) Installing libc-dev (0.7.2-r3) 22:46:15 (2/6) Installing libsodium (1.0.18-r0) 22:46:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:46:15 (3/6) Installing pkgconf (1.7.2-r0) 22:46:15 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:15 (5/6) Installing libzmq (4.3.3-r0) 22:46:15 + sudo service docker+ restart 22:46:15 true 22:46:15 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:15 Executing busybox-1.31.1-r19.trigger 22:46:15 OK: 167 MiB in 45 packages 22:46:16 Removing intermediate container 00626120e9ab 22:46:16 ---> 093ce8798dd5 22:46:16 Step 6/8 : WORKDIR /app 22:46:16 ---> Running in b6843382c37d 22:46:16 Removing intermediate container b6843382c37d 22:46:16 ---> caf9fab40f67 22:46:16 Step 7/8 : COPY . . 22:46:16 ---> 659c816dcce1 22:46:16 Step 8/8 : RUN go mod download 22:46:17 ---> Running in adad8185dd65 22:46:17 go: github.com/edgexfoundry/app-functions-sdk-go@v1.3.1-dev.8: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory 22:46: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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] wrap 22:46:18 provisioning config files... 22:46:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5178798627775357935tmp Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } 22:46:19 ---> docker-login.sh 22:46:19 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 22:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // node [Pipeline] } 22:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:20 Configure a credential helper to remove this warning. See 22:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:20 22:46:20 Login Succeeded 22:46:20 nexus3.edgexfoundry.org:10002 [Pipeline] // stage [Pipeline] } 22:46:20 Failed in branch amd64 22:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:21 Configure a credential helper to remove this warning. See 22:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:21 22:46:21 Login Succeeded 22:46:21 nexus3.edgexfoundry.org:10003 22:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:21 Configure a credential helper to remove this warning. See 22:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:21 22:46:21 Login Succeeded 22:46:21 nexus3.edgexfoundry.org:10004 22:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:21 Configure a credential helper to remove this warning. See 22:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:21 22:46:21 Login Succeeded 22:46:21 docker.io 22:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:22 Configure a credential helper to remove this warning. See 22:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:22 22:46:22 Login Succeeded 22:46:22 ---> docker-login.sh ends [Pipeline] } 22:46:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:23 ========================================================= 22:46:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:46:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:23 + 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 . 22:46:23 Sending build context to Docker daemon 97.28kB 22:46:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:46:24 Step 2/8 : FROM ${BASE} 22:46:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:24 5f621e34cdf4: Pulling fs layer 22:46:24 a4357932f1b6: Pulling fs layer 22:46:24 18c013af1878: Pulling fs layer 22:46:24 00ac8860ef70: Pulling fs layer 22:46:24 63d7cb157983: Pulling fs layer 22:46:24 b116817d02f9: Pulling fs layer 22:46:24 745a02a5169b: Pulling fs layer 22:46:24 00ac8860ef70: Waiting 22:46:24 63d7cb157983: Waiting 22:46:24 b116817d02f9: Waiting 22:46:24 745a02a5169b: Waiting 22:46:24 18c013af1878: Verifying Checksum 22:46:24 18c013af1878: Download complete 22:46:24 a4357932f1b6: Download complete 22:46:24 63d7cb157983: Verifying Checksum 22:46:24 63d7cb157983: Download complete 22:46:24 b116817d02f9: Download complete 22:46:24 5f621e34cdf4: Verifying Checksum 22:46:24 5f621e34cdf4: Download complete 22:46:24 5f621e34cdf4: Pull complete 22:46:25 a4357932f1b6: Pull complete 22:46:26 745a02a5169b: Download complete 22:46:26 18c013af1878: Pull complete 22:46:28 00ac8860ef70: Verifying Checksum 22:46:28 00ac8860ef70: Download complete 22:46:38 00ac8860ef70: Pull complete 22:46:38 63d7cb157983: Pull complete 22:46:38 b116817d02f9: Pull complete 22:46:42 745a02a5169b: Pull complete 22:46:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:46:42 ---> b7e6874047d6 22:46:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:46:44 ---> Running in c454e0c465e6 22:46:45 Removing intermediate container c454e0c465e6 22:46:45 ---> 71c35b44589d 22:46:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:45 ---> Running in b91eb5a0cfd4 22:46:47 Removing intermediate container b91eb5a0cfd4 22:46:47 ---> 980cce9b9ae4 22:46:47 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 22:46:47 ---> Running in 43aa828604b2 22:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:50 (1/6) Installing libc-dev (0.7.2-r3) 22:46:50 (2/6) Installing libsodium (1.0.18-r0) 22:46:50 (3/6) Installing pkgconf (1.7.2-r0) 22:46:50 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:50 (5/6) Installing libzmq (4.3.3-r0) 22:46:50 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:50 Executing busybox-1.31.1-r19.trigger 22:46:50 OK: 144 MiB in 45 packages 22:46:51 Removing intermediate container 43aa828604b2 22:46:51 ---> 26da8e986c2c 22:46:51 Step 6/8 : WORKDIR /app 22:46:52 ---> Running in 894bf2bb441b 22:46:52 Removing intermediate container 894bf2bb441b 22:46:52 ---> e73786c51d26 22:46:52 Step 7/8 : COPY . . 22:46:53 ---> 8a88c6882e36 22:46:53 Step 8/8 : RUN go mod download 22:46:53 ---> Running in a4dd4f033eb9 22:46:54 go: github.com/edgexfoundry/app-functions-sdk-go@v1.3.1-dev.8: parsing /app-functions-sdk-go/go.mod: open /app-functions-sdk-go/go.mod: no such file or directory 22:46:55 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:57 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 22:47:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:02 ---> package-listing.sh 22:47:02 ++ facter osfamily 22:47:02 ++ tr '[:upper:]' '[:lower:]' 22:47:02 + OS_FAMILY=redhat 22:47:02 + workspace=/w/workspace/_app-service-configurable_PR-164 22:47:02 + START_PACKAGES=/tmp/packages_start.txt 22:47:02 + END_PACKAGES=/tmp/packages_end.txt 22:47:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:02 + PACKAGES=/tmp/packages_start.txt 22:47:02 + '[' /w/workspace/_app-service-configurable_PR-164 ']' 22:47:02 + PACKAGES=/tmp/packages_end.txt 22:47:02 + case "${OS_FAMILY}" in 22:47:02 + rpm -qa 22:47:02 + sort 22:47:07 + '[' -f /tmp/packages_start.txt ']' 22:47:07 + '[' -f /tmp/packages_end.txt ']' 22:47:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:07 + '[' /w/workspace/_app-service-configurable_PR-164 ']' 22:47:07 + mkdir -p /w/workspace/_app-service-configurable_PR-164/archives/ 22:47:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-164/archives/ [Pipeline] echo 22:47:07 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:47:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:08 22:47:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:08 alpine: Pulling from edgex-lftools-log-publisher 22:47:08 df20fa9351a1: Pulling fs layer 22:47:08 36b3adc4ff6f: Pulling fs layer 22:47:08 8ad3a11d3b57: Pulling fs layer 22:47:08 46f8f816bc3b: Pulling fs layer 22:47:08 93b61091891f: Pulling fs layer 22:47:08 93b9cdb0e59b: Pulling fs layer 22:47:08 5e14af77c1be: Pulling fs layer 22:47:08 01666e4c0597: Pulling fs layer 22:47:08 aa168da1d23b: Pulling fs layer 22:47:08 93b61091891f: Waiting 22:47:08 93b9cdb0e59b: Waiting 22:47:08 5e14af77c1be: Waiting 22:47:08 01666e4c0597: Waiting 22:47:08 aa168da1d23b: Waiting 22:47:08 46f8f816bc3b: Waiting 22:47:08 36b3adc4ff6f: Verifying Checksum 22:47:08 36b3adc4ff6f: Download complete 22:47:08 46f8f816bc3b: Verifying Checksum 22:47:08 46f8f816bc3b: Download complete 22:47:08 df20fa9351a1: Verifying Checksum 22:47:09 93b9cdb0e59b: Verifying Checksum 22:47:09 93b9cdb0e59b: Download complete 22:47:09 5e14af77c1be: Verifying Checksum 22:47:09 5e14af77c1be: Download complete 22:47:09 93b61091891f: Download complete 22:47:09 01666e4c0597: Verifying Checksum 22:47:09 01666e4c0597: Download complete 22:47:09 8ad3a11d3b57: Verifying Checksum 22:47:09 8ad3a11d3b57: Download complete 22:47:09 df20fa9351a1: Pull complete 22:47:09 36b3adc4ff6f: Pull complete 22:47:10 8ad3a11d3b57: Pull complete 22:47:10 46f8f816bc3b: Pull complete 22:47:11 93b61091891f: Pull complete 22:47:11 aa168da1d23b: Verifying Checksum 22:47:11 aa168da1d23b: Download complete 22:47:11 93b9cdb0e59b: Pull complete 22:47:11 5e14af77c1be: Pull complete 22:47:11 01666e4c0597: Pull complete 22:47:19 aa168da1d23b: Pull complete 22:47:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:47:19 prd-centos7-docker-4c-2g-18307 does not seem to be running inside a container 22:47:19 $ 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-164/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-164 -v /w/workspace/_app-service-configurable_PR-164:/w/workspace/_app-service-configurable_PR-164:rw,z -v /w/workspace/_app-service-configurable_PR-164@tmp:/w/workspace/_app-service-configurable_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:47:22 $ docker top f83ad8b683a3f1a1046f494586c1d437ca9e0819c0a5543d6c1abf639332237a -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:47:23 + mkdir -p /var/log/sa [Pipeline] sh 22:47:23 + ls /var/log/sa-host 22:47:23 + sadf -c /var/log/sa-host/sa04 22:47:23 file_magic: OK 22:47:23 HZ: Using current value: 100 22:47:23 file_header: OK 22:47:23 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 22:47:23 Statistics: 22:47:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:47:23 File successfully converted to sysstat format version 12.2.1 22:47:23 + sadf -c /var/log/sa-host/sa23 22:47:23 file_magic: OK 22:47:23 HZ: Using current value: 100 22:47:23 file_header: OK 22:47:23 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 22:47:23 Statistics: 22:47:23 Hnuu...uuuununununu... 22:47:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:23 provisioning config files... 22:47:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-164@tmp/config12868087738073994tmp [Pipeline] { [Pipeline] echo 22:47:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:24 ---> create-netrc.sh [Pipeline] } 22:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:47:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:47:24 ---> python-tools-install.sh [Pipeline] echo 22:47:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:25 ---> sudo-logs.sh 22:47:25 Archiving 'sudo' log.. [Pipeline] echo 22:47:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:25 ---> job-cost.sh 22:47:25 lf-activate-venv: SKIPPING 22:47:25 INFO: No Stack... 22:47:26 INFO: Retrieving Pricing Info for: v1-standard-2 22:47:27 INFO: Archiving Costs [Pipeline] echo 22:47:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:27 ---> logs-deploy.sh 22:47:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-164/1 22:47:27 INFO: archiving workspace using pattern(s): 22:47:29 Archives upload complete. 22:47:29 INFO: archiving logs to Nexus