Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c0fea384d14ce91369cd6ac3614cfd01ba9409e9 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5341989813348698353.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8414889987981421897.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6989501034133472374.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1647564281619952348.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8107591512218032529.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1422 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh8611676081734284313.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" > git rev-list --no-walk b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:06:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:06:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:06:09 ========================================================= 05:06:09 EdgeX Global Pipelines Version Info 05:06:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:06:10 ------------------- 05:06:10 stable info: 05:06:10 ------------------- 05:06:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:06:10 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 05:06:10 Message: update stable to v1.0.194 05:06:11 ------------------- 05:06:11 experimental info: 05:06:11 ------------------- 05:06:11 Commited By: **** collab-it+edgex@linuxfoundation.org 05:06:11 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:06:11 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:06:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0fea38 [Pipeline] echo 05:06:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:12 provisioning config files... 05:06:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5107245778181998994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:12 ---> docker-login.sh 05:06:12 nexus3.edgexfoundry.org:10001 05:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:12 Configure a credential helper to remove this warning. See 05:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:12 05:06:12 Login Succeeded 05:06:12 nexus3.edgexfoundry.org:10002 05:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:13 Configure a credential helper to remove this warning. See 05:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:13 05:06:13 Login Succeeded 05:06:13 nexus3.edgexfoundry.org:10003 05:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:13 Configure a credential helper to remove this warning. See 05:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:13 05:06:13 Login Succeeded 05:06:13 nexus3.edgexfoundry.org:10004 05:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:13 Configure a credential helper to remove this warning. See 05:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:13 05:06:13 Login Succeeded 05:06:13 docker.io 05:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:13 Configure a credential helper to remove this warning. See 05:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:13 05:06:13 Login Succeeded 05:06:13 ---> docker-login.sh ends [Pipeline] } 05:06:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:14 + git log --format=format:%s -1 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] echo 05:06:14 GIT_COMMIT: c0fea384d14ce91369cd6ac3614cfd01ba9409e9, Commit Message: Merge pull request #263 from hahattan/sdk-issue-967 [Pipeline] echo 05:06:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:14 05:06:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:06:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:15 latest: Pulling from edgex-devops/git-semver 05:06:15 31603596830f: Pulling fs layer 05:06:15 54011a49482f: Pulling fs layer 05:06:15 a6820b24f6d8: Pulling fs layer 05:06:15 f581987b2513: Pulling fs layer 05:06:15 f581987b2513: Waiting 05:06:15 54011a49482f: Verifying Checksum 05:06:15 54011a49482f: Download complete 05:06:15 31603596830f: Verifying Checksum 05:06:15 31603596830f: Download complete 05:06:15 f581987b2513: Verifying Checksum 05:06:15 f581987b2513: Download complete 05:06:15 a6820b24f6d8: Verifying Checksum 05:06:15 a6820b24f6d8: Download complete 05:06:15 31603596830f: Pull complete 05:06:15 54011a49482f: Pull complete 05:06:16 a6820b24f6d8: Pull complete 05:06:16 f581987b2513: Pull complete 05:06:16 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:06:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:06:16 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:06: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:06:17 $ docker top 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:06:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:17 [ssh-agent] Looking for ssh-agent implementation... 05:06:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:17 $ docker exec 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent 05:06:17 SSH_AUTH_SOCK=/tmp/ssh-E8IOeUN4Oodc/agent.15 05:06:17 SSH_AGENT_PID=21 05:06:17 Running ssh-add (command line suppressed) 05:06:18 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1527459880835102996.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1527459880835102996.key) 05:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:18 + git tag --points-at HEAD [Pipeline] } 05:06:18 $ docker exec --env ******** --env ******** 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent -k 05:06:18 unset SSH_AUTH_SOCK; 05:06:18 unset SSH_AGENT_PID; 05:06:18 echo Agent pid 21 killed; 05:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:06:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:18 [ssh-agent] Looking for ssh-agent implementation... 05:06:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:18 $ docker exec 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent 05:06:18 SSH_AUTH_SOCK=/tmp/ssh-NO5o8NkjsCsw/agent.54 05:06:18 SSH_AGENT_PID=61 05:06:18 Running ssh-add (command line suppressed) 05:06:18 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2036510224680263108.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2036510224680263108.key) 05:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:19 + git semver init 05:06:19 # -> Open(): unable to determine branch for HEAD 05:06:19 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:06:19 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:06:19 # $SEMVER_REMOTE_NAME = origin 05:06:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:06:19 # $SEMVER_USER_NAME = edgex-jenkins 05:06:19 # $SEMVER_BRANCH = master 05:06:19 # $SEMVER_TEMP = /tmp/semver-294851518 05:06:19 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:06:19 # '/tmp/semver-294851518' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 05:06:19 # -> Force: false 05:06:19 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 05:06:19 $ docker exec --env ******** --env ******** 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent -k 05:06:19 unset SSH_AUTH_SOCK; 05:06:19 unset SSH_AGENT_PID; 05:06:19 echo Agent pid 61 killed; 05:06:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:06:19 + git semver [Pipeline] } 05:06:19 $ docker stop --time=1 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 05:06:21 $ docker rm -f 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:06:21 Stashed 1 file(s) [Pipeline] echo 05:06:21 [edgeXSemver]: initialized semver on version 1.3.2-dev.17 [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 05:06:37 Still waiting to schedule task 05:06:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:06:37 Still waiting to schedule task 05:06:37 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1418’ 05:08:25 Running on prd-centos7-docker-4c-2g-1424 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 05:08:25 Running in /w/workspace/device-modbus-go/56 [Pipeline] { [Pipeline] checkout 05:08:25 Selected Git installation does not exist. Using Default 05:08:25 The recommended git tool is: NONE 05:08:27 using credential edgex-jenkins-ssh 05:08:27 Cloning the remote Git repository 05:08:28 Avoid second fetch 05:08:28 Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) 05:08:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:08:27 > git init /w/workspace/device-modbus-go/56 # timeout=10 05:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:08:27 > git --version # timeout=10 05:08:27 > git --version # 'git version 2.24.4' 05:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:27 [INFO] Currently running in a labeled security context 05:08:27 [INFO] Currently SELinux is 'enforcing' on the host 05:08:27 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/56@tmp/jenkins-gitclient-ssh8924390608795753414.key 05:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:08:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:27 > git config core.sparsecheckout # timeout=10 05:08:27 > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 05:08:31 Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:08:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:08:33 + sudo service docker restart 05:08:33 + true 05:08:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:51 provisioning config files... 05:08:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config1787165588152733199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:51 ---> docker-login.sh 05:08:51 nexus3.edgexfoundry.org:10001 05:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:52 Configure a credential helper to remove this warning. See 05:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:52 05:08:52 Login Succeeded 05:08:52 nexus3.edgexfoundry.org:10002 05:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:52 Configure a credential helper to remove this warning. See 05:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:52 05:08:52 Login Succeeded 05:08:52 nexus3.edgexfoundry.org:10003 05:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:53 Configure a credential helper to remove this warning. See 05:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:53 05:08:53 Login Succeeded 05:08:53 nexus3.edgexfoundry.org:10004 05:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:53 Configure a credential helper to remove this warning. See 05:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:53 05:08:53 Login Succeeded 05:08:53 docker.io 05:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:53 Configure a credential helper to remove this warning. See 05:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:53 05:08:53 Login Succeeded 05:08:53 ---> docker-login.sh ends [Pipeline] } 05:08:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:53 ========================================================= 05:08:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:08:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:08:54 + 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 . 05:08:54 Sending build context to Docker daemon 637.4kB 05:08:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:08:54 Step 2/8 : FROM ${BASE} 05:08:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:08:54 540db60ca938: Pulling fs layer 05:08:54 adcc1eea9eea: Pulling fs layer 05:08:54 4c4ab2625f07: Pulling fs layer 05:08:54 0510c868ecb4: Pulling fs layer 05:08:54 afea3b2eda06: Pulling fs layer 05:08:54 7809a108b3ef: Pulling fs layer 05:08:54 f706445af74f: Pulling fs layer 05:08:54 0510c868ecb4: Waiting 05:08:54 afea3b2eda06: Waiting 05:08:54 7809a108b3ef: Waiting 05:08:54 f706445af74f: Waiting 05:08:54 4c4ab2625f07: Download complete 05:08:54 adcc1eea9eea: Verifying Checksum 05:08:54 adcc1eea9eea: Download complete 05:08:54 afea3b2eda06: Verifying Checksum 05:08:54 afea3b2eda06: Download complete 05:08:54 540db60ca938: Verifying Checksum 05:08:54 540db60ca938: Download complete 05:08:54 7809a108b3ef: Verifying Checksum 05:08:54 7809a108b3ef: Download complete 05:08:54 540db60ca938: Pull complete 05:08:54 adcc1eea9eea: Pull complete 05:08:54 4c4ab2625f07: Pull complete 05:08:55 f706445af74f: Verifying Checksum 05:08:55 f706445af74f: Download complete 05:08:56 0510c868ecb4: Download complete 05:09:01 0510c868ecb4: Pull complete 05:09:01 afea3b2eda06: Pull complete 05:09:01 7809a108b3ef: Pull complete 05:09:01 f706445af74f: Pull complete 05:09:02 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:09:02 ---> b068be0155e3 05:09:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:09:07 ---> Running in 53dcc773b9b5 05:09:07 Removing intermediate container 53dcc773b9b5 05:09:07 ---> e2286b75d3a1 05:09:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:07 ---> Running in f6c85d200beb 05:09:07 Removing intermediate container f6c85d200beb 05:09:07 ---> 7450dfdde80e 05:09:07 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:09:07 ---> Running in 73b3301e932e 05:09:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:09:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:09:09 (1/13) Installing libc-dev (0.7.2-r3) 05:09:09 (2/13) Installing libsodium (1.0.18-r0) 05:09:09 (3/13) Installing pkgconf (1.7.3-r0) 05:09:10 (4/13) Installing libsodium-dev (1.0.18-r0) 05:09:10 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:09:10 (6/13) Installing libedit (20191231.3.1-r1) 05:09:10 (7/13) Installing openssh-client (8.4_p1-r3) 05:09:10 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:09:10 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:09:10 (10/13) Installing openssh-server (8.4_p1-r3) 05:09:10 (11/13) Installing openssh (8.4_p1-r3) 05:09:10 (12/13) Installing libzmq (4.3.3-r1) 05:09:10 (13/13) Installing zeromq-dev (4.3.3-r1) 05:09:11 Executing busybox-1.32.1-r6.trigger 05:09:11 OK: 156 MiB in 53 packages 05:09:11 Removing intermediate container 73b3301e932e 05:09:11 ---> 88214387f0f9 05:09:11 Step 6/8 : WORKDIR /device-modbus-go 05:09:11 ---> Running in 2b674bd4b5c1 05:09:11 Removing intermediate container 2b674bd4b5c1 05:09:11 ---> a0ba28755bd5 05:09:11 Step 7/8 : COPY . . 05:09:12 ---> e6f8424cf475 05:09:12 Step 8/8 : RUN go mod download 05:09:12 ---> Running in fe5e2c808d46 05:09:27 Removing intermediate container fe5e2c808d46 05:09:27 ---> fbe5f59f909c 05:09:27 Successfully built fbe5f59f909c 05:09:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:09:27 + docker inspect -f . ci-base-image-x86_64 05:09:27 . [Pipeline] withDockerContainer 05:09:27 prd-centos7-docker-4c-2g-1424 does not seem to be running inside a container 05:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:09:28 $ docker top ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:28 + go version 05:09:28 go version go1.16.3 linux/amd64 [Pipeline] } 05:09:28 $ docker stop --time=1 ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 05:09:29 $ docker rm -f ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:09:30 + docker inspect -f . ci-base-image-x86_64 05:09:30 . [Pipeline] withDockerContainer 05:09:30 prd-centos7-docker-4c-2g-1424 does not seem to be running inside a container 05:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:09:31 $ docker top f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:31 + go mod tidy [Pipeline] sh 05:09:32 + make test 05:09:32 go mod tidy 05:09:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1425 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 05:09:49 Running in /w/workspace/device-modbus-go/56 [Pipeline] { [Pipeline] checkout 05:09:49 Selected Git installation does not exist. Using Default 05:09:49 The recommended git tool is: NONE 05:09:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 05:09:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:54 using credential edgex-jenkins-ssh 05:09:54 Cloning the remote Git repository 05:09:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:09:54 > git init /w/workspace/device-modbus-go/56 # timeout=10 05:09:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:09:54 > git --version # timeout=10 05:09:55 > git --version # 'git version 2.17.1' 05:09:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:56 Avoid second fetch 05:09:56 Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) 05:09:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:09:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:56 > git config core.sparsecheckout # timeout=10 05:09:56 > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 05:09:57 gofmt -l . 05:09:57 [ "`gofmt -l .`" = "" ] 05:09:57 ./bin/test-attribution-txt.sh 05:09:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:09:57 $ docker stop --time=1 f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f 05:09:59 $ docker rm -f f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f [Pipeline] // withDockerContainer [Pipeline] sh 05:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:10:00 Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:01 + ls -al . 05:10:01 total 112 05:10:01 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 15 05:09 . 05:10:01 drwxrwxr-x. 4 jenkins jenkins 30 Jun 15 05:08 .. 05:10:01 -rw-rw-r--. 1 jenkins jenkins 7707 Jun 15 05:08 Attribution.txt 05:10:01 drwxrwxr-x. 2 jenkins jenkins 87 Jun 15 05:08 bin 05:10:01 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 05:08 cmd 05:10:01 -rw-r--r--. 1 jenkins jenkins 22385 Jun 15 05:09 coverage.out 05:10:01 -rw-rw-r--. 1 jenkins jenkins 1473 Jun 15 05:08 Dockerfile 05:10:01 -rw-rw-r--. 1 jenkins jenkins 995 Jun 15 05:08 Dockerfile.build 05:10:01 -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 05:08 .dockerignore 05:10:01 drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 05:08 .git 05:10:01 drwxrwxr-x. 2 jenkins jenkins 103 Jun 15 05:08 .github 05:10:01 -rw-rw-r--. 1 jenkins jenkins 338 Jun 15 05:08 .gitignore 05:10:01 -rw-r--r--. 1 jenkins jenkins 414 Jun 15 05:09 go.mod 05:10:01 -rw-r--r--. 1 jenkins jenkins 21434 Jun 15 05:09 go.sum 05:10:01 drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 05:08 internal 05:10:01 -rw-rw-r--. 1 jenkins jenkins 679 Jun 15 05:08 Jenkinsfile 05:10:01 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 05:08 LICENSE 05:10:01 -rw-rw-r--. 1 jenkins jenkins 914 Jun 15 05:08 Makefile 05:10:01 -rw-rw-r--. 1 jenkins jenkins 2897 Jun 15 05:08 README.md 05:10:01 drwxrwxr-x. 2 jenkins jenkins 52 Jun 15 05:08 simulator 05:10:01 drwxrwxr-x. 4 jenkins jenkins 71 Jun 15 05:08 snap 05:10:01 -rw-rw-r--. 1 jenkins jenkins 12 Jun 15 05:06 VERSION 05:10:01 -rw-rw-r--. 1 jenkins jenkins 229 Jun 15 05:08 version.go 05:10:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] isUnix [Pipeline] sh [Pipeline] sh 05:10:02 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 --label arch=amd64 --label version=1.3.2-dev.17 . 05:10:02 Sending build context to Docker daemon 660.5kB 05:10:02 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 05:10:02 Step 2/22 : FROM ${BASE} AS builder 05:10:02 ---> fbe5f59f909c 05:10:02 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:02 ---> Running in f9b3f68c1434 05:10:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:10:02 + sudo service docker restart+ 05:10:02 true 05:10:02 Removing intermediate container f9b3f68c1434 05:10:02 ---> 52e35247ca20 05:10:02 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:02 ---> Running in d011cf9839d9 05:10:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:10:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:10:05 OK: 156 MiB in 53 packages 05:10:05 Removing intermediate container d011cf9839d9 05:10:05 ---> a53530212098 05:10:05 Step 5/22 : WORKDIR /device-modbus-go 05:10:05 ---> Running in 6af0d1b51658 05:10:05 Removing intermediate container 6af0d1b51658 05:10:05 ---> 16722a8b958e 05:10:05 Step 6/22 : COPY . . 05:10:05 ---> 3e3b8b8888c9 05:10:05 Step 7/22 : RUN go mod tidy 05:10:05 ---> Running in 9cdbedc4aa7b 05:10:06 Removing intermediate container 9cdbedc4aa7b 05:10:06 ---> e5c552de8cac 05:10:06 Step 8/22 : RUN go mod download 05:10:06 ---> Running in 495d21f27c4e 05:10:06 Removing intermediate container 495d21f27c4e 05:10:06 ---> cf220fba92d0 05:10:06 Step 9/22 : RUN make build 05:10:06 ---> Running in e7db2f229906 05:10:07 go mod tidy 05:10:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.17" -o cmd/device-modbus ./cmd 05:10:19 Removing intermediate container e7db2f229906 05:10:19 ---> 26e65de47648 05:10:19 Step 10/22 : FROM alpine:3.12 05:10:20 3.12: Pulling from library/alpine 05:10:20 339de151aab4: Pulling fs layer 05:10:20 339de151aab4: Verifying Checksum 05:10:20 339de151aab4: Download complete 05:10:20 339de151aab4: Pull complete 05:10:20 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:10:20 Status: Downloaded newer image for alpine:3.12 05:10:20 ---> 13621d1b12d4 05:10:20 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:10:20 ---> Running in 6e57e9c9d703 05:10:20 Removing intermediate container 6e57e9c9d703 05:10:20 ---> 0e46b1686c90 05:10:20 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:20 ---> Running in a369f08d7fc6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:21 provisioning config files... 05:10:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config4350507230949378841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:21 Removing intermediate container a369f08d7fc6 05:10:21 ---> 7ebbdc32c289 05:10:21 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:10:21 ---> Running in 74a48427fe60 05:10:21 ---> docker-login.sh 05:10:21 nexus3.edgexfoundry.org:10001 05:10:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:10:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:22 (1/6) Installing dumb-init (1.2.2-r1) 05:10:22 (2/6) Installing libgcc (9.3.0-r2) 05:10:22 (3/6) Installing libsodium (1.0.18-r0) 05:10:22 (4/6) Installing libstdc++ (9.3.0-r2) 05:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:22 Configure a credential helper to remove this warning. See 05:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:22 05:10:22 Login Succeeded 05:10:22 nexus3.edgexfoundry.org:10002 05:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:23 Configure a credential helper to remove this warning. See 05:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:23 05:10:23 Login Succeeded 05:10:23 nexus3.edgexfoundry.org:10003 05:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:23 (5/6) Installing libzmq (4.3.3-r0) 05:10:23 (6/6) Installing zeromq (4.3.3-r0) 05:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:23 Configure a credential helper to remove this warning. See 05:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:23 05:10:23 Login Succeeded 05:10:23 nexus3.edgexfoundry.org:10004 05:10:23 Executing busybox-1.31.1-r20.trigger 05:10:23 OK: 8 MiB in 20 packages 05:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:24 Removing intermediate container 74a48427fe60 05:10:24 ---> 3c24011c9604 05:10:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:24 Configure a credential helper to remove this warning. See 05:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:24 05:10:24 Login Succeeded 05:10:24 docker.io 05:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:24 ---> c0f36711a930 05:10:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:10:25 ---> 6a4f414f2963 05:10:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:10:25 ---> b3e36a729f26 05:10:25 Step 17/22 : EXPOSE 59901 05:10:25 ---> Running in 2aa8b62f82e3 05:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:25 Configure a credential helper to remove this warning. See 05:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:25 05:10:25 Login Succeeded 05:10:25 ---> docker-login.sh ends 05:10:25 Removing intermediate container 2aa8b62f82e3 05:10:25 ---> 70ce6c64c3a7 05:10:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:10:25 ---> Running in 3e07d1def18d 05:10:25 Removing intermediate container 3e07d1def18d 05:10:25 ---> d1ccd9b5f427 05:10:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:10:25 ---> Running in ca50c1b18639 [Pipeline] } 05:10:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:10:25 Removing intermediate container ca50c1b18639 05:10:25 ---> de057618951b 05:10:25 Step 20/22 : LABEL arch=amd64 05:10:25 ---> Running in 4c264b682a20 05:10:25 Removing intermediate container 4c264b682a20 05:10:25 ---> 20cdabba8b67 05:10:25 Step 21/22 : LABEL git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:10:25 ---> Running in a6e17421a888 [Pipeline] echo 05:10:25 ========================================================= 05:10:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:10:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:10:25 Removing intermediate container a6e17421a888 05:10:25 ---> 64a109311c8a 05:10:25 Step 22/22 : LABEL version=1.3.2-dev.17 05:10:25 ---> Running in c87f16247d8f 05:10:25 Removing intermediate container c87f16247d8f 05:10:25 ---> e917cd2b409b 05:10:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:10:25 Successfully built e917cd2b409b 05:10:25 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 05:10: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 . [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:26 provisioning config files... 05:10:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config1014931167179800557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:26 Sending build context to Docker daemon 635.9kB 05:10:26 ---> docker-login.sh 05:10:26 nexus3.edgexfoundry.org:10001 05:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:26 Configure a credential helper to remove this warning. See 05:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:26 05:10:26 Login Succeeded 05:10:26 nexus3.edgexfoundry.org:10002 05:10:26 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:10:26 Step 2/8 : FROM ${BASE} 05:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:26 Configure a credential helper to remove this warning. See 05:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:26 05:10:26 Login Succeeded 05:10:26 nexus3.edgexfoundry.org:10003 05:10:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:26 595b0fe564bb: Pulling fs layer 05:10:26 3088b5b3c5c0: Pulling fs layer 05:10:26 5b7225fbf94c: Pulling fs layer 05:10:26 ba82ee9f976e: Pulling fs layer 05:10:26 506bd15cee9f: Pulling fs layer 05:10:26 75a0a4a0db45: Pulling fs layer 05:10:26 618dc40b7e24: Pulling fs layer 05:10:26 ba82ee9f976e: Waiting 05:10:26 506bd15cee9f: Waiting 05:10:26 75a0a4a0db45: Waiting 05:10:26 618dc40b7e24: Waiting 05:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:27 5b7225fbf94c: Verifying Checksum 05:10:27 5b7225fbf94c: Download complete 05:10:27 3088b5b3c5c0: Verifying Checksum 05:10:27 3088b5b3c5c0: Download complete 05:10:27 506bd15cee9f: Verifying Checksum 05:10:27 506bd15cee9f: Download complete 05:10:27 595b0fe564bb: Verifying Checksum 05:10:27 75a0a4a0db45: Download complete 05:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:27 Configure a credential helper to remove this warning. See 05:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:27 05:10:27 Login Succeeded 05:10:27 nexus3.edgexfoundry.org:10004 05:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:27 Configure a credential helper to remove this warning. See 05:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:27 05:10:27 Login Succeeded 05:10:27 595b0fe564bb: Pull complete 05:10:27 docker.io 05:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:28 Configure a credential helper to remove this warning. See 05:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:28 05:10:28 Login Succeeded 05:10:28 ---> docker-login.sh ends [Pipeline] } 05:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:10:28 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:10:28 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:10:28 latest 05:10:28 1.3.2-dev.17 05:10:28 c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:10:28 master 05:10:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:28 3088b5b3c5c0: Pull complete 05:10:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh 05:10:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:10:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:10:28 a1f75895fd21: Preparing 05:10:28 256396b39934: Preparing 05:10:28 b9c6267a760d: Preparing 05:10:28 017509288cb0: Preparing 05:10:28 8b404bcbaf3f: Preparing 05:10:28 32f366d666a5: Preparing 05:10:28 32f366d666a5: Waiting 05:10:28 5b7225fbf94c: Pull complete 05:10:29 8b404bcbaf3f: Pushed 05:10:29 32f366d666a5: Layer already exists 05:10:29 256396b39934: Pushed 05:10:29 017509288cb0: Pushed 05:10:29 a1f75895fd21: Pushed 05:10:29 618dc40b7e24: Verifying Checksum 05:10:29 618dc40b7e24: Download complete 05:10:30 b9c6267a760d: Pushed 05:10:30 c0fea384d14ce91369cd6ac3614cfd01ba9409e9: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix 05:10:30 ba82ee9f976e: Verifying Checksum 05:10:30 ba82ee9f976e: Download complete [Pipeline] sh 05:10:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 05:10:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:10:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:10:31 a1f75895fd21: Preparing 05:10:31 256396b39934: Preparing 05:10:31 b9c6267a760d: Preparing 05:10:31 017509288cb0: Preparing 05:10:31 8b404bcbaf3f: Preparing 05:10:31 32f366d666a5: Preparing 05:10:31 32f366d666a5: Waiting 05:10:31 017509288cb0: Layer already exists 05:10:31 b9c6267a760d: Layer already exists 05:10:31 8b404bcbaf3f: Layer already exists 05:10:31 256396b39934: Layer already exists 05:10:31 a1f75895fd21: Layer already exists 05:10:31 32f366d666a5: Layer already exists 05:10:31 latest: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:10:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:10:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 05:10:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:10:31 a1f75895fd21: Preparing 05:10:31 256396b39934: Preparing 05:10:31 b9c6267a760d: Preparing 05:10:31 017509288cb0: Preparing 05:10:31 8b404bcbaf3f: Preparing 05:10:31 32f366d666a5: Preparing 05:10:31 32f366d666a5: Waiting 05:10:31 256396b39934: Layer already exists 05:10:31 8b404bcbaf3f: Layer already exists 05:10:31 b9c6267a760d: Layer already exists 05:10:31 a1f75895fd21: Layer already exists 05:10:31 017509288cb0: Layer already exists 05:10:31 32f366d666a5: Layer already exists 05:10:31 1.3.2-dev.17: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:10:32 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:10:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:10:32 a1f75895fd21: Preparing 05:10:32 256396b39934: Preparing 05:10:32 b9c6267a760d: Preparing 05:10:32 017509288cb0: Preparing 05:10:32 8b404bcbaf3f: Preparing 05:10:32 32f366d666a5: Preparing 05:10:32 32f366d666a5: Waiting 05:10:32 8b404bcbaf3f: Layer already exists 05:10:32 b9c6267a760d: Layer already exists 05:10:32 256396b39934: Layer already exists 05:10:32 017509288cb0: Layer already exists 05:10:32 a1f75895fd21: Layer already exists 05:10:32 32f366d666a5: Layer already exists 05:10:32 c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:10:32 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 05:10:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 05:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:10:32 a1f75895fd21: Preparing 05:10:32 256396b39934: Preparing 05:10:32 b9c6267a760d: Preparing 05:10:32 017509288cb0: Preparing 05:10:32 8b404bcbaf3f: Preparing 05:10:32 32f366d666a5: Preparing 05:10:32 32f366d666a5: Waiting 05:10:32 256396b39934: Layer already exists 05:10:32 b9c6267a760d: Layer already exists 05:10:32 017509288cb0: Layer already exists 05:10:32 a1f75895fd21: Layer already exists 05:10:32 8b404bcbaf3f: Layer already exists 05:10:32 32f366d666a5: Layer already exists 05:10:33 master: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:10:33 ===================================================== [Pipeline] echo 05:10:33 taggedImages: 05:10:33 - nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:10:33 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:10:33 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 05:10:33 - nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:10:33 - nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:10:34 ---> job-cost.sh 05:10:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E40o 05:10:40 ba82ee9f976e: Pull complete 05:10:41 506bd15cee9f: Pull complete 05:10:41 75a0a4a0db45: Pull complete 05:10:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:10:44 618dc40b7e24: Pull complete 05:10:44 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:10:44 ---> a36622ca3599 05:10:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:10:46 ---> Running in 301e4e2a9f92 05:10:47 Removing intermediate container 301e4e2a9f92 05:10:47 ---> c42c158100d2 05:10:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:47 ---> Running in 9f56b8218812 05:10:50 Removing intermediate container 9f56b8218812 05:10:50 ---> 2d259406a772 05:10:50 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:50 ---> Running in a1669372bc8c 05:10:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:10:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:10:53 (1/13) Installing libc-dev (0.7.2-r3) 05:10:53 (2/13) Installing libsodium (1.0.18-r0) 05:10:53 (3/13) Installing pkgconf (1.7.3-r0) 05:10:53 (4/13) Installing libsodium-dev (1.0.18-r0) 05:10:53 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:10:53 (6/13) Installing libedit (20191231.3.1-r1) 05:10:53 (7/13) Installing openssh-client (8.4_p1-r3) 05:10:53 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:10:53 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:10:53 (10/13) Installing openssh-server (8.4_p1-r3) 05:10:54 (11/13) Installing openssh (8.4_p1-r3) 05:10:54 (12/13) Installing libzmq (4.3.3-r1) 05:10:54 (13/13) Installing zeromq-dev (4.3.3-r1) 05:10:54 Executing busybox-1.32.1-r6.trigger 05:10:54 OK: 145 MiB in 53 packages 05:10:55 Removing intermediate container a1669372bc8c 05:10:55 ---> c83080a2fa6d 05:10:55 Step 6/8 : WORKDIR /device-modbus-go 05:10:55 ---> Running in a21debda0797 05:10:56 lf-activate-venv(): INFO: Adding /tmp/venv-E40o/bin to PATH 05:10:56 INFO: No Stack... 05:10:56 Removing intermediate container a21debda0797 05:10:56 ---> 346a87bc8cfc 05:10:56 Step 7/8 : COPY . . 05:10:56 INFO: Retrieving Pricing Info for: v3-standard-2 05:10:57 INFO: Archiving Costs [Pipeline] sh 05:10:57 ---> 404e7826964d 05:10:57 Step 8/8 : RUN go mod download 05:10:57 + cat /w/workspace/device-modbus-go/56/archives/cost.csv 05:10:57 + cut -d, -f6 [Pipeline] lock 05:10:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] 05:10:57 Resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] did not exist. Created. 05:10:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:57 ---> Running in bf4532e76b73 05:10:57 + echo total: 0.05999999865889549 [Pipeline] stash 05:10:57 Stashed 1 file(s) [Pipeline] } 05:10:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:11:24 Removing intermediate container bf4532e76b73 05:11:24 ---> 5406a497a3d9 05:11:24 Successfully built 5406a497a3d9 05:11:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:11:24 + docker inspect -f . ci-base-image-arm64 05:11:24 . [Pipeline] withDockerContainer 05:11:25 prd-ubuntu18.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container 05:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:11:27 $ docker top 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:28 + go version 05:11:28 go version go1.16.5 linux/arm64 [Pipeline] } 05:11:28 $ docker stop --time=1 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 05:11:30 $ docker rm -f 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:11:31 + docker inspect -f . ci-base-image-arm64 05:11:31 . [Pipeline] withDockerContainer 05:11:31 prd-ubuntu18.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container 05:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:11:33 $ docker top acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:34 + go mod tidy [Pipeline] sh 05:11:35 + make test 05:11:35 go mod tidy 05:11:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:11:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:12:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:12:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.046s coverage: 47.7% of statements 05:12:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:55 gofmt -l . 05:12:55 [ "`gofmt -l .`" = "" ] 05:12:55 ./bin/test-attribution-txt.sh 05:12:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:12:55 $ docker stop --time=1 acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb 05:12:57 $ docker rm -f acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb [Pipeline] // withDockerContainer [Pipeline] sh 05:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:58 Warning: overwriting stash ‘coverage-report’ 05:12:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:59 + ls -al . 05:12:59 total 144 05:12:59 drwxrwxr-x 9 jenkins jenkins 4096 Jun 15 05:12 . 05:12:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:09 .. 05:12:59 -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 05:09 .dockerignore 05:12:59 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 05:09 .git 05:12:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 .github 05:12:59 -rw-rw-r-- 1 jenkins jenkins 338 Jun 15 05:09 .gitignore 05:12:59 -rw-rw-r-- 1 jenkins jenkins 7707 Jun 15 05:09 Attribution.txt 05:12:59 -rw-rw-r-- 1 jenkins jenkins 1473 Jun 15 05:09 Dockerfile 05:12:59 -rw-rw-r-- 1 jenkins jenkins 995 Jun 15 05:09 Dockerfile.build 05:12:59 -rw-rw-r-- 1 jenkins jenkins 679 Jun 15 05:09 Jenkinsfile 05:12:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 05:09 LICENSE 05:12:59 -rw-rw-r-- 1 jenkins jenkins 914 Jun 15 05:09 Makefile 05:12:59 -rw-rw-r-- 1 jenkins jenkins 2897 Jun 15 05:09 README.md 05:12:59 -rw-rw-r-- 1 jenkins jenkins 12 Jun 15 05:06 VERSION 05:12:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 bin 05:12:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 05:09 cmd 05:12:59 -rw-r--r-- 1 jenkins jenkins 22385 Jun 15 05:12 coverage.out 05:12:59 -rw-r--r-- 1 jenkins jenkins 414 Jun 15 05:12 go.mod 05:12:59 -rw-r--r-- 1 jenkins jenkins 21434 Jun 15 05:11 go.sum 05:12:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 05:09 internal 05:12:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 simulator 05:12:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:09 snap 05:12:59 -rw-rw-r-- 1 jenkins jenkins 229 Jun 15 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:13:00 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 --label arch=arm64 --label version=1.3.2-dev.17 . 05:13:00 Sending build context to Docker daemon 658.9kB 05:13:00 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 05:13:00 Step 2/22 : FROM ${BASE} AS builder 05:13:00 ---> 5406a497a3d9 05:13:00 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:01 ---> Running in 4dae274b6b1d 05:13:03 Removing intermediate container 4dae274b6b1d 05:13:03 ---> cd25fe9b2d26 05:13:03 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:13:03 ---> Running in 4e2c07550c1f 05:13:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:13:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:13:06 OK: 145 MiB in 53 packages 05:13:07 Removing intermediate container 4e2c07550c1f 05:13:07 ---> b385e43abe29 05:13:07 Step 5/22 : WORKDIR /device-modbus-go 05:13:07 ---> Running in 3f347101621e 05:13:07 Removing intermediate container 3f347101621e 05:13:07 ---> 94b61eee2cb3 05:13:07 Step 6/22 : COPY . . 05:13:08 ---> 6540d94e1f7e 05:13:08 Step 7/22 : RUN go mod tidy 05:13:09 ---> Running in 08b69b8943b0 05:13:11 Removing intermediate container 08b69b8943b0 05:13:11 ---> d8e7070546d9 05:13:11 Step 8/22 : RUN go mod download 05:13:12 ---> Running in 647e71de46a6 05:13:14 Removing intermediate container 647e71de46a6 05:13:14 ---> be975567b89d 05:13:14 Step 9/22 : RUN make build 05:13:14 ---> Running in db9d1dae4933 05:13:15 go mod tidy 05:13:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.17" -o cmd/device-modbus ./cmd 05:13:55 Removing intermediate container db9d1dae4933 05:13:55 ---> 1bb817bec1e3 05:13:55 Step 10/22 : FROM alpine:3.12 05:13:55 3.12: Pulling from library/alpine 05:13:55 d2f70382dc9a: Pulling fs layer 05:13:55 d2f70382dc9a: Verifying Checksum 05:13:55 d2f70382dc9a: Download complete 05:13:55 d2f70382dc9a: Pull complete 05:13:55 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:13:55 Status: Downloaded newer image for alpine:3.12 05:13:55 ---> 9852663dfa18 05:13:55 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:13:55 ---> Running in 33ceee3ec1ed 05:13:55 Removing intermediate container 33ceee3ec1ed 05:13:55 ---> 17735f185758 05:13:55 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:55 ---> Running in 4c7ceb46b9f2 05:13:55 Removing intermediate container 4c7ceb46b9f2 05:13:55 ---> 831052e1b52c 05:13:55 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:13:55 ---> Running in 2bc1207359d6 05:13:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:13:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:13:57 (1/6) Installing dumb-init (1.2.2-r1) 05:13:57 (2/6) Installing libgcc (9.3.0-r2) 05:13:58 (3/6) Installing libsodium (1.0.18-r0) 05:13:58 (4/6) Installing libstdc++ (9.3.0-r2) 05:13:58 (5/6) Installing libzmq (4.3.3-r0) 05:13:58 (6/6) Installing zeromq (4.3.3-r0) 05:13:58 Executing busybox-1.31.1-r20.trigger 05:13:58 OK: 8 MiB in 20 packages 05:13:59 Removing intermediate container 2bc1207359d6 05:13:59 ---> 693fd96657f2 05:13:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:14:01 ---> 7bf233676a73 05:14:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:14:02 ---> f95ec13d72f7 05:14:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:14:02 ---> c6795b871a04 05:14:02 Step 17/22 : EXPOSE 59901 05:14:03 ---> Running in 8374d3dd439e 05:14:03 Removing intermediate container 8374d3dd439e 05:14:03 ---> 640b04b863bb 05:14:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:14:03 ---> Running in dc5a827a9a17 05:14:03 Removing intermediate container dc5a827a9a17 05:14:03 ---> b4df4a3b5acf 05:14:03 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:14:04 ---> Running in 3f9e53ed9691 05:14:04 Removing intermediate container 3f9e53ed9691 05:14:04 ---> 5e328a864dfe 05:14:04 Step 20/22 : LABEL arch=arm64 05:14:04 ---> Running in fe051019b707 05:14:05 Removing intermediate container fe051019b707 05:14:05 ---> d1a228642c17 05:14:05 Step 21/22 : LABEL git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:14:05 ---> Running in 51eecb97bd77 05:14:05 Removing intermediate container 51eecb97bd77 05:14:05 ---> 821e866e8aed 05:14:05 Step 22/22 : LABEL version=1.3.2-dev.17 05:14:05 ---> Running in 7201fa5d9318 05:14:06 Removing intermediate container 7201fa5d9318 05:14:06 ---> 4aaebb0ea725 05:14:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:14:06 Successfully built 4aaebb0ea725 05:14:06 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:06 provisioning config files... 05:14:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config4582024512991692115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:07 ---> docker-login.sh 05:14:07 nexus3.edgexfoundry.org:10001 05:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:07 Configure a credential helper to remove this warning. See 05:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:07 05:14:07 Login Succeeded 05:14:07 nexus3.edgexfoundry.org:10002 05:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:08 Configure a credential helper to remove this warning. See 05:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:08 05:14:08 Login Succeeded 05:14:08 nexus3.edgexfoundry.org:10003 05:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:08 Configure a credential helper to remove this warning. See 05:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:08 05:14:08 Login Succeeded 05:14:08 nexus3.edgexfoundry.org:10004 05:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:09 Configure a credential helper to remove this warning. See 05:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:09 05:14:09 Login Succeeded 05:14:09 docker.io 05:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:10 Configure a credential helper to remove this warning. See 05:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:10 05:14:10 Login Succeeded 05:14:10 ---> docker-login.sh ends [Pipeline] } 05:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:14:10 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:14:10 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:14:10 latest 05:14:10 1.3.2-dev.17 05:14:10 c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:14:10 master 05:14:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:14:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh 05:14:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:14:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:14:11 0b96a80dbce1: Preparing 05:14:11 792358e4aa38: Preparing 05:14:11 8a0bf9626940: Preparing 05:14:11 3d91b25b6f9c: Preparing 05:14:11 489e4c7ec042: Preparing 05:14:11 3fbe34a1663b: Preparing 05:14:11 3fbe34a1663b: Waiting 05:14:11 792358e4aa38: Pushed 05:14:11 489e4c7ec042: Pushed 05:14:11 0b96a80dbce1: Pushed 05:14:11 3fbe34a1663b: Layer already exists 05:14:12 3d91b25b6f9c: Pushed 05:14:14 8a0bf9626940: Pushed 05:14:14 c0fea384d14ce91369cd6ac3614cfd01ba9409e9: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh 05:14:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:14:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:14:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:14:15 0b96a80dbce1: Preparing 05:14:15 792358e4aa38: Preparing 05:14:15 8a0bf9626940: Preparing 05:14:15 3d91b25b6f9c: Preparing 05:14:15 489e4c7ec042: Preparing 05:14:15 3fbe34a1663b: Preparing 05:14:15 3fbe34a1663b: Waiting 05:14:15 3d91b25b6f9c: Layer already exists 05:14:15 792358e4aa38: Layer already exists 05:14:15 0b96a80dbce1: Layer already exists 05:14:15 8a0bf9626940: Layer already exists 05:14:15 489e4c7ec042: Layer already exists 05:14:15 3fbe34a1663b: Layer already exists 05:14:15 latest: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh 05:14:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:14:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 05:14:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:14:16 0b96a80dbce1: Preparing 05:14:16 792358e4aa38: Preparing 05:14:16 8a0bf9626940: Preparing 05:14:16 3d91b25b6f9c: Preparing 05:14:16 489e4c7ec042: Preparing 05:14:16 3fbe34a1663b: Preparing 05:14:16 3fbe34a1663b: Waiting 05:14:16 792358e4aa38: Layer already exists 05:14:16 3d91b25b6f9c: Layer already exists 05:14:16 489e4c7ec042: Layer already exists 05:14:16 0b96a80dbce1: Layer already exists 05:14:16 8a0bf9626940: Layer already exists 05:14:16 3fbe34a1663b: Layer already exists 05:14:16 1.3.2-dev.17: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh 05:14:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:14:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:14:17 0b96a80dbce1: Preparing 05:14:17 792358e4aa38: Preparing 05:14:17 8a0bf9626940: Preparing 05:14:17 3d91b25b6f9c: Preparing 05:14:17 489e4c7ec042: Preparing 05:14:17 3fbe34a1663b: Preparing 05:14:17 3fbe34a1663b: Waiting 05:14:17 3d91b25b6f9c: Layer already exists 05:14:17 489e4c7ec042: Layer already exists 05:14:17 792358e4aa38: Layer already exists 05:14:17 8a0bf9626940: Layer already exists 05:14:17 0b96a80dbce1: Layer already exists 05:14:17 3fbe34a1663b: Layer already exists 05:14:17 c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh 05:14:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 05:14:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 05:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:14:18 0b96a80dbce1: Preparing 05:14:18 792358e4aa38: Preparing 05:14:18 8a0bf9626940: Preparing 05:14:18 3d91b25b6f9c: Preparing 05:14:18 489e4c7ec042: Preparing 05:14:18 3fbe34a1663b: Preparing 05:14:18 3fbe34a1663b: Waiting 05:14:18 0b96a80dbce1: Layer already exists 05:14:18 8a0bf9626940: Layer already exists 05:14:18 489e4c7ec042: Layer already exists 05:14:18 3d91b25b6f9c: Layer already exists 05:14:18 792358e4aa38: Layer already exists 05:14:18 3fbe34a1663b: Layer already exists 05:14:18 master: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:14:18 ===================================================== [Pipeline] echo 05:14:18 taggedImages: 05:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 05:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 05:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 05:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:14:18 ---> job-cost.sh 05:14:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B6sY 05:14:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:16:19 lf-activate-venv(): INFO: Adding /tmp/venv-B6sY/bin to PATH 05:16:19 INFO: No Stack... 05:16:19 INFO: Retrieving Pricing Info for: v2-standard-4 05:16:20 INFO: Archiving Costs [Pipeline] sh 05:16:20 + + cat /w/workspace/device-modbus-go/56/archives/cost.csv 05:16:20 cut -d, -f6 [Pipeline] lock 05:16:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] 05:16:20 Resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] did not exist. Created. 05:16:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:21 /w/workspace/device-modbus-go/56@tmp/durable-336fd6e7/script.sh: 1: /w/workspace/device-modbus-go/56@tmp/durable-336fd6e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:21 + echo total: 0.18000000715255737 [Pipeline] stash 05:16:21 Warning: overwriting stash ‘stack-cost’ 05:16:21 Stashed 1 file(s) [Pipeline] } 05:16:21 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:16:22 provisioning config files... 05:16:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3204701606926912612tmp [Pipeline] { [Pipeline] sh 05:16:22 + set +x 05:16:22 + curl -s https://codecov.io/bash 05:16:22 + bash -s -- 05:16:22 05:16:22 _____ _ 05:16:22 / ____| | | 05:16:22 | | ___ __| | ___ ___ _____ __ 05:16:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:22 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:22 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:22 Bash-1.0.3 05:16:22 05:16:22 05:16:22 ==> git version 2.24.4 found 05:16:22 ==> 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 05:16:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:16:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:16:22 ==> Jenkins CI detected. 05:16:22 project root: . 05:16:22 --> token set from env 05:16:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:23 ==> Running gcov in . (disable via -X gcov) 05:16:23 ==> Python coveragepy not found 05:16:23 ==> Searching for coverage reports in: 05:16:23 + . 05:16:23 -> Found 1 reports 05:16:23 ==> Detecting git/mercurial file structure 05:16:23 ==> Reading reports 05:16:23 + ./coverage.out bytes=22385 05:16:23 ==> Appending adjustments 05:16:23 https://docs.codecov.io/docs/fixing-reports 05:16:23 + Found adjustments 05:16:23 ==> Gzipping contents 05:16:23 4.0K /tmp/codecov.WdEXPO.gz 05:16:23 ==> Uploading reports 05:16:23 url: https://codecov.io 05:16:23 query: branch=master&commit=c0fea384d14ce91369cd6ac3614cfd01ba9409e9&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:16:23 -> Pinging Codecov 05:16:23 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=c0fea384d14ce91369cd6ac3614cfd01ba9409e9&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:16:23 -> Uploading to 05:16:23 https://storage.googleapis.com/codecov/v4/raw/2021-06-15/55DBCA73C666E3227836607328DD7E49/c0fea384d14ce91369cd6ac3614cfd01ba9409e9/c57c9f24-797c-4dc7-8681-b2b9c96ac9ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210615%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210615T051623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66c3f73e90ac21be4197f9dff331b4d902b77877827ac36e197e18ee3f15a7d6 05:16:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:23 Dload Upload Total Spent Left Speed 05:16:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 9487 --:--:-- --:--:-- --:--:-- 9498 05:16:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] } 05:16:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:16:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:16:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:16:24 05:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:16:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:16:25 188c0c94c7c5: Pulling fs layer 05:16:25 0ef7d3d256c8: Pulling fs layer 05:16:25 de9db76c5a1d: Pulling fs layer 05:16:25 0eba1c9be4d2: Pulling fs layer 05:16:25 0d57e429df01: Pulling fs layer 05:16:25 4e4be7b47b0d: Pulling fs layer 05:16:25 e1f770b5df2f: Pulling fs layer 05:16:25 85a0685a4137: Pulling fs layer 05:16:25 0d57e429df01: Waiting 05:16:25 4e4be7b47b0d: Waiting 05:16:25 e1f770b5df2f: Waiting 05:16:25 85a0685a4137: Waiting 05:16:25 0eba1c9be4d2: Waiting 05:16:25 de9db76c5a1d: Verifying Checksum 05:16:25 de9db76c5a1d: Download complete 05:16:25 0ef7d3d256c8: Verifying Checksum 05:16:25 0ef7d3d256c8: Download complete 05:16:25 0d57e429df01: Verifying Checksum 05:16:25 0d57e429df01: Download complete 05:16:25 188c0c94c7c5: Verifying Checksum 05:16:25 188c0c94c7c5: Download complete 05:16:25 188c0c94c7c5: Pull complete 05:16:25 0ef7d3d256c8: Pull complete 05:16:25 de9db76c5a1d: Pull complete 05:16:26 e1f770b5df2f: Verifying Checksum 05:16:26 e1f770b5df2f: Download complete 05:16:26 4e4be7b47b0d: Verifying Checksum 05:16:26 4e4be7b47b0d: Download complete 05:16:28 0eba1c9be4d2: Verifying Checksum 05:16:28 0eba1c9be4d2: Download complete 05:16:28 85a0685a4137: Verifying Checksum 05:16:28 85a0685a4137: Download complete 05:16:31 0eba1c9be4d2: Pull complete 05:16:31 0d57e429df01: Pull complete 05:16:31 4e4be7b47b0d: Pull complete 05:16:32 e1f770b5df2f: Pull complete 05:16:36 85a0685a4137: Pull complete 05:16:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:16:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:16:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:16:36 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:16:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:16:40 $ docker top 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 -eo pid,comm [Pipeline] { [Pipeline] echo 05:16:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:16:40 + set -o pipefail 05:16:40 + snyk monitor '--org=edgex-jenkins' 05:16:47 05:16:47 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 05:16:47 05:16:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/4ebe24b1-0272-43d7-a595-8cf0d8526258 05:16:47 05:16:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:16:47 05:16:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:16:47 05:16:47 [Pipeline] } 05:16:47 $ docker stop --time=1 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 05:16:49 $ docker rm -f 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 [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 05:16:50 + git log --format=format:%s -1 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh 05:16:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:16:51 . [Pipeline] withDockerContainer 05:16:51 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:16:51 $ docker top b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:16:51 [ssh-agent] Looking for ssh-agent implementation... 05:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:16:51 $ docker exec b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d ssh-agent 05:16:52 SSH_AUTH_SOCK=/tmp/ssh-wfK0Jz1Udzb0/agent.14 05:16:52 SSH_AGENT_PID=20 05:16:52 Running ssh-add (command line suppressed) 05:16:52 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3060738668480476882.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3060738668480476882.key) 05:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:16:52 + git semver tag 05:16:52 # -> Open(): unable to determine branch for HEAD 05:16:52 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:16:52 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:16:52 # $SEMVER_REMOTE_NAME = origin 05:16:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:16:52 # $SEMVER_USER_NAME = edgex-jenkins 05:16:52 # $SEMVER_BRANCH = master 05:16:52 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 05:16:52 # c0fea384d14ce91369cd6ac3614cfd01ba9409e9 HEAD 05:16:52 # -> Force: false 05:16:52 # e40b9b1208a089c84a923286cfd25ebd8e2bbff0 refs/tags/v1.3.2-dev.17 [Pipeline] } 05:16:52 $ docker exec --env ******** --env ******** b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d ssh-agent -k 05:16:52 unset SSH_AUTH_SOCK; 05:16:52 unset SSH_AGENT_PID; 05:16:52 echo Agent pid 20 killed; 05:16:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:16:52 + git semver [Pipeline] } 05:16:52 $ docker stop --time=1 b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d 05:16:54 $ docker rm -f b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:16:54 05:16:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:16:54 0.23.1-centos7: Pulling from edgex-lftools 05:16:54 ab5ef0e58194: Pulling fs layer 05:16:54 9712f1f96733: Pulling fs layer 05:16:54 63f879dbbcfc: Pulling fs layer 05:16:54 0d9ebad4ef96: Pulling fs layer 05:16:54 e9a5061849ea: Pulling fs layer 05:16:54 d747dcd14b5f: Pulling fs layer 05:16:54 2de7ff778b66: Pulling fs layer 05:16:54 0d9ebad4ef96: Waiting 05:16:54 e9a5061849ea: Waiting 05:16:54 d747dcd14b5f: Waiting 05:16:54 2de7ff778b66: Waiting 05:16:54 9712f1f96733: Verifying Checksum 05:16:54 9712f1f96733: Download complete 05:16:56 63f879dbbcfc: Verifying Checksum 05:16:56 63f879dbbcfc: Download complete 05:16:56 e9a5061849ea: Verifying Checksum 05:16:56 e9a5061849ea: Download complete 05:16:56 d747dcd14b5f: Verifying Checksum 05:16:56 d747dcd14b5f: Download complete 05:16:57 2de7ff778b66: Verifying Checksum 05:16:57 2de7ff778b66: Download complete 05:16:57 0d9ebad4ef96: Verifying Checksum 05:16:57 0d9ebad4ef96: Download complete 05:16:57 ab5ef0e58194: Download complete 05:16:59 ab5ef0e58194: Pull complete 05:16:59 9712f1f96733: Pull complete 05:17:00 63f879dbbcfc: Pull complete 05:17:03 0d9ebad4ef96: Pull complete 05:17:03 e9a5061849ea: Pull complete 05:17:03 d747dcd14b5f: Pull complete 05:17:04 2de7ff778b66: Pull complete 05:17:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:17:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:17:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:17:04 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:17:09 $ docker top ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:17:09 provisioning config files... 05:17:09 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4990061661206772009tmp 05:17:09 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8361263814786073698tmp 05:17:09 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6600073769630059218tmp [Pipeline] { [Pipeline] echo 05:17:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:17:09 ---> sigul-configuration.sh 05:17:09 gpg: directory `/root/.gnupg' created 05:17:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:17:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:17:09 gpg: keyring `/root/.gnupg/secring.gpg' created 05:17:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:17:09 gpg: CAST5 encrypted data 05:17:09 gpg: encrypted with 1 passphrase 05:17:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:17:09 + mkdir /home/jenkins 05:17:09 + mkdir /home/jenkins/sigul [Pipeline] sh 05:17:10 + 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 05:17:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:17:10 ---> sigul-install.sh 05:17:15 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:17:16 + git tag --list 05:17:16 0.7.1 05:17:16 v1.0.0 05:17:16 v1.1.0 05:17:16 v1.1.1 05:17:16 v1.2.2 05:17:16 v1.3.0 05:17:16 v1.3.1 05:17:16 v1.3.1-dev.1 05:17:16 v1.3.1-dev.2 05:17:16 v1.3.1-dev.3 05:17:16 v1.3.1-dev.4 05:17:16 v1.3.1-dev.5 05:17:16 v1.3.1-dev.6 05:17:16 v1.3.1-dev.7 05:17:16 v1.3.1-dev.8 05:17:16 v1.3.2-dev.1 05:17:16 v1.3.2-dev.10 05:17:16 v1.3.2-dev.11 05:17:16 v1.3.2-dev.12 05:17:16 v1.3.2-dev.13 05:17:16 v1.3.2-dev.14 05:17:16 v1.3.2-dev.15 05:17:16 v1.3.2-dev.16 05:17:16 v1.3.2-dev.17 05:17:16 v1.3.2-dev.2 05:17:16 v1.3.2-dev.3 05:17:16 v1.3.2-dev.4 05:17:16 v1.3.2-dev.5 05:17:16 v1.3.2-dev.6 05:17:16 v1.3.2-dev.7 05:17:16 v1.3.2-dev.8 05:17:16 v1.3.2-dev.9 [Pipeline] sh 05:17:16 + lftools sign git-tag v1.3.2-dev.17 05:17:17 Signing Git tag with Sigul... 05:17:17 Signing v1.3.2-dev.17 [Pipeline] echo 05:17:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:17:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:17:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:17:18 $ docker stop --time=1 ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a 05:17:20 $ docker rm -f ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:17:20 . [Pipeline] withDockerContainer 05:17:21 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:17:21 $ docker top e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:21 [ssh-agent] Looking for ssh-agent implementation... 05:17:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:21 $ docker exec e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 ssh-agent 05:17:21 SSH_AUTH_SOCK=/tmp/ssh-CTZxcS5NFYC9/agent.14 05:17:21 SSH_AGENT_PID=19 05:17:21 Running ssh-add (command line suppressed) 05:17:21 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6357962673524412157.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6357962673524412157.key) 05:17:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:22 + git semver bump pre 05:17:22 # -> Open(): unable to determine branch for HEAD 05:17:22 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:17:22 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:17:22 # $SEMVER_REMOTE_NAME = origin 05:17:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:17:22 # $SEMVER_USER_NAME = edgex-jenkins 05:17:22 # $SEMVER_BRANCH = master 05:17:22 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 05:17:22 1.3.2-dev.18 [Pipeline] } 05:17:22 $ docker exec --env ******** --env ******** e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 ssh-agent -k 05:17:22 unset SSH_AUTH_SOCK; 05:17:22 unset SSH_AGENT_PID; 05:17:22 echo Agent pid 19 killed; 05:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:22 + git semver [Pipeline] } 05:17:22 $ docker stop --time=1 e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 05:17:23 $ docker rm -f e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:17:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:17:24 . [Pipeline] withDockerContainer 05:17:24 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:17: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:17:24 $ docker top ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:24 [ssh-agent] Looking for ssh-agent implementation... 05:17:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:24 $ docker exec ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 ssh-agent 05:17:25 SSH_AUTH_SOCK=/tmp/ssh-VvG56CWIgWuK/agent.14 05:17:25 SSH_AGENT_PID=20 05:17:25 Running ssh-add (command line suppressed) 05:17:25 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7197424146150608973.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7197424146150608973.key) 05:17:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:25 + git semver push 05:17:25 # -> Open(): unable to determine branch for HEAD 05:17:25 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:17:25 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:17:25 # $SEMVER_REMOTE_NAME = origin 05:17:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:17:25 # $SEMVER_USER_NAME = edgex-jenkins 05:17:25 # $SEMVER_BRANCH = master 05:17:25 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 05:17:29 $ docker exec --env ******** --env ******** ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 ssh-agent -k 05:17:29 unset SSH_AUTH_SOCK; 05:17:29 unset SSH_AGENT_PID; 05:17:29 echo Agent pid 20 killed; 05:17:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:30 + git semver [Pipeline] } 05:17:30 $ docker stop --time=1 ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 05:17:31 $ docker rm -f ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 [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 05:17:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:32 ---> package-listing.sh 05:17:32 ++ facter osfamily 05:17:32 ++ tr '[:upper:]' '[:lower:]' 05:17:33 + OS_FAMILY=redhat 05:17:33 + workspace=/w/workspace/xfoundry_device-modbus-go_master 05:17:33 + START_PACKAGES=/tmp/packages_start.txt 05:17:33 + END_PACKAGES=/tmp/packages_end.txt 05:17:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:33 + PACKAGES=/tmp/packages_start.txt 05:17:33 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 05:17:33 + PACKAGES=/tmp/packages_end.txt 05:17:33 + case "${OS_FAMILY}" in 05:17:33 + rpm -qa 05:17:33 + sort 05:17:33 + '[' -f /tmp/packages_start.txt ']' 05:17:33 + '[' -f /tmp/packages_end.txt ']' 05:17:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:33 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 05:17:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 05:17:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 05:17:33 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 05:17:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:34 05:17:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:35 alpine: Pulling from edgex-lftools-log-publisher 05:17:35 df20fa9351a1: Pulling fs layer 05:17:35 36b3adc4ff6f: Pulling fs layer 05:17:35 8ad3a11d3b57: Pulling fs layer 05:17:35 46f8f816bc3b: Pulling fs layer 05:17:35 93b61091891f: Pulling fs layer 05:17:35 93b9cdb0e59b: Pulling fs layer 05:17:35 5e14af77c1be: Pulling fs layer 05:17:35 01666e4c0597: Pulling fs layer 05:17:35 aa168da1d23b: Pulling fs layer 05:17:35 93b9cdb0e59b: Waiting 05:17:35 5e14af77c1be: Waiting 05:17:35 01666e4c0597: Waiting 05:17:35 aa168da1d23b: Waiting 05:17:35 46f8f816bc3b: Waiting 05:17:35 93b61091891f: Waiting 05:17:35 36b3adc4ff6f: Verifying Checksum 05:17:35 36b3adc4ff6f: Download complete 05:17:35 46f8f816bc3b: Verifying Checksum 05:17:35 46f8f816bc3b: Download complete 05:17:35 df20fa9351a1: Verifying Checksum 05:17:35 df20fa9351a1: Download complete 05:17:35 93b9cdb0e59b: Verifying Checksum 05:17:35 93b9cdb0e59b: Download complete 05:17:35 93b61091891f: Verifying Checksum 05:17:35 93b61091891f: Download complete 05:17:35 5e14af77c1be: Verifying Checksum 05:17:35 5e14af77c1be: Download complete 05:17:35 01666e4c0597: Verifying Checksum 05:17:35 01666e4c0597: Download complete 05:17:35 df20fa9351a1: Pull complete 05:17:35 8ad3a11d3b57: Verifying Checksum 05:17:35 8ad3a11d3b57: Download complete 05:17:35 36b3adc4ff6f: Pull complete 05:17:36 8ad3a11d3b57: Pull complete 05:17:36 46f8f816bc3b: Pull complete 05:17:36 93b61091891f: Pull complete 05:17:36 93b9cdb0e59b: Pull complete 05:17:36 5e14af77c1be: Pull complete 05:17:36 01666e4c0597: Pull complete 05:17:37 aa168da1d23b: Verifying Checksum 05:17:37 aa168da1d23b: Download complete 05:17:41 aa168da1d23b: Pull complete 05:17:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:17:41 prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container 05:17:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:17:44 $ docker top 7d2f74e618e2884b54d6d33b7381f7e613679e12e16d57b320eb5308beee1ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:44 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:44 + mkdir -p /var/log/sa [Pipeline] sh 05:17:45 + ls /var/log/sa-host 05:17:45 + sadf -c /var/log/sa-host/sa05 05:17:45 file_magic: OK 05:17:45 HZ: Using current value: 100 05:17:45 file_header: OK 05:17:45 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 05:17:45 Statistics: 05:17:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:17:45 File successfully converted to sysstat format version 12.2.1 05:17:45 + sadf -c /var/log/sa-host/sa15 05:17:45 file_magic: OK 05:17:45 HZ: Using current value: 100 05:17:45 file_header: OK 05:17:45 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 05:17:45 Statistics: 05:17:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:17:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:45 provisioning config files... 05:17:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2291797343019167871tmp [Pipeline] { [Pipeline] echo 05:17:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:45 ---> create-netrc.sh [Pipeline] } 05:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:17:45 ---> python-tools-install.sh [Pipeline] echo 05:17:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:46 ---> sudo-logs.sh 05:17:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:46 ---> job-cost.sh 05:17:46 lf-activate-venv: SKIPPING 05:17:46 DEBUG: total: 0.18000000715255737 05:17:46 INFO: Retrieving Stack Cost... 05:17:47 INFO: Retrieving Pricing Info for: v3-standard-2 05:17:47 INFO: Archiving Costs [Pipeline] echo 05:17:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:48 ---> logs-deploy.sh 05:17:48 lf-activate-venv: SKIPPING 05:17:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/56 05:17:48 INFO: archiving workspace using pattern(s): 05:17:51 Archives upload complete. 05:17:51 INFO: archiving logs to Nexus 05:17:51 ---> uname -a: 05:17:51 Linux prd-centos7-docker-4c-2g-1422.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 05:17:51 05:17:51 05:17:51 ---> lscpu: 05:17:51 Architecture: x86_64 05:17:51 CPU op-mode(s): 32-bit, 64-bit 05:17:51 Byte Order: Little Endian 05:17:51 Address sizes: 40 bits physical, 48 bits virtual 05:17:51 CPU(s): 2 05:17:51 On-line CPU(s) list: 0,1 05:17:51 Thread(s) per core: 1 05:17:51 Core(s) per socket: 1 05:17:51 Socket(s): 2 05:17:51 NUMA node(s): 1 05:17:51 Vendor ID: AuthenticAMD 05:17:51 CPU family: 23 05:17:51 Model: 49 05:17:51 Model name: AMD EPYC-Rome Processor 05:17:51 Stepping: 0 05:17:51 CPU MHz: 2800.000 05:17:51 BogoMIPS: 5600.00 05:17:51 Virtualization: AMD-V 05:17:51 Hypervisor vendor: KVM 05:17:51 Virtualization type: full 05:17:51 L1d cache: 64 KiB 05:17:51 L1i cache: 64 KiB 05:17:51 L2 cache: 1 MiB 05:17:51 L3 cache: 32 MiB 05:17:51 NUMA node0 CPU(s): 0,1 05:17:51 Vulnerability Itlb multihit: Not affected 05:17:51 Vulnerability L1tf: Not affected 05:17:51 Vulnerability Mds: Not affected 05:17:51 Vulnerability Meltdown: Not affected 05:17:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:17:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:17:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:17:51 Vulnerability Srbds: Not affected 05:17:51 Vulnerability Tsx async abort: Not affected 05:17:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 05:17:51 05:17:51 05:17:51 ---> nproc: 05:17:51 2 05:17:51 05:17:51 05:17:51 ---> df -h: 05:17:51 Filesystem Size Used Available Use% Mounted on 05:17:51 overlay 40.0G 8.9G 31.1G 22% / 05:17:51 tmpfs 64.0M 0 64.0M 0% /dev 05:17:51 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 05:17:51 shm 64.0M 0 64.0M 0% /dev/shm 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 05:17:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 05:17:51 05:17:51 05:17:51 ---> free -m: 05:17:51 total used free shared buff/cache available 05:17:51 Mem: 7821 1174 3262 0 3384 6565 05:17:51 Swap: 1023 0 1023 05:17:51 05:17:51 05:17:51 ---> ip addr: 05:17:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:17:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:17:51 inet 127.0.0.1/8 scope host lo 05:17:51 valid_lft forever preferred_lft forever 05:17:51 inet6 ::1/128 scope host 05:17:51 valid_lft forever preferred_lft forever 05:17:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:17:51 link/ether fa:16:3e:03:17:07 brd ff:ff:ff:ff:ff:ff 05:17:51 inet 10.30.122.41/23 brd 10.30.123.255 scope global dynamic eth0 05:17:51 valid_lft 85671sec preferred_lft 85671sec 05:17:51 inet6 fe80::f816:3eff:fe03:1707/64 scope link 05:17:51 valid_lft forever preferred_lft forever 05:17:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:17:51 link/ether 02:42:85:ae:63:40 brd ff:ff:ff:ff:ff:ff 05:17:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:17:51 valid_lft forever preferred_lft forever 05:17:51 inet6 fe80::42:85ff:feae:6340/64 scope link 05:17:51 valid_lft forever preferred_lft forever 05:17:51 05:17:51 05:17:51 ---> sar -b -r -n DEV: 05:17:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/15/21 _x86_64_ (2 CPU) 05:17:51 05:17:51 05:05:30 LINUX RESTART (2 CPU) 05:17:51 05:17:51 05:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:17:51 05:07:01 78.68 3.91 74.77 0.00 2645.26 3400.63 0.00 05:17:51 05:08:01 0.32 0.00 0.32 0.00 0.00 5.26 0.00 05:17:51 05:09:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 05:17:51 05:10:01 0.18 0.00 0.18 0.00 0.00 2.96 0.00 05:17:51 05:11:01 0.27 0.00 0.27 0.00 0.00 3.66 0.00 05:17:51 05:12:01 0.38 0.00 0.38 0.00 0.00 5.16 0.00 05:17:51 05:13:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 05:17:51 05:14:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 05:17:51 05:15:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 05:17:51 05:16:01 0.22 0.00 0.22 0.00 0.00 3.52 0.00 05:17:51 05:17:01 114.93 0.03 114.89 0.00 3.73 31970.76 0.00 05:17:51 Average: 17.84 0.36 17.48 0.00 241.24 3223.25 0.00 05:17:51 05:17:51 05:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:17:51 05:07:01 5462456 0 807196 10.08 2620 1736668 1289340 14.24 573476 1573132 20 05:17:51 05:08:01 5474196 0 795448 9.93 2620 1736676 1198280 13.23 563992 1573100 16 05:17:51 05:09:01 5472764 0 796880 9.95 2620 1736676 1198496 13.23 562368 1575864 8 05:17:51 05:10:01 5471192 0 798444 9.97 2620 1736684 1198580 13.23 564076 1575864 20 05:17:51 05:11:01 5472296 0 797332 9.96 2620 1736692 1198448 13.23 560828 1578216 16 05:17:51 05:12:01 5472820 0 796808 9.95 2620 1736692 1198352 13.23 560428 1578216 12 05:17:51 05:13:01 5471264 0 798356 9.97 2620 1736700 1198472 13.23 561772 1578216 16 05:17:51 05:14:01 5471416 0 798200 9.97 2620 1736704 1198280 13.23 561556 1578216 8 05:17:51 05:15:01 5459752 0 809860 10.11 2620 1736708 1198280 13.23 573472 1578216 16 05:17:51 05:16:01 5458812 0 810796 10.12 2620 1736712 1198500 13.23 576532 1576488 16 05:17:51 05:17:01 4048056 0 1024800 12.80 2620 2933464 1705068 18.82 861612 2574232 477996 05:17:51 Average: 5339548 0 821284 10.25 2620 1845489 1252736 13.83 592737 1667251 43468 05:17:51 05:17:51 05:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:17:51 05:07:01 eth0 294.30 208.53 620.12 51.24 0.00 0.00 0.00 0.00 05:17:51 05:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:07:01 docker0 2.51 1.70 0.55 5.48 0.00 0.00 0.00 0.00 05:17:51 05:08:01 eth0 0.48 0.07 0.05 0.01 0.00 0.00 0.00 0.00 05:17:51 05:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:09:01 eth0 1.77 0.30 0.38 0.17 0.00 0.00 0.00 0.00 05:17:51 05:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:10:01 eth0 1.73 0.52 0.60 0.42 0.00 0.00 0.00 0.00 05:17:51 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:11:01 eth0 0.67 0.40 0.35 0.24 0.00 0.00 0.00 0.00 05:17:51 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:12:01 eth0 0.57 0.13 0.11 0.04 0.00 0.00 0.00 0.00 05:17:51 05:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:13:01 eth0 0.57 0.28 0.28 0.20 0.00 0.00 0.00 0.00 05:17:51 05:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:14:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:17:51 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:15:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:17:51 05:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:16:01 eth0 1.08 0.39 0.40 0.24 0.00 0.00 0.00 0.00 05:17:51 05:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:17:01 eth0 828.39 766.87 7671.46 90.20 0.00 0.00 0.00 0.00 05:17:51 05:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 05:17:01 docker0 65.33 66.87 5.40 384.68 0.00 0.00 0.00 0.00 05:17:51 Average: eth0 102.86 89.01 755.08 13.00 0.00 0.00 0.00 0.00 05:17:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:17:51 Average: docker0 6.18 6.24 0.54 35.52 0.00 0.00 0.00 0.00 05:17:51 05:17:51 05:17:51 ---> sar -P ALL: 05:17:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/15/21 _x86_64_ (2 CPU) 05:17:51 05:17:51 05:05:30 LINUX RESTART (2 CPU) 05:17:51 05:17:51 05:06:01 CPU %user %nice %system %iowait %steal %idle 05:17:51 05:07:01 all 5.99 0.00 2.33 2.33 0.07 89.28 05:17:51 05:07:01 0 5.07 0.00 2.30 1.26 0.07 91.31 05:17:51 05:07:01 1 6.91 0.00 2.37 3.39 0.07 87.26 05:17:51 05:08:01 all 0.03 0.00 0.03 0.00 0.03 99.91 05:17:51 05:08:01 0 0.03 0.00 0.05 0.00 0.02 99.90 05:17:51 05:08:01 1 0.03 0.00 0.02 0.00 0.03 99.92 05:17:51 05:09:01 all 0.15 0.00 0.08 0.00 0.03 99.73 05:17:51 05:09:01 0 0.17 0.00 0.03 0.00 0.02 99.78 05:17:51 05:09:01 1 0.13 0.00 0.13 0.00 0.05 99.68 05:17:51 05:10:01 all 0.10 0.00 0.02 0.00 0.03 99.85 05:17:51 05:10:01 0 0.12 0.00 0.02 0.00 0.02 99.85 05:17:51 05:10:01 1 0.08 0.00 0.02 0.00 0.05 99.85 05:17:51 05:11:01 all 0.06 0.00 0.05 0.00 0.03 99.86 05:17:51 05:11:01 0 0.05 0.00 0.07 0.00 0.03 99.85 05:17:51 05:11:01 1 0.07 0.00 0.03 0.00 0.03 99.87 05:17:51 05:12:01 all 0.08 0.00 0.03 0.00 0.04 99.86 05:17:51 05:12:01 0 0.02 0.00 0.02 0.00 0.03 99.93 05:17:51 05:12:01 1 0.13 0.00 0.03 0.00 0.05 99.78 05:17:51 05:13:01 all 0.11 0.00 0.02 0.00 0.03 99.84 05:17:51 05:13:01 0 0.17 0.00 0.02 0.00 0.02 99.80 05:17:51 05:13:01 1 0.05 0.00 0.02 0.00 0.05 99.88 05:17:51 05:14:01 all 0.06 0.00 0.03 0.00 0.03 99.87 05:17:51 05:14:01 0 0.10 0.00 0.03 0.00 0.02 99.85 05:17:51 05:14:01 1 0.02 0.00 0.03 0.00 0.05 99.90 05:17:51 05:15:01 all 0.08 0.00 0.02 0.00 0.03 99.87 05:17:51 05:15:01 0 0.10 0.00 0.02 0.00 0.02 99.87 05:17:51 05:15:01 1 0.05 0.00 0.02 0.00 0.05 99.88 05:17:51 05:16:01 all 0.06 0.00 0.02 0.00 0.03 99.89 05:17:51 05:16:01 0 0.07 0.00 0.02 0.00 0.03 99.88 05:17:51 05:16:01 1 0.05 0.00 0.02 0.00 0.03 99.90 05:17:51 05:17:01 all 16.52 0.00 6.62 4.59 0.08 72.19 05:17:51 05:17:01 0 16.54 0.00 6.97 3.54 0.09 72.87 05:17:51 05:17:01 1 16.50 0.00 6.28 5.63 0.07 71.52 05:17:51 05:17:51 Average: CPU %user %nice %system %iowait %steal %idle 05:17:51 Average: all 2.05 0.00 0.82 0.61 0.04 96.48 05:17:51 Average: 0 1.98 0.00 0.84 0.42 0.03 96.73 05:17:51 Average: 1 2.13 0.00 0.79 0.80 0.05 96.23 05:17:51 05:17:51 05:17:51