Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 23b2ace20fc3a54731961acf7f402a3079c58c8e 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-ssh4362396515267578889.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-ssh2934792824243692105.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-ssh3161615176787229717.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-ssh8546954585390903082.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-ssh8971182662487420986.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-323 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 23b2ace20fc3a54731961acf7f402a3079c58c8e (master) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh3185708063547402698.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23b2ace20fc3a54731961acf7f402a3079c58c8e # timeout=10 Commit message: "Merge pull request #252 from lenny-intel/service-info" > git rev-list --no-walk be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:45:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:45 ========================================================= 01:45:45 EdgeX Global Pipelines Version Info 01:45:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:45:46 ------------------- 01:45:46 stable info: 01:45:46 ------------------- 01:45:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:45:46 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:45:46 Message: update stable to v1.0.192 01:45:47 ------------------- 01:45:47 experimental info: 01:45:47 ------------------- 01:45:47 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:47 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:45:47 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23b2ace [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:48 provisioning config files... 01:45:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5685414925675589298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:48 ---> docker-login.sh 01:45:48 nexus3.edgexfoundry.org:10001 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 nexus3.edgexfoundry.org:10002 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 nexus3.edgexfoundry.org:10003 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 nexus3.edgexfoundry.org:10004 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 docker.io 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 ---> docker-login.sh ends [Pipeline] } 01:45:49 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 01:45:50 + git log --format=format:%s -1 23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] echo 01:45:50 GIT_COMMIT: 23b2ace20fc3a54731961acf7f402a3079c58c8e, Commit Message: Merge pull request #252 from lenny-intel/service-info [Pipeline] echo 01:45:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:45:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:51 01:45:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:45:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:51 latest: Pulling from edgex-devops/git-semver 01:45:51 31603596830f: Pulling fs layer 01:45:51 54011a49482f: Pulling fs layer 01:45:51 a6820b24f6d8: Pulling fs layer 01:45:51 f581987b2513: Pulling fs layer 01:45:51 f581987b2513: Waiting 01:45:51 54011a49482f: Download complete 01:45:51 31603596830f: Verifying Checksum 01:45:51 31603596830f: Download complete 01:45:51 a6820b24f6d8: Verifying Checksum 01:45:51 a6820b24f6d8: Download complete 01:45:51 f581987b2513: Verifying Checksum 01:45:51 f581987b2513: Download complete 01:45:51 31603596830f: Pull complete 01:45:51 54011a49482f: Pull complete 01:45:52 a6820b24f6d8: Pull complete 01:45:52 f581987b2513: Pull complete 01:45:52 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 01:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:45:52 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:45:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:45:54 $ docker top 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:54 [ssh-agent] Looking for ssh-agent implementation... 01:45:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:54 $ docker exec 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 ssh-agent 01:45:54 SSH_AUTH_SOCK=/tmp/ssh-vnmHrNVSmIou/agent.13 01:45:54 SSH_AGENT_PID=18 01:45:54 Running ssh-add (command line suppressed) 01:45:54 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4543388366095114857.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4543388366095114857.key) 01:45:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:55 + git tag --points-at HEAD [Pipeline] } 01:45:55 $ docker exec --env ******** --env ******** 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 ssh-agent -k 01:45:55 unset SSH_AUTH_SOCK; 01:45:55 unset SSH_AGENT_PID; 01:45:55 echo Agent pid 18 killed; 01:45:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:55 [ssh-agent] Looking for ssh-agent implementation... 01:45:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:55 $ docker exec 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 ssh-agent 01:45:55 SSH_AUTH_SOCK=/tmp/ssh-Ylbd1LeqHKXY/agent.51 01:45:55 SSH_AGENT_PID=57 01:45:55 Running ssh-add (command line suppressed) 01:45:55 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6964433863762496176.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6964433863762496176.key) 01:45:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:56 + git semver init 01:45:56 # -> Open(): unable to determine branch for HEAD 01:45:56 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 01:45:56 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 01:45:56 # $SEMVER_REMOTE_NAME = origin 01:45:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:45:56 # $SEMVER_USER_NAME = edgex-jenkins 01:45:56 # $SEMVER_BRANCH = master 01:45:56 # $SEMVER_TEMP = /tmp/semver-167307731 01:45:56 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 01:45:56 # '/tmp/semver-167307731' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 01:45:56 # -> Force: false 01:45:56 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 01:45:56 $ docker exec --env ******** --env ******** 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 ssh-agent -k 01:45:56 unset SSH_AUTH_SOCK; 01:45:56 unset SSH_AGENT_PID; 01:45:56 echo Agent pid 57 killed; 01:45:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:56 + git semver [Pipeline] } 01:45:56 $ docker stop --time=1 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 01:45:58 $ docker rm -f 467075b844acedd621048029a78dbe51d2cc982c9f36861bb59f6da6537c5f99 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:45:58 Stashed 1 file(s) [Pipeline] echo 01:45:58 [edgeXSemver]: initialized semver on version 1.3.2-dev.13 [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 01:46:14 Still waiting to schedule task 01:46:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:46:14 Still waiting to schedule task 01:46:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ is offline 01:47:35 Running on prd-centos7-docker-4c-2g-328 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 01:47:35 Running in /w/workspace/device-modbus-go/52 [Pipeline] { [Pipeline] checkout 01:47:35 Selected Git installation does not exist. Using Default 01:47:35 The recommended git tool is: NONE 01:47:37 using credential edgex-jenkins-ssh 01:47:37 Cloning the remote Git repository 01:47:38 Avoid second fetch 01:47:38 Checking out Revision 23b2ace20fc3a54731961acf7f402a3079c58c8e (master) 01:47:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:47:36 > git init /w/workspace/device-modbus-go/52 # timeout=10 01:47:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:47:36 > git --version # timeout=10 01:47:36 > git --version # 'git version 2.24.4' 01:47:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:36 [INFO] Currently running in a labeled security context 01:47:36 [INFO] Currently SELinux is 'enforcing' on the host 01:47:36 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/52@tmp/jenkins-gitclient-ssh3994743480544259482.key 01:47:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:47:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:37 > git config core.sparsecheckout # timeout=10 01:47:37 > git checkout -f 23b2ace20fc3a54731961acf7f402a3079c58c8e # timeout=10 01:47:41 Commit message: "Merge pull request #252 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:47:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:47:43 + sudo service docker restart 01:47:43 + true 01:47:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:01 provisioning config files... 01:48:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config2671410708231892492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:01 ---> docker-login.sh 01:48:01 nexus3.edgexfoundry.org:10001 01:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:01 Configure a credential helper to remove this warning. See 01:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:01 01:48:01 Login Succeeded 01:48:01 nexus3.edgexfoundry.org:10002 01:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:01 Configure a credential helper to remove this warning. See 01:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:01 01:48:01 Login Succeeded 01:48:01 nexus3.edgexfoundry.org:10003 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 nexus3.edgexfoundry.org:10004 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 docker.io 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 ---> docker-login.sh ends [Pipeline] } 01:48:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:02 ========================================================= 01:48:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:48:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:48:03 + 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 . 01:48:03 Sending build context to Docker daemon 613.4kB 01:48:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 01:48:03 Step 2/8 : FROM ${BASE} 01:48:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:03 540db60ca938: Pulling fs layer 01:48:03 adcc1eea9eea: Pulling fs layer 01:48:03 4c4ab2625f07: Pulling fs layer 01:48:03 0510c868ecb4: Pulling fs layer 01:48:03 afea3b2eda06: Pulling fs layer 01:48:03 7809a108b3ef: Pulling fs layer 01:48:03 f706445af74f: Pulling fs layer 01:48:03 0510c868ecb4: Waiting 01:48:03 afea3b2eda06: Waiting 01:48:03 7809a108b3ef: Waiting 01:48:03 f706445af74f: Waiting 01:48:03 4c4ab2625f07: Verifying Checksum 01:48:03 4c4ab2625f07: Download complete 01:48:03 adcc1eea9eea: Verifying Checksum 01:48:03 adcc1eea9eea: Download complete 01:48:03 afea3b2eda06: Verifying Checksum 01:48:03 afea3b2eda06: Download complete 01:48:03 7809a108b3ef: Verifying Checksum 01:48:03 7809a108b3ef: Download complete 01:48:03 540db60ca938: Verifying Checksum 01:48:03 540db60ca938: Download complete 01:48:03 540db60ca938: Pull complete 01:48:03 adcc1eea9eea: Pull complete 01:48:03 4c4ab2625f07: Pull complete 01:48:04 f706445af74f: Verifying Checksum 01:48:04 f706445af74f: Download complete 01:48:05 0510c868ecb4: Verifying Checksum 01:48:05 0510c868ecb4: Download complete 01:48:08 0510c868ecb4: Pull complete 01:48:08 afea3b2eda06: Pull complete 01:48:08 7809a108b3ef: Pull complete 01:48:10 f706445af74f: Pull complete 01:48:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 01:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:48:10 ---> b068be0155e3 01:48:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 01:48:14 ---> Running in a20ac1ecc903 01:48:14 Removing intermediate container a20ac1ecc903 01:48:14 ---> d453ab488259 01:48:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:14 ---> Running in 87953beec567 01:48:15 Removing intermediate container 87953beec567 01:48:15 ---> b967a284f9ee 01:48:15 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:48:15 ---> Running in 0e8b97cbab02 01:48:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:48:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:48:16 (1/13) Installing libc-dev (0.7.2-r3) 01:48:17 (2/13) Installing libsodium (1.0.18-r0) 01:48:17 (3/13) Installing pkgconf (1.7.3-r0) 01:48:17 (4/13) Installing libsodium-dev (1.0.18-r0) 01:48:17 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:48:17 (6/13) Installing libedit (20191231.3.1-r1) 01:48:17 (7/13) Installing openssh-client (8.4_p1-r3) 01:48:17 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:48:17 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:48:17 (10/13) Installing openssh-server (8.4_p1-r3) 01:48:17 (11/13) Installing openssh (8.4_p1-r3) 01:48:18 (12/13) Installing libzmq (4.3.3-r1) 01:48:18 (13/13) Installing zeromq-dev (4.3.3-r1) 01:48:18 Executing busybox-1.32.1-r6.trigger 01:48:18 OK: 156 MiB in 53 packages 01:48:18 Removing intermediate container 0e8b97cbab02 01:48:18 ---> 2a6b363d05f0 01:48:18 Step 6/8 : WORKDIR /device-modbus-go 01:48:18 ---> Running in a9f8bc853676 01:48:18 Removing intermediate container a9f8bc853676 01:48:18 ---> 7efe3984c4dd 01:48:18 Step 7/8 : COPY . . 01:48:19 ---> a8bf54af3296 01:48:19 Step 8/8 : RUN go mod download 01:48:19 ---> Running in 5475a75b6b40 01:48:31 Removing intermediate container 5475a75b6b40 01:48:31 ---> 1fa4c2274e5b 01:48:31 Successfully built 1fa4c2274e5b 01:48:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:48:31 + docker inspect -f . ci-base-image-x86_64 01:48:31 . [Pipeline] withDockerContainer 01:48:31 prd-centos7-docker-4c-2g-328 does not seem to be running inside a container 01:48:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:32 $ docker top 70cb994be8679e9131e4b2af9a60134ec3d0d4e4dc66675739ff13972c5da2e6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:32 + go version 01:48:32 go version go1.16.3 linux/amd64 [Pipeline] } 01:48:32 $ docker stop --time=1 70cb994be8679e9131e4b2af9a60134ec3d0d4e4dc66675739ff13972c5da2e6 01:48:34 $ docker rm -f 70cb994be8679e9131e4b2af9a60134ec3d0d4e4dc66675739ff13972c5da2e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:34 + docker inspect -f . ci-base-image-x86_64 01:48:34 . [Pipeline] withDockerContainer 01:48:34 prd-centos7-docker-4c-2g-328 does not seem to be running inside a container 01:48:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:35 $ docker top 4d0d88e1243c2654d12e6df3a74c9512997ac00731ce081efa496b26f99d64a0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:35 + go mod tidy [Pipeline] sh 01:48:35 + make test 01:48:35 go mod tidy 01:48:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:48:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:48:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-330 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 01:48:41 Running in /w/workspace/device-modbus-go/52 [Pipeline] { [Pipeline] checkout 01:48:42 Selected Git installation does not exist. Using Default 01:48:42 The recommended git tool is: NONE 01:48:47 using credential edgex-jenkins-ssh 01:48:47 Cloning the remote Git repository 01:48:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:48:47 > git init /w/workspace/device-modbus-go/52 # timeout=10 01:48:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:48:47 > git --version # timeout=10 01:48:47 > git --version # 'git version 2.17.1' 01:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:48:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:48:48 Avoid second fetch 01:48:48 Checking out Revision 23b2ace20fc3a54731961acf7f402a3079c58c8e (master) 01:48:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:48:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:48:48 > git config core.sparsecheckout # timeout=10 01:48:48 > git checkout -f 23b2ace20fc3a54731961acf7f402a3079c58c8e # timeout=10 01:48:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:48:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 01:48:52 Commit message: "Merge pull request #252 from lenny-intel/service-info" 01:48:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:48:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:48:54 + sudo service docker restart 01:48:54 + true 01:48:59 gofmt -l . 01:48:59 [ "`gofmt -l .`" = "" ] 01:48:59 ./bin/test-attribution-txt.sh 01:48:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:48:59 $ docker stop --time=1 4d0d88e1243c2654d12e6df3a74c9512997ac00731ce081efa496b26f99d64a0 01:49:01 $ docker rm -f 4d0d88e1243c2654d12e6df3a74c9512997ac00731ce081efa496b26f99d64a0 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:03 + ls -al . 01:49:03 total 112 01:49:03 drwxrwxr-x. 9 jenkins jenkins 4096 May 26 01:48 . 01:49:03 drwxrwxr-x. 4 jenkins jenkins 30 May 26 01:47 .. 01:49:03 -rw-rw-r--. 1 jenkins jenkins 7707 May 26 01:47 Attribution.txt 01:49:03 drwxrwxr-x. 2 jenkins jenkins 87 May 26 01:47 bin 01:49:03 drwxrwxr-x. 3 jenkins jenkins 32 May 26 01:47 cmd 01:49:03 -rw-r--r--. 1 jenkins jenkins 22385 May 26 01:48 coverage.out 01:49:03 -rw-rw-r--. 1 jenkins jenkins 1473 May 26 01:47 Dockerfile 01:49:03 -rw-rw-r--. 1 jenkins jenkins 995 May 26 01:47 Dockerfile.build 01:49:03 -rw-rw-r--. 1 jenkins jenkins 140 May 26 01:47 .dockerignore 01:49:03 drwxrwxr-x. 8 jenkins jenkins 162 May 26 01:47 .git 01:49:03 drwxrwxr-x. 2 jenkins jenkins 103 May 26 01:47 .github 01:49:03 -rw-rw-r--. 1 jenkins jenkins 338 May 26 01:47 .gitignore 01:49:03 -rw-r--r--. 1 jenkins jenkins 413 May 26 01:48 go.mod 01:49:03 -rw-r--r--. 1 jenkins jenkins 21834 May 26 01:48 go.sum 01:49:03 drwxrwxr-x. 3 jenkins jenkins 20 May 26 01:47 internal 01:49:03 -rw-rw-r--. 1 jenkins jenkins 679 May 26 01:47 Jenkinsfile 01:49:03 -rw-rw-r--. 1 jenkins jenkins 11340 May 26 01:47 LICENSE 01:49:03 -rw-rw-r--. 1 jenkins jenkins 914 May 26 01:47 Makefile 01:49:03 -rw-rw-r--. 1 jenkins jenkins 2897 May 26 01:47 README.md 01:49:03 drwxrwxr-x. 2 jenkins jenkins 52 May 26 01:47 simulator 01:49:03 drwxrwxr-x. 4 jenkins jenkins 71 May 26 01:47 snap 01:49:03 -rw-rw-r--. 1 jenkins jenkins 12 May 26 01:45 VERSION 01:49:03 -rw-rw-r--. 1 jenkins jenkins 229 May 26 01:47 version.go [Pipeline] isUnix [Pipeline] sh 01:49:03 + 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=23b2ace20fc3a54731961acf7f402a3079c58c8e --label arch=amd64 --label version=1.3.2-dev.13 . 01:49:03 Sending build context to Docker daemon 636.4kB 01:49:03 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 01:49:03 Step 2/22 : FROM ${BASE} AS builder 01:49:03 ---> 1fa4c2274e5b 01:49:03 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:03 ---> Running in 15203222cd36 01:49:04 Removing intermediate container 15203222cd36 01:49:04 ---> c59cea8dcb04 01:49:04 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:49:04 ---> Running in 8f9bdb275573 01:49:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:49:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:49:08 OK: 156 MiB in 53 packages 01:49:08 Removing intermediate container 8f9bdb275573 01:49:08 ---> a66e345e5a6f 01:49:08 Step 5/22 : WORKDIR /device-modbus-go 01:49:08 ---> Running in 4049dfc97f31 01:49:09 Removing intermediate container 4049dfc97f31 01:49:09 ---> 07f4a5950962 01:49:09 Step 6/22 : COPY . . 01:49:09 ---> db7469d3b462 01:49:09 Step 7/22 : RUN go mod tidy 01:49:09 ---> Running in 00658383a8d7 01:49:10 Removing intermediate container 00658383a8d7 01:49:10 ---> 86745a344cca 01:49:10 Step 8/22 : RUN go mod download 01:49:10 ---> Running in 93611a91aeb9 01:49:10 Removing intermediate container 93611a91aeb9 01:49:10 ---> 317e7b58b154 01:49:10 Step 9/22 : RUN make build 01:49:10 ---> Running in 6df7dc2d732c 01:49:10 go mod tidy 01:49:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.13" -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:13 provisioning config files... 01:49:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config980364804089556127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:13 ---> docker-login.sh 01:49:13 nexus3.edgexfoundry.org:10001 01:49:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:14 Configure a credential helper to remove this warning. See 01:49:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:14 01:49:14 Login Succeeded 01:49:14 nexus3.edgexfoundry.org:10002 01:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:15 Configure a credential helper to remove this warning. See 01:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:15 01:49:15 Login Succeeded 01:49:15 nexus3.edgexfoundry.org:10003 01:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:15 Configure a credential helper to remove this warning. See 01:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:15 01:49:15 Login Succeeded 01:49:15 nexus3.edgexfoundry.org:10004 01:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:16 Configure a credential helper to remove this warning. See 01:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:16 01:49:16 Login Succeeded 01:49:16 docker.io 01:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:17 Configure a credential helper to remove this warning. See 01:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:17 01:49:17 Login Succeeded 01:49:17 ---> docker-login.sh ends [Pipeline] } 01:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:49:17 ========================================================= 01:49:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:49:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:49:17 + 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 . 01:49:18 Sending build context to Docker daemon 611.8kB 01:49:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 01:49:18 Step 2/8 : FROM ${BASE} 01:49:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:49:18 595b0fe564bb: Pulling fs layer 01:49:18 7186ed65a4f7: Pulling fs layer 01:49:18 316046926c0a: Pulling fs layer 01:49:18 4ebd0625c992: Pulling fs layer 01:49:18 207e8628e3a3: Pulling fs layer 01:49:18 c791037a9be2: Pulling fs layer 01:49:18 ffd874e62e21: Pulling fs layer 01:49:18 207e8628e3a3: Waiting 01:49:18 c791037a9be2: Waiting 01:49:18 4ebd0625c992: Waiting 01:49:18 ffd874e62e21: Waiting 01:49:18 316046926c0a: Verifying Checksum 01:49:18 316046926c0a: Download complete 01:49:18 7186ed65a4f7: Verifying Checksum 01:49:18 7186ed65a4f7: Download complete 01:49:18 207e8628e3a3: Verifying Checksum 01:49:18 207e8628e3a3: Download complete 01:49:18 c791037a9be2: Verifying Checksum 01:49:18 c791037a9be2: Download complete 01:49:18 595b0fe564bb: Verifying Checksum 01:49:19 595b0fe564bb: Pull complete 01:49:20 7186ed65a4f7: Pull complete 01:49:20 316046926c0a: Pull complete 01:49:20 ffd874e62e21: Verifying Checksum 01:49:20 ffd874e62e21: Download complete 01:49:21 4ebd0625c992: Verifying Checksum 01:49:21 4ebd0625c992: Download complete 01:49:26 Removing intermediate container 6df7dc2d732c 01:49:26 ---> 8c241122cee0 01:49:26 Step 10/22 : FROM alpine:3.12 01:49:26 3.12: Pulling from library/alpine 01:49:26 339de151aab4: Pulling fs layer 01:49:26 339de151aab4: Download complete 01:49:26 339de151aab4: Pull complete 01:49:26 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:49:26 Status: Downloaded newer image for alpine:3.12 01:49:26 ---> 13621d1b12d4 01:49:26 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:49:26 ---> Running in cd46ba1c6631 01:49:26 Removing intermediate container cd46ba1c6631 01:49:26 ---> 965ac07455ea 01:49:26 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:26 ---> Running in 5926a955bada 01:49:26 Removing intermediate container 5926a955bada 01:49:26 ---> cc38e060af79 01:49:26 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 01:49:26 ---> Running in 6fbe23148c16 01:49:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:49:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:49:27 (1/6) Installing dumb-init (1.2.2-r1) 01:49:27 (2/6) Installing libgcc (9.3.0-r2) 01:49:27 (3/6) Installing libsodium (1.0.18-r0) 01:49:28 (4/6) Installing libstdc++ (9.3.0-r2) 01:49:29 (5/6) Installing libzmq (4.3.3-r0) 01:49:29 (6/6) Installing zeromq (4.3.3-r0) 01:49:29 Executing busybox-1.31.1-r20.trigger 01:49:29 OK: 8 MiB in 20 packages 01:49:29 Removing intermediate container 6fbe23148c16 01:49:29 ---> a42b31dfd273 01:49:29 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:49:29 ---> e041e5807dcd 01:49:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:49:29 ---> 92facdfc3f9d 01:49:29 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:49:30 ---> df45ef3cf80e 01:49:30 Step 17/22 : EXPOSE 59901 01:49:30 ---> Running in 013e3f3ba1e7 01:49:30 Removing intermediate container 013e3f3ba1e7 01:49:30 ---> 57d2ee84b885 01:49:30 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:49:30 ---> Running in 8f15273335be 01:49:30 Removing intermediate container 8f15273335be 01:49:30 ---> 7aaa44434ee5 01:49:30 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:49:30 ---> Running in 231253dd2795 01:49:30 Removing intermediate container 231253dd2795 01:49:30 ---> 6dbf2341487c 01:49:30 Step 20/22 : LABEL arch=amd64 01:49:30 ---> Running in 87b4fea71e18 01:49:30 Removing intermediate container 87b4fea71e18 01:49:30 ---> dc8e7c0e36db 01:49:30 Step 21/22 : LABEL git_sha=23b2ace20fc3a54731961acf7f402a3079c58c8e 01:49:30 ---> Running in d8f0964304d2 01:49:30 Removing intermediate container d8f0964304d2 01:49:30 ---> 0b931aa42bf0 01:49:30 Step 22/22 : LABEL version=1.3.2-dev.13 01:49:30 ---> Running in c9a8e2b0e8ae 01:49:30 Removing intermediate container c9a8e2b0e8ae 01:49:30 ---> c13a6b2da666 01:49:30 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:49:30 Successfully built c13a6b2da666 01:49:30 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:30 provisioning config files... 01:49:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config2438029064691585897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:31 ---> docker-login.sh 01:49:31 nexus3.edgexfoundry.org:10001 01:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:31 Configure a credential helper to remove this warning. See 01:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:31 01:49:31 Login Succeeded 01:49:31 nexus3.edgexfoundry.org:10002 01:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:31 Configure a credential helper to remove this warning. See 01:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:31 01:49:31 Login Succeeded 01:49:31 nexus3.edgexfoundry.org:10003 01:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:31 Configure a credential helper to remove this warning. See 01:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:31 01:49:31 Login Succeeded 01:49:31 nexus3.edgexfoundry.org:10004 01:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:31 Configure a credential helper to remove this warning. See 01:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:31 01:49:31 Login Succeeded 01:49:31 docker.io 01:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:32 Configure a credential helper to remove this warning. See 01:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:32 01:49:32 Login Succeeded 01:49:32 ---> docker-login.sh ends [Pipeline] } 01:49:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:32 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 01:49:32 23b2ace20fc3a54731961acf7f402a3079c58c8e 01:49:32 latest 01:49:32 1.3.2-dev.13 01:49:32 23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:49:32 master 01:49:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:49:32 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] isUnix [Pipeline] sh 01:49:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e 01:49:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:49:32 43485969eb2d: Preparing 01:49:32 368ff5c1a570: Preparing 01:49:32 c4ee5d6adba0: Preparing 01:49:32 7e9d63f812e7: Preparing 01:49:32 c6fc0960b4af: Preparing 01:49:32 32f366d666a5: Preparing 01:49:32 32f366d666a5: Waiting 01:49:33 368ff5c1a570: Pushed 01:49:33 7e9d63f812e7: Pushed 01:49:33 c6fc0960b4af: Pushed 01:49:33 32f366d666a5: Layer already exists 01:49:33 43485969eb2d: Pushed 01:49:34 4ebd0625c992: Pull complete 01:49:34 207e8628e3a3: Pull complete 01:49:34 c791037a9be2: Pull complete 01:49:34 c4ee5d6adba0: Pushed 01:49:34 23b2ace20fc3a54731961acf7f402a3079c58c8e: digest: sha256:48cf878dd85bb2fbd725823a224990508160fdce9f90fdcc8d69b59ed404b7ce size: 1572 [Pipeline] isUnix [Pipeline] sh 01:49:34 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 01:49:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 01:49:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:49:34 43485969eb2d: Preparing 01:49:34 368ff5c1a570: Preparing 01:49:34 c4ee5d6adba0: Preparing 01:49:34 7e9d63f812e7: Preparing 01:49:34 c6fc0960b4af: Preparing 01:49:34 32f366d666a5: Preparing 01:49:34 32f366d666a5: Waiting 01:49:34 c6fc0960b4af: Layer already exists 01:49:34 7e9d63f812e7: Layer already exists 01:49:34 368ff5c1a570: Layer already exists 01:49:34 c4ee5d6adba0: Layer already exists 01:49:34 43485969eb2d: Layer already exists 01:49:34 32f366d666a5: Layer already exists 01:49:34 latest: digest: sha256:48cf878dd85bb2fbd725823a224990508160fdce9f90fdcc8d69b59ed404b7ce size: 1572 [Pipeline] isUnix [Pipeline] sh 01:49:35 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.13 [Pipeline] isUnix [Pipeline] sh 01:49:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.13 01:49:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:49:35 43485969eb2d: Preparing 01:49:35 368ff5c1a570: Preparing 01:49:35 c4ee5d6adba0: Preparing 01:49:35 7e9d63f812e7: Preparing 01:49:35 c6fc0960b4af: Preparing 01:49:35 32f366d666a5: Preparing 01:49:35 32f366d666a5: Waiting 01:49:35 7e9d63f812e7: Layer already exists 01:49:35 c6fc0960b4af: Layer already exists 01:49:35 368ff5c1a570: Layer already exists 01:49:35 43485969eb2d: Layer already exists 01:49:35 c4ee5d6adba0: Layer already exists 01:49:35 32f366d666a5: Layer already exists 01:49:35 1.3.2-dev.13: digest: sha256:48cf878dd85bb2fbd725823a224990508160fdce9f90fdcc8d69b59ed404b7ce size: 1572 [Pipeline] isUnix [Pipeline] sh 01:49:35 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 [Pipeline] isUnix [Pipeline] sh 01:49:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:49:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:49:36 43485969eb2d: Preparing 01:49:36 368ff5c1a570: Preparing 01:49:36 c4ee5d6adba0: Preparing 01:49:36 7e9d63f812e7: Preparing 01:49:36 c6fc0960b4af: Preparing 01:49:36 32f366d666a5: Preparing 01:49:36 32f366d666a5: Waiting 01:49:36 43485969eb2d: Layer already exists 01:49:36 368ff5c1a570: Layer already exists 01:49:36 c6fc0960b4af: Layer already exists 01:49:36 c4ee5d6adba0: Layer already exists 01:49:36 7e9d63f812e7: Layer already exists 01:49:36 32f366d666a5: Layer already exists 01:49:36 23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13: digest: sha256:48cf878dd85bb2fbd725823a224990508160fdce9f90fdcc8d69b59ed404b7ce size: 1572 [Pipeline] isUnix [Pipeline] sh 01:49:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 01:49:36 ffd874e62e21: Pull complete 01:49:36 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 01:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:49:36 ---> cfc18b08335c 01:49:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 01:49:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 01:49:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:49:36 43485969eb2d: Preparing 01:49:36 368ff5c1a570: Preparing 01:49:36 c4ee5d6adba0: Preparing 01:49:36 7e9d63f812e7: Preparing 01:49:36 c6fc0960b4af: Preparing 01:49:36 32f366d666a5: Preparing 01:49:36 32f366d666a5: Waiting 01:49:36 c6fc0960b4af: Layer already exists 01:49:36 368ff5c1a570: Layer already exists 01:49:36 43485969eb2d: Layer already exists 01:49:36 c4ee5d6adba0: Layer already exists 01:49:36 7e9d63f812e7: Layer already exists 01:49:36 32f366d666a5: Layer already exists 01:49:36 master: digest: sha256:48cf878dd85bb2fbd725823a224990508160fdce9f90fdcc8d69b59ed404b7ce size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:36 ===================================================== [Pipeline] echo 01:49:36 taggedImages: 01:49:36 - nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e 01:49:36 - nexus3.edgexfoundry.org:10004/device-modbus:latest 01:49:36 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.13 01:49:36 - nexus3.edgexfoundry.org:10004/device-modbus:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:49:36 - 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 01:49:37 ---> job-cost.sh 01:49:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iVRN 01:49:38 ---> Running in c8e9c249a1ad 01:49:39 Removing intermediate container c8e9c249a1ad 01:49:39 ---> bc4466a4c381 01:49:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:39 ---> Running in 87a5cdf56e41 01:49:41 Removing intermediate container 87a5cdf56e41 01:49:41 ---> 5fe5e6f8768f 01:49:41 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:49:41 ---> Running in 585d5c28a6ac 01:49:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:49:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:49:44 (1/13) Installing libc-dev (0.7.2-r3) 01:49:44 (2/13) Installing libsodium (1.0.18-r0) 01:49:44 (3/13) Installing pkgconf (1.7.3-r0) 01:49:44 (4/13) Installing libsodium-dev (1.0.18-r0) 01:49:45 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:49:45 (6/13) Installing libedit (20191231.3.1-r1) 01:49:45 (7/13) Installing openssh-client (8.4_p1-r3) 01:49:45 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:49:45 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:49:45 (10/13) Installing openssh-server (8.4_p1-r3) 01:49:45 (11/13) Installing openssh (8.4_p1-r3) 01:49:45 (12/13) Installing libzmq (4.3.3-r1) 01:49:45 (13/13) Installing zeromq-dev (4.3.3-r1) 01:49:45 Executing busybox-1.32.1-r6.trigger 01:49:46 OK: 145 MiB in 53 packages 01:49:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:49:47 Removing intermediate container 585d5c28a6ac 01:49:47 ---> e520a5fd4400 01:49:47 Step 6/8 : WORKDIR /device-modbus-go 01:49:47 ---> Running in 671458ce34c9 01:49:47 Removing intermediate container 671458ce34c9 01:49:47 ---> 065f2d192a6c 01:49:47 Step 7/8 : COPY . . 01:49:48 ---> 190b7bde6a0e 01:49:48 Step 8/8 : RUN go mod download 01:49:49 ---> Running in f32388eb84a9 01:49:59 lf-activate-venv(): INFO: Adding /tmp/venv-iVRN/bin to PATH 01:49:59 INFO: No Stack... 01:50:00 INFO: Retrieving Pricing Info for: v3-standard-2 01:50:01 INFO: Archiving Costs [Pipeline] sh 01:50:01 + cat /w/workspace/device-modbus-go/52/archives/cost.csv 01:50:01 + cut -d, -f6 [Pipeline] lock 01:50:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] 01:50:01 Resource [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] did not exist. Created. 01:50:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:50:02 + echo total: 0.05999999865889549 [Pipeline] stash 01:50:02 Stashed 1 file(s) [Pipeline] } 01:50:02 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:50:15 Removing intermediate container f32388eb84a9 01:50:15 ---> 51c249acade8 01:50:15 Successfully built 51c249acade8 01:50:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:50:16 + docker inspect -f . ci-base-image-arm64 01:50:16 . [Pipeline] withDockerContainer 01:50:16 prd-ubuntu18.04-docker-arm64-4c-16g-330 does not seem to be running inside a container 01:50:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:18 $ docker top 1e50b533eb19b739d53be54099e769ff8a51884186480c144829068949fd4a85 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:19 + go version 01:50:19 go version go1.16.3 linux/arm64 [Pipeline] } 01:50:19 $ docker stop --time=1 1e50b533eb19b739d53be54099e769ff8a51884186480c144829068949fd4a85 01:50:21 $ docker rm -f 1e50b533eb19b739d53be54099e769ff8a51884186480c144829068949fd4a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:50:21 + docker inspect -f . ci-base-image-arm64 01:50:21 . [Pipeline] withDockerContainer 01:50:22 prd-ubuntu18.04-docker-arm64-4c-16g-330 does not seem to be running inside a container 01:50:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:23 $ docker top b92c312847e6b643bbffecf20e755b088ac3c4dd6d823cf76f9b5efb403b2b7c -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:24 + go mod tidy [Pipeline] sh 01:50:25 + make test 01:50:25 go mod tidy 01:50:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:50:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:51:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:51:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.7% of statements 01:51:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:51:46 gofmt -l . 01:51:46 [ "`gofmt -l .`" = "" ] 01:51:46 ./bin/test-attribution-txt.sh 01:51:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:51:46 $ docker stop --time=1 b92c312847e6b643bbffecf20e755b088ac3c4dd6d823cf76f9b5efb403b2b7c 01:51:48 $ docker rm -f b92c312847e6b643bbffecf20e755b088ac3c4dd6d823cf76f9b5efb403b2b7c [Pipeline] // withDockerContainer [Pipeline] sh 01:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:51:49 Warning: overwriting stash ‘coverage-report’ 01:51:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:51:50 + ls -al . 01:51:50 total 144 01:51:50 drwxrwxr-x 9 jenkins jenkins 4096 May 26 01:51 . 01:51:50 drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:48 .. 01:51:50 -rw-rw-r-- 1 jenkins jenkins 140 May 26 01:48 .dockerignore 01:51:50 drwxrwxr-x 8 jenkins jenkins 4096 May 26 01:48 .git 01:51:50 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:48 .github 01:51:50 -rw-rw-r-- 1 jenkins jenkins 338 May 26 01:48 .gitignore 01:51:50 -rw-rw-r-- 1 jenkins jenkins 7707 May 26 01:48 Attribution.txt 01:51:50 -rw-rw-r-- 1 jenkins jenkins 1473 May 26 01:48 Dockerfile 01:51:50 -rw-rw-r-- 1 jenkins jenkins 995 May 26 01:48 Dockerfile.build 01:51:50 -rw-rw-r-- 1 jenkins jenkins 679 May 26 01:48 Jenkinsfile 01:51:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 01:48 LICENSE 01:51:50 -rw-rw-r-- 1 jenkins jenkins 914 May 26 01:48 Makefile 01:51:50 -rw-rw-r-- 1 jenkins jenkins 2897 May 26 01:48 README.md 01:51:50 -rw-rw-r-- 1 jenkins jenkins 12 May 26 01:45 VERSION 01:51:50 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:48 bin 01:51:50 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:48 cmd 01:51:50 -rw-r--r-- 1 jenkins jenkins 22385 May 26 01:51 coverage.out 01:51:50 -rw-r--r-- 1 jenkins jenkins 413 May 26 01:51 go.mod 01:51:50 -rw-r--r-- 1 jenkins jenkins 21834 May 26 01:50 go.sum 01:51:50 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:48 internal 01:51:50 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:48 simulator 01:51:50 drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:48 snap 01:51:50 -rw-rw-r-- 1 jenkins jenkins 229 May 26 01:48 version.go [Pipeline] isUnix [Pipeline] sh 01:51:50 + 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=23b2ace20fc3a54731961acf7f402a3079c58c8e --label arch=arm64 --label version=1.3.2-dev.13 . 01:51:51 Sending build context to Docker daemon 634.9kB 01:51:51 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 01:51:51 Step 2/22 : FROM ${BASE} AS builder 01:51:51 ---> 51c249acade8 01:51:51 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:51 ---> Running in 103183a79067 01:51:53 Removing intermediate container 103183a79067 01:51:53 ---> 2be01aa0e052 01:51:53 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:51:53 ---> Running in b4c087e8d0c9 01:51:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:51:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:51:56 OK: 145 MiB in 53 packages 01:51:57 Removing intermediate container b4c087e8d0c9 01:51:57 ---> b295c28ef154 01:51:57 Step 5/22 : WORKDIR /device-modbus-go 01:51:57 ---> Running in 582703a959b2 01:51:58 Removing intermediate container 582703a959b2 01:51:58 ---> f6ec21788068 01:51:58 Step 6/22 : COPY . . 01:51:59 ---> ce4681e6b59b 01:51:59 Step 7/22 : RUN go mod tidy 01:52:00 ---> Running in 538f672a016d 01:52:03 Removing intermediate container 538f672a016d 01:52:03 ---> 9b34c3e39401 01:52:03 Step 8/22 : RUN go mod download 01:52:03 ---> Running in 5f0ad4f54b16 01:52:06 Removing intermediate container 5f0ad4f54b16 01:52:06 ---> ff47166bd6cb 01:52:06 Step 9/22 : RUN make build 01:52:06 ---> Running in 9c3b156c87af 01:52:07 go mod tidy 01:52:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.13" -o cmd/device-modbus ./cmd 01:52:47 Removing intermediate container 9c3b156c87af 01:52:47 ---> d89227e39522 01:52:47 Step 10/22 : FROM alpine:3.12 01:52:47 3.12: Pulling from library/alpine 01:52:47 d2f70382dc9a: Pulling fs layer 01:52:47 d2f70382dc9a: Verifying Checksum 01:52:47 d2f70382dc9a: Download complete 01:52:47 d2f70382dc9a: Pull complete 01:52:47 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:52:47 Status: Downloaded newer image for alpine:3.12 01:52:47 ---> 9852663dfa18 01:52:47 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:52:47 ---> Running in cb3d589779bf 01:52:47 Removing intermediate container cb3d589779bf 01:52:47 ---> 0902724d667f 01:52:47 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:47 ---> Running in d24451526c73 01:52:47 Removing intermediate container d24451526c73 01:52:47 ---> d7fa69c0cba4 01:52:47 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 01:52:47 ---> Running in 64ce62539003 01:52:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:52:50 (1/6) Installing dumb-init (1.2.2-r1) 01:52:50 (2/6) Installing libgcc (9.3.0-r2) 01:52:50 (3/6) Installing libsodium (1.0.18-r0) 01:52:50 (4/6) Installing libstdc++ (9.3.0-r2) 01:52:50 (5/6) Installing libzmq (4.3.3-r0) 01:52:50 (6/6) Installing zeromq (4.3.3-r0) 01:52:50 Executing busybox-1.31.1-r20.trigger 01:52:50 OK: 8 MiB in 20 packages 01:52:51 Removing intermediate container 64ce62539003 01:52:51 ---> 6ad190c2e650 01:52:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:52:53 ---> ada8769c303c 01:52:53 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:52:54 ---> a2b723c15d61 01:52:54 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:52:55 ---> 0ebf50971cb0 01:52:55 Step 17/22 : EXPOSE 59901 01:52:55 ---> Running in d9e0176a7701 01:52:55 Removing intermediate container d9e0176a7701 01:52:55 ---> 1778f1186f45 01:52:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:52:55 ---> Running in 0df71071ee7e 01:52:56 Removing intermediate container 0df71071ee7e 01:52:56 ---> 6724ea685d48 01:52:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:52:56 ---> Running in 601c752bbf58 01:52:57 Removing intermediate container 601c752bbf58 01:52:57 ---> f8950a24fa99 01:52:57 Step 20/22 : LABEL arch=arm64 01:52:57 ---> Running in 3d037999c327 01:52:58 Removing intermediate container 3d037999c327 01:52:58 ---> 0915e4448f06 01:52:58 Step 21/22 : LABEL git_sha=23b2ace20fc3a54731961acf7f402a3079c58c8e 01:52:58 ---> Running in 598958ff95e7 01:52:58 Removing intermediate container 598958ff95e7 01:52:58 ---> 95acdc1462c0 01:52:58 Step 22/22 : LABEL version=1.3.2-dev.13 01:52:59 ---> Running in 7506d7df18d6 01:52:59 Removing intermediate container 7506d7df18d6 01:52:59 ---> a4676123131a 01:52:59 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:52:59 Successfully built a4676123131a 01:52:59 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 01:52:59 provisioning config files... 01:52:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config4001659008000142911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:00 ---> docker-login.sh 01:53:00 nexus3.edgexfoundry.org:10001 01:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:00 Configure a credential helper to remove this warning. See 01:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:00 01:53:00 Login Succeeded 01:53:00 nexus3.edgexfoundry.org:10002 01:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:01 Configure a credential helper to remove this warning. See 01:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:01 01:53:01 Login Succeeded 01:53:01 nexus3.edgexfoundry.org:10003 01:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:01 Configure a credential helper to remove this warning. See 01:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:01 01:53:01 Login Succeeded 01:53:01 nexus3.edgexfoundry.org:10004 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:02 Configure a credential helper to remove this warning. See 01:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:02 01:53:02 Login Succeeded 01:53:02 docker.io 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:03 Configure a credential helper to remove this warning. See 01:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:03 01:53:03 Login Succeeded 01:53:03 ---> docker-login.sh ends [Pipeline] } 01:53:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:53:03 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 01:53:03 23b2ace20fc3a54731961acf7f402a3079c58c8e 01:53:03 latest 01:53:03 1.3.2-dev.13 01:53:03 23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:53:03 master 01:53:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:53:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] isUnix [Pipeline] sh 01:53:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e 01:53:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:53:03 d6205396702d: Preparing 01:53:03 f27b1d329ec9: Preparing 01:53:03 b07edfa086bb: Preparing 01:53:03 be5d904ea932: Preparing 01:53:03 b0eb7a909982: Preparing 01:53:03 3fbe34a1663b: Preparing 01:53:03 3fbe34a1663b: Waiting 01:53:04 f27b1d329ec9: Pushed 01:53:04 d6205396702d: Pushed 01:53:04 b0eb7a909982: Pushed 01:53:04 3fbe34a1663b: Layer already exists 01:53:04 be5d904ea932: Pushed 01:53:07 b07edfa086bb: Pushed 01:53:07 23b2ace20fc3a54731961acf7f402a3079c58c8e: digest: sha256:f1dacd5dab70efad23843ef2e552f264df54602a31bbd9f6c407a7b025dfdadd size: 1572 [Pipeline] isUnix [Pipeline] sh 01:53:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:53:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 01:53:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:53:08 d6205396702d: Preparing 01:53:08 f27b1d329ec9: Preparing 01:53:08 b07edfa086bb: Preparing 01:53:08 be5d904ea932: Preparing 01:53:08 b0eb7a909982: Preparing 01:53:08 3fbe34a1663b: Preparing 01:53:08 3fbe34a1663b: Waiting 01:53:08 d6205396702d: Layer already exists 01:53:08 b0eb7a909982: Layer already exists 01:53:08 b07edfa086bb: Layer already exists 01:53:08 f27b1d329ec9: Layer already exists 01:53:08 be5d904ea932: Layer already exists 01:53:08 3fbe34a1663b: Layer already exists 01:53:08 latest: digest: sha256:f1dacd5dab70efad23843ef2e552f264df54602a31bbd9f6c407a7b025dfdadd size: 1572 [Pipeline] isUnix [Pipeline] sh 01:53:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.13 [Pipeline] isUnix [Pipeline] sh 01:53:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.13 01:53:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:53:08 d6205396702d: Preparing 01:53:08 f27b1d329ec9: Preparing 01:53:08 b07edfa086bb: Preparing 01:53:08 be5d904ea932: Preparing 01:53:08 b0eb7a909982: Preparing 01:53:08 3fbe34a1663b: Preparing 01:53:08 3fbe34a1663b: Waiting 01:53:08 be5d904ea932: Layer already exists 01:53:08 d6205396702d: Layer already exists 01:53:08 b07edfa086bb: Layer already exists 01:53:08 f27b1d329ec9: Layer already exists 01:53:08 b0eb7a909982: Layer already exists 01:53:09 3fbe34a1663b: Layer already exists 01:53:09 1.3.2-dev.13: digest: sha256:f1dacd5dab70efad23843ef2e552f264df54602a31bbd9f6c407a7b025dfdadd size: 1572 [Pipeline] isUnix [Pipeline] sh 01:53:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 [Pipeline] isUnix [Pipeline] sh 01:53:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:53:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:53:09 d6205396702d: Preparing 01:53:09 f27b1d329ec9: Preparing 01:53:09 b07edfa086bb: Preparing 01:53:09 be5d904ea932: Preparing 01:53:09 b0eb7a909982: Preparing 01:53:09 3fbe34a1663b: Preparing 01:53:09 3fbe34a1663b: Waiting 01:53:10 b07edfa086bb: Layer already exists 01:53:10 d6205396702d: Layer already exists 01:53:10 be5d904ea932: Layer already exists 01:53:10 b0eb7a909982: Layer already exists 01:53:10 f27b1d329ec9: Layer already exists 01:53:10 3fbe34a1663b: Layer already exists 01:53:10 23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13: digest: sha256:f1dacd5dab70efad23843ef2e552f264df54602a31bbd9f6c407a7b025dfdadd size: 1572 [Pipeline] isUnix [Pipeline] sh 01:53:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 01:53:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 01:53:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:53:10 d6205396702d: Preparing 01:53:10 f27b1d329ec9: Preparing 01:53:10 b07edfa086bb: Preparing 01:53:10 be5d904ea932: Preparing 01:53:10 b0eb7a909982: Preparing 01:53:10 3fbe34a1663b: Preparing 01:53:10 3fbe34a1663b: Waiting 01:53:10 f27b1d329ec9: Layer already exists 01:53:10 be5d904ea932: Layer already exists 01:53:10 b0eb7a909982: Layer already exists 01:53:10 b07edfa086bb: Layer already exists 01:53:10 d6205396702d: Layer already exists 01:53:11 3fbe34a1663b: Layer already exists 01:53:11 master: digest: sha256:f1dacd5dab70efad23843ef2e552f264df54602a31bbd9f6c407a7b025dfdadd size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:53:11 ===================================================== [Pipeline] echo 01:53:11 taggedImages: 01:53:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e 01:53:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 01:53:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.13 01:53:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:23b2ace20fc3a54731961acf7f402a3079c58c8e-1.3.2-dev.13 01:53:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:53:11 ---> job-cost.sh 01:53:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0QnH 01:53:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:55:12 lf-activate-venv(): INFO: Adding /tmp/venv-0QnH/bin to PATH 01:55:12 INFO: No Stack... 01:55:12 INFO: Retrieving Pricing Info for: v2-standard-4 01:55:12 INFO: Archiving Costs [Pipeline] sh 01:55:13 + cat /w/workspace/device-modbus-go/52/archives/cost.csv 01:55:13 + cut -d, -f6 [Pipeline] lock 01:55:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] 01:55:13 Resource [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] did not exist. Created. 01:55:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:13 /w/workspace/device-modbus-go/52@tmp/durable-e6b2fa7e/script.sh: 1: /w/workspace/device-modbus-go/52@tmp/durable-e6b2fa7e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:13 + echo total: 0.18000000715255737 [Pipeline] stash 01:55:13 Warning: overwriting stash ‘stack-cost’ 01:55:14 Stashed 1 file(s) [Pipeline] } 01:55:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-52-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 01:55:14 provisioning config files... 01:55:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4720092365041955546tmp [Pipeline] { [Pipeline] sh 01:55:14 + set +x 01:55:14 + bash -s -- 01:55:14 + curl -s https://codecov.io/bash 01:55:14 01:55:14 _____ _ 01:55:14 / ____| | | 01:55:14 | | ___ __| | ___ ___ _____ __ 01:55:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:14 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:14 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:14 Bash-1.0.3 01:55:14 01:55:14 01:55:14 ==> git version 2.24.4 found 01:55:14 ==> 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 01:55:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:55:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:55:14 ==> Jenkins CI detected. 01:55:14 project root: . 01:55:14 --> token set from env 01:55:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:14 ==> Running gcov in . (disable via -X gcov) 01:55:14 ==> Python coveragepy not found 01:55:14 ==> Searching for coverage reports in: 01:55:14 + . 01:55:14 -> Found 1 reports 01:55:14 ==> Detecting git/mercurial file structure 01:55:14 ==> Reading reports 01:55:14 + ./coverage.out bytes=22385 01:55:14 ==> Appending adjustments 01:55:14 https://docs.codecov.io/docs/fixing-reports 01:55:14 + Found adjustments 01:55:14 ==> Gzipping contents 01:55:14 4.0K /tmp/codecov.UO9YRY.gz 01:55:14 ==> Uploading reports 01:55:14 url: https://codecov.io 01:55:14 query: branch=master&commit=23b2ace20fc3a54731961acf7f402a3079c58c8e&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:14 -> Pinging Codecov 01:55:14 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=23b2ace20fc3a54731961acf7f402a3079c58c8e&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:15 -> Uploading to 01:55:15 https://storage.googleapis.com/codecov/v4/raw/2021-05-26/55DBCA73C666E3227836607328DD7E49/23b2ace20fc3a54731961acf7f402a3079c58c8e/b0e6ba03-7935-4900-a363-de7977cdc2b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T015515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31b678b3e038db0c52c9eafe0c68d990d5513057626f01b71d20a6e94a490c73 01:55:15 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:15 Dload Upload Total Spent Left Speed 01:55:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3892 0 0 100 3892 0 12397 --:--:-- --:--:-- --:--:-- 12434 01:55:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] } 01:55:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:55:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:55:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:55:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:16 01:55:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:55:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:55:16 188c0c94c7c5: Pulling fs layer 01:55:16 0ef7d3d256c8: Pulling fs layer 01:55:16 de9db76c5a1d: Pulling fs layer 01:55:16 0eba1c9be4d2: Pulling fs layer 01:55:16 0d57e429df01: Pulling fs layer 01:55:16 4e4be7b47b0d: Pulling fs layer 01:55:16 e1f770b5df2f: Pulling fs layer 01:55:16 85a0685a4137: Pulling fs layer 01:55:16 0d57e429df01: Waiting 01:55:16 4e4be7b47b0d: Waiting 01:55:16 e1f770b5df2f: Waiting 01:55:16 85a0685a4137: Waiting 01:55:16 0eba1c9be4d2: Waiting 01:55:16 de9db76c5a1d: Verifying Checksum 01:55:16 de9db76c5a1d: Download complete 01:55:16 0ef7d3d256c8: Verifying Checksum 01:55:16 0ef7d3d256c8: Download complete 01:55:16 0d57e429df01: Verifying Checksum 01:55:16 0d57e429df01: Download complete 01:55:16 4e4be7b47b0d: Verifying Checksum 01:55:16 4e4be7b47b0d: Download complete 01:55:17 188c0c94c7c5: Verifying Checksum 01:55:17 188c0c94c7c5: Download complete 01:55:17 188c0c94c7c5: Pull complete 01:55:17 0ef7d3d256c8: Pull complete 01:55:17 de9db76c5a1d: Pull complete 01:55:17 e1f770b5df2f: Verifying Checksum 01:55:17 e1f770b5df2f: Download complete 01:55:19 0eba1c9be4d2: Verifying Checksum 01:55:19 0eba1c9be4d2: Download complete 01:55:19 85a0685a4137: Verifying Checksum 01:55:19 85a0685a4137: Download complete 01:55:23 0eba1c9be4d2: Pull complete 01:55:23 0d57e429df01: Pull complete 01:55:23 4e4be7b47b0d: Pull complete 01:55:23 e1f770b5df2f: Pull complete 01:55:26 85a0685a4137: Pull complete 01:55:26 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:55:26 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:55:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:55:31 $ docker top 3cf40efdc8eb2c467b43042724e04e49d96c96cda71a87cfb3775aeb1ae66ed7 -eo pid,comm [Pipeline] { [Pipeline] echo 01:55:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:55:31 + set -o pipefail 01:55:31 + snyk monitor '--org=edgex-jenkins' 01:55:38 01:55:38 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 01:55:38 01:55:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/0f15abc4-65d5-4259-a094-0995e517fc47 01:55:38 01:55:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:55:38 01:55:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:55:38 01:55:38 [Pipeline] } 01:55:38 $ docker stop --time=1 3cf40efdc8eb2c467b43042724e04e49d96c96cda71a87cfb3775aeb1ae66ed7 01:55:40 $ docker rm -f 3cf40efdc8eb2c467b43042724e04e49d96c96cda71a87cfb3775aeb1ae66ed7 [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 01:55:41 + git log --format=format:%s -1 23b2ace20fc3a54731961acf7f402a3079c58c8e [Pipeline] isUnix [Pipeline] sh 01:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:41 . [Pipeline] withDockerContainer 01:55:42 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:55:42 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:55:42 $ docker top 94d742db7b317d7c105d70d3dccc9eaa54fbf0258ca40145c6a437dfc8f80b55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:42 [ssh-agent] Looking for ssh-agent implementation... 01:55:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:42 $ docker exec 94d742db7b317d7c105d70d3dccc9eaa54fbf0258ca40145c6a437dfc8f80b55 ssh-agent 01:55:42 SSH_AUTH_SOCK=/tmp/ssh-UBzoE7uGZvhn/agent.14 01:55:42 SSH_AGENT_PID=20 01:55:42 Running ssh-add (command line suppressed) 01:55:43 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5300762899787007232.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5300762899787007232.key) 01:55:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:43 + git semver tag 01:55:43 # -> Open(): unable to determine branch for HEAD 01:55:43 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 01:55:43 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 01:55:43 # $SEMVER_REMOTE_NAME = origin 01:55:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:55:43 # $SEMVER_USER_NAME = edgex-jenkins 01:55:43 # $SEMVER_BRANCH = master 01:55:43 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 01:55:43 # 23b2ace20fc3a54731961acf7f402a3079c58c8e HEAD 01:55:43 # -> Force: false 01:55:43 # e69c7be41426994c383423683a014939513d7062 refs/tags/v1.3.2-dev.13 [Pipeline] } 01:55:43 $ docker exec --env ******** --env ******** 94d742db7b317d7c105d70d3dccc9eaa54fbf0258ca40145c6a437dfc8f80b55 ssh-agent -k 01:55:43 unset SSH_AUTH_SOCK; 01:55:43 unset SSH_AGENT_PID; 01:55:43 echo Agent pid 20 killed; 01:55:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:43 + git semver [Pipeline] } 01:55:43 $ docker stop --time=1 94d742db7b317d7c105d70d3dccc9eaa54fbf0258ca40145c6a437dfc8f80b55 01:55:45 $ docker rm -f 94d742db7b317d7c105d70d3dccc9eaa54fbf0258ca40145c6a437dfc8f80b55 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:55:45 01:55:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:55:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:55:45 0.23.1-centos7: Pulling from edgex-lftools 01:55:45 ab5ef0e58194: Pulling fs layer 01:55:45 9712f1f96733: Pulling fs layer 01:55:45 63f879dbbcfc: Pulling fs layer 01:55:45 0d9ebad4ef96: Pulling fs layer 01:55:45 e9a5061849ea: Pulling fs layer 01:55:45 d747dcd14b5f: Pulling fs layer 01:55:45 2de7ff778b66: Pulling fs layer 01:55:45 e9a5061849ea: Waiting 01:55:45 d747dcd14b5f: Waiting 01:55:45 2de7ff778b66: Waiting 01:55:45 0d9ebad4ef96: Waiting 01:55:45 9712f1f96733: Verifying Checksum 01:55:45 9712f1f96733: Download complete 01:55:47 63f879dbbcfc: Verifying Checksum 01:55:47 63f879dbbcfc: Download complete 01:55:47 e9a5061849ea: Verifying Checksum 01:55:47 e9a5061849ea: Download complete 01:55:47 d747dcd14b5f: Verifying Checksum 01:55:47 d747dcd14b5f: Download complete 01:55:48 0d9ebad4ef96: Verifying Checksum 01:55:48 0d9ebad4ef96: Download complete 01:55:48 2de7ff778b66: Verifying Checksum 01:55:48 2de7ff778b66: Download complete 01:55:48 ab5ef0e58194: Verifying Checksum 01:55:48 ab5ef0e58194: Download complete 01:55:51 ab5ef0e58194: Pull complete 01:55:51 9712f1f96733: Pull complete 01:55:52 63f879dbbcfc: Pull complete 01:55:55 0d9ebad4ef96: Pull complete 01:55:55 e9a5061849ea: Pull complete 01:55:55 d747dcd14b5f: Pull complete 01:55:56 2de7ff778b66: Pull complete 01:55:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:55:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:55:56 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:55:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:56:01 $ docker top 4f9d9021562c04e44506d2dd7fe698df6e463369f69c8458cbc322d7841b6325 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:56:01 provisioning config files... 01:56:01 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4506354691459473122tmp 01:56:01 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config9066272496073424482tmp 01:56:01 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config41722524489989078tmp [Pipeline] { [Pipeline] echo 01:56:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:56:01 ---> sigul-configuration.sh 01:56:01 gpg: directory `/root/.gnupg' created 01:56:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:56:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:56:01 gpg: keyring `/root/.gnupg/secring.gpg' created 01:56:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:56:01 gpg: CAST5 encrypted data 01:56:01 gpg: encrypted with 1 passphrase 01:56:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:56:01 + mkdir /home/jenkins 01:56:01 + mkdir /home/jenkins/sigul [Pipeline] sh 01:56:02 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:56:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:02 ---> sigul-install.sh 01:56:09 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 01:56:09 + git tag --list 01:56:09 0.7.1 01:56:09 v1.0.0 01:56:09 v1.1.0 01:56:09 v1.1.1 01:56:09 v1.2.2 01:56:09 v1.3.0 01:56:09 v1.3.1 01:56:09 v1.3.1-dev.1 01:56:09 v1.3.1-dev.2 01:56:09 v1.3.1-dev.3 01:56:09 v1.3.1-dev.4 01:56:09 v1.3.1-dev.5 01:56:09 v1.3.1-dev.6 01:56:09 v1.3.1-dev.7 01:56:09 v1.3.1-dev.8 01:56:09 v1.3.2-dev.1 01:56:09 v1.3.2-dev.10 01:56:09 v1.3.2-dev.11 01:56:09 v1.3.2-dev.12 01:56:09 v1.3.2-dev.13 01:56:09 v1.3.2-dev.2 01:56:09 v1.3.2-dev.3 01:56:09 v1.3.2-dev.4 01:56:09 v1.3.2-dev.5 01:56:09 v1.3.2-dev.6 01:56:09 v1.3.2-dev.7 01:56:09 v1.3.2-dev.8 01:56:09 v1.3.2-dev.9 [Pipeline] sh 01:56:09 + lftools sign git-tag v1.3.2-dev.13 01:56:10 Signing Git tag with Sigul... 01:56:10 Signing v1.3.2-dev.13 [Pipeline] echo 01:56:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:56:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:56:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:56:11 $ docker stop --time=1 4f9d9021562c04e44506d2dd7fe698df6e463369f69c8458cbc322d7841b6325 01:56:12 $ docker rm -f 4f9d9021562c04e44506d2dd7fe698df6e463369f69c8458cbc322d7841b6325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:13 . [Pipeline] withDockerContainer 01:56:13 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:56:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:56:13 $ docker top b46c6a625120a0897d600f4867e6dbbeddc635b1b6901f7147c159a8149024fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:13 [ssh-agent] Looking for ssh-agent implementation... 01:56:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:14 $ docker exec b46c6a625120a0897d600f4867e6dbbeddc635b1b6901f7147c159a8149024fd ssh-agent 01:56:14 SSH_AUTH_SOCK=/tmp/ssh-F1mmUeILB7rg/agent.14 01:56:14 SSH_AGENT_PID=21 01:56:14 Running ssh-add (command line suppressed) 01:56:14 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6313783452983044452.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6313783452983044452.key) 01:56:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:14 + git semver bump pre 01:56:14 # -> Open(): unable to determine branch for HEAD 01:56:14 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 01:56:14 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 01:56:14 # $SEMVER_REMOTE_NAME = origin 01:56:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:56:14 # $SEMVER_USER_NAME = edgex-jenkins 01:56:14 # $SEMVER_BRANCH = master 01:56:14 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 01:56:14 1.3.2-dev.14 [Pipeline] } 01:56:14 $ docker exec --env ******** --env ******** b46c6a625120a0897d600f4867e6dbbeddc635b1b6901f7147c159a8149024fd ssh-agent -k 01:56:14 unset SSH_AUTH_SOCK; 01:56:14 unset SSH_AGENT_PID; 01:56:14 echo Agent pid 21 killed; 01:56:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:15 + git semver [Pipeline] } 01:56:15 $ docker stop --time=1 b46c6a625120a0897d600f4867e6dbbeddc635b1b6901f7147c159a8149024fd 01:56:16 $ docker rm -f b46c6a625120a0897d600f4867e6dbbeddc635b1b6901f7147c159a8149024fd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:16 . [Pipeline] withDockerContainer 01:56:16 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:56:16 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:56:17 $ docker top 21a09f669da56d44b21a703cf498015e58fcf363023c7c5a98487913ffd19b4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:17 [ssh-agent] Looking for ssh-agent implementation... 01:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:17 $ docker exec 21a09f669da56d44b21a703cf498015e58fcf363023c7c5a98487913ffd19b4a ssh-agent 01:56:17 SSH_AUTH_SOCK=/tmp/ssh-3qYUEB8JQEFq/agent.14 01:56:17 SSH_AGENT_PID=20 01:56:17 Running ssh-add (command line suppressed) 01:56:17 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6713298167312259252.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6713298167312259252.key) 01:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:17 + git semver push 01:56:17 # -> Open(): unable to determine branch for HEAD 01:56:17 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 01:56:17 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 01:56:17 # $SEMVER_REMOTE_NAME = origin 01:56:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:56:17 # $SEMVER_USER_NAME = edgex-jenkins 01:56:17 # $SEMVER_BRANCH = master 01:56:17 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 01:56:22 $ docker exec --env ******** --env ******** 21a09f669da56d44b21a703cf498015e58fcf363023c7c5a98487913ffd19b4a ssh-agent -k 01:56:22 unset SSH_AUTH_SOCK; 01:56:22 unset SSH_AGENT_PID; 01:56:22 echo Agent pid 20 killed; 01:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:22 + git semver [Pipeline] } 01:56:22 $ docker stop --time=1 21a09f669da56d44b21a703cf498015e58fcf363023c7c5a98487913ffd19b4a 01:56:24 $ docker rm -f 21a09f669da56d44b21a703cf498015e58fcf363023c7c5a98487913ffd19b4a [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 01:56:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:56:25 ---> package-listing.sh 01:56:25 ++ facter osfamily 01:56:25 ++ tr '[:upper:]' '[:lower:]' 01:56:25 + OS_FAMILY=redhat 01:56:25 + workspace=/w/workspace/xfoundry_device-modbus-go_master 01:56:25 + START_PACKAGES=/tmp/packages_start.txt 01:56:25 + END_PACKAGES=/tmp/packages_end.txt 01:56:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:56:25 + PACKAGES=/tmp/packages_start.txt 01:56:25 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 01:56:25 + PACKAGES=/tmp/packages_end.txt 01:56:25 + case "${OS_FAMILY}" in 01:56:25 + rpm -qa 01:56:25 + sort 01:56:26 + '[' -f /tmp/packages_start.txt ']' 01:56:26 + '[' -f /tmp/packages_end.txt ']' 01:56:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:56:26 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 01:56:26 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 01:56:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 01:56:26 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 01:56:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:56:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:27 01:56:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:56:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:28 alpine: Pulling from edgex-lftools-log-publisher 01:56:28 df20fa9351a1: Pulling fs layer 01:56:28 36b3adc4ff6f: Pulling fs layer 01:56:28 8ad3a11d3b57: Pulling fs layer 01:56:28 46f8f816bc3b: Pulling fs layer 01:56:28 93b61091891f: Pulling fs layer 01:56:28 93b9cdb0e59b: Pulling fs layer 01:56:28 5e14af77c1be: Pulling fs layer 01:56:28 01666e4c0597: Pulling fs layer 01:56:28 aa168da1d23b: Pulling fs layer 01:56:28 46f8f816bc3b: Waiting 01:56:28 93b61091891f: Waiting 01:56:28 93b9cdb0e59b: Waiting 01:56:28 5e14af77c1be: Waiting 01:56:28 01666e4c0597: Waiting 01:56:28 aa168da1d23b: Waiting 01:56:28 36b3adc4ff6f: Verifying Checksum 01:56:28 36b3adc4ff6f: Download complete 01:56:28 46f8f816bc3b: Verifying Checksum 01:56:28 46f8f816bc3b: Download complete 01:56:28 df20fa9351a1: Verifying Checksum 01:56:28 df20fa9351a1: Download complete 01:56:28 93b9cdb0e59b: Verifying Checksum 01:56:28 93b9cdb0e59b: Download complete 01:56:28 5e14af77c1be: Verifying Checksum 01:56:28 5e14af77c1be: Download complete 01:56:28 01666e4c0597: Verifying Checksum 01:56:28 01666e4c0597: Download complete 01:56:28 93b61091891f: Verifying Checksum 01:56:28 93b61091891f: Download complete 01:56:28 df20fa9351a1: Pull complete 01:56:28 36b3adc4ff6f: Pull complete 01:56:28 8ad3a11d3b57: Verifying Checksum 01:56:28 8ad3a11d3b57: Download complete 01:56:29 8ad3a11d3b57: Pull complete 01:56:29 46f8f816bc3b: Pull complete 01:56:29 93b61091891f: Pull complete 01:56:29 93b9cdb0e59b: Pull complete 01:56:29 5e14af77c1be: Pull complete 01:56:29 01666e4c0597: Pull complete 01:56:30 aa168da1d23b: Verifying Checksum 01:56:30 aa168da1d23b: Download complete 01:56:34 aa168da1d23b: Pull complete 01:56:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:56:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:56:34 prd-centos7-docker-4c-2g-323 does not seem to be running inside a container 01:56:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:56:37 $ docker top aa121645f96db631ccfe1ca2968f5ab345907aedfca7d77afd8aaeb09d091b0c -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:37 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:38 + mkdir -p /var/log/sa [Pipeline] sh 01:56:38 + ls /var/log/sa-host 01:56:38 + sadf -c /var/log/sa-host/sa05 01:56:38 file_magic: OK 01:56:38 HZ: Using current value: 100 01:56:38 file_header: OK 01:56:38 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 01:56:38 Statistics: 01:56:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:38 File successfully converted to sysstat format version 12.2.1 01:56:38 + sadf -c /var/log/sa-host/sa26 01:56:38 file_magic: OK 01:56:38 HZ: Using current value: 100 01:56:38 file_header: OK 01:56:38 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 01:56:38 Statistics: 01:56:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:38 provisioning config files... 01:56:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2836829786490889134tmp [Pipeline] { [Pipeline] echo 01:56:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:39 ---> create-netrc.sh [Pipeline] } 01:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:56:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:39 ---> python-tools-install.sh [Pipeline] echo 01:56:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:39 ---> sudo-logs.sh 01:56:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:40 ---> job-cost.sh 01:56:40 lf-activate-venv: SKIPPING 01:56:40 DEBUG: total: 0.18000000715255737 01:56:40 INFO: Retrieving Stack Cost... 01:56:40 INFO: Retrieving Pricing Info for: v3-standard-2 01:56:41 INFO: Archiving Costs [Pipeline] echo 01:56:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:41 ---> logs-deploy.sh 01:56:41 lf-activate-venv: SKIPPING 01:56:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/52 01:56:41 INFO: archiving workspace using pattern(s): 01:56:42 Archives upload complete. 01:56:42 INFO: archiving logs to Nexus 01:56:43 ---> uname -a: 01:56:43 Linux prd-centos7-docker-4c-2g-323.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 01:56:43 01:56:43 01:56:43 ---> lscpu: 01:56:43 Architecture: x86_64 01:56:43 CPU op-mode(s): 32-bit, 64-bit 01:56:43 Byte Order: Little Endian 01:56:43 Address sizes: 40 bits physical, 48 bits virtual 01:56:43 CPU(s): 2 01:56:43 On-line CPU(s) list: 0,1 01:56:43 Thread(s) per core: 1 01:56:43 Core(s) per socket: 1 01:56:43 Socket(s): 2 01:56:43 NUMA node(s): 1 01:56:43 Vendor ID: AuthenticAMD 01:56:43 CPU family: 23 01:56:43 Model: 49 01:56:43 Model name: AMD EPYC-Rome Processor 01:56:43 Stepping: 0 01:56:43 CPU MHz: 2800.000 01:56:43 BogoMIPS: 5600.00 01:56:43 Virtualization: AMD-V 01:56:43 Hypervisor vendor: KVM 01:56:43 Virtualization type: full 01:56:43 L1d cache: 64 KiB 01:56:43 L1i cache: 64 KiB 01:56:43 L2 cache: 1 MiB 01:56:43 L3 cache: 32 MiB 01:56:43 NUMA node0 CPU(s): 0,1 01:56:43 Vulnerability Itlb multihit: Not affected 01:56:43 Vulnerability L1tf: Not affected 01:56:43 Vulnerability Mds: Not affected 01:56:43 Vulnerability Meltdown: Not affected 01:56:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:56:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:56:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:56:43 Vulnerability Srbds: Not affected 01:56:43 Vulnerability Tsx async abort: Not affected 01:56:43 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 01:56:43 01:56:43 01:56:43 ---> nproc: 01:56:43 2 01:56:43 01:56:43 01:56:43 ---> df -h: 01:56:43 Filesystem Size Used Available Use% Mounted on 01:56:43 overlay 40.0G 8.9G 31.1G 22% / 01:56:43 tmpfs 64.0M 0 64.0M 0% /dev 01:56:43 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 01:56:43 shm 64.0M 0 64.0M 0% /dev/shm 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 01:56:43 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 01:56:43 01:56:43 01:56:43 ---> free -m: 01:56:43 total used free shared buff/cache available 01:56:43 Mem: 7821 1276 3159 0 3384 6463 01:56:43 Swap: 1023 0 1023 01:56:43 01:56:43 01:56:43 ---> ip addr: 01:56:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:56:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:56:43 inet 127.0.0.1/8 scope host lo 01:56:43 valid_lft forever preferred_lft forever 01:56:43 inet6 ::1/128 scope host 01:56:43 valid_lft forever preferred_lft forever 01:56:43 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:56:43 link/ether fa:16:3e:d5:9e:6e brd ff:ff:ff:ff:ff:ff 01:56:43 inet 10.30.122.178/23 brd 10.30.123.255 scope global dynamic eth0 01:56:43 valid_lft 85713sec preferred_lft 85713sec 01:56:43 inet6 fe80::f816:3eff:fed5:9e6e/64 scope link 01:56:43 valid_lft forever preferred_lft forever 01:56:43 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:56:43 link/ether 02:42:01:fd:85:22 brd ff:ff:ff:ff:ff:ff 01:56:43 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:56:43 valid_lft forever preferred_lft forever 01:56:43 inet6 fe80::42:1ff:fefd:8522/64 scope link 01:56:43 valid_lft forever preferred_lft forever 01:56:43 01:56:43 01:56:43 ---> sar -b -r -n DEV: 01:56:43 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 01:56:43 01:56:43 01:45:00 LINUX RESTART (2 CPU) 01:56:43 01:56:43 01:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:56:43 01:47:01 1.78 0.00 1.78 0.00 0.00 37.28 0.00 01:56:43 01:48:01 0.37 0.00 0.37 0.00 0.00 5.43 0.00 01:56:43 01:49:01 0.17 0.00 0.17 0.00 0.00 2.18 0.00 01:56:43 01:50:01 0.32 0.00 0.32 0.00 0.00 5.30 0.00 01:56:43 01:51:01 0.20 0.00 0.20 0.00 0.00 3.05 0.00 01:56:43 01:52:01 0.37 0.00 0.37 0.00 0.00 4.86 0.00 01:56:43 01:53:01 0.30 0.00 0.30 0.00 0.00 5.08 0.00 01:56:43 01:54:02 0.15 0.00 0.15 0.00 0.00 1.75 0.00 01:56:43 01:55:01 0.27 0.00 0.27 0.00 0.00 3.56 0.00 01:56:43 01:56:01 196.80 0.03 196.77 0.00 3.73 53803.88 0.00 01:56:43 Average: 20.11 0.00 20.11 0.00 0.37 5397.84 0.00 01:56:43 01:56:43 01:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:56:43 01:47:01 5464468 0 805256 10.05 2620 1736596 1241292 13.70 570100 1574780 12 01:56:43 01:48:01 5464896 0 804820 10.05 2620 1736604 1239272 13.68 575132 1569724 8 01:56:43 01:49:01 5463432 0 806284 10.07 2620 1736604 1237180 13.66 576352 1569720 8 01:56:43 01:50:01 5464684 0 805028 10.05 2620 1736608 1229984 13.58 574968 1570432 12 01:56:43 01:51:01 5465184 0 804520 10.05 2620 1736616 1206436 13.32 571204 1573528 20 01:56:43 01:52:01 5467600 0 802104 10.02 2620 1736616 1206124 13.32 569464 1573528 20 01:56:43 01:53:01 5463692 0 806004 10.06 2620 1736624 1206508 13.32 573256 1573528 8 01:56:43 01:54:02 5455976 0 813716 10.16 2620 1736628 1206124 13.32 581004 1573528 8 01:56:43 01:55:01 5456092 0 813592 10.16 2620 1736636 1206124 13.32 582704 1571720 8 01:56:43 01:56:01 3785064 0 1162588 14.52 2620 3058668 1499652 16.56 880748 2731492 44 01:56:43 Average: 5295109 0 842391 10.52 2620 1868820 1247870 13.78 605493 1688198 15 01:56:43 01:56:43 01:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:56:43 01:47:01 eth0 3.50 1.07 1.74 0.36 0.00 0.00 0.00 0.00 01:56:43 01:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:48:01 eth0 3.95 0.75 1.04 0.61 0.00 0.00 0.00 0.00 01:56:43 01:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:49:01 eth0 2.12 0.40 0.43 0.25 0.00 0.00 0.00 0.00 01:56:43 01:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:50:01 eth0 1.33 0.30 0.34 0.20 0.00 0.00 0.00 0.00 01:56:43 01:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:51:01 eth0 1.13 0.77 0.67 0.47 0.00 0.00 0.00 0.00 01:56:43 01:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:52:01 eth0 0.47 0.00 0.05 0.00 0.00 0.00 0.00 0.00 01:56:43 01:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:53:01 eth0 0.57 0.32 0.28 0.20 0.00 0.00 0.00 0.00 01:56:43 01:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:54:02 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:56:43 01:54:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:54:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:55:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:56:43 01:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:56:01 veth6754ec8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:56:01 eth0 830.54 758.90 7677.12 68.91 0.00 0.00 0.00 0.00 01:56:43 01:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 01:56:01 docker0 64.01 65.81 5.31 385.24 0.00 0.00 0.00 0.00 01:56:43 Average: veth6754ec8 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 Average: eth0 84.55 76.42 769.68 7.12 0.00 0.00 0.00 0.00 01:56:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:43 Average: docker0 6.41 6.59 0.53 38.60 0.00 0.00 0.00 0.00 01:56:43 01:56:43 01:56:43 ---> sar -P ALL: 01:56:43 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 01:56:43 01:56:43 01:45:00 LINUX RESTART (2 CPU) 01:56:43 01:56:43 01:46:01 CPU %user %nice %system %iowait %steal %idle 01:56:43 01:47:01 all 0.14 0.00 0.03 0.00 0.03 99.80 01:56:43 01:47:01 0 0.22 0.00 0.03 0.00 0.03 99.72 01:56:43 01:47:01 1 0.07 0.00 0.03 0.00 0.02 99.88 01:56:43 01:48:01 all 0.19 0.00 0.04 0.00 0.03 99.74 01:56:43 01:48:01 0 0.32 0.00 0.03 0.00 0.02 99.63 01:56:43 01:48:01 1 0.07 0.00 0.05 0.00 0.03 99.85 01:56:43 01:49:01 all 0.08 0.00 0.02 0.00 0.03 99.87 01:56:43 01:49:01 0 0.15 0.00 0.02 0.00 0.03 99.80 01:56:43 01:49:01 1 0.02 0.00 0.02 0.00 0.02 99.95 01:56:43 01:50:01 all 0.10 0.00 0.02 0.00 0.03 99.85 01:56:43 01:50:01 0 0.17 0.00 0.02 0.00 0.03 99.78 01:56:43 01:50:01 1 0.03 0.00 0.02 0.00 0.03 99.92 01:56:43 01:51:01 all 0.16 0.00 0.03 0.00 0.03 99.77 01:56:43 01:51:01 0 0.12 0.00 0.03 0.00 0.03 99.82 01:56:43 01:51:01 1 0.20 0.00 0.03 0.00 0.03 99.73 01:56:43 01:52:01 all 0.09 0.00 0.02 0.00 0.03 99.87 01:56:43 01:52:01 0 0.05 0.00 0.02 0.00 0.03 99.90 01:56:43 01:52:01 1 0.13 0.00 0.02 0.00 0.02 99.83 01:56:43 01:53:01 all 0.09 0.00 0.05 0.00 0.02 99.84 01:56:43 01:53:01 0 0.05 0.00 0.05 0.00 0.03 99.87 01:56:43 01:53:01 1 0.13 0.00 0.05 0.00 0.00 99.82 01:56:43 01:54:02 all 0.14 0.00 0.03 0.00 0.03 99.80 01:56:43 01:54:02 0 0.05 0.00 0.02 0.00 0.02 99.92 01:56:43 01:54:02 1 0.23 0.00 0.05 0.00 0.03 99.68 01:56:43 01:55:01 all 0.07 0.00 0.03 0.00 0.03 99.87 01:56:43 01:55:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:56:43 01:55:01 1 0.10 0.00 0.05 0.00 0.03 99.81 01:56:43 01:56:01 all 20.06 0.00 9.14 5.26 0.07 65.47 01:56:43 01:56:01 0 20.19 0.00 9.84 6.02 0.07 63.88 01:56:43 01:56:01 1 19.93 0.00 8.44 4.50 0.07 67.05 01:56:43 Average: all 2.02 0.00 0.90 0.50 0.03 96.55 01:56:43 Average: 0 2.04 0.00 0.96 0.57 0.03 96.40 01:56:43 Average: 1 2.01 0.00 0.84 0.43 0.03 96.70 01:56:43 01:56:43 01:56:43