Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 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-ssh5240809139305332413.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-ssh998709183208223435.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-ssh3363561801652153736.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-ssh7074619334906525849.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-ssh5287832192109047489.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-518 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-ssh2663985679311286461.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 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 (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 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 Commit message: "Merge pull request #302 from lenny-intel/releated-docs-pr" > git rev-list --no-walk 346d8b883db1f3227d7ad1b5d610caf2a53a406e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:51:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:51:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:51:45 ========================================================= 00:51:45 EdgeX Global Pipelines Version Info 00:51:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:51:46 ------------------- 00:51:46 stable info: 00:51:46 ------------------- 00:51:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:51:46 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 00:51:46 Message: update stable to v1.0.205 00:51:46 ------------------- 00:51:46 experimental info: 00:51:46 ------------------- 00:51:46 Commited By: **** collab-it+edgex@linuxfoundation.org 00:51:46 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 00:51:46 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:51:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 910567f [Pipeline] echo 00:51:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:47 provisioning config files... 00:51:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4596073673739872866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:48 ---> docker-login.sh 00:51:48 nexus3.edgexfoundry.org:10001 00:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:48 Configure a credential helper to remove this warning. See 00:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:48 00:51:48 Login Succeeded 00:51:48 nexus3.edgexfoundry.org:10002 00:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:48 Configure a credential helper to remove this warning. See 00:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:48 00:51:48 Login Succeeded 00:51:48 nexus3.edgexfoundry.org:10003 00:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:48 Configure a credential helper to remove this warning. See 00:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:48 00:51:48 Login Succeeded 00:51:48 nexus3.edgexfoundry.org:10004 00:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:48 Configure a credential helper to remove this warning. See 00:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:48 00:51:48 Login Succeeded 00:51:48 docker.io 00:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:49 Configure a credential helper to remove this warning. See 00:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:49 00:51:49 Login Succeeded 00:51:49 ---> docker-login.sh ends [Pipeline] } 00:51:49 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 00:51:49 + git log --format=format:%s -1 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] echo 00:51:49 GIT_COMMIT: 910567f982a12b50a29bcaec8eb25dde4e2e9fd5, Commit Message: Merge pull request #302 from lenny-intel/releated-docs-pr [Pipeline] echo 00:51:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:50 00:51:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:51:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:51 latest: Pulling from edgex-devops/git-semver 00:51:51 31603596830f: Pulling fs layer 00:51:51 04fac38145f0: Pulling fs layer 00:51:51 701f6daf10bf: Pulling fs layer 00:51:51 24f72da36158: Pulling fs layer 00:51:51 24f72da36158: Waiting 00:51:51 04fac38145f0: Verifying Checksum 00:51:51 04fac38145f0: Download complete 00:51:51 31603596830f: Verifying Checksum 00:51:51 31603596830f: Download complete 00:51:51 31603596830f: Pull complete 00:51:51 24f72da36158: Verifying Checksum 00:51:51 24f72da36158: Download complete 00:51:51 04fac38145f0: Pull complete 00:51:51 701f6daf10bf: Verifying Checksum 00:51:51 701f6daf10bf: Download complete 00:51:52 701f6daf10bf: Pull complete 00:51:52 24f72da36158: Pull complete 00:51:52 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 00:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:51:52 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 00:51:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:51:53 $ docker top 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:53 [ssh-agent] Looking for ssh-agent implementation... 00:51:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:53 $ docker exec 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d ssh-agent 00:51:53 SSH_AUTH_SOCK=/tmp/ssh-lFTYjSYCSrFp/agent.13 00:51:53 SSH_AGENT_PID=19 00:51:53 Running ssh-add (command line suppressed) 00:51:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4932918404396533211.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4932918404396533211.key) 00:51:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:54 + git tag --points-at HEAD [Pipeline] } 00:51:54 $ docker exec --env ******** --env ******** 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d ssh-agent -k 00:51:54 unset SSH_AUTH_SOCK; 00:51:54 unset SSH_AGENT_PID; 00:51:54 echo Agent pid 19 killed; 00:51:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:51:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:54 [ssh-agent] Looking for ssh-agent implementation... 00:51:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:54 $ docker exec 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d ssh-agent 00:51:54 SSH_AUTH_SOCK=/tmp/ssh-ygK0j2sPUV0N/agent.52 00:51:54 SSH_AGENT_PID=58 00:51:54 Running ssh-add (command line suppressed) 00:51:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3128217963023060583.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3128217963023060583.key) 00:51:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:55 + git semver init 00:51:55 # -> Open(): unable to determine branch for HEAD 00:51:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 00:51:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 00:51:55 # $SEMVER_REMOTE_NAME = origin 00:51:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:51:55 # $SEMVER_USER_NAME = edgex-jenkins 00:51:55 # $SEMVER_BRANCH = main 00:51:55 # $SEMVER_TEMP = /tmp/semver-981969318 00:51:55 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 00:51:55 # '/tmp/semver-981969318' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 00:51:55 # -> Force: false 00:51:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 00:51:55 $ docker exec --env ******** --env ******** 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d ssh-agent -k 00:51:55 unset SSH_AUTH_SOCK; 00:51:55 unset SSH_AGENT_PID; 00:51:55 echo Agent pid 58 killed; 00:51:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:55 + git semver [Pipeline] } 00:51:55 $ docker stop --time=1 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d 00:51:57 $ docker rm -f 0abeaf2529dbcfae4674ec0922b65225690773ad8723d2ccf0271906adb5432d [Pipeline] // withDockerContainer [Pipeline] sh 00:51:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:51:57 Stashed 1 file(s) [Pipeline] echo 00:51:57 [edgeXSemver]: initialized semver on version 2.0.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:52:13 Still waiting to schedule task 00:52:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:52:13 Still waiting to schedule task 00:52:13 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:56:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-520 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:56:17 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 00:56:17 Selected Git installation does not exist. Using Default 00:56:17 The recommended git tool is: NONE 00:56:23 using credential edgex-jenkins-ssh 00:56:23 Cloning the remote Git repository 00:56:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:56:23 > git init /w/workspace/device-mqtt-go/8 # timeout=10 00:56:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:56:23 > git --version # timeout=10 00:56:23 > git --version # 'git version 2.17.1' 00:56:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:24 Avoid second fetch 00:56:24 Checking out Revision 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 (main) 00:56:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:56:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:24 > git config core.sparsecheckout # timeout=10 00:56:24 > git checkout -f 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 00:56:29 Commit message: "Merge pull request #302 from lenny-intel/releated-docs-pr" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:29 provisioning config files... 00:56:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config8993447003008054527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:30 ---> docker-login.sh 00:56:30 nexus3.edgexfoundry.org:10001 00:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:31 Configure a credential helper to remove this warning. See 00:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:31 00:56:31 Login Succeeded 00:56:31 nexus3.edgexfoundry.org:10002 00:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:32 Configure a credential helper to remove this warning. See 00:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:32 00:56:32 Login Succeeded 00:56:32 nexus3.edgexfoundry.org:10003 00:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:32 Configure a credential helper to remove this warning. See 00:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:32 00:56:32 Login Succeeded 00:56:32 nexus3.edgexfoundry.org:10004 00:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:32 Configure a credential helper to remove this warning. See 00:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:32 00:56:32 Login Succeeded 00:56:33 docker.io 00:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:33 Configure a credential helper to remove this warning. See 00:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:33 00:56:33 Login Succeeded 00:56:33 ---> docker-login.sh ends [Pipeline] } 00:56:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:56:34 ========================================================= 00:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:56:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:56:34 + 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 . 00:56:34 Sending build context to Docker daemon 624.6kB 00:56:34 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 00:56:34 Step 2/12 : FROM ${BASE} AS builder 00:56:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:56:35 595b0fe564bb: Pulling fs layer 00:56:35 24495759ef45: Pulling fs layer 00:56:35 d148012ef14d: Pulling fs layer 00:56:35 e90a11edd702: Pulling fs layer 00:56:35 d77568369979: Pulling fs layer 00:56:35 fc1c9f9a7f3b: Pulling fs layer 00:56:35 170f2ba95c9a: Pulling fs layer 00:56:35 97ac5df62f85: Pulling fs layer 00:56:35 e90a11edd702: Waiting 00:56:35 d77568369979: Waiting 00:56:35 fc1c9f9a7f3b: Waiting 00:56:35 170f2ba95c9a: Waiting 00:56:35 97ac5df62f85: Waiting 00:56:35 d148012ef14d: Verifying Checksum 00:56:35 d148012ef14d: Download complete 00:56:35 24495759ef45: Download complete 00:56:35 d77568369979: Verifying Checksum 00:56:35 d77568369979: Download complete 00:56:35 595b0fe564bb: Verifying Checksum 00:56:35 595b0fe564bb: Download complete 00:56:35 fc1c9f9a7f3b: Verifying Checksum 00:56:35 fc1c9f9a7f3b: Download complete 00:56:35 170f2ba95c9a: Verifying Checksum 00:56:35 170f2ba95c9a: Download complete 00:56:36 595b0fe564bb: Pull complete 00:56:36 24495759ef45: Pull complete 00:56:37 d148012ef14d: Pull complete 00:56:39 97ac5df62f85: Verifying Checksum 00:56:39 97ac5df62f85: Download complete 00:56:40 e90a11edd702: Verifying Checksum 00:56:40 e90a11edd702: Download complete 00:56:52 e90a11edd702: Pull complete 00:56:52 d77568369979: Pull complete 00:56:52 fc1c9f9a7f3b: Pull complete 00:56:52 170f2ba95c9a: Pull complete 00:56:58 97ac5df62f85: Pull complete 00:56:58 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 00:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:56:58 ---> 04bc70af865f 00:56:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:57:01 ---> Running in c48491907368 00:57:02 Removing intermediate container c48491907368 00:57:02 ---> 7035e614e0b3 00:57:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:57:02 ---> Running in 2a2a4d66deeb 00:57:02 Removing intermediate container 2a2a4d66deeb 00:57:02 ---> 3725d3a0a7f0 00:57:02 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:02 ---> Running in f70fe4aa8969 00:57:05 Removing intermediate container f70fe4aa8969 00:57:05 ---> e80f2fe4d13e 00:57:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:05 ---> Running in 3ef02f566e40 00:57:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:57:07 Running on prd-centos7-docker-4c-2g-519 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:57:07 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 00:57:07 Selected Git installation does not exist. Using Default 00:57:07 The recommended git tool is: NONE 00:57:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:57:08 (1/3) Installing openssh-keygen (8.4_p1-r3) 00:57:09 (2/3) Installing libedit (20191231.3.1-r1) 00:57:09 (3/3) Installing openssh-client (8.4_p1-r3) 00:57:09 Executing busybox-1.32.1-r6.trigger 00:57:09 OK: 222 MiB in 55 packages 00:57:10 using credential edgex-jenkins-ssh 00:57:10 Cloning the remote Git repository 00:57:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:57:10 > git init /w/workspace/device-mqtt-go/8 # timeout=10 00:57:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:57:10 > git --version # timeout=10 00:57:10 > git --version # 'git version 2.24.4' 00:57:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:10 [INFO] Currently running in a labeled security context 00:57:10 [INFO] Currently SELinux is 'enforcing' on the host 00:57:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh3190088416338306004.key 00:57:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:11 Removing intermediate container 3ef02f566e40 00:57:11 ---> 247fa24cb2c3 00:57:11 Step 7/12 : WORKDIR /device-mqtt-go 00:57:11 ---> Running in 222b9dda2a1c 00:57:11 Avoid second fetch 00:57:11 Checking out Revision 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 (main) 00:57:11 Removing intermediate container 222b9dda2a1c 00:57:11 ---> f96112d7b9d4 00:57:11 Step 8/12 : COPY . . 00:57:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:57:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:11 > git config core.sparsecheckout # timeout=10 00:57:11 > git checkout -f 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 00:57:12 ---> caa9ca847e06 00:57:12 Step 9/12 : RUN go mod tidy 00:57:13 ---> Running in d687c6243f8d 00:57:15 Commit message: "Merge pull request #302 from lenny-intel/releated-docs-pr" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:15 provisioning config files... 00:57:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config275690427283248407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:15 ---> docker-login.sh 00:57:15 nexus3.edgexfoundry.org:10001 00:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:16 Configure a credential helper to remove this warning. See 00:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:16 00:57:16 Login Succeeded 00:57:16 nexus3.edgexfoundry.org:10002 00:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:16 Configure a credential helper to remove this warning. See 00:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:16 00:57:16 Login Succeeded 00:57:16 nexus3.edgexfoundry.org:10003 00:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:16 Configure a credential helper to remove this warning. See 00:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:16 00:57:16 Login Succeeded 00:57:16 nexus3.edgexfoundry.org:10004 00:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:16 Configure a credential helper to remove this warning. See 00:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:16 00:57:16 Login Succeeded 00:57:16 docker.io 00:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:16 Configure a credential helper to remove this warning. See 00:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:16 00:57:16 Login Succeeded 00:57:16 ---> docker-login.sh ends [Pipeline] } 00:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:57:17 ========================================================= 00:57:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:57:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:57:17 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:57:17 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 00:57:17 + 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 . 00:57:17 Sending build context to Docker daemon 625.7kB 00:57:17 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 00:57:17 Step 2/12 : FROM ${BASE} AS builder 00:57:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:57:17 540db60ca938: Pulling fs layer 00:57:17 adcc1eea9eea: Pulling fs layer 00:57:17 4c4ab2625f07: Pulling fs layer 00:57:17 db62176df00c: Pulling fs layer 00:57:17 3b30891b0d05: Pulling fs layer 00:57:17 06b49ca38bd5: Pulling fs layer 00:57:17 c788192a36de: Pulling fs layer 00:57:17 a77e37c0d609: Pulling fs layer 00:57:17 c3185cebc471: Pulling fs layer 00:57:17 db62176df00c: Waiting 00:57:17 06b49ca38bd5: Waiting 00:57:17 3b30891b0d05: Waiting 00:57:17 c788192a36de: Waiting 00:57:17 c3185cebc471: Waiting 00:57:17 a77e37c0d609: Waiting 00:57:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:57:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:57:17 4c4ab2625f07: Verifying Checksum 00:57:17 4c4ab2625f07: Download complete 00:57:17 adcc1eea9eea: Verifying Checksum 00:57:17 adcc1eea9eea: Download complete 00:57:17 3b30891b0d05: Verifying Checksum 00:57:17 3b30891b0d05: Download complete 00:57:17 06b49ca38bd5: Verifying Checksum 00:57:17 06b49ca38bd5: Download complete 00:57:17 c788192a36de: Verifying Checksum 00:57:17 c788192a36de: Download complete 00:57:17 540db60ca938: Verifying Checksum 00:57:17 540db60ca938: Download complete 00:57:17 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 00:57:17 go: downloading github.com/spf13/cast v1.4.1 00:57:18 540db60ca938: Pull complete 00:57:18 adcc1eea9eea: Pull complete 00:57:18 go: downloading github.com/stretchr/testify v1.7.0 00:57:18 go: downloading github.com/gorilla/websocket v1.4.2 00:57:18 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:57:18 4c4ab2625f07: Pull complete 00:57:18 go: downloading github.com/gorilla/mux v1.8.0 00:57:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:57:18 go: downloading github.com/google/uuid v1.2.0 00:57:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:57:18 a77e37c0d609: Verifying Checksum 00:57:18 a77e37c0d609: Download complete 00:57:18 go: downloading github.com/go-kit/kit v0.9.0 00:57:18 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:57:18 go: downloading github.com/davecgh/go-spew v1.1.1 00:57:18 go: downloading github.com/pmezard/go-difflib v1.0.0 00:57:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:57:19 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:57:19 go: downloading gopkg.in/yaml.v2 v2.4.0 00:57:19 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:57:19 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:57:19 go: downloading github.com/pelletier/go-toml v1.9.2 00:57:19 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:57:19 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 00:57:19 go: downloading github.com/go-playground/universal-translator v0.17.0 00:57:19 go: downloading github.com/leodido/go-urn v1.2.0 00:57:19 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:57:19 go: downloading golang.org/x/text v0.3.2 00:57:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:57:19 go: downloading github.com/go-playground/locales v0.13.0 00:57:21 c3185cebc471: Verifying Checksum 00:57:21 c3185cebc471: Download complete 00:57:22 go: downloading github.com/kr/pretty v0.2.0 00:57:22 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:57:22 go: downloading github.com/go-stack/stack v1.8.0 00:57:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:57:22 go: downloading github.com/hashicorp/consul/api v1.8.1 00:57:22 go: downloading github.com/stretchr/objx v0.1.0 00:57:22 go: downloading github.com/x448/float16 v0.8.4 00:57:22 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:57:22 go: downloading github.com/kr/text v0.1.0 00:57:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:57:22 go: downloading github.com/pebbe/zmq4 v1.2.7 00:57:22 db62176df00c: Verifying Checksum 00:57:22 db62176df00c: Download complete 00:57:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:57:23 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:57:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:57:23 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:57:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:57:23 go: downloading github.com/hashicorp/serf v0.9.5 00:57:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:57:23 go: downloading github.com/hashicorp/consul/sdk v0.7.0 00:57:23 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:57:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:57:23 go: downloading github.com/mitchellh/copystructure v1.0.0 00:57:23 go: downloading github.com/onsi/ginkgo v1.10.1 00:57:23 go: downloading github.com/onsi/gomega v1.7.0 00:57:23 go: downloading github.com/fatih/color v1.9.0 00:57:23 go: downloading github.com/mattn/go-colorable v0.1.6 00:57:23 go: downloading github.com/mattn/go-isatty v0.0.12 00:57:23 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:57:23 go: downloading github.com/pkg/errors v0.8.1 00:57:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:57:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:57:23 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:57:23 go: downloading github.com/hashicorp/memberlist v0.2.2 00:57:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:57:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:57:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:57:24 go: downloading github.com/hpcloud/tail v1.0.0 00:57:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:57:24 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:57:24 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:57:24 go: downloading github.com/miekg/dns v1.1.26 00:57:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:57:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:57:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:57:24 go: downloading github.com/hashicorp/errwrap v1.0.0 00:57:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:57:27 db62176df00c: Pull complete 00:57:27 3b30891b0d05: Pull complete 00:57:27 06b49ca38bd5: Pull complete 00:57:27 c788192a36de: Pull complete 00:57:27 a77e37c0d609: Pull complete 00:57:30 c3185cebc471: Pull complete 00:57:30 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 00:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:57:30 ---> 031687cdd783 00:57:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:57:32 ---> Running in dd9bd7c9c44d 00:57:32 Removing intermediate container dd9bd7c9c44d 00:57:32 ---> a2b47faaaa49 00:57:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:57:32 ---> Running in 991fd675a804 00:57:32 Removing intermediate container 991fd675a804 00:57:32 ---> 5442f6383cde 00:57:32 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:32 ---> Running in 3f99bbd44523 00:57:32 Removing intermediate container 3f99bbd44523 00:57:32 ---> 9fcf83ccec8d 00:57:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:32 ---> Running in 636c5dbd2d16 00:57:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:57:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:57:34 (1/3) Installing openssh-keygen (8.4_p1-r3) 00:57:34 (2/3) Installing libedit (20191231.3.1-r1) 00:57:34 (3/3) Installing openssh-client (8.4_p1-r3) 00:57:35 Executing busybox-1.32.1-r6.trigger 00:57:35 OK: 223 MiB in 55 packages 00:57:35 Removing intermediate container 636c5dbd2d16 00:57:35 ---> 6af5c63dd07c 00:57:35 Step 7/12 : WORKDIR /device-mqtt-go 00:57:35 ---> Running in df8b328ed23d 00:57:35 Removing intermediate container df8b328ed23d 00:57:35 ---> cdffc5b21adf 00:57:35 Step 8/12 : COPY . . 00:57:35 ---> 8d5b98adf048 00:57:35 Step 9/12 : RUN go mod tidy 00:57:35 ---> Running in 08695dc4f04e 00:57:37 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 00:57:37 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:57:37 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:57:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:57:37 go: downloading github.com/spf13/cast v1.4.1 00:57:37 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 00:57:37 go: downloading github.com/stretchr/testify v1.7.0 00:57:37 go: downloading github.com/gorilla/mux v1.8.0 00:57:37 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:57:37 go: downloading github.com/google/uuid v1.2.0 00:57:37 go: downloading github.com/gorilla/websocket v1.4.2 00:57:37 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:57:37 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:57:37 go: downloading github.com/go-kit/kit v0.9.0 00:57:37 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:57:37 go: downloading github.com/davecgh/go-spew v1.1.1 00:57:37 go: downloading github.com/pmezard/go-difflib v1.0.0 00:57:37 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:57:37 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:57:37 go: downloading gopkg.in/yaml.v2 v2.4.0 00:57:37 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:57:37 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:57:37 go: downloading github.com/pelletier/go-toml v1.9.2 00:57:37 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:57:37 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 00:57:37 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:57:37 go: downloading github.com/go-stack/stack v1.8.0 00:57:37 go: downloading github.com/go-playground/universal-translator v0.17.0 00:57:37 go: downloading github.com/leodido/go-urn v1.2.0 00:57:38 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:57:38 go: downloading golang.org/x/text v0.3.2 00:57:38 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:57:38 go: downloading github.com/go-playground/locales v0.13.0 00:57:39 go: downloading github.com/kr/pretty v0.2.0 00:57:39 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:57:39 go: downloading github.com/hashicorp/consul/api v1.8.1 00:57:39 go: downloading github.com/stretchr/objx v0.1.0 00:57:39 go: downloading github.com/x448/float16 v0.8.4 00:57:39 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:57:39 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:57:39 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:57:39 go: downloading github.com/pebbe/zmq4 v1.2.7 00:57:39 go: downloading github.com/kr/text v0.1.0 00:57:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:57:39 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:57:39 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:57:39 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:57:39 go: downloading github.com/hashicorp/serf v0.9.5 00:57:39 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:57:39 go: downloading github.com/hashicorp/consul/sdk v0.7.0 00:57:39 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:57:39 go: downloading github.com/onsi/ginkgo v1.10.1 00:57:39 go: downloading github.com/onsi/gomega v1.7.0 00:57:39 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:57:39 go: downloading github.com/mitchellh/copystructure v1.0.0 00:57:39 go: downloading github.com/fatih/color v1.9.0 00:57:39 go: downloading github.com/mattn/go-colorable v0.1.6 00:57:39 go: downloading github.com/mattn/go-isatty v0.0.12 00:57:39 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:57:39 go: downloading github.com/pkg/errors v0.8.1 00:57:39 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:57:39 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:57:39 go: downloading github.com/hashicorp/memberlist v0.2.2 00:57:39 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:57:39 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:57:39 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:57:39 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:57:39 go: downloading github.com/hpcloud/tail v1.0.0 00:57:39 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:57:39 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:57:39 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:57:39 go: downloading github.com/miekg/dns v1.1.26 00:57:39 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:57:39 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:57:39 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:57:39 go: downloading github.com/hashicorp/errwrap v1.0.0 00:57:39 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:57:42 Removing intermediate container d687c6243f8d 00:57:42 ---> 004ac602e7e6 00:57:42 Step 10/12 : RUN go mod download 00:57:42 ---> Running in 41ebeadf3433 00:57:44 Removing intermediate container 08695dc4f04e 00:57:44 ---> 9cd5a2462053 00:57:44 Step 10/12 : RUN go mod download 00:57:44 ---> Running in 2a8ad2ed99e5 00:57:51 Removing intermediate container 2a8ad2ed99e5 00:57:51 ---> 05743f84100a 00:57:51 Step 11/12 : ARG MAKE='make build' 00:57:51 ---> Running in 75b860bd7d15 00:57:51 Removing intermediate container 75b860bd7d15 00:57:51 ---> 6409355aa26b 00:57:51 Step 12/12 : RUN $MAKE 00:57:51 ---> Running in 250516a9c2f4 00:57:51 noop 00:57:51 Removing intermediate container 250516a9c2f4 00:57:51 ---> 057c228ebebf 00:57:51 Successfully built 057c228ebebf 00:57:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:57:51 + docker inspect -f . ci-base-image-x86_64 00:57:51 . [Pipeline] withDockerContainer 00:57:51 prd-centos7-docker-4c-2g-519 does not seem to be running inside a container 00:57:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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-x86_64 cat 00:57:52 $ docker top 8dbb0ff10afb49ee2003a1b199a9b8cd127037ffff76400ea8db2fa57045e705 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:52 + go version 00:57:52 go version go1.16.6 linux/amd64 [Pipeline] } 00:57:52 $ docker stop --time=1 8dbb0ff10afb49ee2003a1b199a9b8cd127037ffff76400ea8db2fa57045e705 00:57:53 $ docker rm -f 8dbb0ff10afb49ee2003a1b199a9b8cd127037ffff76400ea8db2fa57045e705 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:57:54 + docker inspect -f . ci-base-image-x86_64 00:57:54 . [Pipeline] withDockerContainer 00:57:54 prd-centos7-docker-4c-2g-519 does not seem to be running inside a container 00:57:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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-x86_64 cat 00:57:55 $ docker top 5a5613d51d598dce8ebc0d3db79898f0d3763e861495dffc10db17e9025b46d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:57:55 Removing intermediate container 41ebeadf3433 00:57:55 ---> 425cd0e775ef 00:57:55 Step 11/12 : ARG MAKE='make build' 00:57:55 ---> Running in d0f434fb51b7 00:57:55 Removing intermediate container d0f434fb51b7 00:57:55 ---> abdf9a5bd539 00:57:55 Step 12/12 : RUN $MAKE 00:57:55 ---> Running in 23aae261eaff 00:57:55 + go mod tidy [Pipeline] sh 00:57:56 + make test 00:57:56 go mod tidy 00:57:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:57:56 noop 00:57:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:57:57 Removing intermediate container 23aae261eaff 00:57:57 ---> 8643a17d766b 00:57:57 Successfully built 8643a17d766b 00:57:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:57:57 + docker inspect -f . ci-base-image-arm64 00:57:57 . [Pipeline] withDockerContainer 00:57:57 prd-ubuntu18.04-docker-arm64-4c-16g-520 does not seem to be running inside a container 00:57:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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 00:57:59 $ docker top 14250f0e2d0377f1afd33dde5c5ea73c62cb194de36ad9cecf053e78a8d69932 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:00 + go version 00:58:00 go version go1.16.6 linux/arm64 [Pipeline] } 00:58:00 $ docker stop --time=1 14250f0e2d0377f1afd33dde5c5ea73c62cb194de36ad9cecf053e78a8d69932 00:58:02 $ docker rm -f 14250f0e2d0377f1afd33dde5c5ea73c62cb194de36ad9cecf053e78a8d69932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:58:03 + docker inspect -f . ci-base-image-arm64 00:58:03 . [Pipeline] withDockerContainer 00:58:03 prd-ubuntu18.04-docker-arm64-4c-16g-520 does not seem to be running inside a container 00:58:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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 00:58:05 $ docker top 87588c5d068c6847a6835e41b0a7d43193c565a2dbf4117e920c54b695b48b01 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:58:06 + go mod tidy [Pipeline] sh 00:58:07 + make test 00:58:07 go mod tidy 00:58:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:58:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:58:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:58:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.3% of statements 00:58:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:58:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:58:21 gofmt -l . 00:58:21 ["`gofmt -l .`" = ""] 00:58:21 ./bin/test-attribution-txt.sh [Pipeline] } 00:58:21 $ docker stop --time=1 5a5613d51d598dce8ebc0d3db79898f0d3763e861495dffc10db17e9025b46d1 00:58:23 $ docker rm -f 5a5613d51d598dce8ebc0d3db79898f0d3763e861495dffc10db17e9025b46d1 [Pipeline] // withDockerContainer [Pipeline] sh 00:58:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:58:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:58:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:58:26 + ls -al . 00:58:26 total 116 00:58:26 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 22 00:58 . 00:58:26 drwxrwxr-x. 4 jenkins jenkins 28 Aug 22 00:57 .. 00:58:26 -rw-rw-r--. 1 jenkins jenkins 7100 Aug 22 00:57 Attribution.txt 00:58:26 drwxrwxr-x. 2 jenkins jenkins 60 Aug 22 00:57 bin 00:58:26 -rw-rw-r--. 1 jenkins jenkins 7447 Aug 22 00:57 CHANGELOG.md 00:58:26 drwxrwxr-x. 3 jenkins jenkins 32 Aug 22 00:57 cmd 00:58:26 -rw-r--r--. 1 jenkins jenkins 16226 Aug 22 00:58 coverage.out 00:58:26 -rw-rw-r--. 1 jenkins jenkins 1877 Aug 22 00:57 Dockerfile 00:58:26 -rw-rw-r--. 1 jenkins jenkins 140 Aug 22 00:57 .dockerignore 00:58:26 drwxrwxr-x. 8 jenkins jenkins 162 Aug 22 00:57 .git 00:58:26 drwxrwxr-x. 2 jenkins jenkins 103 Aug 22 00:57 .github 00:58:26 -rw-rw-r--. 1 jenkins jenkins 336 Aug 22 00:57 .gitignore 00:58:26 -rw-rw-r--. 1 jenkins jenkins 388 Aug 22 00:57 go.mod 00:58:26 -rw-r--r--. 1 jenkins jenkins 20775 Aug 22 00:57 go.sum 00:58:26 -rw-rw-r--. 1 jenkins jenkins 677 Aug 22 00:57 GOVERNANCE.md 00:58:26 drwxrwxr-x. 3 jenkins jenkins 20 Aug 22 00:57 internal 00:58:26 -rw-rw-r--. 1 jenkins jenkins 677 Aug 22 00:57 Jenkinsfile 00:58:26 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 22 00:57 LICENSE 00:58:26 -rw-rw-r--. 1 jenkins jenkins 907 Aug 22 00:57 Makefile 00:58:26 drwxrwxr-x. 2 jenkins jenkins 23 Aug 22 00:57 mock 00:58:26 -rw-rw-r--. 1 jenkins jenkins 620 Aug 22 00:57 OWNERS.md 00:58:26 -rw-rw-r--. 1 jenkins jenkins 2211 Aug 22 00:57 README.md 00:58:26 drwxrwxr-x. 4 jenkins jenkins 71 Aug 22 00:57 snap 00:58:26 -rw-rw-r--. 1 jenkins jenkins 11 Aug 22 00:51 VERSION 00:58:26 -rw-rw-r--. 1 jenkins jenkins 227 Aug 22 00:57 version.go [Pipeline] isUnix [Pipeline] sh 00:58:27 + 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=910567f982a12b50a29bcaec8eb25dde4e2e9fd5 --label arch=amd64 --label version=2.0.1-dev.6 . 00:58:27 Sending build context to Docker daemon 642.6kB 00:58:27 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 00:58:27 Step 2/24 : FROM ${BASE} AS builder 00:58:27 ---> 057c228ebebf 00:58:27 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:58:27 ---> Running in c4c0ec57c899 00:58:27 Removing intermediate container c4c0ec57c899 00:58:27 ---> 36baf444e334 00:58:27 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:58:27 ---> Running in 3a525e5d4fca 00:58:27 Removing intermediate container 3a525e5d4fca 00:58:27 ---> 3f5106903517 00:58:27 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:58:27 ---> Running in 7ecd3f08554c 00:58:28 Removing intermediate container 7ecd3f08554c 00:58:28 ---> a3f90bcb4033 00:58:28 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:58:28 ---> Running in 602833584b50 00:58:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:58:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:58:29 OK: 223 MiB in 55 packages 00:58:29 Removing intermediate container 602833584b50 00:58:29 ---> 2828b4fd1db7 00:58:29 Step 7/24 : WORKDIR /device-mqtt-go 00:58:29 ---> Running in f2712639b57b 00:58:29 Removing intermediate container f2712639b57b 00:58:29 ---> 355dc358ff4b 00:58:29 Step 8/24 : COPY . . 00:58:30 ---> 386e47b7c3e6 00:58:30 Step 9/24 : RUN go mod tidy 00:58:30 ---> Running in 56306a1a4310 00:58:30 Removing intermediate container 56306a1a4310 00:58:30 ---> 5fa9748d933b 00:58:30 Step 10/24 : RUN go mod download 00:58:30 ---> Running in 46bd93dabb8a 00:58:31 Removing intermediate container 46bd93dabb8a 00:58:31 ---> b8a9418426da 00:58:31 Step 11/24 : ARG MAKE='make build' 00:58:31 ---> Running in 777c090de19f 00:58:31 Removing intermediate container 777c090de19f 00:58:31 ---> f0487e470a7e 00:58:31 Step 12/24 : RUN $MAKE 00:58:31 ---> Running in e6029f16bba4 00:58:31 go mod tidy 00:58:31 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.6" -o cmd/device-mqtt ./cmd 00:58:44 Removing intermediate container e6029f16bba4 00:58:44 ---> 92adaf164d48 00:58:44 Step 13/24 : FROM alpine:3.12 00:58:44 3.12: Pulling from library/alpine 00:58:44 339de151aab4: Pulling fs layer 00:58:45 339de151aab4: Download complete 00:58:45 339de151aab4: Pull complete 00:58:45 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 00:58:45 Status: Downloaded newer image for alpine:3.12 00:58:45 ---> 13621d1b12d4 00:58:45 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:58:45 ---> Running in b83d36009d9b 00:58:45 Removing intermediate container b83d36009d9b 00:58:45 ---> 25fb0ee4cd45 00:58:45 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:58:45 ---> Running in 0f9156cebac5 00:58:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:58:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:58:45 (1/6) Installing dumb-init (1.2.2-r1) 00:58:45 (2/6) Installing libgcc (9.3.0-r2) 00:58:45 (3/6) Installing libsodium (1.0.18-r0) 00:58:45 (4/6) Installing libstdc++ (9.3.0-r2) 00:58:45 (5/6) Installing libzmq (4.3.3-r0) 00:58:45 (6/6) Installing zeromq (4.3.3-r0) 00:58:45 Executing busybox-1.31.1-r20.trigger 00:58:45 OK: 8 MiB in 20 packages 00:58:46 Removing intermediate container 0f9156cebac5 00:58:46 ---> aad00af543f4 00:58:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:58:46 ---> a340da687f31 00:58:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:58:46 ---> 52e9e55b5514 00:58:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:58:46 ---> a32c7777f9e6 00:58:46 Step 19/24 : EXPOSE 59982 00:58:46 ---> Running in be97f8f31a25 00:58:46 Removing intermediate container be97f8f31a25 00:58:46 ---> ee51983f4735 00:58:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:58:46 ---> Running in 820f996f2bec 00:58:46 Removing intermediate container 820f996f2bec 00:58:46 ---> 9dc84668b7ab 00:58:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:58:46 ---> Running in 661bd5c3a43e 00:58:47 Removing intermediate container 661bd5c3a43e 00:58:47 ---> 6584e3a4fa2d 00:58:47 Step 22/24 : LABEL arch=amd64 00:58:47 ---> Running in 5b3e4f57c91d 00:58:47 Removing intermediate container 5b3e4f57c91d 00:58:47 ---> 055f6c6387be 00:58:47 Step 23/24 : LABEL git_sha=910567f982a12b50a29bcaec8eb25dde4e2e9fd5 00:58:47 ---> Running in b788b92c2587 00:58:47 Removing intermediate container b788b92c2587 00:58:47 ---> 8358ef9d9f5c 00:58:47 Step 24/24 : LABEL version=2.0.1-dev.6 00:58:47 ---> Running in 7e2e11906a1b 00:58:47 Removing intermediate container 7e2e11906a1b 00:58:47 ---> d742cd750517 00:58:47 [Warning] One or more build-args [ARCH] were not consumed 00:58:47 Successfully built d742cd750517 00:58:47 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:47 provisioning config files... 00:58:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config7768249348850918170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:48 ---> docker-login.sh 00:58:48 nexus3.edgexfoundry.org:10001 00:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:48 Configure a credential helper to remove this warning. See 00:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:48 00:58:48 Login Succeeded 00:58:48 nexus3.edgexfoundry.org:10002 00:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:48 Configure a credential helper to remove this warning. See 00:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:48 00:58:48 Login Succeeded 00:58:48 nexus3.edgexfoundry.org:10003 00:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:48 Configure a credential helper to remove this warning. See 00:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:48 00:58:48 Login Succeeded 00:58:48 nexus3.edgexfoundry.org:10004 00:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:48 Configure a credential helper to remove this warning. See 00:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:48 00:58:48 Login Succeeded 00:58:48 docker.io 00:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:48 Configure a credential helper to remove this warning. See 00:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:48 00:58:48 Login Succeeded 00:58:48 ---> docker-login.sh ends [Pipeline] } 00:58:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:58:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:58:48 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 00:58:48 latest 00:58:48 2.0.1-dev.6 00:58:48 910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 00:58:48 main 00:58:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:58:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] isUnix [Pipeline] sh 00:58:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 00:58:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:58:49 5cd4c89f23b5: Preparing 00:58:49 084d5fb8a365: Preparing 00:58:49 3aa7a4e1d89b: Preparing 00:58:49 2e4454246e9c: Preparing 00:58:49 32f366d666a5: Preparing 00:58:49 32f366d666a5: Layer already exists 00:58:49 5cd4c89f23b5: Pushed 00:58:49 084d5fb8a365: Pushed 00:58:49 2e4454246e9c: Pushed 00:58:51 3aa7a4e1d89b: Pushed 00:58:51 910567f982a12b50a29bcaec8eb25dde4e2e9fd5: digest: sha256:ccf85f9488c032e33165ff122762b576335de71854335fc7441b7db297cc6b66 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:58:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 00:58:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:58:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:58:52 5cd4c89f23b5: Preparing 00:58:52 084d5fb8a365: Preparing 00:58:52 3aa7a4e1d89b: Preparing 00:58:52 2e4454246e9c: Preparing 00:58:52 32f366d666a5: Preparing 00:58:52 5cd4c89f23b5: Layer already exists 00:58:52 084d5fb8a365: Layer already exists 00:58:52 3aa7a4e1d89b: Layer already exists 00:58:52 32f366d666a5: Layer already exists 00:58:52 2e4454246e9c: Layer already exists 00:58:52 latest: digest: sha256:ccf85f9488c032e33165ff122762b576335de71854335fc7441b7db297cc6b66 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:58:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:58:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.6 00:58:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:58:52 5cd4c89f23b5: Preparing 00:58:52 084d5fb8a365: Preparing 00:58:52 3aa7a4e1d89b: Preparing 00:58:52 2e4454246e9c: Preparing 00:58:52 32f366d666a5: Preparing 00:58:52 5cd4c89f23b5: Layer already exists 00:58:52 2e4454246e9c: Layer already exists 00:58:52 084d5fb8a365: Layer already exists 00:58:52 3aa7a4e1d89b: Layer already exists 00:58:52 32f366d666a5: Layer already exists 00:58:52 2.0.1-dev.6: digest: sha256:ccf85f9488c032e33165ff122762b576335de71854335fc7441b7db297cc6b66 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:58:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 00:58:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 00:58:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:58:53 5cd4c89f23b5: Preparing 00:58:53 084d5fb8a365: Preparing 00:58:53 3aa7a4e1d89b: Preparing 00:58:53 2e4454246e9c: Preparing 00:58:53 32f366d666a5: Preparing 00:58:53 2e4454246e9c: Layer already exists 00:58:53 3aa7a4e1d89b: Layer already exists 00:58:53 5cd4c89f23b5: Layer already exists 00:58:53 32f366d666a5: Layer already exists 00:58:53 084d5fb8a365: Layer already exists 00:58:53 910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6: digest: sha256:ccf85f9488c032e33165ff122762b576335de71854335fc7441b7db297cc6b66 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:58:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 00:58:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:58:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:58:54 5cd4c89f23b5: Preparing 00:58:54 084d5fb8a365: Preparing 00:58:54 3aa7a4e1d89b: Preparing 00:58:54 2e4454246e9c: Preparing 00:58:54 32f366d666a5: Preparing 00:58:54 32f366d666a5: Layer already exists 00:58:54 084d5fb8a365: Layer already exists 00:58:54 2e4454246e9c: Layer already exists 00:58:54 3aa7a4e1d89b: Layer already exists 00:58:54 5cd4c89f23b5: Layer already exists 00:58:54 main: digest: sha256:ccf85f9488c032e33165ff122762b576335de71854335fc7441b7db297cc6b66 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:58:54 ===================================================== [Pipeline] echo 00:58:54 taggedImages: 00:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 00:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.6 00:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 00:58:54 - 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 00:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:55 00:58:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:55 latest: Pulling from edgex-lftools-log-publisher 00:58:55 b4d181a07f80: Pulling fs layer 00:58:55 a1111a8f2ec3: Pulling fs layer 00:58:55 ed53099fbce6: Pulling fs layer 00:58:55 dc539afda2c1: Pulling fs layer 00:58:55 77bc0d833cb6: Pulling fs layer 00:58:55 9065ff56babe: Pulling fs layer 00:58:55 d287ab97295c: Pulling fs layer 00:58:55 77bc0d833cb6: Waiting 00:58:55 9065ff56babe: Waiting 00:58:55 d287ab97295c: Waiting 00:58:55 dc539afda2c1: Waiting 00:58:55 a1111a8f2ec3: Verifying Checksum 00:58:55 a1111a8f2ec3: Download complete 00:58:55 dc539afda2c1: Verifying Checksum 00:58:55 dc539afda2c1: Download complete 00:58:56 77bc0d833cb6: Verifying Checksum 00:58:56 77bc0d833cb6: Download complete 00:58:56 ed53099fbce6: Verifying Checksum 00:58:56 ed53099fbce6: Download complete 00:58:56 9065ff56babe: Verifying Checksum 00:58:56 9065ff56babe: Download complete 00:58:57 b4d181a07f80: Verifying Checksum 00:58:57 b4d181a07f80: Download complete 00:58:58 b4d181a07f80: Pull complete 00:58:58 a1111a8f2ec3: Pull complete 00:58:59 ed53099fbce6: Pull complete 00:58:59 dc539afda2c1: Pull complete 00:58:59 77bc0d833cb6: Pull complete 00:58:59 9065ff56babe: Pull complete 00:59:00 d287ab97295c: Verifying Checksum 00:59:00 d287ab97295c: Download complete 00:59:05 d287ab97295c: Pull complete 00:59:05 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:59:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:59:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:59:05 prd-centos7-docker-4c-2g-519 does not seem to be running inside a container 00:59:05 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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:latest cat 00:59:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:59:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 24.3% of statements 00:59:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:59:06 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:59:08 $ docker top 0200f9ba375b90e84dc7761159e3ec821d94e9227eb8e4c96e703e23cb821351 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:08 ---> job-cost.sh 00:59:08 lf-activate-venv: SKIPPING 00:59:08 INFO: No Stack... 00:59:09 INFO: Retrieving Pricing Info for: v3-standard-2 00:59:10 INFO: Archiving Costs [Pipeline] sh 00:59:10 + cat /w/workspace/device-mqtt-go/8/archives/cost.csv 00:59:10 + cut -d, -f6 [Pipeline] lock 00:59:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] 00:59:10 Resource [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] did not exist. Created. 00:59:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:59:10 + echo total: 0.05999999865889549 [Pipeline] stash 00:59:10 Stashed 1 file(s) [Pipeline] } 00:59:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 00:59:10 $ docker stop --time=1 0200f9ba375b90e84dc7761159e3ec821d94e9227eb8e4c96e703e23cb821351 00:59:12 $ docker rm -f 0200f9ba375b90e84dc7761159e3ec821d94e9227eb8e4c96e703e23cb821351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:32 gofmt -l . 00:59:32 ["`gofmt -l .`" = ""] 00:59:32 ./bin/test-attribution-txt.sh [Pipeline] } 00:59:32 $ docker stop --time=1 87588c5d068c6847a6835e41b0a7d43193c565a2dbf4117e920c54b695b48b01 00:59:34 $ docker rm -f 87588c5d068c6847a6835e41b0a7d43193c565a2dbf4117e920c54b695b48b01 [Pipeline] // withDockerContainer [Pipeline] sh 00:59:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:59:35 Warning: overwriting stash ‘coverage-report’ 00:59:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:59:37 + ls -al . 00:59:37 total 148 00:59:37 drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 00:59 . 00:59:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 00:56 .. 00:59:37 -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 00:56 .dockerignore 00:59:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 00:56 .git 00:59:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 00:56 .github 00:59:37 -rw-rw-r-- 1 jenkins jenkins 336 Aug 22 00:56 .gitignore 00:59:37 -rw-rw-r-- 1 jenkins jenkins 7100 Aug 22 00:56 Attribution.txt 00:59:37 -rw-rw-r-- 1 jenkins jenkins 7447 Aug 22 00:56 CHANGELOG.md 00:59:37 -rw-rw-r-- 1 jenkins jenkins 1877 Aug 22 00:56 Dockerfile 00:59:37 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 00:56 GOVERNANCE.md 00:59:37 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 00:56 Jenkinsfile 00:59:37 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 22 00:56 LICENSE 00:59:37 -rw-rw-r-- 1 jenkins jenkins 907 Aug 22 00:56 Makefile 00:59:37 -rw-rw-r-- 1 jenkins jenkins 620 Aug 22 00:56 OWNERS.md 00:59:37 -rw-rw-r-- 1 jenkins jenkins 2211 Aug 22 00:56 README.md 00:59:37 -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 00:51 VERSION 00:59:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 00:56 bin 00:59:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 00:56 cmd 00:59:37 -rw-r--r-- 1 jenkins jenkins 16226 Aug 22 00:59 coverage.out 00:59:37 -rw-rw-r-- 1 jenkins jenkins 388 Aug 22 00:56 go.mod 00:59:37 -rw-r--r-- 1 jenkins jenkins 20775 Aug 22 00:58 go.sum 00:59:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 00:56 internal 00:59:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 00:56 mock 00:59:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 00:56 snap 00:59:37 -rw-rw-r-- 1 jenkins jenkins 227 Aug 22 00:56 version.go [Pipeline] isUnix [Pipeline] sh 00:59:37 + 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=910567f982a12b50a29bcaec8eb25dde4e2e9fd5 --label arch=arm64 --label version=2.0.1-dev.6 . 00:59:37 Sending build context to Docker daemon 641.5kB 00:59:37 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 00:59:37 Step 2/24 : FROM ${BASE} AS builder 00:59:37 ---> 8643a17d766b 00:59:37 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:59:37 ---> Running in 548e7af411be 00:59:38 Removing intermediate container 548e7af411be 00:59:38 ---> e25c6b5d2434 00:59:38 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:59:38 ---> Running in 24d27e9799e2 00:59:39 Removing intermediate container 24d27e9799e2 00:59:39 ---> 35fc0badd1b6 00:59:39 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:59:39 ---> Running in 1f4b0ca11fdd 00:59:41 Removing intermediate container 1f4b0ca11fdd 00:59:41 ---> 8bfaf26a5a2f 00:59:41 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:41 ---> Running in 3198eb4f4c6b 00:59:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:59:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:59:50 OK: 222 MiB in 55 packages 00:59:51 Removing intermediate container 3198eb4f4c6b 00:59:51 ---> ce64ec1066f5 00:59:51 Step 7/24 : WORKDIR /device-mqtt-go 00:59:51 ---> Running in 3454eff7ff9c 00:59:51 Removing intermediate container 3454eff7ff9c 00:59:51 ---> 4077c6d24184 00:59:51 Step 8/24 : COPY . . 00:59:52 ---> 0e51e6f6d294 00:59:52 Step 9/24 : RUN go mod tidy 00:59:52 ---> Running in 34d340ea8026 00:59:55 Removing intermediate container 34d340ea8026 00:59:55 ---> e25e12a50371 00:59:55 Step 10/24 : RUN go mod download 00:59:55 ---> Running in b8a6f59d0460 00:59:58 Removing intermediate container b8a6f59d0460 00:59:58 ---> d8447c4bd09d 00:59:58 Step 11/24 : ARG MAKE='make build' 00:59:58 ---> Running in ccf2bd900cfe 00:59:58 Removing intermediate container ccf2bd900cfe 00:59:58 ---> 20849fcac136 00:59:58 Step 12/24 : RUN $MAKE 00:59:58 ---> Running in 0f09dc5c7ffd 00:59:59 go mod tidy 01:00:00 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.6" -o cmd/device-mqtt ./cmd 01:00:39 Removing intermediate container 0f09dc5c7ffd 01:00:39 ---> 788bea7bf172 01:00:39 Step 13/24 : FROM alpine:3.12 01:00:39 3.12: Pulling from library/alpine 01:00:39 d2f70382dc9a: Pulling fs layer 01:00:39 d2f70382dc9a: Verifying Checksum 01:00:39 d2f70382dc9a: Download complete 01:00:39 d2f70382dc9a: Pull complete 01:00:39 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 01:00:39 Status: Downloaded newer image for alpine:3.12 01:00:39 ---> c4fd0aeabfcf 01:00:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:00:39 ---> Running in 01a7e65bbd2c 01:00:39 Removing intermediate container 01a7e65bbd2c 01:00:39 ---> 52763cb6f814 01:00:39 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:00:39 ---> Running in cf29b05f39d5 01:00:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:00:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:00:41 (1/6) Installing dumb-init (1.2.2-r1) 01:00:41 (2/6) Installing libgcc (9.3.0-r2) 01:00:41 (3/6) Installing libsodium (1.0.18-r0) 01:00:41 (4/6) Installing libstdc++ (9.3.0-r2) 01:00:41 (5/6) Installing libzmq (4.3.3-r0) 01:00:41 (6/6) Installing zeromq (4.3.3-r0) 01:00:41 Executing busybox-1.31.1-r20.trigger 01:00:41 OK: 8 MiB in 20 packages 01:00:42 Removing intermediate container cf29b05f39d5 01:00:42 ---> ae3e252f6580 01:00:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:00:43 ---> 32c81a995e4d 01:00:43 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:00:44 ---> 9390c4846ac7 01:00:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:00:45 ---> c87b67c21208 01:00:45 Step 19/24 : EXPOSE 59982 01:00:45 ---> Running in 0f72114e0217 01:00:45 Removing intermediate container 0f72114e0217 01:00:45 ---> e4d95f15e5c8 01:00:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:00:45 ---> Running in 0adc8642e3fa 01:00:46 Removing intermediate container 0adc8642e3fa 01:00:46 ---> 3f1b55821900 01:00:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:00:46 ---> Running in 9090114c9f00 01:00:47 Removing intermediate container 9090114c9f00 01:00:47 ---> ce9c83b24810 01:00:47 Step 22/24 : LABEL arch=arm64 01:00:47 ---> Running in 61dbc05e9521 01:00:47 Removing intermediate container 61dbc05e9521 01:00:47 ---> 4e254f25368b 01:00:47 Step 23/24 : LABEL git_sha=910567f982a12b50a29bcaec8eb25dde4e2e9fd5 01:00:47 ---> Running in ff1e110a9319 01:00:48 Removing intermediate container ff1e110a9319 01:00:48 ---> 277031908b74 01:00:48 Step 24/24 : LABEL version=2.0.1-dev.6 01:00:48 ---> Running in 8f64fb3a8b2b 01:00:48 Removing intermediate container 8f64fb3a8b2b 01:00:48 ---> e2c5fd70f5e3 01:00:48 [Warning] One or more build-args [ARCH] were not consumed 01:00:48 Successfully built e2c5fd70f5e3 01:00:48 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 01:00:49 provisioning config files... 01:00:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config1072771746193270502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:49 ---> docker-login.sh 01:00:49 nexus3.edgexfoundry.org:10001 01:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:49 Configure a credential helper to remove this warning. See 01:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:49 01:00:49 Login Succeeded 01:00:50 nexus3.edgexfoundry.org:10002 01:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:50 Configure a credential helper to remove this warning. See 01:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:50 01:00:50 Login Succeeded 01:00:50 nexus3.edgexfoundry.org:10003 01:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:51 Configure a credential helper to remove this warning. See 01:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:51 01:00:51 Login Succeeded 01:00:51 nexus3.edgexfoundry.org:10004 01:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:51 Configure a credential helper to remove this warning. See 01:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:51 01:00:51 Login Succeeded 01:00:51 docker.io 01:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:52 Configure a credential helper to remove this warning. See 01:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:52 01:00:52 Login Succeeded 01:00:52 ---> docker-login.sh ends [Pipeline] } 01:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:00:52 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:00:52 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 01:00:52 latest 01:00:52 2.0.1-dev.6 01:00:52 910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 01:00:52 main 01:00:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:00:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] isUnix [Pipeline] sh 01:00:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 01:00:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:00:53 f5eba80faa26: Preparing 01:00:53 e23abc13f7c7: Preparing 01:00:53 434d809ed506: Preparing 01:00:53 ab05af6266bb: Preparing 01:00:53 3fbe34a1663b: Preparing 01:00:53 3fbe34a1663b: Layer already exists 01:00:53 e23abc13f7c7: Pushed 01:00:53 f5eba80faa26: Pushed 01:00:54 ab05af6266bb: Pushed 01:00:56 434d809ed506: Pushed 01:00:56 910567f982a12b50a29bcaec8eb25dde4e2e9fd5: digest: sha256:ae9e61fc38da29a83f076f5d2a636c3991e296bc386ba143682f96752beffcac size: 1365 [Pipeline] isUnix [Pipeline] sh 01:00:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:00:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:00:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:00:57 f5eba80faa26: Preparing 01:00:57 e23abc13f7c7: Preparing 01:00:57 434d809ed506: Preparing 01:00:57 ab05af6266bb: Preparing 01:00:57 3fbe34a1663b: Preparing 01:00:57 3fbe34a1663b: Layer already exists 01:00:57 e23abc13f7c7: Layer already exists 01:00:57 ab05af6266bb: Layer already exists 01:00:57 434d809ed506: Layer already exists 01:00:57 f5eba80faa26: Layer already exists 01:00:57 latest: digest: sha256:ae9e61fc38da29a83f076f5d2a636c3991e296bc386ba143682f96752beffcac size: 1365 [Pipeline] isUnix [Pipeline] sh 01:00:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 01:00:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.6 01:00:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:00:58 f5eba80faa26: Preparing 01:00:58 e23abc13f7c7: Preparing 01:00:58 434d809ed506: Preparing 01:00:58 ab05af6266bb: Preparing 01:00:58 3fbe34a1663b: Preparing 01:00:58 3fbe34a1663b: Layer already exists 01:00:58 ab05af6266bb: Layer already exists 01:00:58 e23abc13f7c7: Layer already exists 01:00:58 434d809ed506: Layer already exists 01:00:58 f5eba80faa26: Layer already exists 01:00:58 2.0.1-dev.6: digest: sha256:ae9e61fc38da29a83f076f5d2a636c3991e296bc386ba143682f96752beffcac size: 1365 [Pipeline] isUnix [Pipeline] sh 01:00:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 01:00:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 01:00:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:00:59 f5eba80faa26: Preparing 01:00:59 e23abc13f7c7: Preparing 01:00:59 434d809ed506: Preparing 01:00:59 ab05af6266bb: Preparing 01:00:59 3fbe34a1663b: Preparing 01:00:59 f5eba80faa26: Layer already exists 01:00:59 434d809ed506: Layer already exists 01:00:59 ab05af6266bb: Layer already exists 01:00:59 3fbe34a1663b: Layer already exists 01:00:59 e23abc13f7c7: Layer already exists 01:00:59 910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6: digest: sha256:ae9e61fc38da29a83f076f5d2a636c3991e296bc386ba143682f96752beffcac size: 1365 [Pipeline] isUnix [Pipeline] sh 01:01:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 01:01:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:01:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:01:00 f5eba80faa26: Preparing 01:01:00 e23abc13f7c7: Preparing 01:01:00 434d809ed506: Preparing 01:01:00 ab05af6266bb: Preparing 01:01:00 3fbe34a1663b: Preparing 01:01:00 e23abc13f7c7: Layer already exists 01:01:00 f5eba80faa26: Layer already exists 01:01:00 3fbe34a1663b: Layer already exists 01:01:00 ab05af6266bb: Layer already exists 01:01:00 434d809ed506: Layer already exists 01:01:00 main: digest: sha256:ae9e61fc38da29a83f076f5d2a636c3991e296bc386ba143682f96752beffcac size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:01:00 ===================================================== [Pipeline] echo 01:01:00 taggedImages: 01:01:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5 01:01:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:01:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.6 01:01:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:910567f982a12b50a29bcaec8eb25dde4e2e9fd5-2.0.1-dev.6 01:01:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:01 01:01:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:01:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:01 arm64: Pulling from edgex-lftools-log-publisher 01:01:01 448f6bf000e3: Pulling fs layer 01:01:01 f757da607395: Pulling fs layer 01:01:01 05883995daec: Pulling fs layer 01:01:01 8603b9c90790: Pulling fs layer 01:01:01 1560dd03e051: Pulling fs layer 01:01:01 27f5ce0e4adf: Pulling fs layer 01:01:01 c2d8d7efcc4b: Pulling fs layer 01:01:01 1560dd03e051: Waiting 01:01:01 27f5ce0e4adf: Waiting 01:01:01 c2d8d7efcc4b: Waiting 01:01:01 8603b9c90790: Waiting 01:01:02 f757da607395: Verifying Checksum 01:01:02 f757da607395: Download complete 01:01:02 8603b9c90790: Download complete 01:01:02 1560dd03e051: Verifying Checksum 01:01:02 1560dd03e051: Download complete 01:01:02 27f5ce0e4adf: Verifying Checksum 01:01:02 27f5ce0e4adf: Download complete 01:01:02 05883995daec: Verifying Checksum 01:01:02 05883995daec: Download complete 01:01:03 448f6bf000e3: Verifying Checksum 01:01:03 448f6bf000e3: Download complete 01:01:06 c2d8d7efcc4b: Verifying Checksum 01:01:06 c2d8d7efcc4b: Download complete 01:01:07 448f6bf000e3: Pull complete 01:01:07 f757da607395: Pull complete 01:01:09 05883995daec: Pull complete 01:01:09 8603b9c90790: Pull complete 01:01:10 1560dd03e051: Pull complete 01:01:10 27f5ce0e4adf: Pull complete 01:01:26 c2d8d7efcc4b: Pull complete 01:01:26 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:01:26 prd-ubuntu18.04-docker-arm64-4c-16g-520 does not seem to be running inside a container 01:01:26 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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 01:01:30 $ docker top 7ea6b6842924a2930442a2020fa940785a74c203fa54d149ab755fc52bc5a3c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:31 ---> job-cost.sh 01:01:31 lf-activate-venv: SKIPPING 01:01:31 INFO: No Stack... 01:01:32 INFO: Retrieving Pricing Info for: v3-standard-4 01:01:33 INFO: Archiving Costs [Pipeline] sh 01:01:33 + cat /w/workspace/device-mqtt-go/8/archives/cost.csv 01:01:33 + cut -d, -f6 [Pipeline] lock 01:01:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] 01:01:33 Resource [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] did not exist. Created. 01:01:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:01:34 /w/workspace/device-mqtt-go/8@tmp/durable-59a42479/script.sh: 1: /w/workspace/device-mqtt-go/8@tmp/durable-59a42479/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:01:35 + echo total: 0.10999999940395355 [Pipeline] stash 01:01:35 Warning: overwriting stash ‘stack-cost’ 01:01:35 Stashed 1 file(s) [Pipeline] } 01:01:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 01:01:35 $ docker stop --time=1 7ea6b6842924a2930442a2020fa940785a74c203fa54d149ab755fc52bc5a3c2 01:01:36 $ docker rm -f 7ea6b6842924a2930442a2020fa940785a74c203fa54d149ab755fc52bc5a3c2 [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 01:01:37 provisioning config files... 01:01:37 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2514262416965389967tmp [Pipeline] { [Pipeline] sh 01:01:38 + set +x 01:01:38 + curl -s https://codecov.io/bash 01:01:38 + bash -s -- 01:01:38 01:01:38 _____ _ 01:01:38 / ____| | | 01:01:38 | | ___ __| | ___ ___ _____ __ 01:01:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:01:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:01:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:01:38 Bash-1.0.6 01:01:38 01:01:38 01:01:38 ==> git version 2.24.4 found 01:01:38 ==> 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 01:01:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:01:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:01:38 ==> Jenkins CI detected. 01:01:38 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:01:38 project root: . 01:01:38 --> token set from env 01:01:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:01:38 ==> Running gcov in . (disable via -X gcov) 01:01:38 ==> Python coveragepy not found 01:01:38 ==> Searching for coverage reports in: 01:01:38 + . 01:01:38 -> Found 1 reports 01:01:38 ==> Detecting git/mercurial file structure 01:01:38 ==> Reading reports 01:01:38 + ./coverage.out bytes=16226 01:01:38 ==> Appending adjustments 01:01:38 https://docs.codecov.io/docs/fixing-reports 01:01:38 + Found adjustments 01:01:38 ==> Gzipping contents 01:01:38 4.0K /tmp/codecov.kPNfzR.gz 01:01:38 ==> Uploading reports 01:01:38 url: https://codecov.io 01:01:38 query: branch=main&commit=910567f982a12b50a29bcaec8eb25dde4e2e9fd5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:01:38 -> Pinging Codecov 01:01:38 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=910567f982a12b50a29bcaec8eb25dde4e2e9fd5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:01:39 -> Uploading to 01:01:39 https://storage.googleapis.com/codecov/v4/raw/2021-08-22/7D719EC7BBE17E464838252E33014C33/910567f982a12b50a29bcaec8eb25dde4e2e9fd5/ba85eacc-ae43-4a09-b853-e905108ba3ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210822T010138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a38f9d29fa48f9d3f79c702ac2288a3d4687e47bfb8bd1650bab448ed461c39 01:01:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:01:39 Dload Upload Total Spent Left Speed 01:01:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3054 0 0 100 3054 0 7494 --:--:-- --:--:-- --:--:-- 7503 01:01:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] } 01:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:01:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:01:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:01:40 01:01:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:01:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:01:40 188c0c94c7c5: Pulling fs layer 01:01:40 0ef7d3d256c8: Pulling fs layer 01:01:40 de9db76c5a1d: Pulling fs layer 01:01:40 0eba1c9be4d2: Pulling fs layer 01:01:40 0d57e429df01: Pulling fs layer 01:01:40 4e4be7b47b0d: Pulling fs layer 01:01:40 e1f770b5df2f: Pulling fs layer 01:01:40 85a0685a4137: Pulling fs layer 01:01:40 0d57e429df01: Waiting 01:01:40 4e4be7b47b0d: Waiting 01:01:40 e1f770b5df2f: Waiting 01:01:40 85a0685a4137: Waiting 01:01:40 0eba1c9be4d2: Waiting 01:01:40 de9db76c5a1d: Download complete 01:01:40 0ef7d3d256c8: Verifying Checksum 01:01:40 0ef7d3d256c8: Download complete 01:01:40 0d57e429df01: Verifying Checksum 01:01:40 0d57e429df01: Download complete 01:01:41 4e4be7b47b0d: Verifying Checksum 01:01:41 4e4be7b47b0d: Download complete 01:01:41 188c0c94c7c5: Verifying Checksum 01:01:41 188c0c94c7c5: Download complete 01:01:41 188c0c94c7c5: Pull complete 01:01:41 0ef7d3d256c8: Pull complete 01:01:41 de9db76c5a1d: Pull complete 01:01:42 e1f770b5df2f: Verifying Checksum 01:01:42 e1f770b5df2f: Download complete 01:01:46 0eba1c9be4d2: Verifying Checksum 01:01:46 0eba1c9be4d2: Download complete 01:01:46 85a0685a4137: Verifying Checksum 01:01:46 85a0685a4137: Download complete 01:01:50 0eba1c9be4d2: Pull complete 01:01:50 0d57e429df01: Pull complete 01:01:50 4e4be7b47b0d: Pull complete 01:01:50 e1f770b5df2f: Pull complete 01:01:54 85a0685a4137: Pull complete 01:01:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:01:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:01:55 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:01:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:01:56 $ docker top bdbdcf57ae2d0ac89808b575615a9d65c0621fcfc142fdcd3a487a6f74d8f4ba -eo pid,comm [Pipeline] { [Pipeline] echo 01:01:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:01:57 + set -o pipefail 01:01:57 + snyk monitor '--org=edgex-jenkins' 01:02:29 01:02:29 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:02:29 01:02:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/08f06671-3cb3-4420-a6e0-98110fe5ecd5 01:02:29 01:02:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:02:29 01:02:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:02:29 01:02:29 [Pipeline] } 01:02:29 $ docker stop --time=1 bdbdcf57ae2d0ac89808b575615a9d65c0621fcfc142fdcd3a487a6f74d8f4ba 01:02:31 $ docker rm -f bdbdcf57ae2d0ac89808b575615a9d65c0621fcfc142fdcd3a487a6f74d8f4ba [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 01:02:32 + git log --format=format:%s -1 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 [Pipeline] isUnix [Pipeline] sh 01:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:02:32 . [Pipeline] withDockerContainer 01:02:33 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:02:33 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:02:33 $ docker top 694e83d217a84bb563bb41508138f11e22da81f6f12227b31ab8f299bea8af42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:33 [ssh-agent] Looking for ssh-agent implementation... 01:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:33 $ docker exec 694e83d217a84bb563bb41508138f11e22da81f6f12227b31ab8f299bea8af42 ssh-agent 01:02:33 SSH_AUTH_SOCK=/tmp/ssh-9OXB6wMsNtza/agent.14 01:02:33 SSH_AGENT_PID=20 01:02:33 Running ssh-add (command line suppressed) 01:02:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7193065556289398675.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7193065556289398675.key) 01:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:34 + git semver tag 01:02:34 # -> Open(): unable to determine branch for HEAD 01:02:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:02:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:02:34 # $SEMVER_REMOTE_NAME = origin 01:02:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:02:34 # $SEMVER_USER_NAME = edgex-jenkins 01:02:34 # $SEMVER_BRANCH = main 01:02:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:02:34 # 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 HEAD 01:02:34 # -> Force: false 01:02:34 # 58b82982f74556392708e3841ca7c604c7044a9f refs/tags/v2.0.1-dev.6 [Pipeline] } 01:02:34 $ docker exec --env ******** --env ******** 694e83d217a84bb563bb41508138f11e22da81f6f12227b31ab8f299bea8af42 ssh-agent -k 01:02:34 unset SSH_AUTH_SOCK; 01:02:34 unset SSH_AGENT_PID; 01:02:34 echo Agent pid 20 killed; 01:02:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:34 + git semver [Pipeline] } 01:02:34 $ docker stop --time=1 694e83d217a84bb563bb41508138f11e22da81f6f12227b31ab8f299bea8af42 01:02:36 $ docker rm -f 694e83d217a84bb563bb41508138f11e22da81f6f12227b31ab8f299bea8af42 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:02:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:02:36 01:02:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:02:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:02:36 0.23.1-centos7: Pulling from edgex-lftools 01:02:36 ab5ef0e58194: Pulling fs layer 01:02:36 9712f1f96733: Pulling fs layer 01:02:36 63f879dbbcfc: Pulling fs layer 01:02:36 0d9ebad4ef96: Pulling fs layer 01:02:36 e9a5061849ea: Pulling fs layer 01:02:36 d747dcd14b5f: Pulling fs layer 01:02:36 2de7ff778b66: Pulling fs layer 01:02:36 0d9ebad4ef96: Waiting 01:02:36 e9a5061849ea: Waiting 01:02:36 d747dcd14b5f: Waiting 01:02:36 2de7ff778b66: Waiting 01:02:36 9712f1f96733: Verifying Checksum 01:02:36 9712f1f96733: Download complete 01:02:38 63f879dbbcfc: Verifying Checksum 01:02:38 63f879dbbcfc: Download complete 01:02:39 e9a5061849ea: Verifying Checksum 01:02:39 e9a5061849ea: Download complete 01:02:39 d747dcd14b5f: Verifying Checksum 01:02:39 d747dcd14b5f: Download complete 01:02:39 2de7ff778b66: Verifying Checksum 01:02:39 2de7ff778b66: Download complete 01:02:39 0d9ebad4ef96: Verifying Checksum 01:02:39 0d9ebad4ef96: Download complete 01:02:40 ab5ef0e58194: Verifying Checksum 01:02:40 ab5ef0e58194: Download complete 01:02:43 ab5ef0e58194: Pull complete 01:02:43 9712f1f96733: Pull complete 01:02:44 63f879dbbcfc: Pull complete 01:02:48 0d9ebad4ef96: Pull complete 01:02:48 e9a5061849ea: Pull complete 01:02:48 d747dcd14b5f: Pull complete 01:02:50 2de7ff778b66: Pull complete 01:02:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:02:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:02:50 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:02:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:02:53 $ docker top c6b108320eae20eb9f9dbe6a26d700cbbb3bfa55c0556b5ec053b2724e18d76e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:02:53 provisioning config files... 01:02:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3326268663249106663tmp 01:02:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5377635628939911044tmp 01:02:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5617642122474118380tmp [Pipeline] { [Pipeline] echo 01:02:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:02:54 ---> sigul-configuration.sh 01:02:54 gpg: directory `/root/.gnupg' created 01:02:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:02:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:02:54 gpg: keyring `/root/.gnupg/secring.gpg' created 01:02:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:02:54 gpg: CAST5 encrypted data 01:02:54 gpg: encrypted with 1 passphrase 01:02:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:02:54 + mkdir /home/jenkins 01:02:54 + mkdir /home/jenkins/sigul [Pipeline] sh 01:02:54 + 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 01:02:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:02:55 ---> sigul-install.sh 01:02:55 Sigul already installed; skipping installation. [Pipeline] sh 01:02:55 + git tag --list 01:02:55 0.7.1 01:02:55 v1.0.0 01:02:55 v1.1.0 01:02:55 v1.1.1 01:02:55 v1.2.2 01:02:55 v1.3.0 01:02:55 v1.3.1 01:02:55 v2.0.0 01:02:55 v2.0.1-dev.1 01:02:55 v2.0.1-dev.2 01:02:55 v2.0.1-dev.3 01:02:55 v2.0.1-dev.4 01:02:55 v2.0.1-dev.5 01:02:55 v2.0.1-dev.6 [Pipeline] sh 01:02:55 + lftools sign git-tag v2.0.1-dev.6 01:02:56 Signing Git tag with Sigul... 01:02:56 Signing v2.0.1-dev.6 [Pipeline] echo 01:02:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:02:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:02:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:02:57 $ docker stop --time=1 c6b108320eae20eb9f9dbe6a26d700cbbb3bfa55c0556b5ec053b2724e18d76e 01:02:58 $ docker rm -f c6b108320eae20eb9f9dbe6a26d700cbbb3bfa55c0556b5ec053b2724e18d76e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:02:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:02:59 . [Pipeline] withDockerContainer 01:02:59 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:02:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:03:00 $ docker top eabe6c1febdb3b8de5f4db05946451f7824641ac2f37287afbbeded04fa09d32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:00 [ssh-agent] Looking for ssh-agent implementation... 01:03:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:00 $ docker exec eabe6c1febdb3b8de5f4db05946451f7824641ac2f37287afbbeded04fa09d32 ssh-agent 01:03:00 SSH_AUTH_SOCK=/tmp/ssh-9vgH6bKXJWYY/agent.14 01:03:00 SSH_AGENT_PID=21 01:03:00 Running ssh-add (command line suppressed) 01:03:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4841746913931496482.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4841746913931496482.key) 01:03:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:00 + git semver bump pre 01:03:00 # -> Open(): unable to determine branch for HEAD 01:03:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:03:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:03:00 # $SEMVER_REMOTE_NAME = origin 01:03:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:03:00 # $SEMVER_USER_NAME = edgex-jenkins 01:03:00 # $SEMVER_BRANCH = main 01:03:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:03:00 2.0.1-dev.7 [Pipeline] } 01:03:00 $ docker exec --env ******** --env ******** eabe6c1febdb3b8de5f4db05946451f7824641ac2f37287afbbeded04fa09d32 ssh-agent -k 01:03:01 unset SSH_AUTH_SOCK; 01:03:01 unset SSH_AGENT_PID; 01:03:01 echo Agent pid 21 killed; 01:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:01 + git semver [Pipeline] } 01:03:01 $ docker stop --time=1 eabe6c1febdb3b8de5f4db05946451f7824641ac2f37287afbbeded04fa09d32 01:03:02 $ docker rm -f eabe6c1febdb3b8de5f4db05946451f7824641ac2f37287afbbeded04fa09d32 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:03:03 . [Pipeline] withDockerContainer 01:03:03 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:03:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:03:03 $ docker top 9189eb5432c165f71bb1277c590cb75e5b48437abf7757636fe5b332042a0208 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:04 [ssh-agent] Looking for ssh-agent implementation... 01:03:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:04 $ docker exec 9189eb5432c165f71bb1277c590cb75e5b48437abf7757636fe5b332042a0208 ssh-agent 01:03:04 SSH_AUTH_SOCK=/tmp/ssh-FJoC5hu0sCLI/agent.13 01:03:04 SSH_AGENT_PID=20 01:03:04 Running ssh-add (command line suppressed) 01:03:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3822251813682903552.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3822251813682903552.key) 01:03:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:04 + git semver push 01:03:04 # -> Open(): unable to determine branch for HEAD 01:03:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:03:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:03:04 # $SEMVER_REMOTE_NAME = origin 01:03:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:03:04 # $SEMVER_USER_NAME = edgex-jenkins 01:03:04 # $SEMVER_BRANCH = main 01:03:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 01:03:06 $ docker exec --env ******** --env ******** 9189eb5432c165f71bb1277c590cb75e5b48437abf7757636fe5b332042a0208 ssh-agent -k 01:03:06 unset SSH_AUTH_SOCK; 01:03:06 unset SSH_AGENT_PID; 01:03:06 echo Agent pid 20 killed; 01:03:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:06 + git semver [Pipeline] } 01:03:06 $ docker stop --time=1 9189eb5432c165f71bb1277c590cb75e5b48437abf7757636fe5b332042a0208 01:03:07 $ docker rm -f 9189eb5432c165f71bb1277c590cb75e5b48437abf7757636fe5b332042a0208 [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 01:03:08 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:03:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:03:09 ---> package-listing.sh 01:03:09 ++ facter osfamily 01:03:09 ++ tr '[:upper:]' '[:lower:]' 01:03:10 + OS_FAMILY=redhat 01:03:10 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:03:10 + START_PACKAGES=/tmp/packages_start.txt 01:03:10 + END_PACKAGES=/tmp/packages_end.txt 01:03:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:03:10 + PACKAGES=/tmp/packages_start.txt 01:03:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:03:10 + PACKAGES=/tmp/packages_end.txt 01:03:10 + case "${OS_FAMILY}" in 01:03:10 + sort 01:03:10 + rpm -qa 01:03:10 + '[' -f /tmp/packages_start.txt ']' 01:03:10 + '[' -f /tmp/packages_end.txt ']' 01:03:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:03:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:03:10 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:03:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 01:03:10 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 01:03:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:11 01:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:03:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:12 latest: Pulling from edgex-lftools-log-publisher 01:03:12 b4d181a07f80: Pulling fs layer 01:03:12 a1111a8f2ec3: Pulling fs layer 01:03:12 ed53099fbce6: Pulling fs layer 01:03:12 dc539afda2c1: Pulling fs layer 01:03:12 77bc0d833cb6: Pulling fs layer 01:03:12 9065ff56babe: Pulling fs layer 01:03:12 d287ab97295c: Pulling fs layer 01:03:12 dc539afda2c1: Waiting 01:03:12 77bc0d833cb6: Waiting 01:03:12 9065ff56babe: Waiting 01:03:12 d287ab97295c: Waiting 01:03:12 a1111a8f2ec3: Verifying Checksum 01:03:12 a1111a8f2ec3: Download complete 01:03:12 dc539afda2c1: Verifying Checksum 01:03:12 dc539afda2c1: Download complete 01:03:12 77bc0d833cb6: Verifying Checksum 01:03:12 77bc0d833cb6: Download complete 01:03:12 9065ff56babe: Verifying Checksum 01:03:12 9065ff56babe: Download complete 01:03:12 ed53099fbce6: Verifying Checksum 01:03:12 ed53099fbce6: Download complete 01:03:13 b4d181a07f80: Download complete 01:03:14 b4d181a07f80: Pull complete 01:03:14 a1111a8f2ec3: Pull complete 01:03:15 ed53099fbce6: Pull complete 01:03:15 dc539afda2c1: Pull complete 01:03:15 77bc0d833cb6: Pull complete 01:03:15 9065ff56babe: Pull complete 01:03:16 d287ab97295c: Verifying Checksum 01:03:16 d287ab97295c: Download complete 01:03:22 d287ab97295c: Pull complete 01:03:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:03:22 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 01:03:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:03:24 $ docker top 303e867eb5764e23ea0c9e97b4886488c9ba84a1bca9fd4bfc2ffcb75efbac4f -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:25 + touch /tmp/pre-build-complete [Pipeline] sh 01:03:25 + mkdir -p /var/log/sysstat [Pipeline] sh 01:03:25 + ls /var/log/sa-host 01:03:25 + sadf -c /var/log/sa-host/sa19 01:03:25 file_magic: OK 01:03:25 HZ: Using current value: 100 01:03:25 file_header: OK 01:03:25 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:03:25 Statistics: 01:03:25 Hnuu...uuuununununu... 01:03:25 File successfully converted to sysstat format version 12.0.3 01:03:25 + sadf -c /var/log/sa-host/sa22 01:03:25 file_magic: OK 01:03:25 HZ: Using current value: 100 01:03:25 file_header: OK 01:03:25 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:03:25 Statistics: 01:03:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:03:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:26 provisioning config files... 01:03:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2972039544647907653tmp [Pipeline] { [Pipeline] echo 01:03:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:03:26 ---> create-netrc.sh [Pipeline] } 01:03:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:03:27 ---> python-tools-install.sh [Pipeline] echo 01:03:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:03:27 ---> sudo-logs.sh 01:03:27 Archiving 'sudo' log.. 01:03:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-518.vexxhost.local: Name or service not known 01:03:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-518.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 01:03:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:03:27 ---> job-cost.sh 01:03:27 lf-activate-venv: SKIPPING 01:03:27 DEBUG: total: 0.10999999940395355 01:03:27 INFO: Retrieving Stack Cost... 01:03:28 INFO: Retrieving Pricing Info for: v3-standard-2 01:03:28 INFO: Archiving Costs [Pipeline] echo 01:03:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:03:29 ---> logs-deploy.sh 01:03:29 lf-activate-venv: SKIPPING 01:03:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/8 01:03:29 INFO: archiving workspace using pattern(s): 01:03:29 Archives upload complete. 01:03:30 INFO: archiving logs to Nexus 01:03:30 ---> uname -a: 01:03:30 Linux prd-centos7-docker-4c-2g-518.vexxhost.local 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 GNU/Linux 01:03:30 01:03:30 01:03:30 ---> lscpu: 01:03:30 Architecture: x86_64 01:03:30 CPU op-mode(s): 32-bit, 64-bit 01:03:30 Byte Order: Little Endian 01:03:30 Address sizes: 40 bits physical, 48 bits virtual 01:03:30 CPU(s): 2 01:03:30 On-line CPU(s) list: 0,1 01:03:30 Thread(s) per core: 1 01:03:30 Core(s) per socket: 1 01:03:30 Socket(s): 2 01:03:30 NUMA node(s): 1 01:03:30 Vendor ID: AuthenticAMD 01:03:30 CPU family: 23 01:03:30 Model: 49 01:03:30 Model name: AMD EPYC-Rome Processor 01:03:30 Stepping: 0 01:03:30 CPU MHz: 2799.996 01:03:30 BogoMIPS: 5599.99 01:03:30 Virtualization: AMD-V 01:03:30 Hypervisor vendor: KVM 01:03:30 Virtualization type: full 01:03:30 L1d cache: 32K 01:03:30 L1i cache: 32K 01:03:30 L2 cache: 512K 01:03:30 L3 cache: 16384K 01:03:30 NUMA node0 CPU(s): 0,1 01:03:30 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 01:03:30 01:03:30 01:03:30 ---> nproc: 01:03:30 2 01:03:30 01:03:30 01:03:30 ---> df -h: 01:03:30 Filesystem Size Used Avail Use% Mounted on 01:03:30 overlay 40G 9.0G 32G 23% / 01:03:30 tmpfs 64M 0 64M 0% /dev 01:03:30 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:03:30 shm 64M 0 64M 0% /dev/shm 01:03:30 /dev/vda1 40G 9.0G 32G 23% /facter-os 01:03:30 01:03:30 01:03:30 ---> sar -b -r -n DEV: 01:03:30 Linux 3.10.0-1160.36.2.el7.x86_64 (centos-7-docker-611db46c-487c-30ca-28da-62715972c0a2.vexxhost.lo) 08/22/21 _x86_64_ (2 CPU) 01:03:30 01:03:30 00:51:03 LINUX RESTART (2 CPU) 01:03:30 01:03:30 00:52:01 tps rtps wtps bread/s bwrtn/s 01:03:30 00:53:01 3.40 0.00 3.40 0.00 107.05 01:03:30 00:54:01 0.47 0.00 0.47 0.00 7.81 01:03:30 00:55:01 0.22 0.00 0.22 0.00 3.51 01:03:30 00:56:01 0.23 0.00 0.23 0.00 3.08 01:03:30 00:57:01 0.25 0.00 0.25 0.00 2.76 01:03:30 00:58:01 0.33 0.00 0.33 0.00 4.96 01:03:30 00:59:01 0.18 0.00 0.18 0.00 2.83 01:03:30 01:00:01 0.23 0.02 0.22 0.13 2.12 01:03:30 01:01:01 0.40 0.03 0.37 0.27 5.33 01:03:30 01:02:01 70.18 0.12 70.06 5.33 31142.86 01:03:30 01:03:01 128.30 0.00 128.30 0.00 27230.08 01:03:30 Average: 18.57 0.02 18.56 0.52 5321.33 01:03:30 01:03:30 00:52:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:03:30 00:53:01 5687508 0 615508 7.69 2620 1703296 1179492 13.02 553944 1530352 20 01:03:30 00:54:01 5685396 0 617616 7.71 2620 1703300 1162016 12.83 556620 1530476 20 01:03:30 00:55:01 5686624 0 616384 7.70 2620 1703304 1162016 12.83 555300 1530480 8 01:03:30 00:56:01 5686624 0 616380 7.70 2620 1703308 1162016 12.83 554492 1531292 8 01:03:30 00:57:01 5688336 0 614664 7.67 2620 1703312 1162244 12.83 553096 1531292 12 01:03:30 00:58:01 5687824 0 615172 7.68 2620 1703316 1162292 12.83 553312 1531300 16 01:03:30 00:59:01 5680448 0 622544 7.77 2620 1703320 1162016 12.83 560776 1531300 8 01:03:30 01:00:01 5678756 0 624224 7.79 2620 1703332 1163936 12.85 561780 1531300 8 01:03:30 01:01:01 5678928 0 624040 7.79 2620 1703344 1164360 12.86 563824 1529456 8 01:03:30 01:02:01 4766196 0 817712 10.21 2620 2422404 1436532 15.86 752760 2163896 560 01:03:30 01:03:01 3984140 0 996704 12.44 2620 3025468 1457152 16.09 914476 2653808 52 01:03:30 Average: 5446435 0 670995 8.38 2620 1888882 1215825 13.42 607307 1690450 65 01:03:30 01:03:30 00:52:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:03:30 00:53:01 eth0 0.57 0.50 0.78 0.04 0.00 0.00 0.00 0.00 01:03:30 00:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:54:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:03:30 00:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:55:01 eth0 0.60 0.08 0.04 0.01 0.00 0.00 0.00 0.00 01:03:30 00:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:56:01 eth0 0.30 0.08 0.03 0.01 0.00 0.00 0.00 0.00 01:03:30 00:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:57:01 eth0 1.20 0.58 0.46 0.28 0.00 0.00 0.00 0.00 01:03:30 00:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:58:01 eth0 0.47 0.27 0.27 0.20 0.00 0.00 0.00 0.00 01:03:30 00:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:59:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:03:30 00:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 00:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:00:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:03:30 01:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:01:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:03:30 01:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:02:01 eth0 578.80 408.41 4102.26 35.33 0.00 0.00 0.00 0.00 01:03:30 01:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:02:01 vetheb45f64 8.82 11.21 0.96 9.70 0.00 0.00 0.00 0.00 01:03:30 01:02:01 docker0 8.82 11.11 0.84 9.69 0.00 0.00 0.00 0.00 01:03:30 01:03:01 eth0 599.65 403.83 3628.17 47.22 0.00 0.00 0.00 0.00 01:03:30 01:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 01:03:01 vethf718c7a 0.02 0.12 0.00 0.01 0.00 0.00 0.00 0.00 01:03:30 01:03:01 docker0 51.37 71.93 3.89 377.29 0.00 0.00 0.00 0.00 01:03:30 Average: eth0 107.49 74.04 703.18 7.56 0.00 0.00 0.00 0.00 01:03:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 Average: vethf718c7a 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 01:03:30 Average: docker0 5.47 7.55 0.43 35.20 0.00 0.00 0.00 0.00 01:03:30 01:03:30 01:03:30 ---> sar -P ALL: 01:03:30 Linux 3.10.0-1160.36.2.el7.x86_64 (centos-7-docker-611db46c-487c-30ca-28da-62715972c0a2.vexxhost.lo) 08/22/21 _x86_64_ (2 CPU) 01:03:30 01:03:30 00:51:03 LINUX RESTART (2 CPU) 01:03:30 01:03:30 00:52:01 CPU %user %nice %system %iowait %steal %idle 01:03:30 00:53:01 all 0.16 0.00 0.06 0.00 0.03 99.76 01:03:30 00:53:01 0 0.17 0.00 0.05 0.00 0.03 99.75 01:03:30 00:53:01 1 0.15 0.00 0.07 0.00 0.02 99.77 01:03:30 00:54:01 all 0.16 0.00 0.03 0.00 0.02 99.79 01:03:30 00:54:01 0 0.12 0.00 0.02 0.00 0.00 99.87 01:03:30 00:54:01 1 0.20 0.00 0.05 0.00 0.03 99.72 01:03:30 00:55:01 all 0.07 0.00 0.03 0.00 0.03 99.87 01:03:30 00:55:01 0 0.03 0.00 0.03 0.00 0.03 99.90 01:03:30 00:55:01 1 0.10 0.00 0.03 0.00 0.02 99.85 01:03:30 00:56:01 all 0.03 0.00 0.03 0.00 0.03 99.91 01:03:30 00:56:01 0 0.05 0.00 0.03 0.00 0.03 99.88 01:03:30 00:56:01 1 0.02 0.00 0.03 0.00 0.02 99.93 01:03:30 00:57:01 all 0.26 0.00 0.03 0.00 0.03 99.68 01:03:30 00:57:01 0 0.07 0.00 0.03 0.00 0.02 99.88 01:03:30 00:57:01 1 0.45 0.00 0.03 0.00 0.03 99.48 01:03:30 00:58:01 all 0.14 0.00 0.05 0.00 0.02 99.79 01:03:30 00:58:01 0 0.07 0.00 0.07 0.00 0.03 99.83 01:03:30 00:58:01 1 0.22 0.00 0.03 0.00 0.00 99.75 01:03:30 00:59:01 all 0.19 0.00 0.05 0.00 0.03 99.73 01:03:30 00:59:01 0 0.05 0.00 0.03 0.00 0.03 99.88 01:03:30 00:59:01 1 0.33 0.00 0.07 0.00 0.02 99.58 01:03:30 01:00:01 all 0.14 0.00 0.03 0.00 0.02 99.81 01:03:30 01:00:01 0 0.23 0.00 0.02 0.00 0.00 99.75 01:03:30 01:00:01 1 0.05 0.00 0.05 0.00 0.03 99.87 01:03:30 01:01:01 all 0.18 0.00 0.05 0.00 0.03 99.74 01:03:30 01:01:01 0 0.28 0.00 0.05 0.00 0.03 99.63 01:03:30 01:01:01 1 0.07 0.00 0.05 0.00 0.03 99.85 01:03:30 01:02:01 all 10.10 0.00 4.22 1.04 0.04 84.60 01:03:30 01:02:01 0 10.84 0.00 4.71 1.14 0.05 83.25 01:03:30 01:02:01 1 9.36 0.00 3.73 0.94 0.03 85.94 01:03:30 01:03:01 all 15.09 0.00 6.98 1.12 0.08 76.73 01:03:30 01:03:01 0 15.04 0.00 7.32 1.14 0.09 76.41 01:03:30 01:03:01 1 15.13 0.00 6.64 1.10 0.07 77.06 01:03:30 01:03:30 Average: CPU %user %nice %system %iowait %steal %idle 01:03:30 Average: all 2.34 0.00 1.02 0.19 0.03 96.42 01:03:30 Average: 0 2.37 0.00 1.09 0.20 0.03 96.31 01:03:30 Average: 1 2.31 0.00 0.95 0.18 0.03 96.53 01:03:30 01:03:30 01:03:30