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/device-mqtt-go Obtained Jenkinsfile from ba539b6d988370ec84177bc18b80fe6f942b59b2+7a1b18f551239dfc150e88617034cadc3790dddc (d9d21e16ea07b2fdd3cb6c15e03a31c07fa74e79) 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:device-mqtt-go, 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: device-mqtt-go-settings PROJECT: device-mqtt-go 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-device-mqtt-go 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18329 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [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/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-197 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.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/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.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/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 Merge succeeded, producing ed994a61a1cf4092a753e57c49bd3f2cb8daf410 Checking out Revision ed994a61a1cf4092a753e57c49bd3f2cb8daf410 (PR-197) > git config core.sparsecheckout # timeout=10 > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # 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 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed994a61a1cf4092a753e57c49bd3f2cb8daf410 # timeout=10 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" > git rev-list --no-walk ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:33 ========================================================= 23:18:33 EdgeX Global Pipelines Version Info 23:18:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:34 ------------------- 23:18:34 stable info: 23:18:34 ------------------- 23:18:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:34 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:18:34 Message: update stable to v1.0.173 23:18:35 ------------------- 23:18:35 experimental info: 23:18:35 ------------------- 23:18:35 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:35 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:18:35 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 23:18:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed994a61a1cf4092a753e57c49bd3f2cb8daf410 [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed994a6 [Pipeline] echo 23:18:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:18:38 provisioning config files... 23:18:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/config4043803990843698569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:39 ---> docker-login.sh 23:18:39 nexus3.edgexfoundry.org:10001 23:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:39 Configure a credential helper to remove this warning. See 23:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:39 23:18:39 Login Succeeded 23:18:39 nexus3.edgexfoundry.org:10002 23:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:39 Configure a credential helper to remove this warning. See 23:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:39 23:18:39 Login Succeeded 23:18:39 nexus3.edgexfoundry.org:10003 23:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:40 Configure a credential helper to remove this warning. See 23:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:40 23:18:40 Login Succeeded 23:18:40 nexus3.edgexfoundry.org:10004 23:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:40 Configure a credential helper to remove this warning. See 23:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:40 23:18:40 Login Succeeded 23:18:40 docker.io 23:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:40 Configure a credential helper to remove this warning. See 23:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:40 23:18:40 Login Succeeded 23:18:40 ---> docker-login.sh ends [Pipeline] } 23:18:40 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 23:18:41 + git log --format=format:%s -1 ed994a61a1cf4092a753e57c49bd3f2cb8daf410 [Pipeline] echo 23:18:41 GIT_COMMIT: ed994a61a1cf4092a753e57c49bd3f2cb8daf410, Commit Message: Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD [Pipeline] echo 23:18:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:42 23:18:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:18:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:42 latest: Pulling from edgex-devops/git-semver 23:18:42 31603596830f: Pulling fs layer 23:18:42 2a8b12db71e7: Pulling fs layer 23:18:42 6ca5941a6612: Pulling fs layer 23:18:42 ecc8261a40a4: Pulling fs layer 23:18:42 ecc8261a40a4: Waiting 23:18:42 2a8b12db71e7: Verifying Checksum 23:18:42 2a8b12db71e7: Download complete 23:18:42 31603596830f: Download complete 23:18:42 ecc8261a40a4: Verifying Checksum 23:18:42 ecc8261a40a4: Download complete 23:18:42 6ca5941a6612: Verifying Checksum 23:18:42 6ca5941a6612: Download complete 23:18:43 31603596830f: Pull complete 23:18:43 2a8b12db71e7: Pull complete 23:18:44 6ca5941a6612: Pull complete 23:18:44 ecc8261a40a4: Pull complete 23:18:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:18:44 prd-centos7-docker-4c-2g-18329 does not seem to be running inside a container 23:18:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-197 -v /w/workspace/gexfoundry_device-mqtt-go_PR-197:/w/workspace/gexfoundry_device-mqtt-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-197@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 23:18:46 $ docker top 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:47 [ssh-agent] Looking for ssh-agent implementation... 23:18:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:47 $ docker exec 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 ssh-agent 23:18:47 SSH_AUTH_SOCK=/tmp/ssh-zohRHEWMsKr6/agent.11 23:18:47 SSH_AGENT_PID=16 23:18:47 Running ssh-add (command line suppressed) 23:18:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_7585513878616117147.key (/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_7585513878616117147.key) 23:18:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:48 + git tag --points-at HEAD [Pipeline] } 23:18:48 $ docker exec --env ******** --env ******** 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 ssh-agent -k 23:18:48 unset SSH_AUTH_SOCK; 23:18:48 unset SSH_AGENT_PID; 23:18:48 echo Agent pid 16 killed; 23:18:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:48 [ssh-agent] Looking for ssh-agent implementation... 23:18:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:48 $ docker exec 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 ssh-agent 23:18:49 SSH_AUTH_SOCK=/tmp/ssh-V5uqjAVWxyeu/agent.45 23:18:49 SSH_AGENT_PID=50 23:18:49 Running ssh-add (command line suppressed) 23:18:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_7644397383695781664.key (/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_7644397383695781664.key) 23:18:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:49 + git semver init 23:18:49 # -> Open(): unable to determine branch for HEAD 23:18:49 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-197/.git 23:18:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-197 23:18:49 # $SEMVER_REMOTE_NAME = origin 23:18:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:18:49 # $SEMVER_USER_NAME = edgex-jenkins 23:18:49 # $SEMVER_BRANCH = PR-197 23:18:49 # $SEMVER_TEMP = /tmp/semver-442535887 23:18:49 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:18:49 # '/tmp/semver-442535887' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-197/.semver' 23:18:50 # -> Force: false 23:18:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-197/.semver [Pipeline] } 23:18:50 $ docker exec --env ******** --env ******** 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 ssh-agent -k 23:18:50 unset SSH_AUTH_SOCK; 23:18:50 unset SSH_AGENT_PID; 23:18:50 echo Agent pid 50 killed; 23:18:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:50 + git semver [Pipeline] } 23:18:50 $ docker stop --time=1 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 23:18:52 $ docker rm -f 849af099b574d5afd99587fd8472cd016525af010970cbb6777a8d932edcb049 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:53 Stashed 1 file(s) [Pipeline] echo 23:18:53 [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 23:19:08 Still waiting to schedule task 23:19:08 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18321’ is offline; ‘prd-centos7-docker-4c-2g-18322’ is offline; ‘prd-centos7-docker-4c-2g-18332’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18313’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18326’ doesn’t have label ‘centos7-docker-4c-2g’ 23:19:08 Still waiting to schedule task 23:19:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:20:06 Running on prd-centos7-docker-4c-2g-18334 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [Pipeline] { [Pipeline] ws 23:20:06 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:20:08 using credential edgex-jenkins-ssh 23:20:08 Cloning the remote Git repository 23:20:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:09 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:20:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:09 > git --version # timeout=10 23:20:09 > git --version # 'git version 2.24.3' 23:20:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:20:10 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 23:20:10 Merge succeeded, producing 2ed2228d7e297f4c9d01dee97e7317c5baaaa0ba 23:20:10 Checking out Revision 2ed2228d7e297f4c9d01dee97e7317c5baaaa0ba (PR-197) 23:20:10 > git config core.sparsecheckout # timeout=10 23:20:10 > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 23:20:10 > git remote # timeout=10 23:20:10 > git config --get remote.origin.url # timeout=10 23:20:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:10 > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 23:20:10 > git rev-parse HEAD^{commit} # timeout=10 23:20:10 > git config core.sparsecheckout # timeout=10 23:20:10 > git checkout -f 2ed2228d7e297f4c9d01dee97e7317c5baaaa0ba # timeout=10 23:20:14 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" 23:20:14 > git rev-list --no-walk ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:20:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:20:15 + true 23:20:15 + sudo service docker restart 23:20:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:20:16 provisioning config files... 23:20:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config8921308286047177372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:17 ---> docker-login.sh 23:20:17 nexus3.edgexfoundry.org:10001 23:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:17 Configure a credential helper to remove this warning. See 23:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:17 23:20:17 Login Succeeded 23:20:17 nexus3.edgexfoundry.org:10002 23:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:17 Configure a credential helper to remove this warning. See 23:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:17 23:20:17 Login Succeeded 23:20:17 nexus3.edgexfoundry.org:10003 23:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:18 Configure a credential helper to remove this warning. See 23:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:18 23:20:18 Login Succeeded 23:20:18 nexus3.edgexfoundry.org:10004 23:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:18 Configure a credential helper to remove this warning. See 23:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:18 23:20:18 Login Succeeded 23:20:18 docker.io 23:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:18 Configure a credential helper to remove this warning. See 23:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:18 23:20:18 Login Succeeded 23:20:18 ---> docker-login.sh ends [Pipeline] } 23:20:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:19 ========================================================= 23:20:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:20:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:20:19 + 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 . 23:20:19 Sending build context to Docker daemon 542.7kB 23:20:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:20:19 Step 2/8 : FROM ${BASE} 23:20:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:20:19 188c0c94c7c5: Pulling fs layer 23:20:19 0ef7d3d256c8: Pulling fs layer 23:20:19 de9db76c5a1d: Pulling fs layer 23:20:19 bca2f99d35d6: Pulling fs layer 23:20:19 93359f2a8cfa: Pulling fs layer 23:20:19 7c6f9722023f: Pulling fs layer 23:20:19 a35cf1a2eb13: Pulling fs layer 23:20:19 bca2f99d35d6: Waiting 23:20:19 93359f2a8cfa: Waiting 23:20:19 7c6f9722023f: Waiting 23:20:19 a35cf1a2eb13: Waiting 23:20:19 de9db76c5a1d: Verifying Checksum 23:20:19 de9db76c5a1d: Download complete 23:20:19 0ef7d3d256c8: Verifying Checksum 23:20:19 0ef7d3d256c8: Download complete 23:20:19 93359f2a8cfa: Download complete 23:20:19 7c6f9722023f: Verifying Checksum 23:20:19 7c6f9722023f: Download complete 23:20:19 188c0c94c7c5: Verifying Checksum 23:20:19 188c0c94c7c5: Download complete 23:20:20 188c0c94c7c5: Pull complete 23:20:20 0ef7d3d256c8: Pull complete 23:20:20 de9db76c5a1d: Pull complete 23:20:21 a35cf1a2eb13: Verifying Checksum 23:20:21 a35cf1a2eb13: Download complete 23:20:22 bca2f99d35d6: Verifying Checksum 23:20:22 bca2f99d35d6: Download complete 23:20:27 bca2f99d35d6: Pull complete 23:20:27 93359f2a8cfa: Pull complete 23:20:27 7c6f9722023f: Pull complete 23:20:32 a35cf1a2eb13: Pull complete 23:20:33 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:20:33 ---> a62c8e92a672 23:20:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:20:33 ---> Running in d97f52453035 23:20:34 Removing intermediate container d97f52453035 23:20:34 ---> 5fd34904738c 23:20:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:20:34 ---> Running in 02f74062a9b0 23:20:35 Removing intermediate container 02f74062a9b0 23:20:35 ---> 30aaffec0296 23:20:35 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:20:35 ---> Running in 0b3a11f0f51b 23:20:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:20:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:20:37 (1/14) Installing libmagic (5.38-r0) 23:20:37 (2/14) Installing file (5.38-r0) 23:20:37 (3/14) Installing libc-dev (0.7.2-r3) 23:20:37 (4/14) Installing g++ (9.3.0-r2) 23:20:47 (5/14) Installing fortify-headers (1.1-r0) 23:20:47 (6/14) Installing patch (2.7.6-r6) 23:20:47 (7/14) Installing build-base (0.5-r2) 23:20:47 (8/14) Installing openssh-keygen (8.3_p1-r1) 23:20:48 (9/14) Installing libedit (20191231.3.1-r0) 23:20:48 (10/14) Installing openssh-client (8.3_p1-r1) 23:20:48 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 23:20:48 (12/14) Installing openssh-server-common (8.3_p1-r1) 23:20:48 (13/14) Installing openssh-server (8.3_p1-r1) 23:20:49 (14/14) Installing openssh (8.3_p1-r1) 23:20:49 Executing busybox-1.31.1-r19.trigger 23:20:49 OK: 237 MiB in 53 packages 23:20:52 Removing intermediate container 0b3a11f0f51b 23:20:52 ---> 17394915b6b8 23:20:52 Step 6/8 : WORKDIR /device-mqtt-go 23:20:52 ---> Running in f3cbe3c3809d 23:20:52 Removing intermediate container f3cbe3c3809d 23:20:52 ---> 55a7e1e21c57 23:20:52 Step 7/8 : COPY . . 23:20:53 ---> 891ce6476d2b 23:20:53 Step 8/8 : RUN go mod download 23:20:53 ---> Running in 5e21d9f40fb8 23:20:55 go: github.com/edgexfoundry/device-sdk-go@v1.3.0: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 23:20: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] 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] } 23:20:57 Failed in branch amd64 23:22:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18338 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [Pipeline] { [Pipeline] ws 23:22:07 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:22:13 using credential edgex-jenkins-ssh 23:22:13 Cloning the remote Git repository 23:22:13 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:22:13 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:22:13 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:13 > git --version # timeout=10 23:22:13 > git --version # 'git version 2.17.1' 23:22:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:15 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 23:22:15 Merge succeeded, producing b03f225b1bcd76c446997b423edb3916daf830e8 23:22:15 Checking out Revision b03f225b1bcd76c446997b423edb3916daf830e8 (PR-197) 23:22:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:22:15 > git config core.sparsecheckout # timeout=10 23:22:15 > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 23:22:15 > git remote # timeout=10 23:22:15 > git config --get remote.origin.url # timeout=10 23:22:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:15 > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 23:22:15 > git rev-parse HEAD^{commit} # timeout=10 23:22:15 > git config core.sparsecheckout # timeout=10 23:22:15 > git checkout -f b03f225b1bcd76c446997b423edb3916daf830e8 # timeout=10 23:22:19 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" 23:22:19 > git rev-list --no-walk ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:22:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:22:22 + sudo service docker restart 23:22:22 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:22:24 provisioning config files... 23:22:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config825999696667184580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:24 ---> docker-login.sh 23:22:24 nexus3.edgexfoundry.org:10001 23:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:26 Configure a credential helper to remove this warning. See 23:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:26 23:22:26 Login Succeeded 23:22:26 nexus3.edgexfoundry.org:10002 23:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:26 Configure a credential helper to remove this warning. See 23:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:26 23:22:26 Login Succeeded 23:22:26 nexus3.edgexfoundry.org:10003 23:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:27 Configure a credential helper to remove this warning. See 23:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:27 23:22:27 Login Succeeded 23:22:27 nexus3.edgexfoundry.org:10004 23:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:27 Configure a credential helper to remove this warning. See 23:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:27 23:22:27 Login Succeeded 23:22:27 docker.io 23:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:28 Configure a credential helper to remove this warning. See 23:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:28 23:22:28 Login Succeeded 23:22:28 ---> docker-login.sh ends [Pipeline] } 23:22:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:29 ========================================================= 23:22:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:22:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:22:29 + 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 . 23:22:29 Sending build context to Docker daemon 541.7kB 23:22:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:22:29 Step 2/8 : FROM ${BASE} 23:22:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:22:30 5f621e34cdf4: Pulling fs layer 23:22:30 a4357932f1b6: Pulling fs layer 23:22:30 18c013af1878: Pulling fs layer 23:22:30 00ac8860ef70: Pulling fs layer 23:22:30 63d7cb157983: Pulling fs layer 23:22:30 b116817d02f9: Pulling fs layer 23:22:30 745a02a5169b: Pulling fs layer 23:22:30 00ac8860ef70: Waiting 23:22:30 63d7cb157983: Waiting 23:22:30 b116817d02f9: Waiting 23:22:30 745a02a5169b: Waiting 23:22:30 18c013af1878: Verifying Checksum 23:22:30 18c013af1878: Download complete 23:22:30 a4357932f1b6: Verifying Checksum 23:22:30 a4357932f1b6: Download complete 23:22:30 63d7cb157983: Verifying Checksum 23:22:30 63d7cb157983: Download complete 23:22:30 b116817d02f9: Download complete 23:22:30 5f621e34cdf4: Verifying Checksum 23:22:30 5f621e34cdf4: Download complete 23:22:30 5f621e34cdf4: Pull complete 23:22:31 a4357932f1b6: Pull complete 23:22:32 18c013af1878: Pull complete 23:22:32 745a02a5169b: Verifying Checksum 23:22:32 745a02a5169b: Download complete 23:22:33 00ac8860ef70: Verifying Checksum 23:22:33 00ac8860ef70: Download complete 23:22:43 00ac8860ef70: Pull complete 23:22:43 63d7cb157983: Pull complete 23:22:44 b116817d02f9: Pull complete 23:22:47 745a02a5169b: Pull complete 23:22:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:22:48 ---> b7e6874047d6 23:22:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:22:51 ---> Running in 98fc418e195a 23:22:51 Removing intermediate container 98fc418e195a 23:22:51 ---> 5ba98e68d23b 23:22:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:51 ---> Running in 712ac6098e8a 23:22:54 Removing intermediate container 712ac6098e8a 23:22:54 ---> cf6dca54fb01 23:22:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:22:54 ---> Running in ffe1b1d7b053 23:22:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:22:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:22:57 (1/14) Installing libmagic (5.38-r0) 23:22:57 (2/14) Installing file (5.38-r0) 23:22:57 (3/14) Installing libc-dev (0.7.2-r3) 23:22:57 (4/14) Installing g++ (9.3.0-r2) 23:23:03 (5/14) Installing fortify-headers (1.1-r0) 23:23:03 (6/14) Installing patch (2.7.6-r6) 23:23:03 (7/14) Installing build-base (0.5-r2) 23:23:03 (8/14) Installing openssh-keygen (8.3_p1-r1) 23:23:03 (9/14) Installing libedit (20191231.3.1-r0) 23:23:03 (10/14) Installing openssh-client (8.3_p1-r1) 23:23:03 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 23:23:03 (12/14) Installing openssh-server-common (8.3_p1-r1) 23:23:03 (13/14) Installing openssh-server (8.3_p1-r1) 23:23:03 (14/14) Installing openssh (8.3_p1-r1) 23:23:03 Executing busybox-1.31.1-r19.trigger 23:23:03 OK: 221 MiB in 53 packages 23:23:07 Removing intermediate container ffe1b1d7b053 23:23:07 ---> 2138f42beddc 23:23:07 Step 6/8 : WORKDIR /device-mqtt-go 23:23:07 ---> Running in 9f15a479847b 23:23:08 Removing intermediate container 9f15a479847b 23:23:08 ---> 5a9c28c3c674 23:23:08 Step 7/8 : COPY . . 23:23:09 ---> b7200916f918 23:23:09 Step 8/8 : RUN go mod download 23:23:09 ---> Running in e9567407728b 23:23:11 go: github.com/edgexfoundry/device-sdk-go@v1.3.0: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 23:23:12 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] } 23:23:13 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 23:23:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:18 ---> package-listing.sh 23:23:18 ++ facter osfamily 23:23:18 ++ tr '[:upper:]' '[:lower:]' 23:23:18 + OS_FAMILY=redhat 23:23:18 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-197 23:23:18 + START_PACKAGES=/tmp/packages_start.txt 23:23:18 + END_PACKAGES=/tmp/packages_end.txt 23:23:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:18 + PACKAGES=/tmp/packages_start.txt 23:23:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-197 ']' 23:23:18 + PACKAGES=/tmp/packages_end.txt 23:23:18 + case "${OS_FAMILY}" in 23:23:18 + rpm -qa 23:23:18 + sort 23:23:23 + '[' -f /tmp/packages_start.txt ']' 23:23:23 + '[' -f /tmp/packages_end.txt ']' 23:23:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:23 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-197 ']' 23:23:23 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-197/archives/ 23:23:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-197/archives/ [Pipeline] echo 23:23:23 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/gexfoundry_device-mqtt-go_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:23:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:23:24 23:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:23:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:23:24 alpine: Pulling from edgex-lftools-log-publisher 23:23:24 df20fa9351a1: Pulling fs layer 23:23:24 36b3adc4ff6f: Pulling fs layer 23:23:24 8ad3a11d3b57: Pulling fs layer 23:23:24 46f8f816bc3b: Pulling fs layer 23:23:24 93b61091891f: Pulling fs layer 23:23:24 93b9cdb0e59b: Pulling fs layer 23:23:24 5e14af77c1be: Pulling fs layer 23:23:24 01666e4c0597: Pulling fs layer 23:23:24 aa168da1d23b: Pulling fs layer 23:23:24 5e14af77c1be: Waiting 23:23:24 93b61091891f: Waiting 23:23:24 01666e4c0597: Waiting 23:23:24 aa168da1d23b: Waiting 23:23:24 93b9cdb0e59b: Waiting 23:23:24 46f8f816bc3b: Waiting 23:23:24 36b3adc4ff6f: Verifying Checksum 23:23:24 36b3adc4ff6f: Download complete 23:23:24 46f8f816bc3b: Download complete 23:23:24 df20fa9351a1: Verifying Checksum 23:23:24 df20fa9351a1: Download complete 23:23:24 93b9cdb0e59b: Verifying Checksum 23:23:24 93b9cdb0e59b: Download complete 23:23:24 93b61091891f: Verifying Checksum 23:23:24 93b61091891f: Download complete 23:23:24 5e14af77c1be: Verifying Checksum 23:23:24 5e14af77c1be: Download complete 23:23:25 01666e4c0597: Verifying Checksum 23:23:25 01666e4c0597: Download complete 23:23:25 df20fa9351a1: Pull complete 23:23:25 8ad3a11d3b57: Verifying Checksum 23:23:25 8ad3a11d3b57: Download complete 23:23:25 36b3adc4ff6f: Pull complete 23:23:26 8ad3a11d3b57: Pull complete 23:23:26 46f8f816bc3b: Pull complete 23:23:26 aa168da1d23b: Verifying Checksum 23:23:26 aa168da1d23b: Download complete 23:23:27 93b61091891f: Pull complete 23:23:27 93b9cdb0e59b: Pull complete 23:23:27 5e14af77c1be: Pull complete 23:23:27 01666e4c0597: Pull complete 23:23:35 aa168da1d23b: Pull complete 23:23:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:23:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:23:35 prd-centos7-docker-4c-2g-18329 does not seem to be running inside a container 23:23:35 $ 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/gexfoundry_device-mqtt-go_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-197 -v /w/workspace/gexfoundry_device-mqtt-go_PR-197:/w/workspace/gexfoundry_device-mqtt-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-197@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 23:23:39 $ docker top a5cf87848eb17fd04069ccf2f720e1f96829908d87059e20bd1a8c8b225750e0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:39 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:40 + mkdir -p /var/log/sa [Pipeline] sh 23:23:40 + ls /var/log/sa-host 23:23:40 + sadf -c /var/log/sa-host/sa04 23:23:40 file_magic: OK 23:23:40 HZ: Using current value: 100 23:23:40 file_header: OK 23:23:40 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 23:23:40 Statistics: 23:23:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:23:40 File successfully converted to sysstat format version 12.2.1 23:23:40 + sadf -c /var/log/sa-host/sa23 23:23:40 file_magic: OK 23:23:40 HZ: Using current value: 100 23:23:40 file_header: OK 23:23:40 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 23:23:40 Statistics: 23:23:40 Hnuu...uuuununununu... 23:23:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:40 provisioning config files... 23:23:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/config8226880382352170258tmp [Pipeline] { [Pipeline] echo 23:23:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:41 ---> create-netrc.sh [Pipeline] } 23:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:23:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:23:41 ---> python-tools-install.sh [Pipeline] echo 23:23:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:41 ---> sudo-logs.sh 23:23:41 Archiving 'sudo' log.. [Pipeline] echo 23:23:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:42 ---> job-cost.sh 23:23:42 lf-activate-venv: SKIPPING 23:23:42 INFO: No Stack... 23:23:43 INFO: Retrieving Pricing Info for: v1-standard-2 23:23:43 INFO: Archiving Costs [Pipeline] echo 23:23:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:43 ---> logs-deploy.sh 23:23:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-197/2 23:23:43 INFO: archiving workspace using pattern(s): 23:23:45 Archives upload complete. 23:23:45 INFO: archiving logs to Nexus