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