Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3c600ef67b9d5713aa095e4426208a75c5ec6803 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-ssh3211970875364797627.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh3386647789781923033.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5097457800353821833.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh714590245887321982.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-ssh9216454665132527770.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 Running on prd-centos7-docker-4c-2g-832 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-ssh8922012788899141387.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 3c600ef67b9d5713aa095e4426208a75c5ec6803 (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 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 Commit message: "Merge pull request #268 from lenny-intel/remove-dot-in-name" > git rev-list --no-walk d6fb99534e3fdca3af319a6e00b78ffe11ee4797 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:03 ========================================================= 03:58:03 EdgeX Global Pipelines Version Info 03:58:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:58:04 ------------------- 03:58:04 stable info: 03:58:04 ------------------- 03:58:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:04 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 03:58:04 Message: update stable to v1.0.195 03:58:05 ------------------- 03:58:05 experimental info: 03:58:05 ------------------- 03:58:05 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:05 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 03:58:05 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c600ef [Pipeline] echo 03:58:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:06 provisioning config files... 03:58:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2199514290947897883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:06 ---> docker-login.sh 03:58:06 nexus3.edgexfoundry.org:10001 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 nexus3.edgexfoundry.org:10002 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 nexus3.edgexfoundry.org:10003 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:07 Configure a credential helper to remove this warning. See 03:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:07 03:58:07 Login Succeeded 03:58:07 nexus3.edgexfoundry.org:10004 03:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 docker.io 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 ---> docker-login.sh ends [Pipeline] } 03:58:08 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:58:08 + git log --format=format:%s -1 3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] echo 03:58:08 GIT_COMMIT: 3c600ef67b9d5713aa095e4426208a75c5ec6803, Commit Message: Merge pull request #268 from lenny-intel/remove-dot-in-name [Pipeline] echo 03:58:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:10 03:58:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:58:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:10 latest: Pulling from edgex-devops/git-semver 03:58:10 31603596830f: Pulling fs layer 03:58:10 54011a49482f: Pulling fs layer 03:58:10 a6820b24f6d8: Pulling fs layer 03:58:10 f581987b2513: Pulling fs layer 03:58:10 f581987b2513: Waiting 03:58:10 54011a49482f: Verifying Checksum 03:58:10 54011a49482f: Download complete 03:58:10 31603596830f: Verifying Checksum 03:58:10 31603596830f: Download complete 03:58:10 f581987b2513: Verifying Checksum 03:58:10 f581987b2513: Download complete 03:58:10 a6820b24f6d8: Verifying Checksum 03:58:10 a6820b24f6d8: Download complete 03:58:11 31603596830f: Pull complete 03:58:11 54011a49482f: Pull complete 03:58:14 a6820b24f6d8: Pull complete 03:58:14 f581987b2513: Pull complete 03:58:14 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:58:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:58:14 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 03:58: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:58:20 $ docker top 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:20 [ssh-agent] Looking for ssh-agent implementation... 03:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:20 $ docker exec 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 ssh-agent 03:58:20 SSH_AUTH_SOCK=/tmp/ssh-B7ovccUnCAGx/agent.13 03:58:20 SSH_AGENT_PID=19 03:58:20 Running ssh-add (command line suppressed) 03:58:20 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2636213131248730780.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2636213131248730780.key) 03:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:21 + git tag --points-at HEAD [Pipeline] } 03:58:21 $ docker exec --env ******** --env ******** 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 ssh-agent -k 03:58:21 unset SSH_AUTH_SOCK; 03:58:21 unset SSH_AGENT_PID; 03:58:21 echo Agent pid 19 killed; 03:58:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:21 [ssh-agent] Looking for ssh-agent implementation... 03:58:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:21 $ docker exec 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 ssh-agent 03:58:21 SSH_AUTH_SOCK=/tmp/ssh-143KeDCTtqmf/agent.53 03:58:21 SSH_AGENT_PID=59 03:58:21 Running ssh-add (command line suppressed) 03:58:21 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995517207836780577.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995517207836780577.key) 03:58:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:22 + git semver init 03:58:22 # -> Open(): unable to determine branch for HEAD 03:58:22 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 03:58:22 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 03:58:22 # $SEMVER_REMOTE_NAME = origin 03:58:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:58:22 # $SEMVER_USER_NAME = edgex-jenkins 03:58:22 # $SEMVER_BRANCH = master 03:58:22 # $SEMVER_TEMP = /tmp/semver-533815856 03:58:22 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:58:22 # '/tmp/semver-533815856' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 03:58:22 # -> Force: false 03:58:22 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 03:58:22 $ docker exec --env ******** --env ******** 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 ssh-agent -k 03:58:22 unset SSH_AUTH_SOCK; 03:58:22 unset SSH_AGENT_PID; 03:58:22 echo Agent pid 59 killed; 03:58:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:23 + git semver [Pipeline] } 03:58:23 $ docker stop --time=1 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 03:58:24 $ docker rm -f 7cf07182b50a45fc3f1883dc284cf05f140c7cc793c04c269f74423064783fc9 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:25 Stashed 1 file(s) [Pipeline] echo 03:58:25 [edgeXSemver]: initialized semver on version 1.3.2-dev.19 [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:58:40 Still waiting to schedule task 03:58:40 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-832’ 03:58:40 Still waiting to schedule task 03:58:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:00:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-833 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 04:00:43 Running in /w/workspace/device-modbus-go/58 [Pipeline] { [Pipeline] checkout 04:00:43 Selected Git installation does not exist. Using Default 04:00:43 The recommended git tool is: NONE 04:00:48 using credential edgex-jenkins-ssh 04:00:48 Cloning the remote Git repository 04:00:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:00:48 > git init /w/workspace/device-modbus-go/58 # timeout=10 04:00:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:00:48 > git --version # timeout=10 04:00:48 > git --version # 'git version 2.17.1' 04:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:49 Avoid second fetch 04:00:49 Checking out Revision 3c600ef67b9d5713aa095e4426208a75c5ec6803 (master) 04:00:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:00:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:49 > git config core.sparsecheckout # timeout=10 04:00:49 > git checkout -f 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 04:00:54 Commit message: "Merge pull request #268 from lenny-intel/remove-dot-in-name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:00:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:00:56 + true 04:00:56 + sudo service docker restart 04:01:12 Running on prd-centos7-docker-4c-2g-834 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 04:01:12 Running in /w/workspace/device-modbus-go/58 [Pipeline] { [Pipeline] checkout 04:01:12 Selected Git installation does not exist. Using Default 04:01:12 The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:14 provisioning config files... 04:01:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config1967557039344105762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:15 ---> docker-login.sh 04:01:15 nexus3.edgexfoundry.org:10001 04:01:15 using credential edgex-jenkins-ssh 04:01:15 Cloning the remote Git repository 04:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:01:15 > git init /w/workspace/device-modbus-go/58 # timeout=10 04:01:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:01:15 > git --version # timeout=10 04:01:15 > git --version # 'git version 2.24.4' 04:01:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:15 [INFO] Currently running in a labeled security context 04:01:15 [INFO] Currently SELinux is 'enforcing' on the host 04:01:15 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/58@tmp/jenkins-gitclient-ssh4082231031138125389.key 04:01:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:16 Configure a credential helper to remove this warning. See 04:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:16 04:01:16 Login Succeeded 04:01:16 nexus3.edgexfoundry.org:10002 04:01:16 Avoid second fetch 04:01:16 Checking out Revision 3c600ef67b9d5713aa095e4426208a75c5ec6803 (master) 04:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:17 Configure a credential helper to remove this warning. See 04:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:17 04:01:17 Login Succeeded 04:01:17 nexus3.edgexfoundry.org:10003 04:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:01:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:16 > git config core.sparsecheckout # timeout=10 04:01:16 > git checkout -f 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 04:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:17 Configure a credential helper to remove this warning. See 04:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:17 04:01:17 Login Succeeded 04:01:17 nexus3.edgexfoundry.org:10004 04:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:18 Configure a credential helper to remove this warning. See 04:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:18 04:01:18 Login Succeeded 04:01:18 docker.io 04:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:18 Configure a credential helper to remove this warning. See 04:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:18 04:01:18 Login Succeeded 04:01:19 ---> docker-login.sh ends [Pipeline] } 04:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:19 ========================================================= 04:01:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:01:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:19 + 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 . 04:01:20 Sending build context to Docker daemon 639.5kB 04:01:20 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:01:20 Step 2/8 : FROM ${BASE} 04:01:20 Commit message: "Merge pull request #268 from lenny-intel/remove-dot-in-name" 04:01:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:20 595b0fe564bb: Pulling fs layer 04:01:20 3088b5b3c5c0: Pulling fs layer 04:01:20 5b7225fbf94c: Pulling fs layer 04:01:20 ba82ee9f976e: Pulling fs layer 04:01:20 506bd15cee9f: Pulling fs layer 04:01:20 75a0a4a0db45: Pulling fs layer 04:01:20 618dc40b7e24: Pulling fs layer 04:01:20 506bd15cee9f: Waiting 04:01:20 ba82ee9f976e: Waiting 04:01:20 75a0a4a0db45: Waiting 04:01:20 618dc40b7e24: Waiting 04:01:20 5b7225fbf94c: Verifying Checksum 04:01:20 5b7225fbf94c: Download complete 04:01:20 3088b5b3c5c0: Verifying Checksum 04:01:20 3088b5b3c5c0: Download complete 04:01:20 506bd15cee9f: Download complete [Pipeline] withEnv 04:01:20 75a0a4a0db45: Download complete 04:01:20 595b0fe564bb: Verifying Checksum 04:01:20 595b0fe564bb: Download complete [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:21 595b0fe564bb: Pull complete 04:01:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:01:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:21 3088b5b3c5c0: Pull complete 04:01:22 + sudo service docker restart 04:01:22 + true 04:01:22 Redirecting to /bin/systemctl restart docker.service 04:01:22 5b7225fbf94c: Pull complete 04:01:22 618dc40b7e24: Verifying Checksum 04:01:22 618dc40b7e24: Download complete 04:01:24 ba82ee9f976e: Download complete 04:01:34 ba82ee9f976e: Pull complete 04:01:34 506bd15cee9f: Pull complete 04:01:34 75a0a4a0db45: Pull complete 04:01:38 618dc40b7e24: Pull complete 04:01:38 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 04:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:01:38 ---> a36622ca3599 04:01:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:40 provisioning config files... 04:01:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config1696350659693338035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:40 ---> Running in f1db92055373 04:01:40 ---> docker-login.sh 04:01:40 nexus3.edgexfoundry.org:10001 04:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:40 Configure a credential helper to remove this warning. See 04:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:40 04:01:40 Login Succeeded 04:01:40 nexus3.edgexfoundry.org:10002 04:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:40 Removing intermediate container f1db92055373 04:01:40 ---> eeea6edd8e10 04:01:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 nexus3.edgexfoundry.org:10003 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 nexus3.edgexfoundry.org:10004 04:01:41 ---> Running in c442224fa02d 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 docker.io 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 ---> docker-login.sh ends [Pipeline] } 04:01:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:41 ========================================================= 04:01:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:01:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:42 + 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 . 04:01:42 Sending build context to Docker daemon 640.5kB 04:01:42 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:01:42 Step 2/8 : FROM ${BASE} 04:01:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:42 540db60ca938: Pulling fs layer 04:01:42 adcc1eea9eea: Pulling fs layer 04:01:42 4c4ab2625f07: Pulling fs layer 04:01:42 0510c868ecb4: Pulling fs layer 04:01:42 afea3b2eda06: Pulling fs layer 04:01:42 7809a108b3ef: Pulling fs layer 04:01:42 f706445af74f: Pulling fs layer 04:01:42 0510c868ecb4: Waiting 04:01:42 afea3b2eda06: Waiting 04:01:42 7809a108b3ef: Waiting 04:01:42 f706445af74f: Waiting 04:01:42 4c4ab2625f07: Download complete 04:01:42 adcc1eea9eea: Verifying Checksum 04:01:42 adcc1eea9eea: Download complete 04:01:42 afea3b2eda06: Verifying Checksum 04:01:42 afea3b2eda06: Download complete 04:01:42 7809a108b3ef: Verifying Checksum 04:01:42 7809a108b3ef: Download complete 04:01:42 540db60ca938: Verifying Checksum 04:01:42 540db60ca938: Download complete 04:01:42 540db60ca938: Pull complete 04:01:42 adcc1eea9eea: Pull complete 04:01:43 4c4ab2625f07: Pull complete 04:01:43 Removing intermediate container c442224fa02d 04:01:43 ---> 0e8934433f0a 04:01:43 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:01:43 ---> Running in dd0f9887afe0 04:01:43 f706445af74f: Verifying Checksum 04:01:43 f706445af74f: Download complete 04:01:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:01:44 0510c868ecb4: Verifying Checksum 04:01:44 0510c868ecb4: Download complete 04:01:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:01:46 (1/13) Installing libc-dev (0.7.2-r3) 04:01:46 (2/13) Installing libsodium (1.0.18-r0) 04:01:46 (3/13) Installing pkgconf (1.7.3-r0) 04:01:46 (4/13) Installing libsodium-dev (1.0.18-r0) 04:01:47 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:01:47 (6/13) Installing libedit (20191231.3.1-r1) 04:01:47 (7/13) Installing openssh-client (8.4_p1-r3) 04:01:47 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:01:47 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:01:47 (10/13) Installing openssh-server (8.4_p1-r3) 04:01:47 (11/13) Installing openssh (8.4_p1-r3) 04:01:47 0510c868ecb4: Pull complete 04:01:48 (12/13) Installing libzmq (4.3.3-r1) 04:01:48 afea3b2eda06: Pull complete 04:01:48 7809a108b3ef: Pull complete 04:01:48 (13/13) Installing zeromq-dev (4.3.3-r1) 04:01:48 Executing busybox-1.32.1-r6.trigger 04:01:48 OK: 145 MiB in 53 packages 04:01:50 f706445af74f: Pull complete 04:01:50 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 04:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:01:50 ---> b068be0155e3 04:01:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 04:01:51 Removing intermediate container dd0f9887afe0 04:01:51 ---> 5dc59546c5d0 04:01:51 Step 6/8 : WORKDIR /device-modbus-go 04:01:51 ---> Running in a5a5b08774ab 04:01:52 Removing intermediate container a5a5b08774ab 04:01:52 ---> 5a0a6b1c0a5d 04:01:52 Step 7/8 : COPY . . 04:01:53 ---> 33302289bdf6 04:01:53 Step 8/8 : RUN go mod download 04:01:53 ---> Running in 8bfe177091a2 04:01:54 ---> Running in fee2289a2d59 04:01:54 Removing intermediate container fee2289a2d59 04:01:54 ---> a77d2be76bc2 04:01:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:54 ---> Running in 3cf0b5859717 04:01:54 Removing intermediate container 3cf0b5859717 04:01:54 ---> 6f7160a8457d 04:01:54 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:01:54 ---> Running in 3612830fb1d7 04:01:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:01:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:01:56 (1/13) Installing libc-dev (0.7.2-r3) 04:01:56 (2/13) Installing libsodium (1.0.18-r0) 04:01:56 (3/13) Installing pkgconf (1.7.3-r0) 04:01:56 (4/13) Installing libsodium-dev (1.0.18-r0) 04:01:56 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:01:56 (6/13) Installing libedit (20191231.3.1-r1) 04:01:56 (7/13) Installing openssh-client (8.4_p1-r3) 04:01:57 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:01:57 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:01:57 (10/13) Installing openssh-server (8.4_p1-r3) 04:01:57 (11/13) Installing openssh (8.4_p1-r3) 04:01:57 (12/13) Installing libzmq (4.3.3-r1) 04:01:57 (13/13) Installing zeromq-dev (4.3.3-r1) 04:01:57 Executing busybox-1.32.1-r6.trigger 04:01:57 OK: 156 MiB in 53 packages 04:01:58 Removing intermediate container 3612830fb1d7 04:01:58 ---> 83b63e57dd1d 04:01:58 Step 6/8 : WORKDIR /device-modbus-go 04:01:58 ---> Running in bffdff6dba90 04:01:58 Removing intermediate container bffdff6dba90 04:01:58 ---> e24f917c6d72 04:01:58 Step 7/8 : COPY . . 04:01:58 ---> 76382c48c944 04:01:58 Step 8/8 : RUN go mod download 04:01:58 ---> Running in f4a70f059814 04:02:10 Removing intermediate container f4a70f059814 04:02:10 ---> d1c701c68b32 04:02:10 Successfully built d1c701c68b32 04:02:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:02:11 + docker inspect -f . ci-base-image-x86_64 04:02:11 . [Pipeline] withDockerContainer 04:02:11 prd-centos7-docker-4c-2g-834 does not seem to be running inside a container 04:02:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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-x86_64 cat 04:02:11 $ docker top ec80114d584ecfd0c5b4513988050294c57787ce40a3850cf93908d74194a0f7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:12 + go version 04:02:12 go version go1.16.3 linux/amd64 [Pipeline] } 04:02:12 $ docker stop --time=1 ec80114d584ecfd0c5b4513988050294c57787ce40a3850cf93908d74194a0f7 04:02:13 $ docker rm -f ec80114d584ecfd0c5b4513988050294c57787ce40a3850cf93908d74194a0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:14 + docker inspect -f . ci-base-image-x86_64 04:02:14 . [Pipeline] withDockerContainer 04:02:14 prd-centos7-docker-4c-2g-834 does not seem to be running inside a container 04:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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-x86_64 cat 04:02:14 $ docker top dc276f14907a3d3e99e83e7a1cc266c98858f52a114393fb3621b331465b8478 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:15 + go mod tidy [Pipeline] sh 04:02:15 + make test 04:02:15 go mod tidy 04:02:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:02:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:02:25 Removing intermediate container 8bfe177091a2 04:02:25 ---> 1d97b3bb04eb 04:02:25 Successfully built 1d97b3bb04eb 04:02:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:02:25 + docker inspect -f . ci-base-image-arm64 04:02:25 . [Pipeline] withDockerContainer 04:02:26 prd-ubuntu18.04-docker-arm64-4c-16g-833 does not seem to be running inside a container 04:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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 04:02:27 $ docker top 3e92ad39e137b52977c2fc09d08b6ac5c5ac99ada61c0b28cf0da00adf222289 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:28 + go version 04:02:28 go version go1.16.5 linux/arm64 [Pipeline] } 04:02:28 $ docker stop --time=1 3e92ad39e137b52977c2fc09d08b6ac5c5ac99ada61c0b28cf0da00adf222289 04:02:30 $ docker rm -f 3e92ad39e137b52977c2fc09d08b6ac5c5ac99ada61c0b28cf0da00adf222289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:31 + docker inspect -f . ci-base-image-arm64 04:02:31 . [Pipeline] withDockerContainer 04:02:31 prd-ubuntu18.04-docker-arm64-4c-16g-833 does not seem to be running inside a container 04:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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 04:02:33 $ docker top 55e76833e92bde15d81e4474f37e75efbf9ebd5769cc732c56a8dcfebd2dfed7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:34 + go mod tidy 04:02:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:02:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 04:02:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] sh 04:02:35 + make test 04:02:35 go mod tidy 04:02:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:02:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:02:41 gofmt -l . 04:02:41 [ "`gofmt -l .`" = "" ] 04:02:41 ./bin/test-attribution-txt.sh 04:02:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:02:41 $ docker stop --time=1 dc276f14907a3d3e99e83e7a1cc266c98858f52a114393fb3621b331465b8478 04:02:43 $ docker rm -f dc276f14907a3d3e99e83e7a1cc266c98858f52a114393fb3621b331465b8478 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:46 + ls -al . 04:02:46 total 112 04:02:46 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 04:02 . 04:02:46 drwxrwxr-x. 4 jenkins jenkins 30 Jun 23 04:01 .. 04:02:46 -rw-rw-r--. 1 jenkins jenkins 7707 Jun 23 04:01 Attribution.txt 04:02:46 drwxrwxr-x. 2 jenkins jenkins 87 Jun 23 04:01 bin 04:02:46 drwxrwxr-x. 3 jenkins jenkins 32 Jun 23 04:01 cmd 04:02:46 -rw-r--r--. 1 jenkins jenkins 22385 Jun 23 04:02 coverage.out 04:02:46 -rw-rw-r--. 1 jenkins jenkins 1473 Jun 23 04:01 Dockerfile 04:02:46 -rw-rw-r--. 1 jenkins jenkins 995 Jun 23 04:01 Dockerfile.build 04:02:46 -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 04:01 .dockerignore 04:02:46 drwxrwxr-x. 8 jenkins jenkins 162 Jun 23 04:01 .git 04:02:46 drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 04:01 .github 04:02:46 -rw-rw-r--. 1 jenkins jenkins 338 Jun 23 04:01 .gitignore 04:02:46 -rw-r--r--. 1 jenkins jenkins 414 Jun 23 04:02 go.mod 04:02:46 -rw-r--r--. 1 jenkins jenkins 21434 Jun 23 04:02 go.sum 04:02:46 drwxrwxr-x. 3 jenkins jenkins 20 Jun 23 04:01 internal 04:02:46 -rw-rw-r--. 1 jenkins jenkins 679 Jun 23 04:01 Jenkinsfile 04:02:46 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 04:01 LICENSE 04:02:46 -rw-rw-r--. 1 jenkins jenkins 914 Jun 23 04:01 Makefile 04:02:46 -rw-rw-r--. 1 jenkins jenkins 2897 Jun 23 04:01 README.md 04:02:46 drwxrwxr-x. 2 jenkins jenkins 52 Jun 23 04:01 simulator 04:02:46 drwxrwxr-x. 4 jenkins jenkins 71 Jun 23 04:01 snap 04:02:46 -rw-rw-r--. 1 jenkins jenkins 12 Jun 23 03:58 VERSION 04:02:46 -rw-rw-r--. 1 jenkins jenkins 229 Jun 23 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:02:47 + 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=3c600ef67b9d5713aa095e4426208a75c5ec6803 --label arch=amd64 --label version=1.3.2-dev.19 . 04:02:47 Sending build context to Docker daemon 663.6kB 04:02:47 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 04:02:47 Step 2/22 : FROM ${BASE} AS builder 04:02:47 ---> d1c701c68b32 04:02:47 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:47 ---> Running in fdeff4d7cc70 04:02:47 Removing intermediate container fdeff4d7cc70 04:02:47 ---> f08feeb58055 04:02:47 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:02:47 ---> Running in b976fd1f6f7e 04:02:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:02:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:02:49 OK: 156 MiB in 53 packages 04:02:49 Removing intermediate container b976fd1f6f7e 04:02:49 ---> 0e9cc79e4a81 04:02:49 Step 5/22 : WORKDIR /device-modbus-go 04:02:49 ---> Running in 560476e44bae 04:02:49 Removing intermediate container 560476e44bae 04:02:49 ---> a288caf60b34 04:02:49 Step 6/22 : COPY . . 04:02:50 ---> a7cd70bd21e6 04:02:50 Step 7/22 : RUN go mod tidy 04:02:50 ---> Running in 698ce5f0eff2 04:02:50 Removing intermediate container 698ce5f0eff2 04:02:50 ---> b9c5801a64a8 04:02:50 Step 8/22 : RUN go mod download 04:02:50 ---> Running in 22035a79fe4b 04:02:51 Removing intermediate container 22035a79fe4b 04:02:51 ---> 812f7480d589 04:02:51 Step 9/22 : RUN make build 04:02:51 ---> Running in 79994b822be9 04:02:51 go mod tidy 04:02:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.19" -o cmd/device-modbus ./cmd 04:03:04 Removing intermediate container 79994b822be9 04:03:04 ---> dd4681ffa16f 04:03:04 Step 10/22 : FROM alpine:3.12 04:03:04 3.12: Pulling from library/alpine 04:03:04 339de151aab4: Pulling fs layer 04:03:04 339de151aab4: Verifying Checksum 04:03:04 339de151aab4: Download complete 04:03:04 339de151aab4: Pull complete 04:03:04 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 04:03:04 Status: Downloaded newer image for alpine:3.12 04:03:04 ---> 13621d1b12d4 04:03:04 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:03:04 ---> Running in 5d0943834e5e 04:03:04 Removing intermediate container 5d0943834e5e 04:03:04 ---> f4edc9116883 04:03:04 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:04 ---> Running in 186e63881b29 04:03:04 Removing intermediate container 186e63881b29 04:03:04 ---> 0df521e9aebd 04:03:04 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 04:03:04 ---> Running in 47f3aee5c3bb 04:03:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:03:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:03:06 (1/6) Installing dumb-init (1.2.2-r1) 04:03:06 (2/6) Installing libgcc (9.3.0-r2) 04:03:06 (3/6) Installing libsodium (1.0.18-r0) 04:03:06 (4/6) Installing libstdc++ (9.3.0-r2) 04:03:07 (5/6) Installing libzmq (4.3.3-r0) 04:03:07 (6/6) Installing zeromq (4.3.3-r0) 04:03:07 Executing busybox-1.31.1-r20.trigger 04:03:07 OK: 8 MiB in 20 packages 04:03:07 Removing intermediate container 47f3aee5c3bb 04:03:07 ---> 69871fbc81b8 04:03:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:03:07 ---> b13e6f40d25c 04:03:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:03:08 ---> 233ecb7e4989 04:03:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:03:08 ---> 6d2b239931c4 04:03:08 Step 17/22 : EXPOSE 59901 04:03:08 ---> Running in 8ac0f081c598 04:03:08 Removing intermediate container 8ac0f081c598 04:03:08 ---> 60b03cd080e0 04:03:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:03:08 ---> Running in 536ba5aef225 04:03:08 Removing intermediate container 536ba5aef225 04:03:08 ---> 147e2d254df0 04:03:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:03:08 ---> Running in 68b0a6bcbfee 04:03:08 Removing intermediate container 68b0a6bcbfee 04:03:08 ---> 27383fa75b2d 04:03:08 Step 20/22 : LABEL arch=amd64 04:03:08 ---> Running in 4199a66d22c6 04:03:08 Removing intermediate container 4199a66d22c6 04:03:08 ---> 3f70e2ee3b1f 04:03:08 Step 21/22 : LABEL git_sha=3c600ef67b9d5713aa095e4426208a75c5ec6803 04:03:08 ---> Running in 7b3910ef036c 04:03:09 Removing intermediate container 7b3910ef036c 04:03:09 ---> b916aced7dfb 04:03:09 Step 22/22 : LABEL version=1.3.2-dev.19 04:03:09 ---> Running in 1e043077a33d 04:03:09 Removing intermediate container 1e043077a33d 04:03:09 ---> e14606e7f115 04:03:09 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:03:09 Successfully built e14606e7f115 04:03:09 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:09 provisioning config files... 04:03:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config6059401338627801481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:09 ---> docker-login.sh 04:03:09 nexus3.edgexfoundry.org:10001 04:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:09 Configure a credential helper to remove this warning. See 04:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:09 04:03:09 Login Succeeded 04:03:09 nexus3.edgexfoundry.org:10002 04:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:09 Configure a credential helper to remove this warning. See 04:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:09 04:03:09 Login Succeeded 04:03:09 nexus3.edgexfoundry.org:10003 04:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:09 Configure a credential helper to remove this warning. See 04:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:09 04:03:09 Login Succeeded 04:03:09 nexus3.edgexfoundry.org:10004 04:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:10 Configure a credential helper to remove this warning. See 04:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:10 04:03:10 Login Succeeded 04:03:10 docker.io 04:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:10 Configure a credential helper to remove this warning. See 04:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:10 04:03:10 Login Succeeded 04:03:10 ---> docker-login.sh ends [Pipeline] } 04:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:03:10 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 04:03:10 3c600ef67b9d5713aa095e4426208a75c5ec6803 04:03:10 latest 04:03:10 1.3.2-dev.19 04:03:10 3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:03:10 master 04:03:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] isUnix [Pipeline] sh 04:03:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803 04:03:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:03:11 54e33700d57d: Preparing 04:03:11 8e71d5f66b12: Preparing 04:03:11 82f8db8f014a: Preparing 04:03:11 440d79c23f9c: Preparing 04:03:11 6a1c21c4e36c: Preparing 04:03:11 32f366d666a5: Preparing 04:03:11 32f366d666a5: Waiting 04:03:11 54e33700d57d: Pushed 04:03:11 32f366d666a5: Layer already exists 04:03:11 8e71d5f66b12: Pushed 04:03:11 6a1c21c4e36c: Pushed 04:03:11 440d79c23f9c: Pushed 04:03:12 82f8db8f014a: Pushed 04:03:12 3c600ef67b9d5713aa095e4426208a75c5ec6803: digest: sha256:e60be40bbc7c6d19e8c32d673ba7ed84ee0f20443a32beb6b7d16789dbe711a5 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:03:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 04:03:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 04:03:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:03:13 54e33700d57d: Preparing 04:03:13 8e71d5f66b12: Preparing 04:03:13 82f8db8f014a: Preparing 04:03:13 440d79c23f9c: Preparing 04:03:13 6a1c21c4e36c: Preparing 04:03:13 32f366d666a5: Preparing 04:03:13 32f366d666a5: Waiting 04:03:13 8e71d5f66b12: Layer already exists 04:03:13 6a1c21c4e36c: Layer already exists 04:03:13 440d79c23f9c: Layer already exists 04:03:13 82f8db8f014a: Layer already exists 04:03:13 54e33700d57d: Layer already exists 04:03:13 32f366d666a5: Layer already exists 04:03:13 latest: digest: sha256:e60be40bbc7c6d19e8c32d673ba7ed84ee0f20443a32beb6b7d16789dbe711a5 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:03:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 04:03:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.19 04:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:03:14 54e33700d57d: Preparing 04:03:14 8e71d5f66b12: Preparing 04:03:14 82f8db8f014a: Preparing 04:03:14 440d79c23f9c: Preparing 04:03:14 6a1c21c4e36c: Preparing 04:03:14 32f366d666a5: Preparing 04:03:14 32f366d666a5: Waiting 04:03:14 440d79c23f9c: Layer already exists 04:03:14 82f8db8f014a: Layer already exists 04:03:14 8e71d5f66b12: Layer already exists 04:03:14 6a1c21c4e36c: Layer already exists 04:03:14 54e33700d57d: Layer already exists 04:03:14 32f366d666a5: Layer already exists 04:03:14 1.3.2-dev.19: digest: sha256:e60be40bbc7c6d19e8c32d673ba7ed84ee0f20443a32beb6b7d16789dbe711a5 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:03:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 04:03:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:03:14 54e33700d57d: Preparing 04:03:14 8e71d5f66b12: Preparing 04:03:14 82f8db8f014a: Preparing 04:03:14 440d79c23f9c: Preparing 04:03:14 6a1c21c4e36c: Preparing 04:03:14 32f366d666a5: Preparing 04:03:14 32f366d666a5: Waiting 04:03:14 6a1c21c4e36c: Layer already exists 04:03:14 54e33700d57d: Layer already exists 04:03:14 440d79c23f9c: Layer already exists 04:03:14 82f8db8f014a: Layer already exists 04:03:14 8e71d5f66b12: Layer already exists 04:03:14 32f366d666a5: Layer already exists 04:03:15 3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19: digest: sha256:e60be40bbc7c6d19e8c32d673ba7ed84ee0f20443a32beb6b7d16789dbe711a5 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:03:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh 04:03:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:master 04:03:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:03:15 54e33700d57d: Preparing 04:03:15 8e71d5f66b12: Preparing 04:03:15 82f8db8f014a: Preparing 04:03:15 440d79c23f9c: Preparing 04:03:15 6a1c21c4e36c: Preparing 04:03:15 32f366d666a5: Preparing 04:03:15 32f366d666a5: Waiting 04:03:15 440d79c23f9c: Layer already exists 04:03:15 82f8db8f014a: Layer already exists 04:03:15 6a1c21c4e36c: Layer already exists 04:03:15 32f366d666a5: Layer already exists 04:03:15 54e33700d57d: Layer already exists 04:03:15 8e71d5f66b12: Layer already exists 04:03:15 master: digest: sha256:e60be40bbc7c6d19e8c32d673ba7ed84ee0f20443a32beb6b7d16789dbe711a5 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:03:15 ===================================================== [Pipeline] echo 04:03:15 taggedImages: 04:03:15 - nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803 04:03:15 - nexus3.edgexfoundry.org:10004/device-modbus:latest 04:03:15 - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.19 04:03:15 - nexus3.edgexfoundry.org:10004/device-modbus:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:03:15 - 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 04:03:16 ---> job-cost.sh 04:03:16 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PgFC 04:03:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:03:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:03:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.045s coverage: 47.7% of statements 04:03:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:03:39 lf-activate-venv(): INFO: Adding /tmp/venv-PgFC/bin to PATH 04:03:39 INFO: No Stack... 04:03:39 INFO: Retrieving Pricing Info for: v3-standard-2 04:03:40 INFO: Archiving Costs [Pipeline] sh 04:03:40 + cat /w/workspace/device-modbus-go/58/archives/cost.csv 04:03:40 + cut -d, -f6 [Pipeline] lock 04:03:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] 04:03:40 Resource [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] did not exist. Created. 04:03:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:40 + echo total: 0.05999999865889549 [Pipeline] stash 04:03:40 Stashed 1 file(s) [Pipeline] } 04:03:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:03:55 gofmt -l . 04:03:55 [ "`gofmt -l .`" = "" ] 04:03:55 ./bin/test-attribution-txt.sh 04:03:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:03:55 $ docker stop --time=1 55e76833e92bde15d81e4474f37e75efbf9ebd5769cc732c56a8dcfebd2dfed7 04:03:57 $ docker rm -f 55e76833e92bde15d81e4474f37e75efbf9ebd5769cc732c56a8dcfebd2dfed7 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:58 Warning: overwriting stash ‘coverage-report’ 04:03:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:00 + ls -al . 04:04:00 total 144 04:04:00 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 04:03 . 04:04:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:00 .. 04:04:00 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 04:00 .dockerignore 04:04:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 04:00 .git 04:04:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:00 .github 04:04:00 -rw-rw-r-- 1 jenkins jenkins 338 Jun 23 04:00 .gitignore 04:04:00 -rw-rw-r-- 1 jenkins jenkins 7707 Jun 23 04:00 Attribution.txt 04:04:00 -rw-rw-r-- 1 jenkins jenkins 1473 Jun 23 04:00 Dockerfile 04:04:00 -rw-rw-r-- 1 jenkins jenkins 995 Jun 23 04:00 Dockerfile.build 04:04:00 -rw-rw-r-- 1 jenkins jenkins 679 Jun 23 04:00 Jenkinsfile 04:04:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 04:00 LICENSE 04:04:00 -rw-rw-r-- 1 jenkins jenkins 914 Jun 23 04:00 Makefile 04:04:00 -rw-rw-r-- 1 jenkins jenkins 2897 Jun 23 04:00 README.md 04:04:00 -rw-rw-r-- 1 jenkins jenkins 12 Jun 23 03:58 VERSION 04:04:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:00 bin 04:04:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 04:00 cmd 04:04:00 -rw-r--r-- 1 jenkins jenkins 22385 Jun 23 04:03 coverage.out 04:04:00 -rw-r--r-- 1 jenkins jenkins 414 Jun 23 04:03 go.mod 04:04:00 -rw-r--r-- 1 jenkins jenkins 21434 Jun 23 04:02 go.sum 04:04:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 04:00 internal 04:04:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:00 simulator 04:04:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:00 snap 04:04:00 -rw-rw-r-- 1 jenkins jenkins 229 Jun 23 04:00 version.go [Pipeline] isUnix [Pipeline] sh 04:04:00 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3c600ef67b9d5713aa095e4426208a75c5ec6803 --label arch=arm64 --label version=1.3.2-dev.19 . 04:04:00 Sending build context to Docker daemon 662.5kB 04:04:01 Step 1/22 : ARG BASE=golang:1.16-alpine3.12 04:04:01 Step 2/22 : FROM ${BASE} AS builder 04:04:01 ---> 1d97b3bb04eb 04:04:01 Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:01 ---> Running in d50dd0977fff 04:04:03 Removing intermediate container d50dd0977fff 04:04:03 ---> 38d13b945210 04:04:03 Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:04:03 ---> Running in 03ada9e17fd6 04:04:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:04:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:04:06 OK: 145 MiB in 53 packages 04:04:07 Removing intermediate container 03ada9e17fd6 04:04:07 ---> 4982b6ccc560 04:04:07 Step 5/22 : WORKDIR /device-modbus-go 04:04:07 ---> Running in 5be07d2947cb 04:04:08 Removing intermediate container 5be07d2947cb 04:04:08 ---> 80da0866bbfe 04:04:08 Step 6/22 : COPY . . 04:04:09 ---> 23ea2e5f544e 04:04:09 Step 7/22 : RUN go mod tidy 04:04:09 ---> Running in f19da4358e67 04:04:12 Removing intermediate container f19da4358e67 04:04:12 ---> 52a14b24d6df 04:04:12 Step 8/22 : RUN go mod download 04:04:12 ---> Running in 137aa9bc8af1 04:04:14 Removing intermediate container 137aa9bc8af1 04:04:14 ---> 0aac0b047bea 04:04:14 Step 9/22 : RUN make build 04:04:14 ---> Running in 3d14daea0a87 04:04:16 go mod tidy 04:04:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.19" -o cmd/device-modbus ./cmd 04:04:55 Removing intermediate container 3d14daea0a87 04:04:55 ---> 2df66cf80742 04:04:55 Step 10/22 : FROM alpine:3.12 04:04:55 3.12: Pulling from library/alpine 04:04:55 d2f70382dc9a: Pulling fs layer 04:04:55 d2f70382dc9a: Download complete 04:04:55 d2f70382dc9a: Pull complete 04:04:55 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 04:04:55 Status: Downloaded newer image for alpine:3.12 04:04:55 ---> c4fd0aeabfcf 04:04:55 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:04:55 ---> Running in e9a091c95423 04:04:55 Removing intermediate container e9a091c95423 04:04:55 ---> 49eeb45658b0 04:04:55 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:55 ---> Running in 299b061795dd 04:04:55 Removing intermediate container 299b061795dd 04:04:55 ---> 9695de93c0ff 04:04:55 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 04:04:55 ---> Running in ef2f0d29867f 04:04:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:04:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:04:57 (1/6) Installing dumb-init (1.2.2-r1) 04:04:58 (2/6) Installing libgcc (9.3.0-r2) 04:04:58 (3/6) Installing libsodium (1.0.18-r0) 04:04:58 (4/6) Installing libstdc++ (9.3.0-r2) 04:04:58 (5/6) Installing libzmq (4.3.3-r0) 04:04:58 (6/6) Installing zeromq (4.3.3-r0) 04:04:58 Executing busybox-1.31.1-r20.trigger 04:04:58 OK: 8 MiB in 20 packages 04:04:59 Removing intermediate container ef2f0d29867f 04:04:59 ---> c464f7bde286 04:04:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:05:01 ---> 8e810c1c16af 04:05:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:05:02 ---> 60202a929982 04:05:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:05:02 ---> 9942544cebf6 04:05:02 Step 17/22 : EXPOSE 59901 04:05:02 ---> Running in 2fb95f89d704 04:05:03 Removing intermediate container 2fb95f89d704 04:05:03 ---> 1dc8ee990782 04:05:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:05:03 ---> Running in aa55bfad9c21 04:05:04 Removing intermediate container aa55bfad9c21 04:05:04 ---> 10762df202b3 04:05:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:05:04 ---> Running in 92d3f9a37528 04:05:04 Removing intermediate container 92d3f9a37528 04:05:04 ---> ae1646e69e98 04:05:04 Step 20/22 : LABEL arch=arm64 04:05:04 ---> Running in 0da7aa1f4fb2 04:05:05 Removing intermediate container 0da7aa1f4fb2 04:05:05 ---> a73c0ff40048 04:05:05 Step 21/22 : LABEL git_sha=3c600ef67b9d5713aa095e4426208a75c5ec6803 04:05:05 ---> Running in d8384c7b1583 04:05:05 Removing intermediate container d8384c7b1583 04:05:05 ---> 6aeabd9174ff 04:05:05 Step 22/22 : LABEL version=1.3.2-dev.19 04:05:05 ---> Running in fb1ff0975365 04:05:06 Removing intermediate container fb1ff0975365 04:05:06 ---> 38b6fcbb8b15 04:05:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:05:06 Successfully built 38b6fcbb8b15 04:05:06 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:06 provisioning config files... 04:05:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config1104162780624040624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:07 ---> docker-login.sh 04:05:07 nexus3.edgexfoundry.org:10001 04:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:07 Configure a credential helper to remove this warning. See 04:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:07 04:05:07 Login Succeeded 04:05:07 nexus3.edgexfoundry.org:10002 04:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:08 Configure a credential helper to remove this warning. See 04:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:08 04:05:08 Login Succeeded 04:05:08 nexus3.edgexfoundry.org:10003 04:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:08 Configure a credential helper to remove this warning. See 04:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:08 04:05:08 Login Succeeded 04:05:08 nexus3.edgexfoundry.org:10004 04:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:09 Configure a credential helper to remove this warning. See 04:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:09 04:05:09 Login Succeeded 04:05:09 docker.io 04:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:10 Configure a credential helper to remove this warning. See 04:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:10 04:05:10 Login Succeeded 04:05:10 ---> docker-login.sh ends [Pipeline] } 04:05:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:05:10 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 04:05:10 3c600ef67b9d5713aa095e4426208a75c5ec6803 04:05:10 latest 04:05:10 1.3.2-dev.19 04:05:10 3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:05:10 master 04:05:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:05:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] isUnix [Pipeline] sh 04:05:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803 04:05:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:05:10 ca496c693620: Preparing 04:05:10 ec000a5bb768: Preparing 04:05:10 81b127981f2b: Preparing 04:05:10 739d3283b520: Preparing 04:05:10 2f6632875c5b: Preparing 04:05:10 3fbe34a1663b: Preparing 04:05:11 ec000a5bb768: Pushed 04:05:11 ca496c693620: Pushed 04:05:11 2f6632875c5b: Pushed 04:05:11 3fbe34a1663b: Layer already exists 04:05:12 739d3283b520: Pushed 04:05:14 81b127981f2b: Pushed 04:05:14 3c600ef67b9d5713aa095e4426208a75c5ec6803: digest: sha256:256503a3461f791d652f9ef05da964b2dbf0c9fcf81b736cce94c5998051a2cb size: 1572 [Pipeline] isUnix [Pipeline] sh 04:05:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:05:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:05:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:05:15 ca496c693620: Preparing 04:05:15 ec000a5bb768: Preparing 04:05:15 81b127981f2b: Preparing 04:05:15 739d3283b520: Preparing 04:05:15 2f6632875c5b: Preparing 04:05:15 3fbe34a1663b: Preparing 04:05:15 3fbe34a1663b: Waiting 04:05:15 ca496c693620: Layer already exists 04:05:15 81b127981f2b: Layer already exists 04:05:15 2f6632875c5b: Layer already exists 04:05:15 739d3283b520: Layer already exists 04:05:15 ec000a5bb768: Layer already exists 04:05:15 3fbe34a1663b: Layer already exists 04:05:15 latest: digest: sha256:256503a3461f791d652f9ef05da964b2dbf0c9fcf81b736cce94c5998051a2cb size: 1572 [Pipeline] isUnix [Pipeline] sh 04:05:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 04:05:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.19 04:05:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:05:16 ca496c693620: Preparing 04:05:16 ec000a5bb768: Preparing 04:05:16 81b127981f2b: Preparing 04:05:16 739d3283b520: Preparing 04:05:16 2f6632875c5b: Preparing 04:05:16 3fbe34a1663b: Preparing 04:05:16 3fbe34a1663b: Waiting 04:05:16 2f6632875c5b: Layer already exists 04:05:16 ca496c693620: Layer already exists 04:05:16 739d3283b520: Layer already exists 04:05:16 ec000a5bb768: Layer already exists 04:05:16 81b127981f2b: Layer already exists 04:05:16 3fbe34a1663b: Layer already exists 04:05:16 1.3.2-dev.19: digest: sha256:256503a3461f791d652f9ef05da964b2dbf0c9fcf81b736cce94c5998051a2cb size: 1572 [Pipeline] isUnix [Pipeline] sh 04:05:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 04:05:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:05:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:05:17 ca496c693620: Preparing 04:05:17 ec000a5bb768: Preparing 04:05:17 81b127981f2b: Preparing 04:05:17 739d3283b520: Preparing 04:05:17 2f6632875c5b: Preparing 04:05:17 3fbe34a1663b: Preparing 04:05:17 3fbe34a1663b: Waiting 04:05:17 ca496c693620: Layer already exists 04:05:17 739d3283b520: Layer already exists 04:05:17 2f6632875c5b: Layer already exists 04:05:17 81b127981f2b: Layer already exists 04:05:17 ec000a5bb768: Layer already exists 04:05:17 3fbe34a1663b: Layer already exists 04:05:17 3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19: digest: sha256:256503a3461f791d652f9ef05da964b2dbf0c9fcf81b736cce94c5998051a2cb size: 1572 [Pipeline] isUnix [Pipeline] sh 04:05:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh 04:05:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master 04:05:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:05:18 ca496c693620: Preparing 04:05:18 ec000a5bb768: Preparing 04:05:18 81b127981f2b: Preparing 04:05:18 739d3283b520: Preparing 04:05:18 2f6632875c5b: Preparing 04:05:18 3fbe34a1663b: Preparing 04:05:18 3fbe34a1663b: Waiting 04:05:18 2f6632875c5b: Layer already exists 04:05:18 739d3283b520: Layer already exists 04:05:18 ca496c693620: Layer already exists 04:05:18 81b127981f2b: Layer already exists 04:05:18 ec000a5bb768: Layer already exists 04:05:18 3fbe34a1663b: Layer already exists 04:05:18 master: digest: sha256:256503a3461f791d652f9ef05da964b2dbf0c9fcf81b736cce94c5998051a2cb size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:05:18 ===================================================== [Pipeline] echo 04:05:18 taggedImages: 04:05:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803 04:05:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:05:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.19 04:05:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3c600ef67b9d5713aa095e4426208a75c5ec6803-1.3.2-dev.19 04:05:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:05:18 ---> job-cost.sh 04:05:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ziaO 04:05:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:07:19 lf-activate-venv(): INFO: Adding /tmp/venv-ziaO/bin to PATH 04:07:19 INFO: No Stack... 04:07:19 INFO: Retrieving Pricing Info for: v2-standard-4 04:07:19 INFO: Archiving Costs [Pipeline] sh 04:07:19 + cat /w/workspace/device-modbus-go/58/archives/cost.csv 04:07:19 + cut -d, -f6 [Pipeline] lock 04:07:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] 04:07:19 Resource [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] did not exist. Created. 04:07:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:20 /w/workspace/device-modbus-go/58@tmp/durable-2c17ec70/script.sh: 1: /w/workspace/device-modbus-go/58@tmp/durable-2c17ec70/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:07:20 + echo total: 0.18000000715255737 [Pipeline] stash 04:07:20 Warning: overwriting stash ‘stack-cost’ 04:07:20 Stashed 1 file(s) [Pipeline] } 04:07:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-58-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 04:07:21 provisioning config files... 04:07:21 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2786593505876818085tmp [Pipeline] { [Pipeline] sh 04:07:22 + set +x 04:07:22 + bash -s -- 04:07:22 + curl -s https://codecov.io/bash 04:07:22 04:07:22 _____ _ 04:07:22 / ____| | | 04:07:22 | | ___ __| | ___ ___ _____ __ 04:07:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:07:22 | |___| (_) | (_| | __/ (_| (_) \ V / 04:07:22 \_____\___/ \__,_|\___|\___\___/ \_/ 04:07:22 Bash-1.0.3 04:07:22 04:07:22 04:07:22 ==> git version 2.24.4 found 04:07:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:07:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:07:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:07:22 ==> Jenkins CI detected. 04:07:22 project root: . 04:07:22 --> token set from env 04:07:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:07:22 ==> Running gcov in . (disable via -X gcov) 04:07:22 ==> Python coveragepy not found 04:07:22 ==> Searching for coverage reports in: 04:07:22 + . 04:07:22 -> Found 1 reports 04:07:22 ==> Detecting git/mercurial file structure 04:07:22 ==> Reading reports 04:07:22 + ./coverage.out bytes=22385 04:07:22 ==> Appending adjustments 04:07:22 https://docs.codecov.io/docs/fixing-reports 04:07:22 + Found adjustments 04:07:22 ==> Gzipping contents 04:07:22 4.0K /tmp/codecov.8UHvtn.gz 04:07:22 ==> Uploading reports 04:07:22 url: https://codecov.io 04:07:22 query: branch=master&commit=3c600ef67b9d5713aa095e4426208a75c5ec6803&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:22 -> Pinging Codecov 04:07:22 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=3c600ef67b9d5713aa095e4426208a75c5ec6803&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:22 -> Uploading to 04:07:22 https://storage.googleapis.com/codecov/v4/raw/2021-06-23/55DBCA73C666E3227836607328DD7E49/3c600ef67b9d5713aa095e4426208a75c5ec6803/6b22684d-214f-49c1-9e83-57c6eabaa624.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T040722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d74ac39779dfa3a5525b2e368458188d2ef7e19449b788abe19b28fb01368b37 04:07:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:22 Dload Upload Total Spent Left Speed 04:07:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3890 0 0 100 3890 0 12442 --:--:-- --:--:-- --:--:-- 12467 04:07:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] } 04:07:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:07:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:07:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:07:24 04:07:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:07:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:07:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:07:24 188c0c94c7c5: Pulling fs layer 04:07:24 0ef7d3d256c8: Pulling fs layer 04:07:24 de9db76c5a1d: Pulling fs layer 04:07:24 0eba1c9be4d2: Pulling fs layer 04:07:24 0d57e429df01: Pulling fs layer 04:07:24 4e4be7b47b0d: Pulling fs layer 04:07:24 e1f770b5df2f: Pulling fs layer 04:07:24 85a0685a4137: Pulling fs layer 04:07:24 0eba1c9be4d2: Waiting 04:07:24 0d57e429df01: Waiting 04:07:24 4e4be7b47b0d: Waiting 04:07:24 e1f770b5df2f: Waiting 04:07:24 85a0685a4137: Waiting 04:07:24 de9db76c5a1d: Verifying Checksum 04:07:24 de9db76c5a1d: Download complete 04:07:24 0ef7d3d256c8: Verifying Checksum 04:07:24 0ef7d3d256c8: Download complete 04:07:24 0d57e429df01: Verifying Checksum 04:07:24 0d57e429df01: Download complete 04:07:24 4e4be7b47b0d: Verifying Checksum 04:07:24 4e4be7b47b0d: Download complete 04:07:24 188c0c94c7c5: Verifying Checksum 04:07:24 188c0c94c7c5: Download complete 04:07:25 188c0c94c7c5: Pull complete 04:07:26 0ef7d3d256c8: Pull complete 04:07:26 e1f770b5df2f: Verifying Checksum 04:07:26 e1f770b5df2f: Download complete 04:07:26 de9db76c5a1d: Pull complete 04:07:29 85a0685a4137: Verifying Checksum 04:07:29 85a0685a4137: Download complete 04:07:29 0eba1c9be4d2: Verifying Checksum 04:07:29 0eba1c9be4d2: Download complete 04:07:33 0eba1c9be4d2: Pull complete 04:07:33 0d57e429df01: Pull complete 04:07:33 4e4be7b47b0d: Pull complete 04:07:34 e1f770b5df2f: Pull complete 04:07:40 85a0685a4137: Pull complete 04:07:40 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:07:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:07:40 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:07:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:07:58 $ docker top f3e7605f904f3a1b67ba157ea994585b48979582813dbeb5ec1395040c418997 -eo pid,comm [Pipeline] { [Pipeline] echo 04:07:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:07:59 + set -o pipefail 04:07:59 + snyk monitor '--org=edgex-jenkins' 04:08:17 04:08:17 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 04:08:17 04:08:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/8da20b6b-f839-43ec-a1d2-d5e443e52e9a 04:08:17 04:08:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:08:17 04:08:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:08:17 04:08:17 [Pipeline] } 04:08:17 $ docker stop --time=1 f3e7605f904f3a1b67ba157ea994585b48979582813dbeb5ec1395040c418997 04:08:21 $ docker rm -f f3e7605f904f3a1b67ba157ea994585b48979582813dbeb5ec1395040c418997 [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 04:08:22 + git log --format=format:%s -1 3c600ef67b9d5713aa095e4426208a75c5ec6803 [Pipeline] isUnix [Pipeline] sh 04:08:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:08:23 . [Pipeline] withDockerContainer 04:08:23 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:08:23 $ docker top 5a4346b554ae9390960baede8c4e61207f06626cfab7886c17fa8261a64917e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:23 [ssh-agent] Looking for ssh-agent implementation... 04:08:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:24 $ docker exec 5a4346b554ae9390960baede8c4e61207f06626cfab7886c17fa8261a64917e0 ssh-agent 04:08:24 SSH_AUTH_SOCK=/tmp/ssh-sNaElVEY0R57/agent.15 04:08:24 SSH_AGENT_PID=21 04:08:24 Running ssh-add (command line suppressed) 04:08:24 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8324848637195607202.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8324848637195607202.key) 04:08:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:24 + git semver tag 04:08:24 # -> Open(): unable to determine branch for HEAD 04:08:24 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:08:24 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:08:24 # $SEMVER_REMOTE_NAME = origin 04:08:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:08:24 # $SEMVER_USER_NAME = edgex-jenkins 04:08:24 # $SEMVER_BRANCH = master 04:08:24 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 04:08:24 # 3c600ef67b9d5713aa095e4426208a75c5ec6803 HEAD 04:08:24 # -> Force: false 04:08:24 # bce33094cd9835c03fce347d6e44e035e44a739c refs/tags/v1.3.2-dev.19 [Pipeline] } 04:08:24 $ docker exec --env ******** --env ******** 5a4346b554ae9390960baede8c4e61207f06626cfab7886c17fa8261a64917e0 ssh-agent -k 04:08:24 unset SSH_AUTH_SOCK; 04:08:24 unset SSH_AGENT_PID; 04:08:24 echo Agent pid 21 killed; 04:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:25 + git semver [Pipeline] } 04:08:25 $ docker stop --time=1 5a4346b554ae9390960baede8c4e61207f06626cfab7886c17fa8261a64917e0 04:08:26 $ docker rm -f 5a4346b554ae9390960baede8c4e61207f06626cfab7886c17fa8261a64917e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:08:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:27 04:08:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:08:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:27 0.23.1-centos7: Pulling from edgex-lftools 04:08:27 ab5ef0e58194: Pulling fs layer 04:08:27 9712f1f96733: Pulling fs layer 04:08:27 63f879dbbcfc: Pulling fs layer 04:08:27 0d9ebad4ef96: Pulling fs layer 04:08:27 e9a5061849ea: Pulling fs layer 04:08:27 d747dcd14b5f: Pulling fs layer 04:08:27 2de7ff778b66: Pulling fs layer 04:08:27 0d9ebad4ef96: Waiting 04:08:27 e9a5061849ea: Waiting 04:08:27 d747dcd14b5f: Waiting 04:08:27 2de7ff778b66: Waiting 04:08:27 9712f1f96733: Verifying Checksum 04:08:27 9712f1f96733: Download complete 04:08:28 63f879dbbcfc: Verifying Checksum 04:08:28 63f879dbbcfc: Download complete 04:08:29 e9a5061849ea: Verifying Checksum 04:08:29 e9a5061849ea: Download complete 04:08:29 d747dcd14b5f: Verifying Checksum 04:08:29 d747dcd14b5f: Download complete 04:08:29 2de7ff778b66: Verifying Checksum 04:08:29 2de7ff778b66: Download complete 04:08:30 0d9ebad4ef96: Verifying Checksum 04:08:30 0d9ebad4ef96: Download complete 04:08:30 ab5ef0e58194: Verifying Checksum 04:08:30 ab5ef0e58194: Download complete 04:08:33 ab5ef0e58194: Pull complete 04:08:33 9712f1f96733: Pull complete 04:08:34 63f879dbbcfc: Pull complete 04:08:39 0d9ebad4ef96: Pull complete 04:08:39 e9a5061849ea: Pull complete 04:08:39 d747dcd14b5f: Pull complete 04:08:40 2de7ff778b66: Pull complete 04:08:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:08:40 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:08:53 $ docker top aa6c27d2e1e54d855787d1a1e278f03b2963b693f9bc91c6c829f99feaaf82c5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:08:53 provisioning config files... 04:08:53 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4789054477966581865tmp 04:08:53 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2438378685308526526tmp 04:08:53 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2065063712444549107tmp [Pipeline] { [Pipeline] echo 04:08:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:08:54 ---> sigul-configuration.sh 04:08:54 gpg: directory `/root/.gnupg' created 04:08:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:08:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:08:54 gpg: keyring `/root/.gnupg/secring.gpg' created 04:08:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:08:54 gpg: CAST5 encrypted data 04:08:54 gpg: encrypted with 1 passphrase 04:08:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:08:54 + mkdir /home/jenkins 04:08:54 + mkdir /home/jenkins/sigul [Pipeline] sh 04:08:54 + 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 04:08:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:08:55 ---> sigul-install.sh 04:09:01 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:09:02 + git tag --list 04:09:02 0.7.1 04:09:02 v1.0.0 04:09:02 v1.1.0 04:09:02 v1.1.1 04:09:02 v1.2.2 04:09:02 v1.3.0 04:09:02 v1.3.1 04:09:02 v1.3.1-dev.1 04:09:02 v1.3.1-dev.2 04:09:02 v1.3.1-dev.3 04:09:02 v1.3.1-dev.4 04:09:02 v1.3.1-dev.5 04:09:02 v1.3.1-dev.6 04:09:02 v1.3.1-dev.7 04:09:02 v1.3.1-dev.8 04:09:02 v1.3.2-dev.1 04:09:02 v1.3.2-dev.10 04:09:02 v1.3.2-dev.11 04:09:02 v1.3.2-dev.12 04:09:02 v1.3.2-dev.13 04:09:02 v1.3.2-dev.14 04:09:02 v1.3.2-dev.15 04:09:02 v1.3.2-dev.16 04:09:02 v1.3.2-dev.17 04:09:02 v1.3.2-dev.18 04:09:02 v1.3.2-dev.19 04:09:02 v1.3.2-dev.2 04:09:02 v1.3.2-dev.3 04:09:02 v1.3.2-dev.4 04:09:02 v1.3.2-dev.5 04:09:02 v1.3.2-dev.6 04:09:02 v1.3.2-dev.7 04:09:02 v1.3.2-dev.8 04:09:02 v1.3.2-dev.9 [Pipeline] sh 04:09:02 + lftools sign git-tag v1.3.2-dev.19 04:09:03 Signing Git tag with Sigul... 04:09:03 Signing v1.3.2-dev.19 [Pipeline] echo 04:09:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:09:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:09:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:09:04 $ docker stop --time=1 aa6c27d2e1e54d855787d1a1e278f03b2963b693f9bc91c6c829f99feaaf82c5 04:09:07 $ docker rm -f aa6c27d2e1e54d855787d1a1e278f03b2963b693f9bc91c6c829f99feaaf82c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:09:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:08 . [Pipeline] withDockerContainer 04:09:08 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:09:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:09:08 $ docker top b8c15ded1c18d10f19e9bf15d5d9e3082043417fb99ab913c2d03c51663c6da0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:09 [ssh-agent] Looking for ssh-agent implementation... 04:09:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:09 $ docker exec b8c15ded1c18d10f19e9bf15d5d9e3082043417fb99ab913c2d03c51663c6da0 ssh-agent 04:09:09 SSH_AUTH_SOCK=/tmp/ssh-FIsoFCZxYP30/agent.13 04:09:09 SSH_AGENT_PID=19 04:09:09 Running ssh-add (command line suppressed) 04:09:09 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8785867540251777918.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8785867540251777918.key) 04:09:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:09 + git semver bump pre 04:09:09 # -> Open(): unable to determine branch for HEAD 04:09:09 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:09:09 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:09:09 # $SEMVER_REMOTE_NAME = origin 04:09:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:09:09 # $SEMVER_USER_NAME = edgex-jenkins 04:09:09 # $SEMVER_BRANCH = master 04:09:09 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 04:09:09 1.3.2-dev.20 [Pipeline] } 04:09:09 $ docker exec --env ******** --env ******** b8c15ded1c18d10f19e9bf15d5d9e3082043417fb99ab913c2d03c51663c6da0 ssh-agent -k 04:09:09 unset SSH_AUTH_SOCK; 04:09:09 unset SSH_AGENT_PID; 04:09:09 echo Agent pid 19 killed; 04:09:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:10 + git semver [Pipeline] } 04:09:10 $ docker stop --time=1 b8c15ded1c18d10f19e9bf15d5d9e3082043417fb99ab913c2d03c51663c6da0 04:09:11 $ docker rm -f b8c15ded1c18d10f19e9bf15d5d9e3082043417fb99ab913c2d03c51663c6da0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:12 . [Pipeline] withDockerContainer 04:09:12 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:09:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:09:12 $ docker top 3d1f0440498ca64ba3ea80f6a8d28ef37884010e08b7d9bdbff33bd5ba3e9813 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:12 [ssh-agent] Looking for ssh-agent implementation... 04:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:13 $ docker exec 3d1f0440498ca64ba3ea80f6a8d28ef37884010e08b7d9bdbff33bd5ba3e9813 ssh-agent 04:09:13 SSH_AUTH_SOCK=/tmp/ssh-8gDInxJnsIUO/agent.13 04:09:13 SSH_AGENT_PID=19 04:09:13 Running ssh-add (command line suppressed) 04:09:13 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1115649817870166787.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1115649817870166787.key) 04:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:13 + git semver push 04:09:13 # -> Open(): unable to determine branch for HEAD 04:09:13 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 04:09:13 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 04:09:13 # $SEMVER_REMOTE_NAME = origin 04:09:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:09:13 # $SEMVER_USER_NAME = edgex-jenkins 04:09:13 # $SEMVER_BRANCH = master 04:09:13 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 04:09:19 $ docker exec --env ******** --env ******** 3d1f0440498ca64ba3ea80f6a8d28ef37884010e08b7d9bdbff33bd5ba3e9813 ssh-agent -k 04:09:19 unset SSH_AUTH_SOCK; 04:09:19 unset SSH_AGENT_PID; 04:09:19 echo Agent pid 19 killed; 04:09:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:19 + git semver [Pipeline] } 04:09:19 $ docker stop --time=1 3d1f0440498ca64ba3ea80f6a8d28ef37884010e08b7d9bdbff33bd5ba3e9813 04:09:21 $ docker rm -f 3d1f0440498ca64ba3ea80f6a8d28ef37884010e08b7d9bdbff33bd5ba3e9813 [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 04:09:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:09:23 ---> package-listing.sh 04:09:23 ++ tr '[:upper:]' '[:lower:]' 04:09:23 ++ facter osfamily 04:09:23 + OS_FAMILY=redhat 04:09:23 + workspace=/w/workspace/xfoundry_device-modbus-go_master 04:09:23 + START_PACKAGES=/tmp/packages_start.txt 04:09:23 + END_PACKAGES=/tmp/packages_end.txt 04:09:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:09:23 + PACKAGES=/tmp/packages_start.txt 04:09:23 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 04:09:23 + PACKAGES=/tmp/packages_end.txt 04:09:23 + case "${OS_FAMILY}" in 04:09:23 + sort 04:09:23 + rpm -qa 04:09:23 + '[' -f /tmp/packages_start.txt ']' 04:09:23 + '[' -f /tmp/packages_end.txt ']' 04:09:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:09:23 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 04:09:23 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 04:09:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 04:09:23 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 04:09:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:09:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:09:24 04:09:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:09:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:09:25 alpine: Pulling from edgex-lftools-log-publisher 04:09:25 df20fa9351a1: Pulling fs layer 04:09:25 36b3adc4ff6f: Pulling fs layer 04:09:25 8ad3a11d3b57: Pulling fs layer 04:09:25 46f8f816bc3b: Pulling fs layer 04:09:25 93b61091891f: Pulling fs layer 04:09:25 93b9cdb0e59b: Pulling fs layer 04:09:25 5e14af77c1be: Pulling fs layer 04:09:25 01666e4c0597: Pulling fs layer 04:09:25 aa168da1d23b: Pulling fs layer 04:09:25 93b9cdb0e59b: Waiting 04:09:25 5e14af77c1be: Waiting 04:09:25 01666e4c0597: Waiting 04:09:25 aa168da1d23b: Waiting 04:09:25 46f8f816bc3b: Waiting 04:09:25 93b61091891f: Waiting 04:09:25 36b3adc4ff6f: Verifying Checksum 04:09:25 36b3adc4ff6f: Download complete 04:09:25 46f8f816bc3b: Verifying Checksum 04:09:25 46f8f816bc3b: Download complete 04:09:25 df20fa9351a1: Verifying Checksum 04:09:25 df20fa9351a1: Download complete 04:09:25 93b9cdb0e59b: Verifying Checksum 04:09:25 93b9cdb0e59b: Download complete 04:09:25 93b61091891f: Verifying Checksum 04:09:25 93b61091891f: Download complete 04:09:25 5e14af77c1be: Verifying Checksum 04:09:25 5e14af77c1be: Download complete 04:09:25 01666e4c0597: Verifying Checksum 04:09:25 01666e4c0597: Download complete 04:09:25 df20fa9351a1: Pull complete 04:09:25 8ad3a11d3b57: Verifying Checksum 04:09:25 8ad3a11d3b57: Download complete 04:09:25 36b3adc4ff6f: Pull complete 04:09:26 8ad3a11d3b57: Pull complete 04:09:26 46f8f816bc3b: Pull complete 04:09:26 93b61091891f: Pull complete 04:09:26 93b9cdb0e59b: Pull complete 04:09:26 5e14af77c1be: Pull complete 04:09:26 01666e4c0597: Pull complete 04:09:28 aa168da1d23b: Verifying Checksum 04:09:28 aa168da1d23b: Download complete 04:09:33 aa168da1d23b: Pull complete 04:09:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:09:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:09:33 prd-centos7-docker-4c-2g-832 does not seem to be running inside a container 04:09:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:09:41 $ docker top 27acf8868fabf7766ad89c8611d85845c3df49da3258f9eea8dfbff85ece1619 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:42 + touch /tmp/pre-build-complete [Pipeline] sh 04:09:42 + mkdir -p /var/log/sa [Pipeline] sh 04:09:42 + ls /var/log/sa-host 04:09:42 + sadf -c /var/log/sa-host/sa05 04:09:42 file_magic: OK 04:09:42 HZ: Using current value: 100 04:09:42 file_header: OK 04:09:42 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 04:09:42 Statistics: 04:09:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:09:42 File successfully converted to sysstat format version 12.2.1 04:09:42 + sadf -c /var/log/sa-host/sa23 04:09:42 file_magic: OK 04:09:42 HZ: Using current value: 100 04:09:42 file_header: OK 04:09:42 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 04:09:42 Statistics: 04:09:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:09:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:43 provisioning config files... 04:09:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7385073996815486tmp [Pipeline] { [Pipeline] echo 04:09:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:09:43 ---> create-netrc.sh [Pipeline] } 04:09:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:09:44 ---> python-tools-install.sh [Pipeline] echo 04:09:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:09:44 ---> sudo-logs.sh 04:09:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:09:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:09:45 ---> job-cost.sh 04:09:45 lf-activate-venv: SKIPPING 04:09:45 DEBUG: total: 0.18000000715255737 04:09:45 INFO: Retrieving Stack Cost... 04:09:45 INFO: Retrieving Pricing Info for: v3-standard-2 04:09:46 INFO: Archiving Costs [Pipeline] echo 04:09:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:09:46 ---> logs-deploy.sh 04:09:46 lf-activate-venv: SKIPPING 04:09:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/58 04:09:46 INFO: archiving workspace using pattern(s): 04:09:47 Archives upload complete. 04:09:47 INFO: archiving logs to Nexus 04:09:48 ---> uname -a: 04:09:48 Linux prd-centos7-docker-4c-2g-832.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 04:09:48 04:09:48 04:09:48 ---> lscpu: 04:09:48 Architecture: x86_64 04:09:48 CPU op-mode(s): 32-bit, 64-bit 04:09:48 Byte Order: Little Endian 04:09:48 Address sizes: 40 bits physical, 48 bits virtual 04:09:48 CPU(s): 2 04:09:48 On-line CPU(s) list: 0,1 04:09:48 Thread(s) per core: 1 04:09:48 Core(s) per socket: 1 04:09:48 Socket(s): 2 04:09:48 NUMA node(s): 1 04:09:48 Vendor ID: AuthenticAMD 04:09:48 CPU family: 23 04:09:48 Model: 49 04:09:48 Model name: AMD EPYC-Rome Processor 04:09:48 Stepping: 0 04:09:48 CPU MHz: 2800.000 04:09:48 BogoMIPS: 5600.00 04:09:48 Virtualization: AMD-V 04:09:48 Hypervisor vendor: KVM 04:09:48 Virtualization type: full 04:09:48 L1d cache: 64 KiB 04:09:48 L1i cache: 64 KiB 04:09:48 L2 cache: 1 MiB 04:09:48 L3 cache: 32 MiB 04:09:48 NUMA node0 CPU(s): 0,1 04:09:48 Vulnerability Itlb multihit: Not affected 04:09:48 Vulnerability L1tf: Not affected 04:09:48 Vulnerability Mds: Not affected 04:09:48 Vulnerability Meltdown: Not affected 04:09:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:09:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:09:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:09:48 Vulnerability Srbds: Not affected 04:09:48 Vulnerability Tsx async abort: Not affected 04:09:48 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 04:09:48 04:09:48 04:09:48 ---> nproc: 04:09:48 2 04:09:48 04:09:48 04:09:48 ---> df -h: 04:09:48 Filesystem Size Used Available Use% Mounted on 04:09:48 overlay 40.0G 8.9G 31.1G 22% / 04:09:48 tmpfs 64.0M 0 64.0M 0% /dev 04:09:48 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 04:09:48 shm 64.0M 0 64.0M 0% /dev/shm 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/xfoundry_device-modbus-go_master@tmp 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 04:09:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 04:09:48 04:09:48 04:09:48 ---> free -m: 04:09:48 total used free shared buff/cache available 04:09:48 Mem: 7821 1384 2995 0 3442 6384 04:09:48 Swap: 1023 0 1023 04:09:48 04:09:48 04:09:48 ---> ip addr: 04:09:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:09:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:09:48 inet 127.0.0.1/8 scope host lo 04:09:48 valid_lft forever preferred_lft forever 04:09:48 inet6 ::1/128 scope host 04:09:48 valid_lft forever preferred_lft forever 04:09:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:09:48 link/ether fa:16:3e:81:d7:25 brd ff:ff:ff:ff:ff:ff 04:09:48 inet 10.30.122.142/23 brd 10.30.123.255 scope global dynamic eth0 04:09:48 valid_lft 85656sec preferred_lft 85656sec 04:09:48 inet6 fe80::f816:3eff:fe81:d725/64 scope link 04:09:48 valid_lft forever preferred_lft forever 04:09:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:09:48 link/ether 02:42:e3:6e:d3:8f brd ff:ff:ff:ff:ff:ff 04:09:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:09:48 valid_lft forever preferred_lft forever 04:09:48 inet6 fe80::42:e3ff:fe6e:d38f/64 scope link 04:09:48 valid_lft forever preferred_lft forever 04:09:48 04:09:48 04:09:48 ---> sar -b -r -n DEV: 04:09:48 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 04:09:48 04:09:48 03:57:13 LINUX RESTART (2 CPU) 04:09:48 04:09:48 03:58:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:09:48 03:59:01 23.46 3.61 19.86 0.00 2643.24 2511.04 0.00 04:09:48 04:00:01 1.73 0.00 1.73 0.00 0.00 30.44 0.00 04:09:48 04:01:01 0.37 0.02 0.35 0.00 0.13 5.55 0.00 04:09:48 04:02:01 0.42 0.10 0.32 0.00 1.73 5.33 0.00 04:09:48 04:03:01 0.25 0.00 0.25 0.00 0.00 3.70 0.00 04:09:48 04:04:01 0.27 0.00 0.27 0.00 0.00 3.23 0.00 04:09:48 04:05:01 0.23 0.00 0.23 0.00 0.00 3.33 0.00 04:09:48 04:06:01 0.23 0.00 0.23 0.00 0.00 3.25 0.00 04:09:48 04:07:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 04:09:48 04:08:01 62.80 0.58 62.22 0.00 23.44 26566.55 0.00 04:09:48 04:09:01 247.11 113.81 133.31 0.00 1276.14 28729.24 0.00 04:09:48 Average: 30.66 10.75 19.91 0.00 355.27 5265.69 0.00 04:09:48 04:09:48 03:58:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:09:48 03:59:01 5457984 0 814680 10.17 2620 1733656 1537000 16.97 580112 1571272 12 04:09:48 04:00:01 5467924 0 804736 10.05 2620 1733660 1461512 16.14 573240 1570056 8 04:09:48 04:01:01 5465488 0 807172 10.08 2620 1733660 1464628 16.17 571156 1574784 20 04:09:48 04:02:01 5465344 0 807188 10.08 2620 1733788 1462296 16.14 571428 1574844 20 04:09:48 04:03:01 5467032 0 805492 10.06 2620 1733796 1462116 16.14 568112 1577140 16 04:09:48 04:04:01 5466976 0 805548 10.06 2620 1733796 1462128 16.14 568100 1577140 8 04:09:48 04:05:01 5464844 0 807672 10.08 2620 1733804 1462260 16.14 569988 1577144 16 04:09:48 04:06:01 5465148 0 807360 10.08 2620 1733812 1462236 16.14 569820 1577144 12 04:09:48 04:07:01 5466304 0 806204 10.07 2620 1733812 1462020 16.14 568620 1577140 16 04:09:48 04:08:01 4512252 0 1040848 13.00 2620 2453220 1750184 19.32 793332 2216296 512 04:09:48 04:09:01 3548316 0 1236024 15.43 2620 3221980 1661044 18.34 997884 2809564 98064 04:09:48 Average: 5204328 0 867539 10.83 2620 1934453 1513402 16.71 630163 1745684 8973 04:09:48 04:09:48 03:58:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:09:48 03:59:01 eth0 146.84 107.45 440.43 26.59 0.00 0.00 0.00 0.00 04:09:48 03:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 03:59:01 docker0 2.51 1.88 0.57 5.68 0.00 0.00 0.00 0.00 04:09:48 04:00:01 eth0 0.82 0.07 0.07 0.01 0.00 0.00 0.00 0.00 04:09:48 04:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:01:01 eth0 3.71 1.73 3.28 0.26 0.00 0.00 0.00 0.00 04:09:48 04:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:02:01 eth0 0.50 0.28 0.27 0.23 0.00 0.00 0.00 0.00 04:09:48 04:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:03:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 04:09:48 04:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:04:01 eth0 0.45 0.13 0.08 0.01 0.00 0.00 0.00 0.00 04:09:48 04:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:05:01 eth0 1.40 0.28 0.37 0.20 0.00 0.00 0.00 0.00 04:09:48 04:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:06:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 0.00 04:09:48 04:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:07:01 eth0 0.57 0.08 0.06 0.01 0.00 0.00 0.00 0.00 04:09:48 04:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:08:01 eth0 462.95 425.11 4093.51 36.22 0.00 0.00 0.00 0.00 04:09:48 04:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:08:01 veth503e71e 7.91 7.54 0.87 8.17 0.00 0.00 0.00 0.00 04:09:48 04:08:01 docker0 7.91 7.44 0.76 8.17 0.00 0.00 0.00 0.00 04:09:48 04:09:01 eth0 560.17 495.75 3879.38 48.78 0.00 0.00 0.00 0.00 04:09:48 04:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 04:09:01 vethb46617b 43.30 51.32 2.73 274.16 0.00 0.00 0.00 0.00 04:09:48 04:09:01 docker0 103.41 113.27 6.82 649.55 0.00 0.00 0.00 0.00 04:09:48 Average: eth0 107.07 93.76 765.93 10.21 0.00 0.00 0.00 0.00 04:09:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:09:48 Average: vethb46617b 3.94 4.67 0.25 24.97 0.00 0.00 0.00 0.00 04:09:48 Average: docker0 10.36 11.16 0.74 60.40 0.00 0.00 0.00 0.00 04:09:48 04:09:48 04:09:48 ---> sar -P ALL: 04:09:48 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 04:09:48 04:09:48 03:57:13 LINUX RESTART (2 CPU) 04:09:48 04:09:48 03:58:02 CPU %user %nice %system %iowait %steal %idle 04:09:48 03:59:01 all 4.52 0.00 2.23 5.96 0.06 87.23 04:09:48 03:59:01 0 4.84 0.00 2.52 5.84 0.07 86.73 04:09:48 03:59:01 1 4.20 0.00 1.95 6.08 0.05 87.73 04:09:48 04:00:01 all 0.12 0.00 0.05 0.00 0.03 99.81 04:09:48 04:00:01 0 0.20 0.00 0.05 0.00 0.03 99.72 04:09:48 04:00:01 1 0.03 0.00 0.05 0.00 0.02 99.90 04:09:48 04:01:01 all 0.15 0.00 0.03 0.00 0.03 99.78 04:09:48 04:01:01 0 0.25 0.00 0.03 0.00 0.05 99.67 04:09:48 04:01:01 1 0.05 0.00 0.03 0.00 0.02 99.90 04:09:48 04:02:01 all 0.08 0.00 0.03 0.00 0.03 99.86 04:09:48 04:02:01 0 0.15 0.00 0.03 0.00 0.03 99.78 04:09:48 04:02:01 1 0.02 0.00 0.02 0.00 0.03 99.93 04:09:48 04:03:01 all 0.15 0.00 0.05 0.00 0.03 99.77 04:09:48 04:03:01 0 0.22 0.00 0.05 0.00 0.03 99.70 04:09:48 04:03:01 1 0.08 0.00 0.05 0.00 0.02 99.85 04:09:48 04:04:01 all 0.09 0.00 0.02 0.00 0.03 99.86 04:09:48 04:04:01 0 0.18 0.00 0.02 0.00 0.03 99.77 04:09:48 04:04:01 1 0.00 0.00 0.02 0.00 0.03 99.95 04:09:48 04:05:01 all 0.12 0.00 0.03 0.00 0.03 99.82 04:09:48 04:05:01 0 0.18 0.00 0.03 0.00 0.05 99.73 04:09:48 04:05:01 1 0.05 0.00 0.03 0.00 0.02 99.90 04:09:48 04:06:01 all 0.10 0.00 0.01 0.00 0.03 99.87 04:09:48 04:06:01 0 0.18 0.00 0.02 0.00 0.03 99.77 04:09:48 04:06:01 1 0.02 0.00 0.00 0.00 0.02 99.97 04:09:48 04:07:01 all 0.10 0.00 0.04 0.00 0.03 99.83 04:09:48 04:07:01 0 0.15 0.00 0.05 0.00 0.03 99.77 04:09:48 04:07:01 1 0.05 0.00 0.03 0.00 0.02 99.90 04:09:48 04:08:01 all 9.61 0.01 4.70 13.51 0.07 72.10 04:09:48 04:08:01 0 9.88 0.02 4.92 15.10 0.07 70.01 04:09:48 04:08:01 1 9.34 0.00 4.48 11.93 0.07 74.18 04:09:48 04:09:01 all 15.41 2.85 16.96 32.04 0.11 32.62 04:09:48 04:09:01 0 16.32 2.68 16.70 32.56 0.09 31.65 04:09:48 04:09:01 1 14.49 3.03 17.22 31.51 0.14 33.60 04:09:48 04:09:48 Average: CPU %user %nice %system %iowait %steal %idle 04:09:48 Average: all 2.68 0.25 2.11 4.52 0.04 90.40 04:09:48 Average: 0 2.87 0.24 2.14 4.70 0.05 90.00 04:09:48 Average: 1 2.49 0.26 2.08 4.33 0.04 90.80 04:09:48 04:09:48 04:09:48