Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 90bd167c5e008ca72793a95020c1bd222277a38a 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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: docker-device-modbus-go 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-4448 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 Commit message: "Merge pull request #235 from weichou1229/issue-61" > git rev-list --no-walk 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:52:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:52:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:52:47 ========================================================= 14:52:47 EdgeX Global Pipelines Version Info 14:52:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:52:49 ------------------- 14:52:49 stable info: 14:52:49 ------------------- 14:52:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:52:49 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 14:52:49 Message: update stable to v1.0.191 14:52:49 ------------------- 14:52:49 experimental info: 14:52:49 ------------------- 14:52:49 Commited By: **** collab-it+edgex@linuxfoundation.org 14:52:49 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 14:52:49 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90bd167 [Pipeline] echo 14:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:52:51 provisioning config files... 14:52:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1712427623373716537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:51 ---> docker-login.sh 14:52:51 nexus3.edgexfoundry.org:10001 14:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:51 Configure a credential helper to remove this warning. See 14:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:51 14:52:51 Login Succeeded 14:52:51 nexus3.edgexfoundry.org:10002 14:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:51 Configure a credential helper to remove this warning. See 14:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:51 14:52:51 Login Succeeded 14:52:51 nexus3.edgexfoundry.org:10003 14:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:52 Configure a credential helper to remove this warning. See 14:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:52 14:52:52 Login Succeeded 14:52:52 nexus3.edgexfoundry.org:10004 14:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:52 Configure a credential helper to remove this warning. See 14:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:52 14:52:52 Login Succeeded 14:52:52 docker.io 14:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:53 Configure a credential helper to remove this warning. See 14:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:53 14:52:53 Login Succeeded 14:52:53 ---> docker-login.sh ends [Pipeline] } 14:52:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:53 + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo 14:52:53 GIT_COMMIT: 90bd167c5e008ca72793a95020c1bd222277a38a, Commit Message: Merge pull request #235 from weichou1229/issue-61 [Pipeline] echo 14:52:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:52:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:52:54 14:52:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:52:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:52:54 latest: Pulling from edgex-devops/git-semver 14:52:54 31603596830f: Pulling fs layer 14:52:54 54011a49482f: Pulling fs layer 14:52:54 a6820b24f6d8: Pulling fs layer 14:52:54 f581987b2513: Pulling fs layer 14:52:54 f581987b2513: Waiting 14:52:54 54011a49482f: Verifying Checksum 14:52:54 54011a49482f: Download complete 14:52:54 31603596830f: Verifying Checksum 14:52:54 31603596830f: Download complete 14:52:55 f581987b2513: Verifying Checksum 14:52:55 f581987b2513: Download complete 14:52:55 a6820b24f6d8: Verifying Checksum 14:52:55 a6820b24f6d8: Download complete 14:52:55 31603596830f: Pull complete 14:52:55 54011a49482f: Pull complete 14:52:56 a6820b24f6d8: Pull complete 14:52:56 f581987b2513: Pull complete 14:52:56 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:52:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:52:56 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 14:52:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:52:59 $ docker top a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:52:59 [ssh-agent] Looking for ssh-agent implementation... 14:52:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:52:59 $ docker exec a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent 14:52:59 SSH_AUTH_SOCK=/tmp/ssh-HyBDfRjV8Sgg/agent.12 14:52:59 SSH_AGENT_PID=18 14:52:59 Running ssh-add (command line suppressed) 14:52:59 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1030428836652548009.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1030428836652548009.key) 14:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:00 + git tag --points-at HEAD [Pipeline] } 14:53:00 $ docker exec --env ******** --env ******** a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent -k 14:53:00 unset SSH_AUTH_SOCK; 14:53:00 unset SSH_AGENT_PID; 14:53:00 echo Agent pid 18 killed; 14:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:00 [ssh-agent] Looking for ssh-agent implementation... 14:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:00 $ docker exec a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent 14:53:00 SSH_AUTH_SOCK=/tmp/ssh-Swh5UH1ifhBp/agent.47 14:53:00 SSH_AGENT_PID=53 14:53:00 Running ssh-add (command line suppressed) 14:53:00 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4656872933359677741.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4656872933359677741.key) 14:53:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:01 + git semver init 14:53:01 # -> Open(): unable to determine branch for HEAD 14:53:01 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 14:53:01 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 14:53:01 # $SEMVER_REMOTE_NAME = origin 14:53:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:53:01 # $SEMVER_USER_NAME = edgex-jenkins 14:53:01 # $SEMVER_BRANCH = master 14:53:01 # $SEMVER_TEMP = /tmp/semver-214475169 14:53:01 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 14:53:03 # '/tmp/semver-214475169' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 14:53:03 # -> Force: false 14:53:03 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 14:53:03 $ docker exec --env ******** --env ******** a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent -k 14:53:03 unset SSH_AUTH_SOCK; 14:53:03 unset SSH_AGENT_PID; 14:53:03 echo Agent pid 53 killed; 14:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:53:03 + git semver [Pipeline] } 14:53:03 $ docker stop --time=1 a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 14:53:05 $ docker rm -f a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 [Pipeline] // withDockerContainer [Pipeline] sh 14:53:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:53:05 Stashed 1 file(s) [Pipeline] echo 14:53:05 [edgeXSemver]: initialized semver on version 1.3.2-dev.7 [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 14:53:21 Still waiting to schedule task 14:53:21 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4443’ is offline; ‘prd-centos7-docker-4c-2g-4444’ is offline; ‘prd-centos7-docker-4c-2g-4447’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ 14:53:21 Still waiting to schedule task 14:53:21 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 14:54:17 Running on prd-centos7-docker-4c-2g-4451 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 14:54:17 Running in /w/workspace/device-modbus-go/45 [Pipeline] { [Pipeline] checkout 14:54:20 using credential edgex-jenkins-ssh 14:54:20 Cloning the remote Git repository 14:54:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:54:20 > git init /w/workspace/device-modbus-go/45 # timeout=10 14:54:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:54:20 > git --version # timeout=10 14:54:20 > git --version # 'git version 2.24.3' 14:54:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:54:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:54:21 Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) 14:54:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:54:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:54:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:54:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:54:21 using GIT_SSH to set credentials SSH Credentials for GitHub 14:54:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:54:21 > git config core.sparsecheckout # timeout=10 14:54:21 > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 14:54:25 Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:54:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:54:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:54:26 + sudo service docker restart 14:54:26 + true 14:54:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:54:27 provisioning config files... 14:54:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config2628633472074254167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:28 ---> docker-login.sh 14:54:28 nexus3.edgexfoundry.org:10001 14:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:28 Configure a credential helper to remove this warning. See 14:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:28 14:54:28 Login Succeeded 14:54:28 nexus3.edgexfoundry.org:10002 14:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:28 Configure a credential helper to remove this warning. See 14:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:28 14:54:28 Login Succeeded 14:54:28 nexus3.edgexfoundry.org:10003 14:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:29 Configure a credential helper to remove this warning. See 14:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:29 14:54:29 Login Succeeded 14:54:29 nexus3.edgexfoundry.org:10004 14:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:29 Configure a credential helper to remove this warning. See 14:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:29 14:54:29 Login Succeeded 14:54:29 docker.io 14:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:29 Configure a credential helper to remove this warning. See 14:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:29 14:54:29 Login Succeeded 14:54:29 ---> docker-login.sh ends [Pipeline] } 14:54:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:54:30 ========================================================= 14:54:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:54:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:54:30 + 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 . 14:54:30 Sending build context to Docker daemon 591.9kB 14:54:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 14:54:30 Step 2/8 : FROM ${BASE} 14:54:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:54:30 540db60ca938: Pulling fs layer 14:54:30 adcc1eea9eea: Pulling fs layer 14:54:30 4c4ab2625f07: Pulling fs layer 14:54:30 0510c868ecb4: Pulling fs layer 14:54:30 afea3b2eda06: Pulling fs layer 14:54:30 7809a108b3ef: Pulling fs layer 14:54:30 f706445af74f: Pulling fs layer 14:54:30 0510c868ecb4: Waiting 14:54:30 afea3b2eda06: Waiting 14:54:30 7809a108b3ef: Waiting 14:54:30 f706445af74f: Waiting 14:54:30 4c4ab2625f07: Verifying Checksum 14:54:30 4c4ab2625f07: Download complete 14:54:30 adcc1eea9eea: Download complete 14:54:30 afea3b2eda06: Verifying Checksum 14:54:30 afea3b2eda06: Download complete 14:54:30 7809a108b3ef: Download complete 14:54:30 540db60ca938: Verifying Checksum 14:54:30 540db60ca938: Download complete 14:54:30 540db60ca938: Pull complete 14:54:31 adcc1eea9eea: Pull complete 14:54:31 4c4ab2625f07: Pull complete 14:54:32 f706445af74f: Verifying Checksum 14:54:32 f706445af74f: Download complete 14:54:33 0510c868ecb4: Verifying Checksum 14:54:33 0510c868ecb4: Download complete 14:54:40 0510c868ecb4: Pull complete 14:54:40 afea3b2eda06: Pull complete 14:54:40 7809a108b3ef: Pull complete 14:54:43 f706445af74f: Pull complete 14:54:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 14:54:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:54:43 ---> b068be0155e3 14:54:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 14:54:44 ---> Running in 22aab5ee68e8 14:54:44 Removing intermediate container 22aab5ee68e8 14:54:44 ---> 7ffda5a839fc 14:54:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:44 ---> Running in 17a9f644c367 14:54:46 Removing intermediate container 17a9f644c367 14:54:46 ---> 89bc826bea0c 14:54:46 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:54:46 ---> Running in eb1805f4c611 14:54:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:54:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:54:50 (1/13) Installing libc-dev (0.7.2-r3) 14:54:50 (2/13) Installing libsodium (1.0.18-r0) 14:54:50 (3/13) Installing pkgconf (1.7.3-r0) 14:54:50 (4/13) Installing libsodium-dev (1.0.18-r0) 14:54:50 (5/13) Installing openssh-keygen (8.4_p1-r3) 14:54:50 (6/13) Installing libedit (20191231.3.1-r1) 14:54:51 (7/13) Installing openssh-client (8.4_p1-r3) 14:54:51 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 14:54:52 (9/13) Installing openssh-server-common (8.4_p1-r3) 14:54:52 (10/13) Installing openssh-server (8.4_p1-r3) 14:54:52 (11/13) Installing openssh (8.4_p1-r3) 14:54:52 (12/13) Installing libzmq (4.3.3-r1) 14:54:52 (13/13) Installing zeromq-dev (4.3.3-r1) 14:54:52 Executing busybox-1.32.1-r6.trigger 14:54:52 OK: 156 MiB in 53 packages 14:54:53 Removing intermediate container eb1805f4c611 14:54:53 ---> a87c9dcd13f1 14:54:53 Step 6/8 : WORKDIR /device-modbus-go 14:54:53 ---> Running in db8ac3471ed5 14:54:53 Removing intermediate container db8ac3471ed5 14:54:53 ---> 5699730621c6 14:54:53 Step 7/8 : COPY . . 14:54:54 ---> 8ac1413fd61f 14:54:54 Step 8/8 : RUN go mod download 14:54:54 ---> Running in 1d2c1032c145 14:55:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4452 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 14:55:00 Running in /w/workspace/device-modbus-go/45 [Pipeline] { [Pipeline] checkout 14:55:05 using credential edgex-jenkins-ssh 14:55:05 Cloning the remote Git repository 14:55:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:55:06 > git init /w/workspace/device-modbus-go/45 # timeout=10 14:55:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:55:06 > git --version # timeout=10 14:55:06 > git --version # 'git version 2.17.1' 14:55:06 using GIT_SSH to set credentials SSH Credentials for GitHub 14:55:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:55:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:55:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:55:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:55:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:55:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:55:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:55:08 Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) 14:55:08 > git config core.sparsecheckout # timeout=10 14:55:08 > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 14:55:12 Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:55:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:55:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:55:14 + true 14:55:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:55:17 provisioning config files... 14:55:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config7679487603108872525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:17 ---> docker-login.sh 14:55:17 nexus3.edgexfoundry.org:10001 14:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:19 Configure a credential helper to remove this warning. See 14:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:19 14:55:19 Login Succeeded 14:55:19 nexus3.edgexfoundry.org:10002 14:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:19 Configure a credential helper to remove this warning. See 14:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:19 14:55:19 Login Succeeded 14:55:19 nexus3.edgexfoundry.org:10003 14:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:20 Configure a credential helper to remove this warning. See 14:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:20 14:55:20 Login Succeeded 14:55:20 nexus3.edgexfoundry.org:10004 14:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:20 Configure a credential helper to remove this warning. See 14:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:20 14:55:20 Login Succeeded 14:55:20 docker.io 14:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:21 Removing intermediate container 1d2c1032c145 14:55:21 ---> 9a2aa9d3ba36 14:55:21 Successfully built 9a2aa9d3ba36 14:55:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:55:21 + docker inspect -f . ci-base-image-x86_64 14:55:21 . [Pipeline] withDockerContainer 14:55:21 prd-centos7-docker-4c-2g-4451 does not seem to be running inside a container 14:55:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 ******** ci-base-image-x86_64 cat 14:55:22 $ docker top 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 -eo pid,comm [Pipeline] { [Pipeline] sh 14:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:22 Configure a credential helper to remove this warning. See 14:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:22 14:55:22 Login Succeeded 14:55:22 ---> docker-login.sh ends [Pipeline] } 14:55:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 14:55:23 + go version 14:55:23 go version go1.16.3 linux/amd64 [Pipeline] } 14:55:23 $ docker stop --time=1 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 14:55:24 $ docker rm -f 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 14:55:24 ========================================================= 14:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:55:24 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:25 + 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 . 14:55:25 + docker inspect -f . ci-base-image-x86_64 14:55:25 . [Pipeline] withDockerContainer 14:55:25 prd-centos7-docker-4c-2g-4451 does not seem to be running inside a container 14:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 ******** ci-base-image-x86_64 cat 14:55:25 Sending build context to Docker daemon 590.8kB 14:55:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 14:55:25 Step 2/8 : FROM ${BASE} 14:55:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:55:25 595b0fe564bb: Pulling fs layer 14:55:25 7186ed65a4f7: Pulling fs layer 14:55:25 316046926c0a: Pulling fs layer 14:55:25 4ebd0625c992: Pulling fs layer 14:55:25 207e8628e3a3: Pulling fs layer 14:55:25 c791037a9be2: Pulling fs layer 14:55:25 ffd874e62e21: Pulling fs layer 14:55:25 207e8628e3a3: Waiting 14:55:25 c791037a9be2: Waiting 14:55:25 ffd874e62e21: Waiting 14:55:25 4ebd0625c992: Waiting 14:55:25 316046926c0a: Verifying Checksum 14:55:25 316046926c0a: Download complete 14:55:25 7186ed65a4f7: Verifying Checksum 14:55:25 7186ed65a4f7: Download complete 14:55:25 207e8628e3a3: Verifying Checksum 14:55:25 207e8628e3a3: Download complete 14:55:25 c791037a9be2: Verifying Checksum 14:55:25 c791037a9be2: Download complete 14:55:25 595b0fe564bb: Verifying Checksum 14:55:25 595b0fe564bb: Download complete 14:55:25 $ docker top 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b -eo pid,comm [Pipeline] { [Pipeline] sh 14:55:26 + go mod tidy 14:55:26 595b0fe564bb: Pull complete [Pipeline] sh 14:55:27 7186ed65a4f7: Pull complete 14:55:27 + make test 14:55:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:55:27 316046926c0a: Pull complete 14:55:27 ffd874e62e21: Download complete 14:55:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:55:28 4ebd0625c992: Verifying Checksum 14:55:28 4ebd0625c992: Download complete 14:55:41 4ebd0625c992: Pull complete 14:55:41 207e8628e3a3: Pull complete 14:55:41 c791037a9be2: Pull complete 14:55:43 ffd874e62e21: Pull complete 14:55:43 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 14:55:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:55:43 ---> cfc18b08335c 14:55:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 14:55:46 ---> Running in 1371dd90261c 14:55:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:55:47 Removing intermediate container 1371dd90261c 14:55:47 ---> 2d9ac0d692dd 14:55:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:55:47 ---> Running in 843a6897f40c 14:55:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 14:55:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:55:49 Removing intermediate container 843a6897f40c 14:55:49 ---> d91aaedc92da 14:55:49 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:55:49 ---> Running in b25adbc4ec51 14:55:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:55:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:55:54 (1/13) Installing libc-dev (0.7.2-r3) 14:55:54 (2/13) Installing libsodium (1.0.18-r0) 14:55:54 (3/13) Installing pkgconf (1.7.3-r0) 14:55:54 (4/13) Installing libsodium-dev (1.0.18-r0) 14:55:54 (5/13) Installing openssh-keygen (8.4_p1-r3) 14:55:54 (6/13) Installing libedit (20191231.3.1-r1) 14:55:55 (7/13) Installing openssh-client (8.4_p1-r3) 14:55:55 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 14:55:55 (9/13) Installing openssh-server-common (8.4_p1-r3) 14:55:55 gofmt -l . 14:55:55 [ "`gofmt -l .`" = "" ] 14:55:55 ./bin/test-attribution-txt.sh 14:55:55 (10/13) Installing openssh-server (8.4_p1-r3) 14:55:55 ./bin/test-go-mod-tidy.sh 14:55:56 (11/13) Installing openssh (8.4_p1-r3) [Pipeline] } 14:55:56 $ docker stop --time=1 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b 14:55:56 (12/13) Installing libzmq (4.3.3-r1) 14:55:56 (13/13) Installing zeromq-dev (4.3.3-r1) 14:55:56 Executing busybox-1.32.1-r6.trigger 14:55:56 OK: 145 MiB in 53 packages 14:55:57 $ docker rm -f 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b [Pipeline] // withDockerContainer [Pipeline] sh 14:55:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:58 Removing intermediate container b25adbc4ec51 14:55:58 ---> 9e314a8860f7 14:55:58 Step 6/8 : WORKDIR /device-modbus-go 14:55:58 ---> Running in a1e545596309 14:55:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 14:55:58 Removing intermediate container a1e545596309 14:55:58 ---> 19244e504032 14:55:58 Step 7/8 : COPY . . 14:55:59 ---> 475e1b5d7ac5 14:55:59 Step 8/8 : RUN go mod download 14:55:59 ---> Running in 798d507d123f [Pipeline] sh 14:56:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:56:02 + ls -al . 14:56:02 total 112 14:56:02 drwxrwxr-x. 9 jenkins jenkins 4096 May 11 14:55 . 14:56:02 drwxrwxr-x. 4 jenkins jenkins 30 May 11 14:54 .. 14:56:02 -rw-rw-r--. 1 jenkins jenkins 7707 May 11 14:54 Attribution.txt 14:56:02 drwxrwxr-x. 2 jenkins jenkins 87 May 11 14:54 bin 14:56:02 drwxrwxr-x. 3 jenkins jenkins 32 May 11 14:54 cmd 14:56:02 -rw-r--r--. 1 jenkins jenkins 22385 May 11 14:55 coverage.out 14:56:02 -rw-rw-r--. 1 jenkins jenkins 1457 May 11 14:54 Dockerfile 14:56:02 -rw-rw-r--. 1 jenkins jenkins 995 May 11 14:54 Dockerfile.build 14:56:02 -rw-rw-r--. 1 jenkins jenkins 140 May 11 14:54 .dockerignore 14:56:02 drwxrwxr-x. 8 jenkins jenkins 162 May 11 14:54 .git 14:56:02 drwxrwxr-x. 2 jenkins jenkins 103 May 11 14:54 .github 14:56:02 -rw-rw-r--. 1 jenkins jenkins 338 May 11 14:54 .gitignore 14:56:02 -rw-r--r--. 1 jenkins jenkins 413 May 11 14:55 go.mod 14:56:02 -rw-r--r--. 1 jenkins jenkins 21839 May 11 14:55 go.sum 14:56:02 drwxrwxr-x. 3 jenkins jenkins 20 May 11 14:54 internal 14:56:02 -rw-rw-r--. 1 jenkins jenkins 679 May 11 14:54 Jenkinsfile 14:56:02 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 14:54 LICENSE 14:56:02 -rw-rw-r--. 1 jenkins jenkins 910 May 11 14:54 Makefile 14:56:02 -rw-rw-r--. 1 jenkins jenkins 2897 May 11 14:54 README.md 14:56:02 drwxrwxr-x. 2 jenkins jenkins 52 May 11 14:54 simulator 14:56:02 drwxrwxr-x. 4 jenkins jenkins 71 May 11 14:54 snap 14:56:02 -rw-rw-r--. 1 jenkins jenkins 11 May 11 14:53 VERSION 14:56:02 -rw-rw-r--. 1 jenkins jenkins 229 May 11 14:54 version.go [Pipeline] isUnix [Pipeline] sh 14:56:02 + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=amd64 --label version=1.3.2-dev.7 . 14:56:03 Sending build context to Docker daemon 614.9kB 14:56:03 Step 1/21 : ARG BASE=golang:1.15-alpine3.12 14:56:03 Step 2/21 : FROM ${BASE} AS builder 14:56:03 ---> 9a2aa9d3ba36 14:56:03 Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:56:03 ---> Running in 754468d7dc68 14:56:04 Removing intermediate container 754468d7dc68 14:56:04 ---> 89bafe8c9f09 14:56:04 Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:56:04 ---> Running in 8a0ec7fa1311 14:56:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:56:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:56:07 OK: 156 MiB in 53 packages 14:56:08 Removing intermediate container 8a0ec7fa1311 14:56:08 ---> 47cd128fe4cd 14:56:08 Step 5/21 : WORKDIR /device-modbus-go 14:56:08 ---> Running in 2a80021cfa78 14:56:08 Removing intermediate container 2a80021cfa78 14:56:08 ---> e1afa9f388ca 14:56:08 Step 6/21 : COPY . . 14:56:09 ---> 1af7b5a4c735 14:56:09 Step 7/21 : RUN go mod download 14:56:09 ---> Running in 7c9e82b74125 14:56:11 Removing intermediate container 7c9e82b74125 14:56:11 ---> e411686b3441 14:56:11 Step 8/21 : RUN make build 14:56:11 ---> Running in eac8b4516fe8 14:56:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.7" -o cmd/device-modbus ./cmd 14:56:23 CGO_ENABLED=1 GO111MODULE=on go build ./... 14:56:27 Removing intermediate container 798d507d123f 14:56:27 ---> 91fc7aef7b6e 14:56:27 Successfully built 91fc7aef7b6e 14:56:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:56:27 Removing intermediate container eac8b4516fe8 14:56:27 ---> 211a138f08b3 14:56:27 Step 9/21 : FROM alpine:3.12 14:56:27 3.12: Pulling from library/alpine 14:56:27 339de151aab4: Pulling fs layer 14:56:28 + docker inspect -f . ci-base-image-arm64 14:56:28 . [Pipeline] withDockerContainer 14:56:28 prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container 14:56:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 ******** ci-base-image-arm64 cat 14:56:28 339de151aab4: Verifying Checksum 14:56:28 339de151aab4: Download complete 14:56:28 339de151aab4: Pull complete 14:56:29 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:56:29 Status: Downloaded newer image for alpine:3.12 14:56:29 ---> 13621d1b12d4 14:56:29 Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:56:29 ---> Running in fa296d84f135 14:56:29 Removing intermediate container fa296d84f135 14:56:29 ---> 4320ddfc1f8c 14:56:29 Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:56:29 ---> Running in 62e799ec2624 14:56:30 $ docker top b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:30 Removing intermediate container 62e799ec2624 14:56:30 ---> ca7238298474 14:56:30 Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init 14:56:31 ---> Running in 829782a3e818 14:56:31 + go version 14:56:31 go version go1.16.3 linux/arm64 [Pipeline] } 14:56:31 $ docker stop --time=1 b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba 14:56:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:56:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:56:33 $ docker rm -f b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:56:33 + docker inspect -f . ci-base-image-arm64 14:56:33 . [Pipeline] withDockerContainer 14:56:34 (1/6) Installing dumb-init (1.2.2-r1) 14:56:34 (2/6) Installing libgcc (9.3.0-r2) 14:56:34 (3/6) Installing libsodium (1.0.18-r0) 14:56:34 prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container 14:56:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 ******** ci-base-image-arm64 cat 14:56:34 (4/6) Installing libstdc++ (9.3.0-r2) 14:56:35 $ docker top 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:36 (5/6) Installing libzmq (4.3.3-r0) 14:56:36 (6/6) Installing zeromq (4.3.3-r0) 14:56:36 Executing busybox-1.31.1-r20.trigger 14:56:36 OK: 8 MiB in 20 packages 14:56:36 + go mod tidy 14:56:36 Removing intermediate container 829782a3e818 14:56:36 ---> c38cefb2ffbf 14:56:36 Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] sh 14:56:37 ---> 587f538a9dc5 14:56:37 Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / 14:56:37 ---> 511001f7de02 14:56:37 Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:56:37 ---> f1040e319b1d 14:56:37 Step 16/21 : EXPOSE 49991 14:56:37 + make test 14:56:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:56:38 ---> Running in 6db4be8b596d 14:56:38 Removing intermediate container 6db4be8b596d 14:56:38 ---> 89a276e230a0 14:56:38 Step 17/21 : ENTRYPOINT ["/device-modbus"] 14:56:38 ---> Running in 85113bbe9a1f 14:56:38 Removing intermediate container 85113bbe9a1f 14:56:38 ---> cdbd446d7147 14:56:38 Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:56:38 ---> Running in f94cd95ff15f 14:56:38 Removing intermediate container f94cd95ff15f 14:56:38 ---> e0eab65bc223 14:56:38 Step 19/21 : LABEL arch=amd64 14:56:38 ---> Running in 32d9633da332 14:56:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:56:39 Removing intermediate container 32d9633da332 14:56:39 ---> 385b6588e865 14:56:39 Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a 14:56:39 ---> Running in 81369b059bce 14:56:39 Removing intermediate container 81369b059bce 14:56:39 ---> 8bf8b88912a8 14:56:39 Step 21/21 : LABEL version=1.3.2-dev.7 14:56:39 ---> Running in 3804f0872214 14:56:39 Removing intermediate container 3804f0872214 14:56:39 ---> fb8ec81f9f01 14:56:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:56:39 Successfully built fb8ec81f9f01 14:56:39 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:56:39 provisioning config files... 14:56:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config8606493884409236802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:40 ---> docker-login.sh 14:56:40 nexus3.edgexfoundry.org:10001 14:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:40 Configure a credential helper to remove this warning. See 14:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:40 14:56:40 Login Succeeded 14:56:40 nexus3.edgexfoundry.org:10002 14:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:40 Configure a credential helper to remove this warning. See 14:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:40 14:56:40 Login Succeeded 14:56:40 nexus3.edgexfoundry.org:10003 14:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:40 Configure a credential helper to remove this warning. See 14:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:40 14:56:40 Login Succeeded 14:56:40 nexus3.edgexfoundry.org:10004 14:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:41 Configure a credential helper to remove this warning. See 14:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:41 14:56:41 Login Succeeded 14:56:41 docker.io 14:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:41 Configure a credential helper to remove this warning. See 14:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:41 14:56:41 Login Succeeded 14:56:41 ---> docker-login.sh ends [Pipeline] } 14:56:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:56:41 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 14:56:41 90bd167c5e008ca72793a95020c1bd222277a38a 14:56:41 latest 14:56:41 1.3.2-dev.7 14:56:41 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:56:41 master 14:56:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:56:42 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh 14:56:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a 14:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 14:56:42 76f7941b692f: Preparing 14:56:42 b22986dc3a64: Preparing 14:56:42 cccac073e5cc: Preparing 14:56:42 265417a74018: Preparing 14:56:42 9a1fe7003dbb: Preparing 14:56:42 32f366d666a5: Preparing 14:56:42 32f366d666a5: Waiting 14:56:42 9a1fe7003dbb: Pushed 14:56:42 76f7941b692f: Pushed 14:56:42 b22986dc3a64: Pushed 14:56:42 32f366d666a5: Layer already exists 14:56:42 265417a74018: Pushed 14:56:43 cccac073e5cc: Pushed 14:56:43 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh 14:56:44 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 14:56:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 14:56:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 14:56:44 76f7941b692f: Preparing 14:56:44 b22986dc3a64: Preparing 14:56:44 cccac073e5cc: Preparing 14:56:44 265417a74018: Preparing 14:56:44 9a1fe7003dbb: Preparing 14:56:44 32f366d666a5: Preparing 14:56:44 32f366d666a5: Waiting 14:56:44 265417a74018: Layer already exists 14:56:44 76f7941b692f: Layer already exists 14:56:44 b22986dc3a64: Layer already exists 14:56:44 cccac073e5cc: Layer already exists 14:56:44 9a1fe7003dbb: Layer already exists 14:56:44 32f366d666a5: Layer already exists 14:56:45 latest: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh 14:56:45 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 14:56:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 14:56:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 14:56:45 76f7941b692f: Preparing 14:56:45 b22986dc3a64: Preparing 14:56:45 cccac073e5cc: Preparing 14:56:45 265417a74018: Preparing 14:56:45 9a1fe7003dbb: Preparing 14:56:45 32f366d666a5: Preparing 14:56:45 32f366d666a5: Waiting 14:56:45 76f7941b692f: Layer already exists 14:56:45 9a1fe7003dbb: Layer already exists 14:56:45 265417a74018: Layer already exists 14:56:45 b22986dc3a64: Layer already exists 14:56:45 cccac073e5cc: Layer already exists 14:56:45 32f366d666a5: Layer already exists 14:56:45 1.3.2-dev.7: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh 14:56:45 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 14:56:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:56:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 14:56:46 76f7941b692f: Preparing 14:56:46 b22986dc3a64: Preparing 14:56:46 cccac073e5cc: Preparing 14:56:46 265417a74018: Preparing 14:56:46 9a1fe7003dbb: Preparing 14:56:46 32f366d666a5: Preparing 14:56:46 32f366d666a5: Waiting 14:56:46 76f7941b692f: Layer already exists 14:56:46 cccac073e5cc: Layer already exists 14:56:46 9a1fe7003dbb: Layer already exists 14:56:46 b22986dc3a64: Layer already exists 14:56:46 265417a74018: Layer already exists 14:56:46 32f366d666a5: Layer already exists 14:56:46 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh 14:56:46 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 14:56:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 14:56:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 14:56:46 76f7941b692f: Preparing 14:56:46 b22986dc3a64: Preparing 14:56:46 cccac073e5cc: Preparing 14:56:46 265417a74018: Preparing 14:56:46 9a1fe7003dbb: Preparing 14:56:46 32f366d666a5: Preparing 14:56:46 32f366d666a5: Waiting 14:56:46 b22986dc3a64: Layer already exists 14:56:46 cccac073e5cc: Layer already exists 14:56:46 9a1fe7003dbb: Layer already exists 14:56:46 265417a74018: Layer already exists 14:56:46 76f7941b692f: Layer already exists 14:56:46 32f366d666a5: Layer already exists 14:56:46 master: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:56:47 ===================================================== [Pipeline] echo 14:56:47 taggedImages: 14:56:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a 14:56:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 14:56:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 14:56:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:56:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 14:56:47 ---> job-cost.sh 14:56:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kcCP 14:57:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:57:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:57:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.036s coverage: 47.7% of statements 14:57:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:57:38 lf-activate-venv(): INFO: Adding /tmp/venv-kcCP/bin to PATH 14:57:38 INFO: No Stack... 14:57:38 INFO: Retrieving Pricing Info for: v1-standard-2 14:57:38 INFO: Archiving Costs [Pipeline] sh 14:57:38 + cat /w/workspace/device-modbus-go/45/archives/cost.csv 14:57:38 + cut -d, -f6 [Pipeline] lock 14:57:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] 14:57:38 Resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] did not exist. Created. 14:57:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:57:38 + echo total: 0.029999999329447746 [Pipeline] stash 14:57:39 Stashed 1 file(s) [Pipeline] } 14:57:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:57:57 gofmt -l . 14:57:57 [ "`gofmt -l .`" = "" ] 14:57:57 ./bin/test-attribution-txt.sh 14:57:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 14:57:57 $ docker stop --time=1 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 14:58:01 $ docker rm -f 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 [Pipeline] // withDockerContainer [Pipeline] sh 14:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:58:01 Warning: overwriting stash ‘coverage-report’ 14:58:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:58:03 + ls -al . 14:58:03 total 144 14:58:03 drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:57 . 14:58:03 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:55 .. 14:58:03 -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:55 .dockerignore 14:58:03 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:55 .git 14:58:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 .github 14:58:03 -rw-rw-r-- 1 jenkins jenkins 338 May 11 14:55 .gitignore 14:58:03 -rw-rw-r-- 1 jenkins jenkins 7707 May 11 14:55 Attribution.txt 14:58:03 -rw-rw-r-- 1 jenkins jenkins 1457 May 11 14:55 Dockerfile 14:58:03 -rw-rw-r-- 1 jenkins jenkins 995 May 11 14:55 Dockerfile.build 14:58:03 -rw-rw-r-- 1 jenkins jenkins 679 May 11 14:55 Jenkinsfile 14:58:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:55 LICENSE 14:58:03 -rw-rw-r-- 1 jenkins jenkins 910 May 11 14:55 Makefile 14:58:03 -rw-rw-r-- 1 jenkins jenkins 2897 May 11 14:55 README.md 14:58:03 -rw-rw-r-- 1 jenkins jenkins 11 May 11 14:53 VERSION 14:58:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 bin 14:58:03 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:55 cmd 14:58:03 -rw-r--r-- 1 jenkins jenkins 22385 May 11 14:57 coverage.out 14:58:03 -rw-r--r-- 1 jenkins jenkins 413 May 11 14:57 go.mod 14:58:03 -rw-r--r-- 1 jenkins jenkins 21839 May 11 14:56 go.sum 14:58:03 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:55 internal 14:58:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 simulator 14:58:03 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:55 snap 14:58:03 -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:55 version.go [Pipeline] isUnix [Pipeline] sh 14:58:04 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=arm64 --label version=1.3.2-dev.7 . 14:58:04 Sending build context to Docker daemon 613.9kB 14:58:04 Step 1/21 : ARG BASE=golang:1.15-alpine3.12 14:58:04 Step 2/21 : FROM ${BASE} AS builder 14:58:04 ---> 91fc7aef7b6e 14:58:04 Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:58:04 ---> Running in 68aa4d587edd 14:58:06 Removing intermediate container 68aa4d587edd 14:58:06 ---> b959be30536c 14:58:06 Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:58:07 ---> Running in 04b2cf5ef8c5 14:58:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:58:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:58:11 OK: 145 MiB in 53 packages 14:58:12 Removing intermediate container 04b2cf5ef8c5 14:58:12 ---> f121ec244609 14:58:12 Step 5/21 : WORKDIR /device-modbus-go 14:58:12 ---> Running in 72b8870d2403 14:58:12 Removing intermediate container 72b8870d2403 14:58:12 ---> 3e3398185aac 14:58:12 Step 6/21 : COPY . . 14:58:13 ---> 608dcf6e9059 14:58:13 Step 7/21 : RUN go mod download 14:58:13 ---> Running in aad24fcb4c76 14:58:16 Removing intermediate container aad24fcb4c76 14:58:16 ---> f3bf9ef23dec 14:58:16 Step 8/21 : RUN make build 14:58:16 ---> Running in 931eb7977320 14:58:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.7" -o cmd/device-modbus ./cmd 14:58:49 CGO_ENABLED=1 GO111MODULE=on go build ./... 14:59:00 Removing intermediate container 931eb7977320 14:59:00 ---> 0a1ed771ad56 14:59:00 Step 9/21 : FROM alpine:3.12 14:59:00 3.12: Pulling from library/alpine 14:59:00 d2f70382dc9a: Pulling fs layer 14:59:00 d2f70382dc9a: Download complete 14:59:00 d2f70382dc9a: Pull complete 14:59:00 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:59:00 Status: Downloaded newer image for alpine:3.12 14:59:00 ---> 9852663dfa18 14:59:00 Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:59:00 ---> Running in 31641784763c 14:59:00 Removing intermediate container 31641784763c 14:59:00 ---> a64533dc8be5 14:59:00 Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:59:00 ---> Running in eed94a461ead 14:59:02 Removing intermediate container eed94a461ead 14:59:02 ---> 3df9cb24da0c 14:59:02 Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init 14:59:03 ---> Running in 04aa8c9c24bc 14:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:59:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:59:08 (1/6) Installing dumb-init (1.2.2-r1) 14:59:08 (2/6) Installing libgcc (9.3.0-r2) 14:59:08 (3/6) Installing libsodium (1.0.18-r0) 14:59:08 (4/6) Installing libstdc++ (9.3.0-r2) 14:59:09 (5/6) Installing libzmq (4.3.3-r0) 14:59:09 (6/6) Installing zeromq (4.3.3-r0) 14:59:09 Executing busybox-1.31.1-r20.trigger 14:59:09 OK: 8 MiB in 20 packages 14:59:11 Removing intermediate container 04aa8c9c24bc 14:59:11 ---> 46012c403af9 14:59:11 Step 13/21 : COPY --from=builder /device-modbus-go/cmd / 14:59:12 ---> 858261b38578 14:59:12 Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / 14:59:13 ---> f495d3fb6376 14:59:13 Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:59:13 ---> 19bc41b78595 14:59:13 Step 16/21 : EXPOSE 49991 14:59:13 ---> Running in 5eb6d87dd4e8 14:59:14 Removing intermediate container 5eb6d87dd4e8 14:59:14 ---> 66e9a4801813 14:59:14 Step 17/21 : ENTRYPOINT ["/device-modbus"] 14:59:14 ---> Running in aabefd27fc9b 14:59:15 Removing intermediate container aabefd27fc9b 14:59:15 ---> bb8a60f6da3b 14:59:15 Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:59:15 ---> Running in f4f6c63f4a21 14:59:15 Removing intermediate container f4f6c63f4a21 14:59:15 ---> c7feea3604db 14:59:15 Step 19/21 : LABEL arch=arm64 14:59:15 ---> Running in 156b6574bc1e 14:59:16 Removing intermediate container 156b6574bc1e 14:59:16 ---> 251d55503a78 14:59:16 Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a 14:59:16 ---> Running in 57333a193437 14:59:16 Removing intermediate container 57333a193437 14:59:16 ---> 51328c49a136 14:59:16 Step 21/21 : LABEL version=1.3.2-dev.7 14:59:17 ---> Running in 7194d84226d8 14:59:17 Removing intermediate container 7194d84226d8 14:59:17 ---> 74a1fa7dfc34 14:59:17 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:59:17 Successfully built 74a1fa7dfc34 14:59:17 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:59:17 provisioning config files... 14:59:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config2657996582519652692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:18 ---> docker-login.sh 14:59:18 nexus3.edgexfoundry.org:10001 14:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:18 Configure a credential helper to remove this warning. See 14:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:18 14:59:18 Login Succeeded 14:59:18 nexus3.edgexfoundry.org:10002 14:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:19 Configure a credential helper to remove this warning. See 14:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:19 14:59:19 Login Succeeded 14:59:19 nexus3.edgexfoundry.org:10003 14:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:20 Configure a credential helper to remove this warning. See 14:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:20 14:59:20 Login Succeeded 14:59:20 nexus3.edgexfoundry.org:10004 14:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:20 Configure a credential helper to remove this warning. See 14:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:20 14:59:20 Login Succeeded 14:59:20 docker.io 14:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:21 Configure a credential helper to remove this warning. See 14:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:21 14:59:21 Login Succeeded 14:59:21 ---> docker-login.sh ends [Pipeline] } 14:59:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:59:21 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 14:59:21 90bd167c5e008ca72793a95020c1bd222277a38a 14:59:21 latest 14:59:21 1.3.2-dev.7 14:59:21 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:59:21 master 14:59:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:59:21 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh 14:59:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a 14:59:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 14:59:22 9381df8ef59a: Preparing 14:59:22 49f57bf08934: Preparing 14:59:22 5f122fa745a4: Preparing 14:59:22 798d629b6d6c: Preparing 14:59:22 fcf760d743e6: Preparing 14:59:22 3fbe34a1663b: Preparing 14:59:22 3fbe34a1663b: Waiting 14:59:22 fcf760d743e6: Pushed 14:59:22 9381df8ef59a: Pushed 14:59:22 49f57bf08934: Pushed 14:59:22 3fbe34a1663b: Layer already exists 14:59:23 798d629b6d6c: Pushed 14:59:25 5f122fa745a4: Pushed 14:59:25 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh 14:59:26 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:59:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 14:59:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 14:59:26 9381df8ef59a: Preparing 14:59:26 49f57bf08934: Preparing 14:59:26 5f122fa745a4: Preparing 14:59:26 798d629b6d6c: Preparing 14:59:26 fcf760d743e6: Preparing 14:59:26 3fbe34a1663b: Preparing 14:59:26 3fbe34a1663b: Waiting 14:59:26 49f57bf08934: Layer already exists 14:59:26 798d629b6d6c: Layer already exists 14:59:26 9381df8ef59a: Layer already exists 14:59:26 5f122fa745a4: Layer already exists 14:59:26 fcf760d743e6: Layer already exists 14:59:26 3fbe34a1663b: Layer already exists 14:59:26 latest: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh 14:59:27 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 14:59:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 14:59:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 14:59:27 9381df8ef59a: Preparing 14:59:27 49f57bf08934: Preparing 14:59:27 5f122fa745a4: Preparing 14:59:27 798d629b6d6c: Preparing 14:59:27 fcf760d743e6: Preparing 14:59:27 3fbe34a1663b: Preparing 14:59:27 3fbe34a1663b: Waiting 14:59:27 798d629b6d6c: Layer already exists 14:59:27 fcf760d743e6: Layer already exists 14:59:27 9381df8ef59a: Layer already exists 14:59:27 49f57bf08934: Layer already exists 14:59:27 5f122fa745a4: Layer already exists 14:59:27 3fbe34a1663b: Layer already exists 14:59:27 1.3.2-dev.7: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh 14:59:28 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 14:59:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:59:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 14:59:28 9381df8ef59a: Preparing 14:59:28 49f57bf08934: Preparing 14:59:28 5f122fa745a4: Preparing 14:59:28 798d629b6d6c: Preparing 14:59:28 fcf760d743e6: Preparing 14:59:28 3fbe34a1663b: Preparing 14:59:28 3fbe34a1663b: Waiting 14:59:28 5f122fa745a4: Layer already exists 14:59:28 fcf760d743e6: Layer already exists 14:59:28 798d629b6d6c: Layer already exists 14:59:28 49f57bf08934: Layer already exists 14:59:28 9381df8ef59a: Layer already exists 14:59:28 3fbe34a1663b: Layer already exists 14:59:28 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh 14:59:29 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 14:59:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 14:59:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 14:59:29 9381df8ef59a: Preparing 14:59:29 49f57bf08934: Preparing 14:59:29 5f122fa745a4: Preparing 14:59:29 798d629b6d6c: Preparing 14:59:29 fcf760d743e6: Preparing 14:59:29 3fbe34a1663b: Preparing 14:59:29 3fbe34a1663b: Waiting 14:59:29 5f122fa745a4: Layer already exists 14:59:29 798d629b6d6c: Layer already exists 14:59:29 49f57bf08934: Layer already exists 14:59:29 9381df8ef59a: Layer already exists 14:59:29 fcf760d743e6: Layer already exists 14:59:29 3fbe34a1663b: Layer already exists 14:59:29 master: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:59:29 ===================================================== [Pipeline] echo 14:59:29 taggedImages: 14:59:29 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a 14:59:29 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 14:59:29 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 14:59:29 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 14:59:29 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 14:59:30 ---> job-cost.sh 14:59:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n3vw 15:00:17 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:01:38 lf-activate-venv(): INFO: Adding /tmp/venv-n3vw/bin to PATH 15:01:38 INFO: No Stack... 15:01:38 INFO: Retrieving Pricing Info for: lf-standard-4 15:01:39 INFO: Archiving Costs [Pipeline] sh 15:01:39 + + cutcat -d, /w/workspace/device-modbus-go/45/archives/cost.csv -f6 15:01:39 [Pipeline] lock 15:01:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] 15:01:39 Resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] did not exist. Created. 15:01:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:01:40 /w/workspace/device-modbus-go/45@tmp/durable-e9f126b7/script.sh: 1: /w/workspace/device-modbus-go/45@tmp/durable-e9f126b7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:01:40 + echo total: 0.20999999344348907 [Pipeline] stash 15:01:40 Warning: overwriting stash ‘stack-cost’ 15:01:40 Stashed 1 file(s) [Pipeline] } 15:01:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-45-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] wrap 15:01:41 provisioning config files... 15:01:41 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6440998859368540420tmp [Pipeline] { [Pipeline] sh 15:01:41 + set +x 15:01:41 + curl -s https://codecov.io/bash 15:01:41 + bash -s -- 15:01:41 15:01:41 _____ _ 15:01:41 / ____| | | 15:01:41 | | ___ __| | ___ ___ _____ __ 15:01:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:01:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:01:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:01:41 Bash-1.0.2 15:01:41 15:01:41 15:01:41 ==> git version 2.24.3 found 15:01:41 ==> 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 15:01:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:01:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:01:41 ==> Jenkins CI detected. 15:01:41 project root: . 15:01:41 --> token set from env 15:01:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:01:42 ==> Running gcov in . (disable via -X gcov) 15:01:42 ==> Python coveragepy not found 15:01:42 ==> Searching for coverage reports in: 15:01:42 + . 15:01:42 -> Found 1 reports 15:01:42 ==> Detecting git/mercurial file structure 15:01:42 ==> Reading reports 15:01:42 + ./coverage.out bytes=22385 15:01:42 ==> Appending adjustments 15:01:42 https://docs.codecov.io/docs/fixing-reports 15:01:42 + Found adjustments 15:01:42 ==> Gzipping contents 15:01:42 4.0K /tmp/codecov.0z3E3s.gz 15:01:42 ==> Uploading reports 15:01:42 url: https://codecov.io 15:01:42 query: branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:01:42 -> Pinging Codecov 15:01:42 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:01:42 -> Uploading to 15:01:42 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/55DBCA73C666E3227836607328DD7E49/90bd167c5e008ca72793a95020c1bd222277a38a/a51b09ef-6d1c-4bf9-b1fa-0db84848b02d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T150142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7445f7498b77d1a4ccaf5300f74760a5a3efdc584abcee3d83cdbec2db222b2 15:01:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:01:42 Dload Upload Total Spent Left Speed 15:01:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 8153 --:--:-- --:--:-- --:--:-- 8167 15:01:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] } 15:01:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:01:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:01:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:01:44 15:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:01:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:01:44 188c0c94c7c5: Pulling fs layer 15:01:44 0ef7d3d256c8: Pulling fs layer 15:01:44 de9db76c5a1d: Pulling fs layer 15:01:44 0eba1c9be4d2: Pulling fs layer 15:01:44 0d57e429df01: Pulling fs layer 15:01:44 4e4be7b47b0d: Pulling fs layer 15:01:44 e1f770b5df2f: Pulling fs layer 15:01:44 85a0685a4137: Pulling fs layer 15:01:44 0d57e429df01: Waiting 15:01:44 4e4be7b47b0d: Waiting 15:01:44 e1f770b5df2f: Waiting 15:01:44 85a0685a4137: Waiting 15:01:44 0eba1c9be4d2: Waiting 15:01:44 de9db76c5a1d: Verifying Checksum 15:01:44 de9db76c5a1d: Download complete 15:01:44 0ef7d3d256c8: Download complete 15:01:44 0d57e429df01: Verifying Checksum 15:01:44 0d57e429df01: Download complete 15:01:44 4e4be7b47b0d: Verifying Checksum 15:01:44 4e4be7b47b0d: Download complete 15:01:44 188c0c94c7c5: Verifying Checksum 15:01:44 188c0c94c7c5: Download complete 15:01:45 188c0c94c7c5: Pull complete 15:01:45 0ef7d3d256c8: Pull complete 15:01:45 de9db76c5a1d: Pull complete 15:01:46 e1f770b5df2f: Verifying Checksum 15:01:46 e1f770b5df2f: Download complete 15:01:48 85a0685a4137: Verifying Checksum 15:01:48 85a0685a4137: Download complete 15:01:48 0eba1c9be4d2: Verifying Checksum 15:01:48 0eba1c9be4d2: Download complete 15:01:54 0eba1c9be4d2: Pull complete 15:01:54 0d57e429df01: Pull complete 15:01:54 4e4be7b47b0d: Pull complete 15:01:56 e1f770b5df2f: Pull complete 15:02:04 85a0685a4137: Pull complete 15:02:04 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:02:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:02:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:02:04 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:02:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:02:05 $ docker top 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c -eo pid,comm [Pipeline] { [Pipeline] echo 15:02:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:02:05 + set -o pipefail 15:02:05 + snyk monitor '--org=edgex-jenkins' 15:02:20 15:02:20 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 15:02:20 15:02:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/4d81b639-18cc-4419-8402-0baa0907beeb 15:02:20 15:02:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:02:20 15:02:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:02:20 15:02:20 [Pipeline] } 15:02:20 $ docker stop --time=1 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c 15:02:23 $ docker rm -f 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c [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 15:02:24 + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh 15:02:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:02:24 . [Pipeline] withDockerContainer 15:02:24 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:02:24 $ 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 15:02:25 $ docker top c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:02:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:25 [ssh-agent] Looking for ssh-agent implementation... 15:02:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:25 $ docker exec c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 ssh-agent 15:02:26 SSH_AUTH_SOCK=/tmp/ssh-Ef7IBm98QWbC/agent.12 15:02:26 SSH_AGENT_PID=17 15:02:26 Running ssh-add (command line suppressed) 15:02:26 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1492803307659271360.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1492803307659271360.key) 15:02:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:26 + git semver tag 15:02:26 # -> Open(): unable to determine branch for HEAD 15:02:26 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 15:02:26 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 15:02:26 # $SEMVER_REMOTE_NAME = origin 15:02:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:02:26 # $SEMVER_USER_NAME = edgex-jenkins 15:02:26 # $SEMVER_BRANCH = master 15:02:26 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 15:02:26 # 90bd167c5e008ca72793a95020c1bd222277a38a HEAD 15:02:26 # -> Force: false 15:02:26 # 6c75d8fabb77c03d293a64bdada447ae66d3cea2 refs/tags/v1.3.2-dev.7 [Pipeline] } 15:02:26 $ docker exec --env ******** --env ******** c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 ssh-agent -k 15:02:27 unset SSH_AUTH_SOCK; 15:02:27 unset SSH_AGENT_PID; 15:02:27 echo Agent pid 17 killed; 15:02:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:02:27 + git semver [Pipeline] } 15:02:27 $ docker stop --time=1 c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 15:02:28 $ docker rm -f c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:29 15:02:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:29 0.23.1-centos7: Pulling from edgex-lftools 15:02:29 ab5ef0e58194: Pulling fs layer 15:02:29 9712f1f96733: Pulling fs layer 15:02:29 63f879dbbcfc: Pulling fs layer 15:02:29 0d9ebad4ef96: Pulling fs layer 15:02:29 e9a5061849ea: Pulling fs layer 15:02:29 d747dcd14b5f: Pulling fs layer 15:02:29 2de7ff778b66: Pulling fs layer 15:02:29 e9a5061849ea: Waiting 15:02:29 d747dcd14b5f: Waiting 15:02:29 2de7ff778b66: Waiting 15:02:29 0d9ebad4ef96: Waiting 15:02:29 9712f1f96733: Verifying Checksum 15:02:29 9712f1f96733: Download complete 15:02:32 63f879dbbcfc: Verifying Checksum 15:02:32 63f879dbbcfc: Download complete 15:02:32 e9a5061849ea: Verifying Checksum 15:02:32 e9a5061849ea: Download complete 15:02:32 d747dcd14b5f: Verifying Checksum 15:02:32 d747dcd14b5f: Download complete 15:02:33 2de7ff778b66: Verifying Checksum 15:02:33 2de7ff778b66: Download complete 15:02:33 ab5ef0e58194: Download complete 15:02:33 0d9ebad4ef96: Verifying Checksum 15:02:33 0d9ebad4ef96: Download complete 15:02:37 ab5ef0e58194: Pull complete 15:02:38 9712f1f96733: Pull complete 15:02:41 63f879dbbcfc: Pull complete 15:02:48 0d9ebad4ef96: Pull complete 15:02:51 e9a5061849ea: Pull complete 15:02:51 d747dcd14b5f: Pull complete 15:02:52 2de7ff778b66: Pull complete 15:02:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:02:53 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:02:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:02:57 $ docker top 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:02:58 provisioning config files... 15:02:58 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config548752006418780729tmp 15:02:58 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7743968797195292239tmp 15:02:58 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6937405996608546203tmp [Pipeline] { [Pipeline] echo 15:02:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:02:58 ---> sigul-configuration.sh 15:02:58 gpg: directory `/root/.gnupg' created 15:02:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:02:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:02:58 gpg: keyring `/root/.gnupg/secring.gpg' created 15:02:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:02:58 gpg: CAST5 encrypted data 15:02:58 gpg: encrypted with 1 passphrase 15:02:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:02:58 + mkdir /home/jenkins 15:02:58 + mkdir /home/jenkins/sigul [Pipeline] sh 15:02:59 + 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 15:02:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:02:59 ---> sigul-install.sh 15:03:06 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:03:06 + git tag --list 15:03:06 0.7.1 15:03:06 v1.0.0 15:03:06 v1.1.0 15:03:06 v1.1.1 15:03:06 v1.2.2 15:03:06 v1.3.0 15:03:06 v1.3.1 15:03:06 v1.3.1-dev.1 15:03:06 v1.3.1-dev.2 15:03:06 v1.3.1-dev.3 15:03:06 v1.3.1-dev.4 15:03:06 v1.3.1-dev.5 15:03:06 v1.3.1-dev.6 15:03:06 v1.3.1-dev.7 15:03:06 v1.3.1-dev.8 15:03:06 v1.3.2-dev.1 15:03:06 v1.3.2-dev.2 15:03:06 v1.3.2-dev.3 15:03:06 v1.3.2-dev.4 15:03:06 v1.3.2-dev.5 15:03:06 v1.3.2-dev.6 15:03:06 v1.3.2-dev.7 [Pipeline] sh 15:03:06 + lftools sign git-tag v1.3.2-dev.7 15:03:08 Signing Git tag with Sigul... 15:03:08 Signing v1.3.2-dev.7 [Pipeline] echo 15:03:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:03:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:03:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:03:09 $ docker stop --time=1 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 15:03:11 $ docker rm -f 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:03:11 . [Pipeline] withDockerContainer 15:03:12 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:03:12 $ 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 15:03:12 $ docker top 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:12 [ssh-agent] Looking for ssh-agent implementation... 15:03:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:13 $ docker exec 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 ssh-agent 15:03:13 SSH_AUTH_SOCK=/tmp/ssh-M4E9vxbcfqTz/agent.13 15:03:13 SSH_AGENT_PID=18 15:03:13 Running ssh-add (command line suppressed) 15:03:13 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4069431645814307096.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4069431645814307096.key) 15:03:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:13 + git semver bump pre 15:03:13 # -> Open(): unable to determine branch for HEAD 15:03:13 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 15:03:13 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 15:03:13 # $SEMVER_REMOTE_NAME = origin 15:03:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:03:13 # $SEMVER_USER_NAME = edgex-jenkins 15:03:13 # $SEMVER_BRANCH = master 15:03:13 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 15:03:13 1.3.2-dev.8 [Pipeline] } 15:03:13 $ docker exec --env ******** --env ******** 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 ssh-agent -k 15:03:14 unset SSH_AUTH_SOCK; 15:03:14 unset SSH_AGENT_PID; 15:03:14 echo Agent pid 18 killed; 15:03:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:14 + git semver [Pipeline] } 15:03:14 $ docker stop --time=1 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 15:03:15 $ docker rm -f 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:03:16 . [Pipeline] withDockerContainer 15:03:16 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:03:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:03:16 $ docker top b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:17 [ssh-agent] Looking for ssh-agent implementation... 15:03:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:17 $ docker exec b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 ssh-agent 15:03:17 SSH_AUTH_SOCK=/tmp/ssh-XoYCFVaBiat5/agent.11 15:03:17 SSH_AGENT_PID=16 15:03:17 Running ssh-add (command line suppressed) 15:03:17 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3379399402983224585.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3379399402983224585.key) 15:03:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:17 + git semver push 15:03:17 # -> Open(): unable to determine branch for HEAD 15:03:17 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 15:03:17 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 15:03:17 # $SEMVER_REMOTE_NAME = origin 15:03:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:03:17 # $SEMVER_USER_NAME = edgex-jenkins 15:03:17 # $SEMVER_BRANCH = master 15:03:17 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 15:03:22 $ docker exec --env ******** --env ******** b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 ssh-agent -k 15:03:22 unset SSH_AUTH_SOCK; 15:03:22 unset SSH_AGENT_PID; 15:03:22 echo Agent pid 16 killed; 15:03:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:22 + git semver [Pipeline] } 15:03:22 $ docker stop --time=1 b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 15:03:24 $ docker rm -f b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 [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 15:03:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:03:25 ---> package-listing.sh 15:03:25 ++ facter osfamily 15:03:25 ++ tr '[:upper:]' '[:lower:]' 15:03:25 + OS_FAMILY=redhat 15:03:25 + workspace=/w/workspace/xfoundry_device-modbus-go_master 15:03:25 + START_PACKAGES=/tmp/packages_start.txt 15:03:25 + END_PACKAGES=/tmp/packages_end.txt 15:03:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:03:25 + PACKAGES=/tmp/packages_start.txt 15:03:25 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 15:03:25 + PACKAGES=/tmp/packages_end.txt 15:03:25 + case "${OS_FAMILY}" in 15:03:25 + rpm -qa 15:03:25 + sort 15:03:30 + '[' -f /tmp/packages_start.txt ']' 15:03:30 + '[' -f /tmp/packages_end.txt ']' 15:03:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:03:30 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 15:03:30 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 15:03:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 15:03:30 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 15:03:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:03:31 15:03:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:03:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:03:31 alpine: Pulling from edgex-lftools-log-publisher 15:03:31 df20fa9351a1: Pulling fs layer 15:03:31 36b3adc4ff6f: Pulling fs layer 15:03:31 8ad3a11d3b57: Pulling fs layer 15:03:31 46f8f816bc3b: Pulling fs layer 15:03:31 93b61091891f: Pulling fs layer 15:03:31 93b9cdb0e59b: Pulling fs layer 15:03:31 5e14af77c1be: Pulling fs layer 15:03:31 01666e4c0597: Pulling fs layer 15:03:31 aa168da1d23b: Pulling fs layer 15:03:31 46f8f816bc3b: Waiting 15:03:31 93b61091891f: Waiting 15:03:31 93b9cdb0e59b: Waiting 15:03:31 5e14af77c1be: Waiting 15:03:31 01666e4c0597: Waiting 15:03:31 aa168da1d23b: Waiting 15:03:31 36b3adc4ff6f: Verifying Checksum 15:03:31 36b3adc4ff6f: Download complete 15:03:31 46f8f816bc3b: Verifying Checksum 15:03:31 46f8f816bc3b: Download complete 15:03:31 df20fa9351a1: Verifying Checksum 15:03:31 df20fa9351a1: Download complete 15:03:31 93b9cdb0e59b: Verifying Checksum 15:03:31 93b9cdb0e59b: Download complete 15:03:31 93b61091891f: Download complete 15:03:31 5e14af77c1be: Verifying Checksum 15:03:31 5e14af77c1be: Download complete 15:03:31 01666e4c0597: Verifying Checksum 15:03:31 01666e4c0597: Download complete 15:03:31 8ad3a11d3b57: Verifying Checksum 15:03:31 8ad3a11d3b57: Download complete 15:03:32 df20fa9351a1: Pull complete 15:03:32 36b3adc4ff6f: Pull complete 15:03:34 8ad3a11d3b57: Pull complete 15:03:34 aa168da1d23b: Verifying Checksum 15:03:34 aa168da1d23b: Download complete 15:03:34 46f8f816bc3b: Pull complete 15:03:35 93b61091891f: Pull complete 15:03:35 93b9cdb0e59b: Pull complete 15:03:35 5e14af77c1be: Pull complete 15:03:35 01666e4c0597: Pull complete 15:03:42 aa168da1d23b: Pull complete 15:03:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:03:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:03:42 prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container 15:03:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:03:45 $ docker top d33d0ec32d6e90dec65791242c62f8e26b7081606d43f0f200849c92df5bd748 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:45 + touch /tmp/pre-build-complete [Pipeline] sh 15:03:46 + mkdir -p /var/log/sa [Pipeline] sh 15:03:46 + ls /var/log/sa-host 15:03:46 + sadf -c /var/log/sa-host/sa11 15:03:46 file_magic: OK 15:03:46 HZ: Using current value: 100 15:03:46 file_header: OK 15:03:46 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 15:03:46 Statistics: 15:03:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:03:46 File successfully converted to sysstat format version 12.2.1 15:03:46 + sadf -c /var/log/sa-host/sa23 15:03:46 file_magic: OK 15:03:46 HZ: Using current value: 100 15:03:46 file_header: OK 15:03:46 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 15:03:46 Statistics: 15:03:46 Hnuu...uuuununununu... 15:03:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:46 provisioning config files... 15:03:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7889091115680543505tmp [Pipeline] { [Pipeline] echo 15:03:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:03:46 ---> create-netrc.sh [Pipeline] } 15:03:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:03:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:03:47 ---> python-tools-install.sh [Pipeline] echo 15:03:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:03:47 ---> sudo-logs.sh 15:03:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:03:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:03:48 ---> job-cost.sh 15:03:48 lf-activate-venv: SKIPPING 15:03:48 DEBUG: total: 0.20999999344348907 15:03:48 INFO: Retrieving Stack Cost... 15:03:49 INFO: Retrieving Pricing Info for: v1-standard-2 15:03:49 INFO: Archiving Costs [Pipeline] echo 15:03:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:03:49 ---> logs-deploy.sh 15:03:49 lf-activate-venv: SKIPPING 15:03:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/45 15:03:49 INFO: archiving workspace using pattern(s): 15:03:51 Archives upload complete. 15:03:51 INFO: archiving logs to Nexus 15:03:52 ---> uname -a: 15:03:52 Linux prd-centos7-docker-4c-2g-4448.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:03:52 15:03:52 15:03:52 ---> lscpu: 15:03:52 Architecture: x86_64 15:03:52 CPU op-mode(s): 32-bit, 64-bit 15:03:52 Byte Order: Little Endian 15:03:52 Address sizes: 40 bits physical, 48 bits virtual 15:03:52 CPU(s): 4 15:03:52 On-line CPU(s) list: 0-3 15:03:52 Thread(s) per core: 1 15:03:52 Core(s) per socket: 1 15:03:52 Socket(s): 4 15:03:52 NUMA node(s): 1 15:03:52 Vendor ID: GenuineIntel 15:03:52 CPU family: 6 15:03:52 Model: 44 15:03:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:03:52 Stepping: 1 15:03:52 CPU MHz: 2933.438 15:03:52 BogoMIPS: 5866.87 15:03:52 Virtualization: VT-x 15:03:52 Hypervisor vendor: KVM 15:03:52 Virtualization type: full 15:03:52 L1d cache: 128 KiB 15:03:52 L1i cache: 128 KiB 15:03:52 L2 cache: 16 MiB 15:03:52 L3 cache: 64 MiB 15:03:52 NUMA node0 CPU(s): 0-3 15:03:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:03:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:03:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:03:52 Vulnerability Meltdown: Mitigation; PTI 15:03:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:03:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:03:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:03:52 Vulnerability Srbds: Not affected 15:03:52 Vulnerability Tsx async abort: Not affected 15:03:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:03:52 15:03:52 15:03:52 ---> nproc: 15:03:52 4 15:03:52 15:03:52 15:03:52 ---> df -h: 15:03:52 Filesystem Size Used Available Use% Mounted on 15:03:52 overlay 50.0G 8.5G 41.4G 17% / 15:03:52 tmpfs 64.0M 0 64.0M 0% /dev 15:03:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:03:52 shm 64.0M 0 64.0M 0% /dev/shm 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master 15:03:52 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master@tmp 15:03:52 15:03:52 15:03:52 ---> free -m: 15:03:52 total used free shared buff/cache available 15:03:52 Mem: 1837 827 145 0 864 946 15:03:52 Swap: 1023 2 1021 15:03:52 15:03:52 15:03:52 ---> ip addr: 15:03:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:03:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:03:52 inet 127.0.0.1/8 scope host lo 15:03:52 valid_lft forever preferred_lft forever 15:03:52 inet6 ::1/128 scope host 15:03:52 valid_lft forever preferred_lft forever 15:03:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:03:52 link/ether fa:16:3e:71:3a:df brd ff:ff:ff:ff:ff:ff 15:03:52 inet 10.30.122.185/23 brd 10.30.123.255 scope global dynamic eth0 15:03:52 valid_lft 85703sec preferred_lft 85703sec 15:03:52 inet6 fe80::f816:3eff:fe71:3adf/64 scope link 15:03:52 valid_lft forever preferred_lft forever 15:03:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:03:52 link/ether 02:42:48:cf:00:16 brd ff:ff:ff:ff:ff:ff 15:03:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:03:52 valid_lft forever preferred_lft forever 15:03:52 inet6 fe80::42:48ff:fecf:16/64 scope link 15:03:52 valid_lft forever preferred_lft forever 15:03:52 15:03:52 15:03:52 ---> sar -b -r -n DEV: 15:03:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/11/21 _x86_64_ (4 CPU) 15:03:52 15:03:52 14:52:02 LINUX RESTART (4 CPU) 15:03:52 15:03:52 14:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:03:52 14:54:02 4.78 0.52 4.26 0.00 41.81 95.66 0.00 15:03:52 14:55:01 0.32 0.00 0.32 0.00 0.00 5.00 0.00 15:03:52 14:56:01 0.37 0.00 0.37 0.00 0.00 5.98 0.00 15:03:52 14:57:01 0.40 0.00 0.40 0.00 0.00 6.03 0.00 15:03:52 14:58:01 0.32 0.00 0.32 0.00 0.00 5.29 0.00 15:03:52 14:59:01 0.35 0.00 0.35 0.00 0.00 5.43 0.00 15:03:52 15:00:01 0.23 0.00 0.23 0.00 0.00 3.60 0.00 15:03:52 15:01:01 0.35 0.00 0.35 0.00 0.00 5.43 0.00 15:03:52 15:02:01 163.65 93.31 70.35 0.00 3530.50 27090.68 0.00 15:03:52 15:03:01 324.16 141.70 182.46 0.00 7998.67 41590.67 0.00 15:03:52 Average: 49.62 23.62 26.01 0.00 1160.14 6900.45 0.00 15:03:52 15:03:52 14:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:03:52 14:54:02 147908 0 606004 32.21 2620 1125012 1100068 37.54 428840 1106528 24 15:03:52 14:55:01 149368 0 604540 32.13 2620 1125016 1088748 37.16 428512 1105804 12 15:03:52 14:56:01 147380 0 606516 32.24 2620 1125028 1088796 37.16 438692 1097412 8 15:03:52 14:57:01 143468 0 610368 32.44 2620 1125088 1085748 37.05 447764 1092544 32 15:03:52 14:58:01 141848 0 612040 32.53 2620 1125036 1085836 37.06 441752 1100060 20 15:03:52 14:59:01 142700 0 611184 32.48 2620 1125040 1079692 36.85 442012 1099672 20 15:03:52 15:00:01 141632 0 612248 32.54 2620 1125044 1079692 36.85 442752 1099760 16 15:03:52 15:01:01 139988 0 613888 32.63 2620 1125048 1081992 36.93 443700 1099760 8 15:03:52 15:02:01 84264 0 764380 40.63 2620 1030280 1530492 52.23 548676 990112 45660 15:03:52 15:03:01 73852 0 797008 42.36 1556 1009128 1276352 43.56 584564 884744 520 15:03:52 Average: 131241 0 643818 34.22 2514 1103972 1149742 39.24 464726 1067640 4632 15:03:52 15:03:52 14:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:03:52 14:54:02 eth0 16.53 11.32 17.44 4.52 0.00 0.00 0.00 0.00 15:03:52 14:54:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:54:02 docker0 2.73 2.15 0.45 4.94 0.00 0.00 0.00 0.00 15:03:52 14:55:01 eth0 0.86 0.30 0.32 0.20 0.00 0.00 0.00 0.00 15:03:52 14:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:56:01 eth0 1.92 0.30 0.40 0.20 0.00 0.00 0.00 0.00 15:03:52 14:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:57:01 eth0 4.01 0.95 1.15 0.60 0.00 0.00 0.00 0.00 15:03:52 14:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:58:01 eth0 3.65 0.67 0.88 0.46 0.00 0.00 0.00 0.00 15:03:52 14:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:59:01 eth0 2.02 0.58 0.64 0.36 0.00 0.00 0.00 0.00 15:03:52 14:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 14:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:00:01 eth0 1.45 0.57 0.59 0.43 0.00 0.00 0.00 0.00 15:03:52 15:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:01:01 eth0 0.65 0.32 0.28 0.20 0.00 0.00 0.00 0.00 15:03:52 15:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:02:01 eth0 419.92 363.79 4066.99 61.13 0.00 0.00 0.00 0.00 15:03:52 15:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:03:01 vethf7ae22e 2.41 1.81 0.19 0.55 0.00 0.00 0.00 0.00 15:03:52 15:03:01 eth0 527.60 468.57 3621.35 51.33 0.00 0.00 0.00 0.00 15:03:52 15:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 15:03:01 docker0 64.83 64.76 5.41 383.90 0.00 0.00 0.00 0.00 15:03:52 Average: vethf7ae22e 0.24 0.18 0.02 0.06 0.00 0.00 0.00 0.00 15:03:52 Average: eth0 98.13 84.97 773.31 11.98 0.00 0.00 0.00 0.00 15:03:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:52 Average: docker0 6.77 6.70 0.59 38.97 0.00 0.00 0.00 0.00 15:03:52 15:03:52 15:03:52 ---> sar -P ALL: 15:03:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/11/21 _x86_64_ (4 CPU) 15:03:52 15:03:52 14:52:02 LINUX RESTART (4 CPU) 15:03:52 15:03:52 14:53:01 CPU %user %nice %system %iowait %steal %idle 15:03:52 14:54:02 all 0.54 0.00 0.31 0.03 0.01 99.11 15:03:52 14:54:02 0 0.48 0.00 0.38 0.02 0.02 99.10 15:03:52 14:54:02 1 0.40 0.00 0.28 0.03 0.02 99.27 15:03:52 14:54:02 2 0.90 0.00 0.27 0.03 0.00 98.80 15:03:52 14:54:02 3 0.37 0.00 0.30 0.03 0.02 99.28 15:03:52 14:55:01 all 0.14 0.00 0.03 0.00 0.00 99.82 15:03:52 14:55:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:03:52 14:55:01 1 0.02 0.00 0.03 0.00 0.00 99.95 15:03:52 14:55:01 2 0.47 0.00 0.03 0.00 0.02 99.47 15:03:52 14:55:01 3 0.05 0.00 0.03 0.00 0.00 99.92 15:03:52 14:56:01 all 0.08 0.00 0.04 0.00 0.01 99.86 15:03:52 14:56:01 0 0.02 0.00 0.03 0.00 0.03 99.92 15:03:52 14:56:01 1 0.05 0.00 0.02 0.00 0.00 99.93 15:03:52 14:56:01 2 0.22 0.00 0.08 0.00 0.00 99.70 15:03:52 14:56:01 3 0.05 0.00 0.03 0.00 0.02 99.90 15:03:52 14:57:01 all 0.18 0.00 0.06 0.00 0.04 99.72 15:03:52 14:57:01 0 0.07 0.00 0.05 0.00 0.05 99.83 15:03:52 14:57:01 1 0.03 0.00 0.03 0.00 0.02 99.92 15:03:52 14:57:01 2 0.55 0.00 0.08 0.00 0.05 99.32 15:03:52 14:57:01 3 0.05 0.00 0.07 0.00 0.05 99.83 15:03:52 14:58:01 all 0.18 0.00 0.07 0.00 0.04 99.72 15:03:52 14:58:01 0 0.10 0.00 0.10 0.00 0.05 99.75 15:03:52 14:58:01 1 0.05 0.00 0.05 0.00 0.03 99.87 15:03:52 14:58:01 2 0.50 0.00 0.07 0.00 0.03 99.40 15:03:52 14:58:01 3 0.05 0.00 0.07 0.00 0.03 99.85 15:03:52 14:59:01 all 0.13 0.00 0.04 0.00 0.03 99.80 15:03:52 14:59:01 0 0.05 0.00 0.05 0.00 0.07 99.83 15:03:52 14:59:01 1 0.03 0.00 0.03 0.00 0.02 99.92 15:03:52 14:59:01 2 0.40 0.00 0.03 0.00 0.03 99.53 15:03:52 14:59:01 3 0.03 0.00 0.03 0.00 0.00 99.93 15:03:52 15:00:01 all 0.17 0.00 0.03 0.00 0.00 99.80 15:03:52 15:00:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:03:52 15:00:01 1 0.05 0.00 0.05 0.00 0.00 99.90 15:03:52 15:00:01 2 0.53 0.00 0.02 0.00 0.00 99.45 15:03:52 15:00:01 3 0.05 0.00 0.02 0.00 0.02 99.92 15:03:52 15:01:01 all 0.11 0.00 0.05 0.01 0.00 99.84 15:03:52 15:01:01 0 0.02 0.00 0.05 0.02 0.00 99.92 15:03:52 15:01:01 1 0.27 0.00 0.07 0.02 0.00 99.65 15:03:52 15:01:01 2 0.15 0.00 0.03 0.00 0.00 99.82 15:03:52 15:01:01 3 0.00 0.00 0.03 0.00 0.00 99.97 15:03:52 15:02:01 all 7.11 0.00 4.83 1.35 0.06 86.65 15:03:52 15:02:01 0 6.87 0.00 5.84 0.92 0.07 86.30 15:03:52 15:02:01 1 6.84 0.00 4.47 0.96 0.05 87.68 15:03:52 15:02:01 2 7.09 0.00 4.57 1.81 0.08 86.44 15:03:52 15:02:01 3 7.63 0.00 4.43 1.69 0.05 86.20 15:03:52 15:03:01 all 12.10 0.00 9.40 4.82 0.16 73.53 15:03:52 15:03:01 0 11.90 0.00 10.01 6.74 0.14 71.22 15:03:52 15:03:01 1 11.69 0.00 8.97 5.28 0.21 73.85 15:03:52 15:03:01 2 12.98 0.00 9.66 1.82 0.15 75.37 15:03:52 15:03:01 3 11.82 0.00 8.97 5.43 0.12 73.66 15:03:52 Average: all 2.03 0.00 1.46 0.61 0.04 95.87 15:03:52 Average: 0 1.91 0.00 1.62 0.75 0.04 95.67 15:03:52 Average: 1 1.91 0.00 1.37 0.62 0.03 96.07 15:03:52 Average: 2 2.34 0.00 1.46 0.36 0.04 95.80 15:03:52 Average: 3 1.97 0.00 1.37 0.70 0.03 95.93 15:03:52 15:03:52 15:03:52