Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b5230044bd4b19929753d210ee1690417a14801e 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-ssh1257357751209767954.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-ssh1326722852476647168.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-ssh140905809321508836.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-ssh1209123257953703995.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-ssh4369267036160044367.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14956 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 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-ssh7407882397700143099.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (master) > 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 b5230044bd4b19929753d210ee1690417a14801e # timeout=10 Commit message: "Merge pull request #246 from hahattan/interval" > git rev-list --no-walk a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:20:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:20:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:20:58 ========================================================= 02:20:58 EdgeX Global Pipelines Version Info 02:20:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:21:00 ------------------- 02:21:00 stable info: 02:21:00 ------------------- 02:21:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:21:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 02:21:00 Message: update stable to v1.0.192 02:21:00 ------------------- 02:21:00 experimental info: 02:21:00 ------------------- 02:21:00 Commited By: **** collab-it+edgex@linuxfoundation.org 02:21:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 02:21:00 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:21:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:21:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:21:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5230044bd4b19929753d210ee1690417a14801e [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b523004 [Pipeline] echo 02:21:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:21:01 provisioning config files... 02:21:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6638099067933907769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:21:02 ---> docker-login.sh 02:21:02 nexus3.edgexfoundry.org:10001 02:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:03 Configure a credential helper to remove this warning. See 02:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:03 02:21:03 Login Succeeded 02:21:03 nexus3.edgexfoundry.org:10002 02:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:03 Configure a credential helper to remove this warning. See 02:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:03 02:21:03 Login Succeeded 02:21:03 nexus3.edgexfoundry.org:10003 02:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:03 Configure a credential helper to remove this warning. See 02:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:03 02:21:03 Login Succeeded 02:21:03 nexus3.edgexfoundry.org:10004 02:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:03 Configure a credential helper to remove this warning. See 02:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:03 02:21:03 Login Succeeded 02:21:03 docker.io 02:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:03 Configure a credential helper to remove this warning. See 02:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:03 02:21:03 Login Succeeded 02:21:03 ---> docker-login.sh ends [Pipeline] } 02:21:03 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 02:21:04 + git log --format=format:%s -1 b5230044bd4b19929753d210ee1690417a14801e [Pipeline] echo 02:21:04 GIT_COMMIT: b5230044bd4b19929753d210ee1690417a14801e, Commit Message: Merge pull request #246 from hahattan/interval [Pipeline] echo 02:21:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:21:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:21:05 02:21:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:21:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:21:05 latest: Pulling from edgex-devops/git-semver 02:21:05 31603596830f: Pulling fs layer 02:21:05 54011a49482f: Pulling fs layer 02:21:05 a6820b24f6d8: Pulling fs layer 02:21:05 f581987b2513: Pulling fs layer 02:21:05 f581987b2513: Waiting 02:21:05 54011a49482f: Verifying Checksum 02:21:05 54011a49482f: Download complete 02:21:06 31603596830f: Verifying Checksum 02:21:06 31603596830f: Download complete 02:21:06 f581987b2513: Verifying Checksum 02:21:06 f581987b2513: Download complete 02:21:06 31603596830f: Pull complete 02:21:06 54011a49482f: Pull complete 02:21:06 a6820b24f6d8: Verifying Checksum 02:21:06 a6820b24f6d8: Download complete 02:21:07 a6820b24f6d8: Pull complete 02:21:07 f581987b2513: Pull complete 02:21:07 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:21:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:21:08 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:21:10 $ docker top abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:21:10 [ssh-agent] Looking for ssh-agent implementation... 02:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:21:10 $ docker exec abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent 02:21:10 SSH_AUTH_SOCK=/tmp/ssh-9xXHBha1APEo/agent.14 02:21:10 SSH_AGENT_PID=21 02:21:10 Running ssh-add (command line suppressed) 02:21:10 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_549570403229555867.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_549570403229555867.key) 02:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:21:11 + git tag --points-at HEAD [Pipeline] } 02:21:11 $ docker exec --env ******** --env ******** abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent -k 02:21:11 unset SSH_AUTH_SOCK; 02:21:11 unset SSH_AGENT_PID; 02:21:11 echo Agent pid 21 killed; 02:21:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:21:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:21:11 [ssh-agent] Looking for ssh-agent implementation... 02:21:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:21:11 $ docker exec abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent 02:21:11 SSH_AUTH_SOCK=/tmp/ssh-P4w84TuFWDDE/agent.55 02:21:11 SSH_AGENT_PID=61 02:21:11 Running ssh-add (command line suppressed) 02:21:11 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6955041921261758696.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6955041921261758696.key) 02:21:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:21:12 + git semver init 02:21:12 # -> Open(): unable to determine branch for HEAD 02:21:12 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:21:12 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:21:12 # $SEMVER_REMOTE_NAME = origin 02:21:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:21:12 # $SEMVER_USER_NAME = edgex-jenkins 02:21:12 # $SEMVER_BRANCH = master 02:21:12 # $SEMVER_TEMP = /tmp/semver-572180735 02:21:12 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 02:21:12 # '/tmp/semver-572180735' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 02:21:12 # -> Force: false 02:21:12 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 02:21:12 $ docker exec --env ******** --env ******** abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent -k 02:21:12 unset SSH_AUTH_SOCK; 02:21:12 unset SSH_AGENT_PID; 02:21:12 echo Agent pid 61 killed; 02:21:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:21:12 + git semver [Pipeline] } 02:21:12 $ docker stop --time=1 abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 02:21:14 $ docker rm -f abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 [Pipeline] // withDockerContainer [Pipeline] sh 02:21:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:21:14 Stashed 1 file(s) [Pipeline] echo 02:21:14 [edgeXSemver]: initialized semver on version 1.3.2-dev.11 [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 02:21:30 Still waiting to schedule task 02:21:30 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 02:21:30 ‘prd-centos7-docker-4c-2g-14957’ is offline 02:21:30 ‘prd-centos7-docker-4c-2g-309’ is offline 02:21:30 Still waiting to schedule task 02:21:30 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-14954’ 02:23:54 Running on prd-centos7-docker-4c-2g-14958 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 02:23:54 Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout 02:23:54 Selected Git installation does not exist. Using Default 02:23:54 The recommended git tool is: NONE 02:23:57 using credential edgex-jenkins-ssh 02:23:57 Cloning the remote Git repository 02:23:57 Avoid second fetch 02:23:57 Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (master) 02:23:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:23:57 > git init /w/workspace/device-modbus-go/50 # timeout=10 02:23:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:23:57 > git --version # timeout=10 02:23:57 > git --version # 'git version 2.24.4' 02:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:57 [INFO] Currently running in a labeled security context 02:23:57 [INFO] Currently SELinux is 'enforcing' on the host 02:23:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/50@tmp/jenkins-gitclient-ssh3257001045099241108.key 02:23:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:23:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:57 > git config core.sparsecheckout # timeout=10 02:23:57 > git checkout -f b5230044bd4b19929753d210ee1690417a14801e # timeout=10 02:24:02 Commit message: "Merge pull request #246 from hahattan/interval" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:24:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:24:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:24:04 + true 02:24:04 + sudo service docker restart 02:24:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:23 provisioning config files... 02:24:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config2934463097882629425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:23 ---> docker-login.sh 02:24:23 nexus3.edgexfoundry.org:10001 02:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:24 Configure a credential helper to remove this warning. See 02:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:24 02:24:24 Login Succeeded 02:24:24 nexus3.edgexfoundry.org:10002 02:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:24 Configure a credential helper to remove this warning. See 02:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:24 02:24:24 Login Succeeded 02:24:24 nexus3.edgexfoundry.org:10003 02:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:24 Configure a credential helper to remove this warning. See 02:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:24 02:24:24 Login Succeeded 02:24:24 nexus3.edgexfoundry.org:10004 02:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:24 Configure a credential helper to remove this warning. See 02:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:24 02:24:24 Login Succeeded 02:24:24 docker.io 02:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:24 Configure a credential helper to remove this warning. See 02:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:24 02:24:24 Login Succeeded 02:24:24 ---> docker-login.sh ends [Pipeline] } 02:24:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:24:25 ========================================================= 02:24:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:24:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:24:26 + 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 . 02:24:26 Sending build context to Docker daemon 597kB 02:24:26 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:24:26 Step 2/8 : FROM ${BASE} 02:24:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:24:26 540db60ca938: Pulling fs layer 02:24:26 adcc1eea9eea: Pulling fs layer 02:24:26 4c4ab2625f07: Pulling fs layer 02:24:26 0510c868ecb4: Pulling fs layer 02:24:26 afea3b2eda06: Pulling fs layer 02:24:26 7809a108b3ef: Pulling fs layer 02:24:26 f706445af74f: Pulling fs layer 02:24:26 0510c868ecb4: Waiting 02:24:26 afea3b2eda06: Waiting 02:24:26 7809a108b3ef: Waiting 02:24:26 f706445af74f: Waiting 02:24:26 4c4ab2625f07: Verifying Checksum 02:24:26 4c4ab2625f07: Download complete 02:24:26 adcc1eea9eea: Verifying Checksum 02:24:26 adcc1eea9eea: Download complete 02:24:26 afea3b2eda06: Verifying Checksum 02:24:26 afea3b2eda06: Download complete 02:24:26 7809a108b3ef: Download complete 02:24:26 540db60ca938: Verifying Checksum 02:24:26 540db60ca938: Download complete 02:24:26 540db60ca938: Pull complete 02:24:27 adcc1eea9eea: Pull complete 02:24:27 4c4ab2625f07: Pull complete 02:24:30 f706445af74f: Verifying Checksum 02:24:30 f706445af74f: Download complete 02:24:30 0510c868ecb4: Verifying Checksum 02:24:30 0510c868ecb4: Download complete 02:24:34 0510c868ecb4: Pull complete 02:24:34 afea3b2eda06: Pull complete 02:24:34 7809a108b3ef: Pull complete 02:24:36 f706445af74f: Pull complete 02:24:36 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 02:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:24:36 ---> b068be0155e3 02:24:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:24:40 ---> Running in 861c926798a8 02:24:40 Removing intermediate container 861c926798a8 02:24:40 ---> 483b467d0679 02:24:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:40 ---> Running in a8ed86ee2d46 02:24:41 Removing intermediate container a8ed86ee2d46 02:24:41 ---> 003f0ef8a212 02:24:41 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:24:41 ---> Running in c498b6c13865 02:24:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:24:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14959 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 02:24:41 Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout 02:24:41 Selected Git installation does not exist. Using Default 02:24:41 The recommended git tool is: NONE 02:24:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:24:42 (1/13) Installing libc-dev (0.7.2-r3) 02:24:42 (2/13) Installing libsodium (1.0.18-r0) 02:24:42 (3/13) Installing pkgconf (1.7.3-r0) 02:24:42 (4/13) Installing libsodium-dev (1.0.18-r0) 02:24:43 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:24:43 (6/13) Installing libedit (20191231.3.1-r1) 02:24:43 (7/13) Installing openssh-client (8.4_p1-r3) 02:24:43 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:24:43 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:24:43 (10/13) Installing openssh-server (8.4_p1-r3) 02:24:43 (11/13) Installing openssh (8.4_p1-r3) 02:24:43 (12/13) Installing libzmq (4.3.3-r1) 02:24:43 (13/13) Installing zeromq-dev (4.3.3-r1) 02:24:43 Executing busybox-1.32.1-r6.trigger 02:24:44 OK: 156 MiB in 53 packages 02:24:44 Removing intermediate container c498b6c13865 02:24:44 ---> 49fa5df54053 02:24:44 Step 6/8 : WORKDIR /device-modbus-go 02:24:44 ---> Running in ff07b6d5b1dd 02:24:44 Removing intermediate container ff07b6d5b1dd 02:24:44 ---> 82a03a64d792 02:24:44 Step 7/8 : COPY . . 02:24:45 ---> 3e7a85c792a8 02:24:45 Step 8/8 : RUN go mod download 02:24:45 ---> Running in 34a651c3a6df 02:24:49 using credential edgex-jenkins-ssh 02:24:49 Cloning the remote Git repository 02:24:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:24:49 > git init /w/workspace/device-modbus-go/50 # timeout=10 02:24:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:24:49 > git --version # timeout=10 02:24:49 > git --version # 'git version 2.17.1' 02:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:24:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:50 Avoid second fetch 02:24:50 Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (master) 02:24:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:24:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:24:50 > git config core.sparsecheckout # timeout=10 02:24:50 > git checkout -f b5230044bd4b19929753d210ee1690417a14801e # timeout=10 02:24:55 Commit message: "Merge pull request #246 from hahattan/interval" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:24:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:24:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:24:57 + sudo service docker restart 02:24:57 + true 02:25:00 Removing intermediate container 34a651c3a6df 02:25:00 ---> 8f3287f08a27 02:25:00 Successfully built 8f3287f08a27 02:25:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:25:00 + docker inspect -f . ci-base-image-x86_64 02:25:00 . [Pipeline] withDockerContainer 02:25:00 prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container 02:25:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 02:25:01 $ docker top d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:02 + go version 02:25:02 go version go1.16.3 linux/amd64 [Pipeline] } 02:25:02 $ docker stop --time=1 d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 02:25:03 $ docker rm -f d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:25:04 + docker inspect -f . ci-base-image-x86_64 02:25:04 . [Pipeline] withDockerContainer 02:25:04 prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container 02:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 02:25:04 $ docker top 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:05 + go mod tidy [Pipeline] sh 02:25:06 + make test 02:25:06 go mod tidy 02:25:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:25:06 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:16 provisioning config files... 02:25:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config8761982112548498704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:17 ---> docker-login.sh 02:25:17 nexus3.edgexfoundry.org:10001 02:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:18 Configure a credential helper to remove this warning. See 02:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:18 02:25:18 Login Succeeded 02:25:18 nexus3.edgexfoundry.org:10002 02:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:18 Configure a credential helper to remove this warning. See 02:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:18 02:25:18 Login Succeeded 02:25:18 nexus3.edgexfoundry.org:10003 02:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:19 Configure a credential helper to remove this warning. See 02:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:19 02:25:19 Login Succeeded 02:25:19 nexus3.edgexfoundry.org:10004 02:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:20 Configure a credential helper to remove this warning. See 02:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:20 02:25:20 Login Succeeded 02:25:20 docker.io 02:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:20 Configure a credential helper to remove this warning. See 02:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:20 02:25:20 Login Succeeded 02:25:20 ---> docker-login.sh ends [Pipeline] } 02:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:25:21 ========================================================= 02:25:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:25:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:25:21 + 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 . 02:25:21 Sending build context to Docker daemon 596kB 02:25:21 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:25:21 Step 2/8 : FROM ${BASE} 02:25:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:25:22 595b0fe564bb: Pulling fs layer 02:25:22 7186ed65a4f7: Pulling fs layer 02:25:22 316046926c0a: Pulling fs layer 02:25:22 4ebd0625c992: Pulling fs layer 02:25:22 207e8628e3a3: Pulling fs layer 02:25:22 c791037a9be2: Pulling fs layer 02:25:22 ffd874e62e21: Pulling fs layer 02:25:22 4ebd0625c992: Waiting 02:25:22 207e8628e3a3: Waiting 02:25:22 c791037a9be2: Waiting 02:25:22 316046926c0a: Verifying Checksum 02:25:22 316046926c0a: Download complete 02:25:22 7186ed65a4f7: Download complete 02:25:22 207e8628e3a3: Verifying Checksum 02:25:22 207e8628e3a3: Download complete 02:25:22 c791037a9be2: Verifying Checksum 02:25:22 c791037a9be2: Download complete 02:25:22 595b0fe564bb: Verifying Checksum 02:25:22 595b0fe564bb: Download complete 02:25:23 595b0fe564bb: Pull complete 02:25:23 7186ed65a4f7: Pull complete 02:25:24 316046926c0a: Pull complete 02:25:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:25:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 02:25:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:25:25 ffd874e62e21: Verifying Checksum 02:25:25 ffd874e62e21: Download complete 02:25:26 4ebd0625c992: Verifying Checksum 02:25:26 4ebd0625c992: Download complete 02:25:32 gofmt -l . 02:25:32 [ "`gofmt -l .`" = "" ] 02:25:32 ./bin/test-attribution-txt.sh 02:25:32 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:25:32 $ docker stop --time=1 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d 02:25:34 $ docker rm -f 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d [Pipeline] // withDockerContainer [Pipeline] sh 02:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:25:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:25:37 4ebd0625c992: Pull complete 02:25:37 207e8628e3a3: Pull complete 02:25:37 c791037a9be2: Pull complete [Pipeline] sh 02:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:25:39 + ls -al . 02:25:39 total 112 02:25:39 drwxrwxr-x. 9 jenkins jenkins 4096 May 19 02:25 . 02:25:39 drwxrwxr-x. 4 jenkins jenkins 30 May 19 02:23 .. 02:25:39 -rw-rw-r--. 1 jenkins jenkins 7707 May 19 02:23 Attribution.txt 02:25:39 drwxrwxr-x. 2 jenkins jenkins 87 May 19 02:23 bin 02:25:39 drwxrwxr-x. 3 jenkins jenkins 32 May 19 02:23 cmd 02:25:39 -rw-r--r--. 1 jenkins jenkins 22385 May 19 02:25 coverage.out 02:25:39 -rw-rw-r--. 1 jenkins jenkins 1473 May 19 02:23 Dockerfile 02:25:39 -rw-rw-r--. 1 jenkins jenkins 995 May 19 02:23 Dockerfile.build 02:25:39 -rw-rw-r--. 1 jenkins jenkins 140 May 19 02:23 .dockerignore 02:25:39 drwxrwxr-x. 8 jenkins jenkins 162 May 19 02:24 .git 02:25:39 drwxrwxr-x. 2 jenkins jenkins 103 May 19 02:23 .github 02:25:39 -rw-rw-r--. 1 jenkins jenkins 338 May 19 02:23 .gitignore 02:25:39 -rw-r--r--. 1 jenkins jenkins 413 May 19 02:25 go.mod 02:25:39 -rw-r--r--. 1 jenkins jenkins 21834 May 19 02:25 go.sum 02:25:39 drwxrwxr-x. 3 jenkins jenkins 20 May 19 02:23 internal 02:25:39 -rw-rw-r--. 1 jenkins jenkins 679 May 19 02:23 Jenkinsfile 02:25:39 -rw-rw-r--. 1 jenkins jenkins 11340 May 19 02:23 LICENSE 02:25:39 -rw-rw-r--. 1 jenkins jenkins 914 May 19 02:23 Makefile 02:25:39 -rw-rw-r--. 1 jenkins jenkins 2897 May 19 02:23 README.md 02:25:39 drwxrwxr-x. 2 jenkins jenkins 52 May 19 02:23 simulator 02:25:39 drwxrwxr-x. 4 jenkins jenkins 71 May 19 02:23 snap 02:25:39 -rw-rw-r--. 1 jenkins jenkins 12 May 19 02:21 VERSION 02:25:39 -rw-rw-r--. 1 jenkins jenkins 229 May 19 02:23 version.go [Pipeline] isUnix [Pipeline] sh 02:25:39 + 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=b5230044bd4b19929753d210ee1690417a14801e --label arch=amd64 --label version=1.3.2-dev.11 . 02:25:39 Sending build context to Docker daemon 620kB 02:25:39 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 02:25:39 Step 2/22 : FROM ${BASE} AS builder 02:25:39 ---> 8f3287f08a27 02:25:39 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:39 ---> Running in c4d2021743de 02:25:40 Removing intermediate container c4d2021743de 02:25:40 ---> 2b893ae9f1b0 02:25:40 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:25:40 ---> Running in 5808d6d9c9f5 02:25:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:25:41 ffd874e62e21: Pull complete 02:25:41 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 02:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:25:41 ---> cfc18b08335c 02:25:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:25:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:25:42 OK: 156 MiB in 53 packages 02:25:42 Removing intermediate container 5808d6d9c9f5 02:25:42 ---> 4a40a8865522 02:25:42 Step 5/22 : WORKDIR /device-modbus-go 02:25:42 ---> Running in fe978991aa67 02:25:42 Removing intermediate container fe978991aa67 02:25:42 ---> 6dfa41ef2864 02:25:42 Step 6/22 : COPY . . 02:25:42 ---> 6c8f7ab594ce 02:25:42 Step 7/22 : RUN go mod tidy 02:25:42 ---> Running in 85916c927295 02:25:43 ---> Running in 3a516f3a8185 02:25:43 Removing intermediate container 85916c927295 02:25:43 ---> 4d2018250ca4 02:25:43 Step 8/22 : RUN go mod download 02:25:43 ---> Running in ded23b5e15b3 02:25:43 Removing intermediate container 3a516f3a8185 02:25:43 ---> 449861909475 02:25:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:43 Removing intermediate container ded23b5e15b3 02:25:43 ---> f54056caac01 02:25:43 Step 9/22 : RUN make build 02:25:43 ---> Running in 34f7e268705b 02:25:44 ---> Running in e3ef881d9637 02:25:44 go mod tidy 02:25:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.11" -o cmd/device-modbus ./cmd 02:25:46 Removing intermediate container e3ef881d9637 02:25:46 ---> 5ea285cd5575 02:25:46 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:25:46 ---> Running in 5fc4a5c3b385 02:25:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:25:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:25:49 (1/13) Installing libc-dev (0.7.2-r3) 02:25:49 (2/13) Installing libsodium (1.0.18-r0) 02:25:49 (3/13) Installing pkgconf (1.7.3-r0) 02:25:49 (4/13) Installing libsodium-dev (1.0.18-r0) 02:25:49 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:25:49 (6/13) Installing libedit (20191231.3.1-r1) 02:25:49 (7/13) Installing openssh-client (8.4_p1-r3) 02:25:50 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:25:50 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:25:50 (10/13) Installing openssh-server (8.4_p1-r3) 02:25:50 (11/13) Installing openssh (8.4_p1-r3) 02:25:50 (12/13) Installing libzmq (4.3.3-r1) 02:25:51 (13/13) Installing zeromq-dev (4.3.3-r1) 02:25:51 Executing busybox-1.32.1-r6.trigger 02:25:51 OK: 145 MiB in 53 packages 02:25:52 Removing intermediate container 5fc4a5c3b385 02:25:52 ---> 75ab0c80ef1f 02:25:52 Step 6/8 : WORKDIR /device-modbus-go 02:25:52 ---> Running in 86fcf475faab 02:25:53 Removing intermediate container 86fcf475faab 02:25:53 ---> da42a1b90d26 02:25:53 Step 7/8 : COPY . . 02:25:54 ---> a50fed92cc70 02:25:54 Step 8/8 : RUN go mod download 02:25:54 ---> Running in 6051f6c6578c 02:25:57 Removing intermediate container 34f7e268705b 02:25:57 ---> 896008d7fa5b 02:25:57 Step 10/22 : FROM alpine:3.12 02:25:57 3.12: Pulling from library/alpine 02:25:57 339de151aab4: Pulling fs layer 02:25:57 339de151aab4: Verifying Checksum 02:25:57 339de151aab4: Download complete 02:25:57 339de151aab4: Pull complete 02:25:57 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 02:25:57 Status: Downloaded newer image for alpine:3.12 02:25:57 ---> 13621d1b12d4 02:25:57 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:25:57 ---> Running in b4f95c8245e5 02:25:58 Removing intermediate container b4f95c8245e5 02:25:58 ---> e7ca0d225adf 02:25:58 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:58 ---> Running in efb226e50498 02:25:58 Removing intermediate container efb226e50498 02:25:58 ---> a77fa1cf868d 02:25:58 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 02:25:58 ---> Running in 83a220f72651 02:25:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:26:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:26:03 (1/6) Installing dumb-init (1.2.2-r1) 02:26:03 (2/6) Installing libgcc (9.3.0-r2) 02:26:03 (3/6) Installing libsodium (1.0.18-r0) 02:26:03 (4/6) Installing libstdc++ (9.3.0-r2) 02:26:03 (5/6) Installing libzmq (4.3.3-r0) 02:26:04 (6/6) Installing zeromq (4.3.3-r0) 02:26:04 Executing busybox-1.31.1-r20.trigger 02:26:04 OK: 8 MiB in 20 packages 02:26:04 Removing intermediate container 83a220f72651 02:26:04 ---> 080470130e9e 02:26:04 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 02:26:04 ---> a4a493e7d2a4 02:26:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 02:26:04 ---> 29457332be1f 02:26:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:26:05 ---> de1a40a4fecf 02:26:05 Step 17/22 : EXPOSE 49991 02:26:05 ---> Running in 0bfcb2099a6f 02:26:05 Removing intermediate container 0bfcb2099a6f 02:26:05 ---> 830a857a7dc8 02:26:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 02:26:05 ---> Running in 416267198ac7 02:26:05 Removing intermediate container 416267198ac7 02:26:05 ---> 074dce29d2a9 02:26:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:26:05 ---> Running in 1436d629de77 02:26:05 Removing intermediate container 1436d629de77 02:26:05 ---> 33fef6c72ba9 02:26:05 Step 20/22 : LABEL arch=amd64 02:26:05 ---> Running in 0a590c829bf2 02:26:05 Removing intermediate container 0a590c829bf2 02:26:05 ---> 65139ec01999 02:26:05 Step 21/22 : LABEL git_sha=b5230044bd4b19929753d210ee1690417a14801e 02:26:05 ---> Running in 1da6569f92ea 02:26:05 Removing intermediate container 1da6569f92ea 02:26:05 ---> fea496d50b95 02:26:05 Step 22/22 : LABEL version=1.3.2-dev.11 02:26:05 ---> Running in b4f575479dfb 02:26:05 Removing intermediate container b4f575479dfb 02:26:05 ---> e9b55057ee4f 02:26:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:26:05 Successfully built e9b55057ee4f 02:26:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:26:06 provisioning config files... 02:26:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config270147981430896991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:06 ---> docker-login.sh 02:26:06 nexus3.edgexfoundry.org:10001 02:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:06 Configure a credential helper to remove this warning. See 02:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:06 02:26:06 Login Succeeded 02:26:06 nexus3.edgexfoundry.org:10002 02:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:06 Configure a credential helper to remove this warning. See 02:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:06 02:26:06 Login Succeeded 02:26:06 nexus3.edgexfoundry.org:10003 02:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:07 Configure a credential helper to remove this warning. See 02:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:07 02:26:07 Login Succeeded 02:26:07 nexus3.edgexfoundry.org:10004 02:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:07 Configure a credential helper to remove this warning. See 02:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:07 02:26:07 Login Succeeded 02:26:07 docker.io 02:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:07 Configure a credential helper to remove this warning. See 02:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:07 02:26:07 Login Succeeded 02:26:07 ---> docker-login.sh ends [Pipeline] } 02:26:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:26:07 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 02:26:07 b5230044bd4b19929753d210ee1690417a14801e 02:26:07 latest 02:26:07 1.3.2-dev.11 02:26:07 b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:26:07 master 02:26:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh 02:26:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e 02:26:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:26:08 8524fb6e2f30: Preparing 02:26:08 6f7f62e1ce85: Preparing 02:26:08 26c2436bb9bc: Preparing 02:26:08 275128124132: Preparing 02:26:08 13118f0ac645: Preparing 02:26:08 32f366d666a5: Preparing 02:26:08 32f366d666a5: Waiting 02:26:08 13118f0ac645: Pushed 02:26:08 8524fb6e2f30: Pushed 02:26:08 32f366d666a5: Layer already exists 02:26:08 275128124132: Pushed 02:26:08 6f7f62e1ce85: Pushed 02:26:10 26c2436bb9bc: Pushed 02:26:10 b5230044bd4b19929753d210ee1690417a14801e: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:26:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 02:26:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 02:26:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:26:11 8524fb6e2f30: Preparing 02:26:11 6f7f62e1ce85: Preparing 02:26:11 26c2436bb9bc: Preparing 02:26:11 275128124132: Preparing 02:26:11 13118f0ac645: Preparing 02:26:11 32f366d666a5: Preparing 02:26:11 32f366d666a5: Waiting 02:26:11 13118f0ac645: Layer already exists 02:26:11 275128124132: Layer already exists 02:26:11 8524fb6e2f30: Layer already exists 02:26:11 6f7f62e1ce85: Layer already exists 02:26:11 26c2436bb9bc: Layer already exists 02:26:11 32f366d666a5: Layer already exists 02:26:11 latest: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:26:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh 02:26:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 02:26:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:26:12 8524fb6e2f30: Preparing 02:26:12 6f7f62e1ce85: Preparing 02:26:12 26c2436bb9bc: Preparing 02:26:12 275128124132: Preparing 02:26:12 13118f0ac645: Preparing 02:26:12 32f366d666a5: Preparing 02:26:12 32f366d666a5: Waiting 02:26:12 275128124132: Layer already exists 02:26:12 8524fb6e2f30: Layer already exists 02:26:12 26c2436bb9bc: Layer already exists 02:26:12 6f7f62e1ce85: Layer already exists 02:26:12 13118f0ac645: Layer already exists 02:26:12 32f366d666a5: Layer already exists 02:26:12 1.3.2-dev.11: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:26:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh 02:26:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:26:13 8524fb6e2f30: Preparing 02:26:13 6f7f62e1ce85: Preparing 02:26:13 26c2436bb9bc: Preparing 02:26:13 275128124132: Preparing 02:26:13 13118f0ac645: Preparing 02:26:13 32f366d666a5: Preparing 02:26:13 32f366d666a5: Waiting 02:26:13 13118f0ac645: Layer already exists 02:26:13 6f7f62e1ce85: Layer already exists 02:26:13 8524fb6e2f30: Layer already exists 02:26:13 26c2436bb9bc: Layer already exists 02:26:13 275128124132: Layer already exists 02:26:13 32f366d666a5: Layer already exists 02:26:13 b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:26:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 02:26:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 02:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:26:13 8524fb6e2f30: Preparing 02:26:13 6f7f62e1ce85: Preparing 02:26:13 26c2436bb9bc: Preparing 02:26:13 275128124132: Preparing 02:26:13 13118f0ac645: Preparing 02:26:13 32f366d666a5: Preparing 02:26:13 32f366d666a5: Waiting 02:26:13 26c2436bb9bc: Layer already exists 02:26:13 13118f0ac645: Layer already exists 02:26:13 8524fb6e2f30: Layer already exists 02:26:13 6f7f62e1ce85: Layer already exists 02:26:13 275128124132: Layer already exists 02:26:13 32f366d666a5: Layer already exists 02:26:13 master: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:26:13 ===================================================== [Pipeline] echo 02:26:13 taggedImages: 02:26:13 - nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e 02:26:13 - nexus3.edgexfoundry.org:10004/device-modbus:latest 02:26:13 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 02:26:13 - nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:26:13 - 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 02:26:14 ---> job-cost.sh 02:26:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ljQW 02:26:22 Removing intermediate container 6051f6c6578c 02:26:22 ---> b4b03ca03212 02:26:22 Successfully built b4b03ca03212 02:26:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:26:23 + docker inspect -f . ci-base-image-arm64 02:26:23 . [Pipeline] withDockerContainer 02:26:23 prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container 02:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 02:26:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:26:24 $ docker top 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:25 + go version 02:26:25 go version go1.16.3 linux/arm64 [Pipeline] } 02:26:26 $ docker stop --time=1 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 02:26:27 $ docker rm -f 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:28 + docker inspect -f . ci-base-image-arm64 02:26:28 . [Pipeline] withDockerContainer 02:26:28 prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container 02:26:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 02:26:30 $ docker top 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:31 + go mod tidy [Pipeline] sh 02:26:32 + make test 02:26:32 go mod tidy 02:26:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:26:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:26:40 lf-activate-venv(): INFO: Adding /tmp/venv-ljQW/bin to PATH 02:26:40 INFO: No Stack... 02:26:40 INFO: Retrieving Pricing Info for: v3-standard-2 02:26:40 INFO: Archiving Costs [Pipeline] sh 02:26:40 + cat /w/workspace/device-modbus-go/50/archives/cost.csv 02:26:40 + cut -d, -f6 [Pipeline] lock 02:26:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] 02:26:40 Resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] did not exist. Created. 02:26:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:26:41 + echo total: 0.05999999865889549 [Pipeline] stash 02:26:41 Stashed 1 file(s) [Pipeline] } 02:26:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:27:31 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:27:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.046s coverage: 47.7% of statements 02:27:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:27:54 gofmt -l . 02:27:54 [ "`gofmt -l .`" = "" ] 02:27:54 ./bin/test-attribution-txt.sh 02:27:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:27:54 $ docker stop --time=1 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c 02:27:56 $ docker rm -f 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c [Pipeline] // withDockerContainer [Pipeline] sh 02:27:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:27:57 Warning: overwriting stash ‘coverage-report’ 02:27:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:27:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:27:59 + ls -al . 02:27:59 total 144 02:27:59 drwxrwxr-x 9 jenkins jenkins 4096 May 19 02:27 . 02:27:59 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:24 .. 02:27:59 -rw-rw-r-- 1 jenkins jenkins 140 May 19 02:24 .dockerignore 02:27:59 drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:24 .git 02:27:59 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 .github 02:27:59 -rw-rw-r-- 1 jenkins jenkins 338 May 19 02:24 .gitignore 02:27:59 -rw-rw-r-- 1 jenkins jenkins 7707 May 19 02:24 Attribution.txt 02:27:59 -rw-rw-r-- 1 jenkins jenkins 1473 May 19 02:24 Dockerfile 02:27:59 -rw-rw-r-- 1 jenkins jenkins 995 May 19 02:24 Dockerfile.build 02:27:59 -rw-rw-r-- 1 jenkins jenkins 679 May 19 02:24 Jenkinsfile 02:27:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 19 02:24 LICENSE 02:27:59 -rw-rw-r-- 1 jenkins jenkins 914 May 19 02:24 Makefile 02:27:59 -rw-rw-r-- 1 jenkins jenkins 2897 May 19 02:24 README.md 02:27:59 -rw-rw-r-- 1 jenkins jenkins 12 May 19 02:21 VERSION 02:27:59 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 bin 02:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:24 cmd 02:27:59 -rw-r--r-- 1 jenkins jenkins 22385 May 19 02:27 coverage.out 02:27:59 -rw-r--r-- 1 jenkins jenkins 413 May 19 02:27 go.mod 02:27:59 -rw-r--r-- 1 jenkins jenkins 21834 May 19 02:26 go.sum 02:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:24 internal 02:27:59 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 simulator 02:27:59 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:24 snap 02:27:59 -rw-rw-r-- 1 jenkins jenkins 229 May 19 02:24 version.go [Pipeline] isUnix [Pipeline] sh 02:27:59 + 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=b5230044bd4b19929753d210ee1690417a14801e --label arch=arm64 --label version=1.3.2-dev.11 . 02:27:59 Sending build context to Docker daemon 619kB 02:27:59 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 02:27:59 Step 2/22 : FROM ${BASE} AS builder 02:27:59 ---> b4b03ca03212 02:27:59 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:28:00 ---> Running in 17fcdf96d364 02:28:02 Removing intermediate container 17fcdf96d364 02:28:02 ---> 2bd36ec18c81 02:28:02 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 02:28:02 ---> Running in d6105d5083a4 02:28:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:28:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:28:05 OK: 145 MiB in 53 packages 02:28:06 Removing intermediate container d6105d5083a4 02:28:06 ---> 060cd670e20e 02:28:06 Step 5/22 : WORKDIR /device-modbus-go 02:28:06 ---> Running in 472f3438fa74 02:28:06 Removing intermediate container 472f3438fa74 02:28:06 ---> 8304edbf79db 02:28:06 Step 6/22 : COPY . . 02:28:08 ---> 5de8aa30d510 02:28:08 Step 7/22 : RUN go mod tidy 02:28:08 ---> Running in e8ec2c9a9ec9 02:28:11 Removing intermediate container e8ec2c9a9ec9 02:28:11 ---> fb6f7d3bd19c 02:28:11 Step 8/22 : RUN go mod download 02:28:11 ---> Running in 58e5060ccc05 02:28:13 Removing intermediate container 58e5060ccc05 02:28:13 ---> 4fd4961dca74 02:28:13 Step 9/22 : RUN make build 02:28:13 ---> Running in 78bce628bdfc 02:28:14 go mod tidy 02:28:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.11" -o cmd/device-modbus ./cmd 02:28:54 Removing intermediate container 78bce628bdfc 02:28:54 ---> ed41080e259f 02:28:54 Step 10/22 : FROM alpine:3.12 02:28:54 3.12: Pulling from library/alpine 02:28:54 d2f70382dc9a: Pulling fs layer 02:28:54 d2f70382dc9a: Verifying Checksum 02:28:54 d2f70382dc9a: Download complete 02:28:54 d2f70382dc9a: Pull complete 02:28:54 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 02:28:54 Status: Downloaded newer image for alpine:3.12 02:28:54 ---> 9852663dfa18 02:28:54 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:28:54 ---> Running in f86b81fec6ba 02:28:54 Removing intermediate container f86b81fec6ba 02:28:54 ---> b20e3d7a5603 02:28:54 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:28:54 ---> Running in 71af3cb8f66d 02:28:55 Removing intermediate container 71af3cb8f66d 02:28:55 ---> 41422dc77316 02:28:55 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 02:28:55 ---> Running in 3156f033aafb 02:28:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:28:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:28:57 (1/6) Installing dumb-init (1.2.2-r1) 02:28:57 (2/6) Installing libgcc (9.3.0-r2) 02:28:57 (3/6) Installing libsodium (1.0.18-r0) 02:28:58 (4/6) Installing libstdc++ (9.3.0-r2) 02:28:58 (5/6) Installing libzmq (4.3.3-r0) 02:28:58 (6/6) Installing zeromq (4.3.3-r0) 02:28:58 Executing busybox-1.31.1-r20.trigger 02:28:58 OK: 8 MiB in 20 packages 02:28:59 Removing intermediate container 3156f033aafb 02:28:59 ---> fec240d4840d 02:28:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 02:29:01 ---> ebccfd221de6 02:29:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 02:29:01 ---> ccda430c5e31 02:29:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:29:02 ---> 734924d6287b 02:29:02 Step 17/22 : EXPOSE 49991 02:29:02 ---> Running in dd23a8598c23 02:29:03 Removing intermediate container dd23a8598c23 02:29:03 ---> 802804065ad1 02:29:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 02:29:03 ---> Running in 1066f121ed15 02:29:04 Removing intermediate container 1066f121ed15 02:29:04 ---> 90cc3a00a5df 02:29:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:29:04 ---> Running in 5cc17c093dc4 02:29:04 Removing intermediate container 5cc17c093dc4 02:29:04 ---> 79edea06fca4 02:29:04 Step 20/22 : LABEL arch=arm64 02:29:05 ---> Running in 268ab23e1c89 02:29:05 Removing intermediate container 268ab23e1c89 02:29:05 ---> 0939e0cf479d 02:29:05 Step 21/22 : LABEL git_sha=b5230044bd4b19929753d210ee1690417a14801e 02:29:05 ---> Running in 0b18e4c65f30 02:29:05 Removing intermediate container 0b18e4c65f30 02:29:05 ---> 8ef1a0822555 02:29:05 Step 22/22 : LABEL version=1.3.2-dev.11 02:29:06 ---> Running in f81b7dae249a 02:29:06 Removing intermediate container f81b7dae249a 02:29:06 ---> 0c4a3949871c 02:29:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:29:06 Successfully built 0c4a3949871c 02:29:06 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 02:29:06 provisioning config files... 02:29:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config1196858565620743174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:07 ---> docker-login.sh 02:29:07 nexus3.edgexfoundry.org:10001 02:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:07 Configure a credential helper to remove this warning. See 02:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:07 02:29:07 Login Succeeded 02:29:07 nexus3.edgexfoundry.org:10002 02:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:08 Configure a credential helper to remove this warning. See 02:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:08 02:29:08 Login Succeeded 02:29:08 nexus3.edgexfoundry.org:10003 02:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:08 Configure a credential helper to remove this warning. See 02:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:08 02:29:08 Login Succeeded 02:29:08 nexus3.edgexfoundry.org:10004 02:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:09 Configure a credential helper to remove this warning. See 02:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:09 02:29:09 Login Succeeded 02:29:09 docker.io 02:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:09 Configure a credential helper to remove this warning. See 02:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:09 02:29:09 Login Succeeded 02:29:09 ---> docker-login.sh ends [Pipeline] } 02:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:29:10 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 02:29:10 b5230044bd4b19929753d210ee1690417a14801e 02:29:10 latest 02:29:10 1.3.2-dev.11 02:29:10 b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:29:10 master 02:29:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:29:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh 02:29:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e 02:29:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:29:10 fcd07257b1c8: Preparing 02:29:10 bc39a2328059: Preparing 02:29:10 3b623132821e: Preparing 02:29:10 d463493708f7: Preparing 02:29:10 2c6221881d70: Preparing 02:29:10 3fbe34a1663b: Preparing 02:29:10 3fbe34a1663b: Waiting 02:29:11 fcd07257b1c8: Pushed 02:29:11 bc39a2328059: Pushed 02:29:11 2c6221881d70: Pushed 02:29:11 3fbe34a1663b: Layer already exists 02:29:11 d463493708f7: Pushed 02:29:14 3b623132821e: Pushed 02:29:14 b5230044bd4b19929753d210ee1690417a14801e: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh 02:29:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:29:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 02:29:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:29:15 fcd07257b1c8: Preparing 02:29:15 bc39a2328059: Preparing 02:29:15 3b623132821e: Preparing 02:29:15 d463493708f7: Preparing 02:29:15 2c6221881d70: Preparing 02:29:15 3fbe34a1663b: Preparing 02:29:15 3fbe34a1663b: Waiting 02:29:15 fcd07257b1c8: Layer already exists 02:29:15 3b623132821e: Layer already exists 02:29:15 2c6221881d70: Layer already exists 02:29:15 bc39a2328059: Layer already exists 02:29:15 d463493708f7: Layer already exists 02:29:15 3fbe34a1663b: Layer already exists 02:29:15 latest: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh 02:29:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh 02:29:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 02:29:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:29:16 fcd07257b1c8: Preparing 02:29:16 bc39a2328059: Preparing 02:29:16 3b623132821e: Preparing 02:29:16 d463493708f7: Preparing 02:29:16 2c6221881d70: Preparing 02:29:16 3fbe34a1663b: Preparing 02:29:16 3fbe34a1663b: Waiting 02:29:16 3b623132821e: Layer already exists 02:29:16 2c6221881d70: Layer already exists 02:29:16 d463493708f7: Layer already exists 02:29:16 fcd07257b1c8: Layer already exists 02:29:16 bc39a2328059: Layer already exists 02:29:16 3fbe34a1663b: Layer already exists 02:29:16 1.3.2-dev.11: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh 02:29:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh 02:29:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:29:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:29:17 fcd07257b1c8: Preparing 02:29:17 bc39a2328059: Preparing 02:29:17 3b623132821e: Preparing 02:29:17 d463493708f7: Preparing 02:29:17 2c6221881d70: Preparing 02:29:17 3fbe34a1663b: Preparing 02:29:17 3fbe34a1663b: Waiting 02:29:17 d463493708f7: Layer already exists 02:29:17 fcd07257b1c8: Layer already exists 02:29:17 2c6221881d70: Layer already exists 02:29:17 3b623132821e: Layer already exists 02:29:17 bc39a2328059: Layer already exists 02:29:17 3fbe34a1663b: Layer already exists 02:29:17 b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh 02:29:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 02:29:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 02:29:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:29:18 fcd07257b1c8: Preparing 02:29:18 bc39a2328059: Preparing 02:29:18 3b623132821e: Preparing 02:29:18 d463493708f7: Preparing 02:29:18 2c6221881d70: Preparing 02:29:18 3fbe34a1663b: Preparing 02:29:18 3fbe34a1663b: Waiting 02:29:18 3b623132821e: Layer already exists 02:29:18 bc39a2328059: Layer already exists 02:29:18 2c6221881d70: Layer already exists 02:29:18 fcd07257b1c8: Layer already exists 02:29:18 d463493708f7: Layer already exists 02:29:18 3fbe34a1663b: Layer already exists 02:29:18 master: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:29:18 ===================================================== [Pipeline] echo 02:29:18 taggedImages: 02:29:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e 02:29:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 02:29:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 02:29:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 02:29:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:29:19 ---> job-cost.sh 02:29:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-awXV 02:29:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:31:21 lf-activate-venv(): INFO: Adding /tmp/venv-awXV/bin to PATH 02:31:21 INFO: No Stack... 02:31:21 INFO: Retrieving Pricing Info for: v2-standard-4 02:31:21 INFO: Archiving Costs [Pipeline] sh 02:31:21 + cat /w/workspace/device-modbus-go/50/archives/cost.csv 02:31:21 + cut -d, -f6 [Pipeline] lock 02:31:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] 02:31:21 Resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] did not exist. Created. 02:31:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:22 /w/workspace/device-modbus-go/50@tmp/durable-ae654023/script.sh: 1: /w/workspace/device-modbus-go/50@tmp/durable-ae654023/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:31:22 + echo total: 0.18000000715255737 [Pipeline] stash 02:31:22 Warning: overwriting stash ‘stack-cost’ 02:31:22 Stashed 1 file(s) [Pipeline] } 02:31:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-50-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 02:31:23 provisioning config files... 02:31:23 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6387326932034596063tmp [Pipeline] { [Pipeline] sh 02:31:24 + set +x 02:31:24 + curl -s https://codecov.io/bash 02:31:24 + bash -s -- 02:31:24 02:31:24 _____ _ 02:31:24 / ____| | | 02:31:24 | | ___ __| | ___ ___ _____ __ 02:31:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:31:24 | |___| (_) | (_| | __/ (_| (_) \ V / 02:31:24 \_____\___/ \__,_|\___|\___\___/ \_/ 02:31:24 Bash-1.0.2 02:31:24 02:31:24 02:31:24 ==> git version 2.24.4 found 02:31:24 ==> 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 02:31:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:31:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:31:24 ==> Jenkins CI detected. 02:31:24 project root: . 02:31:24 --> token set from env 02:31:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:31:24 ==> Running gcov in . (disable via -X gcov) 02:31:24 ==> Python coveragepy not found 02:31:24 ==> Searching for coverage reports in: 02:31:24 + . 02:31:24 -> Found 1 reports 02:31:24 ==> Detecting git/mercurial file structure 02:31:24 ==> Reading reports 02:31:24 + ./coverage.out bytes=22385 02:31:24 ==> Appending adjustments 02:31:24 https://docs.codecov.io/docs/fixing-reports 02:31:24 + Found adjustments 02:31:24 ==> Gzipping contents 02:31:24 4.0K /tmp/codecov.dMNiGe.gz 02:31:24 ==> Uploading reports 02:31:24 url: https://codecov.io 02:31:24 query: branch=master&commit=b5230044bd4b19929753d210ee1690417a14801e&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:31:24 -> Pinging Codecov 02:31:24 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=b5230044bd4b19929753d210ee1690417a14801e&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:31:25 -> Uploading to 02:31:25 https://storage.googleapis.com/codecov/v4/raw/2021-05-19/55DBCA73C666E3227836607328DD7E49/b5230044bd4b19929753d210ee1690417a14801e/03ca8db5-6c3f-4a69-ac2e-c430f7b34d0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T023124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7edd38f1e492739c96a7e3b8c83a0023a34e3eedcf80837eef79a91e02d832d 02:31:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:31:25 Dload Upload Total Spent Left Speed 02:31:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 11872 --:--:-- --:--:-- --:--:-- 11914 02:31:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/b5230044bd4b19929753d210ee1690417a14801e [Pipeline] } 02:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:31:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:31:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:31:26 02:31:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:31:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:31:27 188c0c94c7c5: Pulling fs layer 02:31:27 0ef7d3d256c8: Pulling fs layer 02:31:27 de9db76c5a1d: Pulling fs layer 02:31:27 0eba1c9be4d2: Pulling fs layer 02:31:27 0d57e429df01: Pulling fs layer 02:31:27 4e4be7b47b0d: Pulling fs layer 02:31:27 e1f770b5df2f: Pulling fs layer 02:31:27 85a0685a4137: Pulling fs layer 02:31:27 0d57e429df01: Waiting 02:31:27 4e4be7b47b0d: Waiting 02:31:27 e1f770b5df2f: Waiting 02:31:27 85a0685a4137: Waiting 02:31:27 0eba1c9be4d2: Waiting 02:31:27 de9db76c5a1d: Verifying Checksum 02:31:27 de9db76c5a1d: Download complete 02:31:27 0ef7d3d256c8: Verifying Checksum 02:31:27 0ef7d3d256c8: Download complete 02:31:27 0d57e429df01: Verifying Checksum 02:31:27 0d57e429df01: Download complete 02:31:27 4e4be7b47b0d: Verifying Checksum 02:31:27 4e4be7b47b0d: Download complete 02:31:27 188c0c94c7c5: Verifying Checksum 02:31:27 188c0c94c7c5: Download complete 02:31:27 188c0c94c7c5: Pull complete 02:31:27 0ef7d3d256c8: Pull complete 02:31:27 de9db76c5a1d: Pull complete 02:31:28 e1f770b5df2f: Verifying Checksum 02:31:28 e1f770b5df2f: Download complete 02:31:32 0eba1c9be4d2: Verifying Checksum 02:31:32 0eba1c9be4d2: Download complete 02:31:33 85a0685a4137: Verifying Checksum 02:31:33 85a0685a4137: Download complete 02:31:37 0eba1c9be4d2: Pull complete 02:31:37 0d57e429df01: Pull complete 02:31:37 4e4be7b47b0d: Pull complete 02:31:37 e1f770b5df2f: Pull complete 02:31:42 85a0685a4137: Pull complete 02:31:42 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:31:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:31:43 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:31:43 $ 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 02:31:49 $ docker top 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a -eo pid,comm [Pipeline] { [Pipeline] echo 02:31:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:31:50 + set -o pipefail 02:31:50 + snyk monitor '--org=edgex-jenkins' 02:32:17 02:32:17 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 02:32:17 02:32:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/16d990c9-f625-4ff8-80d7-0eb489ef8feb 02:32:17 02:32:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:32:17 02:32:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:32:17 02:32:17 [Pipeline] } 02:32:17 $ docker stop --time=1 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a 02:32:20 $ docker rm -f 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a [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 02:32:21 + git log --format=format:%s -1 b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh 02:32:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:32:21 . [Pipeline] withDockerContainer 02:32:21 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:32:22 $ docker top 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:22 [ssh-agent] Looking for ssh-agent implementation... 02:32:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:22 $ docker exec 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 ssh-agent 02:32:22 SSH_AUTH_SOCK=/tmp/ssh-WlDhWuNx9tPJ/agent.14 02:32:22 SSH_AGENT_PID=20 02:32:22 Running ssh-add (command line suppressed) 02:32:22 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1803228228532617692.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1803228228532617692.key) 02:32:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:22 + git semver tag 02:32:22 # -> Open(): unable to determine branch for HEAD 02:32:22 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:32:22 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:32:22 # $SEMVER_REMOTE_NAME = origin 02:32:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:32:22 # $SEMVER_USER_NAME = edgex-jenkins 02:32:22 # $SEMVER_BRANCH = master 02:32:22 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 02:32:22 # b5230044bd4b19929753d210ee1690417a14801e HEAD 02:32:22 # -> Force: false 02:32:22 # 3fb4b43b054f406db38b64e9926af8c666d314e0 refs/tags/v1.3.2-dev.11 [Pipeline] } 02:32:23 $ docker exec --env ******** --env ******** 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 ssh-agent -k 02:32:23 unset SSH_AUTH_SOCK; 02:32:23 unset SSH_AGENT_PID; 02:32:23 echo Agent pid 20 killed; 02:32:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:23 + git semver [Pipeline] } 02:32:23 $ docker stop --time=1 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 02:32:24 $ docker rm -f 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:25 02:32:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:32:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:25 0.23.1-centos7: Pulling from edgex-lftools 02:32:25 ab5ef0e58194: Pulling fs layer 02:32:25 9712f1f96733: Pulling fs layer 02:32:25 63f879dbbcfc: Pulling fs layer 02:32:25 0d9ebad4ef96: Pulling fs layer 02:32:25 e9a5061849ea: Pulling fs layer 02:32:25 d747dcd14b5f: Pulling fs layer 02:32:25 2de7ff778b66: Pulling fs layer 02:32:25 e9a5061849ea: Waiting 02:32:25 0d9ebad4ef96: Waiting 02:32:25 d747dcd14b5f: Waiting 02:32:25 2de7ff778b66: Waiting 02:32:25 9712f1f96733: Download complete 02:32:26 63f879dbbcfc: Verifying Checksum 02:32:26 63f879dbbcfc: Download complete 02:32:26 e9a5061849ea: Verifying Checksum 02:32:26 e9a5061849ea: Download complete 02:32:26 d747dcd14b5f: Verifying Checksum 02:32:26 d747dcd14b5f: Download complete 02:32:27 2de7ff778b66: Verifying Checksum 02:32:27 2de7ff778b66: Download complete 02:32:27 0d9ebad4ef96: Verifying Checksum 02:32:27 0d9ebad4ef96: Download complete 02:32:27 ab5ef0e58194: Verifying Checksum 02:32:27 ab5ef0e58194: Download complete 02:32:30 ab5ef0e58194: Pull complete 02:32:30 9712f1f96733: Pull complete 02:32:31 63f879dbbcfc: Pull complete 02:32:34 0d9ebad4ef96: Pull complete 02:32:34 e9a5061849ea: Pull complete 02:32:35 d747dcd14b5f: Pull complete 02:32:36 2de7ff778b66: Pull complete 02:32:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:32:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:32:36 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:32:36 $ 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 02:32:46 $ docker top 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:32:46 provisioning config files... 02:32:46 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5363575199158588658tmp 02:32:46 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2738563727364751107tmp 02:32:46 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2768093124957108151tmp [Pipeline] { [Pipeline] echo 02:32:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:32:46 ---> sigul-configuration.sh 02:32:46 gpg: directory `/root/.gnupg' created 02:32:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:32:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:32:46 gpg: keyring `/root/.gnupg/secring.gpg' created 02:32:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:32:46 gpg: CAST5 encrypted data 02:32:46 gpg: encrypted with 1 passphrase 02:32:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:32:47 + mkdir /home/jenkins 02:32:47 + mkdir /home/jenkins/sigul [Pipeline] sh 02:32:47 + 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 02:32:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:32:47 ---> sigul-install.sh 02:32:51 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:32:52 + git tag --list 02:32:52 0.7.1 02:32:52 v1.0.0 02:32:52 v1.1.0 02:32:52 v1.1.1 02:32:52 v1.2.2 02:32:52 v1.3.0 02:32:52 v1.3.1 02:32:52 v1.3.1-dev.1 02:32:52 v1.3.1-dev.2 02:32:52 v1.3.1-dev.3 02:32:52 v1.3.1-dev.4 02:32:52 v1.3.1-dev.5 02:32:52 v1.3.1-dev.6 02:32:52 v1.3.1-dev.7 02:32:52 v1.3.1-dev.8 02:32:52 v1.3.2-dev.1 02:32:52 v1.3.2-dev.10 02:32:52 v1.3.2-dev.11 02:32:52 v1.3.2-dev.2 02:32:52 v1.3.2-dev.3 02:32:52 v1.3.2-dev.4 02:32:52 v1.3.2-dev.5 02:32:52 v1.3.2-dev.6 02:32:52 v1.3.2-dev.7 02:32:52 v1.3.2-dev.8 02:32:52 v1.3.2-dev.9 [Pipeline] sh 02:32:52 + lftools sign git-tag v1.3.2-dev.11 02:32:53 Signing Git tag with Sigul... 02:32:53 Signing v1.3.2-dev.11 [Pipeline] echo 02:32:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:32:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:32:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:32:54 $ docker stop --time=1 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a 02:32:56 $ docker rm -f 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:32:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:32:56 . [Pipeline] withDockerContainer 02:32:57 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:32:57 $ 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 02:32:57 $ docker top 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:57 [ssh-agent] Looking for ssh-agent implementation... 02:32:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:57 $ docker exec 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 ssh-agent 02:32:57 SSH_AUTH_SOCK=/tmp/ssh-lZwVi0tWA4zW/agent.12 02:32:57 SSH_AGENT_PID=18 02:32:57 Running ssh-add (command line suppressed) 02:32:58 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5689490583166427194.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5689490583166427194.key) 02:32:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:58 + git semver bump pre 02:32:58 # -> Open(): unable to determine branch for HEAD 02:32:58 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:32:58 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:32:58 # $SEMVER_REMOTE_NAME = origin 02:32:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:32:58 # $SEMVER_USER_NAME = edgex-jenkins 02:32:58 # $SEMVER_BRANCH = master 02:32:58 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 02:32:58 1.3.2-dev.12 [Pipeline] } 02:32:58 $ docker exec --env ******** --env ******** 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 ssh-agent -k 02:32:58 unset SSH_AUTH_SOCK; 02:32:58 unset SSH_AGENT_PID; 02:32:58 echo Agent pid 18 killed; 02:32:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:58 + git semver [Pipeline] } 02:32:58 $ docker stop --time=1 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 02:33:00 $ docker rm -f 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:33:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:33:00 . [Pipeline] withDockerContainer 02:33:00 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:33:00 $ 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 02:33:01 $ docker top 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:01 [ssh-agent] Looking for ssh-agent implementation... 02:33:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:01 $ docker exec 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 ssh-agent 02:33:01 SSH_AUTH_SOCK=/tmp/ssh-FgQeMEVAEYa8/agent.14 02:33:01 SSH_AGENT_PID=20 02:33:01 Running ssh-add (command line suppressed) 02:33:01 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4000004648206762694.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4000004648206762694.key) 02:33:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:01 + git semver push 02:33:01 # -> Open(): unable to determine branch for HEAD 02:33:01 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:33:01 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:33:01 # $SEMVER_REMOTE_NAME = origin 02:33:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:33:01 # $SEMVER_USER_NAME = edgex-jenkins 02:33:01 # $SEMVER_BRANCH = master 02:33:01 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 02:33:07 $ docker exec --env ******** --env ******** 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 ssh-agent -k 02:33:07 unset SSH_AUTH_SOCK; 02:33:07 unset SSH_AGENT_PID; 02:33:07 echo Agent pid 20 killed; 02:33:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:07 + git semver [Pipeline] } 02:33:07 $ docker stop --time=1 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 02:33:08 $ docker rm -f 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 [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 02:33:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:33:10 ---> package-listing.sh 02:33:10 ++ facter osfamily 02:33:10 ++ tr '[:upper:]' '[:lower:]' 02:33:10 + OS_FAMILY=redhat 02:33:10 + workspace=/w/workspace/xfoundry_device-modbus-go_master 02:33:10 + START_PACKAGES=/tmp/packages_start.txt 02:33:10 + END_PACKAGES=/tmp/packages_end.txt 02:33:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:33:10 + PACKAGES=/tmp/packages_start.txt 02:33:10 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 02:33:10 + PACKAGES=/tmp/packages_end.txt 02:33:10 + case "${OS_FAMILY}" in 02:33:10 + sort 02:33:10 + rpm -qa 02:33:11 + '[' -f /tmp/packages_start.txt ']' 02:33:11 + '[' -f /tmp/packages_end.txt ']' 02:33:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:33:11 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 02:33:11 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 02:33:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 02:33:11 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 02:33:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:33:12 02:33:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:33:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:33:12 alpine: Pulling from edgex-lftools-log-publisher 02:33:12 df20fa9351a1: Pulling fs layer 02:33:12 36b3adc4ff6f: Pulling fs layer 02:33:12 8ad3a11d3b57: Pulling fs layer 02:33:12 46f8f816bc3b: Pulling fs layer 02:33:12 93b61091891f: Pulling fs layer 02:33:12 93b9cdb0e59b: Pulling fs layer 02:33:12 5e14af77c1be: Pulling fs layer 02:33:12 01666e4c0597: Pulling fs layer 02:33:12 aa168da1d23b: Pulling fs layer 02:33:12 93b9cdb0e59b: Waiting 02:33:12 5e14af77c1be: Waiting 02:33:12 01666e4c0597: Waiting 02:33:12 aa168da1d23b: Waiting 02:33:12 46f8f816bc3b: Waiting 02:33:12 93b61091891f: Waiting 02:33:12 36b3adc4ff6f: Verifying Checksum 02:33:12 36b3adc4ff6f: Download complete 02:33:12 46f8f816bc3b: Verifying Checksum 02:33:12 46f8f816bc3b: Download complete 02:33:12 df20fa9351a1: Verifying Checksum 02:33:12 df20fa9351a1: Download complete 02:33:12 93b9cdb0e59b: Verifying Checksum 02:33:12 93b9cdb0e59b: Download complete 02:33:12 93b61091891f: Verifying Checksum 02:33:12 93b61091891f: Download complete 02:33:12 5e14af77c1be: Verifying Checksum 02:33:12 5e14af77c1be: Download complete 02:33:12 01666e4c0597: Verifying Checksum 02:33:12 01666e4c0597: Download complete 02:33:12 df20fa9351a1: Pull complete 02:33:12 8ad3a11d3b57: Verifying Checksum 02:33:12 8ad3a11d3b57: Download complete 02:33:13 36b3adc4ff6f: Pull complete 02:33:13 8ad3a11d3b57: Pull complete 02:33:13 46f8f816bc3b: Pull complete 02:33:13 93b61091891f: Pull complete 02:33:14 93b9cdb0e59b: Pull complete 02:33:14 5e14af77c1be: Pull complete 02:33:14 01666e4c0597: Pull complete 02:33:14 aa168da1d23b: Verifying Checksum 02:33:14 aa168da1d23b: Download complete 02:33:18 aa168da1d23b: Pull complete 02:33:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:33:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:33:18 prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container 02:33:18 $ 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 02:33:22 $ docker top e20f338daf616906a76538da913a176d3d9d84e2316d272a64c8583be169674f -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:22 + touch /tmp/pre-build-complete [Pipeline] sh 02:33:23 + mkdir -p /var/log/sa [Pipeline] sh 02:33:23 + ls /var/log/sa-host 02:33:23 + sadf -c /var/log/sa-host/sa05 02:33:23 file_magic: OK 02:33:23 HZ: Using current value: 100 02:33:23 file_header: OK 02:33:23 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 02:33:23 Statistics: 02:33:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:33:23 File successfully converted to sysstat format version 12.2.1 02:33:23 + sadf -c /var/log/sa-host/sa19 02:33:23 file_magic: OK 02:33:23 HZ: Using current value: 100 02:33:23 file_header: OK 02:33:23 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 02:33:23 Statistics: 02:33:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:33:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:23 provisioning config files... 02:33:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2473193136459441580tmp [Pipeline] { [Pipeline] echo 02:33:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:33:24 ---> create-netrc.sh [Pipeline] } 02:33:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:33:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:33:24 ---> python-tools-install.sh [Pipeline] echo 02:33:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:33:24 ---> sudo-logs.sh 02:33:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:33:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:33:25 ---> job-cost.sh 02:33:25 lf-activate-venv: SKIPPING 02:33:25 DEBUG: total: 0.18000000715255737 02:33:25 INFO: Retrieving Stack Cost... 02:33:25 INFO: Retrieving Pricing Info for: v3-standard-2 02:33:26 INFO: Archiving Costs [Pipeline] echo 02:33:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:33:26 ---> logs-deploy.sh 02:33:26 lf-activate-venv: SKIPPING 02:33:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/50 02:33:26 INFO: archiving workspace using pattern(s): 02:33:27 Archives upload complete. 02:33:27 INFO: archiving logs to Nexus 02:33:28 ---> uname -a: 02:33:28 Linux prd-centos7-docker-4c-2g-14956.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 02:33:28 02:33:28 02:33:28 ---> lscpu: 02:33:28 Architecture: x86_64 02:33:28 CPU op-mode(s): 32-bit, 64-bit 02:33:28 Byte Order: Little Endian 02:33:28 Address sizes: 40 bits physical, 48 bits virtual 02:33:28 CPU(s): 2 02:33:28 On-line CPU(s) list: 0,1 02:33:28 Thread(s) per core: 1 02:33:28 Core(s) per socket: 1 02:33:28 Socket(s): 2 02:33:28 NUMA node(s): 1 02:33:28 Vendor ID: AuthenticAMD 02:33:28 CPU family: 23 02:33:28 Model: 49 02:33:28 Model name: AMD EPYC-Rome Processor 02:33:28 Stepping: 0 02:33:28 CPU MHz: 2800.000 02:33:28 BogoMIPS: 5600.00 02:33:28 Virtualization: AMD-V 02:33:28 Hypervisor vendor: KVM 02:33:28 Virtualization type: full 02:33:28 L1d cache: 64 KiB 02:33:28 L1i cache: 64 KiB 02:33:28 L2 cache: 1 MiB 02:33:28 L3 cache: 32 MiB 02:33:28 NUMA node0 CPU(s): 0,1 02:33:28 Vulnerability Itlb multihit: Not affected 02:33:28 Vulnerability L1tf: Not affected 02:33:28 Vulnerability Mds: Not affected 02:33:28 Vulnerability Meltdown: Not affected 02:33:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:33:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:33:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:33:28 Vulnerability Srbds: Not affected 02:33:28 Vulnerability Tsx async abort: Not affected 02:33:28 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 02:33:28 02:33:28 02:33:28 ---> nproc: 02:33:28 2 02:33:28 02:33:28 02:33:28 ---> df -h: 02:33:28 Filesystem Size Used Available Use% Mounted on 02:33:28 overlay 40.0G 8.9G 31.1G 22% / 02:33:28 tmpfs 64.0M 0 64.0M 0% /dev 02:33:28 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 02:33:28 shm 64.0M 0 64.0M 0% /dev/shm 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 02:33:28 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 02:33:28 02:33:28 02:33:28 ---> free -m: 02:33:28 total used free shared buff/cache available 02:33:28 Mem: 7821 1172 3264 0 3384 6568 02:33:28 Swap: 1023 0 1023 02:33:28 02:33:28 02:33:28 ---> ip addr: 02:33:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:33:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:33:28 inet 127.0.0.1/8 scope host lo 02:33:28 valid_lft forever preferred_lft forever 02:33:28 inet6 ::1/128 scope host 02:33:28 valid_lft forever preferred_lft forever 02:33:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:33:28 link/ether fa:16:3e:db:b8:3b brd ff:ff:ff:ff:ff:ff 02:33:28 inet 10.30.123.109/23 brd 10.30.123.255 scope global dynamic eth0 02:33:28 valid_lft 85604sec preferred_lft 85604sec 02:33:28 inet6 fe80::f816:3eff:fedb:b83b/64 scope link 02:33:28 valid_lft forever preferred_lft forever 02:33:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:33:28 link/ether 02:42:be:af:7f:53 brd ff:ff:ff:ff:ff:ff 02:33:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:33:28 valid_lft forever preferred_lft forever 02:33:28 inet6 fe80::42:beff:feaf:7f53/64 scope link 02:33:28 valid_lft forever preferred_lft forever 02:33:28 02:33:28 02:33:28 ---> sar -b -r -n DEV: 02:33:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/19/21 _x86_64_ (2 CPU) 02:33:28 02:33:28 02:20:00 LINUX RESTART (2 CPU) 02:33:28 02:33:28 02:21:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:33:28 02:22:01 20.01 3.40 16.61 0.00 2607.25 3021.05 0.00 02:33:28 02:23:01 0.43 0.02 0.42 0.00 0.53 6.13 0.00 02:33:28 02:24:01 0.22 0.00 0.22 0.00 0.00 2.15 0.00 02:33:28 02:25:01 0.23 0.00 0.23 0.00 0.00 3.60 0.00 02:33:28 02:26:01 0.30 0.00 0.30 0.00 0.00 4.51 0.00 02:33:28 02:27:01 0.27 0.00 0.27 0.00 0.00 3.47 0.00 02:33:28 02:28:01 0.20 0.00 0.20 0.00 0.00 2.57 0.00 02:33:28 02:29:01 0.23 0.00 0.23 0.00 0.00 3.46 0.00 02:33:28 02:30:01 0.32 0.00 0.32 0.00 0.00 5.18 0.00 02:33:28 02:31:01 0.32 0.00 0.32 0.00 0.00 4.73 0.00 02:33:28 02:32:01 88.68 0.03 88.64 0.00 3.73 30258.67 0.00 02:33:28 02:33:01 127.24 0.00 127.24 0.00 0.00 30221.28 0.00 02:33:28 Average: 19.88 0.28 19.59 0.00 214.39 5299.19 0.00 02:33:28 02:33:28 02:21:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:33:28 02:22:01 5469856 0 799884 9.99 2620 1736580 1269652 14.02 566936 1573884 20 02:33:28 02:23:01 5476272 0 793460 9.91 2620 1736588 1203332 13.29 566928 1568696 12 02:33:28 02:24:01 5473068 0 796644 9.95 2620 1736608 1203584 13.29 566572 1571948 28 02:33:28 02:25:01 5473268 0 796456 9.94 2620 1736596 1203608 13.29 566600 1571944 20 02:33:28 02:26:01 5472084 0 797636 9.96 2620 1736600 1203632 13.29 563436 1576464 8 02:33:28 02:27:01 5472232 0 797484 9.96 2620 1736604 1203584 13.29 563164 1576468 8 02:33:28 02:28:01 5472672 0 797040 9.95 2620 1736608 1203332 13.29 563204 1576464 16 02:33:28 02:29:01 5462208 0 807500 10.08 2620 1736612 1203332 13.29 573448 1576464 8 02:33:28 02:30:01 5462196 0 807508 10.08 2620 1736616 1203332 13.29 575476 1574480 8 02:33:28 02:31:01 5461588 0 808112 10.09 2620 1736620 1203504 13.29 576156 1574480 8 02:33:28 02:32:01 4394248 0 1033556 12.91 2620 2578516 1469204 16.22 821388 2272716 101028 02:33:28 02:33:01 3813180 0 1134504 14.17 2620 3058636 1928588 21.29 854576 2700060 36 02:33:28 Average: 5241906 0 847482 10.58 2620 1916932 1291557 14.26 613157 1726172 8433 02:33:28 02:33:28 02:21:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:33:28 02:22:01 eth0 60.46 52.34 344.94 14.17 0.00 0.00 0.00 0.00 02:33:28 02:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:22:01 docker0 2.52 1.88 0.51 5.29 0.00 0.00 0.00 0.00 02:33:28 02:23:01 eth0 0.40 0.08 0.03 0.01 0.00 0.00 0.00 0.00 02:33:28 02:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:24:01 eth0 1.67 0.28 0.40 0.16 0.00 0.00 0.00 0.00 02:33:28 02:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:25:01 eth0 1.23 0.33 0.33 0.24 0.00 0.00 0.00 0.00 02:33:28 02:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:26:01 eth0 0.80 0.42 0.42 0.27 0.00 0.00 0.00 0.00 02:33:28 02:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:27:01 eth0 0.40 0.23 0.26 0.19 0.00 0.00 0.00 0.00 02:33:28 02:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:28:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:33:28 02:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:29:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:33:28 02:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:33:28 02:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:31:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 02:33:28 02:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:32:01 vethb88116d 66.28 66.39 6.55 386.56 0.00 0.00 0.00 0.00 02:33:28 02:32:01 eth0 465.90 437.99 4469.80 61.79 0.00 0.00 0.00 0.00 02:33:28 02:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:32:01 docker0 66.28 66.26 5.65 386.55 0.00 0.00 0.00 0.00 02:33:28 02:33:01 eth0 462.01 414.50 3513.43 91.24 0.00 0.00 0.00 0.00 02:33:28 02:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:33:01 veth9bee7da 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 02:33:01 docker0 34.84 38.23 1.92 259.10 0.00 0.00 0.00 0.00 02:33:28 Average: eth0 82.83 75.60 694.80 14.02 0.00 0.00 0.00 0.00 02:33:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 Average: veth9bee7da 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:33:28 Average: docker0 8.65 8.88 0.67 54.33 0.00 0.00 0.00 0.00 02:33:28 02:33:28 02:33:28 ---> sar -P ALL: 02:33:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/19/21 _x86_64_ (2 CPU) 02:33:28 02:33:28 02:20:00 LINUX RESTART (2 CPU) 02:33:28 02:33:28 02:21:02 CPU %user %nice %system %iowait %steal %idle 02:33:28 02:22:01 all 2.89 0.00 1.62 1.66 0.04 93.78 02:33:28 02:22:01 0 2.99 0.00 1.56 1.50 0.05 93.90 02:33:28 02:22:01 1 2.80 0.00 1.68 1.82 0.03 93.66 02:33:28 02:23:01 all 0.14 0.00 0.05 0.00 0.02 99.79 02:33:28 02:23:01 0 0.03 0.00 0.05 0.00 0.02 99.90 02:33:28 02:23:01 1 0.25 0.00 0.05 0.00 0.02 99.68 02:33:28 02:24:01 all 0.13 0.00 0.03 0.00 0.03 99.82 02:33:28 02:24:01 0 0.05 0.00 0.03 0.00 0.03 99.88 02:33:28 02:24:01 1 0.22 0.00 0.02 0.00 0.02 99.75 02:33:28 02:25:01 all 0.11 0.00 0.03 0.00 0.02 99.84 02:33:28 02:25:01 0 0.05 0.00 0.03 0.00 0.02 99.90 02:33:28 02:25:01 1 0.17 0.00 0.03 0.00 0.02 99.78 02:33:28 02:26:01 all 0.08 0.00 0.03 0.00 0.03 99.86 02:33:28 02:26:01 0 0.08 0.00 0.03 0.00 0.03 99.85 02:33:28 02:26:01 1 0.08 0.00 0.02 0.00 0.03 99.87 02:33:28 02:27:01 all 0.08 0.00 0.02 0.00 0.03 99.88 02:33:28 02:27:01 0 0.02 0.00 0.02 0.00 0.03 99.93 02:33:28 02:27:01 1 0.13 0.00 0.02 0.00 0.02 99.83 02:33:28 02:28:01 all 0.13 0.00 0.03 0.00 0.03 99.82 02:33:28 02:28:01 0 0.03 0.00 0.05 0.00 0.02 99.90 02:33:28 02:28:01 1 0.22 0.00 0.02 0.00 0.03 99.73 02:33:28 02:29:01 all 0.12 0.00 0.03 0.00 0.02 99.83 02:33:28 02:29:01 0 0.03 0.00 0.05 0.00 0.03 99.88 02:33:28 02:29:01 1 0.20 0.00 0.02 0.00 0.00 99.78 02:33:28 02:30:01 all 0.12 0.00 0.03 0.00 0.03 99.82 02:33:28 02:30:01 0 0.05 0.00 0.03 0.00 0.03 99.88 02:33:28 02:30:01 1 0.18 0.00 0.03 0.00 0.02 99.77 02:33:28 02:31:01 all 0.11 0.00 0.03 0.00 0.02 99.85 02:33:28 02:31:01 0 0.15 0.00 0.03 0.00 0.02 99.80 02:33:28 02:31:01 1 0.07 0.00 0.02 0.00 0.02 99.90 02:33:28 02:32:01 all 11.72 0.00 4.68 7.37 0.05 76.18 02:33:28 02:32:01 0 12.26 0.00 5.09 9.46 0.05 73.13 02:33:28 02:32:01 1 11.19 0.00 4.26 5.29 0.05 79.20 02:33:28 02:33:28 02:32:01 CPU %user %nice %system %iowait %steal %idle 02:33:28 02:33:01 all 13.78 0.00 6.81 2.66 0.08 76.68 02:33:28 02:33:01 0 11.79 0.00 6.94 1.98 0.09 79.21 02:33:28 02:33:01 1 15.76 0.00 6.67 3.35 0.07 74.15 02:33:28 Average: all 2.39 0.00 1.09 0.95 0.03 95.54 02:33:28 Average: 0 2.23 0.00 1.13 1.05 0.04 95.56 02:33:28 Average: 1 2.55 0.00 1.04 0.85 0.03 95.53 02:33:28 02:33:28 02:33:28