Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9315c3ad457bec3bf35212cacbdaa65c808c53a1 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-ssh8936067744666570632.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3029510813799896444.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-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-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4842054757600510574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4785157445636762001.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-modbus-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-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6591112117749828156.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-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3173 in /w/workspace/gexfoundry_device-modbus-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 Avoid second fetch Checking out Revision 9315c3ad457bec3bf35212cacbdaa65c808c53a1 (main) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh1533777496979317011.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 9315c3ad457bec3bf35212cacbdaa65c808c53a1 # timeout=10 Commit message: "Merge pull request #278 from ernestojeda/remove-build-dockerfile" > git rev-list --no-walk f18501226b1fed15aac3bbade54fd0ee733edea9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:52:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:52:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:52:24 ========================================================= 19:52:24 EdgeX Global Pipelines Version Info 19:52:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:52:25 ------------------- 19:52:25 stable info: 19:52:25 ------------------- 19:52:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:52:25 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:52:25 Message: update stable to v1.0.205 19:52:26 ------------------- 19:52:26 experimental info: 19:52:26 ------------------- 19:52:26 Commited By: **** collab-it+edgex@linuxfoundation.org 19:52:26 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:52:26 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:52:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9315c3a [Pipeline] echo 19:52:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:52:27 provisioning config files... 19:52:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2658625485690538546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:27 ---> docker-login.sh 19:52:27 nexus3.edgexfoundry.org:10001 19:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:27 Configure a credential helper to remove this warning. See 19:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:27 19:52:27 Login Succeeded 19:52:27 nexus3.edgexfoundry.org:10002 19:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:27 Configure a credential helper to remove this warning. See 19:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:27 19:52:27 Login Succeeded 19:52:27 nexus3.edgexfoundry.org:10003 19:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:28 Configure a credential helper to remove this warning. See 19:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:28 19:52:28 Login Succeeded 19:52:28 nexus3.edgexfoundry.org:10004 19:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:28 Configure a credential helper to remove this warning. See 19:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:28 19:52:28 Login Succeeded 19:52:28 docker.io 19:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:28 Configure a credential helper to remove this warning. See 19:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:28 19:52:28 Login Succeeded 19:52:28 ---> docker-login.sh ends [Pipeline] } 19:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:52:29 + git log --format=format:%s -1 9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] echo 19:52:29 GIT_COMMIT: 9315c3ad457bec3bf35212cacbdaa65c808c53a1, Commit Message: Merge pull request #278 from ernestojeda/remove-build-dockerfile [Pipeline] echo 19:52:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:52:29 19:52:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:52:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:52:30 latest: Pulling from edgex-devops/git-semver 19:52:30 31603596830f: Pulling fs layer 19:52:30 d4622e32a9a9: Pulling fs layer 19:52:30 1030fce36090: Pulling fs layer 19:52:30 6c6cb7e1b49b: Pulling fs layer 19:52:30 6c6cb7e1b49b: Waiting 19:52:30 d4622e32a9a9: Verifying Checksum 19:52:30 d4622e32a9a9: Download complete 19:52:30 31603596830f: Download complete 19:52:30 6c6cb7e1b49b: Verifying Checksum 19:52:30 6c6cb7e1b49b: Download complete 19:52:30 31603596830f: Pull complete 19:52:30 d4622e32a9a9: Pull complete 19:52:30 1030fce36090: Verifying Checksum 19:52:30 1030fce36090: Download complete 19:52:31 1030fce36090: Pull complete 19:52:31 6c6cb7e1b49b: Pull complete 19:52:31 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 19:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:52:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:52:31 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 19:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-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 19:52:32 $ docker top ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:52:32 [ssh-agent] Looking for ssh-agent implementation... 19:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:52:32 $ docker exec ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e ssh-agent 19:52:32 SSH_AUTH_SOCK=/tmp/ssh-b1y1PbFY8VP9/agent.13 19:52:32 SSH_AGENT_PID=19 19:52:32 Running ssh-add (command line suppressed) 19:52:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4339047735753206567.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4339047735753206567.key) 19:52:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:52:33 + git tag --points-at HEAD [Pipeline] } 19:52:33 $ docker exec --env ******** --env ******** ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e ssh-agent -k 19:52:33 unset SSH_AUTH_SOCK; 19:52:33 unset SSH_AGENT_PID; 19:52:33 echo Agent pid 19 killed; 19:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:52:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:52:33 [ssh-agent] Looking for ssh-agent implementation... 19:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:52:33 $ docker exec ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e ssh-agent 19:52:33 SSH_AUTH_SOCK=/tmp/ssh-YvOUVWXjCfUV/agent.51 19:52:33 SSH_AGENT_PID=57 19:52:33 Running ssh-add (command line suppressed) 19:52:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4752997191063931317.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4752997191063931317.key) 19:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:52:33 + git semver init 19:52:33 # -> Open(): unable to determine branch for HEAD 19:52:33 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 19:52:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 19:52:33 # $SEMVER_REMOTE_NAME = origin 19:52:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:52:33 # $SEMVER_USER_NAME = edgex-jenkins 19:52:33 # $SEMVER_BRANCH = main 19:52:33 # $SEMVER_TEMP = /tmp/semver-058346856 19:52:33 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 19:52:34 # '/tmp/semver-058346856' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 19:52:34 # -> Force: false 19:52:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 19:52:34 $ docker exec --env ******** --env ******** ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e ssh-agent -k 19:52:34 unset SSH_AUTH_SOCK; 19:52:34 unset SSH_AGENT_PID; 19:52:34 echo Agent pid 57 killed; 19:52:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:52:34 + git semver [Pipeline] } 19:52:34 $ docker stop --time=1 ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e 19:52:36 $ docker rm -f ef190e854c62724c24451b50ec8a46f54a54f7b3e7ff235adcc9a80a3ae8c43e [Pipeline] // withDockerContainer [Pipeline] sh 19:52:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:52:36 Stashed 1 file(s) [Pipeline] echo 19:52:36 [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 19:52:52 Still waiting to schedule task 19:52:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:52:52 Still waiting to schedule task 19:52:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 19:54:08 Running on prd-centos7-docker-4c-2g-3178 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 19:54:08 Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout 19:54:08 Selected Git installation does not exist. Using Default 19:54:08 The recommended git tool is: NONE 19:54:11 using credential edgex-jenkins-ssh 19:54:11 Cloning the remote Git repository 19:54:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:54:11 > git init /w/workspace/device-modbus-go/6 # timeout=10 19:54:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:54:11 > git --version # timeout=10 19:54:11 > git --version # 'git version 2.24.4' 19:54:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:11 [INFO] Currently running in a labeled security context 19:54:11 [INFO] Currently SELinux is 'enforcing' on the host 19:54:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/6@tmp/jenkins-gitclient-ssh104660808871284168.key 19:54:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:12 Avoid second fetch 19:54:12 Checking out Revision 9315c3ad457bec3bf35212cacbdaa65c808c53a1 (main) 19:54:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:54:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:12 > git config core.sparsecheckout # timeout=10 19:54:12 > git checkout -f 9315c3ad457bec3bf35212cacbdaa65c808c53a1 # timeout=10 19:54:16 Commit message: "Merge pull request #278 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:16 provisioning config files... 19:54:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config639202987623150333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:17 ---> docker-login.sh 19:54:17 nexus3.edgexfoundry.org:10001 19:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:17 Configure a credential helper to remove this warning. See 19:54:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:17 19:54:17 Login Succeeded 19:54:17 nexus3.edgexfoundry.org:10002 19:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:18 Configure a credential helper to remove this warning. See 19:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:18 19:54:18 Login Succeeded 19:54:18 nexus3.edgexfoundry.org:10003 19:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:18 Configure a credential helper to remove this warning. See 19:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:18 19:54:18 Login Succeeded 19:54:18 nexus3.edgexfoundry.org:10004 19:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:20 Configure a credential helper to remove this warning. See 19:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:20 19:54:20 Login Succeeded 19:54:20 docker.io 19:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:20 Configure a credential helper to remove this warning. See 19:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:20 19:54:20 Login Succeeded 19:54:20 ---> docker-login.sh ends [Pipeline] } 19:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:54:20 ========================================================= 19:54:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:54:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:54:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 19:54:21 Sending build context to Docker daemon 645.6kB 19:54:21 Step 1/9 : ARG BASE=golang:1.16-alpine3.12 19:54:21 Step 2/9 : FROM ${BASE} AS builder 19:54:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:54:21 540db60ca938: Pulling fs layer 19:54:21 adcc1eea9eea: Pulling fs layer 19:54:21 4c4ab2625f07: Pulling fs layer 19:54:21 db62176df00c: Pulling fs layer 19:54:21 3b30891b0d05: Pulling fs layer 19:54:21 06b49ca38bd5: Pulling fs layer 19:54:21 c788192a36de: Pulling fs layer 19:54:21 a77e37c0d609: Pulling fs layer 19:54:21 c3185cebc471: Pulling fs layer 19:54:21 3b30891b0d05: Waiting 19:54:21 06b49ca38bd5: Waiting 19:54:21 c788192a36de: Waiting 19:54:21 a77e37c0d609: Waiting 19:54:21 c3185cebc471: Waiting 19:54:21 db62176df00c: Waiting 19:54:21 4c4ab2625f07: Verifying Checksum 19:54:21 4c4ab2625f07: Download complete 19:54:21 adcc1eea9eea: Verifying Checksum 19:54:21 adcc1eea9eea: Download complete 19:54:21 3b30891b0d05: Verifying Checksum 19:54:21 3b30891b0d05: Download complete 19:54:21 06b49ca38bd5: Verifying Checksum 19:54:21 06b49ca38bd5: Download complete 19:54:21 c788192a36de: Verifying Checksum 19:54:21 c788192a36de: Download complete 19:54:21 540db60ca938: Verifying Checksum 19:54:21 540db60ca938: Download complete 19:54:21 540db60ca938: Pull complete 19:54:21 adcc1eea9eea: Pull complete 19:54:21 4c4ab2625f07: Pull complete 19:54:23 a77e37c0d609: Verifying Checksum 19:54:23 a77e37c0d609: Download complete 19:54:30 c3185cebc471: Verifying Checksum 19:54:30 c3185cebc471: Download complete 19:54:30 db62176df00c: Verifying Checksum 19:54:30 db62176df00c: Download complete 19:54:34 db62176df00c: Pull complete 19:54:34 3b30891b0d05: Pull complete 19:54:34 06b49ca38bd5: Pull complete 19:54:34 c788192a36de: Pull complete 19:54:34 a77e37c0d609: Pull complete 19:54:36 c3185cebc471: Pull complete 19:54:36 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:54:36 ---> 031687cdd783 19:54:36 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:38 ---> Running in d3dfe7404a8d 19:54:38 Removing intermediate container d3dfe7404a8d 19:54:38 ---> 2bf551b3e154 19:54:38 Step 4/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 19:54:38 ---> Running in 4428eca4b9b2 19:54:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:54:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:54:40 (1/7) Installing openssh-keygen (8.4_p1-r3) 19:54:40 (2/7) Installing libedit (20191231.3.1-r1) 19:54:40 (3/7) Installing openssh-client (8.4_p1-r3) 19:54:41 (4/7) Installing openssh-sftp-server (8.4_p1-r3) 19:54:41 (5/7) Installing openssh-server-common (8.4_p1-r3) 19:54:41 (6/7) Installing openssh-server (8.4_p1-r3) 19:54:42 (7/7) Installing openssh (8.4_p1-r3) 19:54:42 Executing busybox-1.32.1-r6.trigger 19:54:42 OK: 224 MiB in 59 packages 19:54:42 Removing intermediate container 4428eca4b9b2 19:54:42 ---> 24c78ecdd01b 19:54:42 Step 5/9 : WORKDIR /device-modbus-go 19:54:42 ---> Running in 76dbc00b12d7 19:54:42 Removing intermediate container 76dbc00b12d7 19:54:42 ---> f92663588451 19:54:42 Step 6/9 : COPY . . 19:54:42 ---> ad374eb359ed 19:54:42 Step 7/9 : RUN go mod tidy 19:54:42 ---> Running in 9eb629bf80c2 19:54:44 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.86 19:54:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.103 19:54:44 go: downloading github.com/goburrow/modbus v0.1.0 19:54:44 go: downloading github.com/stretchr/testify v1.7.0 19:54:44 go: downloading github.com/gorilla/mux v1.8.0 19:54:44 go: downloading github.com/go-kit/kit v0.9.0 19:54:44 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:54:44 go: downloading github.com/google/uuid v1.2.0 19:54:44 go: downloading github.com/goburrow/serial v0.1.0 19:54:44 go: downloading github.com/davecgh/go-spew v1.1.1 19:54:44 go: downloading github.com/pmezard/go-difflib v1.0.0 19:54:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:54:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.67 19:54:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:54:44 go: downloading github.com/go-playground/universal-translator v0.17.0 19:54:44 go: downloading github.com/leodido/go-urn v1.2.0 19:54:44 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:54:44 go: downloading golang.org/x/text v0.3.2 19:54:45 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:54:45 go: downloading github.com/go-playground/locales v0.13.0 19:54:45 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:54:45 go: downloading github.com/go-stack/stack v1.8.0 19:54:46 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:54:46 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:54:46 go: downloading github.com/pelletier/go-toml v1.9.2 19:54:46 go: downloading gopkg.in/yaml.v2 v2.4.0 19:54:46 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:54:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0-dev.10 19:54:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0-dev.26 19:54:46 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:54:46 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:54:46 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:54:46 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:54:46 go: downloading github.com/kr/pretty v0.2.0 19:54:46 go: downloading github.com/hashicorp/consul/api v1.8.1 19:54:46 go: downloading github.com/x448/float16 v0.8.4 19:54:46 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:54:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:54:46 go: downloading github.com/pebbe/zmq4 v1.2.7 19:54:46 go: downloading github.com/stretchr/objx v0.1.0 19:54:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:54:46 go: downloading github.com/kr/text v0.1.0 19:54:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:54:46 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:54:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:54:46 go: downloading github.com/hashicorp/serf v0.9.5 19:54:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:54:46 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:54:46 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:54:46 go: downloading github.com/gorilla/websocket v1.4.2 19:54:46 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:54:46 go: downloading github.com/onsi/ginkgo v1.10.1 19:54:46 go: downloading github.com/onsi/gomega v1.7.0 19:54:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:54:46 go: downloading github.com/mitchellh/copystructure v1.0.0 19:54:46 go: downloading github.com/fatih/color v1.9.0 19:54:46 go: downloading github.com/mattn/go-colorable v0.1.6 19:54:46 go: downloading github.com/mattn/go-isatty v0.0.12 19:54:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:54:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:54:47 go: downloading github.com/pkg/errors v0.8.1 19:54:47 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:54:47 go: downloading github.com/hashicorp/memberlist v0.2.2 19:54:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:54:47 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:54:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:54:47 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:54:47 go: downloading github.com/hpcloud/tail v1.0.0 19:54:47 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:54:47 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:54:47 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 19:54:47 go: downloading github.com/miekg/dns v1.1.26 19:54:47 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:54:47 go: downloading github.com/hashicorp/golang-lru v0.5.1 19:54:47 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:54:47 go: downloading github.com/hashicorp/errwrap v1.0.0 19:54:47 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:54:51 Removing intermediate container 9eb629bf80c2 19:54:51 ---> 32e6a6e049f2 19:54:51 Step 8/9 : RUN go mod download 19:54:51 ---> Running in 2abc01bf5f5a 19:54:55 Removing intermediate container 2abc01bf5f5a 19:54:55 ---> b680a84aca4e 19:54:55 Step 9/9 : RUN make build 19:54:55 ---> Running in 0aa684fdfc0d 19:54:55 go mod tidy 19:54:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.5" -o cmd/device-modbus ./cmd 19:55:08 Removing intermediate container 0aa684fdfc0d 19:55:08 ---> 1893274a39c4 19:55:08 [Warning] One or more build-args [MAKE] were not consumed 19:55:08 Successfully built 1893274a39c4 19:55:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:55:08 + docker inspect -f . ci-base-image-x86_64 19:55:08 . [Pipeline] withDockerContainer 19:55:08 prd-centos7-docker-4c-2g-3178 does not seem to be running inside a container 19:55:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:55:09 $ docker top fe8023c52b1b52d453f043b4ea2f1b79caadce5759dcd3f1e566c9b5d3c7b9d0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:09 + go version 19:55:09 go version go1.16.6 linux/amd64 [Pipeline] } 19:55:09 $ docker stop --time=1 fe8023c52b1b52d453f043b4ea2f1b79caadce5759dcd3f1e566c9b5d3c7b9d0 19:55:10 $ docker rm -f fe8023c52b1b52d453f043b4ea2f1b79caadce5759dcd3f1e566c9b5d3c7b9d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:55:11 + docker inspect -f . ci-base-image-x86_64 19:55:11 . [Pipeline] withDockerContainer 19:55:11 prd-centos7-docker-4c-2g-3178 does not seem to be running inside a container 19:55:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:55:12 $ docker top 765415c93f54ae13f12181f82a1cdd0d02c513d579fe9e87f13398fc217c8a77 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:55:12 + go mod tidy [Pipeline] sh 19:55:13 + make test 19:55:13 go mod tidy 19:55:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:55:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:55:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:55:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 19:55:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:55:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3179 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 19:55:23 Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout 19:55:23 Selected Git installation does not exist. Using Default 19:55:23 The recommended git tool is: NONE 19:55:29 using credential edgex-jenkins-ssh 19:55:29 Cloning the remote Git repository 19:55:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:55:29 > git init /w/workspace/device-modbus-go/6 # timeout=10 19:55:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:55:29 > git --version # timeout=10 19:55:29 > git --version # 'git version 2.17.1' 19:55:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:55:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:55:30 gofmt -l . 19:55:30 [ "`gofmt -l .`" = "" ] 19:55:30 ./bin/test-attribution-txt.sh 19:55:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:55:30 $ docker stop --time=1 765415c93f54ae13f12181f82a1cdd0d02c513d579fe9e87f13398fc217c8a77 19:55:30 Avoid second fetch 19:55:30 Checking out Revision 9315c3ad457bec3bf35212cacbdaa65c808c53a1 (main) 19:55:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:55:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:55:30 > git config core.sparsecheckout # timeout=10 19:55:30 > git checkout -f 9315c3ad457bec3bf35212cacbdaa65c808c53a1 # timeout=10 19:55:32 $ docker rm -f 765415c93f54ae13f12181f82a1cdd0d02c513d579fe9e87f13398fc217c8a77 [Pipeline] // withDockerContainer [Pipeline] sh 19:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:55:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:55:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:55:34 + ls -al . 19:55:34 total 124 19:55:34 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 17 19:55 . 19:55:34 drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 19:54 .. 19:55:34 -rw-rw-r--. 1 jenkins jenkins 7707 Aug 17 19:54 Attribution.txt 19:55:34 drwxrwxr-x. 2 jenkins jenkins 87 Aug 17 19:54 bin 19:55:34 -rw-rw-r--. 1 jenkins jenkins 6038 Aug 17 19:54 CHANGELOG.md 19:55:34 drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 19:54 cmd 19:55:34 -rw-r--r--. 1 jenkins jenkins 23727 Aug 17 19:55 coverage.out 19:55:34 -rw-rw-r--. 1 jenkins jenkins 1473 Aug 17 19:54 Dockerfile 19:55:34 -rw-rw-r--. 1 jenkins jenkins 140 Aug 17 19:54 .dockerignore 19:55:34 drwxrwxr-x. 8 jenkins jenkins 162 Aug 17 19:54 .git 19:55:34 drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 19:54 .github 19:55:34 -rw-rw-r--. 1 jenkins jenkins 338 Aug 17 19:54 .gitignore 19:55:34 -rw-r--r--. 1 jenkins jenkins 414 Aug 17 19:55 go.mod 19:55:34 -rw-r--r--. 1 jenkins jenkins 21529 Aug 17 19:55 go.sum 19:55:34 -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 19:54 GOVERNANCE.md 19:55:34 drwxrwxr-x. 3 jenkins jenkins 20 Aug 17 19:54 internal 19:55:34 -rw-rw-r--. 1 jenkins jenkins 679 Aug 17 19:54 Jenkinsfile 19:55:34 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 19:54 LICENSE 19:55:34 -rw-rw-r--. 1 jenkins jenkins 914 Aug 17 19:54 Makefile 19:55:34 -rw-rw-r--. 1 jenkins jenkins 622 Aug 17 19:54 OWNERS.md 19:55:34 -rw-rw-r--. 1 jenkins jenkins 2891 Aug 17 19:54 README.md 19:55:34 drwxrwxr-x. 2 jenkins jenkins 52 Aug 17 19:54 simulator 19:55:34 drwxrwxr-x. 4 jenkins jenkins 71 Aug 17 19:54 snap 19:55:34 -rw-rw-r--. 1 jenkins jenkins 11 Aug 17 19:52 VERSION 19:55:34 -rw-rw-r--. 1 jenkins jenkins 229 Aug 17 19:54 version.go [Pipeline] isUnix [Pipeline] sh 19:55:34 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9315c3ad457bec3bf35212cacbdaa65c808c53a1 --label arch=amd64 --label version=2.0.1-dev.5 . 19:55:34 Sending build context to Docker daemon 670.2kB 19:55:34 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 19:55:34 Step 2/22 : FROM ${BASE} AS builder 19:55:34 ---> 1893274a39c4 19:55:34 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:34 ---> Running in 9fa12d8c49b2 19:55:35 Commit message: "Merge pull request #278 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:35 provisioning config files... 19:55:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config7835475352314312675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:35 Removing intermediate container 9fa12d8c49b2 19:55:35 ---> 1c6a04496fdd 19:55:35 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 19:55:35 ---> Running in d829caac4034 19:55:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:55:36 ---> docker-login.sh 19:55:36 nexus3.edgexfoundry.org:10001 19:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:55:37 OK: 224 MiB in 59 packages 19:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:37 Configure a credential helper to remove this warning. See 19:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:37 19:55:37 Login Succeeded 19:55:37 nexus3.edgexfoundry.org:10002 19:55:37 Removing intermediate container d829caac4034 19:55:37 ---> d5ade7598d06 19:55:37 Step 5/22 : WORKDIR /device-modbus-go 19:55:37 ---> Running in 0fbea08bfff9 19:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:37 Removing intermediate container 0fbea08bfff9 19:55:37 ---> 9f891fa74fae 19:55:37 Step 6/22 : COPY . . 19:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:37 Configure a credential helper to remove this warning. See 19:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:37 19:55:37 Login Succeeded 19:55:37 nexus3.edgexfoundry.org:10003 19:55:37 ---> c7cd800b3c1c 19:55:37 Step 7/22 : RUN go mod tidy 19:55:37 ---> Running in 58d55a61ddc3 19:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:38 Configure a credential helper to remove this warning. See 19:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:38 19:55:38 Login Succeeded 19:55:38 nexus3.edgexfoundry.org:10004 19:55:38 Removing intermediate container 58d55a61ddc3 19:55:38 ---> 8fdbc3874fbb 19:55:38 Step 8/22 : RUN go mod download 19:55:38 ---> Running in e5f4583ed8af 19:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:38 Configure a credential helper to remove this warning. See 19:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:38 19:55:38 Login Succeeded 19:55:38 docker.io 19:55:38 Removing intermediate container e5f4583ed8af 19:55:38 ---> c1026b128751 19:55:38 Step 9/22 : RUN make build 19:55:38 ---> Running in e873cd93a90a 19:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:39 go mod tidy 19:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:39 Configure a credential helper to remove this warning. See 19:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:39 19:55:39 Login Succeeded 19:55:39 ---> docker-login.sh ends 19:55:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.5" -o cmd/device-modbus ./cmd [Pipeline] } 19:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:55:40 ========================================================= 19:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:55:40 Removing intermediate container e873cd93a90a 19:55:40 ---> 76ed4c360047 19:55:40 Step 10/22 : FROM alpine:3.12 19:55:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 19:55:40 Sending build context to Docker daemon 644.6kB 19:55:40 Step 1/9 : ARG BASE=golang:1.16-alpine3.12 19:55:40 Step 2/9 : FROM ${BASE} AS builder 19:55:40 3.12: Pulling from library/alpine 19:55:40 339de151aab4: Pulling fs layer 19:55:41 339de151aab4: Verifying Checksum 19:55:41 339de151aab4: Download complete 19:55:41 339de151aab4: Pull complete 19:55:41 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:55:41 Status: Downloaded newer image for alpine:3.12 19:55:41 ---> 13621d1b12d4 19:55:41 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:55:41 ---> Running in c08bca2678fc 19:55:41 Removing intermediate container c08bca2678fc 19:55:41 ---> a8c35bc72cb2 19:55:41 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:41 ---> Running in 68fbaf48fff6 19:55:42 Removing intermediate container 68fbaf48fff6 19:55:42 ---> 7fa4f8c9593d 19:55:42 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 19:55:42 ---> Running in d2a9a520bb06 19:55:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:55:42 595b0fe564bb: Pulling fs layer 19:55:42 24495759ef45: Pulling fs layer 19:55:42 d148012ef14d: Pulling fs layer 19:55:42 e90a11edd702: Pulling fs layer 19:55:42 d77568369979: Pulling fs layer 19:55:42 fc1c9f9a7f3b: Pulling fs layer 19:55:42 170f2ba95c9a: Pulling fs layer 19:55:42 97ac5df62f85: Pulling fs layer 19:55:42 d77568369979: Waiting 19:55:42 fc1c9f9a7f3b: Waiting 19:55:42 170f2ba95c9a: Waiting 19:55:42 e90a11edd702: Waiting 19:55:42 97ac5df62f85: Waiting 19:55:42 d148012ef14d: Download complete 19:55:42 24495759ef45: Verifying Checksum 19:55:42 24495759ef45: Download complete 19:55:42 d77568369979: Verifying Checksum 19:55:42 d77568369979: Download complete 19:55:42 fc1c9f9a7f3b: Verifying Checksum 19:55:42 fc1c9f9a7f3b: Download complete 19:55:42 595b0fe564bb: Verifying Checksum 19:55:42 595b0fe564bb: Download complete 19:55:42 170f2ba95c9a: Verifying Checksum 19:55:42 170f2ba95c9a: Download complete 19:55:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:55:43 595b0fe564bb: Pull complete 19:55:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:55:43 24495759ef45: Pull complete 19:55:44 d148012ef14d: Pull complete 19:55:44 (1/6) Installing dumb-init (1.2.2-r1) 19:55:44 (2/6) Installing libgcc (9.3.0-r2) 19:55:44 (3/6) Installing libsodium (1.0.18-r0) 19:55:45 (4/6) Installing libstdc++ (9.3.0-r2) 19:55:45 97ac5df62f85: Verifying Checksum 19:55:45 97ac5df62f85: Download complete 19:55:45 (5/6) Installing libzmq (4.3.3-r0) 19:55:46 (6/6) Installing zeromq (4.3.3-r0) 19:55:46 Executing busybox-1.31.1-r20.trigger 19:55:46 OK: 8 MiB in 20 packages 19:55:46 e90a11edd702: Verifying Checksum 19:55:46 e90a11edd702: Download complete 19:55:46 Removing intermediate container d2a9a520bb06 19:55:46 ---> 619cd8a3d53b 19:55:46 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:55:46 ---> 2bdb3e3a1165 19:55:46 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:55:47 ---> db9297142839 19:55:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:55:47 ---> ee06ff5c2285 19:55:47 Step 17/22 : EXPOSE 59901 19:55:47 ---> Running in 04b02a1d3389 19:55:47 Removing intermediate container 04b02a1d3389 19:55:47 ---> 126cca89cc33 19:55:47 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:55:47 ---> Running in 2581b2304c24 19:55:47 Removing intermediate container 2581b2304c24 19:55:47 ---> 8f6af1549e65 19:55:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:55:47 ---> Running in c3e5ca8c38cc 19:55:47 Removing intermediate container c3e5ca8c38cc 19:55:47 ---> 54228c7d73b7 19:55:47 Step 20/22 : LABEL arch=amd64 19:55:47 ---> Running in 7497459e6cf2 19:55:47 Removing intermediate container 7497459e6cf2 19:55:47 ---> 6c4f1d7e01b5 19:55:47 Step 21/22 : LABEL git_sha=9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:55:47 ---> Running in af570624f3c2 19:55:47 Removing intermediate container af570624f3c2 19:55:47 ---> 96a79d35b841 19:55:47 Step 22/22 : LABEL version=2.0.1-dev.5 19:55:47 ---> Running in de7e43e270d5 19:55:47 Removing intermediate container de7e43e270d5 19:55:47 ---> 20964e0e799b 19:55:47 [Warning] One or more build-args [MAKE ARCH] were not consumed 19:55:47 Successfully built 20964e0e799b 19:55:47 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:48 provisioning config files... 19:55:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config1407115100997725219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:48 ---> docker-login.sh 19:55:48 nexus3.edgexfoundry.org:10001 19:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:48 Configure a credential helper to remove this warning. See 19:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:48 19:55:48 Login Succeeded 19:55:48 nexus3.edgexfoundry.org:10002 19:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:48 Configure a credential helper to remove this warning. See 19:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:48 19:55:48 Login Succeeded 19:55:48 nexus3.edgexfoundry.org:10003 19:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:48 Configure a credential helper to remove this warning. See 19:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:48 19:55:48 Login Succeeded 19:55:48 nexus3.edgexfoundry.org:10004 19:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:48 Configure a credential helper to remove this warning. See 19:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:48 19:55:48 Login Succeeded 19:55:48 docker.io 19:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:55:49 Configure a credential helper to remove this warning. See 19:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:55:49 19:55:49 Login Succeeded 19:55:49 ---> docker-login.sh ends [Pipeline] } 19:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:55:49 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 19:55:49 9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:55:49 latest 19:55:49 2.0.1-dev.5 19:55:49 9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 19:55:49 main 19:55:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:55:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] isUnix [Pipeline] sh 19:55:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:55:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:55:50 2ba26570b680: Preparing 19:55:50 52fbfa099e71: Preparing 19:55:50 db5d7232d692: Preparing 19:55:50 eb07a26ff47f: Preparing 19:55:50 09e1c2499d2b: Preparing 19:55:50 32f366d666a5: Preparing 19:55:50 32f366d666a5: Waiting 19:55:50 52fbfa099e71: Pushed 19:55:50 32f366d666a5: Layer already exists 19:55:50 2ba26570b680: Pushed 19:55:50 eb07a26ff47f: Pushed 19:55:50 09e1c2499d2b: Pushed 19:55:56 e90a11edd702: Pull complete 19:55:56 d77568369979: Pull complete 19:55:57 db5d7232d692: Pushed 19:55:57 9315c3ad457bec3bf35212cacbdaa65c808c53a1: digest: sha256:650adbd6ab1d55ccdb788af1b43cfa6298f03ad728683270d5e94e0a7db47efa size: 1572 [Pipeline] isUnix [Pipeline] sh 19:55:57 fc1c9f9a7f3b: Pull complete 19:55:57 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 19:55:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 19:55:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:55:57 2ba26570b680: Preparing 19:55:57 52fbfa099e71: Preparing 19:55:57 db5d7232d692: Preparing 19:55:57 eb07a26ff47f: Preparing 19:55:57 09e1c2499d2b: Preparing 19:55:57 32f366d666a5: Preparing 19:55:57 32f366d666a5: Waiting 19:55:57 52fbfa099e71: Layer already exists 19:55:57 2ba26570b680: Layer already exists 19:55:57 eb07a26ff47f: Layer already exists 19:55:57 db5d7232d692: Layer already exists 19:55:57 09e1c2499d2b: Layer already exists 19:55:57 32f366d666a5: Layer already exists 19:55:57 latest: digest: sha256:650adbd6ab1d55ccdb788af1b43cfa6298f03ad728683270d5e94e0a7db47efa size: 1572 [Pipeline] isUnix [Pipeline] sh 19:55:58 170f2ba95c9a: Pull complete 19:55:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 19:55:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.5 19:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:55:58 2ba26570b680: Preparing 19:55:58 52fbfa099e71: Preparing 19:55:58 db5d7232d692: Preparing 19:55:58 eb07a26ff47f: Preparing 19:55:58 09e1c2499d2b: Preparing 19:55:58 32f366d666a5: Preparing 19:55:58 32f366d666a5: Waiting 19:55:58 52fbfa099e71: Layer already exists 19:55:58 eb07a26ff47f: Layer already exists 19:55:58 09e1c2499d2b: Layer already exists 19:55:58 2ba26570b680: Layer already exists 19:55:58 db5d7232d692: Layer already exists 19:55:58 32f366d666a5: Layer already exists 19:55:58 2.0.1-dev.5: digest: sha256:650adbd6ab1d55ccdb788af1b43cfa6298f03ad728683270d5e94e0a7db47efa size: 1572 [Pipeline] isUnix [Pipeline] sh 19:55:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 19:55:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 19:55:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:55:59 2ba26570b680: Preparing 19:55:59 52fbfa099e71: Preparing 19:55:59 db5d7232d692: Preparing 19:55:59 eb07a26ff47f: Preparing 19:55:59 09e1c2499d2b: Preparing 19:55:59 32f366d666a5: Preparing 19:55:59 32f366d666a5: Waiting 19:55:59 2ba26570b680: Layer already exists 19:55:59 09e1c2499d2b: Layer already exists 19:55:59 52fbfa099e71: Layer already exists 19:55:59 eb07a26ff47f: Layer already exists 19:55:59 db5d7232d692: Layer already exists 19:55:59 32f366d666a5: Layer already exists 19:55:59 9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5: digest: sha256:650adbd6ab1d55ccdb788af1b43cfa6298f03ad728683270d5e94e0a7db47efa size: 1572 [Pipeline] isUnix [Pipeline] sh 19:55:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 19:55:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 19:55:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:55:59 2ba26570b680: Preparing 19:55:59 52fbfa099e71: Preparing 19:55:59 db5d7232d692: Preparing 19:55:59 eb07a26ff47f: Preparing 19:55:59 09e1c2499d2b: Preparing 19:55:59 32f366d666a5: Preparing 19:55:59 32f366d666a5: Waiting 19:55:59 db5d7232d692: Layer already exists 19:55:59 52fbfa099e71: Layer already exists 19:55:59 2ba26570b680: Layer already exists 19:55:59 09e1c2499d2b: Layer already exists 19:55:59 eb07a26ff47f: Layer already exists 19:55:59 32f366d666a5: Layer already exists 19:55:59 main: digest: sha256:650adbd6ab1d55ccdb788af1b43cfa6298f03ad728683270d5e94e0a7db47efa size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:55:59 ===================================================== [Pipeline] echo 19:55:59 taggedImages: 19:55:59 - nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:55:59 - nexus3.edgexfoundry.org:10004/device-modbus:latest 19:55:59 - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.5 19:55:59 - nexus3.edgexfoundry.org:10004/device-modbus:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 19:55:59 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:00 19:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:56:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:00 latest: Pulling from edgex-lftools-log-publisher 19:56:00 b4d181a07f80: Pulling fs layer 19:56:00 a1111a8f2ec3: Pulling fs layer 19:56:00 ed53099fbce6: Pulling fs layer 19:56:00 dc539afda2c1: Pulling fs layer 19:56:00 77bc0d833cb6: Pulling fs layer 19:56:00 9065ff56babe: Pulling fs layer 19:56:00 d287ab97295c: Pulling fs layer 19:56:00 77bc0d833cb6: Waiting 19:56:00 9065ff56babe: Waiting 19:56:00 d287ab97295c: Waiting 19:56:00 dc539afda2c1: Waiting 19:56:01 a1111a8f2ec3: Verifying Checksum 19:56:01 a1111a8f2ec3: Download complete 19:56:01 dc539afda2c1: Verifying Checksum 19:56:01 dc539afda2c1: Download complete 19:56:01 77bc0d833cb6: Verifying Checksum 19:56:01 77bc0d833cb6: Download complete 19:56:01 9065ff56babe: Verifying Checksum 19:56:01 9065ff56babe: Download complete 19:56:01 ed53099fbce6: Verifying Checksum 19:56:01 ed53099fbce6: Download complete 19:56:03 b4d181a07f80: Verifying Checksum 19:56:03 b4d181a07f80: Download complete 19:56:03 97ac5df62f85: Pull complete 19:56:03 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:56:03 ---> 04bc70af865f 19:56:03 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:56:04 b4d181a07f80: Pull complete 19:56:04 a1111a8f2ec3: Pull complete 19:56:05 ed53099fbce6: Pull complete 19:56:05 dc539afda2c1: Pull complete 19:56:05 77bc0d833cb6: Pull complete 19:56:05 9065ff56babe: Pull complete 19:56:12 ---> Running in 41879b2864c1 19:56:12 d287ab97295c: Verifying Checksum 19:56:12 d287ab97295c: Download complete 19:56:14 Removing intermediate container 41879b2864c1 19:56:14 ---> 576d94fdde4a 19:56:14 Step 4/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 19:56:14 ---> Running in 231a359f14f9 19:56:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:56:15 d287ab97295c: Pull complete 19:56:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:56:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:56:16 prd-centos7-docker-4c-2g-3178 does not seem to be running inside a container 19:56:16 $ 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-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:56:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:56:17 (1/7) Installing openssh-keygen (8.4_p1-r3) 19:56:17 (2/7) Installing libedit (20191231.3.1-r1) 19:56:18 (3/7) Installing openssh-client (8.4_p1-r3) 19:56:18 $ docker top 741b90dd25692a1709954ba24f346d319bcf6afac9a9fbb6bfa43ab5828cb34d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:56:19 (4/7) Installing openssh-sftp-server (8.4_p1-r3) 19:56:19 (5/7) Installing openssh-server-common (8.4_p1-r3) 19:56:19 (6/7) Installing openssh-server (8.4_p1-r3) 19:56:19 ---> job-cost.sh 19:56:19 lf-activate-venv: SKIPPING 19:56:19 INFO: No Stack... 19:56:19 (7/7) Installing openssh (8.4_p1-r3) 19:56:19 Executing busybox-1.32.1-r6.trigger 19:56:19 OK: 224 MiB in 59 packages 19:56:20 INFO: Retrieving Pricing Info for: v3-standard-2 19:56:20 INFO: Archiving Costs [Pipeline] sh 19:56:21 + cat /w/workspace/device-modbus-go/6/archives/cost.csv 19:56:21 + cut -d, -f6 [Pipeline] lock 19:56:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] 19:56:21 Resource [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] did not exist. Created. 19:56:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:56:21 + echo total: 0.05999999865889549 [Pipeline] stash 19:56:21 Stashed 1 file(s) [Pipeline] } 19:56:21 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:56:21 $ docker stop --time=1 741b90dd25692a1709954ba24f346d319bcf6afac9a9fbb6bfa43ab5828cb34d 19:56:21 Removing intermediate container 231a359f14f9 19:56:21 ---> 5fc9a02dc4eb 19:56:21 Step 5/9 : WORKDIR /device-modbus-go 19:56:22 ---> Running in 7f1de335e9f1 19:56:22 Removing intermediate container 7f1de335e9f1 19:56:22 ---> 0dd0e8e98272 19:56:22 Step 6/9 : COPY . . 19:56:23 $ docker rm -f 741b90dd25692a1709954ba24f346d319bcf6afac9a9fbb6bfa43ab5828cb34d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:56:24 ---> 8f50d4d0ce98 19:56:24 Step 7/9 : RUN go mod tidy 19:56:24 ---> Running in bb488634f328 19:56:28 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.86 19:56:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.103 19:56:28 go: downloading github.com/goburrow/modbus v0.1.0 19:56:29 go: downloading github.com/stretchr/testify v1.7.0 19:56:29 go: downloading github.com/gorilla/mux v1.8.0 19:56:29 go: downloading github.com/go-kit/kit v0.9.0 19:56:29 go: downloading github.com/go-playground/validator/v10 v10.6.1 19:56:29 go: downloading github.com/google/uuid v1.2.0 19:56:29 go: downloading github.com/goburrow/serial v0.1.0 19:56:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.67 19:56:29 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 19:56:29 go: downloading github.com/davecgh/go-spew v1.1.1 19:56:29 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 19:56:29 go: downloading github.com/pmezard/go-difflib v1.0.0 19:56:29 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:56:29 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 19:56:29 go: downloading github.com/pelletier/go-toml v1.9.2 19:56:30 go: downloading gopkg.in/yaml.v2 v2.4.0 19:56:30 go: downloading github.com/leodido/go-urn v1.2.0 19:56:30 go: downloading github.com/go-playground/universal-translator v0.17.0 19:56:30 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 19:56:30 go: downloading golang.org/x/text v0.3.2 19:56:30 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:56:30 go: downloading github.com/go-playground/locales v0.13.0 19:56:33 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0-dev.10 19:56:33 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0-dev.26 19:56:34 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:56:34 go: downloading github.com/go-stack/stack v1.8.0 19:56:34 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:56:34 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:56:34 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:56:34 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 19:56:34 go: downloading github.com/hashicorp/consul/api v1.8.1 19:56:34 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:56:34 go: downloading github.com/stretchr/objx v0.1.0 19:56:34 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:56:34 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:56:34 go: downloading github.com/pebbe/zmq4 v1.2.7 19:56:34 go: downloading github.com/kr/pretty v0.2.0 19:56:34 go: downloading github.com/x448/float16 v0.8.4 19:56:35 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:56:35 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:56:35 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:56:35 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:56:35 go: downloading github.com/hashicorp/serf v0.9.5 19:56:35 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:56:35 go: downloading github.com/hashicorp/consul/sdk v0.7.0 19:56:35 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:56:35 go: downloading github.com/gorilla/websocket v1.4.2 19:56:35 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 19:56:35 go: downloading github.com/onsi/ginkgo v1.10.1 19:56:35 go: downloading github.com/onsi/gomega v1.7.0 19:56:35 go: downloading github.com/kr/text v0.1.0 19:56:35 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:56:35 go: downloading github.com/mitchellh/copystructure v1.0.0 19:56:35 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:56:35 go: downloading github.com/fatih/color v1.9.0 19:56:35 go: downloading github.com/mattn/go-colorable v0.1.6 19:56:35 go: downloading github.com/mattn/go-isatty v0.0.12 19:56:35 go: downloading github.com/pkg/errors v0.8.1 19:56:35 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:56:35 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:56:36 go: downloading github.com/hashicorp/memberlist v0.2.2 19:56:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:56:36 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:56:36 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:56:36 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:56:36 go: downloading github.com/hpcloud/tail v1.0.0 19:56:36 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:56:36 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:56:36 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 19:56:36 go: downloading github.com/miekg/dns v1.1.26 19:56:36 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:56:36 go: downloading github.com/hashicorp/golang-lru v0.5.1 19:56:36 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:56:36 go: downloading github.com/hashicorp/errwrap v1.0.0 19:56:36 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:56:51 Removing intermediate container bb488634f328 19:56:51 ---> 70180113f979 19:56:51 Step 8/9 : RUN go mod download 19:56:51 ---> Running in 7b68827f342a 19:57:04 Removing intermediate container 7b68827f342a 19:57:04 ---> bcd110da0278 19:57:04 Step 9/9 : RUN make build 19:57:04 ---> Running in fb7bdb7e3a4f 19:57:04 go mod tidy 19:57:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.5" -o cmd/device-modbus ./cmd 19:57:51 Removing intermediate container fb7bdb7e3a4f 19:57:51 ---> 5e430246cb78 19:57:51 [Warning] One or more build-args [MAKE] were not consumed 19:57:51 Successfully built 5e430246cb78 19:57:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:57:52 + docker inspect -f . ci-base-image-arm64 19:57:52 . [Pipeline] withDockerContainer 19:57:52 prd-ubuntu18.04-docker-arm64-4c-16g-3179 does not seem to be running inside a container 19:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:57:54 $ docker top 9afa89bbeb365026b148d22c2775e891e767ba4c8174e7c1bae28ff593ab4445 -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:55 + go version 19:57:55 go version go1.16.6 linux/arm64 [Pipeline] } 19:57:55 $ docker stop --time=1 9afa89bbeb365026b148d22c2775e891e767ba4c8174e7c1bae28ff593ab4445 19:57:57 $ docker rm -f 9afa89bbeb365026b148d22c2775e891e767ba4c8174e7c1bae28ff593ab4445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:57:57 + docker inspect -f . ci-base-image-arm64 19:57:57 . [Pipeline] withDockerContainer 19:57:57 prd-ubuntu18.04-docker-arm64-4c-16g-3179 does not seem to be running inside a container 19:57:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:57:59 $ docker top a02ae69a48899574cd94576f54833a3355553d99c4c511b1f1d5481341d41b51 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:58:00 + go mod tidy [Pipeline] sh 19:58:01 + make test 19:58:01 go mod tidy 19:58:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:58:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:58:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:58:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 46.6% of statements 19:58:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:59:05 gofmt -l . 19:59:05 [ "`gofmt -l .`" = "" ] 19:59:05 ./bin/test-attribution-txt.sh 19:59:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:59:05 $ docker stop --time=1 a02ae69a48899574cd94576f54833a3355553d99c4c511b1f1d5481341d41b51 19:59:08 $ docker rm -f a02ae69a48899574cd94576f54833a3355553d99c4c511b1f1d5481341d41b51 [Pipeline] // withDockerContainer [Pipeline] sh 19:59:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:59:08 Warning: overwriting stash ‘coverage-report’ 19:59:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:59:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:59:10 + ls -al . 19:59:10 total 156 19:59:10 drwxrwxr-x 9 jenkins jenkins 4096 Aug 17 19:59 . 19:59:10 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:55 .. 19:59:10 -rw-rw-r-- 1 jenkins jenkins 140 Aug 17 19:55 .dockerignore 19:59:10 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:55 .git 19:59:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:55 .github 19:59:10 -rw-rw-r-- 1 jenkins jenkins 338 Aug 17 19:55 .gitignore 19:59:10 -rw-rw-r-- 1 jenkins jenkins 7707 Aug 17 19:55 Attribution.txt 19:59:10 -rw-rw-r-- 1 jenkins jenkins 6038 Aug 17 19:55 CHANGELOG.md 19:59:10 -rw-rw-r-- 1 jenkins jenkins 1473 Aug 17 19:55 Dockerfile 19:59:10 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:55 GOVERNANCE.md 19:59:10 -rw-rw-r-- 1 jenkins jenkins 679 Aug 17 19:55 Jenkinsfile 19:59:10 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 19:55 LICENSE 19:59:10 -rw-rw-r-- 1 jenkins jenkins 914 Aug 17 19:55 Makefile 19:59:10 -rw-rw-r-- 1 jenkins jenkins 622 Aug 17 19:55 OWNERS.md 19:59:10 -rw-rw-r-- 1 jenkins jenkins 2891 Aug 17 19:55 README.md 19:59:10 -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 19:52 VERSION 19:59:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:55 bin 19:59:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:55 cmd 19:59:10 -rw-r--r-- 1 jenkins jenkins 23727 Aug 17 19:58 coverage.out 19:59:10 -rw-r--r-- 1 jenkins jenkins 414 Aug 17 19:59 go.mod 19:59:10 -rw-r--r-- 1 jenkins jenkins 21529 Aug 17 19:58 go.sum 19:59:10 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:55 internal 19:59:10 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:55 simulator 19:59:10 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:55 snap 19:59:10 -rw-rw-r-- 1 jenkins jenkins 229 Aug 17 19:55 version.go [Pipeline] isUnix [Pipeline] sh 19:59:10 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9315c3ad457bec3bf35212cacbdaa65c808c53a1 --label arch=arm64 --label version=2.0.1-dev.5 . 19:59:11 Sending build context to Docker daemon 669.2kB 19:59:11 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 19:59:11 Step 2/22 : FROM ${BASE} AS builder 19:59:11 ---> 5e430246cb78 19:59:11 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:59:11 ---> Running in 75279f15cbf0 19:59:14 Removing intermediate container 75279f15cbf0 19:59:14 ---> 28608361dac5 19:59:14 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 19:59:14 ---> Running in abcb7e29559a 19:59:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:59:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:59:17 OK: 224 MiB in 59 packages 19:59:18 Removing intermediate container abcb7e29559a 19:59:18 ---> 33864c32b51a 19:59:18 Step 5/22 : WORKDIR /device-modbus-go 19:59:19 ---> Running in 4b3f3413d47e 19:59:19 Removing intermediate container 4b3f3413d47e 19:59:19 ---> 815529994a6d 19:59:19 Step 6/22 : COPY . . 19:59:21 ---> eb30be2665cc 19:59:21 Step 7/22 : RUN go mod tidy 19:59:21 ---> Running in 4eec206d32da 19:59:24 Removing intermediate container 4eec206d32da 19:59:24 ---> b4911b43c818 19:59:24 Step 8/22 : RUN go mod download 19:59:24 ---> Running in 7ed552fbf395 19:59:27 Removing intermediate container 7ed552fbf395 19:59:27 ---> 3b4944c6ca12 19:59:27 Step 9/22 : RUN make build 19:59:27 ---> Running in 0d99877e5ba8 19:59:29 go mod tidy 19:59:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.5" -o cmd/device-modbus ./cmd 19:59:33 Removing intermediate container 0d99877e5ba8 19:59:33 ---> 88cff91015c6 19:59:33 Step 10/22 : FROM alpine:3.12 19:59:33 3.12: Pulling from library/alpine 19:59:33 d2f70382dc9a: Pulling fs layer 19:59:34 d2f70382dc9a: Verifying Checksum 19:59:34 d2f70382dc9a: Download complete 19:59:34 d2f70382dc9a: Pull complete 19:59:34 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:59:34 Status: Downloaded newer image for alpine:3.12 19:59:34 ---> c4fd0aeabfcf 19:59:34 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:59:35 ---> Running in 456ae731d8e8 19:59:36 Removing intermediate container 456ae731d8e8 19:59:36 ---> 45dd03757437 19:59:36 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:59:36 ---> Running in 17e079352394 19:59:39 Removing intermediate container 17e079352394 19:59:39 ---> d9638fdc2433 19:59:39 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 19:59:39 ---> Running in fe0409c00112 19:59:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:59:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:59:42 (1/6) Installing dumb-init (1.2.2-r1) 19:59:42 (2/6) Installing libgcc (9.3.0-r2) 19:59:42 (3/6) Installing libsodium (1.0.18-r0) 19:59:42 (4/6) Installing libstdc++ (9.3.0-r2) 19:59:42 (5/6) Installing libzmq (4.3.3-r0) 19:59:43 (6/6) Installing zeromq (4.3.3-r0) 19:59:43 Executing busybox-1.31.1-r20.trigger 19:59:43 OK: 8 MiB in 20 packages 19:59:44 Removing intermediate container fe0409c00112 19:59:44 ---> 6760ae364f7c 19:59:44 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:59:46 ---> a64bb6517638 19:59:46 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:59:47 ---> d2e72f2830f7 19:59:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:59:48 ---> 6fc4bfe86caf 19:59:48 Step 17/22 : EXPOSE 59901 19:59:48 ---> Running in bbd8d8cdbfe4 19:59:49 Removing intermediate container bbd8d8cdbfe4 19:59:49 ---> 2f7ff92aee59 19:59:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:59:49 ---> Running in bf9f33bd0076 19:59:50 Removing intermediate container bf9f33bd0076 19:59:50 ---> 6a07f5758cbc 19:59:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:59:50 ---> Running in 544a7541fabd 19:59:51 Removing intermediate container 544a7541fabd 19:59:51 ---> 6fdce84dc175 19:59:51 Step 20/22 : LABEL arch=arm64 19:59:51 ---> Running in db281449ea48 19:59:51 Removing intermediate container db281449ea48 19:59:51 ---> 477047bc4bdf 19:59:51 Step 21/22 : LABEL git_sha=9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:59:52 ---> Running in 3cce20d2065a 19:59:52 Removing intermediate container 3cce20d2065a 19:59:52 ---> ee7d52326b75 19:59:52 Step 22/22 : LABEL version=2.0.1-dev.5 19:59:53 ---> Running in af52b7c012a0 19:59:53 Removing intermediate container af52b7c012a0 19:59:53 ---> d2e07c30afcf 19:59:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 19:59:53 Successfully built d2e07c30afcf 19:59:53 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:53 provisioning config files... 19:59:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config6236313290621482466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:54 ---> docker-login.sh 19:59:54 nexus3.edgexfoundry.org:10001 19:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:54 Configure a credential helper to remove this warning. See 19:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:54 19:59:54 Login Succeeded 19:59:54 nexus3.edgexfoundry.org:10002 19:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:55 Configure a credential helper to remove this warning. See 19:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:55 19:59:55 Login Succeeded 19:59:55 nexus3.edgexfoundry.org:10003 19:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:56 Configure a credential helper to remove this warning. See 19:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:56 19:59:56 Login Succeeded 19:59:56 nexus3.edgexfoundry.org:10004 19:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:56 Configure a credential helper to remove this warning. See 19:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:56 19:59:56 Login Succeeded 19:59:56 docker.io 19:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:57 Configure a credential helper to remove this warning. See 19:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:57 19:59:57 Login Succeeded 19:59:57 ---> docker-login.sh ends [Pipeline] } 19:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:59:57 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 19:59:57 9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:59:57 latest 19:59:57 2.0.1-dev.5 19:59:57 9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 19:59:57 main 19:59:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:59:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] isUnix [Pipeline] sh 19:59:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1 19:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:59:58 6fa478f78e8b: Preparing 19:59:58 1f5d54d3b6a3: Preparing 19:59:58 2087e0fbf723: Preparing 19:59:58 3afdd95e631a: Preparing 19:59:58 a40a85b32ccd: Preparing 19:59:58 3fbe34a1663b: Preparing 19:59:58 3fbe34a1663b: Waiting 19:59:59 1f5d54d3b6a3: Pushed 19:59:59 6fa478f78e8b: Pushed 19:59:59 a40a85b32ccd: Pushed 19:59:59 3fbe34a1663b: Layer already exists 20:00:00 3afdd95e631a: Pushed 20:00:02 2087e0fbf723: Pushed 20:00:04 9315c3ad457bec3bf35212cacbdaa65c808c53a1: digest: sha256:4a76ee89bfe587b17f9bcfd0df3f27a9194b07cf31491136d0669f97f0c03d88 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:00:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:00:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:00:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:00:05 6fa478f78e8b: Preparing 20:00:05 1f5d54d3b6a3: Preparing 20:00:05 2087e0fbf723: Preparing 20:00:05 3afdd95e631a: Preparing 20:00:05 a40a85b32ccd: Preparing 20:00:05 3fbe34a1663b: Preparing 20:00:05 3fbe34a1663b: Waiting 20:00:05 6fa478f78e8b: Layer already exists 20:00:05 1f5d54d3b6a3: Layer already exists 20:00:05 2087e0fbf723: Layer already exists 20:00:05 3afdd95e631a: Layer already exists 20:00:05 a40a85b32ccd: Layer already exists 20:00:05 3fbe34a1663b: Layer already exists 20:00:05 latest: digest: sha256:4a76ee89bfe587b17f9bcfd0df3f27a9194b07cf31491136d0669f97f0c03d88 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:00:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:00:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.5 20:00:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:00:06 6fa478f78e8b: Preparing 20:00:06 1f5d54d3b6a3: Preparing 20:00:06 2087e0fbf723: Preparing 20:00:06 3afdd95e631a: Preparing 20:00:06 a40a85b32ccd: Preparing 20:00:06 3fbe34a1663b: Preparing 20:00:06 3fbe34a1663b: Waiting 20:00:06 a40a85b32ccd: Layer already exists 20:00:06 3afdd95e631a: Layer already exists 20:00:06 6fa478f78e8b: Layer already exists 20:00:06 1f5d54d3b6a3: Layer already exists 20:00:06 2087e0fbf723: Layer already exists 20:00:06 3fbe34a1663b: Layer already exists 20:00:06 2.0.1-dev.5: digest: sha256:4a76ee89bfe587b17f9bcfd0df3f27a9194b07cf31491136d0669f97f0c03d88 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:00:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:00:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 20:00:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:00:06 6fa478f78e8b: Preparing 20:00:06 1f5d54d3b6a3: Preparing 20:00:06 2087e0fbf723: Preparing 20:00:06 3afdd95e631a: Preparing 20:00:06 a40a85b32ccd: Preparing 20:00:06 3fbe34a1663b: Preparing 20:00:06 3fbe34a1663b: Waiting 20:00:07 2087e0fbf723: Layer already exists 20:00:07 3afdd95e631a: Layer already exists 20:00:07 a40a85b32ccd: Layer already exists 20:00:07 1f5d54d3b6a3: Layer already exists 20:00:07 6fa478f78e8b: Layer already exists 20:00:07 3fbe34a1663b: Layer already exists 20:00:07 9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5: digest: sha256:4a76ee89bfe587b17f9bcfd0df3f27a9194b07cf31491136d0669f97f0c03d88 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:00:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 20:00:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:00:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:00:07 6fa478f78e8b: Preparing 20:00:07 1f5d54d3b6a3: Preparing 20:00:07 2087e0fbf723: Preparing 20:00:07 3afdd95e631a: Preparing 20:00:07 a40a85b32ccd: Preparing 20:00:07 3fbe34a1663b: Preparing 20:00:08 2087e0fbf723: Layer already exists 20:00:08 1f5d54d3b6a3: Layer already exists 20:00:08 3afdd95e631a: Layer already exists 20:00:08 6fa478f78e8b: Layer already exists 20:00:08 a40a85b32ccd: Layer already exists 20:00:08 3fbe34a1663b: Layer already exists 20:00:08 main: digest: sha256:4a76ee89bfe587b17f9bcfd0df3f27a9194b07cf31491136d0669f97f0c03d88 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:00:08 ===================================================== [Pipeline] echo 20:00:08 taggedImages: 20:00:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1 20:00:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:00:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.5 20:00:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9315c3ad457bec3bf35212cacbdaa65c808c53a1-2.0.1-dev.5 20:00:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:00:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:08 20:00:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:00:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:09 arm64: Pulling from edgex-lftools-log-publisher 20:00:09 448f6bf000e3: Pulling fs layer 20:00:09 f757da607395: Pulling fs layer 20:00:09 05883995daec: Pulling fs layer 20:00:09 8603b9c90790: Pulling fs layer 20:00:09 1560dd03e051: Pulling fs layer 20:00:09 27f5ce0e4adf: Pulling fs layer 20:00:09 c2d8d7efcc4b: Pulling fs layer 20:00:09 1560dd03e051: Waiting 20:00:09 c2d8d7efcc4b: Waiting 20:00:09 8603b9c90790: Waiting 20:00:09 f757da607395: Verifying Checksum 20:00:09 f757da607395: Download complete 20:00:09 8603b9c90790: Download complete 20:00:10 1560dd03e051: Verifying Checksum 20:00:10 1560dd03e051: Download complete 20:00:10 27f5ce0e4adf: Verifying Checksum 20:00:10 27f5ce0e4adf: Download complete 20:00:10 05883995daec: Verifying Checksum 20:00:10 05883995daec: Download complete 20:00:11 448f6bf000e3: Verifying Checksum 20:00:11 448f6bf000e3: Download complete 20:00:14 c2d8d7efcc4b: Verifying Checksum 20:00:14 c2d8d7efcc4b: Download complete 20:00:15 448f6bf000e3: Pull complete 20:00:16 f757da607395: Pull complete 20:00:18 05883995daec: Pull complete 20:00:18 8603b9c90790: Pull complete 20:00:19 1560dd03e051: Pull complete 20:00:20 27f5ce0e4adf: Pull complete 20:00:35 c2d8d7efcc4b: Pull complete 20:00:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:00:35 prd-ubuntu18.04-docker-arm64-4c-16g-3179 does not seem to be running inside a container 20:00:35 $ 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-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:00:42 $ docker top 7d55590c352179b3fe10dcbaea8eb72ac37aadad1fb167287489c94364f5098e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:43 ---> job-cost.sh 20:00:43 lf-activate-venv: SKIPPING 20:00:43 INFO: No Stack... 20:00:44 INFO: Retrieving Pricing Info for: v2-standard-4 20:00:44 INFO: Archiving Costs [Pipeline] sh 20:00:45 + cat /w/workspace/device-modbus-go/6/archives/cost.csv 20:00:45 + cut -d, -f6 [Pipeline] lock 20:00:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] 20:00:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] did not exist. Created. 20:00:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:00:45 /w/workspace/device-modbus-go/6@tmp/durable-ca4b8e1e/script.sh: 1: /w/workspace/device-modbus-go/6@tmp/durable-ca4b8e1e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:00:46 + echo total: 0.18000000715255737 [Pipeline] stash 20:00:46 Warning: overwriting stash ‘stack-cost’ 20:00:46 Stashed 1 file(s) [Pipeline] } 20:00:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:00:46 $ docker stop --time=1 7d55590c352179b3fe10dcbaea8eb72ac37aadad1fb167287489c94364f5098e 20:00:48 $ docker rm -f 7d55590c352179b3fe10dcbaea8eb72ac37aadad1fb167287489c94364f5098e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:00:48 provisioning config files... 20:00:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4639251728490153893tmp [Pipeline] { [Pipeline] sh 20:00:49 + set +x 20:00:49 + curl -s https://codecov.io/bash 20:00:49 + bash -s -- 20:00:49 20:00:49 _____ _ 20:00:49 / ____| | | 20:00:49 | | ___ __| | ___ ___ _____ __ 20:00:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:00:49 | |___| (_) | (_| | __/ (_| (_) \ V / 20:00:49 \_____\___/ \__,_|\___|\___\___/ \_/ 20:00:49 Bash-1.0.6 20:00:49 20:00:49 20:00:49 ==> git version 2.24.4 found 20:00:49 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:00:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:00:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:00:49 ==> Jenkins CI detected. 20:00:49 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:00:49 project root: . 20:00:49 --> token set from env 20:00:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:00:49 ==> Running gcov in . (disable via -X gcov) 20:00:49 ==> Python coveragepy not found 20:00:49 ==> Searching for coverage reports in: 20:00:49 + . 20:00:49 -> Found 1 reports 20:00:49 ==> Detecting git/mercurial file structure 20:00:49 ==> Reading reports 20:00:49 + ./coverage.out bytes=23727 20:00:49 ==> Appending adjustments 20:00:49 https://docs.codecov.io/docs/fixing-reports 20:00:49 + Found adjustments 20:00:49 ==> Gzipping contents 20:00:49 4.0K /tmp/codecov.WCS7bB.gz 20:00:49 ==> Uploading reports 20:00:49 url: https://codecov.io 20:00:49 query: branch=main&commit=9315c3ad457bec3bf35212cacbdaa65c808c53a1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:49 -> Pinging Codecov 20:00:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=9315c3ad457bec3bf35212cacbdaa65c808c53a1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:49 -> Uploading to 20:00:49 https://storage.googleapis.com/codecov/v4/raw/2021-08-17/55DBCA73C666E3227836607328DD7E49/9315c3ad457bec3bf35212cacbdaa65c808c53a1/e2c8c931-a148-44da-8375-953444b83a2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T200049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d796351262f586d030f886555699b64d58c8d1919967ecef176b831ddc5a0156 20:00:49 % Total % Received % Xferd Average Speed Time Time Time Current 20:00:49 Dload Upload Total Spent Left Speed 20:00:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3998 0 0 100 3998 0 9984 --:--:-- --:--:-- --:--:-- 9995 20:00:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] } 20:00:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:00:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:00:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:00:50 20:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:00:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:00:51 188c0c94c7c5: Pulling fs layer 20:00:51 0ef7d3d256c8: Pulling fs layer 20:00:51 de9db76c5a1d: Pulling fs layer 20:00:51 0eba1c9be4d2: Pulling fs layer 20:00:51 0d57e429df01: Pulling fs layer 20:00:51 4e4be7b47b0d: Pulling fs layer 20:00:51 e1f770b5df2f: Pulling fs layer 20:00:51 85a0685a4137: Pulling fs layer 20:00:51 0eba1c9be4d2: Waiting 20:00:51 0d57e429df01: Waiting 20:00:51 4e4be7b47b0d: Waiting 20:00:51 e1f770b5df2f: Waiting 20:00:51 85a0685a4137: Waiting 20:00:51 de9db76c5a1d: Verifying Checksum 20:00:51 de9db76c5a1d: Download complete 20:00:51 0ef7d3d256c8: Verifying Checksum 20:00:51 0ef7d3d256c8: Download complete 20:00:51 0d57e429df01: Verifying Checksum 20:00:51 0d57e429df01: Download complete 20:00:51 4e4be7b47b0d: Verifying Checksum 20:00:51 4e4be7b47b0d: Download complete 20:00:51 188c0c94c7c5: Verifying Checksum 20:00:51 188c0c94c7c5: Download complete 20:00:51 188c0c94c7c5: Pull complete 20:00:51 0ef7d3d256c8: Pull complete 20:00:51 de9db76c5a1d: Pull complete 20:00:52 e1f770b5df2f: Verifying Checksum 20:00:52 e1f770b5df2f: Download complete 20:00:57 0eba1c9be4d2: Verifying Checksum 20:00:57 0eba1c9be4d2: Download complete 20:00:57 85a0685a4137: Verifying Checksum 20:00:57 85a0685a4137: Download complete 20:01:00 0eba1c9be4d2: Pull complete 20:01:00 0d57e429df01: Pull complete 20:01:00 4e4be7b47b0d: Pull complete 20:01:00 e1f770b5df2f: Pull complete 20:01:03 85a0685a4137: Pull complete 20:01:03 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:01:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:01:03 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:01:06 $ docker top c6e0e91a3601446f3eee4664f90d155e2479fdb14b5d79772ff7724195fc83ea -eo pid,comm [Pipeline] { [Pipeline] echo 20:01:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:01:06 + set -o pipefail 20:01:06 + snyk monitor '--org=edgex-jenkins' 20:01:16 20:01:16 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:01:16 20:01:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/a72703c3-6224-4e3f-a20f-c6a80bf18853 20:01:16 20:01:16 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:01:16 20:01:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:01:16 20:01:16 20:01:16 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 20:01:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:01:16 $ docker stop --time=1 c6e0e91a3601446f3eee4664f90d155e2479fdb14b5d79772ff7724195fc83ea 20:01:18 $ docker rm -f c6e0e91a3601446f3eee4664f90d155e2479fdb14b5d79772ff7724195fc83ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:01:19 + git log --format=format:%s -1 9315c3ad457bec3bf35212cacbdaa65c808c53a1 [Pipeline] isUnix [Pipeline] sh 20:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:19 . [Pipeline] withDockerContainer 20:01:19 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:01:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:01:20 $ docker top 3daf3e4471d92652ede2c9794d0d3d8e364153f1f9faebc703f72f0038d0fdfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:20 [ssh-agent] Looking for ssh-agent implementation... 20:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:20 $ docker exec 3daf3e4471d92652ede2c9794d0d3d8e364153f1f9faebc703f72f0038d0fdfd ssh-agent 20:01:20 SSH_AUTH_SOCK=/tmp/ssh-nRTvHPmKVwh7/agent.14 20:01:20 SSH_AGENT_PID=21 20:01:20 Running ssh-add (command line suppressed) 20:01:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4155870124010566855.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4155870124010566855.key) 20:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:20 + git semver tag 20:01:20 # -> Open(): unable to determine branch for HEAD 20:01:20 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:01:20 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:01:20 # $SEMVER_REMOTE_NAME = origin 20:01:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:01:20 # $SEMVER_USER_NAME = edgex-jenkins 20:01:20 # $SEMVER_BRANCH = main 20:01:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:01:20 # 9315c3ad457bec3bf35212cacbdaa65c808c53a1 HEAD 20:01:20 # -> Force: false 20:01:20 # 016442358c62490bf3dd45ad365583f8bb6b96f7 refs/tags/v2.0.1-dev.5 [Pipeline] } 20:01:21 $ docker exec --env ******** --env ******** 3daf3e4471d92652ede2c9794d0d3d8e364153f1f9faebc703f72f0038d0fdfd ssh-agent -k 20:01:21 unset SSH_AUTH_SOCK; 20:01:21 unset SSH_AGENT_PID; 20:01:21 echo Agent pid 21 killed; 20:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:21 + git semver [Pipeline] } 20:01:21 $ docker stop --time=1 3daf3e4471d92652ede2c9794d0d3d8e364153f1f9faebc703f72f0038d0fdfd 20:01:22 $ docker rm -f 3daf3e4471d92652ede2c9794d0d3d8e364153f1f9faebc703f72f0038d0fdfd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:23 20:01:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:01:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:23 0.23.1-centos7: Pulling from edgex-lftools 20:01:23 ab5ef0e58194: Pulling fs layer 20:01:23 9712f1f96733: Pulling fs layer 20:01:23 63f879dbbcfc: Pulling fs layer 20:01:23 0d9ebad4ef96: Pulling fs layer 20:01:23 e9a5061849ea: Pulling fs layer 20:01:23 d747dcd14b5f: Pulling fs layer 20:01:23 2de7ff778b66: Pulling fs layer 20:01:23 0d9ebad4ef96: Waiting 20:01:23 e9a5061849ea: Waiting 20:01:23 d747dcd14b5f: Waiting 20:01:23 2de7ff778b66: Waiting 20:01:23 9712f1f96733: Verifying Checksum 20:01:23 9712f1f96733: Download complete 20:01:25 63f879dbbcfc: Verifying Checksum 20:01:25 63f879dbbcfc: Download complete 20:01:26 e9a5061849ea: Verifying Checksum 20:01:26 e9a5061849ea: Download complete 20:01:26 d747dcd14b5f: Verifying Checksum 20:01:26 d747dcd14b5f: Download complete 20:01:26 2de7ff778b66: Verifying Checksum 20:01:26 2de7ff778b66: Download complete 20:01:26 0d9ebad4ef96: Verifying Checksum 20:01:26 0d9ebad4ef96: Download complete 20:01:27 ab5ef0e58194: Verifying Checksum 20:01:27 ab5ef0e58194: Download complete 20:01:29 ab5ef0e58194: Pull complete 20:01:29 9712f1f96733: Pull complete 20:01:30 63f879dbbcfc: Pull complete 20:01:34 0d9ebad4ef96: Pull complete 20:01:34 e9a5061849ea: Pull complete 20:01:34 d747dcd14b5f: Pull complete 20:01:36 2de7ff778b66: Pull complete 20:01:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:01:36 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:01:39 $ docker top 1f64df3e967869c13393a7ce088b3e8fb35ba1e6180c0a651dc927a30bf74f28 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:01:39 provisioning config files... 20:01:39 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3922393894081564968tmp 20:01:39 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2439962736510014865tmp 20:01:39 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config341160371797419372tmp [Pipeline] { [Pipeline] echo 20:01:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:01:39 ---> sigul-configuration.sh 20:01:39 gpg: directory `/root/.gnupg' created 20:01:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:01:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:01:39 gpg: keyring `/root/.gnupg/secring.gpg' created 20:01:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:01:39 gpg: CAST5 encrypted data 20:01:39 gpg: encrypted with 1 passphrase 20:01:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:01:40 + mkdir /home/jenkins 20:01:40 + mkdir /home/jenkins/sigul [Pipeline] sh 20:01:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:01:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:01:40 ---> sigul-install.sh 20:01:40 Sigul already installed; skipping installation. [Pipeline] sh 20:01:41 + git tag --list 20:01:41 0.7.1 20:01:41 v1.0.0 20:01:41 v1.1.0 20:01:41 v1.1.1 20:01:41 v1.2.2 20:01:41 v1.3.0 20:01:41 v1.3.1 20:01:41 v2.0.0 20:01:41 v2.0.1-dev.1 20:01:41 v2.0.1-dev.2 20:01:41 v2.0.1-dev.3 20:01:41 v2.0.1-dev.4 20:01:41 v2.0.1-dev.5 [Pipeline] sh 20:01:41 + lftools sign git-tag v2.0.1-dev.5 20:01:42 Signing Git tag with Sigul... 20:01:42 Signing v2.0.1-dev.5 [Pipeline] echo 20:01:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:01:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:01:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:01:43 $ docker stop --time=1 1f64df3e967869c13393a7ce088b3e8fb35ba1e6180c0a651dc927a30bf74f28 20:01:44 $ docker rm -f 1f64df3e967869c13393a7ce088b3e8fb35ba1e6180c0a651dc927a30bf74f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:45 . [Pipeline] withDockerContainer 20:01:45 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:01:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:01:46 $ docker top ab3b316d146df666fb4da97cb59989effa61b5a2bf55f7ddad83f54c606e4791 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:46 [ssh-agent] Looking for ssh-agent implementation... 20:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:46 $ docker exec ab3b316d146df666fb4da97cb59989effa61b5a2bf55f7ddad83f54c606e4791 ssh-agent 20:01:46 SSH_AUTH_SOCK=/tmp/ssh-MD2ULWHutuLi/agent.14 20:01:46 SSH_AGENT_PID=20 20:01:46 Running ssh-add (command line suppressed) 20:01:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7892732737487452264.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7892732737487452264.key) 20:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:46 + git semver bump pre 20:01:46 # -> Open(): unable to determine branch for HEAD 20:01:46 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:01:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:01:46 # $SEMVER_REMOTE_NAME = origin 20:01:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:01:46 # $SEMVER_USER_NAME = edgex-jenkins 20:01:46 # $SEMVER_BRANCH = main 20:01:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:01:46 2.0.1-dev.6 [Pipeline] } 20:01:46 $ docker exec --env ******** --env ******** ab3b316d146df666fb4da97cb59989effa61b5a2bf55f7ddad83f54c606e4791 ssh-agent -k 20:01:47 unset SSH_AUTH_SOCK; 20:01:47 unset SSH_AGENT_PID; 20:01:47 echo Agent pid 20 killed; 20:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:47 + git semver [Pipeline] } 20:01:47 $ docker stop --time=1 ab3b316d146df666fb4da97cb59989effa61b5a2bf55f7ddad83f54c606e4791 20:01:48 $ docker rm -f ab3b316d146df666fb4da97cb59989effa61b5a2bf55f7ddad83f54c606e4791 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:49 . [Pipeline] withDockerContainer 20:01:49 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:01:50 $ docker top 69238a2c2573efb652fc66f5b7dec9907d06f1b044e643f8c0a7169be8925133 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:50 [ssh-agent] Looking for ssh-agent implementation... 20:01:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:50 $ docker exec 69238a2c2573efb652fc66f5b7dec9907d06f1b044e643f8c0a7169be8925133 ssh-agent 20:01:50 SSH_AUTH_SOCK=/tmp/ssh-jW332eMlOTA4/agent.14 20:01:50 SSH_AGENT_PID=20 20:01:50 Running ssh-add (command line suppressed) 20:01:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2747335461957885834.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2747335461957885834.key) 20:01:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:51 + git semver push 20:01:51 # -> Open(): unable to determine branch for HEAD 20:01:51 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:01:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:01:51 # $SEMVER_REMOTE_NAME = origin 20:01:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:01:51 # $SEMVER_USER_NAME = edgex-jenkins 20:01:51 # $SEMVER_BRANCH = main 20:01:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 20:01:52 $ docker exec --env ******** --env ******** 69238a2c2573efb652fc66f5b7dec9907d06f1b044e643f8c0a7169be8925133 ssh-agent -k 20:01:52 unset SSH_AUTH_SOCK; 20:01:52 unset SSH_AGENT_PID; 20:01:52 echo Agent pid 20 killed; 20:01:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:53 + git semver [Pipeline] } 20:01:53 $ docker stop --time=1 69238a2c2573efb652fc66f5b7dec9907d06f1b044e643f8c0a7169be8925133 20:01:54 $ docker rm -f 69238a2c2573efb652fc66f5b7dec9907d06f1b044e643f8c0a7169be8925133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:01:54 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:01:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:01:55 ---> package-listing.sh 20:01:55 ++ facter osfamily 20:01:55 ++ tr '[:upper:]' '[:lower:]' 20:01:56 + OS_FAMILY=redhat 20:01:56 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:01:56 + START_PACKAGES=/tmp/packages_start.txt 20:01:56 + END_PACKAGES=/tmp/packages_end.txt 20:01:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:01:56 + PACKAGES=/tmp/packages_start.txt 20:01:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:01:56 + PACKAGES=/tmp/packages_end.txt 20:01:56 + case "${OS_FAMILY}" in 20:01:56 + rpm -qa 20:01:56 + sort 20:01:56 + '[' -f /tmp/packages_start.txt ']' 20:01:56 + '[' -f /tmp/packages_end.txt ']' 20:01:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:01:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:01:56 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:01:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:01:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:01:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:01:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:01:57 20:01:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:01:58 latest: Pulling from edgex-lftools-log-publisher 20:01:58 b4d181a07f80: Pulling fs layer 20:01:58 a1111a8f2ec3: Pulling fs layer 20:01:58 ed53099fbce6: Pulling fs layer 20:01:58 dc539afda2c1: Pulling fs layer 20:01:58 77bc0d833cb6: Pulling fs layer 20:01:58 9065ff56babe: Pulling fs layer 20:01:58 d287ab97295c: Pulling fs layer 20:01:58 77bc0d833cb6: Waiting 20:01:58 9065ff56babe: Waiting 20:01:58 d287ab97295c: Waiting 20:01:58 dc539afda2c1: Waiting 20:01:58 a1111a8f2ec3: Verifying Checksum 20:01:58 a1111a8f2ec3: Download complete 20:01:58 dc539afda2c1: Download complete 20:01:59 77bc0d833cb6: Verifying Checksum 20:01:59 77bc0d833cb6: Download complete 20:01:59 9065ff56babe: Verifying Checksum 20:01:59 9065ff56babe: Download complete 20:01:59 ed53099fbce6: Verifying Checksum 20:01:59 ed53099fbce6: Download complete 20:02:01 b4d181a07f80: Verifying Checksum 20:02:01 b4d181a07f80: Download complete 20:02:02 b4d181a07f80: Pull complete 20:02:02 a1111a8f2ec3: Pull complete 20:02:03 ed53099fbce6: Pull complete 20:02:03 dc539afda2c1: Pull complete 20:02:03 77bc0d833cb6: Pull complete 20:02:03 9065ff56babe: Pull complete 20:02:05 d287ab97295c: Verifying Checksum 20:02:05 d287ab97295c: Download complete 20:02:11 d287ab97295c: Pull complete 20:02:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:02:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:02:11 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 20:02:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:02:14 $ docker top b9ee9ebf7f088e71d6388dad0978cf9d267bd15c08e81ef8b2a9a1de68f5af41 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:14 + touch /tmp/pre-build-complete [Pipeline] sh 20:02:15 + mkdir -p /var/log/sysstat [Pipeline] sh 20:02:15 + ls /var/log/sa-host 20:02:15 + sadf -c /var/log/sa-host/sa05 20:02:15 file_magic: OK 20:02:15 HZ: Using current value: 100 20:02:15 file_header: OK 20:02:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:02:15 Statistics: 20:02:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:02:15 File successfully converted to sysstat format version 12.0.3 20:02:15 + sadf -c /var/log/sa-host/sa17 20:02:15 file_magic: OK 20:02:15 HZ: Using current value: 100 20:02:15 file_header: OK 20:02:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:02:15 Statistics: 20:02:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:02:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:15 provisioning config files... 20:02:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3554837783232411750tmp [Pipeline] { [Pipeline] echo 20:02:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:02:15 ---> create-netrc.sh [Pipeline] } 20:02:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:02:16 ---> python-tools-install.sh [Pipeline] echo 20:02:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:02:16 ---> sudo-logs.sh 20:02:16 Archiving 'sudo' log.. 20:02:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-3173.vexxhost.local: Name or service not known 20:02:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-3173.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:02:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:02:16 ---> job-cost.sh 20:02:16 lf-activate-venv: SKIPPING 20:02:16 DEBUG: total: 0.18000000715255737 20:02:16 INFO: Retrieving Stack Cost... 20:02:17 INFO: Retrieving Pricing Info for: v3-standard-2 20:02:18 INFO: Archiving Costs [Pipeline] echo 20:02:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:02:18 ---> logs-deploy.sh 20:02:18 lf-activate-venv: SKIPPING 20:02:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/6 20:02:18 INFO: archiving workspace using pattern(s): 20:02:19 Archives upload complete. 20:02:19 INFO: archiving logs to Nexus 20:02:19 ---> uname -a: 20:02:19 Linux prd-centos7-docker-4c-2g-3173.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 20:02:19 20:02:19 20:02:19 ---> lscpu: 20:02:19 Architecture: x86_64 20:02:19 CPU op-mode(s): 32-bit, 64-bit 20:02:19 Byte Order: Little Endian 20:02:19 Address sizes: 40 bits physical, 48 bits virtual 20:02:19 CPU(s): 2 20:02:19 On-line CPU(s) list: 0,1 20:02:19 Thread(s) per core: 1 20:02:19 Core(s) per socket: 1 20:02:19 Socket(s): 2 20:02:19 NUMA node(s): 1 20:02:19 Vendor ID: AuthenticAMD 20:02:19 CPU family: 23 20:02:19 Model: 49 20:02:19 Model name: AMD EPYC-Rome Processor 20:02:19 Stepping: 0 20:02:19 CPU MHz: 2799.998 20:02:19 BogoMIPS: 5599.99 20:02:19 Virtualization: AMD-V 20:02:19 Hypervisor vendor: KVM 20:02:19 Virtualization type: full 20:02:19 L1d cache: 32K 20:02:19 L1i cache: 32K 20:02:19 L2 cache: 512K 20:02:19 L3 cache: 16384K 20:02:19 NUMA node0 CPU(s): 0,1 20:02:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 20:02:19 20:02:19 20:02:19 ---> nproc: 20:02:19 2 20:02:19 20:02:19 20:02:19 ---> df -h: 20:02:19 Filesystem Size Used Avail Use% Mounted on 20:02:19 overlay 40G 9.0G 32G 23% / 20:02:19 tmpfs 64M 0 64M 0% /dev 20:02:19 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:02:19 shm 64M 0 64M 0% /dev/shm 20:02:19 /dev/vda1 40G 9.0G 32G 23% /facter-os 20:02:19 20:02:19 20:02:19 ---> sar -b -r -n DEV: 20:02:19 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:02:19 20:02:19 19:51:46 LINUX RESTART (2 CPU) 20:02:19 20:02:19 19:52:01 tps rtps wtps bread/s bwrtn/s 20:02:19 19:53:01 228.72 92.81 135.91 10610.99 39675.29 20:02:19 19:54:01 0.75 0.02 0.73 0.53 16.17 20:02:19 19:55:01 0.17 0.00 0.17 0.00 2.43 20:02:19 19:56:01 0.32 0.00 0.32 0.00 5.31 20:02:19 19:57:01 0.15 0.00 0.15 0.00 2.55 20:02:19 19:58:01 0.32 0.00 0.32 0.00 4.63 20:02:19 19:59:01 0.23 0.00 0.23 0.00 3.12 20:02:19 20:00:01 0.18 0.00 0.18 0.00 2.17 20:02:19 20:01:01 7.96 0.03 7.93 3.73 462.98 20:02:19 20:02:01 189.23 0.22 189.02 11.85 53749.26 20:02:19 Average: 42.83 9.31 33.51 1063.03 9397.88 20:02:19 20:02:19 19:52:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:02:19 19:53:01 5467612 0 805652 10.06 2620 1733056 1304100 14.40 573636 1568684 132 20:02:19 19:54:01 5465964 0 807296 10.08 2620 1733060 1304140 14.40 575436 1568644 20 20:02:19 19:55:01 5475800 0 797456 9.96 2620 1733064 1240568 13.70 564784 1570476 8 20:02:19 19:56:01 5474232 0 799016 9.98 2620 1733072 1240684 13.70 566672 1570476 20 20:02:19 19:57:01 5474368 0 798876 9.97 2620 1733076 1240736 13.70 563248 1574036 16 20:02:19 19:58:01 5477640 0 795600 9.93 2620 1733080 1215000 13.41 560480 1574036 16 20:02:19 19:59:01 5476380 0 796856 9.95 2620 1733084 1206956 13.33 561812 1574036 8 20:02:19 20:00:01 5473944 0 799284 9.98 2620 1733092 1206992 13.33 564400 1574040 8 20:02:19 20:01:01 4689652 0 962936 12.02 2620 2353732 1609344 17.77 755620 2096876 619728 20:02:19 20:02:01 3568224 0 1243464 15.53 2620 3194632 1754840 19.37 1127588 2687064 139216 20:02:19 Average: 5204382 0 860644 10.75 2620 1941295 1332336 14.71 641368 1735837 75917 20:02:19 20:02:19 19:52:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:02:19 19:53:01 eth0 347.37 228.52 989.23 71.34 0.00 0.00 0.00 0.00 20:02:19 19:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:53:01 docker0 2.83 2.36 0.49 5.71 0.00 0.00 0.00 0.00 20:02:19 19:54:01 eth0 4.00 1.35 3.13 0.28 0.00 0.00 0.00 0.00 20:02:19 19:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:55:01 eth0 2.53 0.58 0.68 0.39 0.00 0.00 0.00 0.00 20:02:19 19:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:56:01 eth0 3.68 0.93 1.26 0.77 0.00 0.00 0.00 0.00 20:02:19 19:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:57:01 eth0 1.95 0.87 0.85 0.56 0.00 0.00 0.00 0.00 20:02:19 19:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:58:01 eth0 1.12 0.23 0.21 0.11 0.00 0.00 0.00 0.00 20:02:19 19:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:59:01 eth0 0.73 0.43 0.29 0.21 0.00 0.00 0.00 0.00 20:02:19 19:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 19:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:00:01 eth0 0.60 0.40 0.28 0.21 0.00 0.00 0.00 0.00 20:02:19 20:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:01:01 eth0 591.64 398.77 4086.02 30.94 0.00 0.00 0.00 0.00 20:02:19 20:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:02:01 eth0 914.36 621.57 4926.24 153.11 0.00 0.00 0.00 0.00 20:02:19 20:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 20:02:01 docker0 79.20 100.98 6.44 387.98 0.00 0.00 0.00 0.00 20:02:19 Average: eth0 186.89 125.43 1001.29 25.81 0.00 0.00 0.00 0.00 20:02:19 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:02:19 Average: docker0 8.21 10.34 0.69 39.40 0.00 0.00 0.00 0.00 20:02:19 20:02:19 20:02:19 ---> sar -P ALL: 20:02:19 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:02:19 20:02:19 19:51:46 LINUX RESTART (2 CPU) 20:02:19 20:02:19 19:52:01 CPU %user %nice %system %iowait %steal %idle 20:02:19 19:53:01 all 20.38 0.00 7.54 5.63 0.06 66.40 20:02:19 19:53:01 0 19.56 0.00 8.24 5.47 0.07 66.66 20:02:19 19:53:01 1 21.19 0.00 6.84 5.78 0.05 66.14 20:02:19 19:54:01 all 0.23 0.00 0.08 0.00 0.02 99.67 20:02:19 19:54:01 0 0.10 0.00 0.07 0.00 0.02 99.82 20:02:19 19:54:01 1 0.35 0.00 0.10 0.00 0.02 99.53 20:02:19 19:55:01 all 0.25 0.00 0.05 0.00 0.02 99.68 20:02:19 19:55:01 0 0.08 0.00 0.05 0.00 0.02 99.85 20:02:19 19:55:01 1 0.42 0.00 0.05 0.00 0.02 99.52 20:02:19 19:56:01 all 0.26 0.00 0.04 0.00 0.01 99.69 20:02:19 19:56:01 0 0.05 0.00 0.03 0.00 0.00 99.92 20:02:19 19:56:01 1 0.47 0.00 0.05 0.00 0.02 99.47 20:02:19 19:57:01 all 0.24 0.00 0.03 0.00 0.02 99.71 20:02:19 19:57:01 0 0.07 0.00 0.03 0.00 0.02 99.88 20:02:19 19:57:01 1 0.42 0.00 0.03 0.00 0.02 99.53 20:02:19 19:58:01 all 0.14 0.00 0.05 0.00 0.02 99.79 20:02:19 19:58:01 0 0.02 0.00 0.05 0.00 0.02 99.92 20:02:19 19:58:01 1 0.27 0.00 0.05 0.00 0.02 99.67 20:02:19 19:59:01 all 0.08 0.00 0.03 0.00 0.01 99.88 20:02:19 19:59:01 0 0.05 0.00 0.03 0.00 0.00 99.92 20:02:19 19:59:01 1 0.10 0.00 0.03 0.00 0.02 99.85 20:02:19 20:00:01 all 0.12 0.00 0.04 0.00 0.04 99.80 20:02:19 20:00:01 0 0.20 0.00 0.03 0.00 0.07 99.70 20:02:19 20:00:01 1 0.03 0.00 0.05 0.00 0.02 99.90 20:02:19 20:01:01 all 6.13 0.00 2.49 0.03 0.03 91.33 20:02:19 20:01:01 0 6.19 0.00 2.69 0.02 0.03 91.07 20:02:19 20:01:01 1 6.06 0.00 2.29 0.03 0.03 91.58 20:02:19 20:02:01 all 20.87 0.00 10.74 2.13 0.08 66.18 20:02:19 20:02:01 0 20.40 0.00 10.96 2.64 0.09 65.91 20:02:19 20:02:01 1 21.34 0.00 10.51 1.63 0.07 66.45 20:02:19 Average: all 4.71 0.00 2.04 0.75 0.03 92.47 20:02:19 Average: 0 4.51 0.00 2.14 0.79 0.03 92.53 20:02:19 Average: 1 4.91 0.00 1.94 0.72 0.03 92.40 20:02:19 20:02:19 20:02:19