Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 346d8b883db1f3227d7ad1b5d610caf2a53a406e 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh820687945692695553.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4158529046548174041.key > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7198853704096267051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6338190624133029810.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7912923359083707464.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3176 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh1103145805646157394.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 346d8b883db1f3227d7ad1b5d610caf2a53a406e (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 346d8b883db1f3227d7ad1b5d610caf2a53a406e # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/remove-build-dockerfile" > git rev-list --no-walk f3ae293f8a17ab54c7a8aa0abdfc288d7a0d2f63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:53:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:53:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:53:22 ========================================================= 19:53:22 EdgeX Global Pipelines Version Info 19:53:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:53:23 ------------------- 19:53:23 stable info: 19:53:23 ------------------- 19:53:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:53:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:53:23 Message: update stable to v1.0.205 19:53:24 ------------------- 19:53:24 experimental info: 19:53:24 ------------------- 19:53:24 Commited By: **** collab-it+edgex@linuxfoundation.org 19:53:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:53:24 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 346d8b8 [Pipeline] echo 19:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:25 provisioning config files... 19:53:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8424236479793516502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:26 ---> docker-login.sh 19:53:26 nexus3.edgexfoundry.org:10001 19:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:26 Configure a credential helper to remove this warning. See 19:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:26 19:53:26 Login Succeeded 19:53:26 nexus3.edgexfoundry.org:10002 19:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:26 Configure a credential helper to remove this warning. See 19:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:26 19:53:26 Login Succeeded 19:53:26 nexus3.edgexfoundry.org:10003 19:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:27 Configure a credential helper to remove this warning. See 19:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:27 19:53:27 Login Succeeded 19:53:27 nexus3.edgexfoundry.org:10004 19:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:28 Configure a credential helper to remove this warning. See 19:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:28 19:53:28 Login Succeeded 19:53:28 docker.io 19:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:28 Configure a credential helper to remove this warning. See 19:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:28 19:53:28 Login Succeeded 19:53:28 ---> docker-login.sh ends [Pipeline] } 19:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:28 + git log --format=format:%s -1 346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] echo 19:53:28 GIT_COMMIT: 346d8b883db1f3227d7ad1b5d610caf2a53a406e, Commit Message: Merge pull request #301 from ernestojeda/remove-build-dockerfile [Pipeline] echo 19:53:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:29 19:53:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:53:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:29 latest: Pulling from edgex-devops/git-semver 19:53:29 31603596830f: Pulling fs layer 19:53:29 d4622e32a9a9: Pulling fs layer 19:53:29 1030fce36090: Pulling fs layer 19:53:29 6c6cb7e1b49b: Pulling fs layer 19:53:29 6c6cb7e1b49b: Waiting 19:53:29 d4622e32a9a9: Verifying Checksum 19:53:29 d4622e32a9a9: Download complete 19:53:30 31603596830f: Verifying Checksum 19:53:30 31603596830f: Download complete 19:53:30 31603596830f: Pull complete 19:53:30 d4622e32a9a9: Pull complete 19:53:30 6c6cb7e1b49b: Verifying Checksum 19:53:30 6c6cb7e1b49b: Download complete 19:53:31 1030fce36090: Verifying Checksum 19:53:31 1030fce36090: Download complete 19:53:31 1030fce36090: Pull complete 19:53:31 6c6cb7e1b49b: Pull complete 19:53:31 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 19:53:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:53:31 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 19:53:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:53:32 $ docker top 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:53:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:33 [ssh-agent] Looking for ssh-agent implementation... 19:53:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:33 $ docker exec 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 ssh-agent 19:53:33 SSH_AUTH_SOCK=/tmp/ssh-I3ngPEDlACxY/agent.15 19:53:33 SSH_AGENT_PID=21 19:53:33 Running ssh-add (command line suppressed) 19:53:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3555023495901785749.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3555023495901785749.key) 19:53:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:33 + git tag --points-at HEAD [Pipeline] } 19:53:33 $ docker exec --env ******** --env ******** 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 ssh-agent -k 19:53:34 unset SSH_AUTH_SOCK; 19:53:34 unset SSH_AGENT_PID; 19:53:34 echo Agent pid 21 killed; 19:53:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:53:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:34 [ssh-agent] Looking for ssh-agent implementation... 19:53:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:34 $ docker exec 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 ssh-agent 19:53:34 SSH_AUTH_SOCK=/tmp/ssh-APVx3OOECzx3/agent.54 19:53:34 SSH_AGENT_PID=61 19:53:34 Running ssh-add (command line suppressed) 19:53:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3688447449411688267.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3688447449411688267.key) 19:53:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:34 + git semver init 19:53:34 # -> Open(): unable to determine branch for HEAD 19:53:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 19:53:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 19:53:34 # $SEMVER_REMOTE_NAME = origin 19:53:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:53:34 # $SEMVER_USER_NAME = edgex-jenkins 19:53:34 # $SEMVER_BRANCH = main 19:53:34 # $SEMVER_TEMP = /tmp/semver-437514035 19:53:34 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 19:53:35 # '/tmp/semver-437514035' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 19:53:35 # -> Force: false 19:53:35 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 19:53:35 $ docker exec --env ******** --env ******** 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 ssh-agent -k 19:53:35 unset SSH_AUTH_SOCK; 19:53:35 unset SSH_AGENT_PID; 19:53:35 echo Agent pid 61 killed; 19:53:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:53:35 + git semver [Pipeline] } 19:53:35 $ docker stop --time=1 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 19:53:36 $ docker rm -f 4efffb2dc00f03db5d33df4b81209ddced6f5ef291de7c95adbf54ffaf357e70 [Pipeline] // withDockerContainer [Pipeline] sh 19:53:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:53:37 Stashed 1 file(s) [Pipeline] echo 19:53:37 [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [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 19:53:52 Still waiting to schedule task 19:53:52 ‘prd-centos7-docker-4c-2g-3178’ is offline 19:53:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ 19:53:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3175’ doesn’t have label ‘centos7-docker-4c-2g’ 19:53:52 Still waiting to schedule task 19:53:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:55:12 Running on prd-centos7-docker-4c-2g-3182 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 19:55:12 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 19:55:12 Selected Git installation does not exist. Using Default 19:55:12 The recommended git tool is: NONE 19:55:15 using credential edgex-jenkins-ssh 19:55:15 Cloning the remote Git repository 19:55:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:55:15 > git init /w/workspace/device-mqtt-go/7 # timeout=10 19:55:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:55:15 > git --version # timeout=10 19:55:15 > git --version # 'git version 2.24.4' 19:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:55:15 [INFO] Currently running in a labeled security context 19:55:15 [INFO] Currently SELinux is 'enforcing' on the host 19:55:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/7@tmp/jenkins-gitclient-ssh5934155293812962713.key 19:55:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:55:15 Avoid second fetch 19:55:15 Checking out Revision 346d8b883db1f3227d7ad1b5d610caf2a53a406e (main) 19:55:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:55:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:55:15 > git config core.sparsecheckout # timeout=10 19:55:15 > git checkout -f 346d8b883db1f3227d7ad1b5d610caf2a53a406e # timeout=10 19:55:19 Commit message: "Merge pull request #301 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:19 provisioning config files... 19:55:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config4038114657742339821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:20 ---> docker-login.sh 19:55:20 nexus3.edgexfoundry.org:10001 19:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:20 Configure a credential helper to remove this warning. See 19:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:20 19:55:20 Login Succeeded 19:55:20 nexus3.edgexfoundry.org:10002 19:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:20 Configure a credential helper to remove this warning. See 19:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:20 19:55:20 Login Succeeded 19:55:20 nexus3.edgexfoundry.org:10003 19:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:20 Configure a credential helper to remove this warning. See 19:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:20 19:55:20 Login Succeeded 19:55:20 nexus3.edgexfoundry.org:10004 19:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:20 Configure a credential helper to remove this warning. See 19:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:20 19:55:20 Login Succeeded 19:55:20 docker.io 19:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:21 Configure a credential helper to remove this warning. See 19:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:21 19:55:21 Login Succeeded 19:55:21 ---> docker-login.sh ends [Pipeline] } 19:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:55:21 ========================================================= 19:55:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:55:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:55:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 19:55:22 Sending build context to Docker daemon 621.6kB 19:55:22 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 19:55:22 Step 2/12 : FROM ${BASE} AS builder 19:55:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:55:22 540db60ca938: Pulling fs layer 19:55:22 adcc1eea9eea: Pulling fs layer 19:55:22 4c4ab2625f07: Pulling fs layer 19:55:22 db62176df00c: Pulling fs layer 19:55:22 3b30891b0d05: Pulling fs layer 19:55:22 06b49ca38bd5: Pulling fs layer 19:55:22 c788192a36de: Pulling fs layer 19:55:22 a77e37c0d609: Pulling fs layer 19:55:22 c3185cebc471: Pulling fs layer 19:55:22 06b49ca38bd5: Waiting 19:55:22 c788192a36de: Waiting 19:55:22 a77e37c0d609: Waiting 19:55:22 db62176df00c: Waiting 19:55:22 c3185cebc471: Waiting 19:55:22 3b30891b0d05: Waiting 19:55:22 4c4ab2625f07: Verifying Checksum 19:55:22 4c4ab2625f07: Download complete 19:55:22 adcc1eea9eea: Download complete 19:55:22 3b30891b0d05: Verifying Checksum 19:55:22 3b30891b0d05: Download complete 19:55:22 06b49ca38bd5: Verifying Checksum 19:55:22 06b49ca38bd5: Download complete 19:55:22 540db60ca938: Verifying Checksum 19:55:22 c788192a36de: Verifying Checksum 19:55:22 c788192a36de: Download complete 19:55:22 540db60ca938: Pull complete 19:55:22 adcc1eea9eea: Pull complete 19:55:22 4c4ab2625f07: Pull complete 19:55:23 a77e37c0d609: Verifying Checksum 19:55:23 a77e37c0d609: Download complete 19:55:26 c3185cebc471: Verifying Checksum 19:55:26 c3185cebc471: Download complete 19:55:26 db62176df00c: Verifying Checksum 19:55:26 db62176df00c: Download complete 19:55:30 db62176df00c: Pull complete 19:55:30 3b30891b0d05: Pull complete 19:55:30 06b49ca38bd5: Pull complete 19:55:30 c788192a36de: Pull complete 19:55:30 a77e37c0d609: Pull complete 19:55:32 c3185cebc471: Pull complete 19:55:32 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:55:32 ---> 031687cdd783 19:55:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:55:34 ---> Running in 40b26c43e7a0 19:55:34 Removing intermediate container 40b26c43e7a0 19:55:34 ---> 8da312f4e207 19:55:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:55:34 ---> Running in e884ee879d41 19:55:34 Removing intermediate container e884ee879d41 19:55:34 ---> 93f22075a058 19:55:34 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:34 ---> Running in 4f4e7416049f 19:55:34 Removing intermediate container 4f4e7416049f 19:55:34 ---> ba414ce548df 19:55:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:55:34 ---> Running in 3d7fc34a10c4 19:55:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:55:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:55:36 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:55:36 (2/3) Installing libedit (20191231.3.1-r1) 19:55:36 (3/3) Installing openssh-client (8.4_p1-r3) 19:55:37 Executing busybox-1.32.1-r6.trigger 19:55:37 OK: 223 MiB in 55 packages 19:55:37 Removing intermediate container 3d7fc34a10c4 19:55:37 ---> 0e9a6e625576 19:55:37 Step 7/12 : WORKDIR /device-mqtt-go 19:55:37 ---> Running in ffe5b4d57b89 19:55:37 Removing intermediate container ffe5b4d57b89 19:55:37 ---> e48a38ff939e 19:55:37 Step 8/12 : COPY . . 19:55:37 ---> d6d3e975228b 19:55:37 Step 9/12 : RUN go mod tidy 19:55:37 ---> Running in cf92805e90e9 19:55:39 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 19:55:39 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:55:39 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:55:39 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:55:39 go: downloading github.com/spf13/cast v1.4.1 19:55:39 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 19:55:39 go: downloading github.com/stretchr/testify v1.7.0 19:55:39 go: downloading github.com/gorilla/websocket v1.4.2 19:55:39 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:55:39 go: downloading github.com/gorilla/mux v1.8.0 19:55:39 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:55:39 go: downloading github.com/google/uuid v1.2.0 19:55:39 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:55:39 go: downloading github.com/go-kit/kit v0.9.0 19:55:39 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:55:39 go: downloading github.com/davecgh/go-spew v1.1.1 19:55:39 go: downloading github.com/pmezard/go-difflib v1.0.0 19:55:39 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:55:39 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:55:39 go: downloading gopkg.in/yaml.v2 v2.4.0 19:55:39 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:55:39 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:55:39 go: downloading github.com/pelletier/go-toml v1.9.2 19:55:39 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:55:40 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:55:40 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:55:40 go: downloading github.com/go-stack/stack v1.8.0 19:55:40 go: downloading github.com/go-playground/universal-translator v0.17.0 19:55:40 go: downloading github.com/leodido/go-urn v1.2.0 19:55:40 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:55:40 go: downloading golang.org/x/text v0.3.2 19:55:40 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:55:40 go: downloading github.com/go-playground/locales v0.13.0 19:55:41 go: downloading github.com/kr/pretty v0.2.0 19:55:41 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:55:41 go: downloading github.com/hashicorp/consul/api v1.8.1 19:55:41 go: downloading github.com/stretchr/objx v0.1.0 19:55:41 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:55:41 go: downloading github.com/x448/float16 v0.8.4 19:55:41 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:55:41 go: downloading github.com/kr/text v0.1.0 19:55:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:55:41 go: downloading github.com/pebbe/zmq4 v1.2.7 19:55:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:55:41 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:55:41 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:55:41 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:55:41 go: downloading github.com/hashicorp/serf v0.9.5 19:55:41 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:55:41 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:55:41 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:55:41 go: downloading github.com/onsi/ginkgo v1.10.1 19:55:41 go: downloading github.com/onsi/gomega v1.7.0 19:55:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:55:41 go: downloading github.com/mitchellh/copystructure v1.0.0 19:55:41 go: downloading github.com/fatih/color v1.9.0 19:55:41 go: downloading github.com/mattn/go-colorable v0.1.6 19:55:41 go: downloading github.com/mattn/go-isatty v0.0.12 19:55:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:55:41 go: downloading github.com/pkg/errors v0.8.1 19:55:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:55:41 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:55:41 go: downloading github.com/hashicorp/memberlist v0.2.2 19:55:41 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:55:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:55:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:55:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:55:41 go: downloading github.com/hpcloud/tail v1.0.0 19:55:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:55:41 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:55:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:55:41 go: downloading github.com/miekg/dns v1.1.26 19:55:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:55:41 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:55:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:55:41 go: downloading github.com/hashicorp/errwrap v1.0.0 19:55:41 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:55:46 Removing intermediate container cf92805e90e9 19:55:46 ---> a35602861c3f 19:55:46 Step 10/12 : RUN go mod download 19:55:46 ---> Running in ea9b9577955a 19:55:49 Removing intermediate container ea9b9577955a 19:55:49 ---> 9bb5ef6b80ac 19:55:49 Step 11/12 : ARG MAKE='make build' 19:55:49 ---> Running in a035ef404020 19:55:49 Removing intermediate container a035ef404020 19:55:49 ---> 8be5d58711f6 19:55:49 Step 12/12 : RUN $MAKE 19:55:49 ---> Running in 8b9db8cd9789 19:55:49 noop 19:55:50 Removing intermediate container 8b9db8cd9789 19:55:50 ---> a3fa63ae4597 19:55:50 Successfully built a3fa63ae4597 19:55:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:55:50 + docker inspect -f . ci-base-image-x86_64 19:55:50 . [Pipeline] withDockerContainer 19:55:50 prd-centos7-docker-4c-2g-3182 does not seem to be running inside a container 19:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 ******** ci-base-image-x86_64 cat 19:55:50 $ docker top ae4ff62c999e971c49ae1a52e2f7bed278ecef38d41bc0a9d4ece7323bfb45c2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:51 + go version 19:55:51 go version go1.16.6 linux/amd64 [Pipeline] } 19:55:51 $ docker stop --time=1 ae4ff62c999e971c49ae1a52e2f7bed278ecef38d41bc0a9d4ece7323bfb45c2 19:55:52 $ docker rm -f ae4ff62c999e971c49ae1a52e2f7bed278ecef38d41bc0a9d4ece7323bfb45c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:55:53 + docker inspect -f . ci-base-image-x86_64 19:55:53 . [Pipeline] withDockerContainer 19:55:53 prd-centos7-docker-4c-2g-3182 does not seem to be running inside a container 19:55:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 ******** ci-base-image-x86_64 cat 19:55:53 $ docker top 5f5e2a43547b4bd0d44700888506ad72184b536de2b589f1fa17386402f661f0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:55:54 + go mod tidy [Pipeline] sh 19:55:54 + make test 19:55:54 go mod tidy 19:55:54 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:55:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:56:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:56:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 24.3% of statements 19:56:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:56:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:56:18 gofmt -l . 19:56:18 ["`gofmt -l .`" = ""] 19:56:18 ./bin/test-attribution-txt.sh [Pipeline] } 19:56:18 $ docker stop --time=1 5f5e2a43547b4bd0d44700888506ad72184b536de2b589f1fa17386402f661f0 19:56:20 $ docker rm -f 5f5e2a43547b4bd0d44700888506ad72184b536de2b589f1fa17386402f661f0 [Pipeline] // withDockerContainer [Pipeline] sh 19:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:56:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:56:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:22 + ls -al . 19:56:22 total 116 19:56:22 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 17 19:56 . 19:56:22 drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 19:55 .. 19:56:22 -rw-rw-r--. 1 jenkins jenkins 7100 Aug 17 19:55 Attribution.txt 19:56:22 drwxrwxr-x. 2 jenkins jenkins 60 Aug 17 19:55 bin 19:56:22 -rw-rw-r--. 1 jenkins jenkins 7447 Aug 17 19:55 CHANGELOG.md 19:56:22 drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 19:55 cmd 19:56:22 -rw-r--r--. 1 jenkins jenkins 16226 Aug 17 19:56 coverage.out 19:56:22 -rw-rw-r--. 1 jenkins jenkins 1877 Aug 17 19:55 Dockerfile 19:56:22 -rw-rw-r--. 1 jenkins jenkins 140 Aug 17 19:55 .dockerignore 19:56:22 drwxrwxr-x. 8 jenkins jenkins 162 Aug 17 19:55 .git 19:56:22 drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 19:55 .github 19:56:22 -rw-rw-r--. 1 jenkins jenkins 336 Aug 17 19:55 .gitignore 19:56:22 -rw-rw-r--. 1 jenkins jenkins 388 Aug 17 19:55 go.mod 19:56:22 -rw-r--r--. 1 jenkins jenkins 20775 Aug 17 19:55 go.sum 19:56:22 -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 19:55 GOVERNANCE.md 19:56:22 drwxrwxr-x. 3 jenkins jenkins 20 Aug 17 19:55 internal 19:56:22 -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 19:55 Jenkinsfile 19:56:22 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 19:55 LICENSE 19:56:22 -rw-rw-r--. 1 jenkins jenkins 907 Aug 17 19:55 Makefile 19:56:22 drwxrwxr-x. 2 jenkins jenkins 23 Aug 17 19:55 mock 19:56:22 -rw-rw-r--. 1 jenkins jenkins 620 Aug 17 19:55 OWNERS.md 19:56:22 -rw-rw-r--. 1 jenkins jenkins 2211 Aug 17 19:55 README.md 19:56:22 drwxrwxr-x. 4 jenkins jenkins 71 Aug 17 19:55 snap 19:56:22 -rw-rw-r--. 1 jenkins jenkins 11 Aug 17 19:53 VERSION 19:56:22 -rw-rw-r--. 1 jenkins jenkins 227 Aug 17 19:55 version.go [Pipeline] isUnix [Pipeline] sh 19:56:22 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=346d8b883db1f3227d7ad1b5d610caf2a53a406e --label arch=amd64 --label version=2.0.1-dev.5 . 19:56:22 Sending build context to Docker daemon 638.5kB 19:56:22 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 19:56:22 Step 2/24 : FROM ${BASE} AS builder 19:56:22 ---> a3fa63ae4597 19:56:22 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:56:22 ---> Running in 9580e65c8d57 19:56:22 Removing intermediate container 9580e65c8d57 19:56:22 ---> 95f1c09e0618 19:56:22 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 19:56:22 ---> Running in 1d7a24fa86e5 19:56:22 Removing intermediate container 1d7a24fa86e5 19:56:22 ---> ab911ee35eaf 19:56:22 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:56:22 ---> Running in e06b6d7e5d6d 19:56:23 Removing intermediate container e06b6d7e5d6d 19:56:23 ---> ef1c03060a38 19:56:23 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:56:23 ---> Running in 8a69daca8560 19:56:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:56:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:56:25 OK: 223 MiB in 55 packages 19:56:25 Removing intermediate container 8a69daca8560 19:56:25 ---> 5b69e89a3eda 19:56:25 Step 7/24 : WORKDIR /device-mqtt-go 19:56:25 ---> Running in 8ec136cd7136 19:56:25 Removing intermediate container 8ec136cd7136 19:56:25 ---> 0824da4c0709 19:56:25 Step 8/24 : COPY . . 19:56:25 ---> 7bd7d2c82e32 19:56:25 Step 9/24 : RUN go mod tidy 19:56:25 ---> Running in b058ed270f6e 19:56:26 Removing intermediate container b058ed270f6e 19:56:26 ---> 268577159019 19:56:26 Step 10/24 : RUN go mod download 19:56:26 ---> Running in db6a184405e5 19:56:26 Removing intermediate container db6a184405e5 19:56:26 ---> 26dd108a3a17 19:56:26 Step 11/24 : ARG MAKE='make build' 19:56:26 ---> Running in 47ee8a3ea91f 19:56:26 Removing intermediate container 47ee8a3ea91f 19:56:26 ---> f5ad493483b8 19:56:26 Step 12/24 : RUN $MAKE 19:56:26 ---> Running in 823a12d779e5 19:56:27 go mod tidy 19:56:27 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.5" -o cmd/device-mqtt ./cmd 19:56:39 Removing intermediate container 823a12d779e5 19:56:39 ---> b945f3f454a7 19:56:39 Step 13/24 : FROM alpine:3.12 19:56:39 3.12: Pulling from library/alpine 19:56:39 339de151aab4: Pulling fs layer 19:56:39 339de151aab4: Verifying Checksum 19:56:39 339de151aab4: Download complete 19:56:40 339de151aab4: Pull complete 19:56:40 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:56:40 Status: Downloaded newer image for alpine:3.12 19:56:40 ---> 13621d1b12d4 19:56:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:56:40 ---> Running in a0015e63b720 19:56:40 Removing intermediate container a0015e63b720 19:56:40 ---> 86a7e9eb0f9a 19:56:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:56:40 ---> Running in ba1aa0cbf9a3 19:56:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:56:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:56:40 (1/6) Installing dumb-init (1.2.2-r1) 19:56:40 (2/6) Installing libgcc (9.3.0-r2) 19:56:40 (3/6) Installing libsodium (1.0.18-r0) 19:56:40 (4/6) Installing libstdc++ (9.3.0-r2) 19:56:40 (5/6) Installing libzmq (4.3.3-r0) 19:56:41 (6/6) Installing zeromq (4.3.3-r0) 19:56:41 Executing busybox-1.31.1-r20.trigger 19:56:41 OK: 8 MiB in 20 packages 19:56:41 Removing intermediate container ba1aa0cbf9a3 19:56:41 ---> 49cbba74d09d 19:56:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:56:41 ---> 32ea57ed4dde 19:56:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:56:41 ---> f3dd8c10d3bd 19:56:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:56:41 ---> b71913faaee6 19:56:41 Step 19/24 : EXPOSE 59982 19:56:41 ---> Running in 294e084541e7 19:56:41 Removing intermediate container 294e084541e7 19:56:41 ---> 6535fea42300 19:56:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:56:41 ---> Running in f1f1945a3ec9 19:56:42 Removing intermediate container f1f1945a3ec9 19:56:42 ---> 596fd4be057e 19:56:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:56:42 ---> Running in a01f8865b15d 19:56:42 Removing intermediate container a01f8865b15d 19:56:42 ---> cfd0dcd78126 19:56:42 Step 22/24 : LABEL arch=amd64 19:56:42 ---> Running in 45c9a2513bc5 19:56:42 Removing intermediate container 45c9a2513bc5 19:56:42 ---> ed7b49edf301 19:56:42 Step 23/24 : LABEL git_sha=346d8b883db1f3227d7ad1b5d610caf2a53a406e 19:56:42 ---> Running in 6784515879a8 19:56:42 Removing intermediate container 6784515879a8 19:56:42 ---> 9a9c46545c64 19:56:42 Step 24/24 : LABEL version=2.0.1-dev.5 19:56:42 ---> Running in 97843750ad78 19:56:42 Removing intermediate container 97843750ad78 19:56:42 ---> 9ee09cdb6952 19:56:42 [Warning] One or more build-args [ARCH] were not consumed 19:56:42 Successfully built 9ee09cdb6952 19:56:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:56:42 provisioning config files... 19:56:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config4171047462362520362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:56:43 ---> docker-login.sh 19:56:43 nexus3.edgexfoundry.org:10001 19:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:43 Configure a credential helper to remove this warning. See 19:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:43 19:56:43 Login Succeeded 19:56:43 nexus3.edgexfoundry.org:10002 19:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:43 Configure a credential helper to remove this warning. See 19:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:43 19:56:43 Login Succeeded 19:56:43 nexus3.edgexfoundry.org:10003 19:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:43 Configure a credential helper to remove this warning. See 19:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:43 19:56:43 Login Succeeded 19:56:43 nexus3.edgexfoundry.org:10004 19:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:43 Configure a credential helper to remove this warning. See 19:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:43 19:56:43 Login Succeeded 19:56:43 docker.io 19:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:44 Configure a credential helper to remove this warning. See 19:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:44 19:56:44 Login Succeeded 19:56:44 ---> docker-login.sh ends [Pipeline] } 19:56:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:56:44 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 19:56:44 346d8b883db1f3227d7ad1b5d610caf2a53a406e 19:56:44 latest 19:56:44 2.0.1-dev.5 19:56:44 346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 19:56:44 main 19:56:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:56:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] isUnix [Pipeline] sh 19:56:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e 19:56:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:56:45 10294edaf7bc: Preparing 19:56:45 85147ef3f770: Preparing 19:56:45 60dd94a37b5f: Preparing 19:56:45 39267effefc1: Preparing 19:56:45 32f366d666a5: Preparing 19:56:45 32f366d666a5: Layer already exists 19:56:45 10294edaf7bc: Pushed 19:56:45 85147ef3f770: Pushed 19:56:45 39267effefc1: Pushed 19:56:46 60dd94a37b5f: Pushed 19:56:46 346d8b883db1f3227d7ad1b5d610caf2a53a406e: digest: sha256:0bc5e77a0480a4a4b8b546fdf449043ad59ee96f85e0a7d01cca49e87cc9fc2d size: 1365 [Pipeline] isUnix [Pipeline] sh 19:56:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 19:56:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 19:56:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:56:47 10294edaf7bc: Preparing 19:56:47 85147ef3f770: Preparing 19:56:47 60dd94a37b5f: Preparing 19:56:47 39267effefc1: Preparing 19:56:47 32f366d666a5: Preparing 19:56:47 10294edaf7bc: Layer already exists 19:56:47 85147ef3f770: Layer already exists 19:56:47 60dd94a37b5f: Layer already exists 19:56:47 32f366d666a5: Layer already exists 19:56:47 39267effefc1: Layer already exists 19:56:47 latest: digest: sha256:0bc5e77a0480a4a4b8b546fdf449043ad59ee96f85e0a7d01cca49e87cc9fc2d size: 1365 [Pipeline] isUnix [Pipeline] sh 19:56:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 19:56:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.5 19:56:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:56:48 10294edaf7bc: Preparing 19:56:48 85147ef3f770: Preparing 19:56:48 60dd94a37b5f: Preparing 19:56:48 39267effefc1: Preparing 19:56:48 32f366d666a5: Preparing 19:56:48 10294edaf7bc: Layer already exists 19:56:48 39267effefc1: Layer already exists 19:56:48 32f366d666a5: Layer already exists 19:56:48 60dd94a37b5f: Layer already exists 19:56:48 85147ef3f770: Layer already exists 19:56:48 2.0.1-dev.5: digest: sha256:0bc5e77a0480a4a4b8b546fdf449043ad59ee96f85e0a7d01cca49e87cc9fc2d size: 1365 [Pipeline] isUnix [Pipeline] sh 19:56:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 19:56:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 19:56:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:56:48 10294edaf7bc: Preparing 19:56:48 85147ef3f770: Preparing 19:56:48 60dd94a37b5f: Preparing 19:56:48 39267effefc1: Preparing 19:56:48 32f366d666a5: Preparing 19:56:48 85147ef3f770: Layer already exists 19:56:48 60dd94a37b5f: Layer already exists 19:56:48 39267effefc1: Layer already exists 19:56:48 32f366d666a5: Layer already exists 19:56:48 10294edaf7bc: Layer already exists 19:56:48 346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5: digest: sha256:0bc5e77a0480a4a4b8b546fdf449043ad59ee96f85e0a7d01cca49e87cc9fc2d size: 1365 [Pipeline] isUnix [Pipeline] sh 19:56:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 19:56:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 19:56:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 19:56:49 10294edaf7bc: Preparing 19:56:49 85147ef3f770: Preparing 19:56:49 60dd94a37b5f: Preparing 19:56:49 39267effefc1: Preparing 19:56:49 32f366d666a5: Preparing 19:56:49 85147ef3f770: Layer already exists 19:56:49 10294edaf7bc: Layer already exists 19:56:49 60dd94a37b5f: Layer already exists 19:56:49 39267effefc1: Layer already exists 19:56:49 32f366d666a5: Layer already exists 19:56:49 main: digest: sha256:0bc5e77a0480a4a4b8b546fdf449043ad59ee96f85e0a7d01cca49e87cc9fc2d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:56:49 ===================================================== [Pipeline] echo 19:56:49 taggedImages: 19:56:49 - nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e 19:56:49 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 19:56:49 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.5 19:56:49 - nexus3.edgexfoundry.org:10004/device-mqtt:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 19:56:49 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:50 19:56:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:56:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:50 latest: Pulling from edgex-lftools-log-publisher 19:56:50 b4d181a07f80: Pulling fs layer 19:56:50 a1111a8f2ec3: Pulling fs layer 19:56:50 ed53099fbce6: Pulling fs layer 19:56:50 dc539afda2c1: Pulling fs layer 19:56:50 77bc0d833cb6: Pulling fs layer 19:56:50 9065ff56babe: Pulling fs layer 19:56:50 d287ab97295c: Pulling fs layer 19:56:50 dc539afda2c1: Waiting 19:56:50 d287ab97295c: Waiting 19:56:50 77bc0d833cb6: Waiting 19:56:50 9065ff56babe: Waiting 19:56:50 a1111a8f2ec3: Verifying Checksum 19:56:50 a1111a8f2ec3: Download complete 19:56:50 dc539afda2c1: Verifying Checksum 19:56:50 dc539afda2c1: Download complete 19:56:50 77bc0d833cb6: Verifying Checksum 19:56:50 77bc0d833cb6: Download complete 19:56:50 9065ff56babe: Verifying Checksum 19:56:50 9065ff56babe: Download complete 19:56:50 ed53099fbce6: Verifying Checksum 19:56:50 ed53099fbce6: Download complete 19:56:51 b4d181a07f80: Verifying Checksum 19:56:51 b4d181a07f80: Download complete 19:56:52 b4d181a07f80: Pull complete 19:56:52 a1111a8f2ec3: Pull complete 19:56:53 ed53099fbce6: Pull complete 19:56:53 dc539afda2c1: Pull complete 19:56:53 77bc0d833cb6: Pull complete 19:56:53 9065ff56babe: Pull complete 19:56:54 d287ab97295c: Verifying Checksum 19:56:54 d287ab97295c: Download complete 19:56:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3184 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 19:56:56 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 19:56:57 Selected Git installation does not exist. Using Default 19:56:57 The recommended git tool is: NONE 19:56:58 d287ab97295c: Pull complete 19:56:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:56:59 prd-centos7-docker-4c-2g-3182 does not seem to be running inside a container 19:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:57:01 $ docker top f144a8b0f2edc478176e01eb103eba320c0ea683ed13a8d5cb307c99a8719bf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:02 ---> job-cost.sh 19:57:02 lf-activate-venv: SKIPPING 19:57:02 INFO: No Stack... 19:57:03 using credential edgex-jenkins-ssh 19:57:03 Cloning the remote Git repository 19:57:03 INFO: Retrieving Pricing Info for: v3-standard-2 19:57:03 INFO: Archiving Costs [Pipeline] sh 19:57:04 + cut -d, -f6 19:57:04 + cat /w/workspace/device-mqtt-go/7/archives/cost.csv [Pipeline] lock 19:57:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] 19:57:04 Resource [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] did not exist. Created. 19:57:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:57:04 + echo total: 0.05999999865889549 [Pipeline] stash 19:57:04 Stashed 1 file(s) [Pipeline] } 19:57:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 19:57:04 $ docker stop --time=1 f144a8b0f2edc478176e01eb103eba320c0ea683ed13a8d5cb307c99a8719bf2 19:57:03 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:57:03 > git init /w/workspace/device-mqtt-go/7 # timeout=10 19:57:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:57:03 > git --version # timeout=10 19:57:03 > git --version # 'git version 2.17.1' 19:57:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:57:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:57:05 Avoid second fetch 19:57:05 Checking out Revision 346d8b883db1f3227d7ad1b5d610caf2a53a406e (main) 19:57:05 $ docker rm -f f144a8b0f2edc478176e01eb103eba320c0ea683ed13a8d5cb307c99a8719bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 19:57:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:57:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:57:05 > git config core.sparsecheckout # timeout=10 19:57:05 > git checkout -f 346d8b883db1f3227d7ad1b5d610caf2a53a406e # timeout=10 [Pipeline] // stage [Pipeline] } 19:57:09 Commit message: "Merge pull request #301 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:10 provisioning config files... 19:57:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config673666244429254211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:10 ---> docker-login.sh 19:57:10 nexus3.edgexfoundry.org:10001 19:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:12 Configure a credential helper to remove this warning. See 19:57:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:12 19:57:12 Login Succeeded 19:57:12 nexus3.edgexfoundry.org:10002 19:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:13 Configure a credential helper to remove this warning. See 19:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:13 19:57:13 Login Succeeded 19:57:13 nexus3.edgexfoundry.org:10003 19:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:13 Configure a credential helper to remove this warning. See 19:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:13 19:57:13 Login Succeeded 19:57:13 nexus3.edgexfoundry.org:10004 19:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:14 Configure a credential helper to remove this warning. See 19:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:14 19:57:14 Login Succeeded 19:57:14 docker.io 19:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:15 Configure a credential helper to remove this warning. See 19:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:15 19:57:15 Login Succeeded 19:57:15 ---> docker-login.sh ends [Pipeline] } 19:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:57:16 ========================================================= 19:57:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:57:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:57:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 19:57:17 Sending build context to Docker daemon 620.5kB 19:57:17 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 19:57:17 Step 2/12 : FROM ${BASE} AS builder 19:57:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:57:17 595b0fe564bb: Pulling fs layer 19:57:17 24495759ef45: Pulling fs layer 19:57:17 d148012ef14d: Pulling fs layer 19:57:17 e90a11edd702: Pulling fs layer 19:57:17 d77568369979: Pulling fs layer 19:57:17 fc1c9f9a7f3b: Pulling fs layer 19:57:17 170f2ba95c9a: Pulling fs layer 19:57:17 97ac5df62f85: Pulling fs layer 19:57:17 e90a11edd702: Waiting 19:57:17 d77568369979: Waiting 19:57:17 fc1c9f9a7f3b: Waiting 19:57:17 170f2ba95c9a: Waiting 19:57:17 97ac5df62f85: Waiting 19:57:17 d148012ef14d: Verifying Checksum 19:57:17 d148012ef14d: Download complete 19:57:17 24495759ef45: Download complete 19:57:17 d77568369979: Download complete 19:57:17 595b0fe564bb: Verifying Checksum 19:57:17 595b0fe564bb: Download complete 19:57:17 fc1c9f9a7f3b: Verifying Checksum 19:57:17 fc1c9f9a7f3b: Download complete 19:57:18 170f2ba95c9a: Download complete 19:57:19 595b0fe564bb: Pull complete 19:57:19 24495759ef45: Pull complete 19:57:20 d148012ef14d: Pull complete 19:57:21 97ac5df62f85: Verifying Checksum 19:57:21 97ac5df62f85: Download complete 19:57:21 e90a11edd702: Verifying Checksum 19:57:21 e90a11edd702: Download complete 19:57:34 e90a11edd702: Pull complete 19:57:34 d77568369979: Pull complete 19:57:34 fc1c9f9a7f3b: Pull complete 19:57:34 170f2ba95c9a: Pull complete 19:57:41 97ac5df62f85: Pull complete 19:57:41 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:57:41 ---> 04bc70af865f 19:57:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:57:44 ---> Running in cce5532c18fe 19:57:45 Removing intermediate container cce5532c18fe 19:57:45 ---> b14a4bde6a29 19:57:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:57:45 ---> Running in 54f538127c4d 19:57:46 Removing intermediate container 54f538127c4d 19:57:46 ---> d16dbfe14116 19:57:46 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:57:46 ---> Running in f68f9c6da0ef 19:57:49 Removing intermediate container f68f9c6da0ef 19:57:49 ---> 62e4cc902b50 19:57:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:57:49 ---> Running in 5b7af61e2226 19:57:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:57:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:57:53 (1/3) Installing openssh-keygen (8.4_p1-r3) 19:57:53 (2/3) Installing libedit (20191231.3.1-r1) 19:57:53 (3/3) Installing openssh-client (8.4_p1-r3) 19:57:53 Executing busybox-1.32.1-r6.trigger 19:57:53 OK: 222 MiB in 55 packages 19:57:55 Removing intermediate container 5b7af61e2226 19:57:55 ---> 042d282d8e81 19:57:55 Step 7/12 : WORKDIR /device-mqtt-go 19:57:55 ---> Running in 34e3d6566f77 19:57:56 Removing intermediate container 34e3d6566f77 19:57:56 ---> 9652af00a0f3 19:57:56 Step 8/12 : COPY . . 19:57:57 ---> 0fc2e227d283 19:57:57 Step 9/12 : RUN go mod tidy 19:57:57 ---> Running in f953dd41beae 19:58:02 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:58:02 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 19:58:02 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 19:58:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 19:58:02 go: downloading github.com/spf13/cast v1.4.1 19:58:02 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 19:58:02 go: downloading github.com/stretchr/testify v1.7.0 19:58:02 go: downloading github.com/gorilla/websocket v1.4.2 19:58:02 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:58:02 go: downloading github.com/gorilla/mux v1.8.0 19:58:02 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:58:02 go: downloading github.com/google/uuid v1.2.0 19:58:02 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 19:58:03 go: downloading github.com/go-kit/kit v0.9.0 19:58:03 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:58:03 go: downloading github.com/davecgh/go-spew v1.1.1 19:58:03 go: downloading github.com/pmezard/go-difflib v1.0.0 19:58:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:58:03 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:58:03 go: downloading gopkg.in/yaml.v2 v2.4.0 19:58:04 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:58:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:58:04 go: downloading github.com/pelletier/go-toml v1.9.2 19:58:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 19:58:04 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:58:04 go: downloading github.com/go-playground/universal-translator v0.17.0 19:58:04 go: downloading github.com/leodido/go-urn v1.2.0 19:58:04 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:58:04 go: downloading golang.org/x/text v0.3.2 19:58:04 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:58:04 go: downloading github.com/go-playground/locales v0.13.0 19:58:08 go: downloading github.com/kr/pretty v0.2.0 19:58:08 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:58:08 go: downloading github.com/go-stack/stack v1.8.0 19:58:08 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:58:08 go: downloading github.com/hashicorp/consul/api v1.8.1 19:58:08 go: downloading github.com/stretchr/objx v0.1.0 19:58:08 go: downloading github.com/x448/float16 v0.8.4 19:58:08 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:58:08 go: downloading github.com/kr/text v0.1.0 19:58:08 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:58:08 go: downloading github.com/pebbe/zmq4 v1.2.7 19:58:08 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:58:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:58:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:58:08 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:58:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:58:08 go: downloading github.com/hashicorp/serf v0.9.5 19:58:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:58:08 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:58:08 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:58:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:58:08 go: downloading github.com/mitchellh/copystructure v1.0.0 19:58:08 go: downloading github.com/onsi/ginkgo v1.10.1 19:58:08 go: downloading github.com/onsi/gomega v1.7.0 19:58:08 go: downloading github.com/fatih/color v1.9.0 19:58:08 go: downloading github.com/mattn/go-colorable v0.1.6 19:58:08 go: downloading github.com/mattn/go-isatty v0.0.12 19:58:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:58:08 go: downloading github.com/pkg/errors v0.8.1 19:58:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:58:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:58:09 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:58:09 go: downloading github.com/hashicorp/memberlist v0.2.2 19:58:09 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:58:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:58:09 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:58:09 go: downloading github.com/hpcloud/tail v1.0.0 19:58:09 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:58:09 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:58:09 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:58:09 go: downloading github.com/miekg/dns v1.1.26 19:58:09 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:58:09 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:58:09 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:58:09 go: downloading github.com/hashicorp/errwrap v1.0.0 19:58:09 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:58:28 Removing intermediate container f953dd41beae 19:58:28 ---> e5b0b25ffe33 19:58:28 Step 10/12 : RUN go mod download 19:58:28 ---> Running in a6b82ad5b583 19:58:38 Removing intermediate container a6b82ad5b583 19:58:38 ---> 4a090109a5c7 19:58:38 Step 11/12 : ARG MAKE='make build' 19:58:38 ---> Running in 3847c86687c6 19:58:38 Removing intermediate container 3847c86687c6 19:58:38 ---> 2e8d67579d39 19:58:38 Step 12/12 : RUN $MAKE 19:58:38 ---> Running in 12047cad0610 19:58:39 noop 19:58:41 Removing intermediate container 12047cad0610 19:58:41 ---> 953b57555524 19:58:41 Successfully built 953b57555524 19:58:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:58:41 + docker inspect -f . ci-base-image-arm64 19:58:41 . [Pipeline] withDockerContainer 19:58:42 prd-ubuntu18.04-docker-arm64-4c-16g-3184 does not seem to be running inside a container 19:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 ******** ci-base-image-arm64 cat 19:58:44 $ docker top f0e04ee561780a98ea9a6093b4358430f4890d4e824e8f666760165b23527db3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:58:45 + go version 19:58:45 go version go1.16.6 linux/arm64 [Pipeline] } 19:58:45 $ docker stop --time=1 f0e04ee561780a98ea9a6093b4358430f4890d4e824e8f666760165b23527db3 19:58:47 $ docker rm -f f0e04ee561780a98ea9a6093b4358430f4890d4e824e8f666760165b23527db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:58:48 + docker inspect -f . ci-base-image-arm64 19:58:48 . [Pipeline] withDockerContainer 19:58:48 prd-ubuntu18.04-docker-arm64-4c-16g-3184 does not seem to be running inside a container 19:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 ******** ci-base-image-arm64 cat 19:58:50 $ docker top a61403c0ae75ff86d39f893c2fc4e434dbf9eeae8b2f79f8197750fbeaebee44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:58:52 + go mod tidy [Pipeline] sh 19:58:53 + make test 19:58:53 go mod tidy 19:58:54 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:58:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:00:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:00:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 24.3% of statements 20:00:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:00:04 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:00:36 gofmt -l . 20:00:36 ["`gofmt -l .`" = ""] 20:00:36 ./bin/test-attribution-txt.sh [Pipeline] } 20:00:38 $ docker stop --time=1 a61403c0ae75ff86d39f893c2fc4e434dbf9eeae8b2f79f8197750fbeaebee44 20:00:40 $ docker rm -f a61403c0ae75ff86d39f893c2fc4e434dbf9eeae8b2f79f8197750fbeaebee44 [Pipeline] // withDockerContainer [Pipeline] sh 20:00:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:00:41 Warning: overwriting stash ‘coverage-report’ 20:00:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:00:43 + ls -al . 20:00:43 total 148 20:00:43 drwxrwxr-x 9 jenkins jenkins 4096 Aug 17 20:00 . 20:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:57 .. 20:00:43 -rw-rw-r-- 1 jenkins jenkins 140 Aug 17 19:57 .dockerignore 20:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:57 .git 20:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:57 .github 20:00:43 -rw-rw-r-- 1 jenkins jenkins 336 Aug 17 19:57 .gitignore 20:00:43 -rw-rw-r-- 1 jenkins jenkins 7100 Aug 17 19:57 Attribution.txt 20:00:43 -rw-rw-r-- 1 jenkins jenkins 7447 Aug 17 19:57 CHANGELOG.md 20:00:43 -rw-rw-r-- 1 jenkins jenkins 1877 Aug 17 19:57 Dockerfile 20:00:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:57 GOVERNANCE.md 20:00:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:57 Jenkinsfile 20:00:43 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 19:57 LICENSE 20:00:43 -rw-rw-r-- 1 jenkins jenkins 907 Aug 17 19:57 Makefile 20:00:43 -rw-rw-r-- 1 jenkins jenkins 620 Aug 17 19:57 OWNERS.md 20:00:43 -rw-rw-r-- 1 jenkins jenkins 2211 Aug 17 19:57 README.md 20:00:43 -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 19:53 VERSION 20:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:57 bin 20:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:57 cmd 20:00:43 -rw-r--r-- 1 jenkins jenkins 16226 Aug 17 20:00 coverage.out 20:00:43 -rw-rw-r-- 1 jenkins jenkins 388 Aug 17 19:57 go.mod 20:00:43 -rw-r--r-- 1 jenkins jenkins 20775 Aug 17 19:58 go.sum 20:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:57 internal 20:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:57 mock 20:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:57 snap 20:00:43 -rw-rw-r-- 1 jenkins jenkins 227 Aug 17 19:57 version.go [Pipeline] isUnix [Pipeline] sh 20:00:44 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=346d8b883db1f3227d7ad1b5d610caf2a53a406e --label arch=arm64 --label version=2.0.1-dev.5 . 20:00:44 Sending build context to Docker daemon 637.4kB 20:00:44 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 20:00:44 Step 2/24 : FROM ${BASE} AS builder 20:00:44 ---> 953b57555524 20:00:44 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:00:44 ---> Running in aa59e10b7c04 20:00:45 Removing intermediate container aa59e10b7c04 20:00:45 ---> a0e1e5ef8aca 20:00:45 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:00:45 ---> Running in 1ee86221874f 20:00:46 Removing intermediate container 1ee86221874f 20:00:46 ---> ad0a8a66da62 20:00:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:00:46 ---> Running in 5666056848a8 20:00:49 Removing intermediate container 5666056848a8 20:00:49 ---> ead167c4d0fa 20:00:49 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:00:49 ---> Running in f2ea5c6142b0 20:00:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:00:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:00:52 OK: 222 MiB in 55 packages 20:00:54 Removing intermediate container f2ea5c6142b0 20:00:54 ---> 1310c596fa72 20:00:54 Step 7/24 : WORKDIR /device-mqtt-go 20:00:54 ---> Running in e23f812bbad0 20:00:55 Removing intermediate container e23f812bbad0 20:00:55 ---> 8561a927d27a 20:00:55 Step 8/24 : COPY . . 20:00:56 ---> 0784fec7b2ab 20:00:56 Step 9/24 : RUN go mod tidy 20:00:56 ---> Running in 2f5cb7ff03ad 20:00:59 Removing intermediate container 2f5cb7ff03ad 20:00:59 ---> c326a75b62c4 20:00:59 Step 10/24 : RUN go mod download 20:01:00 ---> Running in f474cf7241b3 20:01:03 Removing intermediate container f474cf7241b3 20:01:03 ---> cd573eeb88a6 20:01:03 Step 11/24 : ARG MAKE='make build' 20:01:03 ---> Running in 6749c6854d51 20:01:03 Removing intermediate container 6749c6854d51 20:01:03 ---> dff34f18b97f 20:01:03 Step 12/24 : RUN $MAKE 20:01:03 ---> Running in 11a353c0bb35 20:01:05 go mod tidy 20:01:06 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.5" -o cmd/device-mqtt ./cmd 20:01:53 Removing intermediate container 11a353c0bb35 20:01:53 ---> ca1648729b99 20:01:53 Step 13/24 : FROM alpine:3.12 20:01:53 3.12: Pulling from library/alpine 20:01:53 d2f70382dc9a: Pulling fs layer 20:01:53 d2f70382dc9a: Verifying Checksum 20:01:53 d2f70382dc9a: Pull complete 20:01:53 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:01:53 Status: Downloaded newer image for alpine:3.12 20:01:53 ---> c4fd0aeabfcf 20:01:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:01:53 ---> Running in 6b0ac040978e 20:01:53 Removing intermediate container 6b0ac040978e 20:01:53 ---> 3f53bc0f8ed7 20:01:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:01:53 ---> Running in e5d3b488a26a 20:01:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:01:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:01:53 (1/6) Installing dumb-init (1.2.2-r1) 20:01:53 (2/6) Installing libgcc (9.3.0-r2) 20:01:53 (3/6) Installing libsodium (1.0.18-r0) 20:01:53 (4/6) Installing libstdc++ (9.3.0-r2) 20:01:53 (5/6) Installing libzmq (4.3.3-r0) 20:01:53 (6/6) Installing zeromq (4.3.3-r0) 20:01:53 Executing busybox-1.31.1-r20.trigger 20:01:53 OK: 8 MiB in 20 packages 20:01:55 Removing intermediate container e5d3b488a26a 20:01:55 ---> 109ca38db26e 20:01:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:01:56 ---> df01b1c5ee6a 20:01:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:01:57 ---> 4738b8beaaeb 20:01:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:01:58 ---> bee1336ee159 20:01:58 Step 19/24 : EXPOSE 59982 20:01:58 ---> Running in 90db08b3b8e0 20:01:59 Removing intermediate container 90db08b3b8e0 20:01:59 ---> 44c7394b65d2 20:01:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:01:59 ---> Running in 63701a5dcf62 20:02:00 Removing intermediate container 63701a5dcf62 20:02:00 ---> 79b325d956f7 20:02:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:02:00 ---> Running in 0069d046ed39 20:02:00 Removing intermediate container 0069d046ed39 20:02:00 ---> a17007b20028 20:02:00 Step 22/24 : LABEL arch=arm64 20:02:01 ---> Running in 87ccafd634e5 20:02:01 Removing intermediate container 87ccafd634e5 20:02:01 ---> a69339918b30 20:02:01 Step 23/24 : LABEL git_sha=346d8b883db1f3227d7ad1b5d610caf2a53a406e 20:02:01 ---> Running in 8dcf8a54609e 20:02:02 Removing intermediate container 8dcf8a54609e 20:02:02 ---> ba48824b3728 20:02:02 Step 24/24 : LABEL version=2.0.1-dev.5 20:02:02 ---> Running in 80e102adfa88 20:02:03 Removing intermediate container 80e102adfa88 20:02:03 ---> 65e6823e5456 20:02:03 [Warning] One or more build-args [ARCH] were not consumed 20:02:03 Successfully built 65e6823e5456 20:02:03 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:03 provisioning config files... 20:02:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config2013452614438714697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:03 ---> docker-login.sh 20:02:03 nexus3.edgexfoundry.org:10001 20:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:04 Configure a credential helper to remove this warning. See 20:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:04 20:02:04 Login Succeeded 20:02:04 nexus3.edgexfoundry.org:10002 20:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:04 Configure a credential helper to remove this warning. See 20:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:04 20:02:04 Login Succeeded 20:02:04 nexus3.edgexfoundry.org:10003 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:05 Configure a credential helper to remove this warning. See 20:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:05 20:02:05 Login Succeeded 20:02:05 nexus3.edgexfoundry.org:10004 20:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:06 Configure a credential helper to remove this warning. See 20:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:06 20:02:06 Login Succeeded 20:02:06 docker.io 20:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:07 Configure a credential helper to remove this warning. See 20:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:07 20:02:07 Login Succeeded 20:02:07 ---> docker-login.sh ends [Pipeline] } 20:02:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:02:07 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:02:07 346d8b883db1f3227d7ad1b5d610caf2a53a406e 20:02:07 latest 20:02:07 2.0.1-dev.5 20:02:07 346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 20:02:07 main 20:02:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] isUnix [Pipeline] sh 20:02:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e 20:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:02:07 84f5ccb60311: Preparing 20:02:07 bad0e1796aee: Preparing 20:02:07 b7a8c545c6c4: Preparing 20:02:07 bff605b3dacd: Preparing 20:02:07 3fbe34a1663b: Preparing 20:02:08 3fbe34a1663b: Layer already exists 20:02:08 84f5ccb60311: Pushed 20:02:08 bad0e1796aee: Pushed 20:02:08 bff605b3dacd: Pushed 20:02:11 b7a8c545c6c4: Pushed 20:02:11 346d8b883db1f3227d7ad1b5d610caf2a53a406e: digest: sha256:147c5c050fda9829a7c10ba6a3756d37e511702a41b9375f0a1421eb61a7018c size: 1365 [Pipeline] isUnix [Pipeline] sh 20:02:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:02:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:02:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:02:12 84f5ccb60311: Preparing 20:02:12 bad0e1796aee: Preparing 20:02:12 b7a8c545c6c4: Preparing 20:02:12 bff605b3dacd: Preparing 20:02:12 3fbe34a1663b: Preparing 20:02:12 84f5ccb60311: Layer already exists 20:02:12 bad0e1796aee: Layer already exists 20:02:12 3fbe34a1663b: Layer already exists 20:02:12 b7a8c545c6c4: Layer already exists 20:02:12 bff605b3dacd: Layer already exists 20:02:12 latest: digest: sha256:147c5c050fda9829a7c10ba6a3756d37e511702a41b9375f0a1421eb61a7018c size: 1365 [Pipeline] isUnix [Pipeline] sh 20:02:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:02:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.5 20:02:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:02:13 84f5ccb60311: Preparing 20:02:13 bad0e1796aee: Preparing 20:02:13 b7a8c545c6c4: Preparing 20:02:13 bff605b3dacd: Preparing 20:02:13 3fbe34a1663b: Preparing 20:02:13 3fbe34a1663b: Layer already exists 20:02:13 84f5ccb60311: Layer already exists 20:02:13 b7a8c545c6c4: Layer already exists 20:02:13 bad0e1796aee: Layer already exists 20:02:13 bff605b3dacd: Layer already exists 20:02:13 2.0.1-dev.5: digest: sha256:147c5c050fda9829a7c10ba6a3756d37e511702a41b9375f0a1421eb61a7018c size: 1365 [Pipeline] isUnix [Pipeline] sh 20:02:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:02:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 20:02:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:02:14 84f5ccb60311: Preparing 20:02:14 bad0e1796aee: Preparing 20:02:14 b7a8c545c6c4: Preparing 20:02:14 bff605b3dacd: Preparing 20:02:14 3fbe34a1663b: Preparing 20:02:14 bff605b3dacd: Layer already exists 20:02:14 b7a8c545c6c4: Layer already exists 20:02:14 bad0e1796aee: Layer already exists 20:02:14 3fbe34a1663b: Layer already exists 20:02:14 84f5ccb60311: Layer already exists 20:02:14 346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5: digest: sha256:147c5c050fda9829a7c10ba6a3756d37e511702a41b9375f0a1421eb61a7018c size: 1365 [Pipeline] isUnix [Pipeline] sh 20:02:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 20:02:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:02:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:02:15 84f5ccb60311: Preparing 20:02:15 bad0e1796aee: Preparing 20:02:15 b7a8c545c6c4: Preparing 20:02:15 bff605b3dacd: Preparing 20:02:15 3fbe34a1663b: Preparing 20:02:15 bff605b3dacd: Layer already exists 20:02:15 b7a8c545c6c4: Layer already exists 20:02:15 84f5ccb60311: Layer already exists 20:02:15 3fbe34a1663b: Layer already exists 20:02:15 bad0e1796aee: Layer already exists 20:02:15 main: digest: sha256:147c5c050fda9829a7c10ba6a3756d37e511702a41b9375f0a1421eb61a7018c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:02:15 ===================================================== [Pipeline] echo 20:02:15 taggedImages: 20:02:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e 20:02:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:02:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.5 20:02:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:346d8b883db1f3227d7ad1b5d610caf2a53a406e-2.0.1-dev.5 20:02:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:16 20:02:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:02:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:16 arm64: Pulling from edgex-lftools-log-publisher 20:02:16 448f6bf000e3: Pulling fs layer 20:02:16 f757da607395: Pulling fs layer 20:02:16 05883995daec: Pulling fs layer 20:02:16 8603b9c90790: Pulling fs layer 20:02:16 1560dd03e051: Pulling fs layer 20:02:16 27f5ce0e4adf: Pulling fs layer 20:02:16 c2d8d7efcc4b: Pulling fs layer 20:02:16 8603b9c90790: Waiting 20:02:16 1560dd03e051: Waiting 20:02:16 c2d8d7efcc4b: Waiting 20:02:16 27f5ce0e4adf: Waiting 20:02:17 f757da607395: Verifying Checksum 20:02:17 f757da607395: Download complete 20:02:17 8603b9c90790: Verifying Checksum 20:02:17 8603b9c90790: Download complete 20:02:17 1560dd03e051: Verifying Checksum 20:02:17 1560dd03e051: Download complete 20:02:17 27f5ce0e4adf: Verifying Checksum 20:02:17 27f5ce0e4adf: Download complete 20:02:17 05883995daec: Verifying Checksum 20:02:17 05883995daec: Download complete 20:02:18 448f6bf000e3: Verifying Checksum 20:02:18 448f6bf000e3: Download complete 20:02:20 c2d8d7efcc4b: Verifying Checksum 20:02:20 c2d8d7efcc4b: Download complete 20:02:22 448f6bf000e3: Pull complete 20:02:23 f757da607395: Pull complete 20:02:24 05883995daec: Pull complete 20:02:25 8603b9c90790: Pull complete 20:02:26 1560dd03e051: Pull complete 20:02:26 27f5ce0e4adf: Pull complete 20:02:41 c2d8d7efcc4b: Pull complete 20:02:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:02:41 prd-ubuntu18.04-docker-arm64-4c-16g-3184 does not seem to be running inside a container 20:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:02:47 $ docker top 25c3377936760cd067a53a7c1e23a3b738f14884d93c522baf6f1771e5a9e1c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:48 ---> job-cost.sh 20:02:48 lf-activate-venv: SKIPPING 20:02:48 INFO: No Stack... 20:02:49 INFO: Retrieving Pricing Info for: v2-standard-4 20:02:49 INFO: Archiving Costs [Pipeline] sh 20:02:50 + cat /w/workspace/device-mqtt-go/7/archives/cost.csv 20:02:50 + cut -d, -f6 [Pipeline] lock 20:02:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] 20:02:50 Resource [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] did not exist. Created. 20:02:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:02:51 /w/workspace/device-mqtt-go/7@tmp/durable-b0bbda0c/script.sh: 1: /w/workspace/device-mqtt-go/7@tmp/durable-b0bbda0c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:02:51 + echo total: 0.18000000715255737 [Pipeline] stash 20:02:51 Warning: overwriting stash ‘stack-cost’ 20:02:51 Stashed 1 file(s) [Pipeline] } 20:02:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 20:02:51 $ docker stop --time=1 25c3377936760cd067a53a7c1e23a3b738f14884d93c522baf6f1771e5a9e1c0 20:02:53 $ docker rm -f 25c3377936760cd067a53a7c1e23a3b738f14884d93c522baf6f1771e5a9e1c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:02:54 provisioning config files... 20:02:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4460291061883803644tmp [Pipeline] { [Pipeline] sh 20:02:54 + set +x 20:02:54 + bash -s -- 20:02:54 + curl -s https://codecov.io/bash 20:02:54 20:02:54 _____ _ 20:02:54 / ____| | | 20:02:54 | | ___ __| | ___ ___ _____ __ 20:02:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:02:54 | |___| (_) | (_| | __/ (_| (_) \ V / 20:02:54 \_____\___/ \__,_|\___|\___\___/ \_/ 20:02:54 Bash-1.0.6 20:02:54 20:02:54 20:02:54 ==> git version 2.24.4 found 20:02:54 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:02:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:02:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:02:54 ==> Jenkins CI detected. 20:02:54 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:02:54 project root: . 20:02:54 --> token set from env 20:02:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:02:54 ==> Running gcov in . (disable via -X gcov) 20:02:54 ==> Python coveragepy not found 20:02:54 ==> Searching for coverage reports in: 20:02:54 + . 20:02:54 -> Found 1 reports 20:02:54 ==> Detecting git/mercurial file structure 20:02:54 ==> Reading reports 20:02:54 + ./coverage.out bytes=16226 20:02:55 ==> Appending adjustments 20:02:55 https://docs.codecov.io/docs/fixing-reports 20:02:55 + Found adjustments 20:02:55 ==> Gzipping contents 20:02:55 4.0K /tmp/codecov.L8iX9o.gz 20:02:55 ==> Uploading reports 20:02:55 url: https://codecov.io 20:02:55 query: branch=main&commit=346d8b883db1f3227d7ad1b5d610caf2a53a406e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:02:55 -> Pinging Codecov 20:02:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=346d8b883db1f3227d7ad1b5d610caf2a53a406e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:02:55 -> Uploading to 20:02:55 https://storage.googleapis.com/codecov/v4/raw/2021-08-17/7D719EC7BBE17E464838252E33014C33/346d8b883db1f3227d7ad1b5d610caf2a53a406e/66ecbdca-e17f-431b-a61c-d8af68c7a6ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T200255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bad6f09626c9b52595a981fbc86c4e2426441cff9b71315669639ca323352e7c 20:02:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:55 Dload Upload Total Spent Left Speed 20:02:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3050 0 0 100 3050 0 9209 --:--:-- --:--:-- --:--:-- 9186 100 3050 0 0 100 3050 0 9206 --:--:-- --:--:-- --:--:-- 9186 20:02:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] } 20:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:02:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:02:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:02:56 20:02:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:02:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:02:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:02:56 188c0c94c7c5: Pulling fs layer 20:02:56 0ef7d3d256c8: Pulling fs layer 20:02:56 de9db76c5a1d: Pulling fs layer 20:02:56 0eba1c9be4d2: Pulling fs layer 20:02:56 0d57e429df01: Pulling fs layer 20:02:56 4e4be7b47b0d: Pulling fs layer 20:02:56 e1f770b5df2f: Pulling fs layer 20:02:56 85a0685a4137: Pulling fs layer 20:02:56 0d57e429df01: Waiting 20:02:56 4e4be7b47b0d: Waiting 20:02:56 e1f770b5df2f: Waiting 20:02:56 85a0685a4137: Waiting 20:02:56 0eba1c9be4d2: Waiting 20:02:56 de9db76c5a1d: Verifying Checksum 20:02:56 de9db76c5a1d: Download complete 20:02:56 0ef7d3d256c8: Verifying Checksum 20:02:56 0ef7d3d256c8: Download complete 20:02:56 0d57e429df01: Verifying Checksum 20:02:56 0d57e429df01: Download complete 20:02:56 4e4be7b47b0d: Download complete 20:02:56 188c0c94c7c5: Verifying Checksum 20:02:56 188c0c94c7c5: Download complete 20:02:56 188c0c94c7c5: Pull complete 20:02:57 0ef7d3d256c8: Pull complete 20:02:57 de9db76c5a1d: Pull complete 20:02:59 e1f770b5df2f: Verifying Checksum 20:02:59 e1f770b5df2f: Download complete 20:03:03 85a0685a4137: Verifying Checksum 20:03:03 85a0685a4137: Download complete 20:03:03 0eba1c9be4d2: Verifying Checksum 20:03:03 0eba1c9be4d2: Download complete 20:03:06 0eba1c9be4d2: Pull complete 20:03:06 0d57e429df01: Pull complete 20:03:06 4e4be7b47b0d: Pull complete 20:03:06 e1f770b5df2f: Pull complete 20:03:10 85a0685a4137: Pull complete 20:03:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:03:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:03:10 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:03:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:03:12 $ docker top 5dec747ee90bd8814768f7e224b8839c66c2752eb437e68c620c7f3816714fc0 -eo pid,comm [Pipeline] { [Pipeline] echo 20:03:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:03:13 + set -o pipefail 20:03:13 + snyk monitor '--org=edgex-jenkins' 20:03:18 20:03:18 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:03:18 20:03:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/96353846-7a83-4142-af80-6727ca2dbbac 20:03:18 20:03:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:03:18 20:03:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:03:18 20:03:18 20:03:18 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 20:03:18 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:03:18 $ docker stop --time=1 5dec747ee90bd8814768f7e224b8839c66c2752eb437e68c620c7f3816714fc0 20:03:20 $ docker rm -f 5dec747ee90bd8814768f7e224b8839c66c2752eb437e68c620c7f3816714fc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:03:21 + git log --format=format:%s -1 346d8b883db1f3227d7ad1b5d610caf2a53a406e [Pipeline] isUnix [Pipeline] sh 20:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:21 . [Pipeline] withDockerContainer 20:03:21 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:03:22 $ docker top c1eb63f7274a194c6671d4b79160bd7afac49b653b128dcde1161eb6683b2120 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:22 [ssh-agent] Looking for ssh-agent implementation... 20:03:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:23 $ docker exec c1eb63f7274a194c6671d4b79160bd7afac49b653b128dcde1161eb6683b2120 ssh-agent 20:03:23 SSH_AUTH_SOCK=/tmp/ssh-WWZqGS6D3Bz0/agent.14 20:03:23 SSH_AGENT_PID=20 20:03:23 Running ssh-add (command line suppressed) 20:03:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9074034521043127612.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9074034521043127612.key) 20:03:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:23 + git semver tag 20:03:23 # -> Open(): unable to determine branch for HEAD 20:03:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:03:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:03:23 # $SEMVER_REMOTE_NAME = origin 20:03:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:23 # $SEMVER_USER_NAME = edgex-jenkins 20:03:23 # $SEMVER_BRANCH = main 20:03:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:03:23 # 346d8b883db1f3227d7ad1b5d610caf2a53a406e HEAD 20:03:23 # -> Force: false 20:03:23 # bcb9ef4ffcfe025963beaad4dab1334e088b52cf refs/tags/v2.0.1-dev.5 [Pipeline] } 20:03:23 $ docker exec --env ******** --env ******** c1eb63f7274a194c6671d4b79160bd7afac49b653b128dcde1161eb6683b2120 ssh-agent -k 20:03:23 unset SSH_AUTH_SOCK; 20:03:23 unset SSH_AGENT_PID; 20:03:23 echo Agent pid 20 killed; 20:03:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:24 + git semver [Pipeline] } 20:03:24 $ docker stop --time=1 c1eb63f7274a194c6671d4b79160bd7afac49b653b128dcde1161eb6683b2120 20:03:25 $ docker rm -f c1eb63f7274a194c6671d4b79160bd7afac49b653b128dcde1161eb6683b2120 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:03:25 20:03:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:03:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:03:26 0.23.1-centos7: Pulling from edgex-lftools 20:03:26 ab5ef0e58194: Pulling fs layer 20:03:26 9712f1f96733: Pulling fs layer 20:03:26 63f879dbbcfc: Pulling fs layer 20:03:26 0d9ebad4ef96: Pulling fs layer 20:03:26 e9a5061849ea: Pulling fs layer 20:03:26 d747dcd14b5f: Pulling fs layer 20:03:26 2de7ff778b66: Pulling fs layer 20:03:26 0d9ebad4ef96: Waiting 20:03:26 e9a5061849ea: Waiting 20:03:26 d747dcd14b5f: Waiting 20:03:26 2de7ff778b66: Waiting 20:03:26 9712f1f96733: Verifying Checksum 20:03:26 9712f1f96733: Download complete 20:03:28 63f879dbbcfc: Verifying Checksum 20:03:28 63f879dbbcfc: Download complete 20:03:28 e9a5061849ea: Verifying Checksum 20:03:28 e9a5061849ea: Download complete 20:03:28 d747dcd14b5f: Verifying Checksum 20:03:28 d747dcd14b5f: Download complete 20:03:28 2de7ff778b66: Verifying Checksum 20:03:28 2de7ff778b66: Download complete 20:03:29 0d9ebad4ef96: Verifying Checksum 20:03:29 0d9ebad4ef96: Download complete 20:03:30 ab5ef0e58194: Verifying Checksum 20:03:30 ab5ef0e58194: Download complete 20:03:32 ab5ef0e58194: Pull complete 20:03:32 9712f1f96733: Pull complete 20:03:33 63f879dbbcfc: Pull complete 20:03:36 0d9ebad4ef96: Pull complete 20:03:36 e9a5061849ea: Pull complete 20:03:36 d747dcd14b5f: Pull complete 20:03:37 2de7ff778b66: Pull complete 20:03:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:03:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:03:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:03:37 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:03:41 $ docker top c5d855b78e6d1a33e462f9ee2fddda6866fa156a237da37ac633a00abf27f342 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:03:41 provisioning config files... 20:03:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8656484134763953866tmp 20:03:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7584693118934208356tmp 20:03:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1901771251770969339tmp [Pipeline] { [Pipeline] echo 20:03:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:03:42 ---> sigul-configuration.sh 20:03:42 gpg: directory `/root/.gnupg' created 20:03:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:03:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:03:42 gpg: keyring `/root/.gnupg/secring.gpg' created 20:03:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:03:42 gpg: CAST5 encrypted data 20:03:42 gpg: encrypted with 1 passphrase 20:03:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:03:42 + mkdir /home/jenkins 20:03:42 + mkdir /home/jenkins/sigul [Pipeline] sh 20:03:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:03:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:03:43 ---> sigul-install.sh 20:03:43 Sigul already installed; skipping installation. [Pipeline] sh 20:03:43 + git tag --list 20:03:43 0.7.1 20:03:43 v1.0.0 20:03:43 v1.1.0 20:03:43 v1.1.1 20:03:43 v1.2.2 20:03:43 v1.3.0 20:03:43 v1.3.1 20:03:43 v2.0.0 20:03:43 v2.0.1-dev.1 20:03:43 v2.0.1-dev.2 20:03:43 v2.0.1-dev.3 20:03:43 v2.0.1-dev.4 20:03:43 v2.0.1-dev.5 [Pipeline] sh 20:03:43 + lftools sign git-tag v2.0.1-dev.5 20:03:44 Signing Git tag with Sigul... 20:03:44 Signing v2.0.1-dev.5 [Pipeline] echo 20:03:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:03:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:03:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:03:45 $ docker stop --time=1 c5d855b78e6d1a33e462f9ee2fddda6866fa156a237da37ac633a00abf27f342 20:03:46 $ docker rm -f c5d855b78e6d1a33e462f9ee2fddda6866fa156a237da37ac633a00abf27f342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:47 . [Pipeline] withDockerContainer 20:03:47 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:03:47 $ docker top 36c1181e9eb779d62cfa62815773d149d739050ce8dbecfd8ab446668963a173 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:47 [ssh-agent] Looking for ssh-agent implementation... 20:03:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:47 $ docker exec 36c1181e9eb779d62cfa62815773d149d739050ce8dbecfd8ab446668963a173 ssh-agent 20:03:48 SSH_AUTH_SOCK=/tmp/ssh-H5I0S2xhBDCv/agent.14 20:03:48 SSH_AGENT_PID=20 20:03:48 Running ssh-add (command line suppressed) 20:03:48 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_924760579062960516.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_924760579062960516.key) 20:03:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:48 + git semver bump pre 20:03:48 # -> Open(): unable to determine branch for HEAD 20:03:48 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:03:48 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:03:48 # $SEMVER_REMOTE_NAME = origin 20:03:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:48 # $SEMVER_USER_NAME = edgex-jenkins 20:03:48 # $SEMVER_BRANCH = main 20:03:48 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:03:48 2.0.1-dev.6 [Pipeline] } 20:03:48 $ docker exec --env ******** --env ******** 36c1181e9eb779d62cfa62815773d149d739050ce8dbecfd8ab446668963a173 ssh-agent -k 20:03:48 unset SSH_AUTH_SOCK; 20:03:48 unset SSH_AGENT_PID; 20:03:48 echo Agent pid 20 killed; 20:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:49 + git semver [Pipeline] } 20:03:49 $ docker stop --time=1 36c1181e9eb779d62cfa62815773d149d739050ce8dbecfd8ab446668963a173 20:03:50 $ docker rm -f 36c1181e9eb779d62cfa62815773d149d739050ce8dbecfd8ab446668963a173 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:50 . [Pipeline] withDockerContainer 20:03:50 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:03:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:03:51 $ docker top 463d399d5ee3c402ee34a31c765ba5258f750accd8dbb0f53d672b31d4c559c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:51 [ssh-agent] Looking for ssh-agent implementation... 20:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:51 $ docker exec 463d399d5ee3c402ee34a31c765ba5258f750accd8dbb0f53d672b31d4c559c3 ssh-agent 20:03:51 SSH_AUTH_SOCK=/tmp/ssh-Hj3ekYacVb0u/agent.15 20:03:51 SSH_AGENT_PID=21 20:03:51 Running ssh-add (command line suppressed) 20:03:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2051111803057430674.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2051111803057430674.key) 20:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:52 + git semver push 20:03:52 # -> Open(): unable to determine branch for HEAD 20:03:52 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:03:52 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:03:52 # $SEMVER_REMOTE_NAME = origin 20:03:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:52 # $SEMVER_USER_NAME = edgex-jenkins 20:03:52 # $SEMVER_BRANCH = main 20:03:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:03:54 $ docker exec --env ******** --env ******** 463d399d5ee3c402ee34a31c765ba5258f750accd8dbb0f53d672b31d4c559c3 ssh-agent -k 20:03:54 unset SSH_AUTH_SOCK; 20:03:54 unset SSH_AGENT_PID; 20:03:54 echo Agent pid 21 killed; 20:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:54 + git semver [Pipeline] } 20:03:54 $ docker stop --time=1 463d399d5ee3c402ee34a31c765ba5258f750accd8dbb0f53d672b31d4c559c3 20:03:55 $ docker rm -f 463d399d5ee3c402ee34a31c765ba5258f750accd8dbb0f53d672b31d4c559c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:03:56 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:03:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:03:57 ---> package-listing.sh 20:03:57 ++ facter osfamily 20:03:57 ++ tr '[:upper:]' '[:lower:]' 20:03:57 + OS_FAMILY=redhat 20:03:57 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:03:57 + START_PACKAGES=/tmp/packages_start.txt 20:03:57 + END_PACKAGES=/tmp/packages_end.txt 20:03:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:03:57 + PACKAGES=/tmp/packages_start.txt 20:03:57 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:03:57 + PACKAGES=/tmp/packages_end.txt 20:03:57 + case "${OS_FAMILY}" in 20:03:57 + rpm -qa 20:03:57 + sort 20:03:58 + '[' -f /tmp/packages_start.txt ']' 20:03:58 + '[' -f /tmp/packages_end.txt ']' 20:03:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:03:58 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:03:58 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:03:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:03:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:03:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:59 20:03:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:03:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:59 latest: Pulling from edgex-lftools-log-publisher 20:03:59 b4d181a07f80: Pulling fs layer 20:03:59 a1111a8f2ec3: Pulling fs layer 20:03:59 ed53099fbce6: Pulling fs layer 20:03:59 dc539afda2c1: Pulling fs layer 20:03:59 77bc0d833cb6: Pulling fs layer 20:03:59 9065ff56babe: Pulling fs layer 20:03:59 d287ab97295c: Pulling fs layer 20:03:59 dc539afda2c1: Waiting 20:03:59 77bc0d833cb6: Waiting 20:03:59 9065ff56babe: Waiting 20:03:59 d287ab97295c: Waiting 20:03:59 a1111a8f2ec3: Verifying Checksum 20:03:59 a1111a8f2ec3: Download complete 20:03:59 dc539afda2c1: Verifying Checksum 20:03:59 dc539afda2c1: Download complete 20:04:00 77bc0d833cb6: Verifying Checksum 20:04:00 77bc0d833cb6: Download complete 20:04:00 9065ff56babe: Verifying Checksum 20:04:00 9065ff56babe: Download complete 20:04:00 ed53099fbce6: Verifying Checksum 20:04:00 ed53099fbce6: Download complete 20:04:01 b4d181a07f80: Verifying Checksum 20:04:01 b4d181a07f80: Download complete 20:04:02 b4d181a07f80: Pull complete 20:04:02 a1111a8f2ec3: Pull complete 20:04:02 ed53099fbce6: Pull complete 20:04:02 dc539afda2c1: Pull complete 20:04:02 77bc0d833cb6: Pull complete 20:04:02 9065ff56babe: Pull complete 20:04:05 d287ab97295c: Verifying Checksum 20:04:05 d287ab97295c: Download complete 20:04:09 d287ab97295c: Pull complete 20:04:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:04:09 prd-centos7-docker-4c-2g-3176 does not seem to be running inside a container 20:04:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:12 $ docker top f810e2b48ad71aa7226b3b7a5e971b19e963136cbbc9b7dd1c37130ce0693b99 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:13 + touch /tmp/pre-build-complete [Pipeline] sh 20:04:13 + mkdir -p /var/log/sysstat [Pipeline] sh 20:04:13 + ls /var/log/sa-host 20:04:13 + sadf -c /var/log/sa-host/sa05 20:04:13 file_magic: OK 20:04:13 HZ: Using current value: 100 20:04:13 file_header: OK 20:04:13 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 20:04:13 Statistics: 20:04:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:04:13 File successfully converted to sysstat format version 12.0.3 20:04:13 + sadf -c /var/log/sa-host/sa17 20:04:13 file_magic: OK 20:04:13 HZ: Using current value: 100 20:04:13 file_header: OK 20:04:13 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 20:04:13 Statistics: 20:04:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:04:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:14 provisioning config files... 20:04:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config719172097469772300tmp [Pipeline] { [Pipeline] echo 20:04:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:04:14 ---> create-netrc.sh [Pipeline] } 20:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:04:14 ---> python-tools-install.sh [Pipeline] echo 20:04:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:04:15 ---> sudo-logs.sh 20:04:15 Archiving 'sudo' log.. 20:04:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-3176.vexxhost.local: Name or service not known 20:04:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-3176.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:04:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:04:15 ---> job-cost.sh 20:04:15 lf-activate-venv: SKIPPING 20:04:15 DEBUG: total: 0.18000000715255737 20:04:15 INFO: Retrieving Stack Cost... 20:04:16 INFO: Retrieving Pricing Info for: v3-standard-2 20:04:16 INFO: Archiving Costs [Pipeline] echo 20:04:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:04:17 ---> logs-deploy.sh 20:04:17 lf-activate-venv: SKIPPING 20:04:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/7 20:04:17 INFO: archiving workspace using pattern(s): 20:04:17 Archives upload complete. 20:04:17 INFO: archiving logs to Nexus 20:04:18 ---> uname -a: 20:04:18 Linux prd-centos7-docker-4c-2g-3176.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 20:04:18 20:04:18 20:04:18 ---> lscpu: 20:04:18 Architecture: x86_64 20:04:18 CPU op-mode(s): 32-bit, 64-bit 20:04:18 Byte Order: Little Endian 20:04:18 Address sizes: 40 bits physical, 48 bits virtual 20:04:18 CPU(s): 2 20:04:18 On-line CPU(s) list: 0,1 20:04:18 Thread(s) per core: 1 20:04:18 Core(s) per socket: 1 20:04:18 Socket(s): 2 20:04:18 NUMA node(s): 1 20:04:18 Vendor ID: AuthenticAMD 20:04:18 CPU family: 23 20:04:18 Model: 49 20:04:18 Model name: AMD EPYC-Rome Processor 20:04:18 Stepping: 0 20:04:18 CPU MHz: 2799.998 20:04:18 BogoMIPS: 5599.99 20:04:18 Virtualization: AMD-V 20:04:18 Hypervisor vendor: KVM 20:04:18 Virtualization type: full 20:04:18 L1d cache: 32K 20:04:18 L1i cache: 32K 20:04:18 L2 cache: 512K 20:04:18 L3 cache: 16384K 20:04:18 NUMA node0 CPU(s): 0,1 20:04:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 20:04:18 20:04:18 20:04:18 ---> nproc: 20:04:18 2 20:04:18 20:04:18 20:04:18 ---> df -h: 20:04:18 Filesystem Size Used Avail Use% Mounted on 20:04:18 overlay 40G 9.0G 32G 23% / 20:04:18 tmpfs 64M 0 64M 0% /dev 20:04:18 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:04:18 shm 64M 0 64M 0% /dev/shm 20:04:18 /dev/vda1 40G 9.0G 32G 23% /facter-os 20:04:18 20:04:18 20:04:18 ---> sar -b -r -n DEV: 20:04:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:04:18 20:04:18 19:52:35 LINUX RESTART (2 CPU) 20:04:18 20:04:18 19:53:01 tps rtps wtps bread/s bwrtn/s 20:04:18 19:54:01 108.76 18.93 89.83 5816.22 5572.94 20:04:18 19:55:01 2.05 0.00 2.05 0.00 45.40 20:04:18 19:56:01 0.42 0.00 0.42 0.00 6.13 20:04:18 19:57:01 0.28 0.00 0.28 0.00 3.52 20:04:18 19:58:01 0.23 0.00 0.23 0.00 3.01 20:04:18 19:59:01 0.33 0.00 0.33 0.00 5.20 20:04:18 20:00:01 0.23 0.00 0.23 0.00 2.88 20:04:18 20:01:01 0.28 0.02 0.27 0.13 4.48 20:04:18 20:02:01 0.40 0.10 0.30 1.73 5.55 20:04:18 20:03:01 1.58 0.03 1.55 3.73 28.69 20:04:18 20:04:01 210.09 0.10 209.99 9.99 54047.29 20:04:18 Average: 29.52 1.74 27.77 530.28 5429.97 20:04:18 20:04:18 19:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:04:18 19:54:01 5470796 0 802520 10.02 2620 1733004 1290208 14.24 574092 1564240 128 20:04:18 19:55:01 5476852 0 796456 9.94 2620 1733012 1242476 13.72 569108 1564204 12 20:04:18 19:56:01 5476708 0 796596 9.95 2620 1733016 1242576 13.72 566428 1567032 12 20:04:18 19:57:01 5475308 0 797992 9.96 2620 1733020 1237504 13.66 567668 1567028 20 20:04:18 19:58:01 5479976 0 793320 9.91 2620 1733024 1205384 13.31 561972 1569388 16 20:04:18 19:59:01 5478264 0 795028 9.93 2620 1733028 1205540 13.31 563848 1569388 8 20:04:18 20:00:01 5478148 0 795140 9.93 2620 1733032 1205668 13.31 563932 1569388 8 20:04:18 20:01:01 5473672 0 799608 9.98 2620 1733040 1208696 13.34 567196 1569388 8 20:04:18 20:02:01 5465008 0 808148 10.09 2620 1733164 1206300 13.32 576444 1569452 8 20:04:18 20:03:01 5221504 0 848860 10.60 2620 1935956 1393596 15.39 654932 1725708 202572 20:04:18 20:04:01 3680116 0 1141420 14.25 2620 3184784 1718572 18.97 999060 2695688 129280 20:04:18 Average: 5288759 0 834099 10.41 2620 1883462 1286956 14.21 614971 1684628 30188 20:04:18 20:04:18 19:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:04:18 19:54:01 eth0 296.82 221.08 989.95 71.95 0.00 0.00 0.00 0.00 20:04:18 19:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:54:01 docker0 2.80 1.90 0.51 6.05 0.00 0.00 0.00 0.00 20:04:18 19:55:01 eth0 2.30 0.53 0.66 0.39 0.00 0.00 0.00 0.00 20:04:18 19:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:56:01 eth0 3.45 0.93 1.24 0.78 0.00 0.00 0.00 0.00 20:04:18 19:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:57:01 eth0 2.02 0.92 0.88 0.57 0.00 0.00 0.00 0.00 20:04:18 19:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:58:01 eth0 0.93 0.08 0.07 0.04 0.00 0.00 0.00 0.00 20:04:18 19:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:59:01 eth0 0.93 0.50 0.42 0.27 0.00 0.00 0.00 0.00 20:04:18 19:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 19:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:00:01 eth0 0.60 0.32 0.28 0.20 0.00 0.00 0.00 0.00 20:04:18 20:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:01:01 eth0 0.95 0.33 0.32 0.20 0.00 0.00 0.00 0.00 20:04:18 20:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:02:01 eth0 0.63 0.32 0.28 0.20 0.00 0.00 0.00 0.00 20:04:18 20:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:03:01 eth0 507.13 351.69 3361.36 26.78 0.00 0.00 0.00 0.00 20:04:18 20:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:04:01 eth0 1009.14 691.14 5766.34 150.71 0.00 0.00 0.00 0.00 20:04:18 20:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 20:04:01 docker0 75.02 97.58 5.74 390.07 0.00 0.00 0.00 0.00 20:04:18 Average: eth0 165.91 115.26 920.18 22.92 0.00 0.00 0.00 0.00 20:04:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:04:18 Average: docker0 7.07 9.04 0.57 36.01 0.00 0.00 0.00 0.00 20:04:18 20:04:18 20:04:18 ---> sar -P ALL: 20:04:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:04:18 20:04:18 19:52:35 LINUX RESTART (2 CPU) 20:04:18 20:04:18 19:53:01 CPU %user %nice %system %iowait %steal %idle 20:04:18 19:54:01 all 16.60 0.00 4.30 3.20 0.07 75.84 20:04:18 19:54:01 0 17.62 0.00 4.19 2.40 0.09 75.70 20:04:18 19:54:01 1 15.59 0.00 4.40 3.99 0.05 75.97 20:04:18 19:55:01 all 0.19 0.00 0.06 0.00 0.02 99.73 20:04:18 19:55:01 0 0.15 0.00 0.07 0.00 0.02 99.77 20:04:18 19:55:01 1 0.23 0.00 0.05 0.00 0.02 99.70 20:04:18 19:56:01 all 0.30 0.00 0.04 0.00 0.02 99.64 20:04:18 19:56:01 0 0.47 0.00 0.03 0.00 0.02 99.48 20:04:18 19:56:01 1 0.13 0.00 0.05 0.00 0.02 99.80 20:04:18 19:57:01 all 0.25 0.00 0.03 0.00 0.02 99.70 20:04:18 19:57:01 0 0.43 0.00 0.03 0.00 0.02 99.52 20:04:18 19:57:01 1 0.07 0.00 0.03 0.00 0.02 99.88 20:04:18 19:58:01 all 0.23 0.00 0.05 0.00 0.03 99.69 20:04:18 19:58:01 0 0.35 0.00 0.05 0.00 0.02 99.58 20:04:18 19:58:01 1 0.10 0.00 0.05 0.00 0.05 99.80 20:04:18 19:59:01 all 0.25 0.00 0.03 0.00 0.02 99.71 20:04:18 19:59:01 0 0.03 0.00 0.02 0.00 0.02 99.93 20:04:18 19:59:01 1 0.47 0.00 0.03 0.00 0.02 99.48 20:04:18 20:00:01 all 0.20 0.00 0.03 0.00 0.03 99.75 20:04:18 20:00:01 0 0.23 0.00 0.02 0.00 0.03 99.72 20:04:18 20:00:01 1 0.17 0.00 0.03 0.00 0.02 99.78 20:04:18 20:01:01 all 0.18 0.00 0.06 0.01 0.02 99.73 20:04:18 20:01:01 0 0.32 0.00 0.07 0.02 0.00 99.60 20:04:18 20:01:01 1 0.05 0.00 0.05 0.00 0.03 99.87 20:04:18 20:02:01 all 0.15 0.00 0.05 0.00 0.02 99.78 20:04:18 20:02:01 0 0.08 0.00 0.03 0.00 0.02 99.87 20:04:18 20:02:01 1 0.22 0.00 0.07 0.00 0.02 99.70 20:04:18 20:03:01 all 1.49 0.00 0.82 0.01 0.02 97.67 20:04:18 20:03:01 0 1.44 0.00 0.90 0.00 0.03 97.63 20:04:18 20:03:01 1 1.53 0.00 0.74 0.02 0.00 97.71 20:04:18 20:04:01 all 24.34 0.00 10.74 2.42 0.09 62.41 20:04:18 20:04:01 0 25.24 0.00 11.25 2.67 0.09 60.76 20:04:18 20:04:01 1 23.46 0.00 10.23 2.18 0.09 64.05 20:04:18 20:04:18 Average: CPU %user %nice %system %iowait %steal %idle 20:04:18 Average: all 3.87 0.00 1.41 0.49 0.03 94.20 20:04:18 Average: 0 4.05 0.00 1.45 0.44 0.03 94.03 20:04:18 Average: 1 3.69 0.00 1.38 0.54 0.03 94.36 20:04:18 20:04:18 20:04:18