Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f1f12442b5a26a09c65592d000175cd200ff215 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1088483665117060653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3365324820120246773.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 9d0281235b943b7ad605f650702698f9078b2862 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6038408801064181063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh414940170047005128.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3012472841182809653.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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_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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-422 in /w/workspace/xfoundry_device-modbus-go_master [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 0f1f12442b5a26a09c65592d000175cd200ff215 (master) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh1641526554550262304.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 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 Commit message: "Merge pull request #237 from lenny-intel/secure-bus" > git rev-list --no-walk 13088d9dec4550f0cc4856225025b51f703f2058 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:59 ========================================================= 18:41:59 EdgeX Global Pipelines Version Info 18:41:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:00 ------------------- 18:42:00 stable info: 18:42:00 ------------------- 18:42:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:42:00 Message: update stable to v1.0.192 18:42:01 ------------------- 18:42:01 experimental info: 18:42:01 ------------------- 18:42:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:01 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:42:01 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 18:42:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 18:42:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f1f124 [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:02 provisioning config files... 18:42:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8806482693183002395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:03 ---> docker-login.sh 18:42:03 nexus3.edgexfoundry.org:10001 18:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:03 Configure a credential helper to remove this warning. See 18:42:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:03 18:42:03 Login Succeeded 18:42:03 nexus3.edgexfoundry.org:10002 18:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:03 Configure a credential helper to remove this warning. See 18:42:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:03 18:42:03 Login Succeeded 18:42:03 nexus3.edgexfoundry.org:10003 18:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:03 Configure a credential helper to remove this warning. See 18:42:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:03 18:42:03 Login Succeeded 18:42:03 nexus3.edgexfoundry.org:10004 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 docker.io 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 ---> docker-login.sh ends [Pipeline] } 18:42:04 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 18:42:05 + git log --format=format:%s -1 0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] echo 18:42:05 GIT_COMMIT: 0f1f12442b5a26a09c65592d000175cd200ff215, Commit Message: Merge pull request #237 from lenny-intel/secure-bus [Pipeline] echo 18:42:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:06 18:42:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:06 latest: Pulling from edgex-devops/git-semver 18:42:06 31603596830f: Pulling fs layer 18:42:06 54011a49482f: Pulling fs layer 18:42:06 a6820b24f6d8: Pulling fs layer 18:42:06 f581987b2513: Pulling fs layer 18:42:06 f581987b2513: Waiting 18:42:06 54011a49482f: Verifying Checksum 18:42:06 54011a49482f: Download complete 18:42:06 31603596830f: Verifying Checksum 18:42:06 31603596830f: Download complete 18:42:06 f581987b2513: Verifying Checksum 18:42:06 f581987b2513: Download complete 18:42:06 a6820b24f6d8: Verifying Checksum 18:42:06 a6820b24f6d8: Download complete 18:42:06 31603596830f: Pull complete 18:42:06 54011a49482f: Pull complete 18:42:07 a6820b24f6d8: Pull complete 18:42:07 f581987b2513: Pull complete 18:42:08 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:42:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:08 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:10 $ docker top 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:10 [ssh-agent] Looking for ssh-agent implementation... 18:42:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:10 $ docker exec 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e ssh-agent 18:42:11 SSH_AUTH_SOCK=/tmp/ssh-cL9LwtGMOGcn/agent.11 18:42:11 SSH_AGENT_PID=17 18:42:11 Running ssh-add (command line suppressed) 18:42:11 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3184702311420941364.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3184702311420941364.key) 18:42:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:11 + git tag --points-at HEAD [Pipeline] } 18:42:11 $ docker exec --env ******** --env ******** 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e ssh-agent -k 18:42:11 unset SSH_AUTH_SOCK; 18:42:11 unset SSH_AGENT_PID; 18:42:11 echo Agent pid 17 killed; 18:42:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:11 [ssh-agent] Looking for ssh-agent implementation... 18:42:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:11 $ docker exec 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e ssh-agent 18:42:12 SSH_AUTH_SOCK=/tmp/ssh-GNITtAa2L33T/agent.46 18:42:12 SSH_AGENT_PID=51 18:42:12 Running ssh-add (command line suppressed) 18:42:12 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8646160633725425780.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8646160633725425780.key) 18:42:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:12 + git semver init 18:42:12 # -> Open(): unable to determine branch for HEAD 18:42:12 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:42:12 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:42:12 # $SEMVER_REMOTE_NAME = origin 18:42:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:12 # $SEMVER_USER_NAME = edgex-jenkins 18:42:12 # $SEMVER_BRANCH = master 18:42:12 # $SEMVER_TEMP = /tmp/semver-761323892 18:42:12 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 18:42:12 # '/tmp/semver-761323892' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 18:42:12 # -> Force: false 18:42:12 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 18:42:12 $ docker exec --env ******** --env ******** 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e ssh-agent -k 18:42:13 unset SSH_AUTH_SOCK; 18:42:13 unset SSH_AGENT_PID; 18:42:13 echo Agent pid 51 killed; 18:42:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:13 + git semver [Pipeline] } 18:42:13 $ docker stop --time=1 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e 18:42:14 $ docker rm -f 8d27d3fbffa3454469f548356d72e011584f43f5f86d9518b9ec2cc2e106b19e [Pipeline] // withDockerContainer [Pipeline] sh 18:42:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:15 Stashed 1 file(s) [Pipeline] echo 18:42:15 [edgeXSemver]: initialized semver on version 1.3.2-dev.9 [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 18:42:30 Still waiting to schedule task 18:42:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:42:30 Still waiting to schedule task 18:42:30 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-423 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 18:44:14 Running in /w/workspace/device-modbus-go/48 [Pipeline] { [Pipeline] checkout 18:44:14 Selected Git installation does not exist. Using Default 18:44:14 The recommended git tool is: NONE 18:44:20 using credential edgex-jenkins-ssh 18:44:20 Cloning the remote Git repository 18:44:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:44:20 > git init /w/workspace/device-modbus-go/48 # timeout=10 18:44:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:44:20 > git --version # timeout=10 18:44:20 > git --version # 'git version 2.17.1' 18:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:21 Avoid second fetch 18:44:21 Checking out Revision 0f1f12442b5a26a09c65592d000175cd200ff215 (master) 18:44:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:44:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:21 > git config core.sparsecheckout # timeout=10 18:44:21 > git checkout -f 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 18:44:25 Commit message: "Merge pull request #237 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:44:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:44:27 + sudo service docker restart 18:44:27 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:30 provisioning config files... 18:44:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config6379729394447036253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:30 ---> docker-login.sh 18:44:30 nexus3.edgexfoundry.org:10001 18:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:32 Configure a credential helper to remove this warning. See 18:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:32 18:44:32 Login Succeeded 18:44:32 nexus3.edgexfoundry.org:10002 18:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:32 Configure a credential helper to remove this warning. See 18:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:32 18:44:32 Login Succeeded 18:44:32 nexus3.edgexfoundry.org:10003 18:44:32 Running on prd-centos7-docker-4c-2g-426 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 18:44:32 Running in /w/workspace/device-modbus-go/48 [Pipeline] { [Pipeline] checkout 18:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:32 Configure a credential helper to remove this warning. See 18:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:32 18:44:32 Login Succeeded 18:44:32 nexus3.edgexfoundry.org:10004 18:44:32 Selected Git installation does not exist. Using Default 18:44:32 The recommended git tool is: NONE 18:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:33 Configure a credential helper to remove this warning. See 18:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:33 18:44:33 Login Succeeded 18:44:33 docker.io 18:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:34 Configure a credential helper to remove this warning. See 18:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:34 18:44:34 Login Succeeded 18:44:34 ---> docker-login.sh ends [Pipeline] } 18:44:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:34 ========================================================= 18:44:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:44:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 18:44:35 using credential edgex-jenkins-ssh 18:44:35 Sending build context to Docker daemon 600.1kB 18:44:35 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:44:35 Step 2/8 : FROM ${BASE} 18:44:35 Cloning the remote Git repository 18:44:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:35 595b0fe564bb: Pulling fs layer 18:44:35 7186ed65a4f7: Pulling fs layer 18:44:35 316046926c0a: Pulling fs layer 18:44:35 4ebd0625c992: Pulling fs layer 18:44:35 207e8628e3a3: Pulling fs layer 18:44:35 c791037a9be2: Pulling fs layer 18:44:35 ffd874e62e21: Pulling fs layer 18:44:35 4ebd0625c992: Waiting 18:44:35 207e8628e3a3: Waiting 18:44:35 c791037a9be2: Waiting 18:44:35 ffd874e62e21: Waiting 18:44:35 316046926c0a: Verifying Checksum 18:44:35 316046926c0a: Download complete 18:44:35 7186ed65a4f7: Download complete 18:44:35 207e8628e3a3: Verifying Checksum 18:44:35 207e8628e3a3: Download complete 18:44:35 c791037a9be2: Verifying Checksum 18:44:35 c791037a9be2: Download complete 18:44:35 595b0fe564bb: Verifying Checksum 18:44:35 595b0fe564bb: Download complete 18:44:36 Avoid second fetch 18:44:36 Checking out Revision 0f1f12442b5a26a09c65592d000175cd200ff215 (master) 18:44:35 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:44:35 > git init /w/workspace/device-modbus-go/48 # timeout=10 18:44:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:44:35 > git --version # timeout=10 18:44:35 > git --version # 'git version 2.24.3' 18:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:35 [INFO] Currently running in a labeled security context 18:44:35 [INFO] Currently SELinux is 'enforcing' on the host 18:44:35 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/48@tmp/jenkins-gitclient-ssh7795411248386186008.key 18:44:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:44:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:35 > git config core.sparsecheckout # timeout=10 18:44:35 > git checkout -f 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 18:44:36 595b0fe564bb: Pull complete 18:44:36 7186ed65a4f7: Pull complete 18:44:37 316046926c0a: Pull complete 18:44:38 ffd874e62e21: Download complete 18:44:39 4ebd0625c992: Verifying Checksum 18:44:39 4ebd0625c992: Download complete 18:44:39 Commit message: "Merge pull request #237 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:40 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:44:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:44:41 + sudo service docker restart 18:44:41 + true 18:44:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:42 provisioning config files... 18:44:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config5348457661530902167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:42 ---> docker-login.sh 18:44:42 nexus3.edgexfoundry.org:10001 18:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:42 Configure a credential helper to remove this warning. See 18:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:42 18:44:42 Login Succeeded 18:44:42 nexus3.edgexfoundry.org:10002 18:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:43 Configure a credential helper to remove this warning. See 18:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:43 18:44:43 Login Succeeded 18:44:43 nexus3.edgexfoundry.org:10003 18:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:43 Configure a credential helper to remove this warning. See 18:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:43 18:44:43 Login Succeeded 18:44:43 nexus3.edgexfoundry.org:10004 18:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:43 Configure a credential helper to remove this warning. See 18:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:43 18:44:43 Login Succeeded 18:44:43 docker.io 18:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:43 Configure a credential helper to remove this warning. See 18:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:43 18:44:43 Login Succeeded 18:44:43 ---> docker-login.sh ends [Pipeline] } 18:44:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:44 ========================================================= 18:44:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:44:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:44 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 18:44:44 Sending build context to Docker daemon 601.1kB 18:44:44 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:44:44 Step 2/8 : FROM ${BASE} 18:44:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:44 540db60ca938: Pulling fs layer 18:44:44 adcc1eea9eea: Pulling fs layer 18:44:44 4c4ab2625f07: Pulling fs layer 18:44:44 0510c868ecb4: Pulling fs layer 18:44:44 afea3b2eda06: Pulling fs layer 18:44:44 7809a108b3ef: Pulling fs layer 18:44:44 f706445af74f: Pulling fs layer 18:44:44 afea3b2eda06: Waiting 18:44:44 7809a108b3ef: Waiting 18:44:44 f706445af74f: Waiting 18:44:44 0510c868ecb4: Waiting 18:44:44 4c4ab2625f07: Download complete 18:44:44 adcc1eea9eea: Download complete 18:44:44 afea3b2eda06: Verifying Checksum 18:44:44 afea3b2eda06: Download complete 18:44:44 540db60ca938: Verifying Checksum 18:44:44 540db60ca938: Download complete 18:44:44 7809a108b3ef: Download complete 18:44:45 540db60ca938: Pull complete 18:44:45 adcc1eea9eea: Pull complete 18:44:45 4c4ab2625f07: Pull complete 18:44:46 f706445af74f: Verifying Checksum 18:44:46 f706445af74f: Download complete 18:44:46 0510c868ecb4: Verifying Checksum 18:44:46 0510c868ecb4: Download complete 18:44:51 4ebd0625c992: Pull complete 18:44:51 207e8628e3a3: Pull complete 18:44:51 c791037a9be2: Pull complete 18:44:52 0510c868ecb4: Pull complete 18:44:52 afea3b2eda06: Pull complete 18:44:52 7809a108b3ef: Pull complete 18:44:53 ffd874e62e21: Pull complete 18:44:53 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:44:53 ---> cfc18b08335c 18:44:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:44:56 ---> Running in 87981867f549 18:44:56 Removing intermediate container 87981867f549 18:44:56 ---> f592cd3f7e70 18:44:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:56 ---> Running in c95944ab6062 18:44:58 Removing intermediate container c95944ab6062 18:44:58 ---> 421487bfe846 18:44:58 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:44:59 ---> Running in af191aa579a0 18:45:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:45:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:45:01 (1/13) Installing libc-dev (0.7.2-r3) 18:45:01 (2/13) Installing libsodium (1.0.18-r0) 18:45:01 (3/13) Installing pkgconf (1.7.3-r0) 18:45:01 (4/13) Installing libsodium-dev (1.0.18-r0) 18:45:02 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:45:02 (6/13) Installing libedit (20191231.3.1-r1) 18:45:02 (7/13) Installing openssh-client (8.4_p1-r3) 18:45:02 f706445af74f: Pull complete 18:45:02 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:45:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:45:02 ---> b068be0155e3 18:45:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:45:02 ---> Running in 451a61360774 18:45:02 Removing intermediate container 451a61360774 18:45:02 ---> 507de8769da9 18:45:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:02 ---> Running in 9ce433cd8bba 18:45:02 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:45:02 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:45:02 Removing intermediate container 9ce433cd8bba 18:45:02 ---> a63a4b4276c8 18:45:02 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:45:03 (10/13) Installing openssh-server (8.4_p1-r3) 18:45:03 (11/13) Installing openssh (8.4_p1-r3) 18:45:03 ---> Running in 03f7c5cc1b3b 18:45:03 (12/13) Installing libzmq (4.3.3-r1) 18:45:03 (13/13) Installing zeromq-dev (4.3.3-r1) 18:45:03 Executing busybox-1.32.1-r6.trigger 18:45:03 OK: 145 MiB in 53 packages 18:45:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:45:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:45:04 Removing intermediate container af191aa579a0 18:45:04 ---> 4ada6cb70221 18:45:04 Step 6/8 : WORKDIR /device-modbus-go 18:45:05 ---> Running in 3400a175dd72 18:45:05 (1/13) Installing libc-dev (0.7.2-r3) 18:45:05 (2/13) Installing libsodium (1.0.18-r0) 18:45:05 (3/13) Installing pkgconf (1.7.3-r0) 18:45:05 (4/13) Installing libsodium-dev (1.0.18-r0) 18:45:05 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:45:05 (6/13) Installing libedit (20191231.3.1-r1) 18:45:05 Removing intermediate container 3400a175dd72 18:45:05 ---> 539dde883a82 18:45:05 Step 7/8 : COPY . . 18:45:05 (7/13) Installing openssh-client (8.4_p1-r3) 18:45:05 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:45:05 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:45:05 (10/13) Installing openssh-server (8.4_p1-r3) 18:45:06 (11/13) Installing openssh (8.4_p1-r3) 18:45:06 (12/13) Installing libzmq (4.3.3-r1) 18:45:06 (13/13) Installing zeromq-dev (4.3.3-r1) 18:45:06 Executing busybox-1.32.1-r6.trigger 18:45:06 OK: 156 MiB in 53 packages 18:45:06 ---> 35c0bdffeadb 18:45:06 Step 8/8 : RUN go mod download 18:45:06 ---> Running in 4e9bc5faa7ba 18:45:07 Removing intermediate container 03f7c5cc1b3b 18:45:07 ---> 38ae077bc2a5 18:45:07 Step 6/8 : WORKDIR /device-modbus-go 18:45:07 ---> Running in 78dd032ac119 18:45:07 Removing intermediate container 78dd032ac119 18:45:07 ---> fa1456d3343d 18:45:07 Step 7/8 : COPY . . 18:45:08 ---> 07d2656ee889 18:45:08 Step 8/8 : RUN go mod download 18:45:08 ---> Running in 7a24adbd8f1c 18:45:30 Removing intermediate container 7a24adbd8f1c 18:45:30 ---> 7b02df2c1419 18:45:30 Successfully built 7b02df2c1419 18:45:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:45:31 + docker inspect -f . ci-base-image-x86_64 18:45:31 . [Pipeline] withDockerContainer 18:45:31 prd-centos7-docker-4c-2g-426 does not seem to be running inside a container 18:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 ******** ci-base-image-x86_64 cat 18:45:32 $ docker top 8302fdfc2a26ffa6acc9e2ed40bbf21b98d8fadeb3feccf4776fd6a56c1c2e39 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:32 + go version 18:45:32 go version go1.16.3 linux/amd64 [Pipeline] } 18:45:32 $ docker stop --time=1 8302fdfc2a26ffa6acc9e2ed40bbf21b98d8fadeb3feccf4776fd6a56c1c2e39 18:45:33 Removing intermediate container 4e9bc5faa7ba 18:45:33 ---> 9c252ad726f4 18:45:33 Successfully built 9c252ad726f4 18:45:33 Successfully tagged ci-base-image-arm64:latest 18:45:33 $ docker rm -f 8302fdfc2a26ffa6acc9e2ed40bbf21b98d8fadeb3feccf4776fd6a56c1c2e39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:34 + docker inspect -f . ci-base-image-arm64 18:45:34 . [Pipeline] withDockerContainer 18:45:34 + docker inspect -f . ci-base-image-x86_64 18:45:34 . 18:45:34 prd-ubuntu18.04-docker-arm64-4c-16g-423 does not seem to be running inside a container 18:45:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 ******** ci-base-image-arm64 cat 18:45:36 $ docker top dd236bcb07e992047943eecf7776d6407e1ddb678fbc87b5c74950b667426d48 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 18:45:37 prd-centos7-docker-4c-2g-426 does not seem to be running inside a container 18:45:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 ******** ci-base-image-x86_64 cat 18:45:37 $ docker top 505af234efd515216e2a94c00748fe5c679e15776905250b46730fb0d597db78 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 18:45:38 + go mod tidy [Pipeline] sh 18:45:38 + go version 18:45:38 go version go1.16.3 linux/arm64 [Pipeline] } 18:45:38 $ docker stop --time=1 dd236bcb07e992047943eecf7776d6407e1ddb678fbc87b5c74950b667426d48 18:45:38 + make test 18:45:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:45:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:45:40 $ docker rm -f dd236bcb07e992047943eecf7776d6407e1ddb678fbc87b5c74950b667426d48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:41 + docker inspect -f . ci-base-image-arm64 18:45:41 . [Pipeline] withDockerContainer 18:45:41 prd-ubuntu18.04-docker-arm64-4c-16g-423 does not seem to be running inside a container 18:45:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 ******** ci-base-image-arm64 cat 18:45:42 $ docker top ff23d04ce83aeb30a88067ef104c9fe08a4c8bfe5d94a990a844f0e88a6dac02 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:43 + go mod tidy [Pipeline] sh 18:45:45 + make test 18:45:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:45:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:45:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:45:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 18:45:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:46:06 gofmt -l . 18:46:06 [ "`gofmt -l .`" = "" ] 18:46:06 ./bin/test-attribution-txt.sh 18:46:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:46:07 $ docker stop --time=1 505af234efd515216e2a94c00748fe5c679e15776905250b46730fb0d597db78 18:46:08 $ docker rm -f 505af234efd515216e2a94c00748fe5c679e15776905250b46730fb0d597db78 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:12 + ls -al . 18:46:12 total 112 18:46:12 drwxrwxr-x. 9 jenkins jenkins 4096 May 17 18:46 . 18:46:12 drwxrwxr-x. 4 jenkins jenkins 30 May 17 18:44 .. 18:46:12 -rw-rw-r--. 1 jenkins jenkins 7707 May 17 18:44 Attribution.txt 18:46:12 drwxrwxr-x. 2 jenkins jenkins 87 May 17 18:44 bin 18:46:12 drwxrwxr-x. 3 jenkins jenkins 32 May 17 18:44 cmd 18:46:12 -rw-r--r--. 1 jenkins jenkins 22385 May 17 18:45 coverage.out 18:46:12 -rw-rw-r--. 1 jenkins jenkins 1457 May 17 18:44 Dockerfile 18:46:12 -rw-rw-r--. 1 jenkins jenkins 995 May 17 18:44 Dockerfile.build 18:46:12 -rw-rw-r--. 1 jenkins jenkins 140 May 17 18:44 .dockerignore 18:46:12 drwxrwxr-x. 8 jenkins jenkins 162 May 17 18:44 .git 18:46:12 drwxrwxr-x. 2 jenkins jenkins 103 May 17 18:44 .github 18:46:12 -rw-rw-r--. 1 jenkins jenkins 338 May 17 18:44 .gitignore 18:46:12 -rw-r--r--. 1 jenkins jenkins 413 May 17 18:46 go.mod 18:46:12 -rw-r--r--. 1 jenkins jenkins 21439 May 17 18:45 go.sum 18:46:12 drwxrwxr-x. 3 jenkins jenkins 20 May 17 18:44 internal 18:46:12 -rw-rw-r--. 1 jenkins jenkins 679 May 17 18:44 Jenkinsfile 18:46:12 -rw-rw-r--. 1 jenkins jenkins 11340 May 17 18:44 LICENSE 18:46:12 -rw-rw-r--. 1 jenkins jenkins 901 May 17 18:44 Makefile 18:46:12 -rw-rw-r--. 1 jenkins jenkins 2897 May 17 18:44 README.md 18:46:12 drwxrwxr-x. 2 jenkins jenkins 52 May 17 18:44 simulator 18:46:12 drwxrwxr-x. 4 jenkins jenkins 71 May 17 18:44 snap 18:46:12 -rw-rw-r--. 1 jenkins jenkins 11 May 17 18:42 VERSION 18:46:12 -rw-rw-r--. 1 jenkins jenkins 229 May 17 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:46:13 + 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=0f1f12442b5a26a09c65592d000175cd200ff215 --label arch=amd64 --label version=1.3.2-dev.9 . 18:46:13 Sending build context to Docker daemon 624.1kB 18:46:13 Step 1/21 : ARG BASE=golang:1.16-alpine3.12 18:46:13 Step 2/21 : FROM ${BASE} AS builder 18:46:13 ---> 7b02df2c1419 18:46:13 Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:13 ---> Running in 2293728a8755 18:46:14 Removing intermediate container 2293728a8755 18:46:14 ---> e13cd81a84cf 18:46:14 Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:46:14 ---> Running in f428e24f9d55 18:46:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:46:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:46:16 OK: 156 MiB in 53 packages 18:46:16 Removing intermediate container f428e24f9d55 18:46:16 ---> 4dbb5b0cc3b7 18:46:16 Step 5/21 : WORKDIR /device-modbus-go 18:46:16 ---> Running in 040d41d8d9a0 18:46:16 Removing intermediate container 040d41d8d9a0 18:46:16 ---> 0872e182cf5f 18:46:16 Step 6/21 : COPY . . 18:46:17 ---> bbe9333b835e 18:46:17 Step 7/21 : RUN go mod download 18:46:17 ---> Running in bc701f58101c 18:46:18 Removing intermediate container bc701f58101c 18:46:18 ---> 3de8e62c874b 18:46:18 Step 8/21 : RUN make build 18:46:18 ---> Running in 2c66f36aa84a 18:46:18 go mod tidy 18:46:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.9" -o cmd/device-modbus ./cmd 18:46:34 Removing intermediate container 2c66f36aa84a 18:46:34 ---> ba016ac820a1 18:46:34 Step 9/21 : FROM alpine:3.12 18:46:34 3.12: Pulling from library/alpine 18:46:34 339de151aab4: Pulling fs layer 18:46:34 339de151aab4: Verifying Checksum 18:46:34 339de151aab4: Download complete 18:46:34 339de151aab4: Pull complete 18:46:34 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:46:34 Status: Downloaded newer image for alpine:3.12 18:46:34 ---> 13621d1b12d4 18:46:34 Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:46:34 ---> Running in a1fdb78a2722 18:46:34 Removing intermediate container a1fdb78a2722 18:46:34 ---> 3d1ec3d1af6a 18:46:34 Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:34 ---> Running in 86fcc7d2e441 18:46:34 Removing intermediate container 86fcc7d2e441 18:46:34 ---> e919b3c7e659 18:46:34 Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init 18:46:34 ---> Running in 93af6dcfd40b 18:46:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:46:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:46:35 (1/6) Installing dumb-init (1.2.2-r1) 18:46:35 (2/6) Installing libgcc (9.3.0-r2) 18:46:35 (3/6) Installing libsodium (1.0.18-r0) 18:46:35 (4/6) Installing libstdc++ (9.3.0-r2) 18:46:36 (5/6) Installing libzmq (4.3.3-r0) 18:46:37 (6/6) Installing zeromq (4.3.3-r0) 18:46:37 Executing busybox-1.31.1-r20.trigger 18:46:37 OK: 8 MiB in 20 packages 18:46:37 Removing intermediate container 93af6dcfd40b 18:46:37 ---> 1fa3d516bfd4 18:46:37 Step 13/21 : COPY --from=builder /device-modbus-go/cmd / 18:46:38 ---> bf797958c0da 18:46:38 Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / 18:46:38 ---> 90e4317d2748 18:46:38 Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:46:38 ---> 6d9dc831bf3c 18:46:38 Step 16/21 : EXPOSE 49991 18:46:38 ---> Running in 5732e4dcd175 18:46:39 Removing intermediate container 5732e4dcd175 18:46:39 ---> 166115ef4ea2 18:46:39 Step 17/21 : ENTRYPOINT ["/device-modbus"] 18:46:39 ---> Running in aa26dceaf3f3 18:46:39 Removing intermediate container aa26dceaf3f3 18:46:39 ---> e635c3588c7b 18:46:39 Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:39 ---> Running in 8263bbe98714 18:46:39 Removing intermediate container 8263bbe98714 18:46:39 ---> 702cef7c536f 18:46:39 Step 19/21 : LABEL arch=amd64 18:46:39 ---> Running in 00fb94317fb7 18:46:39 Removing intermediate container 00fb94317fb7 18:46:39 ---> 43f9e4aa9011 18:46:39 Step 20/21 : LABEL git_sha=0f1f12442b5a26a09c65592d000175cd200ff215 18:46:39 ---> Running in 29e2d193d783 18:46:39 Removing intermediate container 29e2d193d783 18:46:39 ---> ebdc90236bf9 18:46:39 Step 21/21 : LABEL version=1.3.2-dev.9 18:46:39 ---> Running in 80e57c87d24f 18:46:40 Removing intermediate container 80e57c87d24f 18:46:40 ---> 4911feaabb57 18:46:40 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:46:40 Successfully built 4911feaabb57 18:46:40 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:40 provisioning config files... 18:46:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config2472144572832654530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:40 ---> docker-login.sh 18:46:40 nexus3.edgexfoundry.org:10001 18:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 nexus3.edgexfoundry.org:10002 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 nexus3.edgexfoundry.org:10003 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 nexus3.edgexfoundry.org:10004 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 docker.io 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:42 Configure a credential helper to remove this warning. See 18:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:42 18:46:42 Login Succeeded 18:46:42 ---> docker-login.sh ends [Pipeline] } 18:46:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:46:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 18:46:42 0f1f12442b5a26a09c65592d000175cd200ff215 18:46:42 latest 18:46:42 1.3.2-dev.9 18:46:42 0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:46:42 master 18:46:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:46:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] isUnix [Pipeline] sh 18:46:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215 18:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:46:42 eb06311177d1: Preparing 18:46:42 772bfb64d636: Preparing 18:46:42 bf67285863aa: Preparing 18:46:42 ffff52be5398: Preparing 18:46:42 0b00fff0834f: Preparing 18:46:42 32f366d666a5: Preparing 18:46:42 32f366d666a5: Waiting 18:46:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:46:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.037s coverage: 47.7% of statements 18:46:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:46:43 772bfb64d636: Pushed 18:46:43 32f366d666a5: Layer already exists 18:46:43 0b00fff0834f: Pushed 18:46:43 eb06311177d1: Pushed 18:46:43 ffff52be5398: Pushed 18:46:44 bf67285863aa: Pushed 18:46:44 0f1f12442b5a26a09c65592d000175cd200ff215: digest: sha256:21fd07c629be27fd40901a938a8ea4d1dde81456c4c18ac10e2fdf37f79ede1b size: 1572 [Pipeline] isUnix [Pipeline] sh 18:46:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 18:46:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 18:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:46:44 eb06311177d1: Preparing 18:46:44 772bfb64d636: Preparing 18:46:44 bf67285863aa: Preparing 18:46:44 ffff52be5398: Preparing 18:46:44 0b00fff0834f: Preparing 18:46:44 32f366d666a5: Preparing 18:46:44 32f366d666a5: Waiting 18:46:44 0b00fff0834f: Layer already exists 18:46:44 bf67285863aa: Layer already exists 18:46:44 eb06311177d1: Layer already exists 18:46:44 772bfb64d636: Layer already exists 18:46:44 ffff52be5398: Layer already exists 18:46:44 32f366d666a5: Layer already exists 18:46:44 latest: digest: sha256:21fd07c629be27fd40901a938a8ea4d1dde81456c4c18ac10e2fdf37f79ede1b size: 1572 [Pipeline] isUnix [Pipeline] sh 18:46:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 18:46:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.9 18:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:46:45 eb06311177d1: Preparing 18:46:45 772bfb64d636: Preparing 18:46:45 bf67285863aa: Preparing 18:46:45 ffff52be5398: Preparing 18:46:45 0b00fff0834f: Preparing 18:46:45 32f366d666a5: Preparing 18:46:45 32f366d666a5: Waiting 18:46:45 ffff52be5398: Layer already exists 18:46:45 0b00fff0834f: Layer already exists 18:46:45 eb06311177d1: Layer already exists 18:46:45 772bfb64d636: Layer already exists 18:46:45 bf67285863aa: Layer already exists 18:46:45 32f366d666a5: Layer already exists 18:46:45 1.3.2-dev.9: digest: sha256:21fd07c629be27fd40901a938a8ea4d1dde81456c4c18ac10e2fdf37f79ede1b size: 1572 [Pipeline] isUnix [Pipeline] sh 18:46:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 18:46:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:46:46 eb06311177d1: Preparing 18:46:46 772bfb64d636: Preparing 18:46:46 bf67285863aa: Preparing 18:46:46 ffff52be5398: Preparing 18:46:46 0b00fff0834f: Preparing 18:46:46 32f366d666a5: Preparing 18:46:46 32f366d666a5: Waiting 18:46:46 bf67285863aa: Layer already exists 18:46:46 ffff52be5398: Layer already exists 18:46:46 772bfb64d636: Layer already exists 18:46:46 eb06311177d1: Layer already exists 18:46:46 0b00fff0834f: Layer already exists 18:46:46 32f366d666a5: Layer already exists 18:46:46 0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9: digest: sha256:21fd07c629be27fd40901a938a8ea4d1dde81456c4c18ac10e2fdf37f79ede1b size: 1572 [Pipeline] isUnix [Pipeline] sh 18:46:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 18:46:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 18:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:46:46 eb06311177d1: Preparing 18:46:46 772bfb64d636: Preparing 18:46:46 bf67285863aa: Preparing 18:46:46 ffff52be5398: Preparing 18:46:46 0b00fff0834f: Preparing 18:46:46 32f366d666a5: Preparing 18:46:46 32f366d666a5: Waiting 18:46:46 772bfb64d636: Layer already exists 18:46:46 0b00fff0834f: Layer already exists 18:46:46 ffff52be5398: Layer already exists 18:46:46 eb06311177d1: Layer already exists 18:46:46 bf67285863aa: Layer already exists 18:46:46 32f366d666a5: Layer already exists 18:46:46 master: digest: sha256:21fd07c629be27fd40901a938a8ea4d1dde81456c4c18ac10e2fdf37f79ede1b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:46:46 ===================================================== [Pipeline] echo 18:46:46 taggedImages: 18:46:46 - nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215 18:46:46 - nexus3.edgexfoundry.org:10004/device-modbus:latest 18:46:46 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.9 18:46:46 - nexus3.edgexfoundry.org:10004/device-modbus:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:46:46 - nexus3.edgexfoundry.org:10004/device-modbus:master [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] libraryResource [Pipeline] sh 18:46:47 ---> job-cost.sh 18:46:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RDQz 18:47:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:47:05 gofmt -l . 18:47:05 [ "`gofmt -l .`" = "" ] 18:47:05 ./bin/test-attribution-txt.sh 18:47:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:47:05 $ docker stop --time=1 ff23d04ce83aeb30a88067ef104c9fe08a4c8bfe5d94a990a844f0e88a6dac02 18:47:07 $ docker rm -f ff23d04ce83aeb30a88067ef104c9fe08a4c8bfe5d94a990a844f0e88a6dac02 [Pipeline] // withDockerContainer [Pipeline] sh 18:47:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:08 Warning: overwriting stash ‘coverage-report’ 18:47:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:09 + ls -al . 18:47:09 total 144 18:47:09 drwxrwxr-x 9 jenkins jenkins 4096 May 17 18:47 . 18:47:09 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:44 .. 18:47:09 -rw-rw-r-- 1 jenkins jenkins 140 May 17 18:44 .dockerignore 18:47:09 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:44 .git 18:47:09 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:44 .github 18:47:09 -rw-rw-r-- 1 jenkins jenkins 338 May 17 18:44 .gitignore 18:47:09 -rw-rw-r-- 1 jenkins jenkins 7707 May 17 18:44 Attribution.txt 18:47:09 -rw-rw-r-- 1 jenkins jenkins 1457 May 17 18:44 Dockerfile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 995 May 17 18:44 Dockerfile.build 18:47:09 -rw-rw-r-- 1 jenkins jenkins 679 May 17 18:44 Jenkinsfile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 18:44 LICENSE 18:47:09 -rw-rw-r-- 1 jenkins jenkins 901 May 17 18:44 Makefile 18:47:09 -rw-rw-r-- 1 jenkins jenkins 2897 May 17 18:44 README.md 18:47:09 -rw-rw-r-- 1 jenkins jenkins 11 May 17 18:42 VERSION 18:47:09 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:44 bin 18:47:09 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:44 cmd 18:47:09 -rw-r--r-- 1 jenkins jenkins 22385 May 17 18:46 coverage.out 18:47:09 -rw-r--r-- 1 jenkins jenkins 413 May 17 18:47 go.mod 18:47:09 -rw-r--r-- 1 jenkins jenkins 21439 May 17 18:45 go.sum 18:47:09 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:44 internal 18:47:09 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:44 simulator 18:47:09 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:44 snap 18:47:09 -rw-rw-r-- 1 jenkins jenkins 229 May 17 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:47: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=0f1f12442b5a26a09c65592d000175cd200ff215 --label arch=arm64 --label version=1.3.2-dev.9 . 18:47:10 Sending build context to Docker daemon 623.1kB 18:47:10 Step 1/21 : ARG BASE=golang:1.16-alpine3.12 18:47:10 Step 2/21 : FROM ${BASE} AS builder 18:47:10 ---> 9c252ad726f4 18:47:10 Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:10 ---> Running in d26796a14bc5 18:47:12 Removing intermediate container d26796a14bc5 18:47:12 ---> da26fae6440a 18:47:12 Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:47:12 ---> Running in 7c79c728ed56 18:47:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:47:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:47:16 OK: 145 MiB in 53 packages 18:47:17 Removing intermediate container 7c79c728ed56 18:47:17 ---> e9a566f59c4e 18:47:17 Step 5/21 : WORKDIR /device-modbus-go 18:47:17 ---> Running in 4b433c1acfb9 18:47:17 Removing intermediate container 4b433c1acfb9 18:47:17 ---> 41f0d568b6eb 18:47:17 Step 6/21 : COPY . . 18:47:18 ---> aa00f9889bc6 18:47:18 Step 7/21 : RUN go mod download 18:47:19 ---> Running in 4ed9c130d25e 18:47:20 Removing intermediate container 4ed9c130d25e 18:47:20 ---> 56f15b11c941 18:47:20 Step 8/21 : RUN make build 18:47:20 ---> Running in 5c0e68aa044d 18:47:21 go mod tidy 18:47:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.9" -o cmd/device-modbus ./cmd 18:47:29 lf-activate-venv(): INFO: Adding /tmp/venv-RDQz/bin to PATH 18:47:29 INFO: No Stack... 18:47:30 INFO: Retrieving Pricing Info for: v1-standard-2 18:47:30 INFO: Archiving Costs [Pipeline] sh 18:47:30 + cat /w/workspace/device-modbus-go/48/archives/cost.csv 18:47:30 + cut -d, -f6 [Pipeline] lock 18:47:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] 18:47:31 Resource [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] did not exist. Created. 18:47:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:31 + echo total: 0.029999999329447746 [Pipeline] stash 18:47:31 Stashed 1 file(s) [Pipeline] } 18:47:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:48:01 Removing intermediate container 5c0e68aa044d 18:48:01 ---> 57ba25b32fcd 18:48:01 Step 9/21 : FROM alpine:3.12 18:48:01 3.12: Pulling from library/alpine 18:48:01 d2f70382dc9a: Pulling fs layer 18:48:01 d2f70382dc9a: Verifying Checksum 18:48:01 d2f70382dc9a: Download complete 18:48:01 d2f70382dc9a: Pull complete 18:48:01 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:48:01 Status: Downloaded newer image for alpine:3.12 18:48:01 ---> 9852663dfa18 18:48:01 Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:48:01 ---> Running in a995089e80ad 18:48:01 Removing intermediate container a995089e80ad 18:48:01 ---> 4fa928b5f086 18:48:01 Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:01 ---> Running in 8b6b3d68753c 18:48:01 Removing intermediate container 8b6b3d68753c 18:48:01 ---> 8c0a7dcfcdd0 18:48:01 Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init 18:48:02 ---> Running in 1f61fa72b1bd 18:48:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:48:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:48:04 (1/6) Installing dumb-init (1.2.2-r1) 18:48:04 (2/6) Installing libgcc (9.3.0-r2) 18:48:05 (3/6) Installing libsodium (1.0.18-r0) 18:48:05 (4/6) Installing libstdc++ (9.3.0-r2) 18:48:05 (5/6) Installing libzmq (4.3.3-r0) 18:48:05 (6/6) Installing zeromq (4.3.3-r0) 18:48:05 Executing busybox-1.31.1-r20.trigger 18:48:05 OK: 8 MiB in 20 packages 18:48:06 Removing intermediate container 1f61fa72b1bd 18:48:06 ---> 307e0ac04bbc 18:48:06 Step 13/21 : COPY --from=builder /device-modbus-go/cmd / 18:48:08 ---> f8dc722e1856 18:48:08 Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / 18:48:08 ---> ab3415ca0d94 18:48:08 Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:48:09 ---> 039d2df4c97f 18:48:09 Step 16/21 : EXPOSE 49991 18:48:09 ---> Running in e6be3dcafebb 18:48:09 Removing intermediate container e6be3dcafebb 18:48:09 ---> 7806186f1947 18:48:09 Step 17/21 : ENTRYPOINT ["/device-modbus"] 18:48:10 ---> Running in 602b822a9a22 18:48:10 Removing intermediate container 602b822a9a22 18:48:10 ---> b8e1c71e24a8 18:48:10 Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:48:10 ---> Running in 4a2bf5c0bec1 18:48:11 Removing intermediate container 4a2bf5c0bec1 18:48:11 ---> 02a249bc57cc 18:48:11 Step 19/21 : LABEL arch=arm64 18:48:11 ---> Running in 9cba6f0f4eaf 18:48:11 Removing intermediate container 9cba6f0f4eaf 18:48:11 ---> ab1b1fdfdc16 18:48:11 Step 20/21 : LABEL git_sha=0f1f12442b5a26a09c65592d000175cd200ff215 18:48:11 ---> Running in ccae27a1ddbb 18:48:12 Removing intermediate container ccae27a1ddbb 18:48:12 ---> 01a4761ead68 18:48:12 Step 21/21 : LABEL version=1.3.2-dev.9 18:48:12 ---> Running in 12ed01962b9a 18:48:13 Removing intermediate container 12ed01962b9a 18:48:13 ---> 3c1a59d7ee72 18:48:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:48:13 Successfully built 3c1a59d7ee72 18:48:13 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 18:48:13 provisioning config files... 18:48:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config2166699884890210692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:13 ---> docker-login.sh 18:48:13 nexus3.edgexfoundry.org:10001 18:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:14 Configure a credential helper to remove this warning. See 18:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:14 18:48:14 Login Succeeded 18:48:14 nexus3.edgexfoundry.org:10002 18:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:14 Configure a credential helper to remove this warning. See 18:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:14 18:48:14 Login Succeeded 18:48:14 nexus3.edgexfoundry.org:10003 18:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:15 Configure a credential helper to remove this warning. See 18:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:15 18:48:15 Login Succeeded 18:48:15 nexus3.edgexfoundry.org:10004 18:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:15 Configure a credential helper to remove this warning. See 18:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:15 18:48:15 Login Succeeded 18:48:15 docker.io 18:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:16 Configure a credential helper to remove this warning. See 18:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:16 18:48:16 Login Succeeded 18:48:16 ---> docker-login.sh ends [Pipeline] } 18:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:16 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 18:48:16 0f1f12442b5a26a09c65592d000175cd200ff215 18:48:16 latest 18:48:16 1.3.2-dev.9 18:48:16 0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:48:16 master 18:48:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:48:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] isUnix [Pipeline] sh 18:48:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215 18:48:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:48:17 70f832369425: Preparing 18:48:17 4c6527f73b29: Preparing 18:48:17 5cada300517f: Preparing 18:48:17 bceacc0477d1: Preparing 18:48:17 223099a84493: Preparing 18:48:17 3fbe34a1663b: Preparing 18:48:17 3fbe34a1663b: Waiting 18:48:17 70f832369425: Pushed 18:48:17 223099a84493: Pushed 18:48:17 4c6527f73b29: Pushed 18:48:17 3fbe34a1663b: Layer already exists 18:48:18 bceacc0477d1: Pushed 18:48:20 5cada300517f: Pushed 18:48:20 0f1f12442b5a26a09c65592d000175cd200ff215: digest: sha256:5dd646af30b6a42333342650ccd0a9a1d69fea360ddc38e1e330d30dc98e7d2d size: 1572 [Pipeline] isUnix [Pipeline] sh 18:48:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:48:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:48:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:48:21 70f832369425: Preparing 18:48:21 4c6527f73b29: Preparing 18:48:21 5cada300517f: Preparing 18:48:21 bceacc0477d1: Preparing 18:48:21 223099a84493: Preparing 18:48:21 3fbe34a1663b: Preparing 18:48:21 3fbe34a1663b: Waiting 18:48:21 70f832369425: Layer already exists 18:48:21 4c6527f73b29: Layer already exists 18:48:21 223099a84493: Layer already exists 18:48:21 bceacc0477d1: Layer already exists 18:48:21 5cada300517f: Layer already exists 18:48:21 3fbe34a1663b: Layer already exists 18:48:21 latest: digest: sha256:5dd646af30b6a42333342650ccd0a9a1d69fea360ddc38e1e330d30dc98e7d2d size: 1572 [Pipeline] isUnix [Pipeline] sh 18:48:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 18:48:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.9 18:48:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:48:22 70f832369425: Preparing 18:48:22 4c6527f73b29: Preparing 18:48:22 5cada300517f: Preparing 18:48:22 bceacc0477d1: Preparing 18:48:22 223099a84493: Preparing 18:48:22 3fbe34a1663b: Preparing 18:48:22 3fbe34a1663b: Waiting 18:48:22 bceacc0477d1: Layer already exists 18:48:22 70f832369425: Layer already exists 18:48:22 223099a84493: Layer already exists 18:48:22 4c6527f73b29: Layer already exists 18:48:22 5cada300517f: Layer already exists 18:48:22 3fbe34a1663b: Layer already exists 18:48:22 1.3.2-dev.9: digest: sha256:5dd646af30b6a42333342650ccd0a9a1d69fea360ddc38e1e330d30dc98e7d2d size: 1572 [Pipeline] isUnix [Pipeline] sh 18:48:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 18:48:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:48:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:48:23 70f832369425: Preparing 18:48:23 4c6527f73b29: Preparing 18:48:23 5cada300517f: Preparing 18:48:23 bceacc0477d1: Preparing 18:48:23 223099a84493: Preparing 18:48:23 3fbe34a1663b: Preparing 18:48:23 3fbe34a1663b: Waiting 18:48:23 223099a84493: Layer already exists 18:48:23 4c6527f73b29: Layer already exists 18:48:23 bceacc0477d1: Layer already exists 18:48:23 5cada300517f: Layer already exists 18:48:23 70f832369425: Layer already exists 18:48:23 3fbe34a1663b: Layer already exists 18:48:23 0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9: digest: sha256:5dd646af30b6a42333342650ccd0a9a1d69fea360ddc38e1e330d30dc98e7d2d size: 1572 [Pipeline] isUnix [Pipeline] sh 18:48:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 18:48:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 18:48:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:48:24 70f832369425: Preparing 18:48:24 4c6527f73b29: Preparing 18:48:24 5cada300517f: Preparing 18:48:24 bceacc0477d1: Preparing 18:48:24 223099a84493: Preparing 18:48:24 3fbe34a1663b: Preparing 18:48:24 3fbe34a1663b: Waiting 18:48:24 5cada300517f: Layer already exists 18:48:24 bceacc0477d1: Layer already exists 18:48:24 4c6527f73b29: Layer already exists 18:48:24 70f832369425: Layer already exists 18:48:24 223099a84493: Layer already exists 18:48:24 3fbe34a1663b: Layer already exists 18:48:24 master: digest: sha256:5dd646af30b6a42333342650ccd0a9a1d69fea360ddc38e1e330d30dc98e7d2d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:24 ===================================================== [Pipeline] echo 18:48:24 taggedImages: 18:48:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215 18:48:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:48:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.9 18:48:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0f1f12442b5a26a09c65592d000175cd200ff215-1.3.2-dev.9 18:48:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:48:25 ---> job-cost.sh 18:48:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KeaR 18:49:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:50:48 lf-activate-venv(): INFO: Adding /tmp/venv-KeaR/bin to PATH 18:50:48 INFO: No Stack... 18:50:48 INFO: Retrieving Pricing Info for: lf-standard-4 18:50:48 INFO: Archiving Costs [Pipeline] sh 18:50:49 + cat /w/workspace/device-modbus-go/48/archives/cost.csv 18:50:49 + cut -d, -f6 [Pipeline] lock 18:50:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] 18:50:49 Resource [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] did not exist. Created. 18:50:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:49 /w/workspace/device-modbus-go/48@tmp/durable-20d93102/script.sh: 1: /w/workspace/device-modbus-go/48@tmp/durable-20d93102/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:50:49 + echo total: 0.20999999344348907 [Pipeline] stash 18:50:50 Warning: overwriting stash ‘stack-cost’ 18:50:50 Stashed 1 file(s) [Pipeline] } 18:50:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-48-stack-cost] [Pipeline] // lock [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 18:50:50 provisioning config files... 18:50:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2923497588641986257tmp [Pipeline] { [Pipeline] sh 18:50:51 + set +x 18:50:51 + curl -s https://codecov.io/bash 18:50:51 + bash -s -- 18:50:51 18:50:51 _____ _ 18:50:51 / ____| | | 18:50:51 | | ___ __| | ___ ___ _____ __ 18:50:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:50:51 | |___| (_) | (_| | __/ (_| (_) \ V / 18:50:51 \_____\___/ \__,_|\___|\___\___/ \_/ 18:50:51 Bash-1.0.2 18:50:51 18:50:51 18:50:51 ==> git version 2.24.3 found 18:50:51 ==> 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 18:50:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:50:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:50:51 ==> Jenkins CI detected. 18:50:51 project root: . 18:50:51 --> token set from env 18:50:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:50:51 ==> Running gcov in . (disable via -X gcov) 18:50:51 ==> Python coveragepy not found 18:50:51 ==> Searching for coverage reports in: 18:50:51 + . 18:50:51 -> Found 1 reports 18:50:51 ==> Detecting git/mercurial file structure 18:50:51 ==> Reading reports 18:50:51 + ./coverage.out bytes=22385 18:50:51 ==> Appending adjustments 18:50:51 https://docs.codecov.io/docs/fixing-reports 18:50:51 + Found adjustments 18:50:51 ==> Gzipping contents 18:50:51 4.0K /tmp/codecov.jRqU1Y.gz 18:50:51 ==> Uploading reports 18:50:51 url: https://codecov.io 18:50:51 query: branch=master&commit=0f1f12442b5a26a09c65592d000175cd200ff215&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:50:51 -> Pinging Codecov 18:50:51 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=0f1f12442b5a26a09c65592d000175cd200ff215&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:50:52 -> Uploading to 18:50:52 https://storage.googleapis.com/codecov/v4/raw/2021-05-17/55DBCA73C666E3227836607328DD7E49/0f1f12442b5a26a09c65592d000175cd200ff215/fd74d06b-de01-4479-9fe3-2160d4279e72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210517T185052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1de5fc3ea9e1507a71190097a01e844bf0657982299d3d688fd2d393403cc3e9 18:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 18:50:52 Dload Upload Total Spent Left Speed 18:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3910 0 0 100 3910 0 9552 --:--:-- --:--:-- --:--:-- 9559 18:50:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] } 18:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:50:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:50:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:50:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:50:53 18:50:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:50:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:50:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:50:54 188c0c94c7c5: Pulling fs layer 18:50:54 0ef7d3d256c8: Pulling fs layer 18:50:54 de9db76c5a1d: Pulling fs layer 18:50:54 0eba1c9be4d2: Pulling fs layer 18:50:54 0d57e429df01: Pulling fs layer 18:50:54 4e4be7b47b0d: Pulling fs layer 18:50:54 e1f770b5df2f: Pulling fs layer 18:50:54 85a0685a4137: Pulling fs layer 18:50:54 4e4be7b47b0d: Waiting 18:50:54 0d57e429df01: Waiting 18:50:54 e1f770b5df2f: Waiting 18:50:54 85a0685a4137: Waiting 18:50:54 de9db76c5a1d: Verifying Checksum 18:50:54 de9db76c5a1d: Download complete 18:50:54 0ef7d3d256c8: Download complete 18:50:54 0d57e429df01: Verifying Checksum 18:50:54 0d57e429df01: Download complete 18:50:54 188c0c94c7c5: Verifying Checksum 18:50:54 188c0c94c7c5: Download complete 18:50:54 4e4be7b47b0d: Verifying Checksum 18:50:54 4e4be7b47b0d: Download complete 18:50:54 188c0c94c7c5: Pull complete 18:50:54 0ef7d3d256c8: Pull complete 18:50:54 de9db76c5a1d: Pull complete 18:50:55 e1f770b5df2f: Verifying Checksum 18:50:55 e1f770b5df2f: Download complete 18:50:57 0eba1c9be4d2: Verifying Checksum 18:50:57 0eba1c9be4d2: Download complete 18:50:57 85a0685a4137: Verifying Checksum 18:50:57 85a0685a4137: Download complete 18:51:03 0eba1c9be4d2: Pull complete 18:51:03 0d57e429df01: Pull complete 18:51:03 4e4be7b47b0d: Pull complete 18:51:05 e1f770b5df2f: Pull complete 18:51:13 85a0685a4137: Pull complete 18:51:13 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:51:13 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:51:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:51:14 $ docker top e476c304a2fead8b26596ee553e659af4c27cabdd659234c693a560b77792466 -eo pid,comm [Pipeline] { [Pipeline] echo 18:51:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:51:15 + set -o pipefail 18:51:15 + snyk monitor '--org=edgex-jenkins' 18:51:25 18:51:25 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 18:51:25 18:51:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/7c2e0cfc-f67c-49f7-ac2e-7fb0280629e2 18:51:25 18:51:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:51:25 18:51:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:51:25 18:51:25 [Pipeline] } 18:51:25 $ docker stop --time=1 e476c304a2fead8b26596ee553e659af4c27cabdd659234c693a560b77792466 18:51:28 $ docker rm -f e476c304a2fead8b26596ee553e659af4c27cabdd659234c693a560b77792466 [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 18:51:30 + git log --format=format:%s -1 0f1f12442b5a26a09c65592d000175cd200ff215 [Pipeline] isUnix [Pipeline] sh 18:51:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:51:30 . [Pipeline] withDockerContainer 18:51:30 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:51:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 18:51:31 $ docker top 30b19acbaf4c8e05bd39aa5a76184b2e7da371637c5c1b1c7f400214ed81b804 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:31 [ssh-agent] Looking for ssh-agent implementation... 18:51:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:31 $ docker exec 30b19acbaf4c8e05bd39aa5a76184b2e7da371637c5c1b1c7f400214ed81b804 ssh-agent 18:51:31 SSH_AUTH_SOCK=/tmp/ssh-3QTpuyBaUbGN/agent.11 18:51:31 SSH_AGENT_PID=17 18:51:31 Running ssh-add (command line suppressed) 18:51:32 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5119136574220332280.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5119136574220332280.key) 18:51:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:32 + git semver tag 18:51:32 # -> Open(): unable to determine branch for HEAD 18:51:32 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:51:32 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:51:32 # $SEMVER_REMOTE_NAME = origin 18:51:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:51:32 # $SEMVER_USER_NAME = edgex-jenkins 18:51:32 # $SEMVER_BRANCH = master 18:51:32 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 18:51:32 # 0f1f12442b5a26a09c65592d000175cd200ff215 HEAD 18:51:32 # -> Force: false 18:51:32 # 5de7e6ddcf07f00e7fb5a51823592d884f01cdaa refs/tags/v1.3.2-dev.9 [Pipeline] } 18:51:32 $ docker exec --env ******** --env ******** 30b19acbaf4c8e05bd39aa5a76184b2e7da371637c5c1b1c7f400214ed81b804 ssh-agent -k 18:51:32 unset SSH_AUTH_SOCK; 18:51:32 unset SSH_AGENT_PID; 18:51:32 echo Agent pid 17 killed; 18:51:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:32 + git semver [Pipeline] } 18:51:32 $ docker stop --time=1 30b19acbaf4c8e05bd39aa5a76184b2e7da371637c5c1b1c7f400214ed81b804 18:51:34 $ docker rm -f 30b19acbaf4c8e05bd39aa5a76184b2e7da371637c5c1b1c7f400214ed81b804 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:51:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:51:34 18:51:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:51:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:51:35 0.23.1-centos7: Pulling from edgex-lftools 18:51:35 ab5ef0e58194: Pulling fs layer 18:51:35 9712f1f96733: Pulling fs layer 18:51:35 63f879dbbcfc: Pulling fs layer 18:51:35 0d9ebad4ef96: Pulling fs layer 18:51:35 e9a5061849ea: Pulling fs layer 18:51:35 d747dcd14b5f: Pulling fs layer 18:51:35 2de7ff778b66: Pulling fs layer 18:51:35 e9a5061849ea: Waiting 18:51:35 d747dcd14b5f: Waiting 18:51:35 2de7ff778b66: Waiting 18:51:35 0d9ebad4ef96: Waiting 18:51:35 9712f1f96733: Verifying Checksum 18:51:35 9712f1f96733: Download complete 18:51:36 63f879dbbcfc: Verifying Checksum 18:51:36 63f879dbbcfc: Download complete 18:51:36 e9a5061849ea: Verifying Checksum 18:51:36 e9a5061849ea: Download complete 18:51:36 d747dcd14b5f: Verifying Checksum 18:51:36 d747dcd14b5f: Download complete 18:51:37 2de7ff778b66: Verifying Checksum 18:51:37 2de7ff778b66: Download complete 18:51:37 ab5ef0e58194: Verifying Checksum 18:51:37 ab5ef0e58194: Download complete 18:51:37 0d9ebad4ef96: Verifying Checksum 18:51:37 0d9ebad4ef96: Download complete 18:51:43 ab5ef0e58194: Pull complete 18:51:43 9712f1f96733: Pull complete 18:51:45 63f879dbbcfc: Pull complete 18:51:52 0d9ebad4ef96: Pull complete 18:51:55 e9a5061849ea: Pull complete 18:51:55 d747dcd14b5f: Pull complete 18:51:57 2de7ff778b66: Pull complete 18:51:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:51:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:51:57 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:51:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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:10003/edgex-lftools:0.23.1-centos7 cat 18:52:01 $ docker top e8b632e3480ee1d3a9bd316af1f2ff9ed1561698469739c31154ed5c30566ab6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:52:01 provisioning config files... 18:52:01 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config482587975508354795tmp 18:52:01 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6559649529557569359tmp 18:52:01 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3828003079104203405tmp [Pipeline] { [Pipeline] echo 18:52:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:52:01 ---> sigul-configuration.sh 18:52:01 gpg: directory `/root/.gnupg' created 18:52:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:52:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:52:01 gpg: keyring `/root/.gnupg/secring.gpg' created 18:52:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:52:01 gpg: CAST5 encrypted data 18:52:02 gpg: encrypted with 1 passphrase 18:52:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:52:02 + mkdir /home/jenkins 18:52:02 + mkdir /home/jenkins/sigul [Pipeline] sh 18:52:02 + 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 18:52:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:52:02 ---> sigul-install.sh 18:52:11 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:52:11 + git tag --list 18:52:11 0.7.1 18:52:11 v1.0.0 18:52:11 v1.1.0 18:52:11 v1.1.1 18:52:11 v1.2.2 18:52:11 v1.3.0 18:52:11 v1.3.1 18:52:11 v1.3.1-dev.1 18:52:11 v1.3.1-dev.2 18:52:11 v1.3.1-dev.3 18:52:11 v1.3.1-dev.4 18:52:11 v1.3.1-dev.5 18:52:11 v1.3.1-dev.6 18:52:11 v1.3.1-dev.7 18:52:11 v1.3.1-dev.8 18:52:11 v1.3.2-dev.1 18:52:11 v1.3.2-dev.2 18:52:11 v1.3.2-dev.3 18:52:11 v1.3.2-dev.4 18:52:11 v1.3.2-dev.5 18:52:11 v1.3.2-dev.6 18:52:11 v1.3.2-dev.7 18:52:11 v1.3.2-dev.8 18:52:11 v1.3.2-dev.9 [Pipeline] sh 18:52:11 + lftools sign git-tag v1.3.2-dev.9 18:52:13 Signing Git tag with Sigul... 18:52:13 Signing v1.3.2-dev.9 [Pipeline] echo 18:52:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:52:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:52:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:52:14 $ docker stop --time=1 e8b632e3480ee1d3a9bd316af1f2ff9ed1561698469739c31154ed5c30566ab6 18:52:16 $ docker rm -f e8b632e3480ee1d3a9bd316af1f2ff9ed1561698469739c31154ed5c30566ab6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:52:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:52:16 . [Pipeline] withDockerContainer 18:52:16 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:52:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 18:52:17 $ docker top 75484f7397876822cc6fc46b4950fbde3417b8a2ec7b40327ee28aa13f111454 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:18 [ssh-agent] Looking for ssh-agent implementation... 18:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:18 $ docker exec 75484f7397876822cc6fc46b4950fbde3417b8a2ec7b40327ee28aa13f111454 ssh-agent 18:52:18 SSH_AUTH_SOCK=/tmp/ssh-nHWLSGvsivuy/agent.11 18:52:18 SSH_AGENT_PID=16 18:52:18 Running ssh-add (command line suppressed) 18:52:18 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3624967772632009600.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3624967772632009600.key) 18:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:19 + git semver bump pre 18:52:19 # -> Open(): unable to determine branch for HEAD 18:52:19 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:52:19 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:52:19 # $SEMVER_REMOTE_NAME = origin 18:52:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:52:19 # $SEMVER_USER_NAME = edgex-jenkins 18:52:19 # $SEMVER_BRANCH = master 18:52:19 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 18:52:19 1.3.2-dev.10 [Pipeline] } 18:52:19 $ docker exec --env ******** --env ******** 75484f7397876822cc6fc46b4950fbde3417b8a2ec7b40327ee28aa13f111454 ssh-agent -k 18:52:19 unset SSH_AUTH_SOCK; 18:52:19 unset SSH_AGENT_PID; 18:52:19 echo Agent pid 16 killed; 18:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:19 + git semver [Pipeline] } 18:52:19 $ docker stop --time=1 75484f7397876822cc6fc46b4950fbde3417b8a2ec7b40327ee28aa13f111454 18:52:20 $ docker rm -f 75484f7397876822cc6fc46b4950fbde3417b8a2ec7b40327ee28aa13f111454 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:52:21 . [Pipeline] withDockerContainer 18:52:21 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 18:52:22 $ docker top f8932412edeba9ef61ce2ef714438a0d146de0a862bbeeda42bd6ff5140e8bb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:22 [ssh-agent] Looking for ssh-agent implementation... 18:52:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:22 $ docker exec f8932412edeba9ef61ce2ef714438a0d146de0a862bbeeda42bd6ff5140e8bb5 ssh-agent 18:52:22 SSH_AUTH_SOCK=/tmp/ssh-Nd9y4DrmrRxu/agent.12 18:52:22 SSH_AGENT_PID=17 18:52:22 Running ssh-add (command line suppressed) 18:52:22 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9041992505828514713.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9041992505828514713.key) 18:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:23 + git semver push 18:52:23 # -> Open(): unable to determine branch for HEAD 18:52:23 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:52:23 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:52:23 # $SEMVER_REMOTE_NAME = origin 18:52:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:52:23 # $SEMVER_USER_NAME = edgex-jenkins 18:52:23 # $SEMVER_BRANCH = master 18:52:23 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 18:52:28 $ docker exec --env ******** --env ******** f8932412edeba9ef61ce2ef714438a0d146de0a862bbeeda42bd6ff5140e8bb5 ssh-agent -k 18:52:28 unset SSH_AUTH_SOCK; 18:52:28 unset SSH_AGENT_PID; 18:52:28 echo Agent pid 17 killed; 18:52:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:29 + git semver [Pipeline] } 18:52:29 $ docker stop --time=1 f8932412edeba9ef61ce2ef714438a0d146de0a862bbeeda42bd6ff5140e8bb5 18:52:30 $ docker rm -f f8932412edeba9ef61ce2ef714438a0d146de0a862bbeeda42bd6ff5140e8bb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:52:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:32 ---> package-listing.sh 18:52:32 ++ facter osfamily 18:52:32 ++ tr '[:upper:]' '[:lower:]' 18:52:32 + OS_FAMILY=redhat 18:52:32 + workspace=/w/workspace/xfoundry_device-modbus-go_master 18:52:32 + START_PACKAGES=/tmp/packages_start.txt 18:52:32 + END_PACKAGES=/tmp/packages_end.txt 18:52:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:32 + PACKAGES=/tmp/packages_start.txt 18:52:32 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 18:52:32 + PACKAGES=/tmp/packages_end.txt 18:52:32 + case "${OS_FAMILY}" in 18:52:32 + rpm -qa 18:52:32 + sort 18:52:37 + '[' -f /tmp/packages_start.txt ']' 18:52:37 + '[' -f /tmp/packages_end.txt ']' 18:52:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:37 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 18:52:37 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 18:52:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 18:52:37 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/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:38 18:52:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:38 alpine: Pulling from edgex-lftools-log-publisher 18:52:38 df20fa9351a1: Pulling fs layer 18:52:38 36b3adc4ff6f: Pulling fs layer 18:52:38 8ad3a11d3b57: Pulling fs layer 18:52:38 46f8f816bc3b: Pulling fs layer 18:52:38 93b61091891f: Pulling fs layer 18:52:38 93b9cdb0e59b: Pulling fs layer 18:52:38 5e14af77c1be: Pulling fs layer 18:52:38 01666e4c0597: Pulling fs layer 18:52:38 aa168da1d23b: Pulling fs layer 18:52:38 93b9cdb0e59b: Waiting 18:52:38 5e14af77c1be: Waiting 18:52:38 01666e4c0597: Waiting 18:52:38 aa168da1d23b: Waiting 18:52:38 46f8f816bc3b: Waiting 18:52:38 93b61091891f: Waiting 18:52:38 36b3adc4ff6f: Verifying Checksum 18:52:38 36b3adc4ff6f: Download complete 18:52:38 46f8f816bc3b: Verifying Checksum 18:52:38 46f8f816bc3b: Download complete 18:52:38 df20fa9351a1: Download complete 18:52:38 93b9cdb0e59b: Verifying Checksum 18:52:38 93b9cdb0e59b: Download complete 18:52:38 93b61091891f: Download complete 18:52:38 5e14af77c1be: Download complete 18:52:38 01666e4c0597: Verifying Checksum 18:52:38 01666e4c0597: Download complete 18:52:38 8ad3a11d3b57: Verifying Checksum 18:52:38 8ad3a11d3b57: Download complete 18:52:39 df20fa9351a1: Pull complete 18:52:39 36b3adc4ff6f: Pull complete 18:52:40 8ad3a11d3b57: Pull complete 18:52:40 46f8f816bc3b: Pull complete 18:52:40 aa168da1d23b: Verifying Checksum 18:52:40 aa168da1d23b: Download complete 18:52:41 93b61091891f: Pull complete 18:52:41 93b9cdb0e59b: Pull complete 18:52:41 5e14af77c1be: Pull complete 18:52:41 01666e4c0597: Pull complete 18:52:49 aa168da1d23b: Pull complete 18:52:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:52:50 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:52:50 $ 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/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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:10003/edgex-lftools-log-publisher:alpine cat 18:52:52 $ docker top 7f6742fb0d10226ac1336a5bf65529b19bf9bf0123ff782639e4c00a3f3a727d -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:53 + mkdir -p /var/log/sa [Pipeline] sh 18:52:53 + ls /var/log/sa-host 18:52:53 + sadf -c /var/log/sa-host/sa17 18:52:53 file_magic: OK 18:52:53 HZ: Using current value: 100 18:52:53 file_header: OK 18:52:53 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 18:52:53 Statistics: 18:52:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:52:53 File successfully converted to sysstat format version 12.2.1 18:52:53 + sadf -c /var/log/sa-host/sa23 18:52:53 file_magic: OK 18:52:53 HZ: Using current value: 100 18:52:53 file_header: OK 18:52:53 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 18:52:53 Statistics: 18:52:53 Hnuu...uuuununununu... 18:52:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:54 provisioning config files... 18:52:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config653931232711668661tmp [Pipeline] { [Pipeline] echo 18:52:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:54 ---> create-netrc.sh [Pipeline] } 18:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:52:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:52:54 ---> python-tools-install.sh [Pipeline] echo 18:52:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:55 ---> sudo-logs.sh 18:52:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:55 ---> job-cost.sh 18:52:55 lf-activate-venv: SKIPPING 18:52:55 DEBUG: total: 0.20999999344348907 18:52:55 INFO: Retrieving Stack Cost... 18:52:56 INFO: Retrieving Pricing Info for: v1-standard-2 18:52:56 INFO: Archiving Costs [Pipeline] echo 18:52:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:57 ---> logs-deploy.sh 18:52:57 lf-activate-venv: SKIPPING 18:52:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/48 18:52:57 INFO: archiving workspace using pattern(s): 18:52:58 Archives upload complete. 18:52:58 INFO: archiving logs to Nexus 18:53:00 ---> uname -a: 18:53:00 Linux prd-centos7-docker-4c-2g-422.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:53:00 18:53:00 18:53:00 ---> lscpu: 18:53:00 Architecture: x86_64 18:53:00 CPU op-mode(s): 32-bit, 64-bit 18:53:00 Byte Order: Little Endian 18:53:00 Address sizes: 40 bits physical, 48 bits virtual 18:53:00 CPU(s): 4 18:53:00 On-line CPU(s) list: 0-3 18:53:00 Thread(s) per core: 1 18:53:00 Core(s) per socket: 1 18:53:00 Socket(s): 4 18:53:00 NUMA node(s): 1 18:53:00 Vendor ID: GenuineIntel 18:53:00 CPU family: 6 18:53:00 Model: 44 18:53:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:53:00 Stepping: 1 18:53:00 CPU MHz: 2933.442 18:53:00 BogoMIPS: 5866.88 18:53:00 Virtualization: VT-x 18:53:00 Hypervisor vendor: KVM 18:53:00 Virtualization type: full 18:53:00 L1d cache: 128 KiB 18:53:00 L1i cache: 128 KiB 18:53:00 L2 cache: 16 MiB 18:53:00 L3 cache: 64 MiB 18:53:00 NUMA node0 CPU(s): 0-3 18:53:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:53:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:53:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:53:00 Vulnerability Meltdown: Mitigation; PTI 18:53:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:53:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:53:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:53:00 Vulnerability Srbds: Not affected 18:53:00 Vulnerability Tsx async abort: Not affected 18:53:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 18:53:00 18:53:00 18:53:00 ---> nproc: 18:53:00 4 18:53:00 18:53:00 18:53:00 ---> df -h: 18:53:00 Filesystem Size Used Available Use% Mounted on 18:53:00 overlay 50.0G 8.5G 41.4G 17% / 18:53:00 tmpfs 64.0M 0 64.0M 0% /dev 18:53:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:53:00 shm 64.0M 0 64.0M 0% /dev/shm 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master@tmp 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 18:53:00 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 18:53:00 18:53:00 18:53:00 ---> free -m: 18:53:00 total used free shared buff/cache available 18:53:00 Mem: 1837 828 153 0 854 944 18:53:00 Swap: 1023 2 1021 18:53:00 18:53:00 18:53:00 ---> ip addr: 18:53:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:53:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:53:00 inet 127.0.0.1/8 scope host lo 18:53:00 valid_lft forever preferred_lft forever 18:53:00 inet6 ::1/128 scope host 18:53:00 valid_lft forever preferred_lft forever 18:53:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:53:00 link/ether fa:16:3e:3f:de:49 brd ff:ff:ff:ff:ff:ff 18:53:00 inet 10.30.122.168/23 brd 10.30.123.255 scope global dynamic eth0 18:53:00 valid_lft 85709sec preferred_lft 85709sec 18:53:00 inet6 fe80::f816:3eff:fe3f:de49/64 scope link 18:53:00 valid_lft forever preferred_lft forever 18:53:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:53:00 link/ether 02:42:38:1c:e6:dd brd ff:ff:ff:ff:ff:ff 18:53:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:53:00 valid_lft forever preferred_lft forever 18:53:00 inet6 fe80::42:38ff:fe1c:e6dd/64 scope link 18:53:00 valid_lft forever preferred_lft forever 18:53:00 18:53:00 18:53:00 ---> sar -b -r -n DEV: 18:53:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/17/21 _x86_64_ (4 CPU) 18:53:00 18:53:00 18:41:17 LINUX RESTART (4 CPU) 18:53:00 18:53:00 18:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:53:00 18:43:01 30.96 10.12 20.84 0.00 4430.00 2947.79 0.00 18:53:00 18:44:01 0.43 0.00 0.43 0.00 0.00 7.21 0.00 18:53:00 18:45:01 0.25 0.00 0.25 0.00 0.00 3.53 0.00 18:53:00 18:46:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 18:53:00 18:47:01 0.25 0.00 0.25 0.00 0.00 3.51 0.00 18:53:00 18:48:01 0.30 0.00 0.30 0.00 0.00 4.46 0.00 18:53:00 18:49:01 0.32 0.00 0.32 0.00 0.00 3.81 0.00 18:53:00 18:50:02 0.23 0.00 0.23 0.00 0.00 2.43 0.00 18:53:00 18:51:01 28.20 2.93 25.27 0.00 645.74 15985.10 0.00 18:53:00 18:52:01 440.64 219.84 220.79 0.00 10613.57 51764.57 0.00 18:53:00 Average: 50.29 23.37 26.93 0.00 1566.92 7071.38 0.00 18:53:00 18:53:00 18:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:53:00 18:43:01 174284 0 611472 32.50 2620 1093168 1097068 37.44 409944 1100128 24 18:53:00 18:44:01 174600 0 611148 32.48 2620 1093176 1079604 36.85 412256 1097872 20 18:53:00 18:45:01 173940 0 611804 32.52 2620 1093180 1079652 36.85 417332 1093164 8 18:53:00 18:46:01 172788 0 612956 32.58 2620 1093180 1079628 36.85 419168 1092788 8 18:53:00 18:47:01 169964 0 615768 32.73 2620 1093192 1079532 36.84 428828 1085704 20 18:53:00 18:48:01 169956 0 615772 32.73 2620 1093196 1079656 36.85 431392 1083816 16 18:53:00 18:49:01 169644 0 616080 32.74 2620 1093200 1079736 36.85 431524 1083816 16 18:53:00 18:50:02 169636 0 616084 32.74 2620 1093204 1079760 36.85 431664 1083816 8 18:53:00 18:51:01 80004 0 733668 38.99 2620 1065252 1499316 51.17 603756 968772 30400 18:53:00 18:52:01 139944 0 790084 41.99 1492 950024 1378248 47.04 563836 855124 20 18:53:00 Average: 159476 0 643484 34.20 2507 1076077 1153220 39.36 454970 1054500 3054 18:53:00 18:53:00 18:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:53:00 18:43:01 eth0 72.07 56.04 344.46 14.28 0.00 0.00 0.00 0.00 18:53:00 18:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:43:01 docker0 2.69 2.44 0.51 5.22 0.00 0.00 0.00 0.00 18:53:00 18:44:01 eth0 3.71 1.18 2.01 0.26 0.00 0.00 0.00 0.00 18:53:00 18:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:45:01 eth0 1.68 0.67 0.66 0.37 0.00 0.00 0.00 0.00 18:53:00 18:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:46:01 eth0 1.58 0.80 0.61 0.41 0.00 0.00 0.00 0.00 18:53:00 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:47:01 eth0 0.95 0.18 0.14 0.10 0.00 0.00 0.00 0.00 18:53:00 18:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:48:01 eth0 2.72 0.80 0.73 0.38 0.00 0.00 0.00 0.00 18:53:00 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:49:01 eth0 1.75 0.60 0.63 0.40 0.00 0.00 0.00 0.00 18:53:00 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:50:02 eth0 1.32 0.53 0.58 0.39 0.00 0.00 0.00 0.00 18:53:00 18:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:51:01 eth0 457.41 402.28 4139.32 39.36 0.00 0.00 0.00 0.00 18:53:00 18:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:52:01 eth0 471.29 403.23 3608.25 70.81 0.00 0.00 0.00 0.00 18:53:00 18:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:52:01 veth5079cf4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 18:52:01 docker0 62.56 66.92 5.03 382.10 0.00 0.00 0.00 0.00 18:53:00 Average: eth0 101.00 86.24 805.75 12.64 0.00 0.00 0.00 0.00 18:53:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 Average: veth5079cf4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:53:00 Average: docker0 6.55 6.96 0.56 38.89 0.00 0.00 0.00 0.00 18:53:00 18:53:00 18:53:00 ---> sar -P ALL: 18:53:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/17/21 _x86_64_ (4 CPU) 18:53:00 18:53:00 18:41:17 LINUX RESTART (4 CPU) 18:53:00 18:53:00 18:42:02 CPU %user %nice %system %iowait %steal %idle 18:53:00 18:43:01 all 2.25 0.00 1.68 0.50 0.01 95.55 18:53:00 18:43:01 0 2.05 0.00 1.82 0.20 0.02 95.91 18:53:00 18:43:01 1 2.52 0.00 1.41 0.44 0.00 95.62 18:53:00 18:43:01 2 2.23 0.00 1.72 1.28 0.02 94.75 18:53:00 18:43:01 3 2.20 0.00 1.77 0.09 0.02 95.93 18:53:00 18:44:01 all 0.16 0.00 0.04 0.00 0.00 99.80 18:53:00 18:44:01 0 0.05 0.00 0.03 0.00 0.00 99.92 18:53:00 18:44:01 1 0.43 0.00 0.05 0.00 0.00 99.52 18:53:00 18:44:01 2 0.07 0.00 0.03 0.00 0.00 99.90 18:53:00 18:44:01 3 0.08 0.00 0.05 0.00 0.00 99.87 18:53:00 18:45:01 all 0.14 0.00 0.04 0.00 0.00 99.82 18:53:00 18:45:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:53:00 18:45:01 1 0.35 0.00 0.08 0.00 0.00 99.57 18:53:00 18:45:01 2 0.08 0.00 0.03 0.00 0.00 99.88 18:53:00 18:45:01 3 0.12 0.00 0.03 0.00 0.00 99.85 18:53:00 18:46:01 all 0.17 0.00 0.04 0.00 0.01 99.78 18:53:00 18:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:53:00 18:46:01 1 0.27 0.00 0.05 0.00 0.02 99.67 18:53:00 18:46:01 2 0.33 0.00 0.05 0.00 0.02 99.60 18:53:00 18:46:01 3 0.03 0.00 0.03 0.00 0.02 99.92 18:53:00 18:47:01 all 0.18 0.00 0.11 0.00 0.01 99.70 18:53:00 18:47:01 0 0.05 0.00 0.10 0.00 0.02 99.83 18:53:00 18:47:01 1 0.07 0.00 0.18 0.00 0.00 99.75 18:53:00 18:47:01 2 0.55 0.00 0.10 0.00 0.02 99.33 18:53:00 18:47:01 3 0.07 0.00 0.07 0.00 0.00 99.87 18:53:00 18:48:01 all 0.18 0.00 0.05 0.00 0.00 99.77 18:53:00 18:48:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:53:00 18:48:01 1 0.10 0.00 0.13 0.00 0.00 99.77 18:53:00 18:48:01 2 0.53 0.00 0.02 0.00 0.00 99.45 18:53:00 18:48:01 3 0.03 0.00 0.03 0.00 0.00 99.93 18:53:00 18:49:01 all 0.18 0.00 0.04 0.00 0.00 99.78 18:53:00 18:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:53:00 18:49:01 1 0.10 0.00 0.05 0.00 0.00 99.85 18:53:00 18:49:01 2 0.53 0.00 0.02 0.00 0.00 99.45 18:53:00 18:49:01 3 0.05 0.00 0.05 0.00 0.00 99.90 18:53:00 18:50:02 all 0.15 0.00 0.03 0.00 0.00 99.81 18:53:00 18:50:02 0 0.02 0.00 0.02 0.00 0.00 99.97 18:53:00 18:50:02 1 0.32 0.00 0.05 0.00 0.00 99.63 18:53:00 18:50:02 2 0.27 0.00 0.05 0.00 0.00 99.68 18:53:00 18:50:02 3 0.02 0.00 0.02 0.00 0.00 99.97 18:53:00 18:51:01 all 3.69 0.00 2.14 0.05 0.02 94.10 18:53:00 18:51:01 0 3.55 0.00 2.31 0.03 0.00 94.10 18:53:00 18:51:01 1 3.73 0.00 2.27 0.10 0.03 93.87 18:53:00 18:51:01 2 3.86 0.00 2.06 0.07 0.02 93.99 18:53:00 18:51:01 3 3.63 0.00 1.91 0.00 0.03 94.42 18:53:00 18:52:01 all 15.28 0.00 9.61 6.38 0.17 68.57 18:53:00 18:52:01 0 15.11 0.00 9.88 4.07 0.14 70.80 18:53:00 18:52:01 1 14.35 0.00 9.56 11.92 0.17 64.00 18:53:00 18:52:01 2 16.21 0.00 8.92 4.61 0.22 70.04 18:53:00 18:52:01 3 15.44 0.00 10.07 4.91 0.16 69.42 18:53:00 Average: all 2.19 0.00 1.35 0.68 0.02 95.76 18:53:00 Average: 0 2.05 0.00 1.39 0.42 0.02 96.12 18:53:00 Average: 1 2.18 0.00 1.36 1.22 0.02 95.23 18:53:00 Average: 2 2.42 0.00 1.27 0.58 0.03 95.69 18:53:00 Average: 3 2.12 0.00 1.37 0.49 0.02 96.00 18:53:00 18:53:00 18:53:00