Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from be36c6692f7cdd3de6d802e0c0482b73d353ae7a 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-ssh4990075304485914562.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-ssh4735613745269994198.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-ssh1199880578078675585.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-ssh7427404050509546475.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-ssh4369165448791270139.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15359 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 be36c6692f7cdd3de6d802e0c0482b73d353ae7a (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-ssh8051128227183672506.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 be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 Commit message: "Merge pull request #248 from lenny-intel/port" > git rev-list --no-walk b5230044bd4b19929753d210ee1690417a14801e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:58:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:58:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:58:27 ========================================================= 17:58:27 EdgeX Global Pipelines Version Info 17:58:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:58:28 ------------------- 17:58:28 stable info: 17:58:28 ------------------- 17:58:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:58:28 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:58:28 Message: update stable to v1.0.192 17:58:29 ------------------- 17:58:29 experimental info: 17:58:29 ------------------- 17:58:29 Commited By: **** collab-it+edgex@linuxfoundation.org 17:58:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:58:29 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be36c66 [Pipeline] echo 17:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:30 provisioning config files... 17:58:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2043348300557957571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:31 ---> docker-login.sh 17:58:31 nexus3.edgexfoundry.org:10001 17:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:31 Configure a credential helper to remove this warning. See 17:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:31 17:58:31 Login Succeeded 17:58:31 nexus3.edgexfoundry.org:10002 17:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:31 Configure a credential helper to remove this warning. See 17:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:31 17:58:31 Login Succeeded 17:58:31 nexus3.edgexfoundry.org:10003 17:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:31 Configure a credential helper to remove this warning. See 17:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:31 17:58:31 Login Succeeded 17:58:31 nexus3.edgexfoundry.org:10004 17:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:31 Configure a credential helper to remove this warning. See 17:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:31 17:58:31 Login Succeeded 17:58:31 docker.io 17:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:31 Configure a credential helper to remove this warning. See 17:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:31 17:58:31 Login Succeeded 17:58:31 ---> docker-login.sh ends [Pipeline] } 17:58:31 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 17:58:32 + git log --format=format:%s -1 be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] echo 17:58:32 GIT_COMMIT: be36c6692f7cdd3de6d802e0c0482b73d353ae7a, Commit Message: Merge pull request #248 from lenny-intel/port [Pipeline] echo 17:58:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:58:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:33 17:58:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:58:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:33 latest: Pulling from edgex-devops/git-semver 17:58:33 31603596830f: Pulling fs layer 17:58:33 54011a49482f: Pulling fs layer 17:58:33 a6820b24f6d8: Pulling fs layer 17:58:33 f581987b2513: Pulling fs layer 17:58:33 f581987b2513: Waiting 17:58:33 54011a49482f: Verifying Checksum 17:58:33 54011a49482f: Download complete 17:58:33 31603596830f: Verifying Checksum 17:58:33 31603596830f: Download complete 17:58:33 a6820b24f6d8: Verifying Checksum 17:58:33 a6820b24f6d8: Download complete 17:58:33 f581987b2513: Verifying Checksum 17:58:33 f581987b2513: Download complete 17:58:33 31603596830f: Pull complete 17:58:33 54011a49482f: Pull complete 17:58:34 a6820b24f6d8: Pull complete 17:58:34 f581987b2513: Pull complete 17:58:34 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:58:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:58:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:58:34 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 17:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:58:35 $ docker top e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:35 [ssh-agent] Looking for ssh-agent implementation... 17:58:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:35 $ docker exec e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent 17:58:36 SSH_AUTH_SOCK=/tmp/ssh-bNl57Dc12UGo/agent.13 17:58:36 SSH_AGENT_PID=20 17:58:36 Running ssh-add (command line suppressed) 17:58:36 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4121174420284044994.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4121174420284044994.key) 17:58:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:36 + git tag --points-at HEAD [Pipeline] } 17:58:36 $ docker exec --env ******** --env ******** e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent -k 17:58:36 unset SSH_AUTH_SOCK; 17:58:36 unset SSH_AGENT_PID; 17:58:36 echo Agent pid 20 killed; 17:58:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:58:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:36 [ssh-agent] Looking for ssh-agent implementation... 17:58:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:36 $ docker exec e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent 17:58:36 SSH_AUTH_SOCK=/tmp/ssh-deSxN4RM5GcW/agent.53 17:58:36 SSH_AGENT_PID=59 17:58:36 Running ssh-add (command line suppressed) 17:58:37 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6836332099474221641.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6836332099474221641.key) 17:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:37 + git semver init 17:58:37 # -> Open(): unable to determine branch for HEAD 17:58:37 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 17:58:37 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 17:58:37 # $SEMVER_REMOTE_NAME = origin 17:58:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:58:37 # $SEMVER_USER_NAME = edgex-jenkins 17:58:37 # $SEMVER_BRANCH = master 17:58:37 # $SEMVER_TEMP = /tmp/semver-617552014 17:58:37 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 17:58:37 # '/tmp/semver-617552014' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 17:58:37 # -> Force: false 17:58:37 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 17:58:37 $ docker exec --env ******** --env ******** e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent -k 17:58:37 unset SSH_AUTH_SOCK; 17:58:37 unset SSH_AGENT_PID; 17:58:37 echo Agent pid 59 killed; 17:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:38 + git semver [Pipeline] } 17:58:38 $ docker stop --time=1 e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 17:58:39 $ docker rm -f e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:58:40 Stashed 1 file(s) [Pipeline] echo 17:58:40 [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [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 17:58:55 Still waiting to schedule task 17:58:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:58:55 Still waiting to schedule task 17:58:55 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15357’ 18:00:29 Running on prd-centos7-docker-4c-2g-15364 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 18:00:29 Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout 18:00:29 Selected Git installation does not exist. Using Default 18:00:29 The recommended git tool is: NONE 18:00:32 using credential edgex-jenkins-ssh 18:00:32 Cloning the remote Git repository 18:00:32 Avoid second fetch 18:00:32 Checking out Revision be36c6692f7cdd3de6d802e0c0482b73d353ae7a (master) 18:00:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:00:32 > git init /w/workspace/device-modbus-go/51 # timeout=10 18:00:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:00:32 > git --version # timeout=10 18:00:32 > git --version # 'git version 2.24.4' 18:00:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:00:32 [INFO] Currently running in a labeled security context 18:00:32 [INFO] Currently SELinux is 'enforcing' on the host 18:00:32 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/51@tmp/jenkins-gitclient-ssh2608874023974955764.key 18:00:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:00:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:00:32 > git config core.sparsecheckout # timeout=10 18:00:32 > git checkout -f be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 18:00:36 Commit message: "Merge pull request #248 from lenny-intel/port" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:00:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:00:38 + sudo service docker restart 18:00:38 + true 18:00:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:00 provisioning config files... 18:01:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config5345948174525503774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:00 ---> docker-login.sh 18:01:00 nexus3.edgexfoundry.org:10001 18:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:01 Configure a credential helper to remove this warning. See 18:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:01 18:01:01 Login Succeeded 18:01:01 nexus3.edgexfoundry.org:10002 18:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:01 Configure a credential helper to remove this warning. See 18:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:01 18:01:01 Login Succeeded 18:01:01 nexus3.edgexfoundry.org:10003 18:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:02 Configure a credential helper to remove this warning. See 18:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:02 18:01:02 Login Succeeded 18:01:02 nexus3.edgexfoundry.org:10004 18:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:02 Configure a credential helper to remove this warning. See 18:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:02 18:01:02 Login Succeeded 18:01:02 docker.io 18:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:02 Configure a credential helper to remove this warning. See 18:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:02 18:01:02 Login Succeeded 18:01:02 ---> docker-login.sh ends [Pipeline] } 18:01:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:01:02 ========================================================= 18:01:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:01:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:01:02 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 18:01:02 Sending build context to Docker daemon 602.6kB 18:01:02 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:01:02 Step 2/8 : FROM ${BASE} 18:01:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:01:03 540db60ca938: Pulling fs layer 18:01:03 adcc1eea9eea: Pulling fs layer 18:01:03 4c4ab2625f07: Pulling fs layer 18:01:03 0510c868ecb4: Pulling fs layer 18:01:03 afea3b2eda06: Pulling fs layer 18:01:03 7809a108b3ef: Pulling fs layer 18:01:03 f706445af74f: Pulling fs layer 18:01:03 0510c868ecb4: Waiting 18:01:03 afea3b2eda06: Waiting 18:01:03 7809a108b3ef: Waiting 18:01:03 f706445af74f: Waiting 18:01:03 4c4ab2625f07: Verifying Checksum 18:01:03 4c4ab2625f07: Download complete 18:01:03 adcc1eea9eea: Verifying Checksum 18:01:03 adcc1eea9eea: Download complete 18:01:03 afea3b2eda06: Verifying Checksum 18:01:03 afea3b2eda06: Download complete 18:01:03 540db60ca938: Verifying Checksum 18:01:03 540db60ca938: Download complete 18:01:03 7809a108b3ef: Verifying Checksum 18:01:03 7809a108b3ef: Download complete 18:01:03 540db60ca938: Pull complete 18:01:04 adcc1eea9eea: Pull complete 18:01:04 4c4ab2625f07: Pull complete 18:01:05 f706445af74f: Verifying Checksum 18:01:05 f706445af74f: Download complete 18:01:05 0510c868ecb4: Verifying Checksum 18:01:05 0510c868ecb4: Download complete 18:01:09 0510c868ecb4: Pull complete 18:01:09 afea3b2eda06: Pull complete 18:01:09 7809a108b3ef: Pull complete 18:01:10 f706445af74f: Pull complete 18:01:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:01:10 ---> b068be0155e3 18:01:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:01:17 ---> Running in 4c99ad371013 18:01:17 Removing intermediate container 4c99ad371013 18:01:17 ---> 995fc4f66d05 18:01:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:01:17 ---> Running in 4dbe9e0e921b 18:01:17 Removing intermediate container 4dbe9e0e921b 18:01:17 ---> 8c9683417326 18:01:17 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:01:17 ---> Running in 8c1396eafd10 18:01:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:01:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:01:19 (1/13) Installing libc-dev (0.7.2-r3) 18:01:19 (2/13) Installing libsodium (1.0.18-r0) 18:01:19 (3/13) Installing pkgconf (1.7.3-r0) 18:01:19 (4/13) Installing libsodium-dev (1.0.18-r0) 18:01:19 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:01:19 (6/13) Installing libedit (20191231.3.1-r1) 18:01:20 (7/13) Installing openssh-client (8.4_p1-r3) 18:01:20 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:01:20 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:01:20 (10/13) Installing openssh-server (8.4_p1-r3) 18:01:20 (11/13) Installing openssh (8.4_p1-r3) 18:01:21 (12/13) Installing libzmq (4.3.3-r1) 18:01:21 (13/13) Installing zeromq-dev (4.3.3-r1) 18:01:21 Executing busybox-1.32.1-r6.trigger 18:01:21 OK: 156 MiB in 53 packages 18:01:21 Removing intermediate container 8c1396eafd10 18:01:21 ---> 38da66641cc8 18:01:21 Step 6/8 : WORKDIR /device-modbus-go 18:01:21 ---> Running in aaa30949c0eb 18:01:22 Removing intermediate container aaa30949c0eb 18:01:22 ---> 3962e176a94c 18:01:22 Step 7/8 : COPY . . 18:01:22 ---> a3d28891eee0 18:01:22 Step 8/8 : RUN go mod download 18:01:22 ---> Running in 6e9778ffaf66 18:01:37 Removing intermediate container 6e9778ffaf66 18:01:37 ---> dda849b9914f 18:01:37 Successfully built dda849b9914f 18:01:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:01:37 + docker inspect -f . ci-base-image-x86_64 18:01:37 . [Pipeline] withDockerContainer 18:01:37 prd-centos7-docker-4c-2g-15364 does not seem to be running inside a container 18:01:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:01:38 $ docker top 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:38 + go version 18:01:38 go version go1.16.3 linux/amd64 [Pipeline] } 18:01:38 $ docker stop --time=1 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 18:01:39 $ docker rm -f 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:01:40 + docker inspect -f . ci-base-image-x86_64 18:01:40 . [Pipeline] withDockerContainer 18:01:40 prd-centos7-docker-4c-2g-15364 does not seem to be running inside a container 18:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:01:41 $ docker top 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:41 + go mod tidy [Pipeline] sh 18:01:42 + make test 18:01:42 go mod tidy 18:01:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:01:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:01:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:01:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements 18:01:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:02:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15368 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 18:02:03 Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout 18:02:03 Selected Git installation does not exist. Using Default 18:02:03 The recommended git tool is: NONE 18:02:05 gofmt -l . 18:02:05 [ "`gofmt -l .`" = "" ] 18:02:05 ./bin/test-attribution-txt.sh 18:02:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:02:05 $ docker stop --time=1 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 18:02:07 $ docker rm -f 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:02:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:02:09 + ls -al . 18:02:09 total 112 18:02:09 drwxrwxr-x. 9 jenkins jenkins 4096 May 20 18:02 . 18:02:09 drwxrwxr-x. 4 jenkins jenkins 30 May 20 18:00 .. 18:02:09 -rw-rw-r--. 1 jenkins jenkins 7707 May 20 18:00 Attribution.txt 18:02:09 drwxrwxr-x. 2 jenkins jenkins 87 May 20 18:00 bin 18:02:09 drwxrwxr-x. 3 jenkins jenkins 32 May 20 18:00 cmd 18:02:09 -rw-r--r--. 1 jenkins jenkins 22385 May 20 18:01 coverage.out 18:02:09 -rw-rw-r--. 1 jenkins jenkins 1473 May 20 18:00 Dockerfile 18:02:09 -rw-rw-r--. 1 jenkins jenkins 995 May 20 18:00 Dockerfile.build 18:02:09 -rw-rw-r--. 1 jenkins jenkins 140 May 20 18:00 .dockerignore 18:02:09 drwxrwxr-x. 8 jenkins jenkins 162 May 20 18:00 .git 18:02:09 drwxrwxr-x. 2 jenkins jenkins 103 May 20 18:00 .github 18:02:09 -rw-rw-r--. 1 jenkins jenkins 338 May 20 18:00 .gitignore 18:02:09 -rw-r--r--. 1 jenkins jenkins 413 May 20 18:02 go.mod 18:02:09 -rw-r--r--. 1 jenkins jenkins 21834 May 20 18:01 go.sum 18:02:09 drwxrwxr-x. 3 jenkins jenkins 20 May 20 18:00 internal 18:02:09 -rw-rw-r--. 1 jenkins jenkins 679 May 20 18:00 Jenkinsfile 18:02:09 -rw-rw-r--. 1 jenkins jenkins 11340 May 20 18:00 LICENSE 18:02:09 -rw-rw-r--. 1 jenkins jenkins 914 May 20 18:00 Makefile 18:02:09 -rw-rw-r--. 1 jenkins jenkins 2897 May 20 18:00 README.md 18:02:09 drwxrwxr-x. 2 jenkins jenkins 52 May 20 18:00 simulator 18:02:09 drwxrwxr-x. 4 jenkins jenkins 71 May 20 18:00 snap 18:02:09 -rw-rw-r--. 1 jenkins jenkins 12 May 20 17:58 VERSION 18:02:09 -rw-rw-r--. 1 jenkins jenkins 229 May 20 18:00 version.go [Pipeline] isUnix [Pipeline] sh 18:02:09 + 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=be36c6692f7cdd3de6d802e0c0482b73d353ae7a --label arch=amd64 --label version=1.3.2-dev.12 . 18:02:09 Sending build context to Docker daemon 625.7kB 18:02:09 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 18:02:09 Step 2/22 : FROM ${BASE} AS builder 18:02:09 ---> dda849b9914f 18:02:09 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:09 ---> Running in 52d4e2fdf6b4 18:02:09 using credential edgex-jenkins-ssh 18:02:09 Cloning the remote Git repository 18:02:10 Removing intermediate container 52d4e2fdf6b4 18:02:10 ---> 2b08b9d2817d 18:02:10 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:02:10 ---> Running in 61044da06096 18:02:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:02:09 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:02:10 > git init /w/workspace/device-modbus-go/51 # timeout=10 18:02:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:02:10 > git --version # timeout=10 18:02:10 > git --version # 'git version 2.17.1' 18:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:02:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:02:11 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:02:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:02:11 Avoid second fetch 18:02:11 Checking out Revision be36c6692f7cdd3de6d802e0c0482b73d353ae7a (master) 18:02:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:02:11 OK: 156 MiB in 53 packages 18:02:12 Removing intermediate container 61044da06096 18:02:12 ---> b1d6e2572c1b 18:02:12 Step 5/22 : WORKDIR /device-modbus-go 18:02:12 ---> Running in 6364b519d5b6 18:02:12 Removing intermediate container 6364b519d5b6 18:02:12 ---> 31dc7952e442 18:02:12 Step 6/22 : COPY . . 18:02:11 > git config core.sparsecheckout # timeout=10 18:02:11 > git checkout -f be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 18:02:12 ---> 9e97f9911393 18:02:12 Step 7/22 : RUN go mod tidy 18:02:12 ---> Running in 09cf5a23353d 18:02:13 Removing intermediate container 09cf5a23353d 18:02:13 ---> c9bbde96e3f7 18:02:13 Step 8/22 : RUN go mod download 18:02:13 ---> Running in 0682af6eb543 18:02:13 Removing intermediate container 0682af6eb543 18:02:13 ---> a6ad99f380ca 18:02:13 Step 9/22 : RUN make build 18:02:13 ---> Running in 0ec578dd2ebe 18:02:14 go mod tidy 18:02:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.12" -o cmd/device-modbus ./cmd 18:02:15 Commit message: "Merge pull request #248 from lenny-intel/port" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:02:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:02:17 + sudo service docker restart 18:02:17 + true 18:02:26 Removing intermediate container 0ec578dd2ebe 18:02:26 ---> 6ca5e5dd1fcb 18:02:26 Step 10/22 : FROM alpine:3.12 18:02:27 3.12: Pulling from library/alpine 18:02:27 339de151aab4: Pulling fs layer 18:02:27 339de151aab4: Verifying Checksum 18:02:27 339de151aab4: Download complete 18:02:27 339de151aab4: Pull complete 18:02:27 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:02:27 Status: Downloaded newer image for alpine:3.12 18:02:27 ---> 13621d1b12d4 18:02:27 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:02:27 ---> Running in 3c6b00858f5a 18:02:27 Removing intermediate container 3c6b00858f5a 18:02:27 ---> ecd526bca258 18:02:27 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:27 ---> Running in d9da43e6eded 18:02:28 Removing intermediate container d9da43e6eded 18:02:28 ---> 623a550f4746 18:02:28 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 18:02:28 ---> Running in c82a39f50765 18:02:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:02:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:02:31 (1/6) Installing dumb-init (1.2.2-r1) 18:02:31 (2/6) Installing libgcc (9.3.0-r2) 18:02:31 (3/6) Installing libsodium (1.0.18-r0) 18:02:32 (4/6) Installing libstdc++ (9.3.0-r2) 18:02:33 (5/6) Installing libzmq (4.3.3-r0) 18:02:33 (6/6) Installing zeromq (4.3.3-r0) 18:02:33 Executing busybox-1.31.1-r20.trigger 18:02:33 OK: 8 MiB in 20 packages 18:02:34 Removing intermediate container c82a39f50765 18:02:34 ---> b53b4becabf7 18:02:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:02:34 ---> d4ca654a6023 18:02:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:02:34 ---> 69ff71fe2e93 18:02:34 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:02:34 ---> e2bc2a516480 18:02:34 Step 17/22 : EXPOSE 59901 18:02:34 ---> Running in 8bd4ee5266c3 18:02:35 Removing intermediate container 8bd4ee5266c3 18:02:35 ---> 97bbb72f115c 18:02:35 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:02:35 ---> Running in 1c5b998d4386 18:02:35 Removing intermediate container 1c5b998d4386 18:02:35 ---> fc06bf09afda 18:02:35 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:02:35 ---> Running in bc8d9eaaaa6f 18:02:35 Removing intermediate container bc8d9eaaaa6f 18:02:35 ---> d9d0a0c70c75 18:02:35 Step 20/22 : LABEL arch=amd64 18:02:35 ---> Running in 4812d2975c67 18:02:35 Removing intermediate container 4812d2975c67 18:02:35 ---> 47c1e228a21f 18:02:35 Step 21/22 : LABEL git_sha=be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:02:35 ---> Running in e82b88ef95cd 18:02:35 Removing intermediate container e82b88ef95cd 18:02:35 ---> 3b88ccce3d8c 18:02:35 Step 22/22 : LABEL version=1.3.2-dev.12 18:02:35 ---> Running in 4718fedc1a04 18:02:35 Removing intermediate container 4718fedc1a04 18:02:35 ---> c9125cafeebc 18:02:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:02:35 Successfully built c9125cafeebc 18:02:35 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:35 provisioning config files... 18:02:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config751983175993214154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:36 provisioning config files... 18:02:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config8823329894096107531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:36 ---> docker-login.sh 18:02:36 nexus3.edgexfoundry.org:10001 18:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:36 Configure a credential helper to remove this warning. See 18:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:36 18:02:36 Login Succeeded 18:02:36 nexus3.edgexfoundry.org:10002 18:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:36 Configure a credential helper to remove this warning. See 18:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:36 18:02:36 Login Succeeded 18:02:36 nexus3.edgexfoundry.org:10003 18:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:36 Configure a credential helper to remove this warning. See 18:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:36 18:02:36 Login Succeeded 18:02:36 nexus3.edgexfoundry.org:10004 18:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:36 Configure a credential helper to remove this warning. See 18:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:36 18:02:36 Login Succeeded 18:02:36 docker.io 18:02:36 ---> docker-login.sh 18:02:36 nexus3.edgexfoundry.org:10001 18:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:37 Configure a credential helper to remove this warning. See 18:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:37 18:02:37 Login Succeeded 18:02:37 ---> docker-login.sh ends [Pipeline] } 18:02:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:37 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 18:02:37 be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:02:37 latest 18:02:37 1.3.2-dev.12 18:02:37 be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:02:37 master 18:02:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:02:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh 18:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:02:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:02:37 04c009b71889: Preparing 18:02:37 25325208f082: Preparing 18:02:37 7de411f1ea54: Preparing 18:02:37 adcf96d02222: Preparing 18:02:37 b58ce3d5adab: Preparing 18:02:37 32f366d666a5: Preparing 18:02:37 32f366d666a5: Waiting 18:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:37 Configure a credential helper to remove this warning. See 18:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:37 18:02:37 Login Succeeded 18:02:37 nexus3.edgexfoundry.org:10002 18:02:38 04c009b71889: Pushed 18:02:38 25325208f082: Pushed 18:02:38 32f366d666a5: Layer already exists 18:02:38 b58ce3d5adab: Pushed 18:02:38 adcf96d02222: Pushed 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 nexus3.edgexfoundry.org:10003 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 7de411f1ea54: Pushed 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 nexus3.edgexfoundry.org:10004 18:02:39 be36c6692f7cdd3de6d802e0c0482b73d353ae7a: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh 18:02:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 18:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:39 Configure a credential helper to remove this warning. See 18:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:39 18:02:39 Login Succeeded 18:02:39 docker.io 18:02:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 18:02:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:02:39 04c009b71889: Preparing 18:02:39 25325208f082: Preparing 18:02:39 7de411f1ea54: Preparing 18:02:39 adcf96d02222: Preparing 18:02:39 b58ce3d5adab: Preparing 18:02:39 32f366d666a5: Preparing 18:02:39 32f366d666a5: Waiting 18:02:39 b58ce3d5adab: Layer already exists 18:02:39 04c009b71889: Layer already exists 18:02:39 25325208f082: Layer already exists 18:02:39 adcf96d02222: Layer already exists 18:02:39 7de411f1ea54: Layer already exists 18:02:39 32f366d666a5: Layer already exists 18:02:39 latest: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 18:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] sh 18:02:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 18:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:40 Configure a credential helper to remove this warning. See 18:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:40 18:02:40 Login Succeeded 18:02:40 ---> docker-login.sh ends 18:02:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 18:02:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:02:40 04c009b71889: Preparing 18:02:40 25325208f082: Preparing 18:02:40 7de411f1ea54: Preparing 18:02:40 adcf96d02222: Preparing 18:02:40 b58ce3d5adab: Preparing 18:02:40 32f366d666a5: Preparing 18:02:40 32f366d666a5: Waiting 18:02:40 7de411f1ea54: Layer already exists 18:02:40 b58ce3d5adab: Layer already exists 18:02:40 adcf96d02222: Layer already exists 18:02:40 25325208f082: Layer already exists 18:02:40 04c009b71889: Layer already exists 18:02:40 32f366d666a5: Layer already exists 18:02:40 1.3.2-dev.12: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh [Pipeline] } 18:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:02:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 18:02:40 ========================================================= 18:02:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:02:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:02:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:02:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:02:41 04c009b71889: Preparing 18:02:41 25325208f082: Preparing 18:02:41 7de411f1ea54: Preparing 18:02:41 adcf96d02222: Preparing 18:02:41 b58ce3d5adab: Preparing 18:02:41 32f366d666a5: Preparing 18:02:41 32f366d666a5: Waiting 18:02:41 04c009b71889: Layer already exists 18:02:41 adcf96d02222: Layer already exists 18:02:41 b58ce3d5adab: Layer already exists 18:02:41 7de411f1ea54: Layer already exists 18:02:41 25325208f082: Layer already exists 18:02:41 32f366d666a5: Layer already exists 18:02:41 be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh 18:02:41 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 18:02:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 18:02:41 Sending build context to Docker daemon 601.6kB 18:02:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 18:02:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:02:41 04c009b71889: Preparing 18:02:41 25325208f082: Preparing 18:02:41 7de411f1ea54: Preparing 18:02:41 adcf96d02222: Preparing 18:02:41 b58ce3d5adab: Preparing 18:02:41 32f366d666a5: Preparing 18:02:41 32f366d666a5: Waiting 18:02:41 b58ce3d5adab: Layer already exists 18:02:41 25325208f082: Layer already exists 18:02:41 7de411f1ea54: Layer already exists 18:02:41 04c009b71889: Layer already exists 18:02:41 adcf96d02222: Layer already exists 18:02:41 32f366d666a5: Layer already exists 18:02:41 master: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:41 ===================================================== 18:02:41 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:02:41 Step 2/8 : FROM ${BASE} 18:02:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:02:41 595b0fe564bb: Pulling fs layer 18:02:41 7186ed65a4f7: Pulling fs layer 18:02:41 316046926c0a: Pulling fs layer 18:02:41 4ebd0625c992: Pulling fs layer 18:02:41 207e8628e3a3: Pulling fs layer 18:02:41 c791037a9be2: Pulling fs layer 18:02:41 ffd874e62e21: Pulling fs layer 18:02:41 207e8628e3a3: Waiting 18:02:41 c791037a9be2: Waiting 18:02:41 ffd874e62e21: Waiting 18:02:41 4ebd0625c992: Waiting 18:02:41 316046926c0a: Verifying Checksum 18:02:41 316046926c0a: Download complete 18:02:41 7186ed65a4f7: Download complete [Pipeline] echo 18:02:41 taggedImages: 18:02:41 - nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:02:41 - nexus3.edgexfoundry.org:10004/device-modbus:latest 18:02:41 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 18:02:41 - nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:02:41 - 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] } 18:02:42 207e8628e3a3: Verifying Checksum 18:02:42 207e8628e3a3: Download complete 18:02:42 c791037a9be2: Download complete 18:02:42 595b0fe564bb: Verifying Checksum 18:02:42 595b0fe564bb: Download complete [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:02:42 ---> job-cost.sh 18:02:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oakR 18:02:42 595b0fe564bb: Pull complete 18:02:43 7186ed65a4f7: Pull complete 18:02:43 316046926c0a: Pull complete 18:02:44 ffd874e62e21: Verifying Checksum 18:02:44 ffd874e62e21: Download complete 18:02:45 4ebd0625c992: Verifying Checksum 18:02:45 4ebd0625c992: Download complete 18:02:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:02:55 4ebd0625c992: Pull complete 18:02:55 207e8628e3a3: Pull complete 18:02:56 c791037a9be2: Pull complete 18:02:59 ffd874e62e21: Pull complete 18:02:59 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:02:59 ---> cfc18b08335c 18:02:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:03:01 ---> Running in 0da503d13783 18:03:02 Removing intermediate container 0da503d13783 18:03:02 ---> 46b132e86b56 18:03:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:02 ---> Running in 4c56a84b476d 18:03:04 Removing intermediate container 4c56a84b476d 18:03:04 ---> 0c6dbd41aa56 18:03:04 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:03:04 ---> Running in e93354233761 18:03:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:03:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:03:08 (1/13) Installing libc-dev (0.7.2-r3) 18:03:08 (2/13) Installing libsodium (1.0.18-r0) 18:03:08 (3/13) Installing pkgconf (1.7.3-r0) 18:03:08 (4/13) Installing libsodium-dev (1.0.18-r0) 18:03:08 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:03:08 (6/13) Installing libedit (20191231.3.1-r1) 18:03:08 (7/13) Installing openssh-client (8.4_p1-r3) 18:03:09 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:03:09 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:03:09 (10/13) Installing openssh-server (8.4_p1-r3) 18:03:09 (11/13) Installing openssh (8.4_p1-r3) 18:03:09 (12/13) Installing libzmq (4.3.3-r1) 18:03:09 (13/13) Installing zeromq-dev (4.3.3-r1) 18:03:09 Executing busybox-1.32.1-r6.trigger 18:03:10 OK: 145 MiB in 53 packages 18:03:11 Removing intermediate container e93354233761 18:03:11 ---> 26c932f00bc1 18:03:11 Step 6/8 : WORKDIR /device-modbus-go 18:03:11 ---> Running in 9d16e03058e9 18:03:12 Removing intermediate container 9d16e03058e9 18:03:12 ---> 2a7144d69d83 18:03:12 Step 7/8 : COPY . . 18:03:13 ---> 7ef91bccbcf9 18:03:13 Step 8/8 : RUN go mod download 18:03:13 ---> Running in d0938baaf2c9 18:03:14 lf-activate-venv(): INFO: Adding /tmp/venv-oakR/bin to PATH 18:03:14 INFO: No Stack... 18:03:14 INFO: Retrieving Pricing Info for: v3-standard-2 18:03:14 INFO: Archiving Costs [Pipeline] sh 18:03:14 + cut -d, -f6 18:03:14 + cat /w/workspace/device-modbus-go/51/archives/cost.csv [Pipeline] lock 18:03:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] 18:03:14 Resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] did not exist. Created. 18:03:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:15 + echo total: 0.05999999865889549 [Pipeline] stash 18:03:15 Stashed 1 file(s) [Pipeline] } 18:03:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:03:40 Removing intermediate container d0938baaf2c9 18:03:40 ---> cb49f5281f57 18:03:40 Successfully built cb49f5281f57 18:03:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:03:40 + docker inspect -f . ci-base-image-arm64 18:03:40 . [Pipeline] withDockerContainer 18:03:40 prd-ubuntu18.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container 18:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 18:03:42 $ docker top 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:43 + go version 18:03:43 go version go1.16.3 linux/arm64 [Pipeline] } 18:03:43 $ docker stop --time=1 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 18:03:45 $ docker rm -f 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:03:45 + docker inspect -f . ci-base-image-arm64 18:03:45 . [Pipeline] withDockerContainer 18:03:46 prd-ubuntu18.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container 18:03:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 18:03:47 $ docker top 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:48 + go mod tidy [Pipeline] sh 18:03:50 + make test 18:03:50 go mod tidy 18:03:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:03:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:04:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:04:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 47.7% of statements 18:04:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:05:10 gofmt -l . 18:05:10 [ "`gofmt -l .`" = "" ] 18:05:10 ./bin/test-attribution-txt.sh 18:05:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:05:13 $ docker stop --time=1 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 18:05:15 $ docker rm -f 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:16 Warning: overwriting stash ‘coverage-report’ 18:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:05:17 + ls -al . 18:05:17 total 144 18:05:17 drwxrwxr-x 9 jenkins jenkins 4096 May 20 18:05 . 18:05:17 drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 .. 18:05:17 -rw-rw-r-- 1 jenkins jenkins 140 May 20 18:02 .dockerignore 18:05:17 drwxrwxr-x 8 jenkins jenkins 4096 May 20 18:02 .git 18:05:17 drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 .github 18:05:17 -rw-rw-r-- 1 jenkins jenkins 338 May 20 18:02 .gitignore 18:05:17 -rw-rw-r-- 1 jenkins jenkins 7707 May 20 18:02 Attribution.txt 18:05:17 -rw-rw-r-- 1 jenkins jenkins 1473 May 20 18:02 Dockerfile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 995 May 20 18:02 Dockerfile.build 18:05:17 -rw-rw-r-- 1 jenkins jenkins 679 May 20 18:02 Jenkinsfile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 20 18:02 LICENSE 18:05:17 -rw-rw-r-- 1 jenkins jenkins 914 May 20 18:02 Makefile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 2897 May 20 18:02 README.md 18:05:17 -rw-rw-r-- 1 jenkins jenkins 12 May 20 17:58 VERSION 18:05:17 drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 bin 18:05:17 drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 cmd 18:05:17 -rw-r--r-- 1 jenkins jenkins 22385 May 20 18:04 coverage.out 18:05:17 -rw-r--r-- 1 jenkins jenkins 413 May 20 18:05 go.mod 18:05:17 -rw-r--r-- 1 jenkins jenkins 21834 May 20 18:03 go.sum 18:05:17 drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 internal 18:05:17 drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 simulator 18:05:17 drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 snap 18:05:17 -rw-rw-r-- 1 jenkins jenkins 229 May 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh 18:05:17 + 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=be36c6692f7cdd3de6d802e0c0482b73d353ae7a --label arch=arm64 --label version=1.3.2-dev.12 . 18:05:18 Sending build context to Docker daemon 624.6kB 18:05:18 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 18:05:18 Step 2/22 : FROM ${BASE} AS builder 18:05:18 ---> cb49f5281f57 18:05:18 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:18 ---> Running in 6547434eb360 18:05:21 Removing intermediate container 6547434eb360 18:05:21 ---> 6feaad68e267 18:05:21 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:05:21 ---> Running in 2241c895ce1e 18:05:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:05:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:05:24 OK: 145 MiB in 53 packages 18:05:25 Removing intermediate container 2241c895ce1e 18:05:25 ---> fc48e8a8285c 18:05:25 Step 5/22 : WORKDIR /device-modbus-go 18:05:25 ---> Running in 66b0efe0c55c 18:05:26 Removing intermediate container 66b0efe0c55c 18:05:26 ---> a0061bd850ec 18:05:26 Step 6/22 : COPY . . 18:05:27 ---> c5a032b08e29 18:05:27 Step 7/22 : RUN go mod tidy 18:05:27 ---> Running in a8f59b9a69fa 18:05:30 Removing intermediate container a8f59b9a69fa 18:05:30 ---> 458d2d2167a8 18:05:30 Step 8/22 : RUN go mod download 18:05:30 ---> Running in 3bbed160965d 18:05:33 Removing intermediate container 3bbed160965d 18:05:33 ---> e9b90ed3f162 18:05:33 Step 9/22 : RUN make build 18:05:33 ---> Running in 9009d145e388 18:05:34 go mod tidy 18:05:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.12" -o cmd/device-modbus ./cmd 18:06:14 Removing intermediate container 9009d145e388 18:06:14 ---> d83bca104223 18:06:14 Step 10/22 : FROM alpine:3.12 18:06:14 3.12: Pulling from library/alpine 18:06:14 d2f70382dc9a: Pulling fs layer 18:06:14 d2f70382dc9a: Verifying Checksum 18:06:14 d2f70382dc9a: Download complete 18:06:14 d2f70382dc9a: Pull complete 18:06:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:06:14 Status: Downloaded newer image for alpine:3.12 18:06:14 ---> 9852663dfa18 18:06:14 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:06:14 ---> Running in 28013b0dc559 18:06:15 Removing intermediate container 28013b0dc559 18:06:15 ---> 8b905745f4b0 18:06:15 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:15 ---> Running in 158e22e29385 18:06:17 Removing intermediate container 158e22e29385 18:06:17 ---> 65b3dca18a72 18:06:17 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 18:06:17 ---> Running in d97a6d392092 18:06:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:06:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:06:20 (1/6) Installing dumb-init (1.2.2-r1) 18:06:20 (2/6) Installing libgcc (9.3.0-r2) 18:06:20 (3/6) Installing libsodium (1.0.18-r0) 18:06:20 (4/6) Installing libstdc++ (9.3.0-r2) 18:06:21 (5/6) Installing libzmq (4.3.3-r0) 18:06:21 (6/6) Installing zeromq (4.3.3-r0) 18:06:21 Executing busybox-1.31.1-r20.trigger 18:06:21 OK: 8 MiB in 20 packages 18:06:22 Removing intermediate container d97a6d392092 18:06:22 ---> 6d81b9b016f0 18:06:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:06:23 ---> e76135f8a5c6 18:06:23 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:06:24 ---> f132a077955c 18:06:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:06:25 ---> 986ccd294b86 18:06:25 Step 17/22 : EXPOSE 59901 18:06:25 ---> Running in 8919a4775cef 18:06:26 Removing intermediate container 8919a4775cef 18:06:26 ---> c549c96ab4fd 18:06:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:06:26 ---> Running in 9a7c9a069092 18:06:26 Removing intermediate container 9a7c9a069092 18:06:26 ---> a17f0902b220 18:06:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:06:26 ---> Running in 6946dff29e54 18:06:27 Removing intermediate container 6946dff29e54 18:06:27 ---> 0f13413a2f63 18:06:27 Step 20/22 : LABEL arch=arm64 18:06:27 ---> Running in eea77daac90d 18:06:28 Removing intermediate container eea77daac90d 18:06:28 ---> f759c0c8d032 18:06:28 Step 21/22 : LABEL git_sha=be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:06:28 ---> Running in b51f758f8290 18:06:28 Removing intermediate container b51f758f8290 18:06:28 ---> 97a7731e16b2 18:06:28 Step 22/22 : LABEL version=1.3.2-dev.12 18:06:28 ---> Running in e95af344e264 18:06:29 Removing intermediate container e95af344e264 18:06:29 ---> ad66efb5e8d2 18:06:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:06:29 Successfully built ad66efb5e8d2 18:06:29 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:29 provisioning config files... 18:06:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config177695839714021165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:30 ---> docker-login.sh 18:06:30 nexus3.edgexfoundry.org:10001 18:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:30 Configure a credential helper to remove this warning. See 18:06:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:30 18:06:30 Login Succeeded 18:06:30 nexus3.edgexfoundry.org:10002 18:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:31 Configure a credential helper to remove this warning. See 18:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:31 18:06:31 Login Succeeded 18:06:31 nexus3.edgexfoundry.org:10003 18:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:31 Configure a credential helper to remove this warning. See 18:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:31 18:06:31 Login Succeeded 18:06:31 nexus3.edgexfoundry.org:10004 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:32 Configure a credential helper to remove this warning. See 18:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:32 18:06:32 Login Succeeded 18:06:32 docker.io 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:33 Configure a credential helper to remove this warning. See 18:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:33 18:06:33 Login Succeeded 18:06:33 ---> docker-login.sh ends [Pipeline] } 18:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:33 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 18:06:33 be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:06:33 latest 18:06:33 1.3.2-dev.12 18:06:33 be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:06:33 master 18:06:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh 18:06:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:06:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:34 e77dc53f975c: Preparing 18:06:34 7d3d40a20d44: Preparing 18:06:34 722f312b5041: Preparing 18:06:34 253e8cd18505: Preparing 18:06:34 9eeecb0cbeb6: Preparing 18:06:34 3fbe34a1663b: Preparing 18:06:34 3fbe34a1663b: Waiting 18:06:34 7d3d40a20d44: Pushed 18:06:34 e77dc53f975c: Pushed 18:06:34 9eeecb0cbeb6: Pushed 18:06:34 3fbe34a1663b: Layer already exists 18:06:35 253e8cd18505: Pushed 18:06:37 722f312b5041: Pushed 18:06:37 be36c6692f7cdd3de6d802e0c0482b73d353ae7a: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh 18:06:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:06:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:06:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:38 e77dc53f975c: Preparing 18:06:38 7d3d40a20d44: Preparing 18:06:38 722f312b5041: Preparing 18:06:38 253e8cd18505: Preparing 18:06:38 9eeecb0cbeb6: Preparing 18:06:38 3fbe34a1663b: Preparing 18:06:38 3fbe34a1663b: Waiting 18:06:38 253e8cd18505: Layer already exists 18:06:38 722f312b5041: Layer already exists 18:06:38 e77dc53f975c: Layer already exists 18:06:38 7d3d40a20d44: Layer already exists 18:06:38 9eeecb0cbeb6: Layer already exists 18:06:38 3fbe34a1663b: Layer already exists 18:06:38 latest: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh 18:06:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 18:06:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 18:06:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:39 e77dc53f975c: Preparing 18:06:39 7d3d40a20d44: Preparing 18:06:39 722f312b5041: Preparing 18:06:39 253e8cd18505: Preparing 18:06:39 9eeecb0cbeb6: Preparing 18:06:39 3fbe34a1663b: Preparing 18:06:39 3fbe34a1663b: Waiting 18:06:39 9eeecb0cbeb6: Layer already exists 18:06:39 e77dc53f975c: Layer already exists 18:06:39 7d3d40a20d44: Layer already exists 18:06:39 253e8cd18505: Layer already exists 18:06:39 722f312b5041: Layer already exists 18:06:39 3fbe34a1663b: Layer already exists 18:06:39 1.3.2-dev.12: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh 18:06:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 18:06:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:06:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:40 e77dc53f975c: Preparing 18:06:40 7d3d40a20d44: Preparing 18:06:40 722f312b5041: Preparing 18:06:40 253e8cd18505: Preparing 18:06:40 9eeecb0cbeb6: Preparing 18:06:40 3fbe34a1663b: Preparing 18:06:40 3fbe34a1663b: Waiting 18:06:40 e77dc53f975c: Layer already exists 18:06:40 7d3d40a20d44: Layer already exists 18:06:40 722f312b5041: Layer already exists 18:06:40 253e8cd18505: Layer already exists 18:06:40 9eeecb0cbeb6: Layer already exists 18:06:40 3fbe34a1663b: Layer already exists 18:06:40 be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh 18:06:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 18:06:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 18:06:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:41 e77dc53f975c: Preparing 18:06:41 7d3d40a20d44: Preparing 18:06:41 722f312b5041: Preparing 18:06:41 253e8cd18505: Preparing 18:06:41 9eeecb0cbeb6: Preparing 18:06:41 3fbe34a1663b: Preparing 18:06:41 3fbe34a1663b: Waiting 18:06:41 e77dc53f975c: Layer already exists 18:06:41 722f312b5041: Layer already exists 18:06:41 7d3d40a20d44: Layer already exists 18:06:41 9eeecb0cbeb6: Layer already exists 18:06:41 253e8cd18505: Layer already exists 18:06:41 3fbe34a1663b: Layer already exists 18:06:41 master: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:42 ===================================================== [Pipeline] echo 18:06:42 taggedImages: 18:06:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a 18:06:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:06:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 18:06:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 18:06:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:06:42 ---> job-cost.sh 18:06:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bpIj 18:07:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:09:06 lf-activate-venv(): INFO: Adding /tmp/venv-bpIj/bin to PATH 18:09:06 INFO: No Stack... 18:09:06 INFO: Retrieving Pricing Info for: v2-standard-4 18:09:06 INFO: Archiving Costs [Pipeline] sh 18:09:06 + cut -d, -f6 18:09:06 + cat /w/workspace/device-modbus-go/51/archives/cost.csv [Pipeline] lock 18:09:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] 18:09:06 Resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] did not exist. Created. 18:09:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:07 /w/workspace/device-modbus-go/51@tmp/durable-0ca15d50/script.sh: 1: /w/workspace/device-modbus-go/51@tmp/durable-0ca15d50/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:09:07 + echo total: 0.18000000715255737 [Pipeline] stash 18:09:07 Warning: overwriting stash ‘stack-cost’ 18:09:07 Stashed 1 file(s) [Pipeline] } 18:09:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:09:08 provisioning config files... 18:09:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7862109107889498660tmp [Pipeline] { [Pipeline] sh 18:09:08 + set +x 18:09:08 + curl -s https://codecov.io/bash 18:09:08 + bash -s -- 18:09:08 18:09:08 _____ _ 18:09:08 / ____| | | 18:09:08 | | ___ __| | ___ ___ _____ __ 18:09:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:09:08 | |___| (_) | (_| | __/ (_| (_) \ V / 18:09:08 \_____\___/ \__,_|\___|\___\___/ \_/ 18:09:08 Bash-1.0.2 18:09:08 18:09:08 18:09:08 ==> git version 2.24.4 found 18:09:08 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:09:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:09:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:09:08 ==> Jenkins CI detected. 18:09:08 project root: . 18:09:08 --> token set from env 18:09:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:09:08 ==> Running gcov in . (disable via -X gcov) 18:09:08 ==> Python coveragepy not found 18:09:08 ==> Searching for coverage reports in: 18:09:08 + . 18:09:08 -> Found 1 reports 18:09:08 ==> Detecting git/mercurial file structure 18:09:08 ==> Reading reports 18:09:09 + ./coverage.out bytes=22385 18:09:09 ==> Appending adjustments 18:09:09 https://docs.codecov.io/docs/fixing-reports 18:09:09 + Found adjustments 18:09:09 ==> Gzipping contents 18:09:09 4.0K /tmp/codecov.M08bHD.gz 18:09:09 ==> Uploading reports 18:09:09 url: https://codecov.io 18:09:09 query: branch=master&commit=be36c6692f7cdd3de6d802e0c0482b73d353ae7a&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:09:09 -> Pinging Codecov 18:09:09 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=be36c6692f7cdd3de6d802e0c0482b73d353ae7a&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:09:09 -> Uploading to 18:09:09 https://storage.googleapis.com/codecov/v4/raw/2021-05-20/55DBCA73C666E3227836607328DD7E49/be36c6692f7cdd3de6d802e0c0482b73d353ae7a/b25da70a-bea3-4a0e-bdee-c896c9dd63f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T180909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06ce2ef9a6f0f8c2d9ce07b164ceb626b1a94b920fe753ef589ce2a1521788ed 18:09:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:09 Dload Upload Total Spent Left Speed 18:09:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 10739 --:--:-- --:--:-- --:--:-- 10732 18:09:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] } 18:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:09:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:09:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:09:10 18:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:09:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:09:10 188c0c94c7c5: Pulling fs layer 18:09:10 0ef7d3d256c8: Pulling fs layer 18:09:10 de9db76c5a1d: Pulling fs layer 18:09:10 0eba1c9be4d2: Pulling fs layer 18:09:10 0d57e429df01: Pulling fs layer 18:09:10 4e4be7b47b0d: Pulling fs layer 18:09:10 e1f770b5df2f: Pulling fs layer 18:09:10 85a0685a4137: Pulling fs layer 18:09:10 0d57e429df01: Waiting 18:09:10 4e4be7b47b0d: Waiting 18:09:10 e1f770b5df2f: Waiting 18:09:10 85a0685a4137: Waiting 18:09:10 0eba1c9be4d2: Waiting 18:09:10 de9db76c5a1d: Verifying Checksum 18:09:10 de9db76c5a1d: Download complete 18:09:10 0ef7d3d256c8: Verifying Checksum 18:09:10 0ef7d3d256c8: Download complete 18:09:10 0d57e429df01: Verifying Checksum 18:09:10 0d57e429df01: Download complete 18:09:10 4e4be7b47b0d: Verifying Checksum 18:09:10 4e4be7b47b0d: Download complete 18:09:11 188c0c94c7c5: Verifying Checksum 18:09:11 188c0c94c7c5: Download complete 18:09:11 188c0c94c7c5: Pull complete 18:09:11 0ef7d3d256c8: Pull complete 18:09:11 de9db76c5a1d: Pull complete 18:09:12 e1f770b5df2f: Verifying Checksum 18:09:12 e1f770b5df2f: Download complete 18:09:14 0eba1c9be4d2: Verifying Checksum 18:09:14 0eba1c9be4d2: Download complete 18:09:14 85a0685a4137: Verifying Checksum 18:09:14 85a0685a4137: Download complete 18:09:17 0eba1c9be4d2: Pull complete 18:09:17 0d57e429df01: Pull complete 18:09:17 4e4be7b47b0d: Pull complete 18:09:17 e1f770b5df2f: Pull complete 18:09:21 85a0685a4137: Pull complete 18:09:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:09:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:09:21 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:09:23 $ docker top 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d -eo pid,comm [Pipeline] { [Pipeline] echo 18:09:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:09:24 + set -o pipefail 18:09:24 + snyk monitor '--org=edgex-jenkins' 18:09:42 18:09:42 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 18:09:42 18:09:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/43000e81-3f86-411f-94b6-42011bc4e304 18:09:42 18:09:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:09:42 18:09:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:09:42 18:09:42 [Pipeline] } 18:09:42 $ docker stop --time=1 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d 18:09:44 $ docker rm -f 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:45 + git log --format=format:%s -1 be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh 18:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:09:45 . [Pipeline] withDockerContainer 18:09:45 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:09:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:09:46 $ docker top 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:46 [ssh-agent] Looking for ssh-agent implementation... 18:09:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:46 $ docker exec 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 ssh-agent 18:09:46 SSH_AUTH_SOCK=/tmp/ssh-TBYYOPlxweae/agent.13 18:09:46 SSH_AGENT_PID=19 18:09:46 Running ssh-add (command line suppressed) 18:09:46 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7978108705933862369.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7978108705933862369.key) 18:09:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:46 + git semver tag 18:09:46 # -> Open(): unable to determine branch for HEAD 18:09:46 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:09:46 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:09:46 # $SEMVER_REMOTE_NAME = origin 18:09:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:09:46 # $SEMVER_USER_NAME = edgex-jenkins 18:09:46 # $SEMVER_BRANCH = master 18:09:46 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 18:09:46 # be36c6692f7cdd3de6d802e0c0482b73d353ae7a HEAD 18:09:46 # -> Force: false 18:09:46 # 3235cfbc9799f86b3f9e9d8ee18c556be334c8d4 refs/tags/v1.3.2-dev.12 [Pipeline] } 18:09:46 $ docker exec --env ******** --env ******** 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 ssh-agent -k 18:09:46 unset SSH_AUTH_SOCK; 18:09:46 unset SSH_AGENT_PID; 18:09:46 echo Agent pid 19 killed; 18:09:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:47 + git semver [Pipeline] } 18:09:47 $ docker stop --time=1 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 18:09:48 $ docker rm -f 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:09:48 18:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:09:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:09:49 0.23.1-centos7: Pulling from edgex-lftools 18:09:49 ab5ef0e58194: Pulling fs layer 18:09:49 9712f1f96733: Pulling fs layer 18:09:49 63f879dbbcfc: Pulling fs layer 18:09:49 0d9ebad4ef96: Pulling fs layer 18:09:49 e9a5061849ea: Pulling fs layer 18:09:49 d747dcd14b5f: Pulling fs layer 18:09:49 2de7ff778b66: Pulling fs layer 18:09:49 0d9ebad4ef96: Waiting 18:09:49 e9a5061849ea: Waiting 18:09:49 d747dcd14b5f: Waiting 18:09:49 2de7ff778b66: Waiting 18:09:49 9712f1f96733: Download complete 18:09:50 63f879dbbcfc: Verifying Checksum 18:09:50 63f879dbbcfc: Download complete 18:09:50 e9a5061849ea: Verifying Checksum 18:09:50 e9a5061849ea: Download complete 18:09:50 d747dcd14b5f: Download complete 18:09:51 2de7ff778b66: Verifying Checksum 18:09:51 2de7ff778b66: Download complete 18:09:51 0d9ebad4ef96: Verifying Checksum 18:09:51 0d9ebad4ef96: Download complete 18:09:51 ab5ef0e58194: Verifying Checksum 18:09:51 ab5ef0e58194: Download complete 18:09:54 ab5ef0e58194: Pull complete 18:09:54 9712f1f96733: Pull complete 18:09:54 63f879dbbcfc: Pull complete 18:09:58 0d9ebad4ef96: Pull complete 18:09:58 e9a5061849ea: Pull complete 18:09:58 d747dcd14b5f: Pull complete 18:09:58 2de7ff778b66: Pull complete 18:09:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:09:58 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:10:02 $ docker top a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:10:02 provisioning config files... 18:10:02 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7318949684030569219tmp 18:10:02 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2169849206268116585tmp 18:10:02 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6866372107796277943tmp [Pipeline] { [Pipeline] echo 18:10:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:10:02 ---> sigul-configuration.sh 18:10:02 gpg: directory `/root/.gnupg' created 18:10:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:10:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:10:02 gpg: keyring `/root/.gnupg/secring.gpg' created 18:10:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:10:02 gpg: CAST5 encrypted data 18:10:02 gpg: encrypted with 1 passphrase 18:10:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:10:03 + mkdir /home/jenkins 18:10:03 + mkdir /home/jenkins/sigul [Pipeline] sh 18:10:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:10:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:10:03 ---> sigul-install.sh 18:10:18 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:10:18 + git tag --list 18:10:18 0.7.1 18:10:18 v1.0.0 18:10:18 v1.1.0 18:10:18 v1.1.1 18:10:18 v1.2.2 18:10:18 v1.3.0 18:10:18 v1.3.1 18:10:18 v1.3.1-dev.1 18:10:18 v1.3.1-dev.2 18:10:18 v1.3.1-dev.3 18:10:18 v1.3.1-dev.4 18:10:18 v1.3.1-dev.5 18:10:18 v1.3.1-dev.6 18:10:18 v1.3.1-dev.7 18:10:18 v1.3.1-dev.8 18:10:18 v1.3.2-dev.1 18:10:18 v1.3.2-dev.10 18:10:18 v1.3.2-dev.11 18:10:18 v1.3.2-dev.12 18:10:18 v1.3.2-dev.2 18:10:18 v1.3.2-dev.3 18:10:18 v1.3.2-dev.4 18:10:18 v1.3.2-dev.5 18:10:18 v1.3.2-dev.6 18:10:18 v1.3.2-dev.7 18:10:18 v1.3.2-dev.8 18:10:18 v1.3.2-dev.9 [Pipeline] sh 18:10:19 + lftools sign git-tag v1.3.2-dev.12 18:10:19 Signing Git tag with Sigul... 18:10:19 Signing v1.3.2-dev.12 [Pipeline] echo 18:10:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:10:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:10:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:10:21 $ docker stop --time=1 a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 18:10:22 $ docker rm -f a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:10:23 . [Pipeline] withDockerContainer 18:10:23 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:10:23 $ docker top fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:24 [ssh-agent] Looking for ssh-agent implementation... 18:10:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:24 $ docker exec fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 ssh-agent 18:10:24 SSH_AUTH_SOCK=/tmp/ssh-Y9SvJHbIgyLn/agent.14 18:10:24 SSH_AGENT_PID=20 18:10:24 Running ssh-add (command line suppressed) 18:10:24 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8405206173233548793.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8405206173233548793.key) 18:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:24 + git semver bump pre 18:10:24 # -> Open(): unable to determine branch for HEAD 18:10:24 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:10:24 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:10:24 # $SEMVER_REMOTE_NAME = origin 18:10:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:10:24 # $SEMVER_USER_NAME = edgex-jenkins 18:10:24 # $SEMVER_BRANCH = master 18:10:24 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 18:10:24 1.3.2-dev.13 [Pipeline] } 18:10:24 $ docker exec --env ******** --env ******** fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 ssh-agent -k 18:10:24 unset SSH_AUTH_SOCK; 18:10:24 unset SSH_AGENT_PID; 18:10:24 echo Agent pid 20 killed; 18:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:10:25 + git semver [Pipeline] } 18:10:25 $ docker stop --time=1 fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 18:10:26 $ docker rm -f fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:10:26 . [Pipeline] withDockerContainer 18:10:26 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:10:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:10:27 $ docker top 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:10:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:27 [ssh-agent] Looking for ssh-agent implementation... 18:10:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:27 $ docker exec 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c ssh-agent 18:10:27 SSH_AUTH_SOCK=/tmp/ssh-kRYiQCynRWnG/agent.14 18:10:27 SSH_AGENT_PID=21 18:10:27 Running ssh-add (command line suppressed) 18:10:27 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6607724132854727285.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6607724132854727285.key) 18:10:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:28 + git semver push 18:10:28 # -> Open(): unable to determine branch for HEAD 18:10:28 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 18:10:28 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 18:10:28 # $SEMVER_REMOTE_NAME = origin 18:10:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:10:28 # $SEMVER_USER_NAME = edgex-jenkins 18:10:28 # $SEMVER_BRANCH = master 18:10:28 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 18:10:32 $ docker exec --env ******** --env ******** 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c ssh-agent -k 18:10:32 unset SSH_AUTH_SOCK; 18:10:32 unset SSH_AGENT_PID; 18:10:32 echo Agent pid 21 killed; 18:10:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:10:32 + git semver [Pipeline] } 18:10:32 $ docker stop --time=1 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c 18:10:34 $ docker rm -f 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:10:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:10:35 ---> package-listing.sh 18:10:35 ++ tr '[:upper:]' '[:lower:]' 18:10:35 ++ facter osfamily 18:10:36 + OS_FAMILY=redhat 18:10:36 + workspace=/w/workspace/xfoundry_device-modbus-go_master 18:10:36 + START_PACKAGES=/tmp/packages_start.txt 18:10:36 + END_PACKAGES=/tmp/packages_end.txt 18:10:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:10:36 + PACKAGES=/tmp/packages_start.txt 18:10:36 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 18:10:36 + PACKAGES=/tmp/packages_end.txt 18:10:36 + case "${OS_FAMILY}" in 18:10:36 + rpm -qa 18:10:36 + sort 18:10:36 + '[' -f /tmp/packages_start.txt ']' 18:10:36 + '[' -f /tmp/packages_end.txt ']' 18:10:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:10:36 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 18:10:36 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 18:10:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 18:10:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:10:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:10:37 18:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:10:37 alpine: Pulling from edgex-lftools-log-publisher 18:10:37 df20fa9351a1: Pulling fs layer 18:10:37 36b3adc4ff6f: Pulling fs layer 18:10:37 8ad3a11d3b57: Pulling fs layer 18:10:37 46f8f816bc3b: Pulling fs layer 18:10:37 93b61091891f: Pulling fs layer 18:10:37 93b9cdb0e59b: Pulling fs layer 18:10:37 5e14af77c1be: Pulling fs layer 18:10:37 01666e4c0597: Pulling fs layer 18:10:37 aa168da1d23b: Pulling fs layer 18:10:37 46f8f816bc3b: Waiting 18:10:37 93b61091891f: Waiting 18:10:37 93b9cdb0e59b: Waiting 18:10:37 5e14af77c1be: Waiting 18:10:37 01666e4c0597: Waiting 18:10:37 aa168da1d23b: Waiting 18:10:37 36b3adc4ff6f: Verifying Checksum 18:10:37 36b3adc4ff6f: Download complete 18:10:37 46f8f816bc3b: Verifying Checksum 18:10:37 46f8f816bc3b: Download complete 18:10:37 df20fa9351a1: Verifying Checksum 18:10:37 df20fa9351a1: Download complete 18:10:37 93b9cdb0e59b: Verifying Checksum 18:10:37 93b9cdb0e59b: Download complete 18:10:38 5e14af77c1be: Verifying Checksum 18:10:38 5e14af77c1be: Download complete 18:10:38 01666e4c0597: Verifying Checksum 18:10:38 01666e4c0597: Download complete 18:10:38 93b61091891f: Verifying Checksum 18:10:38 93b61091891f: Download complete 18:10:38 8ad3a11d3b57: Verifying Checksum 18:10:38 8ad3a11d3b57: Download complete 18:10:38 df20fa9351a1: Pull complete 18:10:38 36b3adc4ff6f: Pull complete 18:10:38 8ad3a11d3b57: Pull complete 18:10:38 46f8f816bc3b: Pull complete 18:10:39 93b61091891f: Pull complete 18:10:39 93b9cdb0e59b: Pull complete 18:10:39 5e14af77c1be: Pull complete 18:10:39 01666e4c0597: Pull complete 18:10:41 aa168da1d23b: Verifying Checksum 18:10:41 aa168da1d23b: Download complete 18:10:45 aa168da1d23b: Pull complete 18:10:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:10:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:10:45 prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container 18:10:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:10:47 $ docker top eb606f3677f519265997e4b0e24a4247208e2f384c69d704fc76964893bfc0de -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:48 + touch /tmp/pre-build-complete [Pipeline] sh 18:10:48 + mkdir -p /var/log/sa [Pipeline] sh 18:10:48 + ls /var/log/sa-host 18:10:48 + sadf -c /var/log/sa-host/sa05 18:10:48 file_magic: OK 18:10:48 HZ: Using current value: 100 18:10:48 file_header: OK 18:10:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:10:48 Statistics: 18:10:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:10:48 File successfully converted to sysstat format version 12.2.1 18:10:48 + sadf -c /var/log/sa-host/sa20 18:10:48 file_magic: OK 18:10:48 HZ: Using current value: 100 18:10:48 file_header: OK 18:10:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:10:48 Statistics: 18:10:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:10:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:49 provisioning config files... 18:10:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config48330279822970987tmp [Pipeline] { [Pipeline] echo 18:10:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:10:49 ---> create-netrc.sh [Pipeline] } 18:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:10:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:10:50 ---> python-tools-install.sh [Pipeline] echo 18:10:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:10:50 ---> sudo-logs.sh 18:10:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:10:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:10:50 ---> job-cost.sh 18:10:50 lf-activate-venv: SKIPPING 18:10:50 DEBUG: total: 0.18000000715255737 18:10:50 INFO: Retrieving Stack Cost... 18:10:52 INFO: Retrieving Pricing Info for: v3-standard-2 18:10:52 INFO: Archiving Costs [Pipeline] echo 18:10:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:10:52 ---> logs-deploy.sh 18:10:52 lf-activate-venv: SKIPPING 18:10:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/51 18:10:52 INFO: archiving workspace using pattern(s): 18:10:53 Archives upload complete. 18:10:53 INFO: archiving logs to Nexus 18:10:54 ---> uname -a: 18:10:54 Linux prd-centos7-docker-4c-2g-15359.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 18:10:54 18:10:54 18:10:54 ---> lscpu: 18:10:54 Architecture: x86_64 18:10:54 CPU op-mode(s): 32-bit, 64-bit 18:10:54 Byte Order: Little Endian 18:10:54 Address sizes: 40 bits physical, 48 bits virtual 18:10:54 CPU(s): 2 18:10:54 On-line CPU(s) list: 0,1 18:10:54 Thread(s) per core: 1 18:10:54 Core(s) per socket: 1 18:10:54 Socket(s): 2 18:10:54 NUMA node(s): 1 18:10:54 Vendor ID: AuthenticAMD 18:10:54 CPU family: 23 18:10:54 Model: 49 18:10:54 Model name: AMD EPYC-Rome Processor 18:10:54 Stepping: 0 18:10:54 CPU MHz: 2800.000 18:10:54 BogoMIPS: 5600.00 18:10:54 Virtualization: AMD-V 18:10:54 Hypervisor vendor: KVM 18:10:54 Virtualization type: full 18:10:54 L1d cache: 64 KiB 18:10:54 L1i cache: 64 KiB 18:10:54 L2 cache: 1 MiB 18:10:54 L3 cache: 32 MiB 18:10:54 NUMA node0 CPU(s): 0,1 18:10:54 Vulnerability Itlb multihit: Not affected 18:10:54 Vulnerability L1tf: Not affected 18:10:54 Vulnerability Mds: Not affected 18:10:54 Vulnerability Meltdown: Not affected 18:10:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:10:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:10:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:10:54 Vulnerability Srbds: Not affected 18:10:54 Vulnerability Tsx async abort: Not affected 18:10:54 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 18:10:54 18:10:54 18:10:54 ---> nproc: 18:10:54 2 18:10:54 18:10:54 18:10:54 ---> df -h: 18:10:54 Filesystem Size Used Available Use% Mounted on 18:10:54 overlay 40.0G 8.9G 31.1G 22% / 18:10:54 tmpfs 64.0M 0 64.0M 0% /dev 18:10:54 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 18:10:54 shm 64.0M 0 64.0M 0% /dev/shm 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 18:10:54 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 18:10:54 18:10:54 18:10:54 ---> free -m: 18:10:54 total used free shared buff/cache available 18:10:54 Mem: 7821 1370 3007 0 3442 6401 18:10:54 Swap: 1023 0 1023 18:10:54 18:10:54 18:10:54 ---> ip addr: 18:10:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:10:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:10:54 inet 127.0.0.1/8 scope host lo 18:10:54 valid_lft forever preferred_lft forever 18:10:54 inet6 ::1/128 scope host 18:10:54 valid_lft forever preferred_lft forever 18:10:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:10:54 link/ether fa:16:3e:82:61:08 brd ff:ff:ff:ff:ff:ff 18:10:54 inet 10.30.122.139/23 brd 10.30.123.255 scope global dynamic eth0 18:10:54 valid_lft 85626sec preferred_lft 85626sec 18:10:54 inet6 fe80::f816:3eff:fe82:6108/64 scope link 18:10:54 valid_lft forever preferred_lft forever 18:10:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:10:54 link/ether 02:42:4c:1f:f2:28 brd ff:ff:ff:ff:ff:ff 18:10:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:10:54 valid_lft forever preferred_lft forever 18:10:54 inet6 fe80::42:4cff:fe1f:f228/64 scope link 18:10:54 valid_lft forever preferred_lft forever 18:10:54 18:10:54 18:10:54 ---> sar -b -r -n DEV: 18:10:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) 18:10:54 18:10:54 17:57:48 LINUX RESTART (2 CPU) 18:10:54 18:10:54 17:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:10:54 18:00:01 1.85 0.00 1.85 0.00 0.00 36.93 0.00 18:10:54 18:01:01 0.25 0.02 0.23 0.00 0.13 3.60 0.00 18:10:54 18:02:01 0.42 0.10 0.32 0.00 1.73 5.16 0.00 18:10:54 18:03:01 0.28 0.00 0.28 0.00 0.00 3.27 0.00 18:10:54 18:04:01 0.27 0.00 0.27 0.00 0.00 4.20 0.00 18:10:54 18:05:01 0.25 0.00 0.25 0.00 0.00 3.90 0.00 18:10:54 18:06:01 0.23 0.00 0.23 0.00 0.00 3.00 0.00 18:10:54 18:07:01 0.20 0.00 0.20 0.00 0.00 1.92 0.00 18:10:54 18:08:01 2.40 2.13 0.27 0.00 38.25 4.16 0.00 18:10:54 18:09:02 275.20 252.04 23.16 0.00 3410.56 1023.70 0.00 18:10:54 18:10:01 177.58 0.03 177.54 0.00 3.79 50576.92 0.00 18:10:54 Average: 41.52 23.15 18.36 0.00 314.50 4628.79 0.00 18:10:54 18:10:54 17:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:10:54 18:00:01 5470228 0 799524 9.98 2620 1736568 1227704 13.55 567316 1572112 20 18:10:54 18:01:01 5468992 0 800756 10.00 2620 1736572 1230096 13.58 568812 1571448 8 18:10:54 18:02:01 5468440 0 801184 10.00 2620 1736696 1228424 13.56 569936 1571508 16 18:10:54 18:03:01 5468464 0 801152 10.00 2620 1736704 1228436 13.56 565844 1575748 16 18:10:54 18:04:01 5468668 0 800944 10.00 2620 1736708 1219052 13.46 565720 1575748 20 18:10:54 18:05:01 5467628 0 801980 10.01 2620 1736712 1219064 13.46 566848 1575748 12 18:10:54 18:06:01 5467692 0 801912 10.01 2620 1736716 1205472 13.31 567272 1575748 8 18:10:54 18:07:01 5458128 0 811472 10.13 2620 1736720 1205592 13.31 576500 1575748 8 18:10:54 18:08:01 5455536 0 813052 10.15 2620 1737732 1207692 13.33 579228 1574472 8 18:10:54 18:09:02 5304820 0 905396 11.30 2620 1796104 1205600 13.31 618392 1593252 8 18:10:54 18:10:01 3633708 0 1254648 15.67 2620 3117964 1407160 15.54 906544 2744228 70264 18:10:54 Average: 5284755 0 853820 10.66 2620 1867745 1234936 13.63 604765 1682342 6399 18:10:54 18:10:54 17:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:10:54 18:00:01 eth0 3.46 0.30 0.51 0.20 0.00 0.00 0.00 0.00 18:10:54 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:01:01 eth0 3.38 0.53 0.79 0.39 0.00 0.00 0.00 0.00 18:10:54 18:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:02:01 eth0 3.61 0.70 0.98 0.61 0.00 0.00 0.00 0.00 18:10:54 18:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:03:01 eth0 2.05 0.75 0.86 0.53 0.00 0.00 0.00 0.00 18:10:54 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:04:01 eth0 1.40 0.63 0.62 0.34 0.00 0.00 0.00 0.00 18:10:54 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:05:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 18:10:54 18:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:06:01 eth0 0.42 0.07 0.04 0.01 0.00 0.00 0.00 0.00 18:10:54 18:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:07:01 eth0 0.70 0.25 0.29 0.20 0.00 0.00 0.00 0.00 18:10:54 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:08:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:10:54 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:09:02 eth0 0.37 0.23 0.15 0.07 0.00 0.00 0.00 0.00 18:10:54 18:09:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:09:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:10:01 eth0 859.56 790.94 7807.46 71.38 0.00 0.00 0.00 0.00 18:10:54 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 18:10:01 docker0 70.36 72.65 5.68 391.52 0.00 0.00 0.00 0.00 18:10:54 Average: eth0 78.44 71.19 699.63 6.63 0.00 0.00 0.00 0.00 18:10:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:54 Average: docker0 6.30 6.51 0.51 35.06 0.00 0.00 0.00 0.00 18:10:54 18:10:54 18:10:54 ---> sar -P ALL: 18:10:54 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) 18:10:54 18:10:54 17:57:48 LINUX RESTART (2 CPU) 18:10:54 18:10:54 17:59:01 CPU %user %nice %system %iowait %steal %idle 18:10:54 18:00:01 all 0.10 0.00 0.04 0.00 0.04 99.82 18:10:54 18:00:01 0 0.12 0.00 0.05 0.00 0.05 99.78 18:10:54 18:00:01 1 0.08 0.00 0.03 0.00 0.03 99.85 18:10:54 18:01:01 all 0.15 0.00 0.10 0.00 0.04 99.71 18:10:54 18:01:01 0 0.10 0.00 0.08 0.00 0.03 99.78 18:10:54 18:01:01 1 0.20 0.00 0.12 0.00 0.05 99.63 18:10:54 18:02:01 all 0.04 0.00 0.03 0.02 0.03 99.88 18:10:54 18:02:01 0 0.05 0.00 0.03 0.00 0.02 99.90 18:10:54 18:02:01 1 0.03 0.00 0.03 0.03 0.03 99.87 18:10:54 18:03:01 all 0.11 0.00 0.03 0.00 0.03 99.82 18:10:54 18:03:01 0 0.15 0.00 0.02 0.00 0.02 99.82 18:10:54 18:03:01 1 0.07 0.00 0.05 0.00 0.05 99.83 18:10:54 18:04:01 all 0.13 0.00 0.03 0.00 0.02 99.82 18:10:54 18:04:01 0 0.23 0.00 0.03 0.00 0.02 99.72 18:10:54 18:04:01 1 0.03 0.00 0.02 0.00 0.02 99.93 18:10:54 18:05:01 all 0.16 0.00 0.02 0.00 0.03 99.79 18:10:54 18:05:01 0 0.28 0.00 0.02 0.00 0.03 99.67 18:10:54 18:05:01 1 0.03 0.00 0.02 0.00 0.03 99.92 18:10:54 18:06:01 all 0.13 0.00 0.04 0.00 0.02 99.81 18:10:54 18:06:01 0 0.25 0.00 0.03 0.00 0.02 99.70 18:10:54 18:06:01 1 0.02 0.00 0.05 0.00 0.02 99.92 18:10:54 18:07:01 all 0.12 0.00 0.03 0.00 0.02 99.83 18:10:54 18:07:01 0 0.22 0.00 0.03 0.00 0.02 99.73 18:10:54 18:07:01 1 0.02 0.00 0.03 0.00 0.02 99.93 18:10:54 18:08:01 all 0.13 0.03 0.09 0.02 0.03 99.70 18:10:54 18:08:01 0 0.23 0.02 0.08 0.02 0.03 99.62 18:10:54 18:08:01 1 0.03 0.03 0.10 0.02 0.03 99.78 18:10:54 18:09:02 all 0.21 4.02 14.51 2.40 0.03 78.83 18:10:54 18:09:02 0 0.31 4.04 14.49 2.36 0.03 78.77 18:10:54 18:09:02 1 0.12 4.00 14.52 2.43 0.03 78.90 18:10:54 18:10:01 all 19.19 0.00 8.28 2.81 0.07 69.65 18:10:54 18:10:01 0 19.30 0.00 8.44 2.82 0.07 69.37 18:10:54 18:10:01 1 19.08 0.00 8.13 2.80 0.07 69.92 18:10:54 18:10:54 Average: CPU %user %nice %system %iowait %steal %idle 18:10:54 Average: all 1.76 0.36 2.05 0.46 0.03 95.33 18:10:54 Average: 0 1.82 0.37 2.06 0.45 0.03 95.26 18:10:54 Average: 1 1.70 0.36 2.04 0.46 0.04 95.40 18:10:54 18:10:54 18:10:54