Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 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-ssh4459278843537676367.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-ssh7778740829022604151.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-ssh3747311007663782674.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-ssh8435229399682358613.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-ssh6377872260941650585.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-14866 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 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh1195457288647189053.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 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 Commit message: "Merge pull request #245 from lenny-intel/service-keys" > git rev-list --no-walk 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:53:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:53:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:53:35 ========================================================= 22:53:35 EdgeX Global Pipelines Version Info 22:53:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:53:37 ------------------- 22:53:37 stable info: 22:53:37 ------------------- 22:53:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:53:37 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:53:37 Message: update stable to v1.0.192 22:53:37 ------------------- 22:53:37 experimental info: 22:53:37 ------------------- 22:53:37 Commited By: **** collab-it+edgex@linuxfoundation.org 22:53:37 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:53:37 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6ac716 [Pipeline] echo 22:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:38 provisioning config files... 22:53:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6275847328256346099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:39 ---> docker-login.sh 22:53:39 nexus3.edgexfoundry.org:10001 22:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:39 Configure a credential helper to remove this warning. See 22:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:39 22:53:39 Login Succeeded 22:53:39 nexus3.edgexfoundry.org:10002 22:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:39 Configure a credential helper to remove this warning. See 22:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:39 22:53:39 Login Succeeded 22:53:39 nexus3.edgexfoundry.org:10003 22:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:39 Configure a credential helper to remove this warning. See 22:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:39 22:53:39 Login Succeeded 22:53:39 nexus3.edgexfoundry.org:10004 22:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:40 Configure a credential helper to remove this warning. See 22:53:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:40 22:53:40 Login Succeeded 22:53:40 docker.io 22:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:40 Configure a credential helper to remove this warning. See 22:53:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:40 22:53:40 Login Succeeded 22:53:40 ---> docker-login.sh ends [Pipeline] } 22:53:40 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 22:53:40 + git log --format=format:%s -1 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] echo 22:53:40 GIT_COMMIT: a6ac7160ae92fa64df8ae0bff4a3b87682483d1e, Commit Message: Merge pull request #245 from lenny-intel/service-keys [Pipeline] echo 22:53:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:53:42 22:53:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:53:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:53:42 latest: Pulling from edgex-devops/git-semver 22:53:42 31603596830f: Pulling fs layer 22:53:42 54011a49482f: Pulling fs layer 22:53:42 a6820b24f6d8: Pulling fs layer 22:53:42 f581987b2513: Pulling fs layer 22:53:42 f581987b2513: Waiting 22:53:42 54011a49482f: Verifying Checksum 22:53:42 54011a49482f: Download complete 22:53:42 31603596830f: Verifying Checksum 22:53:42 31603596830f: Download complete 22:53:42 f581987b2513: Verifying Checksum 22:53:42 f581987b2513: Download complete 22:53:42 a6820b24f6d8: Verifying Checksum 22:53:42 a6820b24f6d8: Download complete 22:53:42 31603596830f: Pull complete 22:53:42 54011a49482f: Pull complete 22:53:43 a6820b24f6d8: Pull complete 22:53:43 f581987b2513: Pull complete 22:53:43 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:53:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:53:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:53:43 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 22:53:43 $ 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 22:53:45 $ docker top edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:53:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:45 [ssh-agent] Looking for ssh-agent implementation... 22:53:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:45 $ docker exec edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent 22:53:45 SSH_AUTH_SOCK=/tmp/ssh-i76SJJ8n6awt/agent.13 22:53:45 SSH_AGENT_PID=19 22:53:45 Running ssh-add (command line suppressed) 22:53:45 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_689875836714280215.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_689875836714280215.key) 22:53:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:45 + git tag --points-at HEAD [Pipeline] } 22:53:45 $ docker exec --env ******** --env ******** edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent -k 22:53:46 unset SSH_AUTH_SOCK; 22:53:46 unset SSH_AGENT_PID; 22:53:46 echo Agent pid 19 killed; 22:53:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:46 [ssh-agent] Looking for ssh-agent implementation... 22:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:46 $ docker exec edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent 22:53:46 SSH_AUTH_SOCK=/tmp/ssh-5Rup2gKVrnsm/agent.52 22:53:46 SSH_AGENT_PID=59 22:53:46 Running ssh-add (command line suppressed) 22:53:46 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5345887201911953485.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5345887201911953485.key) 22:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:46 + git semver init 22:53:46 # -> Open(): unable to determine branch for HEAD 22:53:46 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 22:53:46 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 22:53:46 # $SEMVER_REMOTE_NAME = origin 22:53:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:53:46 # $SEMVER_USER_NAME = edgex-jenkins 22:53:46 # $SEMVER_BRANCH = master 22:53:46 # $SEMVER_TEMP = /tmp/semver-292928484 22:53:46 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 22:53:47 # '/tmp/semver-292928484' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 22:53:47 # -> Force: false 22:53:47 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 22:53:47 $ docker exec --env ******** --env ******** edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent -k 22:53:47 unset SSH_AUTH_SOCK; 22:53:47 unset SSH_AGENT_PID; 22:53:47 echo Agent pid 59 killed; 22:53:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:53:47 + git semver [Pipeline] } 22:53:47 $ docker stop --time=1 edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b 22:53:48 $ docker rm -f edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b [Pipeline] // withDockerContainer [Pipeline] sh 22:53:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:53:49 Stashed 1 file(s) [Pipeline] echo 22:53:49 [edgeXSemver]: initialized semver on version 1.3.2-dev.10 [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 22:54:04 Still waiting to schedule task 22:54:04 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 22:54:04 ‘prd-centos7-docker-4c-2g-14867’ is offline 22:54:04 ‘prd-centos7-docker-4c-2g-309’ is offline 22:54:04 Still waiting to schedule task 22:54:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:55:38 Running on prd-centos7-docker-4c-2g-14872 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 22:55:38 Running in /w/workspace/device-modbus-go/49 [Pipeline] { [Pipeline] checkout 22:55:38 Selected Git installation does not exist. Using Default 22:55:38 The recommended git tool is: NONE 22:55:40 using credential edgex-jenkins-ssh 22:55:40 Cloning the remote Git repository 22:55:40 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:55:40 > git init /w/workspace/device-modbus-go/49 # timeout=10 22:55:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:55:40 > git --version # timeout=10 22:55:40 > git --version # 'git version 2.24.4' 22:55:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:41 Avoid second fetch 22:55:41 Checking out Revision a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (master) 22:55:41 [INFO] Currently running in a labeled security context 22:55:41 [INFO] Currently SELinux is 'enforcing' on the host 22:55:41 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/49@tmp/jenkins-gitclient-ssh5187943820382397637.key 22:55:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:55:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:41 > git config core.sparsecheckout # timeout=10 22:55:41 > git checkout -f a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 22:55:45 Commit message: "Merge pull request #245 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:55:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:55:47 + true 22:55:47 + sudo service docker restart 22:55:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:05 provisioning config files... 22:56:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config1447678501261409878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:05 ---> docker-login.sh 22:56:05 nexus3.edgexfoundry.org:10001 22:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:05 Configure a credential helper to remove this warning. See 22:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:05 22:56:05 Login Succeeded 22:56:05 nexus3.edgexfoundry.org:10002 22:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:05 Configure a credential helper to remove this warning. See 22:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:05 22:56:05 Login Succeeded 22:56:05 nexus3.edgexfoundry.org:10003 22:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:06 Configure a credential helper to remove this warning. See 22:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:06 22:56:06 Login Succeeded 22:56:06 nexus3.edgexfoundry.org:10004 22:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:06 Configure a credential helper to remove this warning. See 22:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:06 22:56:06 Login Succeeded 22:56:06 docker.io 22:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:06 Configure a credential helper to remove this warning. See 22:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:06 22:56:06 Login Succeeded 22:56:06 ---> docker-login.sh ends [Pipeline] } 22:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:06 ========================================================= 22:56:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:56:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:56:06 + 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 . 22:56:06 Sending build context to Docker daemon 593.9kB 22:56:06 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:56:06 Step 2/8 : FROM ${BASE} 22:56:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:56:06 540db60ca938: Pulling fs layer 22:56:06 adcc1eea9eea: Pulling fs layer 22:56:06 4c4ab2625f07: Pulling fs layer 22:56:06 0510c868ecb4: Pulling fs layer 22:56:06 afea3b2eda06: Pulling fs layer 22:56:06 7809a108b3ef: Pulling fs layer 22:56:06 f706445af74f: Pulling fs layer 22:56:06 afea3b2eda06: Waiting 22:56:06 7809a108b3ef: Waiting 22:56:06 f706445af74f: Waiting 22:56:06 0510c868ecb4: Waiting 22:56:06 4c4ab2625f07: Verifying Checksum 22:56:06 4c4ab2625f07: Download complete 22:56:06 adcc1eea9eea: Verifying Checksum 22:56:06 adcc1eea9eea: Download complete 22:56:06 afea3b2eda06: Verifying Checksum 22:56:06 afea3b2eda06: Download complete 22:56:06 7809a108b3ef: Verifying Checksum 22:56:06 7809a108b3ef: Download complete 22:56:06 540db60ca938: Verifying Checksum 22:56:06 540db60ca938: Download complete 22:56:07 540db60ca938: Pull complete 22:56:07 adcc1eea9eea: Pull complete 22:56:07 4c4ab2625f07: Pull complete 22:56:08 f706445af74f: Verifying Checksum 22:56:08 f706445af74f: Download complete 22:56:09 0510c868ecb4: Verifying Checksum 22:56:09 0510c868ecb4: Download complete 22:56:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14869 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 22:56:09 Running in /w/workspace/device-modbus-go/49 [Pipeline] { [Pipeline] checkout 22:56:09 Selected Git installation does not exist. Using Default 22:56:09 The recommended git tool is: NONE 22:56:12 0510c868ecb4: Pull complete 22:56:12 afea3b2eda06: Pull complete 22:56:12 7809a108b3ef: Pull complete 22:56:13 f706445af74f: Pull complete 22:56:13 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:56:13 ---> b068be0155e3 22:56:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:56:15 using credential edgex-jenkins-ssh 22:56:15 Cloning the remote Git repository 22:56:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:56:15 > git init /w/workspace/device-modbus-go/49 # timeout=10 22:56:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:56:15 > git --version # timeout=10 22:56:15 > git --version # 'git version 2.17.1' 22:56:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:16 Avoid second fetch 22:56:16 Checking out Revision a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (master) 22:56:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:56:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:16 > git config core.sparsecheckout # timeout=10 22:56:16 > git checkout -f a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 22:56:19 ---> Running in 3cc16f930346 22:56:19 Removing intermediate container 3cc16f930346 22:56:19 ---> b73d0960ad2a 22:56:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:19 ---> Running in 19efce69be56 22:56:19 Removing intermediate container 19efce69be56 22:56:19 ---> edff4564e06d 22:56:19 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:56:19 ---> Running in 4a01efd96b9f 22:56:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:56:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:56:21 Commit message: "Merge pull request #245 from lenny-intel/service-keys" 22:56:21 (1/13) Installing libc-dev (0.7.2-r3) 22:56:21 (2/13) Installing libsodium (1.0.18-r0) 22:56:21 (3/13) Installing pkgconf (1.7.3-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 22:56:21 (4/13) Installing libsodium-dev (1.0.18-r0) 22:56:21 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:56:21 (6/13) Installing libedit (20191231.3.1-r1) [Pipeline] sh 22:56:21 (7/13) Installing openssh-client (8.4_p1-r3) 22:56:21 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:56:21 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:56:21 (10/13) Installing openssh-server (8.4_p1-r3) 22:56:22 (11/13) Installing openssh (8.4_p1-r3) 22:56:22 (12/13) Installing libzmq (4.3.3-r1) 22:56:22 (13/13) Installing zeromq-dev (4.3.3-r1) 22:56:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:56:22 Executing busybox-1.32.1-r6.trigger 22:56:22 OK: 156 MiB in 53 packages 22:56:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:56:22 Removing intermediate container 4a01efd96b9f 22:56:22 ---> 5999d8ec5b92 22:56:22 Step 6/8 : WORKDIR /device-modbus-go 22:56:22 ---> Running in 42beff3a98a7 22:56:22 Removing intermediate container 42beff3a98a7 22:56:22 ---> fdc439dac0d2 22:56:22 Step 7/8 : COPY . . 22:56:23 + + sudo service dockertrue restart 22:56:23 22:56:23 ---> 4850ce381831 22:56:23 Step 8/8 : RUN go mod download 22:56:23 ---> Running in 3bda92995366 22:56:35 Removing intermediate container 3bda92995366 22:56:35 ---> 9a3b5cc994a6 22:56:35 Successfully built 9a3b5cc994a6 22:56:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:56:36 + docker inspect -f . ci-base-image-x86_64 22:56:36 . [Pipeline] withDockerContainer 22:56:36 prd-centos7-docker-4c-2g-14872 does not seem to be running inside a container 22:56:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-x86_64 cat 22:56:36 $ docker top bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:36 + go version 22:56:36 go version go1.16.3 linux/amd64 [Pipeline] } 22:56:36 $ docker stop --time=1 bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 22:56:38 $ docker rm -f bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:56:38 + docker inspect -f . ci-base-image-x86_64 22:56:38 . [Pipeline] withDockerContainer 22:56:38 prd-centos7-docker-4c-2g-14872 does not seem to be running inside a container 22:56:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-x86_64 cat 22:56:39 $ docker top 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:39 + go mod tidy [Pipeline] sh 22:56:40 + make test 22:56:40 go mod tidy 22:56:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:56:40 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:41 provisioning config files... 22:56:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config5123558558662593249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:41 ---> docker-login.sh 22:56:41 nexus3.edgexfoundry.org:10001 22:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:43 Configure a credential helper to remove this warning. See 22:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:43 22:56:43 Login Succeeded 22:56:43 nexus3.edgexfoundry.org:10002 22:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:43 Configure a credential helper to remove this warning. See 22:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:43 22:56:43 Login Succeeded 22:56:43 nexus3.edgexfoundry.org:10003 22:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:43 Configure a credential helper to remove this warning. See 22:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:43 22:56:43 Login Succeeded 22:56:43 nexus3.edgexfoundry.org:10004 22:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:44 Configure a credential helper to remove this warning. See 22:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:44 22:56:44 Login Succeeded 22:56:44 docker.io 22:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:45 Configure a credential helper to remove this warning. See 22:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:45 22:56:45 Login Succeeded 22:56:45 ---> docker-login.sh ends [Pipeline] } 22:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:45 ========================================================= 22:56:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:56:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:56:46 + 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 . 22:56:46 Sending build context to Docker daemon 592.9kB 22:56:46 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:56:46 Step 2/8 : FROM ${BASE} 22:56:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:56:46 595b0fe564bb: Pulling fs layer 22:56:46 7186ed65a4f7: Pulling fs layer 22:56:46 316046926c0a: Pulling fs layer 22:56:46 4ebd0625c992: Pulling fs layer 22:56:46 207e8628e3a3: Pulling fs layer 22:56:46 c791037a9be2: Pulling fs layer 22:56:46 ffd874e62e21: Pulling fs layer 22:56:46 207e8628e3a3: Waiting 22:56:46 c791037a9be2: Waiting 22:56:46 ffd874e62e21: Waiting 22:56:46 316046926c0a: Download complete 22:56:46 7186ed65a4f7: Verifying Checksum 22:56:46 7186ed65a4f7: Download complete 22:56:46 207e8628e3a3: Verifying Checksum 22:56:46 207e8628e3a3: Download complete 22:56:46 c791037a9be2: Verifying Checksum 22:56:46 c791037a9be2: Download complete 22:56:46 595b0fe564bb: Verifying Checksum 22:56:46 595b0fe564bb: Download complete 22:56:47 595b0fe564bb: Pull complete 22:56:48 7186ed65a4f7: Pull complete 22:56:48 316046926c0a: Pull complete 22:56:49 ffd874e62e21: Verifying Checksum 22:56:49 ffd874e62e21: Download complete 22:56:51 4ebd0625c992: Verifying Checksum 22:56:51 4ebd0625c992: Download complete 22:56:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:56:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements 22:56:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:57:01 4ebd0625c992: Pull complete 22:57:01 207e8628e3a3: Pull complete 22:57:01 c791037a9be2: Pull complete 22:57:04 gofmt -l . 22:57:04 [ "`gofmt -l .`" = "" ] 22:57:04 ./bin/test-attribution-txt.sh 22:57:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:57:04 $ docker stop --time=1 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 22:57:06 ffd874e62e21: Pull complete 22:57:06 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:57:06 ---> cfc18b08335c 22:57:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:57:06 $ docker rm -f 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:57:07 ---> Running in 4996a167d1f6 22:57:07 Removing intermediate container 4996a167d1f6 22:57:07 ---> 2487689157ba 22:57:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:07 ---> Running in 63c93df9b50e [Pipeline] sh 22:57:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:09 + ls -al . 22:57:09 total 112 22:57:09 drwxrwxr-x. 9 jenkins jenkins 4096 May 18 22:57 . 22:57:09 drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:55 .. 22:57:09 -rw-rw-r--. 1 jenkins jenkins 7707 May 18 22:55 Attribution.txt 22:57:09 drwxrwxr-x. 2 jenkins jenkins 87 May 18 22:55 bin 22:57:09 drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:55 cmd 22:57:09 -rw-r--r--. 1 jenkins jenkins 22385 May 18 22:56 coverage.out 22:57:09 -rw-rw-r--. 1 jenkins jenkins 1473 May 18 22:55 Dockerfile 22:57:09 -rw-rw-r--. 1 jenkins jenkins 995 May 18 22:55 Dockerfile.build 22:57:09 -rw-rw-r--. 1 jenkins jenkins 140 May 18 22:55 .dockerignore 22:57:09 drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:55 .git 22:57:09 drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:55 .github 22:57:09 -rw-rw-r--. 1 jenkins jenkins 338 May 18 22:55 .gitignore 22:57:09 -rw-r--r--. 1 jenkins jenkins 413 May 18 22:57 go.mod 22:57:09 -rw-r--r--. 1 jenkins jenkins 21834 May 18 22:56 go.sum 22:57:09 drwxrwxr-x. 3 jenkins jenkins 20 May 18 22:55 internal 22:57:09 -rw-rw-r--. 1 jenkins jenkins 679 May 18 22:55 Jenkinsfile 22:57:09 -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:55 LICENSE 22:57:09 -rw-rw-r--. 1 jenkins jenkins 914 May 18 22:55 Makefile 22:57:09 -rw-rw-r--. 1 jenkins jenkins 2897 May 18 22:55 README.md 22:57:09 drwxrwxr-x. 2 jenkins jenkins 52 May 18 22:55 simulator 22:57:09 drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:55 snap 22:57:09 -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:53 VERSION 22:57:09 -rw-rw-r--. 1 jenkins jenkins 229 May 18 22:55 version.go [Pipeline] isUnix [Pipeline] sh 22:57:10 + 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=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e --label arch=amd64 --label version=1.3.2-dev.10 . 22:57:10 Sending build context to Docker daemon 617kB 22:57:10 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 22:57:10 Step 2/22 : FROM ${BASE} AS builder 22:57:10 ---> 9a3b5cc994a6 22:57:10 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:10 ---> Running in 529bdb02ea29 22:57:10 Removing intermediate container 63c93df9b50e 22:57:10 ---> 7cc743361076 22:57:10 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:57:10 ---> Running in 2ffca538c14a 22:57:10 Removing intermediate container 529bdb02ea29 22:57:10 ---> 3cc66d29c594 22:57:10 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:57:10 ---> Running in 6665353a1c1d 22:57:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:57:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:57:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:57:12 OK: 156 MiB in 53 packages 22:57:12 Removing intermediate container 6665353a1c1d 22:57:12 ---> 42e36b112329 22:57:12 Step 5/22 : WORKDIR /device-modbus-go 22:57:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:57:12 ---> Running in 6dc39315823d 22:57:12 Removing intermediate container 6dc39315823d 22:57:12 ---> 0e2cfcd98347 22:57:12 Step 6/22 : COPY . . 22:57:13 (1/13) Installing libc-dev (0.7.2-r3) 22:57:13 ---> 807b3cb98023 22:57:13 Step 7/22 : RUN go mod tidy 22:57:13 ---> Running in 79254d70db74 22:57:13 (2/13) Installing libsodium (1.0.18-r0) 22:57:13 (3/13) Installing pkgconf (1.7.3-r0) 22:57:13 (4/13) Installing libsodium-dev (1.0.18-r0) 22:57:13 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:57:13 Removing intermediate container 79254d70db74 22:57:13 ---> e43a3655c981 22:57:13 Step 8/22 : RUN go mod download 22:57:13 ---> Running in 1b9286fe77b3 22:57:14 (6/13) Installing libedit (20191231.3.1-r1) 22:57:14 Removing intermediate container 1b9286fe77b3 22:57:14 ---> 1db72e429fcc 22:57:14 Step 9/22 : RUN make build 22:57:14 ---> Running in b4398bf4909e 22:57:14 (7/13) Installing openssh-client (8.4_p1-r3) 22:57:14 go mod tidy 22:57:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.10" -o cmd/device-modbus ./cmd 22:57:15 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:57:15 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:57:15 (10/13) Installing openssh-server (8.4_p1-r3) 22:57:15 (11/13) Installing openssh (8.4_p1-r3) 22:57:15 (12/13) Installing libzmq (4.3.3-r1) 22:57:15 (13/13) Installing zeromq-dev (4.3.3-r1) 22:57:15 Executing busybox-1.32.1-r6.trigger 22:57:15 OK: 145 MiB in 53 packages 22:57:17 Removing intermediate container 2ffca538c14a 22:57:17 ---> 36eb24e3706f 22:57:17 Step 6/8 : WORKDIR /device-modbus-go 22:57:17 ---> Running in b5c905c75d6b 22:57:18 Removing intermediate container b5c905c75d6b 22:57:18 ---> 9b75d5de1680 22:57:18 Step 7/8 : COPY . . 22:57:19 ---> 89c369828863 22:57:19 Step 8/8 : RUN go mod download 22:57:19 ---> Running in b89ea10c9d31 22:57:27 Removing intermediate container b4398bf4909e 22:57:27 ---> 18a7b7802858 22:57:27 Step 10/22 : FROM alpine:3.12 22:57:27 3.12: Pulling from library/alpine 22:57:27 339de151aab4: Pulling fs layer 22:57:27 339de151aab4: Verifying Checksum 22:57:27 339de151aab4: Download complete 22:57:27 339de151aab4: Pull complete 22:57:27 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:57:27 Status: Downloaded newer image for alpine:3.12 22:57:27 ---> 13621d1b12d4 22:57:27 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:57:27 ---> Running in 66b275905883 22:57:27 Removing intermediate container 66b275905883 22:57:27 ---> 536b913c0ae9 22:57:27 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:27 ---> Running in 02dd8821ebe1 22:57:27 Removing intermediate container 02dd8821ebe1 22:57:27 ---> 0386a2eb0730 22:57:27 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 22:57:27 ---> Running in ad6c6ce66d2c 22:57:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:57:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:57:28 (1/6) Installing dumb-init (1.2.2-r1) 22:57:28 (2/6) Installing libgcc (9.3.0-r2) 22:57:28 (3/6) Installing libsodium (1.0.18-r0) 22:57:29 (4/6) Installing libstdc++ (9.3.0-r2) 22:57:30 (5/6) Installing libzmq (4.3.3-r0) 22:57:30 (6/6) Installing zeromq (4.3.3-r0) 22:57:30 Executing busybox-1.31.1-r20.trigger 22:57:30 OK: 8 MiB in 20 packages 22:57:30 Removing intermediate container ad6c6ce66d2c 22:57:30 ---> 8b4b969ac1b1 22:57:30 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:57:31 ---> 3ec4587dc765 22:57:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:57:31 ---> 8b998a75bd38 22:57:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:57:31 ---> d38ad819c530 22:57:31 Step 17/22 : EXPOSE 49991 22:57:31 ---> Running in 6bc6f9a8b42f 22:57:31 Removing intermediate container 6bc6f9a8b42f 22:57:31 ---> 4e7ec08d9624 22:57:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:57:31 ---> Running in f0710dd93b9c 22:57:31 Removing intermediate container f0710dd93b9c 22:57:31 ---> 4166a6622b37 22:57:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:57:31 ---> Running in 9c002f72e0bb 22:57:31 Removing intermediate container 9c002f72e0bb 22:57:31 ---> ca353db860b2 22:57:31 Step 20/22 : LABEL arch=amd64 22:57:31 ---> Running in 16b78eabe012 22:57:31 Removing intermediate container 16b78eabe012 22:57:31 ---> dae21d238ffe 22:57:31 Step 21/22 : LABEL git_sha=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 22:57:31 ---> Running in bc7963e089fe 22:57:31 Removing intermediate container bc7963e089fe 22:57:31 ---> 9dc340bc13ff 22:57:31 Step 22/22 : LABEL version=1.3.2-dev.10 22:57:31 ---> Running in 291790fd73f8 22:57:32 Removing intermediate container 291790fd73f8 22:57:32 ---> 6961ff85da06 22:57:32 [Warning] One or more build-args [MAKE ARCH] were not consumed 22:57:32 Successfully built 6961ff85da06 22:57:32 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:32 provisioning config files... 22:57:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config1250645378994897261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:32 ---> docker-login.sh 22:57:32 nexus3.edgexfoundry.org:10001 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 nexus3.edgexfoundry.org:10002 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 nexus3.edgexfoundry.org:10003 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 nexus3.edgexfoundry.org:10004 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:33 Configure a credential helper to remove this warning. See 22:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:33 22:57:33 Login Succeeded 22:57:33 docker.io 22:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:33 Configure a credential helper to remove this warning. See 22:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:33 22:57:33 Login Succeeded 22:57:33 ---> docker-login.sh ends [Pipeline] } 22:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:33 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:57:33 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 22:57:33 latest 22:57:33 1.3.2-dev.10 22:57:33 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 22:57:33 master 22:57:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:33 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh 22:57:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 22:57:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:57:34 1cf3dbe8e4dc: Preparing 22:57:34 aa3b804eb01b: Preparing 22:57:34 e6a557cce87c: Preparing 22:57:34 388db6b3a360: Preparing 22:57:34 d18431569faf: Preparing 22:57:34 32f366d666a5: Preparing 22:57:34 32f366d666a5: Waiting 22:57:34 aa3b804eb01b: Pushed 22:57:34 1cf3dbe8e4dc: Pushed 22:57:34 388db6b3a360: Pushed 22:57:34 d18431569faf: Pushed 22:57:34 32f366d666a5: Layer already exists 22:57:35 e6a557cce87c: Pushed 22:57:35 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 22:57:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 22:57:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 22:57:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:57:36 1cf3dbe8e4dc: Preparing 22:57:36 aa3b804eb01b: Preparing 22:57:36 e6a557cce87c: Preparing 22:57:36 388db6b3a360: Preparing 22:57:36 d18431569faf: Preparing 22:57:36 32f366d666a5: Preparing 22:57:36 32f366d666a5: Waiting 22:57:36 e6a557cce87c: Layer already exists 22:57:36 aa3b804eb01b: Layer already exists 22:57:36 d18431569faf: Layer already exists 22:57:36 388db6b3a360: Layer already exists 22:57:36 1cf3dbe8e4dc: Layer already exists 22:57:36 32f366d666a5: Layer already exists 22:57:36 latest: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 22:57:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 22:57:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 22:57:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:57:36 1cf3dbe8e4dc: Preparing 22:57:36 aa3b804eb01b: Preparing 22:57:36 e6a557cce87c: Preparing 22:57:36 388db6b3a360: Preparing 22:57:36 d18431569faf: Preparing 22:57:36 32f366d666a5: Preparing 22:57:36 32f366d666a5: Waiting 22:57:36 388db6b3a360: Layer already exists 22:57:36 d18431569faf: Layer already exists 22:57:36 1cf3dbe8e4dc: Layer already exists 22:57:36 aa3b804eb01b: Layer already exists 22:57:36 e6a557cce87c: Layer already exists 22:57:36 32f366d666a5: Layer already exists 22:57:36 1.3.2-dev.10: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 22:57:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 22:57:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 22:57:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:57:37 1cf3dbe8e4dc: Preparing 22:57:37 aa3b804eb01b: Preparing 22:57:37 e6a557cce87c: Preparing 22:57:37 388db6b3a360: Preparing 22:57:37 d18431569faf: Preparing 22:57:37 32f366d666a5: Preparing 22:57:37 32f366d666a5: Waiting 22:57:37 388db6b3a360: Layer already exists 22:57:37 aa3b804eb01b: Layer already exists 22:57:37 d18431569faf: Layer already exists 22:57:37 1cf3dbe8e4dc: Layer already exists 22:57:37 e6a557cce87c: Layer already exists 22:57:37 32f366d666a5: Layer already exists 22:57:37 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 22:57:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 22:57:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 22:57:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:57:38 1cf3dbe8e4dc: Preparing 22:57:38 aa3b804eb01b: Preparing 22:57:38 e6a557cce87c: Preparing 22:57:38 388db6b3a360: Preparing 22:57:38 d18431569faf: Preparing 22:57:38 32f366d666a5: Preparing 22:57:38 32f366d666a5: Waiting 22:57:38 1cf3dbe8e4dc: Layer already exists 22:57:38 aa3b804eb01b: Layer already exists 22:57:38 d18431569faf: Layer already exists 22:57:38 e6a557cce87c: Layer already exists 22:57:38 388db6b3a360: Layer already exists 22:57:38 32f366d666a5: Layer already exists 22:57:38 master: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:38 ===================================================== [Pipeline] echo 22:57:38 taggedImages: 22:57:38 - nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 22:57:38 - nexus3.edgexfoundry.org:10004/device-modbus:latest 22:57:38 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 22:57:38 - nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 22:57:38 - 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 22:57:39 ---> job-cost.sh 22:57:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-09Ne 22:57:46 Removing intermediate container b89ea10c9d31 22:57:46 ---> e47b94e7a896 22:57:46 Successfully built e47b94e7a896 22:57:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:57:46 + docker inspect -f . ci-base-image-arm64 22:57:46 . [Pipeline] withDockerContainer 22:57:46 prd-ubuntu18.04-docker-arm64-4c-16g-14869 does not seem to be running inside a container 22:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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 22:57:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:57:48 $ docker top 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:49 + go version 22:57:49 go version go1.16.3 linux/arm64 [Pipeline] } 22:57:49 $ docker stop --time=1 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 22:57:50 $ docker rm -f 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:51 + docker inspect -f . ci-base-image-arm64 22:57:51 . [Pipeline] withDockerContainer 22:57:51 prd-ubuntu18.04-docker-arm64-4c-16g-14869 does not seem to be running inside a container 22:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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 22:57:53 $ docker top 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:54 + go mod tidy [Pipeline] sh 22:57:55 + make test 22:57:55 go mod tidy 22:57:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:57:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:58:02 lf-activate-venv(): INFO: Adding /tmp/venv-09Ne/bin to PATH 22:58:02 INFO: No Stack... 22:58:02 INFO: Retrieving Pricing Info for: v3-standard-2 22:58:02 INFO: Archiving Costs [Pipeline] sh 22:58:02 + cat /w/workspace/device-modbus-go/49/archives/cost.csv 22:58:02 + cut -d, -f6 [Pipeline] lock 22:58:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] 22:58:02 Resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] did not exist. Created. 22:58:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:02 + echo total: 0.05999999865889549 [Pipeline] stash 22:58:02 Stashed 1 file(s) [Pipeline] } 22:58:02 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:58:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:58:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.7% of statements 22:58:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:59:16 gofmt -l . 22:59:16 [ "`gofmt -l .`" = "" ] 22:59:16 ./bin/test-attribution-txt.sh 22:59:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:59:17 $ docker stop --time=1 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c 22:59:19 $ docker rm -f 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c [Pipeline] // withDockerContainer [Pipeline] sh 22:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:59:20 Warning: overwriting stash ‘coverage-report’ 22:59:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:59:21 + ls -al . 22:59:21 total 144 22:59:21 drwxrwxr-x 9 jenkins jenkins 4096 May 18 22:59 . 22:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:56 .. 22:59:21 -rw-rw-r-- 1 jenkins jenkins 140 May 18 22:56 .dockerignore 22:59:21 drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:56 .git 22:59:21 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 .github 22:59:21 -rw-rw-r-- 1 jenkins jenkins 338 May 18 22:56 .gitignore 22:59:21 -rw-rw-r-- 1 jenkins jenkins 7707 May 18 22:56 Attribution.txt 22:59:21 -rw-rw-r-- 1 jenkins jenkins 1473 May 18 22:56 Dockerfile 22:59:21 -rw-rw-r-- 1 jenkins jenkins 995 May 18 22:56 Dockerfile.build 22:59:21 -rw-rw-r-- 1 jenkins jenkins 679 May 18 22:56 Jenkinsfile 22:59:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:56 LICENSE 22:59:21 -rw-rw-r-- 1 jenkins jenkins 914 May 18 22:56 Makefile 22:59:21 -rw-rw-r-- 1 jenkins jenkins 2897 May 18 22:56 README.md 22:59:21 -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:53 VERSION 22:59:21 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 bin 22:59:21 drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:56 cmd 22:59:21 -rw-r--r-- 1 jenkins jenkins 22385 May 18 22:58 coverage.out 22:59:21 -rw-r--r-- 1 jenkins jenkins 413 May 18 22:59 go.mod 22:59:21 -rw-r--r-- 1 jenkins jenkins 21834 May 18 22:57 go.sum 22:59:21 drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:56 internal 22:59:21 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 simulator 22:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:56 snap 22:59:21 -rw-rw-r-- 1 jenkins jenkins 229 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh 22:59:21 + 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=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e --label arch=arm64 --label version=1.3.2-dev.10 . 22:59:22 Sending build context to Docker daemon 615.9kB 22:59:22 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 22:59:22 Step 2/22 : FROM ${BASE} AS builder 22:59:22 ---> e47b94e7a896 22:59:22 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:59:22 ---> Running in f7f668c7ee95 22:59:25 Removing intermediate container f7f668c7ee95 22:59:25 ---> 033e2e7f0eab 22:59:25 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:59:25 ---> Running in 27d93cbe1cac 22:59:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:59:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:59:27 OK: 145 MiB in 53 packages 22:59:29 Removing intermediate container 27d93cbe1cac 22:59:29 ---> 1c7a14bceed0 22:59:29 Step 5/22 : WORKDIR /device-modbus-go 22:59:29 ---> Running in 38cc25149ce3 22:59:29 Removing intermediate container 38cc25149ce3 22:59:29 ---> 8d0ba27b9941 22:59:29 Step 6/22 : COPY . . 22:59:30 ---> e417036928f7 22:59:30 Step 7/22 : RUN go mod tidy 22:59:30 ---> Running in d4026a490e07 22:59:33 Removing intermediate container d4026a490e07 22:59:33 ---> 45304bbef4b6 22:59:33 Step 8/22 : RUN go mod download 22:59:33 ---> Running in 50fbcef595e7 22:59:36 Removing intermediate container 50fbcef595e7 22:59:36 ---> 8df7b70aa388 22:59:36 Step 9/22 : RUN make build 22:59:36 ---> Running in 20892aa31a26 22:59:37 go mod tidy 22:59:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.10" -o cmd/device-modbus ./cmd 23:00:16 Removing intermediate container 20892aa31a26 23:00:16 ---> a7a8e976c017 23:00:16 Step 10/22 : FROM alpine:3.12 23:00:16 3.12: Pulling from library/alpine 23:00:16 d2f70382dc9a: Pulling fs layer 23:00:16 d2f70382dc9a: Verifying Checksum 23:00:16 d2f70382dc9a: Download complete 23:00:16 d2f70382dc9a: Pull complete 23:00:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:00:16 Status: Downloaded newer image for alpine:3.12 23:00:16 ---> 9852663dfa18 23:00:16 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:00:16 ---> Running in 5b9a070883f4 23:00:16 Removing intermediate container 5b9a070883f4 23:00:16 ---> ae012fef427e 23:00:16 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:00:16 ---> Running in 8971d1a22c1f 23:00:17 Removing intermediate container 8971d1a22c1f 23:00:17 ---> ed3e7be440c7 23:00:17 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 23:00:17 ---> Running in 0d2d484ec5c6 23:00:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:00:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:00:19 (1/6) Installing dumb-init (1.2.2-r1) 23:00:19 (2/6) Installing libgcc (9.3.0-r2) 23:00:19 (3/6) Installing libsodium (1.0.18-r0) 23:00:19 (4/6) Installing libstdc++ (9.3.0-r2) 23:00:20 (5/6) Installing libzmq (4.3.3-r0) 23:00:20 (6/6) Installing zeromq (4.3.3-r0) 23:00:20 Executing busybox-1.31.1-r20.trigger 23:00:20 OK: 8 MiB in 20 packages 23:00:21 Removing intermediate container 0d2d484ec5c6 23:00:21 ---> 870fdc37ed50 23:00:21 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:00:22 ---> 731e816e843a 23:00:22 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:00:23 ---> 86344a1ebeae 23:00:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:00:24 ---> d384172c5058 23:00:24 Step 17/22 : EXPOSE 49991 23:00:24 ---> Running in 7ad82ef10f95 23:00:25 Removing intermediate container 7ad82ef10f95 23:00:25 ---> a37714b80813 23:00:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:00:25 ---> Running in 54af73229fad 23:00:25 Removing intermediate container 54af73229fad 23:00:25 ---> 892653a79acd 23:00:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:00:25 ---> Running in e5db88785b9f 23:00:26 Removing intermediate container e5db88785b9f 23:00:26 ---> f8ea2132318f 23:00:26 Step 20/22 : LABEL arch=arm64 23:00:26 ---> Running in b5b2d89926e1 23:00:26 Removing intermediate container b5b2d89926e1 23:00:26 ---> ea9d7d97a511 23:00:26 Step 21/22 : LABEL git_sha=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 23:00:27 ---> Running in c6a64ac4b2d5 23:00:27 Removing intermediate container c6a64ac4b2d5 23:00:27 ---> b22276c19690 23:00:27 Step 22/22 : LABEL version=1.3.2-dev.10 23:00:27 ---> Running in 9b386fc3950a 23:00:28 Removing intermediate container 9b386fc3950a 23:00:28 ---> 3f49c66edf2a 23:00:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 23:00:28 Successfully built 3f49c66edf2a 23:00:28 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 23:00:28 provisioning config files... 23:00:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config5647697256656048551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:28 ---> docker-login.sh 23:00:28 nexus3.edgexfoundry.org:10001 23:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:29 Configure a credential helper to remove this warning. See 23:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:29 23:00:29 Login Succeeded 23:00:29 nexus3.edgexfoundry.org:10002 23:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:30 Configure a credential helper to remove this warning. See 23:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:30 23:00:30 Login Succeeded 23:00:30 nexus3.edgexfoundry.org:10003 23:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:30 Configure a credential helper to remove this warning. See 23:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:30 23:00:30 Login Succeeded 23:00:30 nexus3.edgexfoundry.org:10004 23:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:30 Configure a credential helper to remove this warning. See 23:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:30 23:00:30 Login Succeeded 23:00:30 docker.io 23:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:31 Configure a credential helper to remove this warning. See 23:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:31 23:00:31 Login Succeeded 23:00:31 ---> docker-login.sh ends [Pipeline] } 23:00:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:00:31 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 23:00:31 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 23:00:31 latest 23:00:31 1.3.2-dev.10 23:00:31 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 23:00:31 master 23:00:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh 23:00:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 23:00:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:00:32 e7e1484c44ba: Preparing 23:00:32 bba4e7004a71: Preparing 23:00:32 5cc29ee4c677: Preparing 23:00:32 d2420decf8ab: Preparing 23:00:32 bf1dc65c409a: Preparing 23:00:32 3fbe34a1663b: Preparing 23:00:32 3fbe34a1663b: Waiting 23:00:32 bf1dc65c409a: Pushed 23:00:32 e7e1484c44ba: Pushed 23:00:32 bba4e7004a71: Pushed 23:00:32 3fbe34a1663b: Layer already exists 23:00:33 d2420decf8ab: Pushed 23:00:36 5cc29ee4c677: Pushed 23:00:36 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh 23:00:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:00:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 23:00:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:00:36 e7e1484c44ba: Preparing 23:00:36 bba4e7004a71: Preparing 23:00:36 5cc29ee4c677: Preparing 23:00:36 d2420decf8ab: Preparing 23:00:36 bf1dc65c409a: Preparing 23:00:36 3fbe34a1663b: Preparing 23:00:36 3fbe34a1663b: Waiting 23:00:36 bf1dc65c409a: Layer already exists 23:00:36 d2420decf8ab: Layer already exists 23:00:36 e7e1484c44ba: Layer already exists 23:00:36 5cc29ee4c677: Layer already exists 23:00:36 bba4e7004a71: Layer already exists 23:00:37 3fbe34a1663b: Layer already exists 23:00:37 latest: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh 23:00:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 23:00:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 23:00:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:00:37 e7e1484c44ba: Preparing 23:00:37 bba4e7004a71: Preparing 23:00:37 5cc29ee4c677: Preparing 23:00:37 d2420decf8ab: Preparing 23:00:37 bf1dc65c409a: Preparing 23:00:37 3fbe34a1663b: Preparing 23:00:37 bf1dc65c409a: Layer already exists 23:00:37 d2420decf8ab: Layer already exists 23:00:37 bba4e7004a71: Layer already exists 23:00:37 e7e1484c44ba: Layer already exists 23:00:37 5cc29ee4c677: Layer already exists 23:00:38 3fbe34a1663b: Layer already exists 23:00:38 1.3.2-dev.10: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh 23:00:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 23:00:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 23:00:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:00:39 e7e1484c44ba: Preparing 23:00:39 bba4e7004a71: Preparing 23:00:39 5cc29ee4c677: Preparing 23:00:39 d2420decf8ab: Preparing 23:00:39 bf1dc65c409a: Preparing 23:00:39 3fbe34a1663b: Preparing 23:00:39 bf1dc65c409a: Layer already exists 23:00:39 d2420decf8ab: Layer already exists 23:00:39 bba4e7004a71: Layer already exists 23:00:39 5cc29ee4c677: Layer already exists 23:00:39 e7e1484c44ba: Layer already exists 23:00:39 3fbe34a1663b: Layer already exists 23:00:40 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh 23:00:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 23:00:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 23:00:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:00:40 e7e1484c44ba: Preparing 23:00:40 bba4e7004a71: Preparing 23:00:40 5cc29ee4c677: Preparing 23:00:40 d2420decf8ab: Preparing 23:00:40 bf1dc65c409a: Preparing 23:00:40 3fbe34a1663b: Preparing 23:00:40 3fbe34a1663b: Waiting 23:00:40 e7e1484c44ba: Layer already exists 23:00:40 5cc29ee4c677: Layer already exists 23:00:40 bf1dc65c409a: Layer already exists 23:00:40 bba4e7004a71: Layer already exists 23:00:40 d2420decf8ab: Layer already exists 23:00:41 3fbe34a1663b: Layer already exists 23:00:41 master: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:00:41 ===================================================== [Pipeline] echo 23:00:41 taggedImages: 23:00:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 23:00:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 23:00:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 23:00:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 23:00:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:00:41 ---> job-cost.sh 23:00:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NZFV 23:01:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:02:42 lf-activate-venv(): INFO: Adding /tmp/venv-NZFV/bin to PATH 23:02:42 INFO: No Stack... 23:02:42 INFO: Retrieving Pricing Info for: v2-standard-4 23:02:42 INFO: Archiving Costs [Pipeline] sh 23:02:42 + cat /w/workspace/device-modbus-go/49/archives/cost.csv 23:02:42 + cut -d, -f6 [Pipeline] lock 23:02:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] 23:02:42 Resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] did not exist. Created. 23:02:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:43 /w/workspace/device-modbus-go/49@tmp/durable-19a475ea/script.sh: 1: /w/workspace/device-modbus-go/49@tmp/durable-19a475ea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:02:43 + echo total: 0.18000000715255737 [Pipeline] stash 23:02:43 Warning: overwriting stash ‘stack-cost’ 23:02:43 Stashed 1 file(s) [Pipeline] } 23:02:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-49-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 23:02:44 provisioning config files... 23:02:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6093986620232505965tmp [Pipeline] { [Pipeline] sh 23:02:44 + set +x 23:02:44 + bash -s -- 23:02:44 + curl -s https://codecov.io/bash 23:02:44 23:02:44 _____ _ 23:02:44 / ____| | | 23:02:44 | | ___ __| | ___ ___ _____ __ 23:02:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:02:44 | |___| (_) | (_| | __/ (_| (_) \ V / 23:02:44 \_____\___/ \__,_|\___|\___\___/ \_/ 23:02:44 Bash-1.0.2 23:02:44 23:02:44 23:02:44 ==> git version 2.24.4 found 23:02:44 ==> 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 23:02:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:02:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:02:44 ==> Jenkins CI detected. 23:02:44 project root: . 23:02:44 --> token set from env 23:02:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:02:45 ==> Running gcov in . (disable via -X gcov) 23:02:45 ==> Python coveragepy not found 23:02:45 ==> Searching for coverage reports in: 23:02:45 + . 23:02:45 -> Found 1 reports 23:02:45 ==> Detecting git/mercurial file structure 23:02:45 ==> Reading reports 23:02:45 + ./coverage.out bytes=22385 23:02:45 ==> Appending adjustments 23:02:45 https://docs.codecov.io/docs/fixing-reports 23:02:45 + Found adjustments 23:02:45 ==> Gzipping contents 23:02:45 4.0K /tmp/codecov.r1LTrn.gz 23:02:45 ==> Uploading reports 23:02:45 url: https://codecov.io 23:02:45 query: branch=master&commit=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:02:45 -> Pinging Codecov 23:02:45 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:02:45 -> Uploading to 23:02:45 https://storage.googleapis.com/codecov/v4/raw/2021-05-18/55DBCA73C666E3227836607328DD7E49/a6ac7160ae92fa64df8ae0bff4a3b87682483d1e/52e70209-1df4-4f9f-94ae-ad7bfe6f0cd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4cd14dd2f0fedbc3b3f597ecd69d33192d76f43e1c04df8cbf95896a4662ff4 23:02:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:02:45 Dload Upload Total Spent Left Speed 23:02:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3894 0 0 100 3894 0 10788 --:--:-- --:--:-- --:--:-- 10786 23:02:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] } 23:02:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:02:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:02:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:47 23:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:02:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:02:47 188c0c94c7c5: Pulling fs layer 23:02:47 0ef7d3d256c8: Pulling fs layer 23:02:47 de9db76c5a1d: Pulling fs layer 23:02:47 0eba1c9be4d2: Pulling fs layer 23:02:47 0d57e429df01: Pulling fs layer 23:02:47 4e4be7b47b0d: Pulling fs layer 23:02:47 e1f770b5df2f: Pulling fs layer 23:02:47 85a0685a4137: Pulling fs layer 23:02:47 0d57e429df01: Waiting 23:02:47 4e4be7b47b0d: Waiting 23:02:47 e1f770b5df2f: Waiting 23:02:47 85a0685a4137: Waiting 23:02:47 0eba1c9be4d2: Waiting 23:02:47 de9db76c5a1d: Verifying Checksum 23:02:47 de9db76c5a1d: Download complete 23:02:47 0ef7d3d256c8: Download complete 23:02:47 0d57e429df01: Verifying Checksum 23:02:47 0d57e429df01: Download complete 23:02:47 188c0c94c7c5: Verifying Checksum 23:02:47 188c0c94c7c5: Download complete 23:02:47 4e4be7b47b0d: Verifying Checksum 23:02:47 4e4be7b47b0d: Download complete 23:02:47 188c0c94c7c5: Pull complete 23:02:47 0ef7d3d256c8: Pull complete 23:02:47 de9db76c5a1d: Pull complete 23:02:49 e1f770b5df2f: Verifying Checksum 23:02:49 e1f770b5df2f: Download complete 23:02:51 0eba1c9be4d2: Verifying Checksum 23:02:51 0eba1c9be4d2: Download complete 23:02:51 85a0685a4137: Verifying Checksum 23:02:51 85a0685a4137: Download complete 23:02:54 0eba1c9be4d2: Pull complete 23:02:54 0d57e429df01: Pull complete 23:02:54 4e4be7b47b0d: Pull complete 23:02:54 e1f770b5df2f: Pull complete 23:02:57 85a0685a4137: Pull complete 23:02:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:02:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:02:57 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:02:58 $ 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 23:03:01 $ docker top ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 -eo pid,comm [Pipeline] { [Pipeline] echo 23:03:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:03:01 + set -o pipefail 23:03:01 + snyk monitor '--org=edgex-jenkins' 23:03:09 23:03:09 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 23:03:09 23:03:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/7d4024b3-2c58-4ee7-9fb9-f1300d1e5abf 23:03:09 23:03:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:03:09 23:03:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:03:09 23:03:09 [Pipeline] } 23:03:09 $ docker stop --time=1 ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 23:03:12 $ docker rm -f ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 [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 23:03:12 + git log --format=format:%s -1 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh 23:03:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:03:13 . [Pipeline] withDockerContainer 23:03:13 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:03:13 $ 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 23:03:13 $ docker top 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:13 [ssh-agent] Looking for ssh-agent implementation... 23:03:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:14 $ docker exec 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f ssh-agent 23:03:14 SSH_AUTH_SOCK=/tmp/ssh-op52vAvSqruE/agent.15 23:03:14 SSH_AGENT_PID=22 23:03:14 Running ssh-add (command line suppressed) 23:03:14 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8855493575957303328.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8855493575957303328.key) 23:03:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:14 + git semver tag 23:03:14 # -> Open(): unable to determine branch for HEAD 23:03:14 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 23:03:14 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 23:03:14 # $SEMVER_REMOTE_NAME = origin 23:03:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:03:14 # $SEMVER_USER_NAME = edgex-jenkins 23:03:14 # $SEMVER_BRANCH = master 23:03:14 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 23:03:14 # a6ac7160ae92fa64df8ae0bff4a3b87682483d1e HEAD 23:03:14 # -> Force: false 23:03:14 # 4cd9cd4efa2928de556e8fd69c5624a6dd64232f refs/tags/v1.3.2-dev.10 [Pipeline] } 23:03:14 $ docker exec --env ******** --env ******** 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f ssh-agent -k 23:03:14 unset SSH_AUTH_SOCK; 23:03:14 unset SSH_AGENT_PID; 23:03:14 echo Agent pid 22 killed; 23:03:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:15 + git semver [Pipeline] } 23:03:15 $ docker stop --time=1 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f 23:03:16 $ docker rm -f 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:03:16 23:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:03:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:03:17 0.23.1-centos7: Pulling from edgex-lftools 23:03:17 ab5ef0e58194: Pulling fs layer 23:03:17 9712f1f96733: Pulling fs layer 23:03:17 63f879dbbcfc: Pulling fs layer 23:03:17 0d9ebad4ef96: Pulling fs layer 23:03:17 e9a5061849ea: Pulling fs layer 23:03:17 d747dcd14b5f: Pulling fs layer 23:03:17 2de7ff778b66: Pulling fs layer 23:03:17 e9a5061849ea: Waiting 23:03:17 d747dcd14b5f: Waiting 23:03:17 2de7ff778b66: Waiting 23:03:17 0d9ebad4ef96: Waiting 23:03:17 9712f1f96733: Verifying Checksum 23:03:17 9712f1f96733: Download complete 23:03:18 63f879dbbcfc: Verifying Checksum 23:03:18 63f879dbbcfc: Download complete 23:03:18 e9a5061849ea: Verifying Checksum 23:03:18 e9a5061849ea: Download complete 23:03:18 d747dcd14b5f: Verifying Checksum 23:03:18 d747dcd14b5f: Download complete 23:03:18 2de7ff778b66: Verifying Checksum 23:03:18 2de7ff778b66: Download complete 23:03:18 0d9ebad4ef96: Verifying Checksum 23:03:18 0d9ebad4ef96: Download complete 23:03:18 ab5ef0e58194: Verifying Checksum 23:03:18 ab5ef0e58194: Download complete 23:03:21 ab5ef0e58194: Pull complete 23:03:21 9712f1f96733: Pull complete 23:03:22 63f879dbbcfc: Pull complete 23:03:25 0d9ebad4ef96: Pull complete 23:03:25 e9a5061849ea: Pull complete 23:03:25 d747dcd14b5f: Pull complete 23:03:26 2de7ff778b66: Pull complete 23:03:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:03:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:03:26 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:03:26 $ 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 23:03:30 $ docker top 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:03:30 provisioning config files... 23:03:30 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4974699094546617427tmp 23:03:30 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4357268443589192153tmp 23:03:30 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4056234284949930935tmp [Pipeline] { [Pipeline] echo 23:03:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:03:30 ---> sigul-configuration.sh 23:03:30 gpg: directory `/root/.gnupg' created 23:03:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:03:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:03:30 gpg: keyring `/root/.gnupg/secring.gpg' created 23:03:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:03:30 gpg: CAST5 encrypted data 23:03:30 gpg: encrypted with 1 passphrase 23:03:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:03:31 + mkdir /home/jenkins 23:03:31 + mkdir /home/jenkins/sigul [Pipeline] sh 23:03:31 + 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 23:03:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:03:31 ---> sigul-install.sh 23:03:35 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 23:03:36 + git tag --list 23:03:36 0.7.1 23:03:36 v1.0.0 23:03:36 v1.1.0 23:03:36 v1.1.1 23:03:36 v1.2.2 23:03:36 v1.3.0 23:03:36 v1.3.1 23:03:36 v1.3.1-dev.1 23:03:36 v1.3.1-dev.2 23:03:36 v1.3.1-dev.3 23:03:36 v1.3.1-dev.4 23:03:36 v1.3.1-dev.5 23:03:36 v1.3.1-dev.6 23:03:36 v1.3.1-dev.7 23:03:36 v1.3.1-dev.8 23:03:36 v1.3.2-dev.1 23:03:36 v1.3.2-dev.10 23:03:36 v1.3.2-dev.2 23:03:36 v1.3.2-dev.3 23:03:36 v1.3.2-dev.4 23:03:36 v1.3.2-dev.5 23:03:36 v1.3.2-dev.6 23:03:36 v1.3.2-dev.7 23:03:36 v1.3.2-dev.8 23:03:36 v1.3.2-dev.9 [Pipeline] sh 23:03:36 + lftools sign git-tag v1.3.2-dev.10 23:03:37 Signing Git tag with Sigul... 23:03:37 Signing v1.3.2-dev.10 [Pipeline] echo 23:03:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:03:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:03:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:03:38 $ docker stop --time=1 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd 23:03:40 $ docker rm -f 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:03:40 . [Pipeline] withDockerContainer 23:03:40 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:03:40 $ 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 23:03:41 $ docker top e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:41 [ssh-agent] Looking for ssh-agent implementation... 23:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:41 $ docker exec e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 ssh-agent 23:03:41 SSH_AUTH_SOCK=/tmp/ssh-UJgXa5PlbEjT/agent.13 23:03:41 SSH_AGENT_PID=19 23:03:41 Running ssh-add (command line suppressed) 23:03:42 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5545838308863418036.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5545838308863418036.key) 23:03:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:42 + git semver bump pre 23:03:42 # -> Open(): unable to determine branch for HEAD 23:03:42 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 23:03:42 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 23:03:42 # $SEMVER_REMOTE_NAME = origin 23:03:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:03:42 # $SEMVER_USER_NAME = edgex-jenkins 23:03:42 # $SEMVER_BRANCH = master 23:03:42 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 23:03:42 1.3.2-dev.11 [Pipeline] } 23:03:42 $ docker exec --env ******** --env ******** e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 ssh-agent -k 23:03:42 unset SSH_AUTH_SOCK; 23:03:42 unset SSH_AGENT_PID; 23:03:42 echo Agent pid 19 killed; 23:03:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:42 + git semver [Pipeline] } 23:03:42 $ docker stop --time=1 e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 23:03:44 $ docker rm -f e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:03:44 . [Pipeline] withDockerContainer 23:03:44 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:03:44 $ 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 23:03:44 $ docker top 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:45 [ssh-agent] Looking for ssh-agent implementation... 23:03:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:45 $ docker exec 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 ssh-agent 23:03:45 SSH_AUTH_SOCK=/tmp/ssh-QMiiZpukH2FO/agent.13 23:03:45 SSH_AGENT_PID=19 23:03:45 Running ssh-add (command line suppressed) 23:03:45 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7029245541334887703.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7029245541334887703.key) 23:03:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:45 + git semver push 23:03:45 # -> Open(): unable to determine branch for HEAD 23:03:45 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 23:03:45 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 23:03:45 # $SEMVER_REMOTE_NAME = origin 23:03:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:03:45 # $SEMVER_USER_NAME = edgex-jenkins 23:03:45 # $SEMVER_BRANCH = master 23:03:45 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 23:03:49 $ docker exec --env ******** --env ******** 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 ssh-agent -k 23:03:49 unset SSH_AUTH_SOCK; 23:03:49 unset SSH_AGENT_PID; 23:03:49 echo Agent pid 19 killed; 23:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:50 + git semver [Pipeline] } 23:03:50 $ docker stop --time=1 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 23:03:51 $ docker rm -f 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 [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 23:03:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:03:53 ---> package-listing.sh 23:03:53 ++ facter osfamily 23:03:53 ++ tr '[:upper:]' '[:lower:]' 23:03:53 + OS_FAMILY=redhat 23:03:53 + workspace=/w/workspace/xfoundry_device-modbus-go_master 23:03:53 + START_PACKAGES=/tmp/packages_start.txt 23:03:53 + END_PACKAGES=/tmp/packages_end.txt 23:03:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:03:53 + PACKAGES=/tmp/packages_start.txt 23:03:53 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 23:03:53 + PACKAGES=/tmp/packages_end.txt 23:03:53 + case "${OS_FAMILY}" in 23:03:53 + sort 23:03:53 + rpm -qa 23:03:54 + '[' -f /tmp/packages_start.txt ']' 23:03:54 + '[' -f /tmp/packages_end.txt ']' 23:03:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:03:54 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 23:03:54 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 23:03:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 23:03:54 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 23:03:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:55 23:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:55 alpine: Pulling from edgex-lftools-log-publisher 23:03:55 df20fa9351a1: Pulling fs layer 23:03:55 36b3adc4ff6f: Pulling fs layer 23:03:55 8ad3a11d3b57: Pulling fs layer 23:03:55 46f8f816bc3b: Pulling fs layer 23:03:55 93b61091891f: Pulling fs layer 23:03:55 93b9cdb0e59b: Pulling fs layer 23:03:55 5e14af77c1be: Pulling fs layer 23:03:55 01666e4c0597: Pulling fs layer 23:03:55 aa168da1d23b: Pulling fs layer 23:03:55 93b9cdb0e59b: Waiting 23:03:55 5e14af77c1be: Waiting 23:03:55 01666e4c0597: Waiting 23:03:55 aa168da1d23b: Waiting 23:03:55 46f8f816bc3b: Waiting 23:03:55 93b61091891f: Waiting 23:03:55 36b3adc4ff6f: Verifying Checksum 23:03:55 36b3adc4ff6f: Download complete 23:03:55 46f8f816bc3b: Verifying Checksum 23:03:55 46f8f816bc3b: Download complete 23:03:55 df20fa9351a1: Verifying Checksum 23:03:55 df20fa9351a1: Download complete 23:03:55 93b9cdb0e59b: Verifying Checksum 23:03:55 93b9cdb0e59b: Download complete 23:03:55 5e14af77c1be: Verifying Checksum 23:03:55 5e14af77c1be: Download complete 23:03:55 01666e4c0597: Verifying Checksum 23:03:55 01666e4c0597: Download complete 23:03:55 93b61091891f: Verifying Checksum 23:03:55 93b61091891f: Download complete 23:03:55 df20fa9351a1: Pull complete 23:03:55 8ad3a11d3b57: Verifying Checksum 23:03:55 8ad3a11d3b57: Download complete 23:03:55 36b3adc4ff6f: Pull complete 23:03:56 8ad3a11d3b57: Pull complete 23:03:56 46f8f816bc3b: Pull complete 23:03:56 93b61091891f: Pull complete 23:03:56 93b9cdb0e59b: Pull complete 23:03:56 5e14af77c1be: Pull complete 23:03:56 01666e4c0597: Pull complete 23:03:57 aa168da1d23b: Verifying Checksum 23:03:57 aa168da1d23b: Download complete 23:04:01 aa168da1d23b: Pull complete 23:04:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:04:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:04:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:04:01 prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container 23:04:01 $ 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 23:04:04 $ docker top 16a406b63695ba691981841e9d574cb99748ec90db373a9b16a1feac8d894724 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:04 + touch /tmp/pre-build-complete [Pipeline] sh 23:04:04 + mkdir -p /var/log/sa [Pipeline] sh 23:04:05 + ls /var/log/sa-host 23:04:05 + sadf -c /var/log/sa-host/sa05 23:04:05 file_magic: OK 23:04:05 HZ: Using current value: 100 23:04:05 file_header: OK 23:04:05 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 23:04:05 Statistics: 23:04:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:04:05 File successfully converted to sysstat format version 12.2.1 23:04:05 + sadf -c /var/log/sa-host/sa18 23:04:05 file_magic: OK 23:04:05 HZ: Using current value: 100 23:04:05 file_header: OK 23:04:05 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 23:04:05 Statistics: 23:04:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:04:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:05 provisioning config files... 23:04:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7888631010445710065tmp [Pipeline] { [Pipeline] echo 23:04:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:04:06 ---> create-netrc.sh [Pipeline] } 23:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:04:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:04:06 ---> python-tools-install.sh [Pipeline] echo 23:04:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:04:06 ---> sudo-logs.sh 23:04:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:04:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:04:07 ---> job-cost.sh 23:04:07 lf-activate-venv: SKIPPING 23:04:07 DEBUG: total: 0.18000000715255737 23:04:07 INFO: Retrieving Stack Cost... 23:04:08 INFO: Retrieving Pricing Info for: v3-standard-2 23:04:08 INFO: Archiving Costs [Pipeline] echo 23:04:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:04:08 ---> logs-deploy.sh 23:04:08 lf-activate-venv: SKIPPING 23:04:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/49 23:04:08 INFO: archiving workspace using pattern(s): 23:04:09 Archives upload complete. 23:04:09 INFO: archiving logs to Nexus 23:04:10 ---> uname -a: 23:04:10 Linux prd-centos7-docker-4c-2g-14866.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 23:04:10 23:04:10 23:04:10 ---> lscpu: 23:04:10 Architecture: x86_64 23:04:10 CPU op-mode(s): 32-bit, 64-bit 23:04:10 Byte Order: Little Endian 23:04:10 Address sizes: 40 bits physical, 48 bits virtual 23:04:10 CPU(s): 2 23:04:10 On-line CPU(s) list: 0,1 23:04:10 Thread(s) per core: 1 23:04:10 Core(s) per socket: 1 23:04:10 Socket(s): 2 23:04:10 NUMA node(s): 1 23:04:10 Vendor ID: AuthenticAMD 23:04:10 CPU family: 23 23:04:10 Model: 49 23:04:10 Model name: AMD EPYC-Rome Processor 23:04:10 Stepping: 0 23:04:10 CPU MHz: 2800.000 23:04:10 BogoMIPS: 5600.00 23:04:10 Virtualization: AMD-V 23:04:10 Hypervisor vendor: KVM 23:04:10 Virtualization type: full 23:04:10 L1d cache: 64 KiB 23:04:10 L1i cache: 64 KiB 23:04:10 L2 cache: 1 MiB 23:04:10 L3 cache: 32 MiB 23:04:10 NUMA node0 CPU(s): 0,1 23:04:10 Vulnerability Itlb multihit: Not affected 23:04:10 Vulnerability L1tf: Not affected 23:04:10 Vulnerability Mds: Not affected 23:04:10 Vulnerability Meltdown: Not affected 23:04:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:04:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:04:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:04:10 Vulnerability Srbds: Not affected 23:04:10 Vulnerability Tsx async abort: Not affected 23:04:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 23:04:10 23:04:10 23:04:10 ---> nproc: 23:04:10 2 23:04:10 23:04:10 23:04:10 ---> df -h: 23:04:10 Filesystem Size Used Available Use% Mounted on 23:04:10 overlay 40.0G 8.9G 31.1G 22% / 23:04:10 tmpfs 64.0M 0 64.0M 0% /dev 23:04:10 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 23:04:10 shm 64.0M 0 64.0M 0% /dev/shm 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 23:04:10 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 23:04:10 23:04:10 23:04:10 ---> free -m: 23:04:10 total used free shared buff/cache available 23:04:10 Mem: 7821 1287 3148 0 3384 6452 23:04:10 Swap: 1023 0 1023 23:04:10 23:04:10 23:04:10 ---> ip addr: 23:04:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:04:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:04:10 inet 127.0.0.1/8 scope host lo 23:04:10 valid_lft forever preferred_lft forever 23:04:10 inet6 ::1/128 scope host 23:04:10 valid_lft forever preferred_lft forever 23:04:10 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:04:10 link/ether fa:16:3e:f4:63:26 brd ff:ff:ff:ff:ff:ff 23:04:10 inet 10.30.122.146/23 brd 10.30.123.255 scope global dynamic eth0 23:04:10 valid_lft 85737sec preferred_lft 85737sec 23:04:10 inet6 fe80::f816:3eff:fef4:6326/64 scope link 23:04:10 valid_lft forever preferred_lft forever 23:04:10 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:04:10 link/ether 02:42:05:76:64:cb brd ff:ff:ff:ff:ff:ff 23:04:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:04:10 valid_lft forever preferred_lft forever 23:04:10 inet6 fe80::42:5ff:fe76:64cb/64 scope link 23:04:10 valid_lft forever preferred_lft forever 23:04:10 23:04:10 23:04:10 ---> sar -b -r -n DEV: 23:04:10 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:04:10 23:04:10 22:52:56 LINUX RESTART (2 CPU) 23:04:10 23:04:10 22:54:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:04:10 22:55:01 1.77 0.00 1.77 0.00 0.00 32.81 0.00 23:04:10 22:56:01 0.28 0.00 0.28 0.00 0.00 4.93 0.00 23:04:10 22:57:01 0.23 0.00 0.23 0.00 0.00 3.31 0.00 23:04:10 22:58:01 0.20 0.00 0.20 0.00 0.00 2.57 0.00 23:04:10 22:59:01 0.40 0.00 0.40 0.00 0.00 6.45 0.00 23:04:10 23:00:01 0.22 0.00 0.22 0.00 0.00 2.85 0.00 23:04:10 23:01:01 0.15 0.02 0.13 0.00 0.13 2.28 0.00 23:04:10 23:02:01 0.43 0.10 0.33 0.00 1.73 4.90 0.00 23:04:10 23:03:01 65.37 0.03 65.34 0.00 3.73 26995.02 0.00 23:04:10 23:04:01 160.11 0.10 160.01 0.00 9.99 32177.63 0.00 23:04:10 Average: 22.92 0.02 22.89 0.00 1.56 5923.67 0.00 23:04:10 23:04:10 22:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:04:10 22:55:01 5454216 0 815552 10.18 2620 1736552 1305096 14.41 585640 1569948 20 23:04:10 22:56:01 5461056 0 808704 10.10 2620 1736560 1247692 13.78 578784 1570756 12 23:04:10 22:57:01 5461224 0 808536 10.10 2620 1736560 1247768 13.78 579816 1569920 8 23:04:10 22:58:01 5463460 0 806296 10.07 2620 1736564 1205872 13.31 574644 1573544 16 23:04:10 22:59:01 5463412 0 806336 10.07 2620 1736572 1205896 13.31 574800 1573544 12 23:04:10 23:00:01 5462888 0 806860 10.07 2620 1736572 1205800 13.31 575184 1573544 20 23:04:10 23:01:01 5462880 0 806860 10.07 2620 1736580 1208376 13.34 574920 1573544 8 23:04:10 23:02:01 5451220 0 818392 10.22 2620 1736708 1206116 13.32 587100 1573604 8 23:04:10 23:03:01 4563324 0 988124 12.34 2620 2454872 1368324 15.11 737108 2225148 28 23:04:10 23:04:01 3261504 0 1281800 16.00 2620 3463016 1523920 16.82 1098216 2958600 368324 23:04:10 Average: 5150518 0 874746 10.92 2620 1981056 1272486 14.05 646621 1776215 36846 23:04:10 23:04:10 22:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:04:10 22:55:01 eth0 8.86 3.35 6.55 0.57 0.00 0.00 0.00 0.00 23:04:10 22:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:56:01 eth0 3.50 0.83 1.03 0.56 0.00 0.00 0.00 0.00 23:04:10 22:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:57:01 eth0 2.53 0.70 0.91 0.61 0.00 0.00 0.00 0.00 23:04:10 22:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:58:01 eth0 2.12 0.48 0.63 0.36 0.00 0.00 0.00 0.00 23:04:10 22:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:59:01 eth0 0.97 0.50 0.43 0.30 0.00 0.00 0.00 0.00 23:04:10 22:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 22:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:00:01 eth0 0.50 0.28 0.27 0.20 0.00 0.00 0.00 0.00 23:04:10 23:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:01:01 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 23:04:10 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:02:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:04:10 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:03:01 veth553976d 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:03:01 eth0 399.82 367.85 4079.50 30.46 0.00 0.00 0.00 0.00 23:04:10 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:04:01 eth0 791.42 669.67 6072.78 148.42 0.00 0.00 0.00 0.00 23:04:10 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 23:04:01 docker0 132.51 183.76 9.02 648.62 0.00 0.00 0.00 0.00 23:04:10 Average: eth0 121.00 104.39 1016.28 18.15 0.00 0.00 0.00 0.00 23:04:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:04:10 Average: docker0 13.25 18.38 0.90 64.87 0.00 0.00 0.00 0.00 23:04:10 23:04:10 23:04:10 ---> sar -P ALL: 23:04:10 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:04:10 23:04:10 22:52:56 LINUX RESTART (2 CPU) 23:04:10 23:04:10 22:54:01 CPU %user %nice %system %iowait %steal %idle 23:04:10 22:55:01 all 0.22 0.00 0.08 0.00 0.03 99.67 23:04:10 22:55:01 0 0.30 0.00 0.07 0.00 0.02 99.62 23:04:10 22:55:01 1 0.13 0.00 0.08 0.00 0.05 99.73 23:04:10 22:56:01 all 0.23 0.00 0.04 0.00 0.03 99.71 23:04:10 22:56:01 0 0.37 0.00 0.03 0.00 0.02 99.58 23:04:10 22:56:01 1 0.08 0.00 0.05 0.00 0.03 99.83 23:04:10 22:57:01 all 0.14 0.00 0.03 0.00 0.03 99.80 23:04:10 22:57:01 0 0.23 0.00 0.03 0.00 0.03 99.70 23:04:10 22:57:01 1 0.05 0.00 0.02 0.00 0.03 99.90 23:04:10 22:58:01 all 0.23 0.00 0.04 0.00 0.02 99.72 23:04:10 22:58:01 0 0.37 0.00 0.03 0.00 0.02 99.58 23:04:10 22:58:01 1 0.08 0.00 0.05 0.00 0.02 99.85 23:04:10 22:59:01 all 0.11 0.00 0.03 0.00 0.03 99.84 23:04:10 22:59:01 0 0.20 0.00 0.03 0.00 0.03 99.73 23:04:10 22:59:01 1 0.02 0.00 0.02 0.00 0.02 99.95 23:04:10 23:00:01 all 0.10 0.00 0.03 0.00 0.03 99.83 23:04:10 23:00:01 0 0.17 0.00 0.03 0.00 0.03 99.77 23:04:10 23:00:01 1 0.03 0.00 0.03 0.00 0.03 99.90 23:04:10 23:01:01 all 0.14 0.00 0.03 0.00 0.02 99.81 23:04:10 23:01:01 0 0.18 0.00 0.05 0.00 0.02 99.75 23:04:10 23:01:01 1 0.10 0.00 0.02 0.00 0.02 99.87 23:04:10 23:02:01 all 0.09 0.00 0.05 0.00 0.03 99.83 23:04:10 23:02:01 0 0.02 0.00 0.05 0.00 0.02 99.92 23:04:10 23:02:01 1 0.17 0.00 0.05 0.00 0.03 99.75 23:04:10 23:03:01 all 8.14 0.00 3.63 1.67 0.04 86.51 23:04:10 23:03:01 0 8.05 0.00 3.58 1.88 0.05 86.43 23:04:10 23:03:01 1 8.23 0.00 3.67 1.47 0.03 86.59 23:04:10 23:04:01 all 22.92 0.00 9.60 2.34 0.08 65.06 23:04:10 23:04:01 0 20.41 0.00 9.44 2.48 0.07 67.60 23:04:10 23:04:01 1 25.42 0.00 9.76 2.21 0.09 62.52 23:04:10 Average: all 3.11 0.00 1.30 0.39 0.03 95.16 23:04:10 Average: 0 2.92 0.00 1.29 0.42 0.03 95.34 23:04:10 Average: 1 3.30 0.00 1.32 0.36 0.04 94.99 23:04:10 23:04:10 23:04:10