Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 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-ssh3515825466330677438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh1138906750767660665.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh7417053671164590252.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh3601113478308670131.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-ssh1522875529263444337.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-1049 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-ssh911549634935942637.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 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (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 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks (#294)" > git rev-list --no-walk f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:55 ========================================================= 16:13:55 EdgeX Global Pipelines Version Info 16:13:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:56 ------------------- 16:13:56 stable info: 16:13:56 ------------------- 16:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:56 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 16:13:56 Message: update stable to v1.0.199 16:13:57 ------------------- 16:13:57 experimental info: 16:13:57 ------------------- 16:13:57 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:57 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 16:13:57 Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f108e1f [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:58 provisioning config files... 16:13:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5842437212340830128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:58 ---> docker-login.sh 16:13:58 nexus3.edgexfoundry.org:10001 16:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10002 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10003 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10004 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 docker.io 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 ---> docker-login.sh ends [Pipeline] } 16:13:59 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 16:14:00 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 16:14:00 GIT_COMMIT: f108e1f6dac2bdd3d582b44a0d019ed09ad7b604, Commit Message: feat(snap): add go-based configure and install hooks (#294) [Pipeline] echo 16:14:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:01 16:14:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:14:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:01 latest: Pulling from edgex-devops/git-semver 16:14:01 31603596830f: Pulling fs layer 16:14:01 b6dc333f4379: Pulling fs layer 16:14:01 3d9ef1400e77: Pulling fs layer 16:14:01 fd332fbdc1db: Pulling fs layer 16:14:01 fd332fbdc1db: Waiting 16:14:01 b6dc333f4379: Verifying Checksum 16:14:01 b6dc333f4379: Download complete 16:14:01 31603596830f: Verifying Checksum 16:14:01 31603596830f: Download complete 16:14:02 31603596830f: Pull complete 16:14:02 b6dc333f4379: Pull complete 16:14:02 fd332fbdc1db: Verifying Checksum 16:14:02 fd332fbdc1db: Download complete 16:14:02 3d9ef1400e77: Verifying Checksum 16:14:02 3d9ef1400e77: Download complete 16:14:03 3d9ef1400e77: Pull complete 16:14:03 fd332fbdc1db: Pull complete 16:14:03 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:14:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:14:03 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:14: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:14:04 $ docker top 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:04 [ssh-agent] Looking for ssh-agent implementation... 16:14:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:04 $ docker exec 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 ssh-agent 16:14:04 SSH_AUTH_SOCK=/tmp/ssh-PsMlYFiQWO9x/agent.14 16:14:04 SSH_AGENT_PID=20 16:14:04 Running ssh-add (command line suppressed) 16:14:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6542995201951304632.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6542995201951304632.key) 16:14:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:05 + git tag --points-at HEAD [Pipeline] } 16:14:05 $ docker exec --env ******** --env ******** 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 ssh-agent -k 16:14:05 unset SSH_AUTH_SOCK; 16:14:05 unset SSH_AGENT_PID; 16:14:05 echo Agent pid 20 killed; 16:14:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:14:05 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0' [Pipeline] sshagent 16:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:05 [ssh-agent] Looking for ssh-agent implementation... 16:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:05 $ docker exec 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 ssh-agent 16:14:05 SSH_AUTH_SOCK=/tmp/ssh-SewGLDbk4TIe/agent.53 16:14:05 SSH_AGENT_PID=60 16:14:05 Running ssh-add (command line suppressed) 16:14:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7594449828324834307.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7594449828324834307.key) 16:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:05 + git semver init 16:14:05 # -> Open(): unable to determine branch for HEAD 16:14:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 16:14:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 16:14:05 # $SEMVER_REMOTE_NAME = origin 16:14:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:14:05 # $SEMVER_USER_NAME = edgex-jenkins 16:14:05 # $SEMVER_BRANCH = main 16:14:05 # $SEMVER_TEMP = /tmp/semver-144629129 16:14:05 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 16:14:06 # '/tmp/semver-144629129' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 16:14:06 # -> Force: false 16:14:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 16:14:06 $ docker exec --env ******** --env ******** 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 ssh-agent -k 16:14:06 unset SSH_AUTH_SOCK; 16:14:06 unset SSH_AGENT_PID; 16:14:06 echo Agent pid 60 killed; 16:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14:07 + git semver [Pipeline] } 16:14:07 $ docker stop --time=1 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 16:14:08 $ docker rm -f 422d619389d1ff66f85df336340030c80fa072748abdec4c1ced1a003fb294d1 [Pipeline] // withDockerContainer [Pipeline] sh 16:14:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:14:08 Stashed 1 file(s) [Pipeline] echo 16:14:09 [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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 16:14:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1045 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 16:14:09 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 16:14:09 Selected Git installation does not exist. Using Default 16:14:09 The recommended git tool is: NONE 16:14:14 using credential edgex-jenkins-ssh 16:14:14 Cloning the remote Git repository 16:14:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:14:14 > git init /w/workspace/device-mqtt-go/2 # timeout=10 16:14:15 Avoid second fetch 16:14:15 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) 16:14:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:14:14 > git --version # timeout=10 16:14:14 > git --version # 'git version 2.17.1' 16:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:14:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:15 > git config core.sparsecheckout # timeout=10 16:14:15 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 16:14:19 Commit message: "feat(snap): add go-based configure and install hooks (#294)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:20 provisioning config files... 16:14:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6053369927501099690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:20 ---> docker-login.sh 16:14:20 nexus3.edgexfoundry.org:10001 16:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:21 Configure a credential helper to remove this warning. See 16:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:21 16:14:21 Login Succeeded 16:14:21 nexus3.edgexfoundry.org:10002 16:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:22 Configure a credential helper to remove this warning. See 16:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:22 16:14:22 Login Succeeded 16:14:22 nexus3.edgexfoundry.org:10003 16:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:23 Configure a credential helper to remove this warning. See 16:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:23 16:14:23 Login Succeeded 16:14:23 nexus3.edgexfoundry.org:10004 16:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:23 Configure a credential helper to remove this warning. See 16:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:23 16:14:23 Login Succeeded 16:14:23 docker.io 16:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:24 Still waiting to schedule task 16:14:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:24 Configure a credential helper to remove this warning. See 16:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:24 16:14:24 Login Succeeded 16:14:24 ---> docker-login.sh ends [Pipeline] } 16:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:24 ========================================================= 16:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:14:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:14:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:14:25 Sending build context to Docker daemon 601.6kB 16:14:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:14:25 Step 2/8 : FROM ${BASE} 16:14:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:25 595b0fe564bb: Pulling fs layer 16:14:25 24495759ef45: Pulling fs layer 16:14:25 d148012ef14d: Pulling fs layer 16:14:25 cb65c68fc2e2: Pulling fs layer 16:14:25 093eec477d81: Pulling fs layer 16:14:25 a6d5b2bbb924: Pulling fs layer 16:14:25 2446dc1eb7d3: Pulling fs layer 16:14:25 596795e73e0f: Pulling fs layer 16:14:25 cb65c68fc2e2: Waiting 16:14:25 093eec477d81: Waiting 16:14:25 a6d5b2bbb924: Waiting 16:14:25 2446dc1eb7d3: Waiting 16:14:25 596795e73e0f: Waiting 16:14:25 d148012ef14d: Download complete 16:14:26 24495759ef45: Verifying Checksum 16:14:26 24495759ef45: Download complete 16:14:26 093eec477d81: Verifying Checksum 16:14:26 093eec477d81: Download complete 16:14:26 595b0fe564bb: Verifying Checksum 16:14:26 595b0fe564bb: Download complete 16:14:26 a6d5b2bbb924: Verifying Checksum 16:14:26 a6d5b2bbb924: Download complete 16:14:26 2446dc1eb7d3: Verifying Checksum 16:14:26 2446dc1eb7d3: Download complete 16:14:26 595b0fe564bb: Pull complete 16:14:27 24495759ef45: Pull complete 16:14:27 d148012ef14d: Pull complete 16:14:29 596795e73e0f: Verifying Checksum 16:14:29 596795e73e0f: Download complete 16:14:30 cb65c68fc2e2: Verifying Checksum 16:14:30 cb65c68fc2e2: Download complete 16:14:40 cb65c68fc2e2: Pull complete 16:14:40 093eec477d81: Pull complete 16:14:40 a6d5b2bbb924: Pull complete 16:14:41 2446dc1eb7d3: Pull complete 16:14:45 596795e73e0f: Pull complete 16:14:45 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 16:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:14:45 ---> d9e956139c92 16:14:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:14:49 ---> Running in b698346a40d1 16:14:49 Removing intermediate container b698346a40d1 16:14:49 ---> 8c9ec6775cdb 16:14:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:49 ---> Running in 07fb2463ca14 16:14:52 Removing intermediate container 07fb2463ca14 16:14:52 ---> 5fbb18581035 16:14:52 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:14:52 ---> Running in 61b66f2c5adc 16:14:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:14:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:14:54 (1/13) Installing libc-dev (0.7.2-r3) 16:14:54 (2/13) Installing libsodium (1.0.18-r0) 16:14:54 (3/13) Installing pkgconf (1.7.3-r0) 16:14:55 (4/13) Installing libsodium-dev (1.0.18-r0) 16:14:55 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:14:55 (6/13) Installing libedit (20191231.3.1-r1) 16:14:55 (7/13) Installing openssh-client (8.4_p1-r3) 16:14:55 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:14:55 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:14:56 (10/13) Installing openssh-server (8.4_p1-r3) 16:14:56 (11/13) Installing openssh (8.4_p1-r3) 16:14:56 (12/13) Installing libzmq (4.3.3-r1) 16:14:56 (13/13) Installing zeromq-dev (4.3.3-r1) 16:14:56 Executing busybox-1.32.1-r6.trigger 16:14:56 OK: 145 MiB in 53 packages 16:14:58 Removing intermediate container 61b66f2c5adc 16:14:58 ---> 16d84fb45f18 16:14:58 Step 6/8 : WORKDIR /device-mqtt-go 16:14:58 ---> Running in 47452abb5ebc 16:14:58 Removing intermediate container 47452abb5ebc 16:14:58 ---> e470307e50ca 16:14:58 Step 7/8 : COPY . . 16:14:59 ---> df81142add66 16:14:59 Step 8/8 : RUN go mod download 16:15:00 ---> Running in 5918489c738b 16:15:32 Removing intermediate container 5918489c738b 16:15:32 ---> 105354645ff9 16:15:32 Successfully built 105354645ff9 16:15:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:15:32 + docker inspect -f . ci-base-image-arm64 16:15:32 . [Pipeline] withDockerContainer 16:15:33 prd-ubuntu18.04-docker-arm64-4c-16g-1045 does not seem to be running inside a container 16:15:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 16:15:35 $ docker top 035be205f0153417a8b7bf444d0614d7400e7e9412d58b45b22d5946b3e67a47 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:36 + go version 16:15:36 go version go1.16.5 linux/arm64 [Pipeline] } 16:15:36 $ docker stop --time=1 035be205f0153417a8b7bf444d0614d7400e7e9412d58b45b22d5946b3e67a47 16:15:37 $ docker rm -f 035be205f0153417a8b7bf444d0614d7400e7e9412d58b45b22d5946b3e67a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:38 + docker inspect -f . ci-base-image-arm64 16:15:38 . [Pipeline] withDockerContainer 16:15:39 prd-ubuntu18.04-docker-arm64-4c-16g-1045 does not seem to be running inside a container 16:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 16:15:40 $ docker top 8f77cc6cfd06cead1d9e562e680b56dd2a9355839a12b0915883df773ed0cc88 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:41 + go mod tidy [Pipeline] sh 16:15:43 + make test 16:15:43 go mod tidy 16:15:43 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:15:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:16:12 Running on prd-centos7-docker-4c-2g-1050 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 16:16:12 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 16:16:12 Selected Git installation does not exist. Using Default 16:16:12 The recommended git tool is: NONE 16:16:15 using credential edgex-jenkins-ssh 16:16:15 Cloning the remote Git repository 16:16:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:16:14 > git init /w/workspace/device-mqtt-go/2 # timeout=10 16:16:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:16:14 > git --version # timeout=10 16:16:14 > git --version # 'git version 2.24.4' 16:16:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:14 [INFO] Currently running in a labeled security context 16:16:14 [INFO] Currently SELinux is 'enforcing' on the host 16:16:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/2@tmp/jenkins-gitclient-ssh284838448107980797.key 16:16:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:16 Avoid second fetch 16:16:16 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) 16:16:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:16:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:15 > git config core.sparsecheckout # timeout=10 16:16:15 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 16:16:19 Commit message: "feat(snap): add go-based configure and install hooks (#294)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:20 provisioning config files... 16:16:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3643738628029148798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:20 ---> docker-login.sh 16:16:20 nexus3.edgexfoundry.org:10001 16:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:20 Configure a credential helper to remove this warning. See 16:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:20 16:16:20 Login Succeeded 16:16:20 nexus3.edgexfoundry.org:10002 16:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:21 Configure a credential helper to remove this warning. See 16:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:21 16:16:21 Login Succeeded 16:16:21 nexus3.edgexfoundry.org:10003 16:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:21 Configure a credential helper to remove this warning. See 16:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:21 16:16:21 Login Succeeded 16:16:21 nexus3.edgexfoundry.org:10004 16:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:21 Configure a credential helper to remove this warning. See 16:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:21 16:16:21 Login Succeeded 16:16:21 docker.io 16:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:21 Configure a credential helper to remove this warning. See 16:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:21 16:16:21 Login Succeeded 16:16:21 ---> docker-login.sh ends [Pipeline] } 16:16:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:22 ========================================================= 16:16:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:16:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:16:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:16:22 Sending build context to Docker daemon 602.6kB 16:16:22 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:16:22 Step 2/8 : FROM ${BASE} 16:16:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:16:22 540db60ca938: Pulling fs layer 16:16:22 adcc1eea9eea: Pulling fs layer 16:16:22 4c4ab2625f07: Pulling fs layer 16:16:22 0773c198feca: Pulling fs layer 16:16:22 345f892a5656: Pulling fs layer 16:16:22 4796506630df: Pulling fs layer 16:16:22 cc55df3e53f1: Pulling fs layer 16:16:22 4d027b6c602c: Pulling fs layer 16:16:22 449e75d2c14e: Pulling fs layer 16:16:22 0773c198feca: Waiting 16:16:22 345f892a5656: Waiting 16:16:22 4796506630df: Waiting 16:16:22 cc55df3e53f1: Waiting 16:16:22 4d027b6c602c: Waiting 16:16:22 449e75d2c14e: Waiting 16:16:22 4c4ab2625f07: Verifying Checksum 16:16:22 4c4ab2625f07: Download complete 16:16:22 adcc1eea9eea: Verifying Checksum 16:16:22 adcc1eea9eea: Download complete 16:16:22 345f892a5656: Verifying Checksum 16:16:22 345f892a5656: Download complete 16:16:22 4796506630df: Verifying Checksum 16:16:22 4796506630df: Download complete 16:16:22 540db60ca938: Verifying Checksum 16:16:22 cc55df3e53f1: Verifying Checksum 16:16:22 cc55df3e53f1: Download complete 16:16:22 540db60ca938: Pull complete 16:16:23 adcc1eea9eea: Pull complete 16:16:23 4c4ab2625f07: Pull complete 16:16:23 4d027b6c602c: Verifying Checksum 16:16:23 4d027b6c602c: Download complete 16:16:26 449e75d2c14e: Verifying Checksum 16:16:26 449e75d2c14e: Download complete 16:16:27 0773c198feca: Verifying Checksum 16:16:27 0773c198feca: Download complete 16:16:31 0773c198feca: Pull complete 16:16:31 345f892a5656: Pull complete 16:16:31 4796506630df: Pull complete 16:16:31 cc55df3e53f1: Pull complete 16:16:31 4d027b6c602c: Pull complete 16:16:32 449e75d2c14e: Pull complete 16:16:32 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 16:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:16:32 ---> 0d28375d9b5b 16:16:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:16:34 ---> Running in aab69a3b8a6e 16:16:34 Removing intermediate container aab69a3b8a6e 16:16:34 ---> bc2dcec82a2d 16:16:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:34 ---> Running in 646cb6be915f 16:16:35 Removing intermediate container 646cb6be915f 16:16:35 ---> 1b31abb51143 16:16:35 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:16:35 ---> Running in ec99588e25e8 16:16:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:16:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:16:36 (1/13) Installing libc-dev (0.7.2-r3) 16:16:36 (2/13) Installing libsodium (1.0.18-r0) 16:16:36 (3/13) Installing pkgconf (1.7.3-r0) 16:16:36 (4/13) Installing libsodium-dev (1.0.18-r0) 16:16:37 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:16:37 (6/13) Installing libedit (20191231.3.1-r1) 16:16:37 (7/13) Installing openssh-client (8.4_p1-r3) 16:16:37 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:16:37 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:16:37 (10/13) Installing openssh-server (8.4_p1-r3) 16:16:37 (11/13) Installing openssh (8.4_p1-r3) 16:16:37 (12/13) Installing libzmq (4.3.3-r1) 16:16:37 (13/13) Installing zeromq-dev (4.3.3-r1) 16:16:38 Executing busybox-1.32.1-r6.trigger 16:16:38 OK: 156 MiB in 53 packages 16:16:38 Removing intermediate container ec99588e25e8 16:16:38 ---> 6703080d4528 16:16:38 Step 6/8 : WORKDIR /device-mqtt-go 16:16:38 ---> Running in 5bfffd3b4e85 16:16:38 Removing intermediate container 5bfffd3b4e85 16:16:38 ---> 9d7405584fea 16:16:38 Step 7/8 : COPY . . 16:16:38 ---> 17bb08f17813 16:16:38 Step 8/8 : RUN go mod download 16:16:38 ---> Running in c71fc117af08 16:16:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:16:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 24.3% of statements 16:16:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:16:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:16:50 Removing intermediate container c71fc117af08 16:16:50 ---> 451811a43449 16:16:50 Successfully built 451811a43449 16:16:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:16:51 + docker inspect -f . ci-base-image-x86_64 16:16:51 . [Pipeline] withDockerContainer 16:16:51 prd-centos7-docker-4c-2g-1050 does not seem to be running inside a container 16:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:51 $ docker top d8fe7d2d7be9fd245810e5a2e2f941ae065f716f9ecfd688dc78804a25b8c8d0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:52 + go version 16:16:52 go version go1.16.5 linux/amd64 [Pipeline] } 16:16:52 $ docker stop --time=1 d8fe7d2d7be9fd245810e5a2e2f941ae065f716f9ecfd688dc78804a25b8c8d0 16:16:53 $ docker rm -f d8fe7d2d7be9fd245810e5a2e2f941ae065f716f9ecfd688dc78804a25b8c8d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:16:53 + docker inspect -f . ci-base-image-x86_64 16:16:53 . [Pipeline] withDockerContainer 16:16:54 prd-centos7-docker-4c-2g-1050 does not seem to be running inside a container 16:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:54 $ docker top 5a3bf2712b21b0d69a8d8febd51a2e28c204692381707817e6c5db81e9510966 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:54 + go mod tidy [Pipeline] sh 16:16:55 + make test 16:16:55 go mod tidy 16:16:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:16:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:17:08 gofmt -l . 16:17:08 ["`gofmt -l .`" = ""] 16:17:08 ./bin/test-attribution-txt.sh [Pipeline] } 16:17:08 $ docker stop --time=1 8f77cc6cfd06cead1d9e562e680b56dd2a9355839a12b0915883df773ed0cc88 16:17:10 $ docker rm -f 8f77cc6cfd06cead1d9e562e680b56dd2a9355839a12b0915883df773ed0cc88 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 16:17:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.3% of statements 16:17:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:17:12 GCO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:13 + ls -al . 16:17:13 total 144 16:17:13 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 16:17 . 16:17:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:14 .. 16:17:13 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 16:14 .dockerignore 16:17:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 16:14 .git 16:17:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:14 .github 16:17:13 -rw-rw-r-- 1 jenkins jenkins 336 Jul 30 16:14 .gitignore 16:17:13 -rw-rw-r-- 1 jenkins jenkins 7100 Jul 30 16:14 Attribution.txt 16:17:13 -rw-rw-r-- 1 jenkins jenkins 7447 Jul 30 16:14 CHANGELOG.md 16:17:13 -rw-rw-r-- 1 jenkins jenkins 1877 Jul 30 16:14 Dockerfile 16:17:13 -rw-rw-r-- 1 jenkins jenkins 994 Jul 30 16:14 Dockerfile.build 16:17:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 16:14 Jenkinsfile 16:17:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 16:14 LICENSE 16:17:13 -rw-rw-r-- 1 jenkins jenkins 907 Jul 30 16:14 Makefile 16:17:13 -rw-rw-r-- 1 jenkins jenkins 2217 Jul 30 16:14 README.md 16:17:13 -rw-rw-r-- 1 jenkins jenkins 11 Jul 30 16:14 VERSION 16:17:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:14 bin 16:17:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 16:14 cmd 16:17:13 -rw-r--r-- 1 jenkins jenkins 16226 Jul 30 16:16 coverage.out 16:17:13 -rw-rw-r-- 1 jenkins jenkins 388 Jul 30 16:14 go.mod 16:17:13 -rw-r--r-- 1 jenkins jenkins 20775 Jul 30 16:15 go.sum 16:17:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 16:14 internal 16:17:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:14 mock 16:17:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:14 snap 16:17:13 -rw-rw-r-- 1 jenkins jenkins 227 Jul 30 16:14 version.go [Pipeline] isUnix [Pipeline] sh 16:17:14 + 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=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=arm64 --label version=2.0.1-dev.1 . 16:17:14 Sending build context to Docker daemon 618.5kB 16:17:14 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:17:14 Step 2/24 : FROM ${BASE} AS builder 16:17:14 ---> 105354645ff9 16:17:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:14 ---> Running in 83394afeba2e 16:17:15 Removing intermediate container 83394afeba2e 16:17:15 ---> 7623f583e629 16:17:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:17:15 ---> Running in d0320d9fc3c5 16:17:15 Removing intermediate container d0320d9fc3c5 16:17:15 ---> c8a9f83bc544 16:17:15 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:16 ---> Running in 7b0ad1e50384 16:17:18 Removing intermediate container 7b0ad1e50384 16:17:18 ---> 08cbc5d92990 16:17:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:18 ---> Running in 28738932e8ab 16:17:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:17:20 gofmt -l . 16:17:20 ["`gofmt -l .`" = ""] 16:17:20 ./bin/test-attribution-txt.sh [Pipeline] } 16:17:20 $ docker stop --time=1 5a3bf2712b21b0d69a8d8febd51a2e28c204692381707817e6c5db81e9510966 16:17:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:17:21 OK: 145 MiB in 53 packages 16:17:21 $ docker rm -f 5a3bf2712b21b0d69a8d8febd51a2e28c204692381707817e6c5db81e9510966 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:22 Warning: overwriting stash ‘coverage-report’ 16:17:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:17:22 Removing intermediate container 28738932e8ab 16:17:22 ---> 260ff54a75ce 16:17:22 Step 7/24 : WORKDIR /device-mqtt-go 16:17:22 ---> Running in 2b7943a80a5c 16:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:23 + ls -al . 16:17:23 total 112 16:17:23 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 30 16:17 . 16:17:23 drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 16:16 .. 16:17:23 -rw-rw-r--. 1 jenkins jenkins 7100 Jul 30 16:16 Attribution.txt 16:17:23 drwxrwxr-x. 2 jenkins jenkins 60 Jul 30 16:16 bin 16:17:23 -rw-rw-r--. 1 jenkins jenkins 7447 Jul 30 16:16 CHANGELOG.md 16:17:23 drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 16:16 cmd 16:17:23 -rw-r--r--. 1 jenkins jenkins 16226 Jul 30 16:17 coverage.out 16:17:23 -rw-rw-r--. 1 jenkins jenkins 1877 Jul 30 16:16 Dockerfile 16:17:23 -rw-rw-r--. 1 jenkins jenkins 994 Jul 30 16:16 Dockerfile.build 16:17:23 -rw-rw-r--. 1 jenkins jenkins 140 Jul 30 16:16 .dockerignore 16:17:23 drwxrwxr-x. 8 jenkins jenkins 162 Jul 30 16:16 .git 16:17:23 drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 16:16 .github 16:17:23 -rw-rw-r--. 1 jenkins jenkins 336 Jul 30 16:16 .gitignore 16:17:23 -rw-rw-r--. 1 jenkins jenkins 388 Jul 30 16:16 go.mod 16:17:23 -rw-r--r--. 1 jenkins jenkins 20775 Jul 30 16:16 go.sum 16:17:23 drwxrwxr-x. 3 jenkins jenkins 20 Jul 30 16:16 internal 16:17:23 -rw-rw-r--. 1 jenkins jenkins 677 Jul 30 16:16 Jenkinsfile 16:17:23 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 16:16 LICENSE 16:17:23 -rw-rw-r--. 1 jenkins jenkins 907 Jul 30 16:16 Makefile 16:17:23 drwxrwxr-x. 2 jenkins jenkins 23 Jul 30 16:16 mock 16:17:23 -rw-rw-r--. 1 jenkins jenkins 2217 Jul 30 16:16 README.md 16:17:23 drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 16:16 snap 16:17:23 -rw-rw-r--. 1 jenkins jenkins 11 Jul 30 16:14 VERSION 16:17:23 -rw-rw-r--. 1 jenkins jenkins 227 Jul 30 16:16 version.go [Pipeline] isUnix [Pipeline] sh 16:17:23 Removing intermediate container 2b7943a80a5c 16:17:23 ---> f33dc3adeaa6 16:17:23 Step 8/24 : COPY . . 16:17:23 + 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=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=amd64 --label version=2.0.1-dev.1 . 16:17:23 Sending build context to Docker daemon 619.5kB 16:17:23 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:17:23 Step 2/24 : FROM ${BASE} AS builder 16:17:23 ---> 451811a43449 16:17:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:23 ---> Running in f349c9bbf982 16:17:23 Removing intermediate container f349c9bbf982 16:17:23 ---> dbf1ee8d279b 16:17:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:17:23 ---> Running in 962c902e042e 16:17:23 Removing intermediate container 962c902e042e 16:17:23 ---> 1b5e3c82304e 16:17:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:23 ---> Running in 193c39f34ae6 16:17:24 ---> a876357fcfcc 16:17:24 Step 9/24 : RUN go mod tidy 16:17:24 Removing intermediate container 193c39f34ae6 16:17:24 ---> b67ae1203390 16:17:24 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:24 ---> Running in 89ac2efb74c6 16:17:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:17:24 ---> Running in c5f0dab6636f 16:17:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:17:26 OK: 156 MiB in 53 packages 16:17:26 Removing intermediate container 89ac2efb74c6 16:17:26 ---> 9567a02e0f5b 16:17:26 Step 7/24 : WORKDIR /device-mqtt-go 16:17:26 ---> Running in 587d07c009eb 16:17:26 Removing intermediate container 587d07c009eb 16:17:26 ---> ae930ba8fc36 16:17:26 Step 8/24 : COPY . . 16:17:26 ---> 49a7876cb0f8 16:17:26 Step 9/24 : RUN go mod tidy 16:17:26 ---> Running in e97ec5b4475e 16:17:26 Removing intermediate container e97ec5b4475e 16:17:26 ---> 8f93b053bc33 16:17:26 Step 10/24 : RUN go mod download 16:17:27 ---> Running in 3f1f0dfc4387 16:17:27 Removing intermediate container 3f1f0dfc4387 16:17:27 ---> 5e0593b3a497 16:17:27 Step 11/24 : ARG MAKE='make build' 16:17:27 ---> Running in c0341f975b0f 16:17:27 Removing intermediate container c0341f975b0f 16:17:27 ---> dc220a7b78d0 16:17:27 Step 12/24 : RUN $MAKE 16:17:27 ---> Running in 918b32c4354c 16:17:27 go mod tidy 16:17:27 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 16:17:28 Removing intermediate container c5f0dab6636f 16:17:28 ---> 15c4aa5aa9d4 16:17:28 Step 10/24 : RUN go mod download 16:17:28 ---> Running in 86ac2fab6477 16:17:30 Removing intermediate container 86ac2fab6477 16:17:30 ---> bbad73a4c49c 16:17:30 Step 11/24 : ARG MAKE='make build' 16:17:30 ---> Running in 651b784eef39 16:17:31 Removing intermediate container 651b784eef39 16:17:31 ---> 9f80604d12b2 16:17:31 Step 12/24 : RUN $MAKE 16:17:31 ---> Running in 8ffb105c2110 16:17:32 go mod tidy 16:17:33 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 16:17:40 Removing intermediate container 918b32c4354c 16:17:40 ---> 6c0c406ceac9 16:17:40 Step 13/24 : FROM alpine:3.12 16:17:40 3.12: Pulling from library/alpine 16:17:40 339de151aab4: Pulling fs layer 16:17:40 339de151aab4: Verifying Checksum 16:17:40 339de151aab4: Download complete 16:17:40 339de151aab4: Pull complete 16:17:40 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:17:40 Status: Downloaded newer image for alpine:3.12 16:17:40 ---> 13621d1b12d4 16:17:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:17:40 ---> Running in b585972335ab 16:17:40 Removing intermediate container b585972335ab 16:17:40 ---> 20d9c7f73efa 16:17:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:17:40 ---> Running in a46466894a1b 16:17:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:17:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:17:41 (1/6) Installing dumb-init (1.2.2-r1) 16:17:41 (2/6) Installing libgcc (9.3.0-r2) 16:17:41 (3/6) Installing libsodium (1.0.18-r0) 16:17:41 (4/6) Installing libstdc++ (9.3.0-r2) 16:17:41 (5/6) Installing libzmq (4.3.3-r0) 16:17:41 (6/6) Installing zeromq (4.3.3-r0) 16:17:41 Executing busybox-1.31.1-r20.trigger 16:17:41 OK: 8 MiB in 20 packages 16:17:41 Removing intermediate container a46466894a1b 16:17:41 ---> 76afb3cace6e 16:17:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:17:41 ---> 114462d289b0 16:17:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:17:41 ---> 984148b8517c 16:17:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:17:41 ---> 0c132a2e8c83 16:17:41 Step 19/24 : EXPOSE 59982 16:17:41 ---> Running in da19a7fa4350 16:17:42 Removing intermediate container da19a7fa4350 16:17:42 ---> c2241f3e43d9 16:17:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:17:42 ---> Running in 8cbba44a970c 16:17:42 Removing intermediate container 8cbba44a970c 16:17:42 ---> 7e4137ef03b0 16:17:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:17:42 ---> Running in c319be08b155 16:17:42 Removing intermediate container c319be08b155 16:17:42 ---> b5fc719c743f 16:17:42 Step 22/24 : LABEL arch=amd64 16:17:42 ---> Running in bc770db51b22 16:17:42 Removing intermediate container bc770db51b22 16:17:42 ---> cc97cb32708f 16:17:42 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:17:42 ---> Running in 7bd2ef38f3f9 16:17:42 Removing intermediate container 7bd2ef38f3f9 16:17:42 ---> 4a6a8343de5c 16:17:42 Step 24/24 : LABEL version=2.0.1-dev.1 16:17:42 ---> Running in e3bae7530306 16:17:42 Removing intermediate container e3bae7530306 16:17:42 ---> f51044f53a70 16:17:42 [Warning] One or more build-args [ARCH] were not consumed 16:17:42 Successfully built f51044f53a70 16:17:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:42 provisioning config files... 16:17:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config556830285732295368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:43 ---> docker-login.sh 16:17:43 nexus3.edgexfoundry.org:10001 16:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:43 Configure a credential helper to remove this warning. See 16:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:43 16:17:43 Login Succeeded 16:17:43 nexus3.edgexfoundry.org:10002 16:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:43 Configure a credential helper to remove this warning. See 16:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:43 16:17:43 Login Succeeded 16:17:43 nexus3.edgexfoundry.org:10003 16:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:43 Configure a credential helper to remove this warning. See 16:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:43 16:17:43 Login Succeeded 16:17:43 nexus3.edgexfoundry.org:10004 16:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:43 Configure a credential helper to remove this warning. See 16:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:43 16:17:43 Login Succeeded 16:17:43 docker.io 16:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:44 Configure a credential helper to remove this warning. See 16:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:44 16:17:44 Login Succeeded 16:17:44 ---> docker-login.sh ends [Pipeline] } 16:17:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:17:44 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 16:17:44 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:17:44 latest 16:17:44 2.0.1-dev.1 16:17:44 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:17:44 main 16:17:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:17:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 16:17:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:17:44 fe5501355879: Preparing 16:17:44 06f0b2fea51b: Preparing 16:17:44 72051078d41a: Preparing 16:17:44 d288b2ec2473: Preparing 16:17:44 32f366d666a5: Preparing 16:17:44 32f366d666a5: Layer already exists 16:17:50 d288b2ec2473: Pushed 16:17:50 06f0b2fea51b: Pushed 16:17:50 fe5501355879: Pushed 16:17:50 72051078d41a: Pushed 16:17:51 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:f73dca3e2aeb412342a8dcc5cff163a0d125f8a828fb2ad971c46a0f86f310ab size: 1365 [Pipeline] isUnix [Pipeline] sh 16:17:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 16:17:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:17:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:17:51 fe5501355879: Preparing 16:17:51 06f0b2fea51b: Preparing 16:17:51 72051078d41a: Preparing 16:17:51 d288b2ec2473: Preparing 16:17:51 32f366d666a5: Preparing 16:17:57 32f366d666a5: Layer already exists 16:17:57 d288b2ec2473: Layer already exists 16:17:57 06f0b2fea51b: Layer already exists 16:17:57 fe5501355879: Layer already exists 16:17:57 72051078d41a: Layer already exists 16:17:57 latest: digest: sha256:f73dca3e2aeb412342a8dcc5cff163a0d125f8a828fb2ad971c46a0f86f310ab size: 1365 [Pipeline] isUnix [Pipeline] sh 16:17:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 16:17:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 16:17:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:17:57 fe5501355879: Preparing 16:17:57 06f0b2fea51b: Preparing 16:17:57 72051078d41a: Preparing 16:17:57 d288b2ec2473: Preparing 16:17:57 32f366d666a5: Preparing 16:17:57 06f0b2fea51b: Layer already exists 16:17:57 32f366d666a5: Layer already exists 16:17:57 72051078d41a: Layer already exists 16:17:57 d288b2ec2473: Layer already exists 16:17:57 fe5501355879: Layer already exists 16:17:57 2.0.1-dev.1: digest: sha256:f73dca3e2aeb412342a8dcc5cff163a0d125f8a828fb2ad971c46a0f86f310ab size: 1365 [Pipeline] isUnix [Pipeline] sh 16:17:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 16:17:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:17:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:17:58 fe5501355879: Preparing 16:17:58 06f0b2fea51b: Preparing 16:17:58 72051078d41a: Preparing 16:17:58 d288b2ec2473: Preparing 16:17:58 32f366d666a5: Preparing 16:17:58 32f366d666a5: Layer already exists 16:17:58 fe5501355879: Layer already exists 16:17:58 06f0b2fea51b: Layer already exists 16:17:58 d288b2ec2473: Layer already exists 16:17:58 72051078d41a: Layer already exists 16:17:58 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:f73dca3e2aeb412342a8dcc5cff163a0d125f8a828fb2ad971c46a0f86f310ab size: 1365 [Pipeline] isUnix [Pipeline] sh 16:17:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 16:17:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 16:17:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:17:59 fe5501355879: Preparing 16:17:59 06f0b2fea51b: Preparing 16:17:59 72051078d41a: Preparing 16:17:59 d288b2ec2473: Preparing 16:17:59 32f366d666a5: Preparing 16:17:59 06f0b2fea51b: Layer already exists 16:17:59 d288b2ec2473: Layer already exists 16:17:59 72051078d41a: Layer already exists 16:17:59 32f366d666a5: Layer already exists 16:17:59 fe5501355879: Layer already exists 16:17:59 main: digest: sha256:f73dca3e2aeb412342a8dcc5cff163a0d125f8a828fb2ad971c46a0f86f310ab size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:17:59 ===================================================== [Pipeline] echo 16:17:59 taggedImages: 16:17:59 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:17:59 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:17:59 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 16:17:59 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:17:59 - 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 16:18:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:00 16:18:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:18:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:00 latest: Pulling from edgex-lftools-log-publisher 16:18:00 b4d181a07f80: Pulling fs layer 16:18:00 a1111a8f2ec3: Pulling fs layer 16:18:00 ed53099fbce6: Pulling fs layer 16:18:00 dc539afda2c1: Pulling fs layer 16:18:00 77bc0d833cb6: Pulling fs layer 16:18:00 9065ff56babe: Pulling fs layer 16:18:00 d287ab97295c: Pulling fs layer 16:18:00 77bc0d833cb6: Waiting 16:18:00 9065ff56babe: Waiting 16:18:00 d287ab97295c: Waiting 16:18:00 dc539afda2c1: Waiting 16:18:01 a1111a8f2ec3: Verifying Checksum 16:18:01 a1111a8f2ec3: Download complete 16:18:01 dc539afda2c1: Verifying Checksum 16:18:01 dc539afda2c1: Download complete 16:18:01 77bc0d833cb6: Verifying Checksum 16:18:01 77bc0d833cb6: Download complete 16:18:01 9065ff56babe: Verifying Checksum 16:18:01 9065ff56babe: Download complete 16:18:01 ed53099fbce6: Verifying Checksum 16:18:01 ed53099fbce6: Download complete 16:18:02 b4d181a07f80: Verifying Checksum 16:18:02 b4d181a07f80: Download complete 16:18:03 b4d181a07f80: Pull complete 16:18:04 a1111a8f2ec3: Pull complete 16:18:04 ed53099fbce6: Pull complete 16:18:04 dc539afda2c1: Pull complete 16:18:05 77bc0d833cb6: Pull complete 16:18:05 9065ff56babe: Pull complete 16:18:07 d287ab97295c: Verifying Checksum 16:18:07 d287ab97295c: Download complete 16:18:11 d287ab97295c: Pull complete 16:18:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:18:11 prd-centos7-docker-4c-2g-1050 does not seem to be running inside a container 16:18:12 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:12 Removing intermediate container 8ffb105c2110 16:18:12 ---> f4719ebca1e9 16:18:12 Step 13/24 : FROM alpine:3.12 16:18:12 3.12: Pulling from library/alpine 16:18:12 d2f70382dc9a: Pulling fs layer 16:18:12 d2f70382dc9a: Verifying Checksum 16:18:12 d2f70382dc9a: Download complete 16:18:12 d2f70382dc9a: Pull complete 16:18:12 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:18:12 Status: Downloaded newer image for alpine:3.12 16:18:12 ---> c4fd0aeabfcf 16:18:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:18:12 ---> Running in 47df5f0a58af 16:18:12 Removing intermediate container 47df5f0a58af 16:18:12 ---> 12af7df67e2d 16:18:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:18:12 ---> Running in 19546d45eb32 16:18:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:18:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:18:14 $ docker top c371f4ba1091772cf5192b2dbd941dc2cda64712523a4524d5732cc65ee7a78b -eo pid,comm [Pipeline] { 16:18:14 (1/6) Installing dumb-init (1.2.2-r1) 16:18:14 (2/6) Installing libgcc (9.3.0-r2) 16:18:14 (3/6) Installing libsodium (1.0.18-r0) 16:18:14 (4/6) Installing libstdc++ (9.3.0-r2) 16:18:14 (5/6) Installing libzmq (4.3.3-r0) 16:18:14 (6/6) Installing zeromq (4.3.3-r0) 16:18:14 Executing busybox-1.31.1-r20.trigger 16:18:14 OK: 8 MiB in 20 packages [Pipeline] libraryResource [Pipeline] sh 16:18:14 ---> job-cost.sh 16:18:14 lf-activate-venv: SKIPPING 16:18:14 INFO: No Stack... 16:18:15 Removing intermediate container 19546d45eb32 16:18:15 ---> f21ad868c280 16:18:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:18:15 INFO: Retrieving Pricing Info for: v3-standard-2 16:18:15 INFO: Archiving Costs [Pipeline] sh 16:18:16 + cut -d, -f6 16:18:16 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock 16:18:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] 16:18:16 Resource [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] did not exist. Created. 16:18:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:16 + echo total: 0.05999999865889549 [Pipeline] stash 16:18:16 Stashed 1 file(s) [Pipeline] } 16:18:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:16 $ docker stop --time=1 c371f4ba1091772cf5192b2dbd941dc2cda64712523a4524d5732cc65ee7a78b 16:18:17 ---> da6893580f44 16:18:17 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:18:17 $ docker rm -f c371f4ba1091772cf5192b2dbd941dc2cda64712523a4524d5732cc65ee7a78b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:18:18 ---> 3f61b5ace67f 16:18:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:18:18 ---> e3bea5ca35fc 16:18:18 Step 19/24 : EXPOSE 59982 16:18:19 ---> Running in 40434d0da503 16:18:19 Removing intermediate container 40434d0da503 16:18:19 ---> c6468120c65f 16:18:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:18:19 ---> Running in 8eb4fd6f51a6 16:18:20 Removing intermediate container 8eb4fd6f51a6 16:18:20 ---> 665167848562 16:18:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:18:20 ---> Running in 4f7ed50b31b9 16:18:20 Removing intermediate container 4f7ed50b31b9 16:18:20 ---> 5727df5781c6 16:18:20 Step 22/24 : LABEL arch=arm64 16:18:20 ---> Running in 455bf494f420 16:18:21 Removing intermediate container 455bf494f420 16:18:21 ---> 44d0da08c97e 16:18:21 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:18:21 ---> Running in 6fa8cb68edfa 16:18:22 Removing intermediate container 6fa8cb68edfa 16:18:22 ---> d82da14e078e 16:18:22 Step 24/24 : LABEL version=2.0.1-dev.1 16:18:22 ---> Running in 619b99256a6a 16:18:22 Removing intermediate container 619b99256a6a 16:18:22 ---> d7b07e437a40 16:18:22 [Warning] One or more build-args [ARCH] were not consumed 16:18:22 Successfully built d7b07e437a40 16:18:22 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 16:18:23 provisioning config files... 16:18:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3203996482257167987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:23 ---> docker-login.sh 16:18:23 nexus3.edgexfoundry.org:10001 16:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:24 Configure a credential helper to remove this warning. See 16:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:24 16:18:24 Login Succeeded 16:18:24 nexus3.edgexfoundry.org:10002 16:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:24 Configure a credential helper to remove this warning. See 16:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:24 16:18:24 Login Succeeded 16:18:24 nexus3.edgexfoundry.org:10003 16:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:25 Configure a credential helper to remove this warning. See 16:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:25 16:18:25 Login Succeeded 16:18:25 nexus3.edgexfoundry.org:10004 16:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:25 Configure a credential helper to remove this warning. See 16:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:25 16:18:25 Login Succeeded 16:18:25 docker.io 16:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:26 Configure a credential helper to remove this warning. See 16:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:26 16:18:26 Login Succeeded 16:18:26 ---> docker-login.sh ends [Pipeline] } 16:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:18:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:18:26 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:18:26 latest 16:18:26 2.0.1-dev.1 16:18:26 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:18:26 main 16:18:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 16:18:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:18:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:18:27 d8f8a3ee5729: Preparing 16:18:27 93f307b11551: Preparing 16:18:27 d71c89e20caf: Preparing 16:18:27 5d91fae6c791: Preparing 16:18:27 3fbe34a1663b: Preparing 16:18:27 3fbe34a1663b: Layer already exists 16:18:27 d8f8a3ee5729: Pushed 16:18:27 93f307b11551: Pushed 16:18:28 5d91fae6c791: Pushed 16:18:31 d71c89e20caf: Pushed 16:18:31 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:24a41ba9b46c36d47bb0f1663a603a4bb8cb94589b0ad48e0081a6fe24933cc0 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:18:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:18:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:18:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:18:31 d8f8a3ee5729: Preparing 16:18:31 93f307b11551: Preparing 16:18:31 d71c89e20caf: Preparing 16:18:31 5d91fae6c791: Preparing 16:18:31 3fbe34a1663b: Preparing 16:18:31 5d91fae6c791: Layer already exists 16:18:31 93f307b11551: Layer already exists 16:18:31 d8f8a3ee5729: Layer already exists 16:18:31 d71c89e20caf: Layer already exists 16:18:31 3fbe34a1663b: Layer already exists 16:18:32 latest: digest: sha256:24a41ba9b46c36d47bb0f1663a603a4bb8cb94589b0ad48e0081a6fe24933cc0 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:18:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 16:18:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 16:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:18:32 d8f8a3ee5729: Preparing 16:18:32 93f307b11551: Preparing 16:18:32 d71c89e20caf: Preparing 16:18:32 5d91fae6c791: Preparing 16:18:32 3fbe34a1663b: Preparing 16:18:32 5d91fae6c791: Layer already exists 16:18:32 3fbe34a1663b: Layer already exists 16:18:32 d71c89e20caf: Layer already exists 16:18:32 93f307b11551: Layer already exists 16:18:32 d8f8a3ee5729: Layer already exists 16:18:33 2.0.1-dev.1: digest: sha256:24a41ba9b46c36d47bb0f1663a603a4bb8cb94589b0ad48e0081a6fe24933cc0 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:18:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 16:18:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:18:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:18:33 d8f8a3ee5729: Preparing 16:18:33 93f307b11551: Preparing 16:18:33 d71c89e20caf: Preparing 16:18:33 5d91fae6c791: Preparing 16:18:33 3fbe34a1663b: Preparing 16:18:33 3fbe34a1663b: Layer already exists 16:18:33 d8f8a3ee5729: Layer already exists 16:18:33 93f307b11551: Layer already exists 16:18:33 d71c89e20caf: Layer already exists 16:18:33 5d91fae6c791: Layer already exists 16:18:33 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:24a41ba9b46c36d47bb0f1663a603a4bb8cb94589b0ad48e0081a6fe24933cc0 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:18:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 16:18:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 16:18:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:18:34 d8f8a3ee5729: Preparing 16:18:34 93f307b11551: Preparing 16:18:34 d71c89e20caf: Preparing 16:18:34 5d91fae6c791: Preparing 16:18:34 3fbe34a1663b: Preparing 16:18:34 d71c89e20caf: Layer already exists 16:18:34 5d91fae6c791: Layer already exists 16:18:34 93f307b11551: Layer already exists 16:18:34 d8f8a3ee5729: Layer already exists 16:18:34 3fbe34a1663b: Layer already exists 16:18:34 main: digest: sha256:24a41ba9b46c36d47bb0f1663a603a4bb8cb94589b0ad48e0081a6fe24933cc0 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:18:35 ===================================================== [Pipeline] echo 16:18:35 taggedImages: 16:18:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 16:18:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:18:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 16:18:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 16:18:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:35 16:18:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:18:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:36 arm64: Pulling from edgex-lftools-log-publisher 16:18:36 448f6bf000e3: Pulling fs layer 16:18:36 f757da607395: Pulling fs layer 16:18:36 05883995daec: Pulling fs layer 16:18:36 8603b9c90790: Pulling fs layer 16:18:36 1560dd03e051: Pulling fs layer 16:18:36 27f5ce0e4adf: Pulling fs layer 16:18:36 c2d8d7efcc4b: Pulling fs layer 16:18:36 8603b9c90790: Waiting 16:18:36 27f5ce0e4adf: Waiting 16:18:36 c2d8d7efcc4b: Waiting 16:18:36 1560dd03e051: Waiting 16:18:36 f757da607395: Verifying Checksum 16:18:36 f757da607395: Download complete 16:18:37 8603b9c90790: Download complete 16:18:37 448f6bf000e3: Verifying Checksum 16:18:37 448f6bf000e3: Download complete 16:18:37 27f5ce0e4adf: Download complete 16:18:37 1560dd03e051: Verifying Checksum 16:18:37 1560dd03e051: Download complete 16:18:37 05883995daec: Verifying Checksum 16:18:37 05883995daec: Download complete 16:18:41 c2d8d7efcc4b: Verifying Checksum 16:18:41 c2d8d7efcc4b: Download complete 16:18:41 448f6bf000e3: Pull complete 16:18:41 f757da607395: Pull complete 16:18:43 05883995daec: Pull complete 16:18:43 8603b9c90790: Pull complete 16:18:45 1560dd03e051: Pull complete 16:18:45 27f5ce0e4adf: Pull complete 16:19:00 c2d8d7efcc4b: Pull complete 16:19:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:19:00 prd-ubuntu18.04-docker-arm64-4c-16g-1045 does not seem to be running inside a container 16:19:00 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 16:19:05 $ docker top a524090665b9a5d74698f0b23573e455eede06d8e316c230b6ac8901f4eb523c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:06 ---> job-cost.sh 16:19:06 lf-activate-venv: SKIPPING 16:19:06 INFO: No Stack... 16:19:08 INFO: Retrieving Pricing Info for: v2-standard-4 16:19:08 INFO: Archiving Costs [Pipeline] sh 16:19:09 + cut -d, -f6 16:19:09 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock 16:19:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] 16:19:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] did not exist. Created. 16:19:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:19:10 /w/workspace/device-mqtt-go/2@tmp/durable-fe976fc8/script.sh: 1: /w/workspace/device-mqtt-go/2@tmp/durable-fe976fc8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:19:10 + echo total: 0.18000000715255737 [Pipeline] stash 16:19:10 Warning: overwriting stash ‘stack-cost’ 16:19:11 Stashed 1 file(s) [Pipeline] } 16:19:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:19:11 $ docker stop --time=1 a524090665b9a5d74698f0b23573e455eede06d8e316c230b6ac8901f4eb523c 16:19:12 $ docker rm -f a524090665b9a5d74698f0b23573e455eede06d8e316c230b6ac8901f4eb523c [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 16:19:13 provisioning config files... 16:19:13 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config796371262749929507tmp [Pipeline] { [Pipeline] sh 16:19:13 + set +x 16:19:13 + curl -s https://codecov.io/bash 16:19:13 + bash -s -- 16:19:13 16:19:13 _____ _ 16:19:13 / ____| | | 16:19:13 | | ___ __| | ___ ___ _____ __ 16:19:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:19:13 | |___| (_) | (_| | __/ (_| (_) \ V / 16:19:13 \_____\___/ \__,_|\___|\___\___/ \_/ 16:19:13 Bash-1.0.6 16:19:13 16:19:13 16:19:13 ==> git version 2.24.4 found 16:19:13 ==> 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 16:19:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:19:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:19:13 ==> Jenkins CI detected. 16:19:13 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 16:19:13 project root: . 16:19:13 --> token set from env 16:19:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:19:14 ==> Running gcov in . (disable via -X gcov) 16:19:14 ==> Python coveragepy not found 16:19:14 ==> Searching for coverage reports in: 16:19:14 + . 16:19:14 -> Found 1 reports 16:19:14 ==> Detecting git/mercurial file structure 16:19:14 ==> Reading reports 16:19:14 + ./coverage.out bytes=16226 16:19:14 ==> Appending adjustments 16:19:14 https://docs.codecov.io/docs/fixing-reports 16:19:14 + Found adjustments 16:19:14 ==> Gzipping contents 16:19:14 4.0K /tmp/codecov.zoJIH3.gz 16:19:14 ==> Uploading reports 16:19:14 url: https://codecov.io 16:19:14 query: branch=main&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:19:14 -> Pinging Codecov 16:19:14 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=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:19:14 -> Uploading to 16:19:14 https://storage.googleapis.com/codecov/v4/raw/2021-07-30/7D719EC7BBE17E464838252E33014C33/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604/6a21b809-f1bd-4d45-8cf3-10499d8c0fa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T161914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e374ddc8bc41d408f890f960b1a3831a054b8fa00420b65449de98b0b32ff387 16:19:14 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:14 Dload Upload Total Spent Left Speed 16:19:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3056 0 0 100 3056 0 5991 --:--:-- --:--:-- --:--:-- 6003 16:19:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] } 16:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:19:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:19:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:19:16 16:19:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:19:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:19:16 188c0c94c7c5: Pulling fs layer 16:19:16 0ef7d3d256c8: Pulling fs layer 16:19:16 de9db76c5a1d: Pulling fs layer 16:19:16 0eba1c9be4d2: Pulling fs layer 16:19:16 0d57e429df01: Pulling fs layer 16:19:16 4e4be7b47b0d: Pulling fs layer 16:19:16 e1f770b5df2f: Pulling fs layer 16:19:16 85a0685a4137: Pulling fs layer 16:19:16 0eba1c9be4d2: Waiting 16:19:16 0d57e429df01: Waiting 16:19:16 4e4be7b47b0d: Waiting 16:19:16 e1f770b5df2f: Waiting 16:19:16 85a0685a4137: Waiting 16:19:16 de9db76c5a1d: Verifying Checksum 16:19:16 de9db76c5a1d: Download complete 16:19:16 0ef7d3d256c8: Verifying Checksum 16:19:16 0ef7d3d256c8: Download complete 16:19:16 0d57e429df01: Verifying Checksum 16:19:16 0d57e429df01: Download complete 16:19:16 188c0c94c7c5: Verifying Checksum 16:19:16 188c0c94c7c5: Download complete 16:19:17 188c0c94c7c5: Pull complete 16:19:17 0ef7d3d256c8: Pull complete 16:19:17 de9db76c5a1d: Pull complete 16:19:17 4e4be7b47b0d: Verifying Checksum 16:19:17 4e4be7b47b0d: Download complete 16:19:18 e1f770b5df2f: Verifying Checksum 16:19:18 e1f770b5df2f: Download complete 16:19:21 0eba1c9be4d2: Verifying Checksum 16:19:21 0eba1c9be4d2: Download complete 16:19:23 85a0685a4137: Verifying Checksum 16:19:23 85a0685a4137: Download complete 16:19:24 0eba1c9be4d2: Pull complete 16:19:24 0d57e429df01: Pull complete 16:19:24 4e4be7b47b0d: Pull complete 16:19:25 e1f770b5df2f: Pull complete 16:19:28 85a0685a4137: Pull complete 16:19:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:19:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:19:29 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:19:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:19:31 $ docker top 9846150716f6b5decd6bd600c3268d9c75cab64a75108e55e9044fabbc504b5f -eo pid,comm [Pipeline] { [Pipeline] echo 16:19:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:19:31 + set -o pipefail 16:19:31 + snyk monitor '--org=edgex-jenkins' 16:20:10 16:20:10 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 16:20:10 16:20:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/f77a22c1-08a8-4575-8237-815b6fe41e61 16:20:10 16:20:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:20:10 16:20:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:20:10 16:20:10 [Pipeline] } 16:20:10 $ docker stop --time=1 9846150716f6b5decd6bd600c3268d9c75cab64a75108e55e9044fabbc504b5f 16:20:12 $ docker rm -f 9846150716f6b5decd6bd600c3268d9c75cab64a75108e55e9044fabbc504b5f [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 16:20:13 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 16:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:20:14 . [Pipeline] withDockerContainer 16:20:14 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:20:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:20:14 $ docker top b5d10269b1364f9e91ed809efd294c75e56534012dddef26d423700ee0fd2890 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:14 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:15 + git semver [Pipeline] } 16:20:15 $ docker stop --time=1 b5d10269b1364f9e91ed809efd294c75e56534012dddef26d423700ee0fd2890 16:20:16 $ docker rm -f b5d10269b1364f9e91ed809efd294c75e56534012dddef26d423700ee0fd2890 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:20:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:20:16 16:20:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:20:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:20:17 0.23.1-centos7: Pulling from edgex-lftools 16:20:17 ab5ef0e58194: Pulling fs layer 16:20:17 9712f1f96733: Pulling fs layer 16:20:17 63f879dbbcfc: Pulling fs layer 16:20:17 0d9ebad4ef96: Pulling fs layer 16:20:17 e9a5061849ea: Pulling fs layer 16:20:17 d747dcd14b5f: Pulling fs layer 16:20:17 2de7ff778b66: Pulling fs layer 16:20:17 0d9ebad4ef96: Waiting 16:20:17 e9a5061849ea: Waiting 16:20:17 d747dcd14b5f: Waiting 16:20:17 2de7ff778b66: Waiting 16:20:17 9712f1f96733: Verifying Checksum 16:20:17 9712f1f96733: Download complete 16:20:19 63f879dbbcfc: Download complete 16:20:19 e9a5061849ea: Download complete 16:20:20 d747dcd14b5f: Verifying Checksum 16:20:20 d747dcd14b5f: Download complete 16:20:20 2de7ff778b66: Verifying Checksum 16:20:20 2de7ff778b66: Download complete 16:20:20 0d9ebad4ef96: Verifying Checksum 16:20:20 0d9ebad4ef96: Download complete 16:20:21 ab5ef0e58194: Verifying Checksum 16:20:21 ab5ef0e58194: Download complete 16:20:23 ab5ef0e58194: Pull complete 16:20:23 9712f1f96733: Pull complete 16:20:24 63f879dbbcfc: Pull complete 16:20:27 0d9ebad4ef96: Pull complete 16:20:27 e9a5061849ea: Pull complete 16:20:27 d747dcd14b5f: Pull complete 16:20:28 2de7ff778b66: Pull complete 16:20:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:20:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:20:28 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:20:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:20:32 $ docker top 2c3dc10d7ea1550621806a2abfe3d27b401c036f06affb1d4302e8f9cc93ba23 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:20:32 provisioning config files... 16:20:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2204274662282631943tmp 16:20:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6186960086859726239tmp 16:20:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3086341841969355761tmp [Pipeline] { [Pipeline] echo 16:20:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:20:33 ---> sigul-configuration.sh 16:20:33 gpg: directory `/root/.gnupg' created 16:20:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:20:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:20:33 gpg: keyring `/root/.gnupg/secring.gpg' created 16:20:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:20:33 gpg: CAST5 encrypted data 16:20:33 gpg: encrypted with 1 passphrase 16:20:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:20:33 + mkdir /home/jenkins 16:20:33 + mkdir /home/jenkins/sigul [Pipeline] sh 16:20:33 + 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 16:20:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:20:33 ---> sigul-install.sh 16:20:33 Sigul already installed; skipping installation. [Pipeline] sh 16:20:34 + git tag --list 16:20:34 0.7.1 16:20:34 v1.0.0 16:20:34 v1.1.0 16:20:34 v1.1.1 16:20:34 v1.2.2 16:20:34 v1.3.0 16:20:34 v1.3.1 16:20:34 v2.0.0 [Pipeline] sh 16:20:34 + lftools sign git-tag v2.0.1-dev.1 16:20:35 Signing Git tag with Sigul... 16:20:35 Signing v2.0.1-dev.1 16:20:35 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo 16:20:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:20:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:20:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:20:35 $ docker stop --time=1 2c3dc10d7ea1550621806a2abfe3d27b401c036f06affb1d4302e8f9cc93ba23 16:20:36 $ docker rm -f 2c3dc10d7ea1550621806a2abfe3d27b401c036f06affb1d4302e8f9cc93ba23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:20:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:20:37 . [Pipeline] withDockerContainer 16:20:37 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:20:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:20:37 $ docker top 5338aa2da87055535c8fcb31f3eb6c2fee404b7991659a174c306f8b3855780b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:38 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:38 + git semver [Pipeline] } 16:20:38 $ docker stop --time=1 5338aa2da87055535c8fcb31f3eb6c2fee404b7991659a174c306f8b3855780b 16:20:39 $ docker rm -f 5338aa2da87055535c8fcb31f3eb6c2fee404b7991659a174c306f8b3855780b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:20:40 . [Pipeline] withDockerContainer 16:20:40 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:20:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:20:40 $ docker top 15178815dd14ff0454ec7797f01185f95acfcb703e9539e17c57521e8dc3c84e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:40 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:41 + git semver [Pipeline] } 16:20:41 $ docker stop --time=1 15178815dd14ff0454ec7797f01185f95acfcb703e9539e17c57521e8dc3c84e 16:20:42 $ docker rm -f 15178815dd14ff0454ec7797f01185f95acfcb703e9539e17c57521e8dc3c84e [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] libraryResource [Pipeline] sh 16:20:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:20:44 ---> package-listing.sh 16:20:44 ++ facter osfamily 16:20:44 ++ tr '[:upper:]' '[:lower:]' 16:20:44 + OS_FAMILY=redhat 16:20:44 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 16:20:44 + START_PACKAGES=/tmp/packages_start.txt 16:20:44 + END_PACKAGES=/tmp/packages_end.txt 16:20:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:20:44 + PACKAGES=/tmp/packages_start.txt 16:20:44 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:20:44 + PACKAGES=/tmp/packages_end.txt 16:20:44 + case "${OS_FAMILY}" in 16:20:44 + rpm -qa 16:20:44 + sort 16:20:45 + '[' -f /tmp/packages_start.txt ']' 16:20:45 + '[' -f /tmp/packages_end.txt ']' 16:20:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:20:45 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:20:45 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 16:20:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 16:20:45 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 16:20:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:20:46 16:20:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:20:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:20:46 latest: Pulling from edgex-lftools-log-publisher 16:20:46 b4d181a07f80: Pulling fs layer 16:20:46 a1111a8f2ec3: Pulling fs layer 16:20:46 ed53099fbce6: Pulling fs layer 16:20:46 dc539afda2c1: Pulling fs layer 16:20:46 77bc0d833cb6: Pulling fs layer 16:20:46 9065ff56babe: Pulling fs layer 16:20:46 d287ab97295c: Pulling fs layer 16:20:46 dc539afda2c1: Waiting 16:20:46 77bc0d833cb6: Waiting 16:20:46 9065ff56babe: Waiting 16:20:46 d287ab97295c: Waiting 16:20:46 a1111a8f2ec3: Verifying Checksum 16:20:46 a1111a8f2ec3: Download complete 16:20:46 dc539afda2c1: Download complete 16:20:47 77bc0d833cb6: Verifying Checksum 16:20:47 77bc0d833cb6: Download complete 16:20:47 9065ff56babe: Verifying Checksum 16:20:47 9065ff56babe: Download complete 16:20:47 ed53099fbce6: Verifying Checksum 16:20:47 ed53099fbce6: Download complete 16:20:48 b4d181a07f80: Verifying Checksum 16:20:48 b4d181a07f80: Download complete 16:20:49 b4d181a07f80: Pull complete 16:20:49 a1111a8f2ec3: Pull complete 16:20:50 ed53099fbce6: Pull complete 16:20:50 dc539afda2c1: Pull complete 16:20:50 77bc0d833cb6: Pull complete 16:20:50 9065ff56babe: Pull complete 16:20:52 d287ab97295c: Verifying Checksum 16:20:52 d287ab97295c: Download complete 16:20:56 d287ab97295c: Pull complete 16:20:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:20:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:20:56 prd-centos7-docker-4c-2g-1049 does not seem to be running inside a container 16:20:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:20:59 $ docker top 0f94267f53656b8a49e12751b0ddb83c7faf310bbcdbdceedbad8e3ae144e3c1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:59 + touch /tmp/pre-build-complete [Pipeline] sh 16:20:59 + mkdir -p /var/log/sysstat [Pipeline] sh 16:21:00 + ls /var/log/sa-host 16:21:00 + sadf -c /var/log/sa-host/sa05 16:21:00 file_magic: OK 16:21:00 HZ: Using current value: 100 16:21:00 file_header: OK 16:21:00 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 16:21:00 Statistics: 16:21:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:21:00 File successfully converted to sysstat format version 12.0.3 16:21:00 + sadf -c /var/log/sa-host/sa30 16:21:00 file_magic: OK 16:21:00 HZ: Using current value: 100 16:21:00 file_header: OK 16:21:00 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 16:21:00 Statistics: 16:21:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:21:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:00 provisioning config files... 16:21:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5484228953260022177tmp [Pipeline] { [Pipeline] echo 16:21:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:21:01 ---> create-netrc.sh [Pipeline] } 16:21:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:21:01 ---> python-tools-install.sh [Pipeline] echo 16:21:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:21:01 ---> sudo-logs.sh 16:21:01 Archiving 'sudo' log.. 16:21:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-1049.vexxhost.local: Name or service not known 16:21:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-1049.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:21:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:21:02 ---> job-cost.sh 16:21:02 lf-activate-venv: SKIPPING 16:21:02 DEBUG: total: 0.18000000715255737 16:21:02 INFO: Retrieving Stack Cost... 16:21:03 INFO: Retrieving Pricing Info for: v3-standard-2 16:21:03 INFO: Archiving Costs [Pipeline] echo 16:21:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:21:03 ---> logs-deploy.sh 16:21:03 lf-activate-venv: SKIPPING 16:21:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/2 16:21:03 INFO: archiving workspace using pattern(s): 16:21:04 Archives upload complete. 16:21:04 INFO: archiving logs to Nexus 16:21:05 ---> uname -a: 16:21:05 Linux prd-centos7-docker-4c-2g-1049.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 16:21:05 16:21:05 16:21:05 ---> lscpu: 16:21:05 Architecture: x86_64 16:21:05 CPU op-mode(s): 32-bit, 64-bit 16:21:05 Byte Order: Little Endian 16:21:05 Address sizes: 40 bits physical, 48 bits virtual 16:21:05 CPU(s): 2 16:21:05 On-line CPU(s) list: 0,1 16:21:05 Thread(s) per core: 1 16:21:05 Core(s) per socket: 1 16:21:05 Socket(s): 2 16:21:05 NUMA node(s): 1 16:21:05 Vendor ID: AuthenticAMD 16:21:05 CPU family: 23 16:21:05 Model: 49 16:21:05 Model name: AMD EPYC-Rome Processor 16:21:05 Stepping: 0 16:21:05 CPU MHz: 2799.996 16:21:05 BogoMIPS: 5599.99 16:21:05 Virtualization: AMD-V 16:21:05 Hypervisor vendor: KVM 16:21:05 Virtualization type: full 16:21:05 L1d cache: 32K 16:21:05 L1i cache: 32K 16:21:05 L2 cache: 512K 16:21:05 L3 cache: 16384K 16:21:05 NUMA node0 CPU(s): 0,1 16:21:05 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 16:21:05 16:21:05 16:21:05 ---> nproc: 16:21:05 2 16:21:05 16:21:05 16:21:05 ---> df -h: 16:21:05 Filesystem Size Used Avail Use% Mounted on 16:21:05 overlay 40G 9.0G 32G 23% / 16:21:05 tmpfs 64M 0 64M 0% /dev 16:21:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:21:05 shm 64M 0 64M 0% /dev/shm 16:21:05 /dev/vda1 40G 9.0G 32G 23% /facter-os 16:21:05 16:21:05 16:21:05 ---> sar -b -r -n DEV: 16:21:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 16:21:05 16:21:05 16:13:14 LINUX RESTART (2 CPU) 16:21:05 16:21:05 16:14:01 tps rtps wtps bread/s bwrtn/s 16:21:05 16:15:01 16.89 0.62 16.27 351.71 2818.97 16:21:05 16:16:01 0.55 0.00 0.55 0.00 9.03 16:21:05 16:17:01 0.23 0.00 0.23 0.00 3.32 16:21:05 16:18:01 0.28 0.00 0.28 0.00 4.68 16:21:05 16:19:01 0.20 0.00 0.20 0.00 1.57 16:21:05 16:20:01 88.17 0.03 88.14 3.73 30314.94 16:21:05 Average: 17.72 0.11 17.61 59.25 5525.80 16:21:05 16:21:05 16:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:21:05 16:15:01 5476360 0 797012 9.95 2620 1732940 1247044 13.77 565592 1569060 16 16:21:05 16:16:01 5479880 0 793484 9.91 2620 1732948 1204668 13.30 563232 1569024 16 16:21:05 16:17:01 5478144 0 795220 9.93 2620 1732948 1204896 13.30 565184 1568440 8 16:21:05 16:18:01 5478788 0 794564 9.92 2620 1732960 1204668 13.30 564720 1568440 8 16:21:05 16:19:01 5475852 0 797496 9.96 2620 1732964 1204764 13.30 562356 1574112 16 16:21:05 16:20:01 4384228 0 1045912 13.06 2620 2576172 1596388 17.63 765404 2338768 102200 16:21:05 Average: 5295542 0 837281 10.45 2620 1873489 1277071 14.10 597748 1697974 17044 16:21:05 16:21:05 16:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:21:05 16:15:01 eth0 74.64 48.29 330.13 11.01 0.00 0.00 0.00 0.00 16:21:05 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:15:01 docker0 2.45 2.11 0.48 5.90 0.00 0.00 0.00 0.00 16:21:05 16:16:01 eth0 0.53 0.07 0.05 0.01 0.00 0.00 0.00 0.00 16:21:05 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:17:01 eth0 0.43 0.23 0.26 0.19 0.00 0.00 0.00 0.00 16:21:05 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:18:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:21:05 16:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:19:01 eth0 0.25 0.20 0.08 0.07 0.00 0.00 0.00 0.00 16:21:05 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:20:01 eth0 693.14 478.01 4487.43 78.54 0.00 0.00 0.00 0.00 16:21:05 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 16:20:01 vethfa68ae2 62.87 86.96 5.55 388.71 0.00 0.00 0.00 0.00 16:21:05 16:20:01 docker0 62.87 86.83 4.69 388.70 0.00 0.00 0.00 0.00 16:21:05 Average: eth0 128.19 87.82 803.05 14.97 0.00 0.00 0.00 0.00 16:21:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:05 Average: vethfa68ae2 10.48 14.49 0.93 64.79 0.00 0.00 0.00 0.00 16:21:05 Average: docker0 10.89 14.82 0.86 65.77 0.00 0.00 0.00 0.00 16:21:05 16:21:05 16:21:05 ---> sar -P ALL: 16:21:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 16:21:05 16:21:05 16:13:14 LINUX RESTART (2 CPU) 16:21:05 16:21:05 16:14:01 CPU %user %nice %system %iowait %steal %idle 16:21:05 16:15:01 all 2.48 0.00 1.24 0.30 0.03 95.94 16:21:05 16:15:01 0 2.27 0.00 1.28 0.47 0.03 95.95 16:21:05 16:15:01 1 2.69 0.00 1.21 0.13 0.03 95.94 16:21:05 16:16:01 all 0.21 0.00 0.05 0.00 0.03 99.72 16:21:05 16:16:01 0 0.05 0.00 0.05 0.00 0.02 99.88 16:21:05 16:16:01 1 0.37 0.00 0.05 0.00 0.03 99.55 16:21:05 16:17:01 all 0.23 0.00 0.06 0.00 0.03 99.68 16:21:05 16:17:01 0 0.07 0.00 0.07 0.00 0.05 99.82 16:21:05 16:17:01 1 0.38 0.00 0.05 0.00 0.02 99.55 16:21:05 16:18:01 all 0.19 0.00 0.04 0.00 0.03 99.74 16:21:05 16:18:01 0 0.03 0.00 0.05 0.00 0.03 99.88 16:21:05 16:18:01 1 0.35 0.00 0.03 0.00 0.02 99.60 16:21:05 16:19:01 all 0.23 0.00 0.05 0.00 0.02 99.70 16:21:05 16:19:01 0 0.37 0.00 0.07 0.00 0.02 99.55 16:21:05 16:19:01 1 0.10 0.00 0.03 0.00 0.02 99.85 16:21:05 16:20:01 all 11.21 0.00 4.36 1.26 0.05 83.12 16:21:05 16:20:01 0 11.25 0.00 4.67 1.40 0.05 82.63 16:21:05 16:20:01 1 11.16 0.00 4.06 1.12 0.05 83.61 16:21:05 Average: all 2.38 0.00 0.95 0.25 0.03 96.39 16:21:05 Average: 0 2.29 0.00 1.01 0.31 0.03 96.36 16:21:05 Average: 1 2.47 0.00 0.89 0.20 0.03 96.41 16:21:05 16:21:05 16:21:05