Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e1dcefe05451e99782283e97402c84988ce0a6d8 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-ssh6403442884861569734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh6561456124687442020.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh2649638911576553841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh1996397144835106651.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-ssh7226281958252615668.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-492 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-ssh2792462861499245006.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 e1dcefe05451e99782283e97402c84988ce0a6d8 (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 e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" > git rev-list --no-walk 23b2ace20fc3a54731961acf7f402a3079c58c8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:09:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:09:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:09:54 ========================================================= 03:09:54 EdgeX Global Pipelines Version Info 03:09:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:09:56 ------------------- 03:09:56 stable info: 03:09:56 ------------------- 03:09:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:09:56 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 03:09:56 Message: update stable to v1.0.193 03:09:56 ------------------- 03:09:56 experimental info: 03:09:56 ------------------- 03:09:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:09:56 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 03:09:56 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:09:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:09:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:09:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:09:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1dcefe [Pipeline] echo 03:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:57 provisioning config files... 03:09:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3614439096130413997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:58 ---> docker-login.sh 03:09:58 nexus3.edgexfoundry.org:10001 03:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:58 Configure a credential helper to remove this warning. See 03:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:58 03:09:58 Login Succeeded 03:09:58 nexus3.edgexfoundry.org:10002 03:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:58 Configure a credential helper to remove this warning. See 03:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:58 03:09:58 Login Succeeded 03:09:58 nexus3.edgexfoundry.org:10003 03:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:58 Configure a credential helper to remove this warning. See 03:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:58 03:09:58 Login Succeeded 03:09:58 nexus3.edgexfoundry.org:10004 03:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:58 Configure a credential helper to remove this warning. See 03:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:58 03:09:58 Login Succeeded 03:09:58 docker.io 03:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:59 Configure a credential helper to remove this warning. See 03:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:59 03:09:59 Login Succeeded 03:09:59 ---> docker-login.sh ends [Pipeline] } 03:09:59 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 03:09:59 + git log --format=format:%s -1 e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] echo 03:09:59 GIT_COMMIT: e1dcefe05451e99782283e97402c84988ce0a6d8, Commit Message: Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path [Pipeline] echo 03:09:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:10:00 03:10:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:10:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:10:00 latest: Pulling from edgex-devops/git-semver 03:10:00 31603596830f: Pulling fs layer 03:10:00 54011a49482f: Pulling fs layer 03:10:00 a6820b24f6d8: Pulling fs layer 03:10:00 f581987b2513: Pulling fs layer 03:10:00 f581987b2513: Waiting 03:10:00 54011a49482f: Verifying Checksum 03:10:00 54011a49482f: Download complete 03:10:00 31603596830f: Verifying Checksum 03:10:00 31603596830f: Download complete 03:10:00 f581987b2513: Verifying Checksum 03:10:00 f581987b2513: Download complete 03:10:00 a6820b24f6d8: Verifying Checksum 03:10:00 a6820b24f6d8: Download complete 03:10:01 31603596830f: Pull complete 03:10:01 54011a49482f: Pull complete 03:10:01 a6820b24f6d8: Pull complete 03:10:02 f581987b2513: Pull complete 03:10:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:10:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:10:02 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:10:03 $ docker top ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:03 [ssh-agent] Looking for ssh-agent implementation... 03:10:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:03 $ docker exec ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent 03:10:03 SSH_AUTH_SOCK=/tmp/ssh-H5MAYXNlEsB2/agent.13 03:10:03 SSH_AGENT_PID=20 03:10:03 Running ssh-add (command line suppressed) 03:10:03 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5079025012704383824.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5079025012704383824.key) 03:10:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:04 + git tag --points-at HEAD [Pipeline] } 03:10:04 $ docker exec --env ******** --env ******** ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent -k 03:10:04 unset SSH_AUTH_SOCK; 03:10:04 unset SSH_AGENT_PID; 03:10:04 echo Agent pid 20 killed; 03:10:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:10:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:04 [ssh-agent] Looking for ssh-agent implementation... 03:10:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:04 $ docker exec ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent 03:10:04 SSH_AUTH_SOCK=/tmp/ssh-Yt5i6J7gi7G3/agent.52 03:10:04 SSH_AGENT_PID=58 03:10:04 Running ssh-add (command line suppressed) 03:10:04 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3451043459623476610.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3451043459623476610.key) 03:10:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:04 + git semver init 03:10:04 # -> Open(): unable to determine branch for HEAD 03:10:04 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:10:04 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:10:04 # $SEMVER_REMOTE_NAME = origin 03:10:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:10:04 # $SEMVER_USER_NAME = edgex-jenkins 03:10:04 # $SEMVER_BRANCH = master 03:10:04 # $SEMVER_TEMP = /tmp/semver-613136619 03:10:04 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:10:05 # '/tmp/semver-613136619' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 03:10:05 # -> Force: false 03:10:05 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 03:10:05 $ docker exec --env ******** --env ******** ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent -k 03:10:06 unset SSH_AUTH_SOCK; 03:10:06 unset SSH_AGENT_PID; 03:10:06 echo Agent pid 58 killed; 03:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:06 + git semver [Pipeline] } 03:10:06 $ docker stop --time=1 ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 03:10:07 $ docker rm -f ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:10:08 Stashed 1 file(s) [Pipeline] echo 03:10:08 [edgeXSemver]: initialized semver on version 1.3.2-dev.14 [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 03:10:23 Still waiting to schedule task 03:10:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:10:23 Still waiting to schedule task 03:10:23 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ 03:12:17 Running on prd-centos7-docker-4c-2g-495 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 03:12:17 Running in /w/workspace/device-modbus-go/53 [Pipeline] { [Pipeline] checkout 03:12:17 Selected Git installation does not exist. Using Default 03:12:17 The recommended git tool is: NONE 03:12:20 using credential edgex-jenkins-ssh 03:12:20 Cloning the remote Git repository 03:12:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:12:20 > git init /w/workspace/device-modbus-go/53 # timeout=10 03:12:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:12:20 > git --version # timeout=10 03:12:20 > git --version # 'git version 2.24.4' 03:12:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:20 [INFO] Currently running in a labeled security context 03:12:20 [INFO] Currently SELinux is 'enforcing' on the host 03:12:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/53@tmp/jenkins-gitclient-ssh6705937710623702542.key 03:12:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:21 Avoid second fetch 03:12:21 Checking out Revision e1dcefe05451e99782283e97402c84988ce0a6d8 (master) 03:12:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:12:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:21 > git config core.sparsecheckout # timeout=10 03:12:21 > git checkout -f e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 03:12:25 Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:12:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:12:27 + sudo service docker restart 03:12:27 + true 03:12:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:49 provisioning config files... 03:12:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config3669157966302195080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:49 ---> docker-login.sh 03:12:49 nexus3.edgexfoundry.org:10001 03:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:50 Configure a credential helper to remove this warning. See 03:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:50 03:12:50 Login Succeeded 03:12:50 nexus3.edgexfoundry.org:10002 03:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:50 Configure a credential helper to remove this warning. See 03:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:50 03:12:50 Login Succeeded 03:12:50 nexus3.edgexfoundry.org:10003 03:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:51 Configure a credential helper to remove this warning. See 03:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:51 03:12:51 Login Succeeded 03:12:51 nexus3.edgexfoundry.org:10004 03:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:51 Configure a credential helper to remove this warning. See 03:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:51 03:12:51 Login Succeeded 03:12:51 docker.io 03:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:51 Configure a credential helper to remove this warning. See 03:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:51 03:12:51 Login Succeeded 03:12:51 ---> docker-login.sh ends [Pipeline] } 03:12:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:51 ========================================================= 03:12:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:12:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:12:52 + 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 . 03:12:52 Sending build context to Docker daemon 617.5kB 03:12:52 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:12:52 Step 2/8 : FROM ${BASE} 03:12:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:52 540db60ca938: Pulling fs layer 03:12:52 adcc1eea9eea: Pulling fs layer 03:12:52 4c4ab2625f07: Pulling fs layer 03:12:52 0510c868ecb4: Pulling fs layer 03:12:52 afea3b2eda06: Pulling fs layer 03:12:52 7809a108b3ef: Pulling fs layer 03:12:52 f706445af74f: Pulling fs layer 03:12:52 0510c868ecb4: Waiting 03:12:52 afea3b2eda06: Waiting 03:12:52 7809a108b3ef: Waiting 03:12:52 f706445af74f: Waiting 03:12:52 4c4ab2625f07: Verifying Checksum 03:12:52 4c4ab2625f07: Download complete 03:12:52 adcc1eea9eea: Download complete 03:12:52 afea3b2eda06: Verifying Checksum 03:12:52 afea3b2eda06: Download complete 03:12:52 540db60ca938: Verifying Checksum 03:12:52 540db60ca938: Download complete 03:12:52 7809a108b3ef: Verifying Checksum 03:12:52 7809a108b3ef: Download complete 03:12:53 540db60ca938: Pull complete 03:12:53 adcc1eea9eea: Pull complete 03:12:53 4c4ab2625f07: Pull complete 03:12:54 f706445af74f: Verifying Checksum 03:12:54 f706445af74f: Download complete 03:12:55 0510c868ecb4: Verifying Checksum 03:12:55 0510c868ecb4: Download complete 03:13:00 0510c868ecb4: Pull complete 03:13:00 afea3b2eda06: Pull complete 03:13:00 7809a108b3ef: Pull complete 03:13:02 f706445af74f: Pull complete 03:13:02 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:13:02 ---> b068be0155e3 03:13:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 03:13:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-498 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 03:13:14 Running in /w/workspace/device-modbus-go/53 [Pipeline] { [Pipeline] checkout 03:13:14 Selected Git installation does not exist. Using Default 03:13:14 The recommended git tool is: NONE 03:13:19 using credential edgex-jenkins-ssh 03:13:19 Cloning the remote Git repository 03:13:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:13:20 > git init /w/workspace/device-modbus-go/53 # timeout=10 03:13:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:13:20 > git --version # timeout=10 03:13:20 > git --version # 'git version 2.17.1' 03:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:21 Avoid second fetch 03:13:21 Checking out Revision e1dcefe05451e99782283e97402c84988ce0a6d8 (master) 03:13:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:13:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:21 > git config core.sparsecheckout # timeout=10 03:13:21 > git checkout -f e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 03:13:25 Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:13:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:13:27 + sudo service docker restart 03:13:27 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:46 provisioning config files... 03:13:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config2907999344462428408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:46 ---> docker-login.sh 03:13:46 nexus3.edgexfoundry.org:10001 03:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:47 Configure a credential helper to remove this warning. See 03:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:47 03:13:47 Login Succeeded 03:13:47 nexus3.edgexfoundry.org:10002 03:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:48 Configure a credential helper to remove this warning. See 03:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:48 03:13:48 Login Succeeded 03:13:48 nexus3.edgexfoundry.org:10003 03:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:48 Configure a credential helper to remove this warning. See 03:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:48 03:13:48 Login Succeeded 03:13:48 nexus3.edgexfoundry.org:10004 03:13:49 ---> Running in 5b686d3eefcb 03:13:49 Removing intermediate container 5b686d3eefcb 03:13:49 ---> f54e6d51ab59 03:13:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:49 ---> Running in ddfac63af90f 03:13:49 Removing intermediate container ddfac63af90f 03:13:49 ---> ecefde36e3c5 03:13:49 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:13:49 ---> Running in 6dacb915a3ac 03:13:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:13:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:13:49 (1/13) Installing libc-dev (0.7.2-r3) 03:13:49 (2/13) Installing libsodium (1.0.18-r0) 03:13:49 (3/13) Installing pkgconf (1.7.3-r0) 03:13:49 (4/13) Installing libsodium-dev (1.0.18-r0) 03:13:49 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:13:49 (6/13) Installing libedit (20191231.3.1-r1) 03:13:49 (7/13) Installing openssh-client (8.4_p1-r3) 03:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:49 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:13:49 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:13:49 (10/13) Installing openssh-server (8.4_p1-r3) 03:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:49 Configure a credential helper to remove this warning. See 03:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:49 03:13:49 Login Succeeded 03:13:49 docker.io 03:13:49 (11/13) Installing openssh (8.4_p1-r3) 03:13:49 (12/13) Installing libzmq (4.3.3-r1) 03:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:49 (13/13) Installing zeromq-dev (4.3.3-r1) 03:13:49 Executing busybox-1.32.1-r6.trigger 03:13:49 OK: 156 MiB in 53 packages 03:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:50 Configure a credential helper to remove this warning. See 03:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:50 03:13:50 Login Succeeded 03:13:50 ---> docker-login.sh ends [Pipeline] } 03:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:50 ========================================================= 03:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:13:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:13:51 + 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 . 03:13:51 Sending build context to Docker daemon 616.4kB 03:13:51 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:13:51 Step 2/8 : FROM ${BASE} 03:13:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:13:51 595b0fe564bb: Pulling fs layer 03:13:51 7186ed65a4f7: Pulling fs layer 03:13:51 316046926c0a: Pulling fs layer 03:13:51 4ebd0625c992: Pulling fs layer 03:13:51 207e8628e3a3: Pulling fs layer 03:13:51 c791037a9be2: Pulling fs layer 03:13:51 ffd874e62e21: Pulling fs layer 03:13:51 c791037a9be2: Waiting 03:13:51 ffd874e62e21: Waiting 03:13:51 4ebd0625c992: Waiting 03:13:51 207e8628e3a3: Waiting 03:13:51 316046926c0a: Verifying Checksum 03:13:51 316046926c0a: Download complete 03:13:51 7186ed65a4f7: Download complete 03:13:51 207e8628e3a3: Verifying Checksum 03:13:51 207e8628e3a3: Download complete 03:13:51 c791037a9be2: Download complete 03:13:51 595b0fe564bb: Download complete 03:13:52 595b0fe564bb: Pull complete 03:13:53 7186ed65a4f7: Pull complete 03:13:53 Removing intermediate container 6dacb915a3ac 03:13:53 ---> 6289c5e39a56 03:13:53 Step 6/8 : WORKDIR /device-modbus-go 03:13:53 316046926c0a: Pull complete 03:13:53 ffd874e62e21: Verifying Checksum 03:13:53 ffd874e62e21: Download complete 03:13:53 ---> Running in 9e7c7cc8c673 03:13:54 Removing intermediate container 9e7c7cc8c673 03:13:54 ---> 3e8261115c24 03:13:54 Step 7/8 : COPY . . 03:13:55 4ebd0625c992: Verifying Checksum 03:13:55 4ebd0625c992: Download complete 03:13:57 ---> 319ee62dfb1e 03:13:57 Step 8/8 : RUN go mod download 03:13:57 ---> Running in a3eac0d7b2b0 03:14:05 4ebd0625c992: Pull complete 03:14:05 207e8628e3a3: Pull complete 03:14:06 c791037a9be2: Pull complete 03:14:09 ffd874e62e21: Pull complete 03:14:09 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 03:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:14:09 ---> cfc18b08335c 03:14:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 03:14:11 ---> Running in b3d7f30dfee6 03:14:11 Removing intermediate container b3d7f30dfee6 03:14:11 ---> 651166c0c816 03:14:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:14:12 ---> Running in 65fe715c5aa9 03:14:14 Removing intermediate container 65fe715c5aa9 03:14:14 ---> 022626c6df5e 03:14:14 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:14:14 ---> Running in a2200ac159ae 03:14:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:14:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:14:18 (1/13) Installing libc-dev (0.7.2-r3) 03:14:18 (2/13) Installing libsodium (1.0.18-r0) 03:14:18 (3/13) Installing pkgconf (1.7.3-r0) 03:14:18 (4/13) Installing libsodium-dev (1.0.18-r0) 03:14:18 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:14:19 (6/13) Installing libedit (20191231.3.1-r1) 03:14:19 (7/13) Installing openssh-client (8.4_p1-r3) 03:14:21 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:14:21 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:14:21 (10/13) Installing openssh-server (8.4_p1-r3) 03:14:22 (11/13) Installing openssh (8.4_p1-r3) 03:14:22 (12/13) Installing libzmq (4.3.3-r1) 03:14:22 (13/13) Installing zeromq-dev (4.3.3-r1) 03:14:22 Executing busybox-1.32.1-r6.trigger 03:14:22 OK: 145 MiB in 53 packages 03:14:24 Removing intermediate container a2200ac159ae 03:14:24 ---> 3055a811440a 03:14:24 Step 6/8 : WORKDIR /device-modbus-go 03:14:24 ---> Running in fef9cf967816 03:14:25 Removing intermediate container fef9cf967816 03:14:25 ---> df726daa9086 03:14:25 Step 7/8 : COPY . . 03:14:26 ---> 553c49a4b6c0 03:14:26 Step 8/8 : RUN go mod download 03:14:26 ---> Running in 793d13ae4db6 03:14:53 Removing intermediate container 793d13ae4db6 03:14:53 ---> 0e41387bf58a 03:14:53 Successfully built 0e41387bf58a 03:14:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:14:53 + docker inspect -f . ci-base-image-arm64 03:14:53 . [Pipeline] withDockerContainer 03:14:53 prd-ubuntu18.04-docker-arm64-4c-16g-498 does not seem to be running inside a container 03:14:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 03:14:55 $ docker top 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:56 + go version 03:14:56 go version go1.16.3 linux/arm64 [Pipeline] } 03:14:56 $ docker stop --time=1 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc 03:14:58 $ docker rm -f 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:14:58 + docker inspect -f . ci-base-image-arm64 03:14:58 . [Pipeline] withDockerContainer 03:14:59 prd-ubuntu18.04-docker-arm64-4c-16g-498 does not seem to be running inside a container 03:14:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 03:15:00 $ docker top bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:01 + go mod tidy [Pipeline] sh 03:15:03 + make test 03:15:03 go mod tidy 03:15:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:15:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:15:05 Removing intermediate container a3eac0d7b2b0 03:15:05 ---> 8d9aee4d7573 03:15:05 Successfully built 8d9aee4d7573 03:15:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:15:06 + docker inspect -f . ci-base-image-x86_64 03:15:06 . [Pipeline] withDockerContainer 03:15:06 prd-centos7-docker-4c-2g-495 does not seem to be running inside a container 03:15:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 03:15:07 $ docker top 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:08 + go version 03:15:08 go version go1.16.3 linux/amd64 [Pipeline] } 03:15:08 $ docker stop --time=1 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b 03:15:09 $ docker rm -f 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:15:10 + docker inspect -f . ci-base-image-x86_64 03:15:10 . [Pipeline] withDockerContainer 03:15:10 prd-centos7-docker-4c-2g-495 does not seem to be running inside a container 03:15:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 03:15:11 $ docker top 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:12 + go mod tidy [Pipeline] sh 03:15:12 + make test 03:15:12 go mod tidy 03:15:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:15:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:15:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:15:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements 03:15:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:15:48 gofmt -l . 03:15:48 [ "`gofmt -l .`" = "" ] 03:15:48 ./bin/test-attribution-txt.sh 03:15:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:15:48 $ docker stop --time=1 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e 03:15:54 $ docker rm -f 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e [Pipeline] // withDockerContainer [Pipeline] sh 03:15:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:56 + ls -al . 03:15:56 total 112 03:15:56 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 4 03:15 . 03:15:56 drwxrwxr-x. 4 jenkins jenkins 30 Jun 4 03:12 .. 03:15:56 -rw-rw-r--. 1 jenkins jenkins 7707 Jun 4 03:12 Attribution.txt 03:15:56 drwxrwxr-x. 2 jenkins jenkins 87 Jun 4 03:12 bin 03:15:56 drwxrwxr-x. 3 jenkins jenkins 32 Jun 4 03:12 cmd 03:15:56 -rw-r--r--. 1 jenkins jenkins 22385 Jun 4 03:15 coverage.out 03:15:56 -rw-rw-r--. 1 jenkins jenkins 1473 Jun 4 03:12 Dockerfile 03:15:56 -rw-rw-r--. 1 jenkins jenkins 995 Jun 4 03:12 Dockerfile.build 03:15:56 -rw-rw-r--. 1 jenkins jenkins 140 Jun 4 03:12 .dockerignore 03:15:56 drwxrwxr-x. 8 jenkins jenkins 162 Jun 4 03:12 .git 03:15:56 drwxrwxr-x. 2 jenkins jenkins 103 Jun 4 03:12 .github 03:15:56 -rw-rw-r--. 1 jenkins jenkins 338 Jun 4 03:12 .gitignore 03:15:56 -rw-r--r--. 1 jenkins jenkins 413 Jun 4 03:15 go.mod 03:15:56 -rw-r--r--. 1 jenkins jenkins 21412 Jun 4 03:15 go.sum 03:15:56 drwxrwxr-x. 3 jenkins jenkins 20 Jun 4 03:12 internal 03:15:56 -rw-rw-r--. 1 jenkins jenkins 679 Jun 4 03:12 Jenkinsfile 03:15:56 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 4 03:12 LICENSE 03:15:56 -rw-rw-r--. 1 jenkins jenkins 914 Jun 4 03:12 Makefile 03:15:56 -rw-rw-r--. 1 jenkins jenkins 2897 Jun 4 03:12 README.md 03:15:56 drwxrwxr-x. 2 jenkins jenkins 52 Jun 4 03:12 simulator 03:15:56 drwxrwxr-x. 4 jenkins jenkins 71 Jun 4 03:12 snap 03:15:56 -rw-rw-r--. 1 jenkins jenkins 12 Jun 4 03:10 VERSION 03:15:56 -rw-rw-r--. 1 jenkins jenkins 229 Jun 4 03:12 version.go [Pipeline] isUnix [Pipeline] sh 03:15:56 + 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=e1dcefe05451e99782283e97402c84988ce0a6d8 --label arch=amd64 --label version=1.3.2-dev.14 . 03:15:56 Sending build context to Docker daemon 640.5kB 03:15:56 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 03:15:56 Step 2/22 : FROM ${BASE} AS builder 03:15:56 ---> 8d9aee4d7573 03:15:56 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:57 ---> Running in 34c6677c729e 03:15:59 Removing intermediate container 34c6677c729e 03:15:59 ---> 2ee7a34903c4 03:15:59 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:15:59 ---> Running in 0756d0fc4cba 03:16:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:16:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:16:01 OK: 156 MiB in 53 packages 03:16:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:16:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.044s coverage: 47.7% of statements 03:16:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:16:02 Removing intermediate container 0756d0fc4cba 03:16:02 ---> 7264ef4cd42a 03:16:02 Step 5/22 : WORKDIR /device-modbus-go 03:16:02 ---> Running in 9caa1521317c 03:16:02 Removing intermediate container 9caa1521317c 03:16:02 ---> 7bb7f7cb98ea 03:16:02 Step 6/22 : COPY . . 03:16:04 ---> 119e23107ae7 03:16:04 Step 7/22 : RUN go mod tidy 03:16:04 ---> Running in 76e18b5ab905 03:16:07 Removing intermediate container 76e18b5ab905 03:16:07 ---> ed933a345627 03:16:07 Step 8/22 : RUN go mod download 03:16:07 ---> Running in 9f2b92b3c643 03:16:09 Removing intermediate container 9f2b92b3c643 03:16:09 ---> bb4c96ef7506 03:16:09 Step 9/22 : RUN make build 03:16:09 ---> Running in cbadab1e5041 03:16:10 go mod tidy 03:16:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.14" -o cmd/device-modbus ./cmd 03:16:19 gofmt -l . 03:16:19 [ "`gofmt -l .`" = "" ] 03:16:19 ./bin/test-attribution-txt.sh 03:16:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:16:21 $ docker stop --time=1 bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 03:16:23 $ docker rm -f bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 [Pipeline] // withDockerContainer [Pipeline] sh 03:16:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:16:24 Warning: overwriting stash ‘coverage-report’ 03:16:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:16:25 + ls -al . 03:16:25 total 144 03:16:25 drwxrwxr-x 9 jenkins jenkins 4096 Jun 4 03:16 . 03:16:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:13 .. 03:16:25 -rw-rw-r-- 1 jenkins jenkins 140 Jun 4 03:13 .dockerignore 03:16:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 03:13 .git 03:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 .github 03:16:25 -rw-rw-r-- 1 jenkins jenkins 338 Jun 4 03:13 .gitignore 03:16:25 -rw-rw-r-- 1 jenkins jenkins 7707 Jun 4 03:13 Attribution.txt 03:16:25 -rw-rw-r-- 1 jenkins jenkins 1473 Jun 4 03:13 Dockerfile 03:16:25 -rw-rw-r-- 1 jenkins jenkins 995 Jun 4 03:13 Dockerfile.build 03:16:25 -rw-rw-r-- 1 jenkins jenkins 679 Jun 4 03:13 Jenkinsfile 03:16:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 4 03:13 LICENSE 03:16:25 -rw-rw-r-- 1 jenkins jenkins 914 Jun 4 03:13 Makefile 03:16:25 -rw-rw-r-- 1 jenkins jenkins 2897 Jun 4 03:13 README.md 03:16:25 -rw-rw-r-- 1 jenkins jenkins 12 Jun 4 03:10 VERSION 03:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 bin 03:16:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:13 cmd 03:16:25 -rw-r--r-- 1 jenkins jenkins 22385 Jun 4 03:15 coverage.out 03:16:25 -rw-r--r-- 1 jenkins jenkins 413 Jun 4 03:16 go.mod 03:16:25 -rw-r--r-- 1 jenkins jenkins 21412 Jun 4 03:15 go.sum 03:16:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:13 internal 03:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 simulator 03:16:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:13 snap 03:16:25 -rw-rw-r-- 1 jenkins jenkins 229 Jun 4 03:13 version.go [Pipeline] isUnix [Pipeline] sh 03:16:26 + 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=e1dcefe05451e99782283e97402c84988ce0a6d8 --label arch=arm64 --label version=1.3.2-dev.14 . 03:16:26 Sending build context to Docker daemon 639.5kB 03:16:26 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 03:16:26 Step 2/22 : FROM ${BASE} AS builder 03:16:26 ---> 0e41387bf58a 03:16:26 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:27 ---> Running in 839521caaa26 03:16:29 Removing intermediate container 839521caaa26 03:16:29 ---> 888f695821e2 03:16:29 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:16:29 ---> Running in 3aa601ac133c 03:16:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:16:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:16:32 OK: 145 MiB in 53 packages 03:16:33 Removing intermediate container 3aa601ac133c 03:16:33 ---> d02d61afa54f 03:16:33 Step 5/22 : WORKDIR /device-modbus-go 03:16:33 ---> Running in d078aa6bf4a8 03:16:33 Removing intermediate container d078aa6bf4a8 03:16:33 ---> 6763417852c3 03:16:33 Step 6/22 : COPY . . 03:16:34 ---> eaa205558d8e 03:16:34 Step 7/22 : RUN go mod tidy 03:16:35 ---> Running in b90bb2365c25 03:16:37 Removing intermediate container cbadab1e5041 03:16:37 ---> 05141c253e67 03:16:37 Step 10/22 : FROM alpine:3.12 03:16:37 3.12: Pulling from library/alpine 03:16:37 339de151aab4: Pulling fs layer 03:16:37 339de151aab4: Verifying Checksum 03:16:37 339de151aab4: Download complete 03:16:37 339de151aab4: Pull complete 03:16:37 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:16:37 Status: Downloaded newer image for alpine:3.12 03:16:37 ---> 13621d1b12d4 03:16:37 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:16:37 ---> Running in d1d0f34e56ac 03:16:37 Removing intermediate container d1d0f34e56ac 03:16:37 ---> d2340add7ded 03:16:37 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:37 Removing intermediate container b90bb2365c25 03:16:37 ---> 8f32bce5893f 03:16:37 Step 8/22 : RUN go mod download 03:16:37 ---> Running in fe810286b980 03:16:38 ---> Running in 31babe2a92d8 03:16:39 Removing intermediate container 31babe2a92d8 03:16:39 ---> 3bcf8ec5dd06 03:16:39 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 03:16:39 ---> Running in b41a223842c7 03:16:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:16:40 Removing intermediate container fe810286b980 03:16:40 ---> 9fab13d0ffaf 03:16:40 Step 9/22 : RUN make build 03:16:40 ---> Running in 73c1a475e012 03:16:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:16:41 (1/6) Installing dumb-init (1.2.2-r1) 03:16:41 (2/6) Installing libgcc (9.3.0-r2) 03:16:41 (3/6) Installing libsodium (1.0.18-r0) 03:16:41 go mod tidy 03:16:41 (4/6) Installing libstdc++ (9.3.0-r2) 03:16:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.14" -o cmd/device-modbus ./cmd 03:16:42 (5/6) Installing libzmq (4.3.3-r0) 03:16:42 (6/6) Installing zeromq (4.3.3-r0) 03:16:42 Executing busybox-1.31.1-r20.trigger 03:16:42 OK: 8 MiB in 20 packages 03:16:44 Removing intermediate container b41a223842c7 03:16:44 ---> 1a02b9d54b40 03:16:44 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:16:45 ---> 2bf833dc0f33 03:16:45 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:16:46 ---> 3d03139b749c 03:16:46 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:16:46 ---> c7305c9e691d 03:16:46 Step 17/22 : EXPOSE 59901 03:16:46 ---> Running in 1d9a6dbd26c4 03:16:47 Removing intermediate container 1d9a6dbd26c4 03:16:47 ---> a461340a5b26 03:16:47 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:16:47 ---> Running in 03ca5bda718e 03:16:47 Removing intermediate container 03ca5bda718e 03:16:47 ---> b140be9df1d3 03:16:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:16:48 ---> Running in e90492e27e5b 03:16:48 Removing intermediate container e90492e27e5b 03:16:48 ---> 85f4eeffa3e5 03:16:48 Step 20/22 : LABEL arch=amd64 03:16:48 ---> Running in cfb728b170c1 03:16:48 Removing intermediate container cfb728b170c1 03:16:48 ---> c175dc8f475a 03:16:48 Step 21/22 : LABEL git_sha=e1dcefe05451e99782283e97402c84988ce0a6d8 03:16:49 ---> Running in 7a8e34de1d9a 03:16:49 Removing intermediate container 7a8e34de1d9a 03:16:49 ---> 0798e6551e17 03:16:49 Step 22/22 : LABEL version=1.3.2-dev.14 03:16:49 ---> Running in ddd70efe12d6 03:16:50 Removing intermediate container ddd70efe12d6 03:16:50 ---> f942bdd89175 03:16:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:16:50 Successfully built f942bdd89175 03:16:50 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:50 provisioning config files... 03:16:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config3255584661347633139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:50 ---> docker-login.sh 03:16:50 nexus3.edgexfoundry.org:10001 03:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:50 Configure a credential helper to remove this warning. See 03:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:50 03:16:50 Login Succeeded 03:16:50 nexus3.edgexfoundry.org:10002 03:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:51 Configure a credential helper to remove this warning. See 03:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:51 03:16:51 Login Succeeded 03:16:51 nexus3.edgexfoundry.org:10003 03:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:51 Configure a credential helper to remove this warning. See 03:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:51 03:16:51 Login Succeeded 03:16:51 nexus3.edgexfoundry.org:10004 03:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:51 Configure a credential helper to remove this warning. See 03:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:51 03:16:51 Login Succeeded 03:16:51 docker.io 03:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:51 Configure a credential helper to remove this warning. See 03:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:51 03:16:51 Login Succeeded 03:16:51 ---> docker-login.sh ends [Pipeline] } 03:16:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:16:51 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 03:16:51 e1dcefe05451e99782283e97402c84988ce0a6d8 03:16:51 latest 03:16:51 1.3.2-dev.14 03:16:51 e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:16:51 master 03:16:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:16:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh 03:16:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 03:16:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:16:52 078bfe0863bd: Preparing 03:16:52 e426af966845: Preparing 03:16:52 c1fc0b034d0f: Preparing 03:16:52 ceb170023ee8: Preparing 03:16:52 e8221a9c4574: Preparing 03:16:52 32f366d666a5: Preparing 03:16:52 32f366d666a5: Waiting 03:16:52 078bfe0863bd: Pushed 03:16:52 e8221a9c4574: Pushed 03:16:52 ceb170023ee8: Pushed 03:16:52 e426af966845: Pushed 03:16:52 32f366d666a5: Layer already exists 03:16:53 c1fc0b034d0f: Pushed 03:16:53 e1dcefe05451e99782283e97402c84988ce0a6d8: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:16:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 03:16:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 03:16:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:16:54 078bfe0863bd: Preparing 03:16:54 e426af966845: Preparing 03:16:54 c1fc0b034d0f: Preparing 03:16:54 ceb170023ee8: Preparing 03:16:54 e8221a9c4574: Preparing 03:16:54 32f366d666a5: Preparing 03:16:54 32f366d666a5: Waiting 03:16:54 078bfe0863bd: Layer already exists 03:16:54 ceb170023ee8: Layer already exists 03:16:54 e426af966845: Layer already exists 03:16:54 e8221a9c4574: Layer already exists 03:16:54 c1fc0b034d0f: Layer already exists 03:16:54 32f366d666a5: Layer already exists 03:16:54 latest: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:16:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh 03:16:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 03:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:16:55 078bfe0863bd: Preparing 03:16:55 e426af966845: Preparing 03:16:55 c1fc0b034d0f: Preparing 03:16:55 ceb170023ee8: Preparing 03:16:55 e8221a9c4574: Preparing 03:16:55 32f366d666a5: Preparing 03:16:55 32f366d666a5: Waiting 03:16:55 c1fc0b034d0f: Layer already exists 03:16:55 078bfe0863bd: Layer already exists 03:16:55 ceb170023ee8: Layer already exists 03:16:55 e426af966845: Layer already exists 03:16:55 e8221a9c4574: Layer already exists 03:16:55 32f366d666a5: Layer already exists 03:16:55 1.3.2-dev.14: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:16:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh 03:16:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:16:55 078bfe0863bd: Preparing 03:16:55 e426af966845: Preparing 03:16:55 c1fc0b034d0f: Preparing 03:16:55 ceb170023ee8: Preparing 03:16:55 e8221a9c4574: Preparing 03:16:55 32f366d666a5: Preparing 03:16:55 32f366d666a5: Waiting 03:16:55 078bfe0863bd: Layer already exists 03:16:55 e8221a9c4574: Layer already exists 03:16:55 c1fc0b034d0f: Layer already exists 03:16:55 e426af966845: Layer already exists 03:16:55 ceb170023ee8: Layer already exists 03:16:55 32f366d666a5: Layer already exists 03:16:55 e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:16:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 03:16:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 03:16:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:16:56 078bfe0863bd: Preparing 03:16:56 e426af966845: Preparing 03:16:56 c1fc0b034d0f: Preparing 03:16:56 ceb170023ee8: Preparing 03:16:56 e8221a9c4574: Preparing 03:16:56 32f366d666a5: Preparing 03:16:56 32f366d666a5: Waiting 03:16:56 ceb170023ee8: Layer already exists 03:16:56 e426af966845: Layer already exists 03:16:56 078bfe0863bd: Layer already exists 03:16:56 c1fc0b034d0f: Layer already exists 03:16:56 e8221a9c4574: Layer already exists 03:16:56 32f366d666a5: Layer already exists 03:16:56 master: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:16:56 ===================================================== [Pipeline] echo 03:16:56 taggedImages: 03:16:56 - nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 03:16:56 - nexus3.edgexfoundry.org:10004/device-modbus:latest 03:16:56 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 03:16:56 - nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:16:56 - 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 03:16:56 ---> job-cost.sh 03:16:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jEeG 03:17:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:17:21 Removing intermediate container 73c1a475e012 03:17:21 ---> 24db258172e6 03:17:21 Step 10/22 : FROM alpine:3.12 03:17:21 3.12: Pulling from library/alpine 03:17:21 d2f70382dc9a: Pulling fs layer 03:17:21 d2f70382dc9a: Verifying Checksum 03:17:21 d2f70382dc9a: Download complete 03:17:21 d2f70382dc9a: Pull complete 03:17:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:17:21 Status: Downloaded newer image for alpine:3.12 03:17:21 ---> 9852663dfa18 03:17:21 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:17:21 ---> Running in d1d5fa1e36f4 03:17:21 Removing intermediate container d1d5fa1e36f4 03:17:21 ---> d0f15998c46b 03:17:21 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:21 ---> Running in 33b1f458fdf3 03:17:21 Removing intermediate container 33b1f458fdf3 03:17:21 ---> f872091b0e5f 03:17:21 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 03:17:21 ---> Running in c83323497ca5 03:17:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:17:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:17:24 (1/6) Installing dumb-init (1.2.2-r1) 03:17:24 (2/6) Installing libgcc (9.3.0-r2) 03:17:24 (3/6) Installing libsodium (1.0.18-r0) 03:17:24 (4/6) Installing libstdc++ (9.3.0-r2) 03:17:24 (5/6) Installing libzmq (4.3.3-r0) 03:17:24 (6/6) Installing zeromq (4.3.3-r0) 03:17:24 Executing busybox-1.31.1-r20.trigger 03:17:24 OK: 8 MiB in 20 packages 03:17:26 Removing intermediate container c83323497ca5 03:17:26 ---> 3a209aa415c9 03:17:26 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:17:27 ---> d9738c24a284 03:17:27 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:17:27 ---> 6dc16ef93149 03:17:27 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:17:28 ---> 5b81983db342 03:17:28 Step 17/22 : EXPOSE 59901 03:17:28 ---> Running in b971fb1e1972 03:17:28 Removing intermediate container b971fb1e1972 03:17:28 ---> ae12f249a88b 03:17:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:17:29 ---> Running in c2681fe33bae 03:17:29 Removing intermediate container c2681fe33bae 03:17:29 ---> 9937c67b0577 03:17:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:17:29 ---> Running in 99115aaf9632 03:17:30 Removing intermediate container 99115aaf9632 03:17:30 ---> 0dcc961026fa 03:17:30 Step 20/22 : LABEL arch=arm64 03:17:30 ---> Running in 076be61c93b6 03:17:30 Removing intermediate container 076be61c93b6 03:17:30 ---> cfee4f567a61 03:17:30 Step 21/22 : LABEL git_sha=e1dcefe05451e99782283e97402c84988ce0a6d8 03:17:30 ---> Running in 7570a804edbf 03:17:31 Removing intermediate container 7570a804edbf 03:17:31 ---> dc3aa3130fd9 03:17:31 Step 22/22 : LABEL version=1.3.2-dev.14 03:17:31 ---> Running in 98fbe9845d1f 03:17:32 Removing intermediate container 98fbe9845d1f 03:17:32 ---> a13c899834aa 03:17:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:17:32 Successfully built a13c899834aa 03:17:32 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 03:17:32 provisioning config files... 03:17:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config8007017974521159816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:32 ---> docker-login.sh 03:17:32 nexus3.edgexfoundry.org:10001 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:33 Configure a credential helper to remove this warning. See 03:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:33 03:17:33 Login Succeeded 03:17:33 nexus3.edgexfoundry.org:10002 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:33 Configure a credential helper to remove this warning. See 03:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:33 03:17:33 Login Succeeded 03:17:33 nexus3.edgexfoundry.org:10003 03:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:34 Configure a credential helper to remove this warning. See 03:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:34 03:17:34 Login Succeeded 03:17:34 nexus3.edgexfoundry.org:10004 03:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:34 Configure a credential helper to remove this warning. See 03:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:34 03:17:34 Login Succeeded 03:17:34 docker.io 03:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:35 Configure a credential helper to remove this warning. See 03:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:35 03:17:35 Login Succeeded 03:17:35 ---> docker-login.sh ends [Pipeline] } 03:17:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:35 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 03:17:35 e1dcefe05451e99782283e97402c84988ce0a6d8 03:17:35 latest 03:17:35 1.3.2-dev.14 03:17:35 e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:17:35 master 03:17:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:17:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh 03:17:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 03:17:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:17:36 26eaf42af5bb: Preparing 03:17:36 eb82a64de7cf: Preparing 03:17:36 a6dd8e436f71: Preparing 03:17:36 cf9aab020786: Preparing 03:17:36 56649db353ba: Preparing 03:17:36 3fbe34a1663b: Preparing 03:17:36 3fbe34a1663b: Waiting 03:17:36 26eaf42af5bb: Pushed 03:17:36 56649db353ba: Pushed 03:17:36 eb82a64de7cf: Pushed 03:17:36 3fbe34a1663b: Layer already exists 03:17:37 cf9aab020786: Pushed 03:17:39 a6dd8e436f71: Pushed 03:17:39 e1dcefe05451e99782283e97402c84988ce0a6d8: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:17:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:17:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:17:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:17:40 26eaf42af5bb: Preparing 03:17:40 eb82a64de7cf: Preparing 03:17:40 a6dd8e436f71: Preparing 03:17:40 cf9aab020786: Preparing 03:17:40 56649db353ba: Preparing 03:17:40 3fbe34a1663b: Preparing 03:17:40 3fbe34a1663b: Waiting 03:17:40 a6dd8e436f71: Layer already exists 03:17:40 cf9aab020786: Layer already exists 03:17:40 56649db353ba: Layer already exists 03:17:40 26eaf42af5bb: Layer already exists 03:17:40 eb82a64de7cf: Layer already exists 03:17:40 3fbe34a1663b: Layer already exists 03:17:40 latest: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:17:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh 03:17:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 03:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:17:41 26eaf42af5bb: Preparing 03:17:41 eb82a64de7cf: Preparing 03:17:41 a6dd8e436f71: Preparing 03:17:41 cf9aab020786: Preparing 03:17:41 56649db353ba: Preparing 03:17:41 3fbe34a1663b: Preparing 03:17:41 3fbe34a1663b: Waiting 03:17:41 26eaf42af5bb: Layer already exists 03:17:41 56649db353ba: Layer already exists 03:17:41 eb82a64de7cf: Layer already exists 03:17:41 cf9aab020786: Layer already exists 03:17:41 a6dd8e436f71: Layer already exists 03:17:41 3fbe34a1663b: Layer already exists 03:17:41 1.3.2-dev.14: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:17:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh 03:17:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:17:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:17:42 26eaf42af5bb: Preparing 03:17:42 eb82a64de7cf: Preparing 03:17:42 a6dd8e436f71: Preparing 03:17:42 cf9aab020786: Preparing 03:17:42 56649db353ba: Preparing 03:17:42 3fbe34a1663b: Preparing 03:17:42 3fbe34a1663b: Waiting 03:17:42 a6dd8e436f71: Layer already exists 03:17:42 eb82a64de7cf: Layer already exists 03:17:42 26eaf42af5bb: Layer already exists 03:17:42 56649db353ba: Layer already exists 03:17:42 cf9aab020786: Layer already exists 03:17:42 3fbe34a1663b: Layer already exists 03:17:42 e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh 03:17:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 03:17:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 03:17:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:17:43 26eaf42af5bb: Preparing 03:17:43 eb82a64de7cf: Preparing 03:17:43 a6dd8e436f71: Preparing 03:17:43 cf9aab020786: Preparing 03:17:43 56649db353ba: Preparing 03:17:43 3fbe34a1663b: Preparing 03:17:43 3fbe34a1663b: Waiting 03:17:43 56649db353ba: Layer already exists 03:17:43 cf9aab020786: Layer already exists 03:17:43 a6dd8e436f71: Layer already exists 03:17:43 eb82a64de7cf: Layer already exists 03:17:43 26eaf42af5bb: Layer already exists 03:17:43 3fbe34a1663b: Layer already exists 03:17:43 master: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:43 ===================================================== [Pipeline] echo 03:17:43 taggedImages: 03:17:43 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 03:17:43 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:17:43 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 03:17:43 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 03:17:43 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 03:17:44 ---> job-cost.sh 03:17:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EQrG 03:17:51 lf-activate-venv(): INFO: Adding /tmp/venv-jEeG/bin to PATH 03:17:51 INFO: No Stack... 03:17:51 INFO: Retrieving Pricing Info for: v3-standard-2 03:17:51 INFO: Archiving Costs [Pipeline] sh 03:17:51 + cat /w/workspace/device-modbus-go/53/archives/cost.csv 03:17:51 + cut -d, -f6 [Pipeline] lock 03:17:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] 03:17:51 Resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] did not exist. Created. 03:17:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:17:52 + echo total: 0.05999999865889549 [Pipeline] stash 03:17:52 Stashed 1 file(s) [Pipeline] } 03:17:52 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:18:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:19:44 lf-activate-venv(): INFO: Adding /tmp/venv-EQrG/bin to PATH 03:19:44 INFO: No Stack... 03:19:45 INFO: Retrieving Pricing Info for: v2-standard-4 03:19:46 INFO: Archiving Costs [Pipeline] sh 03:19:46 + cat /w/workspace/device-modbus-go/53/archives/cost.csv 03:19:46 + cut -d, -f6 [Pipeline] lock 03:19:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] 03:19:46 Resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] did not exist. Created. 03:19:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:46 /w/workspace/device-modbus-go/53@tmp/durable-47dcc7e7/script.sh: 1: /w/workspace/device-modbus-go/53@tmp/durable-47dcc7e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:19:47 + echo total: 0.18000000715255737 [Pipeline] stash 03:19:47 Warning: overwriting stash ‘stack-cost’ 03:19:47 Stashed 1 file(s) [Pipeline] } 03:19:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-53-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 03:19:47 provisioning config files... 03:19:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3049917470505960170tmp [Pipeline] { [Pipeline] sh 03:19:48 + set +x 03:19:48 + curl -s https://codecov.io/bash 03:19:48 + bash -s -- 03:19:48 03:19:48 _____ _ 03:19:48 / ____| | | 03:19:48 | | ___ __| | ___ ___ _____ __ 03:19:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:19:48 | |___| (_) | (_| | __/ (_| (_) \ V / 03:19:48 \_____\___/ \__,_|\___|\___\___/ \_/ 03:19:48 Bash-1.0.3 03:19:48 03:19:48 03:19:48 ==> git version 2.24.4 found 03:19:48 ==> 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 03:19:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:19:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:19:48 ==> Jenkins CI detected. 03:19:48 project root: . 03:19:48 --> token set from env 03:19:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:19:48 ==> Running gcov in . (disable via -X gcov) 03:19:48 ==> Python coveragepy not found 03:19:48 ==> Searching for coverage reports in: 03:19:48 + . 03:19:48 -> Found 1 reports 03:19:48 ==> Detecting git/mercurial file structure 03:19:48 ==> Reading reports 03:19:48 + ./coverage.out bytes=22385 03:19:48 ==> Appending adjustments 03:19:48 https://docs.codecov.io/docs/fixing-reports 03:19:48 + Found adjustments 03:19:48 ==> Gzipping contents 03:19:48 4.0K /tmp/codecov.SZnCcG.gz 03:19:48 ==> Uploading reports 03:19:48 url: https://codecov.io 03:19:48 query: branch=master&commit=e1dcefe05451e99782283e97402c84988ce0a6d8&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:19:48 -> Pinging Codecov 03:19:48 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=e1dcefe05451e99782283e97402c84988ce0a6d8&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:19:48 -> Uploading to 03:19:48 https://storage.googleapis.com/codecov/v4/raw/2021-06-04/55DBCA73C666E3227836607328DD7E49/e1dcefe05451e99782283e97402c84988ce0a6d8/5c3a4f05-70ca-4ff8-952f-bb04d3f95986.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210604%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210604T031948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4a7a2bc09ad14a4f6458c446f6b3d5e9ded4840544c4f6660e5ed596b540a51 03:19:48 % Total % Received % Xferd Average Speed Time Time Time Current 03:19:48 Dload Upload Total Spent Left Speed 03:19:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3892 0 0 100 3892 0 10220 --:--:-- --:--:-- --:--:-- 10242 03:19:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] } 03:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:19:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:19:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:19:50 03:19:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:19:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:19:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:19:50 188c0c94c7c5: Pulling fs layer 03:19:50 0ef7d3d256c8: Pulling fs layer 03:19:50 de9db76c5a1d: Pulling fs layer 03:19:50 0eba1c9be4d2: Pulling fs layer 03:19:50 0d57e429df01: Pulling fs layer 03:19:50 4e4be7b47b0d: Pulling fs layer 03:19:50 e1f770b5df2f: Pulling fs layer 03:19:50 85a0685a4137: Pulling fs layer 03:19:50 0eba1c9be4d2: Waiting 03:19:50 0d57e429df01: Waiting 03:19:50 4e4be7b47b0d: Waiting 03:19:50 e1f770b5df2f: Waiting 03:19:50 85a0685a4137: Waiting 03:19:50 de9db76c5a1d: Verifying Checksum 03:19:50 de9db76c5a1d: Download complete 03:19:50 0ef7d3d256c8: Verifying Checksum 03:19:50 0ef7d3d256c8: Download complete 03:19:50 0d57e429df01: Verifying Checksum 03:19:50 0d57e429df01: Download complete 03:19:50 4e4be7b47b0d: Verifying Checksum 03:19:50 4e4be7b47b0d: Download complete 03:19:50 188c0c94c7c5: Verifying Checksum 03:19:50 188c0c94c7c5: Download complete 03:19:50 188c0c94c7c5: Pull complete 03:19:51 0ef7d3d256c8: Pull complete 03:19:51 de9db76c5a1d: Pull complete 03:19:51 e1f770b5df2f: Verifying Checksum 03:19:51 e1f770b5df2f: Download complete 03:19:53 0eba1c9be4d2: Verifying Checksum 03:19:53 0eba1c9be4d2: Download complete 03:19:53 85a0685a4137: Verifying Checksum 03:19:53 85a0685a4137: Download complete 03:19:57 0eba1c9be4d2: Pull complete 03:19:57 0d57e429df01: Pull complete 03:19:57 4e4be7b47b0d: Pull complete 03:19:57 e1f770b5df2f: Pull complete 03:20:00 85a0685a4137: Pull complete 03:20:00 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:20:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:20:00 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:20:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:20:03 $ docker top 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 -eo pid,comm [Pipeline] { [Pipeline] echo 03:20:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:20:03 + set -o pipefail 03:20:03 + snyk monitor '--org=edgex-jenkins' 03:20:10 03:20:10 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 03:20:10 03:20:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/06ab30e3-f1b1-440c-bb86-4127975ebee1 03:20:10 03:20:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:20:10 03:20:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:20:10 03:20:10 [Pipeline] } 03:20:10 $ docker stop --time=1 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 03:20:12 $ docker rm -f 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 [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 03:20:13 + git log --format=format:%s -1 e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh 03:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:20:14 . [Pipeline] withDockerContainer 03:20:14 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:20:14 $ docker top 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:20:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:20:14 [ssh-agent] Looking for ssh-agent implementation... 03:20:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:20:14 $ docker exec 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a ssh-agent 03:20:15 SSH_AUTH_SOCK=/tmp/ssh-7ofG81uqa4Gj/agent.14 03:20:15 SSH_AGENT_PID=20 03:20:15 Running ssh-add (command line suppressed) 03:20:15 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_46750075014572951.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_46750075014572951.key) 03:20:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:20:15 + git semver tag 03:20:15 # -> Open(): unable to determine branch for HEAD 03:20:15 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:20:15 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:20:15 # $SEMVER_REMOTE_NAME = origin 03:20:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:20:15 # $SEMVER_USER_NAME = edgex-jenkins 03:20:15 # $SEMVER_BRANCH = master 03:20:15 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 03:20:15 # e1dcefe05451e99782283e97402c84988ce0a6d8 HEAD 03:20:15 # -> Force: false 03:20:15 # f7cb93881a049fc43a3fb83c3e78e5067a54c6f2 refs/tags/v1.3.2-dev.14 [Pipeline] } 03:20:15 $ docker exec --env ******** --env ******** 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a ssh-agent -k 03:20:15 unset SSH_AUTH_SOCK; 03:20:15 unset SSH_AGENT_PID; 03:20:15 echo Agent pid 20 killed; 03:20:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:20:15 + git semver [Pipeline] } 03:20:15 $ docker stop --time=1 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a 03:20:17 $ docker rm -f 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:20:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:20:17 03:20:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:20:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:20:17 0.23.1-centos7: Pulling from edgex-lftools 03:20:17 ab5ef0e58194: Pulling fs layer 03:20:17 9712f1f96733: Pulling fs layer 03:20:17 63f879dbbcfc: Pulling fs layer 03:20:17 0d9ebad4ef96: Pulling fs layer 03:20:17 e9a5061849ea: Pulling fs layer 03:20:17 d747dcd14b5f: Pulling fs layer 03:20:17 2de7ff778b66: Pulling fs layer 03:20:17 0d9ebad4ef96: Waiting 03:20:17 e9a5061849ea: Waiting 03:20:17 d747dcd14b5f: Waiting 03:20:17 2de7ff778b66: Waiting 03:20:17 9712f1f96733: Verifying Checksum 03:20:17 9712f1f96733: Download complete 03:20:19 63f879dbbcfc: Verifying Checksum 03:20:19 63f879dbbcfc: Download complete 03:20:19 e9a5061849ea: Verifying Checksum 03:20:19 e9a5061849ea: Download complete 03:20:19 d747dcd14b5f: Verifying Checksum 03:20:19 d747dcd14b5f: Download complete 03:20:19 2de7ff778b66: Verifying Checksum 03:20:19 2de7ff778b66: Download complete 03:20:20 0d9ebad4ef96: Verifying Checksum 03:20:20 0d9ebad4ef96: Download complete 03:20:20 ab5ef0e58194: Download complete 03:20:23 ab5ef0e58194: Pull complete 03:20:23 9712f1f96733: Pull complete 03:20:23 63f879dbbcfc: Pull complete 03:20:26 0d9ebad4ef96: Pull complete 03:20:26 e9a5061849ea: Pull complete 03:20:26 d747dcd14b5f: Pull complete 03:20:27 2de7ff778b66: Pull complete 03:20:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:20:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:20:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:20:27 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:20:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:20:31 $ docker top 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:20:31 provisioning config files... 03:20:31 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5772354953629123536tmp 03:20:31 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2623519938782105077tmp 03:20:31 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2248287063091401386tmp [Pipeline] { [Pipeline] echo 03:20:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:20:32 ---> sigul-configuration.sh 03:20:32 gpg: directory `/root/.gnupg' created 03:20:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:20:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:20:32 gpg: keyring `/root/.gnupg/secring.gpg' created 03:20:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:20:32 gpg: CAST5 encrypted data 03:20:32 gpg: encrypted with 1 passphrase 03:20:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:20:32 + mkdir /home/jenkins 03:20:32 + mkdir /home/jenkins/sigul [Pipeline] sh 03:20:32 + 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 03:20:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:20:32 ---> sigul-install.sh 03:20:38 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:20:38 + git tag --list 03:20:38 0.7.1 03:20:38 v1.0.0 03:20:38 v1.1.0 03:20:38 v1.1.1 03:20:38 v1.2.2 03:20:38 v1.3.0 03:20:38 v1.3.1 03:20:38 v1.3.1-dev.1 03:20:38 v1.3.1-dev.2 03:20:38 v1.3.1-dev.3 03:20:38 v1.3.1-dev.4 03:20:38 v1.3.1-dev.5 03:20:38 v1.3.1-dev.6 03:20:38 v1.3.1-dev.7 03:20:38 v1.3.1-dev.8 03:20:38 v1.3.2-dev.1 03:20:38 v1.3.2-dev.10 03:20:38 v1.3.2-dev.11 03:20:38 v1.3.2-dev.12 03:20:38 v1.3.2-dev.13 03:20:38 v1.3.2-dev.14 03:20:38 v1.3.2-dev.2 03:20:38 v1.3.2-dev.3 03:20:38 v1.3.2-dev.4 03:20:38 v1.3.2-dev.5 03:20:38 v1.3.2-dev.6 03:20:38 v1.3.2-dev.7 03:20:38 v1.3.2-dev.8 03:20:38 v1.3.2-dev.9 [Pipeline] sh 03:20:38 + lftools sign git-tag v1.3.2-dev.14 03:20:39 Signing Git tag with Sigul... 03:20:39 Signing v1.3.2-dev.14 [Pipeline] echo 03:20:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:20:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:20:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:20:40 $ docker stop --time=1 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 03:20:41 $ docker rm -f 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:20:42 . [Pipeline] withDockerContainer 03:20:42 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:20:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:20:42 $ docker top 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:20:43 [ssh-agent] Looking for ssh-agent implementation... 03:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:20:43 $ docker exec 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d ssh-agent 03:20:43 SSH_AUTH_SOCK=/tmp/ssh-XHCCrPlOQifA/agent.14 03:20:43 SSH_AGENT_PID=20 03:20:43 Running ssh-add (command line suppressed) 03:20:43 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3949240927958488722.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3949240927958488722.key) 03:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:20:43 + git semver bump pre 03:20:43 # -> Open(): unable to determine branch for HEAD 03:20:43 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:20:43 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:20:43 # $SEMVER_REMOTE_NAME = origin 03:20:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:20:43 # $SEMVER_USER_NAME = edgex-jenkins 03:20:43 # $SEMVER_BRANCH = master 03:20:43 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 03:20:43 1.3.2-dev.15 [Pipeline] } 03:20:43 $ docker exec --env ******** --env ******** 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d ssh-agent -k 03:20:43 unset SSH_AUTH_SOCK; 03:20:43 unset SSH_AGENT_PID; 03:20:43 echo Agent pid 20 killed; 03:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:20:44 + git semver [Pipeline] } 03:20:44 $ docker stop --time=1 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d 03:20:45 $ docker rm -f 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:20:45 . [Pipeline] withDockerContainer 03:20:45 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:20:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:20:46 $ docker top 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:20:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:20:46 [ssh-agent] Looking for ssh-agent implementation... 03:20:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:20:46 $ docker exec 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d ssh-agent 03:20:46 SSH_AUTH_SOCK=/tmp/ssh-AnWWyUL2e2BM/agent.15 03:20:46 SSH_AGENT_PID=22 03:20:46 Running ssh-add (command line suppressed) 03:20:46 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6432548859928912456.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6432548859928912456.key) 03:20:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:20:47 + git semver push 03:20:47 # -> Open(): unable to determine branch for HEAD 03:20:47 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:20:47 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:20:47 # $SEMVER_REMOTE_NAME = origin 03:20:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:20:47 # $SEMVER_USER_NAME = edgex-jenkins 03:20:47 # $SEMVER_BRANCH = master 03:20:47 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 03:20:52 $ docker exec --env ******** --env ******** 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d ssh-agent -k 03:20:52 unset SSH_AUTH_SOCK; 03:20:52 unset SSH_AGENT_PID; 03:20:52 echo Agent pid 22 killed; 03:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:20:52 + git semver [Pipeline] } 03:20:52 $ docker stop --time=1 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d 03:20:54 $ docker rm -f 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d [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 03:20:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:20:55 ---> package-listing.sh 03:20:55 ++ facter osfamily 03:20:55 ++ tr '[:upper:]' '[:lower:]' 03:20:55 + OS_FAMILY=redhat 03:20:55 + workspace=/w/workspace/xfoundry_device-modbus-go_master 03:20:55 + START_PACKAGES=/tmp/packages_start.txt 03:20:55 + END_PACKAGES=/tmp/packages_end.txt 03:20:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:20:55 + PACKAGES=/tmp/packages_start.txt 03:20:55 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 03:20:55 + PACKAGES=/tmp/packages_end.txt 03:20:55 + case "${OS_FAMILY}" in 03:20:55 + sort 03:20:55 + rpm -qa 03:20:56 + '[' -f /tmp/packages_start.txt ']' 03:20:56 + '[' -f /tmp/packages_end.txt ']' 03:20:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:20:56 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 03:20:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 03:20:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 03:20:56 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 03:20:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:20:57 03:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:20:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:20:57 alpine: Pulling from edgex-lftools-log-publisher 03:20:57 df20fa9351a1: Pulling fs layer 03:20:57 36b3adc4ff6f: Pulling fs layer 03:20:57 8ad3a11d3b57: Pulling fs layer 03:20:57 46f8f816bc3b: Pulling fs layer 03:20:57 93b61091891f: Pulling fs layer 03:20:57 93b9cdb0e59b: Pulling fs layer 03:20:57 5e14af77c1be: Pulling fs layer 03:20:57 01666e4c0597: Pulling fs layer 03:20:57 aa168da1d23b: Pulling fs layer 03:20:57 93b9cdb0e59b: Waiting 03:20:57 5e14af77c1be: Waiting 03:20:57 01666e4c0597: Waiting 03:20:57 aa168da1d23b: Waiting 03:20:57 46f8f816bc3b: Waiting 03:20:57 93b61091891f: Waiting 03:20:57 36b3adc4ff6f: Verifying Checksum 03:20:57 36b3adc4ff6f: Download complete 03:20:57 46f8f816bc3b: Verifying Checksum 03:20:57 46f8f816bc3b: Download complete 03:20:57 df20fa9351a1: Verifying Checksum 03:20:57 df20fa9351a1: Download complete 03:20:57 93b9cdb0e59b: Verifying Checksum 03:20:57 93b9cdb0e59b: Download complete 03:20:57 5e14af77c1be: Verifying Checksum 03:20:57 5e14af77c1be: Download complete 03:20:57 01666e4c0597: Verifying Checksum 03:20:57 01666e4c0597: Download complete 03:20:57 93b61091891f: Verifying Checksum 03:20:57 93b61091891f: Download complete 03:20:57 8ad3a11d3b57: Verifying Checksum 03:20:57 8ad3a11d3b57: Download complete 03:20:57 df20fa9351a1: Pull complete 03:20:58 36b3adc4ff6f: Pull complete 03:20:58 8ad3a11d3b57: Pull complete 03:20:58 46f8f816bc3b: Pull complete 03:20:58 93b61091891f: Pull complete 03:20:58 93b9cdb0e59b: Pull complete 03:20:58 5e14af77c1be: Pull complete 03:20:59 01666e4c0597: Pull complete 03:20:59 aa168da1d23b: Verifying Checksum 03:20:59 aa168da1d23b: Download complete 03:21:03 aa168da1d23b: Pull complete 03:21:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:21:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:21:04 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 03:21:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:21:07 $ docker top 9f86fff6af9abeaf48b5770ea96a644da55df437e9b6711394c88783955024ba -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:08 + touch /tmp/pre-build-complete [Pipeline] sh 03:21:08 + mkdir -p /var/log/sa [Pipeline] sh 03:21:08 + ls /var/log/sa-host 03:21:08 + sadf -c /var/log/sa-host/sa04 03:21:08 file_magic: OK 03:21:08 HZ: Using current value: 100 03:21:08 file_header: OK 03:21:08 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 03:21:08 Statistics: 03:21:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:21:08 File successfully converted to sysstat format version 12.2.1 03:21:08 + sadf -c /var/log/sa-host/sa05 03:21:08 file_magic: OK 03:21:08 HZ: Using current value: 100 03:21:08 file_header: OK 03:21:08 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 03:21:08 Statistics: 03:21:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:21:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:08 provisioning config files... 03:21:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1396636967396660104tmp [Pipeline] { [Pipeline] echo 03:21:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:21:09 ---> create-netrc.sh [Pipeline] } 03:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:21:09 ---> python-tools-install.sh [Pipeline] echo 03:21:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:21:10 ---> sudo-logs.sh 03:21:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:21:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:21:10 ---> job-cost.sh 03:21:10 lf-activate-venv: SKIPPING 03:21:10 DEBUG: total: 0.18000000715255737 03:21:10 INFO: Retrieving Stack Cost... 03:21:11 INFO: Retrieving Pricing Info for: v3-standard-2 03:21:11 INFO: Archiving Costs [Pipeline] echo 03:21:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:21:12 ---> logs-deploy.sh 03:21:12 lf-activate-venv: SKIPPING 03:21:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/53 03:21:12 INFO: archiving workspace using pattern(s): 03:21:13 Archives upload complete. 03:21:13 INFO: archiving logs to Nexus 03:21:13 ---> uname -a: 03:21:13 Linux prd-centos7-docker-4c-2g-492.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 03:21:13 03:21:13 03:21:13 ---> lscpu: 03:21:13 Architecture: x86_64 03:21:13 CPU op-mode(s): 32-bit, 64-bit 03:21:13 Byte Order: Little Endian 03:21:13 Address sizes: 40 bits physical, 48 bits virtual 03:21:13 CPU(s): 2 03:21:13 On-line CPU(s) list: 0,1 03:21:13 Thread(s) per core: 1 03:21:13 Core(s) per socket: 1 03:21:13 Socket(s): 2 03:21:13 NUMA node(s): 1 03:21:13 Vendor ID: AuthenticAMD 03:21:13 CPU family: 23 03:21:13 Model: 49 03:21:13 Model name: AMD EPYC-Rome Processor 03:21:13 Stepping: 0 03:21:13 CPU MHz: 2799.998 03:21:13 BogoMIPS: 5599.99 03:21:13 Virtualization: AMD-V 03:21:13 Hypervisor vendor: KVM 03:21:13 Virtualization type: full 03:21:13 L1d cache: 64 KiB 03:21:13 L1i cache: 64 KiB 03:21:13 L2 cache: 1 MiB 03:21:13 L3 cache: 32 MiB 03:21:13 NUMA node0 CPU(s): 0,1 03:21:13 Vulnerability Itlb multihit: Not affected 03:21:13 Vulnerability L1tf: Not affected 03:21:13 Vulnerability Mds: Not affected 03:21:13 Vulnerability Meltdown: Not affected 03:21:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:21:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:21:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:21:13 Vulnerability Srbds: Not affected 03:21:13 Vulnerability Tsx async abort: Not affected 03:21:13 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 03:21:13 03:21:13 03:21:13 ---> nproc: 03:21:13 2 03:21:13 03:21:13 03:21:13 ---> df -h: 03:21:13 Filesystem Size Used Available Use% Mounted on 03:21:13 overlay 40.0G 8.9G 31.1G 22% / 03:21:13 tmpfs 64.0M 0 64.0M 0% /dev 03:21:13 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 03:21:13 shm 64.0M 0 64.0M 0% /dev/shm 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 03:21:13 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 03:21:13 03:21:13 03:21:13 ---> free -m: 03:21:13 total used free shared buff/cache available 03:21:13 Mem: 7821 1170 3265 0 3384 6568 03:21:13 Swap: 1023 0 1023 03:21:13 03:21:13 03:21:13 ---> ip addr: 03:21:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:21:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:21:13 inet 127.0.0.1/8 scope host lo 03:21:13 valid_lft forever preferred_lft forever 03:21:13 inet6 ::1/128 scope host 03:21:13 valid_lft forever preferred_lft forever 03:21:13 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:21:13 link/ether fa:16:3e:69:e2:b3 brd ff:ff:ff:ff:ff:ff 03:21:13 inet 10.30.122.99/23 brd 10.30.123.255 scope global dynamic eth0 03:21:13 valid_lft 85689sec preferred_lft 85689sec 03:21:13 inet6 fe80::f816:3eff:fe69:e2b3/64 scope link 03:21:13 valid_lft forever preferred_lft forever 03:21:13 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:21:13 link/ether 02:42:0e:58:c9:17 brd ff:ff:ff:ff:ff:ff 03:21:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:21:13 valid_lft forever preferred_lft forever 03:21:13 inet6 fe80::42:eff:fe58:c917/64 scope link 03:21:13 valid_lft forever preferred_lft forever 03:21:13 03:21:13 03:21:13 ---> sar -b -r -n DEV: 03:21:13 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/04/21 _x86_64_ (2 CPU) 03:21:13 03:21:13 03:09:13 LINUX RESTART (2 CPU) 03:21:13 03:21:13 03:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:21:13 03:11:01 16.29 0.62 15.67 0.00 351.71 2932.89 0.00 03:21:13 03:12:01 0.38 0.00 0.38 0.00 0.00 6.06 0.00 03:21:13 03:13:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 03:21:13 03:14:01 0.18 0.00 0.18 0.00 0.00 2.83 0.00 03:21:13 03:15:01 0.27 0.00 0.27 0.00 0.00 3.66 0.00 03:21:13 03:16:01 0.42 0.00 0.42 0.00 0.00 5.70 0.00 03:21:13 03:17:01 0.13 0.00 0.13 0.00 0.00 2.42 0.00 03:21:13 03:18:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 03:21:13 03:19:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 03:21:13 03:20:01 38.81 0.03 38.78 0.00 3.73 14159.57 0.00 03:21:13 03:21:01 175.44 0.10 175.34 0.00 9.99 44497.35 0.00 03:21:13 Average: 21.16 0.07 21.09 0.00 33.23 5602.73 0.00 03:21:13 03:21:13 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:21:13 03:11:01 5461112 0 808596 10.10 2620 1736612 1249220 13.79 573108 1576648 16 03:21:13 03:12:01 5463784 0 805916 10.06 2620 1736620 1206248 13.32 573568 1574952 16 03:21:13 03:13:01 5463168 0 806532 10.07 2620 1736620 1206272 13.32 574140 1574340 8 03:21:13 03:14:01 5461580 0 808116 10.09 2620 1736624 1206456 13.32 575908 1574340 20 03:21:13 03:15:01 5461448 0 808240 10.09 2620 1736632 1206480 13.32 568020 1582428 16 03:21:13 03:16:01 5462656 0 807032 10.08 2620 1736632 1206096 13.32 567104 1582428 16 03:21:13 03:17:01 5460440 0 809236 10.10 2620 1736644 1206336 13.32 569348 1582428 8 03:21:13 03:18:01 5452508 0 817164 10.20 2620 1736648 1206096 13.32 577192 1582428 8 03:21:13 03:19:01 5450300 0 819368 10.23 2620 1736652 1206412 13.32 580736 1580820 8 03:21:13 03:20:01 4591288 0 960312 11.99 2620 2454720 1478412 16.32 682684 2234996 261576 03:21:13 03:21:01 3351852 0 1177500 14.70 2620 3476968 1702412 18.80 1109140 2883960 417768 03:21:13 Average: 5189103 0 857092 10.70 2620 1960125 1280040 14.13 631904 1757252 61769 03:21:13 03:21:13 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:21:13 03:11:01 eth0 31.26 21.17 33.17 9.26 0.00 0.00 0.00 0.00 03:21:13 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:11:01 docker0 2.55 2.06 0.52 5.35 0.00 0.00 0.00 0.00 03:21:13 03:12:01 eth0 2.07 0.50 0.64 0.39 0.00 0.00 0.00 0.00 03:21:13 03:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:13:01 eth0 1.07 0.35 0.38 0.20 0.00 0.00 0.00 0.00 03:21:13 03:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:14:01 eth0 3.95 1.03 1.26 0.75 0.00 0.00 0.00 0.00 03:21:13 03:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:15:01 eth0 2.05 0.63 0.74 0.46 0.00 0.00 0.00 0.00 03:21:13 03:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:16:01 eth0 0.68 0.08 0.06 0.04 0.00 0.00 0.00 0.00 03:21:13 03:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:17:01 eth0 1.70 0.53 0.60 0.34 0.00 0.00 0.00 0.00 03:21:13 03:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:18:01 eth0 0.22 0.10 0.02 0.07 0.00 0.00 0.00 0.00 03:21:13 03:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:19:01 eth0 0.55 0.28 0.27 0.20 0.00 0.00 0.00 0.00 03:21:13 03:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:20:01 eth0 411.68 376.11 4078.69 57.61 0.00 0.00 0.00 0.00 03:21:13 03:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:21:01 eth0 730.56 651.74 6075.53 76.74 0.00 0.00 0.00 0.00 03:21:13 03:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 03:21:01 docker0 100.23 106.29 7.51 647.19 0.00 0.00 0.00 0.00 03:21:13 Average: eth0 107.81 95.70 926.59 13.28 0.00 0.00 0.00 0.00 03:21:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:21:13 Average: docker0 9.35 9.85 0.73 59.34 0.00 0.00 0.00 0.00 03:21:13 03:21:13 03:21:13 ---> sar -P ALL: 03:21:13 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/04/21 _x86_64_ (2 CPU) 03:21:13 03:21:13 03:09:13 LINUX RESTART (2 CPU) 03:21:13 03:21:13 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:21:13 03:11:01 all 1.81 0.00 1.04 0.50 0.05 96.59 03:21:13 03:11:01 0 1.99 0.00 1.11 0.64 0.05 96.21 03:21:13 03:11:01 1 1.63 0.00 0.97 0.37 0.05 96.97 03:21:13 03:12:01 all 0.16 0.00 0.03 0.00 0.02 99.79 03:21:13 03:12:01 0 0.28 0.00 0.03 0.00 0.02 99.67 03:21:13 03:12:01 1 0.03 0.00 0.03 0.00 0.02 99.92 03:21:13 03:13:01 all 0.08 0.00 0.03 0.00 0.04 99.84 03:21:13 03:13:01 0 0.12 0.00 0.03 0.00 0.03 99.82 03:21:13 03:13:01 1 0.05 0.00 0.03 0.00 0.05 99.87 03:21:13 03:14:01 all 0.18 0.00 0.04 0.00 0.02 99.76 03:21:13 03:14:01 0 0.10 0.00 0.03 0.00 0.00 99.87 03:21:13 03:14:01 1 0.27 0.00 0.05 0.00 0.03 99.65 03:21:13 03:15:01 all 0.13 0.00 0.04 0.00 0.03 99.80 03:21:13 03:15:01 0 0.13 0.00 0.05 0.00 0.05 99.77 03:21:13 03:15:01 1 0.12 0.00 0.03 0.00 0.02 99.83 03:21:13 03:16:01 all 0.13 0.00 0.02 0.00 0.03 99.82 03:21:13 03:16:01 0 0.25 0.00 0.02 0.00 0.03 99.70 03:21:13 03:16:01 1 0.02 0.00 0.02 0.00 0.03 99.93 03:21:13 03:17:01 all 0.13 0.00 0.03 0.00 0.03 99.81 03:21:13 03:17:01 0 0.22 0.00 0.03 0.00 0.02 99.73 03:21:13 03:17:01 1 0.05 0.00 0.03 0.00 0.03 99.88 03:21:13 03:18:01 all 0.05 0.00 0.03 0.00 0.03 99.88 03:21:13 03:18:01 0 0.08 0.00 0.05 0.00 0.05 99.82 03:21:13 03:18:01 1 0.02 0.00 0.02 0.00 0.02 99.95 03:21:13 03:19:01 all 0.05 0.00 0.03 0.00 0.03 99.89 03:21:13 03:19:01 0 0.08 0.00 0.03 0.00 0.03 99.85 03:21:13 03:19:01 1 0.02 0.00 0.02 0.00 0.03 99.93 03:21:13 03:20:01 all 7.71 0.00 3.09 0.29 0.04 88.87 03:21:13 03:20:01 0 7.94 0.00 3.23 0.10 0.03 88.69 03:21:13 03:20:01 1 7.47 0.00 2.95 0.48 0.05 89.05 03:21:13 03:21:01 all 21.38 0.00 9.14 2.83 0.09 66.56 03:21:13 03:21:01 0 20.28 0.00 9.02 3.03 0.09 67.59 03:21:13 03:21:01 1 22.48 0.00 9.25 2.64 0.09 65.54 03:21:13 03:21:13 Average: CPU %user %nice %system %iowait %steal %idle 03:21:13 Average: all 2.79 0.00 1.19 0.32 0.04 95.66 03:21:13 Average: 0 2.77 0.00 1.20 0.33 0.04 95.67 03:21:13 Average: 1 2.82 0.00 1.18 0.31 0.04 95.66 03:21:13 03:21:13 03:21:13