Started by upstream project "edgexfoundry/cd-management/release" build number 47 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24603’ Running on prd-centos7-docker-4c-2g-24607 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 Commit message: "Merge pull request #215 from iain-anderson/commit-lint" > git rev-list --no-walk 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:32:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:32:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:32:25 ========================================================= 20:32:25 EdgeX Global Pipelines Version Info 20:32:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:32:28 ------------------- 20:32:28 stable info: 20:32:28 ------------------- 20:32:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:28 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:32:28 Message: update stable to v1.0.179 20:32:29 ------------------- 20:32:29 experimental info: 20:32:29 ------------------- 20:32:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:29 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:32:29 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:32:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:32:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo 20:32:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f3888b [Pipeline] echo 20:32:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:32:34 provisioning config files... 20:32:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3953603360168300980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:34 ---> docker-login.sh 20:32:34 nexus3.edgexfoundry.org:10001 20:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:35 Configure a credential helper to remove this warning. See 20:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:35 20:32:35 Login Succeeded 20:32:35 nexus3.edgexfoundry.org:10002 20:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:36 Configure a credential helper to remove this warning. See 20:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:36 20:32:36 Login Succeeded 20:32:36 nexus3.edgexfoundry.org:10003 20:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:36 Configure a credential helper to remove this warning. See 20:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:36 20:32:36 Login Succeeded 20:32:37 nexus3.edgexfoundry.org:10004 20:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:37 Configure a credential helper to remove this warning. See 20:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:37 20:32:37 Login Succeeded 20:32:37 docker.io 20:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:37 Configure a credential helper to remove this warning. See 20:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:37 20:32:37 Login Succeeded 20:32:37 ---> docker-login.sh ends [Pipeline] } 20:32:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:38 + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo 20:32:38 GIT_COMMIT: 9f3888b97fc6b215bf6207a034605e4e0e7d1a95, Commit Message: Merge pull request #215 from iain-anderson/commit-lint [Pipeline] echo 20:32:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:32:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:39 20:32:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:32:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:40 latest: Pulling from edgex-devops/git-semver 20:32:40 31603596830f: Pulling fs layer 20:32:40 2a8b12db71e7: Pulling fs layer 20:32:40 6ca5941a6612: Pulling fs layer 20:32:40 ecc8261a40a4: Pulling fs layer 20:32:40 ecc8261a40a4: Waiting 20:32:40 2a8b12db71e7: Verifying Checksum 20:32:40 2a8b12db71e7: Download complete 20:32:40 31603596830f: Verifying Checksum 20:32:40 31603596830f: Download complete 20:32:40 ecc8261a40a4: Verifying Checksum 20:32:40 ecc8261a40a4: Download complete 20:32:40 6ca5941a6612: Verifying Checksum 20:32:40 6ca5941a6612: Download complete 20:32:40 31603596830f: Pull complete 20:32:41 2a8b12db71e7: Pull complete 20:32:42 6ca5941a6612: Pull complete 20:32:43 ecc8261a40a4: Pull complete 20:32:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:32:43 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:32:43 $ 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 20:32:47 $ docker top 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:47 [ssh-agent] Looking for ssh-agent implementation... 20:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:48 $ docker exec 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent 20:32:48 SSH_AUTH_SOCK=/tmp/ssh-gwcV6Av5zclx/agent.11 20:32:48 SSH_AGENT_PID=16 20:32:48 Running ssh-add (command line suppressed) 20:32:48 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995366917131482170.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995366917131482170.key) 20:32:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:49 + git tag --points-at HEAD [Pipeline] } 20:32:49 $ docker exec --env ******** --env ******** 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent -k 20:32:49 unset SSH_AUTH_SOCK; 20:32:49 unset SSH_AGENT_PID; 20:32:49 echo Agent pid 16 killed; 20:32:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:32:50 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.1|v1.3.1-dev.8' [Pipeline] sshagent 20:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:50 [ssh-agent] Looking for ssh-agent implementation... 20:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:50 $ docker exec 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent 20:32:50 SSH_AUTH_SOCK=/tmp/ssh-v5Ta9I7dc04T/agent.45 20:32:50 SSH_AGENT_PID=50 20:32:50 Running ssh-add (command line suppressed) 20:32:51 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5059854637098920014.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5059854637098920014.key) 20:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:51 + git semver init 20:32:51 # -> Open(): unable to determine branch for HEAD 20:32:51 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 20:32:51 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 20:32:51 # $SEMVER_REMOTE_NAME = origin 20:32:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:32:51 # $SEMVER_USER_NAME = edgex-jenkins 20:32:51 # $SEMVER_BRANCH = master 20:32:51 # $SEMVER_TEMP = /tmp/semver-282660883 20:32:51 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:32:52 # '/tmp/semver-282660883' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 20:32:52 # -> Force: false 20:32:52 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 20:32:52 $ docker exec --env ******** --env ******** 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent -k 20:32:52 unset SSH_AUTH_SOCK; 20:32:52 unset SSH_AGENT_PID; 20:32:52 echo Agent pid 50 killed; 20:32:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:53 + git semver [Pipeline] } 20:32:53 $ docker stop --time=1 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 20:32:54 $ docker rm -f 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:32:56 Stashed 1 file(s) [Pipeline] echo 20:32:56 [edgeXSemver]: initialized semver on version 1.3.1 [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 20:33:11 Still waiting to schedule task 20:33:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:33:11 Still waiting to schedule task 20:33:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-24613’ is offline 20:34:14 Running on prd-centos7-docker-4c-2g-24617 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 20:34:14 Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout 20:34:17 using credential edgex-jenkins-ssh 20:34:17 Cloning the remote Git repository 20:34:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:34:17 > git init /w/workspace/device-modbus-go/37 # timeout=10 20:34:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:34:17 > git --version # timeout=10 20:34:17 > git --version # 'git version 2.24.3' 20:34:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:19 Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) 20:34:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:34:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:34:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:34:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:34:19 > git config core.sparsecheckout # timeout=10 20:34:19 > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 20:34:22 Commit message: "Merge pull request #215 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:24 + git checkout 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:34:24 HEAD is now at 9f3888b Merge pull request #215 from iain-anderson/commit-lint [Pipeline] sh 20:34:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:34:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:34:25 + sudo service docker restart 20:34:25 + true 20:34:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:34:26 provisioning config files... 20:34:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config6664447956734025217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:27 ---> docker-login.sh 20:34:27 nexus3.edgexfoundry.org:10001 20:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:27 Configure a credential helper to remove this warning. See 20:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:27 20:34:27 Login Succeeded 20:34:27 nexus3.edgexfoundry.org:10002 20:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:27 Configure a credential helper to remove this warning. See 20:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:27 20:34:27 Login Succeeded 20:34:27 nexus3.edgexfoundry.org:10003 20:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:27 Configure a credential helper to remove this warning. See 20:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:27 20:34:27 Login Succeeded 20:34:27 nexus3.edgexfoundry.org:10004 20:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:28 Configure a credential helper to remove this warning. See 20:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:28 20:34:28 Login Succeeded 20:34:28 docker.io 20:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:28 Configure a credential helper to remove this warning. See 20:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:28 20:34:28 Login Succeeded 20:34:28 ---> docker-login.sh ends [Pipeline] } 20:34:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:28 ========================================================= 20:34:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:34:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:34:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 20:34:29 Sending build context to Docker daemon 532kB 20:34:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:34:29 Step 2/8 : FROM ${BASE} 20:34:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:29 188c0c94c7c5: Pulling fs layer 20:34:29 0ef7d3d256c8: Pulling fs layer 20:34:29 de9db76c5a1d: Pulling fs layer 20:34:29 bca2f99d35d6: Pulling fs layer 20:34:29 93359f2a8cfa: Pulling fs layer 20:34:29 7c6f9722023f: Pulling fs layer 20:34:29 a35cf1a2eb13: Pulling fs layer 20:34:29 93359f2a8cfa: Waiting 20:34:29 7c6f9722023f: Waiting 20:34:29 a35cf1a2eb13: Waiting 20:34:29 bca2f99d35d6: Waiting 20:34:29 de9db76c5a1d: Verifying Checksum 20:34:29 de9db76c5a1d: Download complete 20:34:29 0ef7d3d256c8: Verifying Checksum 20:34:29 0ef7d3d256c8: Download complete 20:34:29 93359f2a8cfa: Verifying Checksum 20:34:29 93359f2a8cfa: Download complete 20:34:29 7c6f9722023f: Verifying Checksum 20:34:29 7c6f9722023f: Download complete 20:34:29 188c0c94c7c5: Download complete 20:34:29 188c0c94c7c5: Pull complete 20:34:29 0ef7d3d256c8: Pull complete 20:34:29 de9db76c5a1d: Pull complete 20:34:31 a35cf1a2eb13: Verifying Checksum 20:34:31 a35cf1a2eb13: Download complete 20:34:32 bca2f99d35d6: Verifying Checksum 20:34:32 bca2f99d35d6: Download complete 20:34:38 bca2f99d35d6: Pull complete 20:34:38 93359f2a8cfa: Pull complete 20:34:38 7c6f9722023f: Pull complete 20:34:45 a35cf1a2eb13: Pull complete 20:34:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:34:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:34:45 ---> a62c8e92a672 20:34:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:34:45 ---> Running in 690ba5e68cc3 20:34:45 Removing intermediate container 690ba5e68cc3 20:34:45 ---> 154524da2223 20:34:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:45 ---> Running in 4e01052e573b 20:34:46 Removing intermediate container 4e01052e573b 20:34:46 ---> 9c56b23a9578 20:34:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:34:46 ---> Running in f4e33a411331 20:34:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:34:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:34:49 (1/14) Installing libmagic (5.38-r0) 20:34:49 (2/14) Installing file (5.38-r0) 20:34:49 (3/14) Installing libc-dev (0.7.2-r3) 20:34:49 (4/14) Installing g++ (9.3.0-r2) 20:35:07 (5/14) Installing fortify-headers (1.1-r0) 20:35:07 (6/14) Installing patch (2.7.6-r6) 20:35:07 (7/14) Installing build-base (0.5-r2) 20:35:07 (8/14) Installing openssh-keygen (8.3_p1-r1) 20:35:07 (9/14) Installing libedit (20191231.3.1-r0) 20:35:07 (10/14) Installing openssh-client (8.3_p1-r1) 20:35:09 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 20:35:09 (12/14) Installing openssh-server-common (8.3_p1-r1) 20:35:09 (13/14) Installing openssh-server (8.3_p1-r1) 20:35:09 (14/14) Installing openssh (8.3_p1-r1) 20:35:10 Executing busybox-1.31.1-r19.trigger 20:35:10 OK: 237 MiB in 53 packages 20:35:14 Removing intermediate container f4e33a411331 20:35:14 ---> f9b21d1b5593 20:35:14 Step 6/8 : WORKDIR /device-modbus-go 20:35:14 ---> Running in c3cdeae083c3 20:35:14 Removing intermediate container c3cdeae083c3 20:35:14 ---> bb7be2cfa637 20:35:14 Step 7/8 : COPY . . 20:35:15 ---> 29d71d2bb536 20:35:15 Step 8/8 : RUN go mod download 20:35:15 ---> Running in 344c3136fd08 20:35:37 Removing intermediate container 344c3136fd08 20:35:37 ---> bb681d4046ed 20:35:37 Successfully built bb681d4046ed 20:35:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:35:37 + docker inspect -f . ci-base-image-x86_64 20:35:37 . [Pipeline] withDockerContainer 20:35:37 prd-centos7-docker-4c-2g-24617 does not seem to be running inside a container 20:35:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 20:35:38 $ docker top f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:39 + go version 20:35:39 go version go1.15.5 linux/amd64 [Pipeline] } 20:35:39 $ docker stop --time=1 f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 20:35:40 $ docker rm -f f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:35:41 + docker inspect -f . ci-base-image-x86_64 20:35:41 . [Pipeline] withDockerContainer 20:35:41 prd-centos7-docker-4c-2g-24617 does not seem to be running inside a container 20:35:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 20:35:42 $ docker top 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:43 + make test 20:35:43 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:35:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:35:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24624 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 20:35:54 Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout 20:35:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:35:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.265s coverage: 50.3% of statements 20:35:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:35:59 gofmt -l . 20:35:59 [ "`gofmt -l .`" = "" ] 20:35:59 ./bin/test-attribution-txt.sh 20:35:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:35:59 $ docker stop --time=1 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a 20:36:00 using credential edgex-jenkins-ssh 20:36:00 Cloning the remote Git repository 20:36:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:36:00 > git init /w/workspace/device-modbus-go/37 # timeout=10 20:36:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:36:00 > git --version # timeout=10 20:36:00 > git --version # 'git version 2.17.1' 20:36:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:02 $ docker rm -f 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a [Pipeline] // withDockerContainer [Pipeline] sh 20:36:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:36:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:36:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:36:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:36:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:36:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] sh 20:36:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:04 Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) 20:36:05 + ls -al . 20:36:05 total 104 20:36:05 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 2 20:35 . 20:36:05 drwxrwxr-x. 4 jenkins jenkins 30 Feb 2 20:34 .. 20:36:05 -rw-rw-r--. 1 jenkins jenkins 5589 Feb 2 20:34 Attribution.txt 20:36:05 drwxrwxr-x. 2 jenkins jenkins 87 Feb 2 20:34 bin 20:36:05 drwxrwxr-x. 3 jenkins jenkins 32 Feb 2 20:34 cmd 20:36:05 -rw-r--r--. 1 jenkins jenkins 22362 Feb 2 20:35 coverage.out 20:36:05 -rw-rw-r--. 1 jenkins jenkins 1434 Feb 2 20:34 Dockerfile 20:36:05 -rw-rw-r--. 1 jenkins jenkins 958 Feb 2 20:34 Dockerfile.build 20:36:05 -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 20:34 .dockerignore 20:36:05 drwxrwxr-x. 8 jenkins jenkins 162 Feb 2 20:34 .git 20:36:05 drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 20:34 .github 20:36:05 -rw-rw-r--. 1 jenkins jenkins 338 Feb 2 20:34 .gitignore 20:36:05 -rw-r--r--. 1 jenkins jenkins 517 Feb 2 20:35 go.mod 20:36:05 -rw-r--r--. 1 jenkins jenkins 14838 Feb 2 20:35 go.sum 20:36:05 drwxrwxr-x. 3 jenkins jenkins 20 Feb 2 20:34 internal 20:36:05 -rw-rw-r--. 1 jenkins jenkins 679 Feb 2 20:34 Jenkinsfile 20:36:05 -rw-rw-r--. 1 jenkins jenkins 11340 Feb 2 20:34 LICENSE 20:36:05 -rw-rw-r--. 1 jenkins jenkins 880 Feb 2 20:34 Makefile 20:36:05 -rw-rw-r--. 1 jenkins jenkins 591 Feb 2 20:34 README.md 20:36:05 drwxrwxr-x. 2 jenkins jenkins 52 Feb 2 20:34 simulator 20:36:05 drwxrwxr-x. 4 jenkins jenkins 71 Feb 2 20:34 snap 20:36:05 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 20:32 VERSION 20:36:05 -rw-rw-r--. 1 jenkins jenkins 229 Feb 2 20:34 version.go [Pipeline] isUnix [Pipeline] sh 20:36:04 > git config core.sparsecheckout # timeout=10 20:36:04 > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 20:36:05 + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=amd64 --label version=1.3.1 . 20:36:05 Sending build context to Docker daemon 563.2kB 20:36:05 Step 1/20 : ARG BASE=golang:1.15-alpine3.12 20:36:05 Step 2/20 : FROM ${BASE} AS builder 20:36:05 ---> bb681d4046ed 20:36:05 Step 3/20 : ARG MAKE='make build' 20:36:05 ---> Running in 2bff198c195d 20:36:05 Removing intermediate container 2bff198c195d 20:36:05 ---> ce29d2dfb8ef 20:36:05 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:05 ---> Running in 12159a879435 20:36:06 Removing intermediate container 12159a879435 20:36:06 ---> 9c4b8d75d693 20:36:06 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 20:36:06 ---> Running in 6d5c6c24adc4 20:36:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:36:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:36:09 OK: 237 MiB in 53 packages 20:36:09 Commit message: "Merge pull request #215 from iain-anderson/commit-lint" 20:36:09 Removing intermediate container 6d5c6c24adc4 20:36:09 ---> 660e5dddeba6 20:36:09 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:36:09 ---> Running in d0e1634be1c9 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 20:36:10 Removing intermediate container d0e1634be1c9 20:36:10 ---> 6b103436ec28 20:36:10 Step 7/20 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:10 ---> efa531a82485 20:36:10 Step 8/20 : RUN ${MAKE} 20:36:10 ---> Running in 44c4b816d94d 20:36:11 + git checkout 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:36:11 HEAD is now at 9f3888b Merge pull request #215 from iain-anderson/commit-lint [Pipeline] sh 20:36:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1" -o cmd/device-modbus ./cmd 20:36:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:36:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:36:12 + sudo service docker restart 20:36:12 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:36:15 provisioning config files... 20:36:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config7162353388874187729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:15 ---> docker-login.sh 20:36:15 nexus3.edgexfoundry.org:10001 20:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:16 Configure a credential helper to remove this warning. See 20:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:16 20:36:16 Login Succeeded 20:36:16 nexus3.edgexfoundry.org:10002 20:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:17 Configure a credential helper to remove this warning. See 20:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:17 20:36:17 Login Succeeded 20:36:17 nexus3.edgexfoundry.org:10003 20:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:18 Configure a credential helper to remove this warning. See 20:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:18 20:36:18 Login Succeeded 20:36:18 nexus3.edgexfoundry.org:10004 20:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:18 Configure a credential helper to remove this warning. See 20:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:18 20:36:18 Login Succeeded 20:36:18 docker.io 20:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:19 Configure a credential helper to remove this warning. See 20:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:19 20:36:19 Login Succeeded 20:36:19 ---> docker-login.sh ends [Pipeline] } 20:36:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:19 ========================================================= 20:36:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:36:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:36:19 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:36: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.15-alpine . 20:36:20 Sending build context to Docker daemon 530.9kB 20:36:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:36:20 Step 2/8 : FROM ${BASE} 20:36:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:20 5f621e34cdf4: Pulling fs layer 20:36:20 a4357932f1b6: Pulling fs layer 20:36:20 18c013af1878: Pulling fs layer 20:36:20 00ac8860ef70: Pulling fs layer 20:36:20 00ac8860ef70: Waiting 20:36:20 63d7cb157983: Pulling fs layer 20:36:20 b116817d02f9: Pulling fs layer 20:36:20 745a02a5169b: Pulling fs layer 20:36:20 63d7cb157983: Waiting 20:36:20 b116817d02f9: Waiting 20:36:20 745a02a5169b: Waiting 20:36:20 18c013af1878: Verifying Checksum 20:36:20 18c013af1878: Download complete 20:36:20 a4357932f1b6: Download complete 20:36:20 63d7cb157983: Verifying Checksum 20:36:20 63d7cb157983: Download complete 20:36:21 b116817d02f9: Verifying Checksum 20:36:21 b116817d02f9: Download complete 20:36:21 5f621e34cdf4: Verifying Checksum 20:36:21 5f621e34cdf4: Download complete 20:36:21 5f621e34cdf4: Pull complete 20:36:22 a4357932f1b6: Pull complete 20:36:22 18c013af1878: Pull complete 20:36:22 745a02a5169b: Verifying Checksum 20:36:22 745a02a5169b: Download complete 20:36:23 Removing intermediate container 44c4b816d94d 20:36:23 ---> 88379c13159a 20:36:23 Step 9/20 : FROM scratch 20:36:23 ---> 20:36:23 Step 10/20 : ENV APP_PORT=49991 20:36:23 ---> Running in da5fc0850656 20:36:23 Removing intermediate container da5fc0850656 20:36:23 ---> 6a9fa7462264 20:36:23 Step 11/20 : EXPOSE $APP_PORT 20:36:23 ---> Running in e95d001816c5 20:36:23 Removing intermediate container e95d001816c5 20:36:23 ---> fdcc6c7f12b1 20:36:23 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:36:23 ---> bff4641da88d 20:36:23 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:36:24 ---> 4e9f6e29e0ed 20:36:24 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:36:24 ---> d16c64b23fff 20:36:24 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:36:24 ---> Running in 5dcd8da63fab 20:36:24 Removing intermediate container 5dcd8da63fab 20:36:24 ---> 457e1bf69c34 20:36:24 Step 16/20 : ENTRYPOINT ["/device-modbus"] 20:36:24 ---> Running in 12b6d275a565 20:36:24 00ac8860ef70: Verifying Checksum 20:36:24 00ac8860ef70: Download complete 20:36:25 Removing intermediate container 12b6d275a565 20:36:25 ---> e4505587f306 20:36:25 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:36:25 ---> Running in 2686b9049ec9 20:36:25 Removing intermediate container 2686b9049ec9 20:36:25 ---> a0f63c50b281 20:36:25 Step 18/20 : LABEL arch=amd64 20:36:25 ---> Running in 00bf21806743 20:36:25 Removing intermediate container 00bf21806743 20:36:25 ---> 9a746323224d 20:36:25 Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:36:25 ---> Running in e5c9e956906f 20:36:25 Removing intermediate container e5c9e956906f 20:36:25 ---> fb3546fd40ce 20:36:25 Step 20/20 : LABEL version=1.3.1 20:36:25 ---> Running in 1eba91ae935a 20:36:25 Removing intermediate container 1eba91ae935a 20:36:25 ---> b069bf92a141 20:36:25 [Warning] One or more build-args [ARCH] were not consumed 20:36:25 Successfully built b069bf92a141 20:36:25 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:36:26 provisioning config files... 20:36:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config3788483361911484722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:26 ---> docker-login.sh 20:36:26 nexus3.edgexfoundry.org:10001 20:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:26 Configure a credential helper to remove this warning. See 20:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:26 20:36:26 Login Succeeded 20:36:26 nexus3.edgexfoundry.org:10002 20:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:27 Configure a credential helper to remove this warning. See 20:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:27 20:36:27 Login Succeeded 20:36:27 nexus3.edgexfoundry.org:10003 20:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:27 Configure a credential helper to remove this warning. See 20:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:27 20:36:27 Login Succeeded 20:36:27 nexus3.edgexfoundry.org:10004 20:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:27 Configure a credential helper to remove this warning. See 20:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:27 20:36:27 Login Succeeded 20:36:27 docker.io 20:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:27 Configure a credential helper to remove this warning. See 20:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:27 20:36:27 Login Succeeded 20:36:27 ---> docker-login.sh ends [Pipeline] } 20:36:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:27 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 20:36:27 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:36:27 latest 20:36:27 1.3.1 20:36:27 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:36:27 master 20:36:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:36:28 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh 20:36:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:36:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 20:36:28 f700fde42625: Preparing 20:36:28 c469da5f1310: Preparing 20:36:28 5880af5c5eb6: Preparing 20:36:28 c469da5f1310: Pushed 20:36:28 f700fde42625: Pushed 20:36:29 5880af5c5eb6: Pushed 20:36:29 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh 20:36:30 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 20:36:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 20:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 20:36:30 f700fde42625: Preparing 20:36:30 c469da5f1310: Preparing 20:36:30 5880af5c5eb6: Preparing 20:36:30 5880af5c5eb6: Layer already exists 20:36:30 c469da5f1310: Layer already exists 20:36:30 f700fde42625: Layer already exists 20:36:30 latest: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh 20:36:30 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 [Pipeline] isUnix [Pipeline] sh 20:36:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 20:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 20:36:31 f700fde42625: Preparing 20:36:31 c469da5f1310: Preparing 20:36:31 5880af5c5eb6: Preparing 20:36:31 c469da5f1310: Layer already exists 20:36:31 f700fde42625: Layer already exists 20:36:31 5880af5c5eb6: Layer already exists 20:36:31 1.3.1: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh 20:36:31 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [Pipeline] isUnix [Pipeline] sh 20:36:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:36:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 20:36:31 f700fde42625: Preparing 20:36:31 c469da5f1310: Preparing 20:36:31 5880af5c5eb6: Preparing 20:36:31 5880af5c5eb6: Layer already exists 20:36:31 f700fde42625: Layer already exists 20:36:31 c469da5f1310: Layer already exists 20:36:31 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh 20:36:32 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 20:36:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 20:36:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 20:36:32 f700fde42625: Preparing 20:36:32 c469da5f1310: Preparing 20:36:32 5880af5c5eb6: Preparing 20:36:32 c469da5f1310: Layer already exists 20:36:32 f700fde42625: Layer already exists 20:36:32 5880af5c5eb6: Layer already exists 20:36:32 master: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:32 ===================================================== [Pipeline] echo 20:36:32 taggedImages: 20:36:32 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:36:32 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 20:36:32 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 20:36:32 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:36:32 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:35 00ac8860ef70: Pull complete 20:36:35 63d7cb157983: Pull complete 20:36:35 b116817d02f9: Pull complete 20:36:38 745a02a5169b: Pull complete 20:36:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:36:38 ---> b7e6874047d6 20:36:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:36:42 ---> Running in fd521a460bf6 20:36:42 Removing intermediate container fd521a460bf6 20:36:42 ---> 185578956ddb 20:36:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:42 ---> Running in 16ce303ccd9d 20:36:44 Removing intermediate container 16ce303ccd9d 20:36:44 ---> 78283c119484 20:36:44 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:36:44 ---> Running in 504c06aec66e 20:36:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:36:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:36:51 (1/14) Installing libmagic (5.38-r0) 20:36:52 (2/14) Installing file (5.38-r0) 20:36:52 (3/14) Installing libc-dev (0.7.2-r3) 20:36:52 (4/14) Installing g++ (9.3.0-r2) 20:37:14 (5/14) Installing fortify-headers (1.1-r0) 20:37:14 (6/14) Installing patch (2.7.6-r6) 20:37:14 (7/14) Installing build-base (0.5-r2) 20:37:14 (8/14) Installing openssh-keygen (8.3_p1-r1) 20:37:14 (9/14) Installing libedit (20191231.3.1-r0) 20:37:14 (10/14) Installing openssh-client (8.3_p1-r1) 20:37:15 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 20:37:15 (12/14) Installing openssh-server-common (8.3_p1-r1) 20:37:15 (13/14) Installing openssh-server (8.3_p1-r1) 20:37:15 (14/14) Installing openssh (8.3_p1-r1) 20:37:16 Executing busybox-1.31.1-r19.trigger 20:37:16 OK: 221 MiB in 53 packages 20:37:20 Removing intermediate container 504c06aec66e 20:37:20 ---> c0e86d3e3596 20:37:20 Step 6/8 : WORKDIR /device-modbus-go 20:37:20 ---> Running in d7c88ea32ee2 20:37:20 Removing intermediate container d7c88ea32ee2 20:37:20 ---> 64735bddee87 20:37:20 Step 7/8 : COPY . . 20:37:21 ---> 72df5fd29a60 20:37:21 Step 8/8 : RUN go mod download 20:37:21 ---> Running in 454c19d098df 20:37:44 Removing intermediate container 454c19d098df 20:37:44 ---> 82f26439319e 20:37:44 Successfully built 82f26439319e 20:37:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:37:44 + docker inspect -f . ci-base-image-arm64 20:37:44 . [Pipeline] withDockerContainer 20:37:44 prd-ubuntu18.04-docker-arm64-4c-16g-24624 does not seem to be running inside a container 20:37:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 20:37:46 $ docker top c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:47 + go version 20:37:47 go version go1.15.5 linux/arm64 [Pipeline] } 20:37:47 $ docker stop --time=1 c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 20:37:48 $ docker rm -f c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:49 + docker inspect -f . ci-base-image-arm64 20:37:49 . [Pipeline] withDockerContainer 20:37:50 prd-ubuntu18.04-docker-arm64-4c-16g-24624 does not seem to be running inside a container 20:37:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 20:37:51 $ docker top 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:52 + make test 20:37:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:37:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:38:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:38:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.353s coverage: 50.3% of statements 20:38:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:38:35 gofmt -l . 20:38:35 [ "`gofmt -l .`" = "" ] 20:38:35 ./bin/test-attribution-txt.sh 20:38:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:38:35 $ docker stop --time=1 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 20:38:37 $ docker rm -f 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 [Pipeline] // withDockerContainer [Pipeline] sh 20:38:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:38:38 Warning: overwriting stash ‘coverage-report’ 20:38:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:38:41 + ls -al . 20:38:41 total 136 20:38:41 drwxrwxr-x 9 jenkins jenkins 4096 Feb 2 20:38 . 20:38:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 20:36 .. 20:38:41 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 20:36 .dockerignore 20:38:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 20:36 .git 20:38:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 .github 20:38:41 -rw-rw-r-- 1 jenkins jenkins 338 Feb 2 20:36 .gitignore 20:38:41 -rw-rw-r-- 1 jenkins jenkins 5589 Feb 2 20:36 Attribution.txt 20:38:41 -rw-rw-r-- 1 jenkins jenkins 1434 Feb 2 20:36 Dockerfile 20:38:41 -rw-rw-r-- 1 jenkins jenkins 958 Feb 2 20:36 Dockerfile.build 20:38:41 -rw-rw-r-- 1 jenkins jenkins 679 Feb 2 20:36 Jenkinsfile 20:38:41 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 20:36 LICENSE 20:38:41 -rw-rw-r-- 1 jenkins jenkins 880 Feb 2 20:36 Makefile 20:38:41 -rw-rw-r-- 1 jenkins jenkins 591 Feb 2 20:36 README.md 20:38:41 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 20:32 VERSION 20:38:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 bin 20:38:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 cmd 20:38:41 -rw-r--r-- 1 jenkins jenkins 22362 Feb 2 20:38 coverage.out 20:38:41 -rw-r--r-- 1 jenkins jenkins 517 Feb 2 20:38 go.mod 20:38:41 -rw-r--r-- 1 jenkins jenkins 14838 Feb 2 20:38 go.sum 20:38:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 internal 20:38:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 simulator 20:38:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 20:36 snap 20:38:41 -rw-rw-r-- 1 jenkins jenkins 229 Feb 2 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:38:41 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=arm64 --label version=1.3.1 . 20:38:41 Sending build context to Docker daemon 562.2kB 20:38:41 Step 1/20 : ARG BASE=golang:1.15-alpine3.12 20:38:41 Step 2/20 : FROM ${BASE} AS builder 20:38:41 ---> 82f26439319e 20:38:41 Step 3/20 : ARG MAKE='make build' 20:38:42 ---> Running in ec9791feb93b 20:38:42 Removing intermediate container ec9791feb93b 20:38:42 ---> c22e9567109c 20:38:42 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:38:42 ---> Running in 7fb575968861 20:38:44 Removing intermediate container 7fb575968861 20:38:44 ---> e48e3e98fed7 20:38:44 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 20:38:44 ---> Running in fd7ea69062ec 20:38:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:38:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:38:47 OK: 221 MiB in 53 packages 20:38:48 Removing intermediate container fd7ea69062ec 20:38:48 ---> 32d826cebfae 20:38:48 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:38:49 ---> Running in 1587f0f5dc41 20:38:49 Removing intermediate container 1587f0f5dc41 20:38:49 ---> 81e579889ab9 20:38:49 Step 7/20 : COPY . . 20:38:50 ---> bcdd73a40202 20:38:50 Step 8/20 : RUN ${MAKE} 20:38:50 ---> Running in 7ef569148ffc 20:38:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1" -o cmd/device-modbus ./cmd 20:39:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:39:25 Removing intermediate container 7ef569148ffc 20:39:25 ---> edd39f7607e4 20:39:25 Step 9/20 : FROM scratch 20:39:25 ---> 20:39:25 Step 10/20 : ENV APP_PORT=49991 20:39:25 ---> Running in b7cda94cf3c6 20:39:25 Removing intermediate container b7cda94cf3c6 20:39:25 ---> 2a25b3039abf 20:39:25 Step 11/20 : EXPOSE $APP_PORT 20:39:25 ---> Running in 0881e10fd91e 20:39:26 Removing intermediate container 0881e10fd91e 20:39:26 ---> 90aedc701fad 20:39:26 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:39:27 ---> 1d84721f1c87 20:39:27 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:39:27 ---> 7971dce0ac86 20:39:27 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:39:28 ---> 026bc094e925 20:39:28 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:39:28 ---> Running in 95bfd7236c56 20:39:29 Removing intermediate container 95bfd7236c56 20:39:29 ---> a93fa09f92e0 20:39:29 Step 16/20 : ENTRYPOINT ["/device-modbus"] 20:39:29 ---> Running in 22e9116b8886 20:39:29 Removing intermediate container 22e9116b8886 20:39:29 ---> e927478acec5 20:39:29 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:39:29 ---> Running in 5e75f051b36f 20:39:30 Removing intermediate container 5e75f051b36f 20:39:30 ---> 8883ceb3b0f1 20:39:30 Step 18/20 : LABEL arch=arm64 20:39:30 ---> Running in 76c78133d6e0 20:39:30 Removing intermediate container 76c78133d6e0 20:39:30 ---> b2f37466bbd0 20:39:30 Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:39:30 ---> Running in b865d384796b 20:39:31 Removing intermediate container b865d384796b 20:39:31 ---> 8f10690bd3bc 20:39:31 Step 20/20 : LABEL version=1.3.1 20:39:31 ---> Running in f3f04a333a41 20:39:31 Removing intermediate container f3f04a333a41 20:39:31 ---> b1671f6e2276 20:39:31 [Warning] One or more build-args [ARCH] were not consumed 20:39:31 Successfully built b1671f6e2276 20:39:31 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:39:32 provisioning config files... 20:39:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config2077378689604876803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:32 ---> docker-login.sh 20:39:32 nexus3.edgexfoundry.org:10001 20:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:33 Configure a credential helper to remove this warning. See 20:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:33 20:39:33 Login Succeeded 20:39:33 nexus3.edgexfoundry.org:10002 20:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:33 Configure a credential helper to remove this warning. See 20:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:33 20:39:33 Login Succeeded 20:39:33 nexus3.edgexfoundry.org:10003 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:34 Configure a credential helper to remove this warning. See 20:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:34 20:39:34 Login Succeeded 20:39:34 nexus3.edgexfoundry.org:10004 20:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:34 Configure a credential helper to remove this warning. See 20:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:34 20:39:34 Login Succeeded 20:39:34 docker.io 20:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:35 Configure a credential helper to remove this warning. See 20:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:35 20:39:35 Login Succeeded 20:39:35 ---> docker-login.sh ends [Pipeline] } 20:39:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:39:35 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 20:39:35 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:39:35 latest 20:39:35 1.3.1 20:39:35 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:39:35 master 20:39:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:39:36 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh 20:39:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:39:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 20:39:36 1ad8e236ac17: Preparing 20:39:36 65e30f4fce2f: Preparing 20:39:36 a6f8ab0449ab: Preparing 20:39:37 65e30f4fce2f: Pushed 20:39:37 1ad8e236ac17: Pushed 20:39:39 a6f8ab0449ab: Pushed 20:39:39 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh 20:39:40 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:39:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 20:39:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 20:39:40 1ad8e236ac17: Preparing 20:39:40 65e30f4fce2f: Preparing 20:39:40 a6f8ab0449ab: Preparing 20:39:40 1ad8e236ac17: Layer already exists 20:39:40 65e30f4fce2f: Layer already exists 20:39:40 a6f8ab0449ab: Layer already exists 20:39:40 latest: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh 20:39:41 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 [Pipeline] isUnix [Pipeline] sh 20:39:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 20:39:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 20:39:41 1ad8e236ac17: Preparing 20:39:41 65e30f4fce2f: Preparing 20:39:41 a6f8ab0449ab: Preparing 20:39:41 65e30f4fce2f: Layer already exists 20:39:41 a6f8ab0449ab: Layer already exists 20:39:41 1ad8e236ac17: Layer already exists 20:39:41 1.3.1: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh 20:39:41 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [Pipeline] isUnix [Pipeline] sh 20:39:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:39:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 20:39:42 1ad8e236ac17: Preparing 20:39:42 65e30f4fce2f: Preparing 20:39:42 a6f8ab0449ab: Preparing 20:39:42 a6f8ab0449ab: Layer already exists 20:39:42 1ad8e236ac17: Layer already exists 20:39:42 65e30f4fce2f: Layer already exists 20:39:42 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh 20:39:42 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 20:39:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 20:39:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 20:39:43 1ad8e236ac17: Preparing 20:39:43 65e30f4fce2f: Preparing 20:39:43 a6f8ab0449ab: Preparing 20:39:43 65e30f4fce2f: Layer already exists 20:39:43 1ad8e236ac17: Layer already exists 20:39:43 a6f8ab0449ab: Layer already exists 20:39:43 master: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:39:43 ===================================================== [Pipeline] echo 20:39:43 taggedImages: 20:39:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 20:39:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 20:39:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 20:39:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 20:39:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 20:39:45 provisioning config files... 20:39:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7180411134301950030tmp [Pipeline] { [Pipeline] sh 20:39:45 + set +x 20:39:45 + curl -s https://codecov.io/bash 20:39:45 + bash -s -- 20:39:45 20:39:45 _____ _ 20:39:45 / ____| | | 20:39:45 | | ___ __| | ___ ___ _____ __ 20:39:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:39:45 | |___| (_) | (_| | __/ (_| (_) \ V / 20:39:45 \_____\___/ \__,_|\___|\___\___/ \_/ 20:39:45 Bash-20210129-7c25fce 20:39:45 20:39:45 20:39:45 ==> git version 2.24.3 found 20:39:45 ==> 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 20:39:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:39:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:39:45 ==> Jenkins CI detected. 20:39:45 project root: . 20:39:45 --> token set from env 20:39:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:39:45 ==> Running gcov in . (disable via -X gcov) 20:39:45 ==> Python coveragepy not found 20:39:45 ==> Searching for coverage reports in: 20:39:45 + . 20:39:46 -> Found 1 reports 20:39:46 ==> Detecting git/mercurial file structure 20:39:46 ==> Reading reports 20:39:46 + ./coverage.out bytes=22362 20:39:46 ==> Appending adjustments 20:39:46 https://docs.codecov.io/docs/fixing-reports 20:39:46 + Found adjustments 20:39:46 ==> Gzipping contents 20:39:46 8.0K /tmp/codecov.GS712K.gz 20:39:46 ==> Uploading reports 20:39:46 url: https://codecov.io 20:39:46 query: branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:39:46 -> Pinging Codecov 20:39:46 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:39:46 -> Uploading to 20:39:46 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/55DBCA73C666E3227836607328DD7E49/9f3888b97fc6b215bf6207a034605e4e0e7d1a95/f165b682-e67d-479c-9049-7cf6d4d661d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T203946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b177ce072ada5e39c98d3a61c1287416756f8f8267631e65a210b738552b909 20:39:46 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:46 Dload Upload Total Spent Left Speed 20:39:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4230 0 0 100 4230 0 8624 --:--:-- --:--:-- --:--:-- 8632 20:39:47 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] } 20:39:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:39:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:39:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:39:48 20:39:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:39:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:39:48 188c0c94c7c5: Pulling fs layer 20:39:48 0ef7d3d256c8: Pulling fs layer 20:39:48 de9db76c5a1d: Pulling fs layer 20:39:48 0eba1c9be4d2: Pulling fs layer 20:39:48 0d57e429df01: Pulling fs layer 20:39:48 4e4be7b47b0d: Pulling fs layer 20:39:48 e1f770b5df2f: Pulling fs layer 20:39:48 85a0685a4137: Pulling fs layer 20:39:48 0d57e429df01: Waiting 20:39:48 4e4be7b47b0d: Waiting 20:39:48 e1f770b5df2f: Waiting 20:39:48 85a0685a4137: Waiting 20:39:48 0eba1c9be4d2: Waiting 20:39:48 de9db76c5a1d: Verifying Checksum 20:39:48 de9db76c5a1d: Download complete 20:39:48 0ef7d3d256c8: Verifying Checksum 20:39:48 0ef7d3d256c8: Download complete 20:39:48 0d57e429df01: Verifying Checksum 20:39:48 0d57e429df01: Download complete 20:39:48 4e4be7b47b0d: Verifying Checksum 20:39:48 4e4be7b47b0d: Download complete 20:39:49 188c0c94c7c5: Download complete 20:39:49 188c0c94c7c5: Pull complete 20:39:50 0ef7d3d256c8: Pull complete 20:39:50 de9db76c5a1d: Pull complete 20:39:50 e1f770b5df2f: Verifying Checksum 20:39:50 e1f770b5df2f: Download complete 20:39:56 0eba1c9be4d2: Verifying Checksum 20:39:56 0eba1c9be4d2: Download complete 20:39:56 85a0685a4137: Verifying Checksum 20:39:56 85a0685a4137: Download complete 20:40:06 0eba1c9be4d2: Pull complete 20:40:06 0d57e429df01: Pull complete 20:40:06 4e4be7b47b0d: Pull complete 20:40:08 e1f770b5df2f: Pull complete 20:40:18 85a0685a4137: Pull complete 20:40:18 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:40:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:40:18 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:40:20 $ docker top 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 -eo pid,comm [Pipeline] { [Pipeline] echo 20:40:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:40:20 + set -o pipefail 20:40:20 + snyk monitor '--org=edgex-jenkins' 20:40:33 20:40:33 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 20:40:33 20:40:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/a61108d7-dfe3-4bbf-a0fd-41e17546db64 20:40:33 20:40:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:40:33 20:40:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:40:33 20:40:33 [Pipeline] } 20:40:33 $ docker stop --time=1 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 20:40:35 $ docker rm -f 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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 20:40:38 + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh 20:40:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:40:38 . [Pipeline] withDockerContainer 20:40:38 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:40:40 $ docker top 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:40 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:41 + git semver [Pipeline] } 20:40:41 $ docker stop --time=1 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 20:40:43 $ docker rm -f 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:40:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:40:44 20:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:40:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:40:45 0.23.1-centos7: Pulling from edgex-lftools 20:40:45 ab5ef0e58194: Pulling fs layer 20:40:45 9712f1f96733: Pulling fs layer 20:40:45 63f879dbbcfc: Pulling fs layer 20:40:45 0d9ebad4ef96: Pulling fs layer 20:40:45 e9a5061849ea: Pulling fs layer 20:40:45 d747dcd14b5f: Pulling fs layer 20:40:45 2de7ff778b66: Pulling fs layer 20:40:45 e9a5061849ea: Waiting 20:40:45 0d9ebad4ef96: Waiting 20:40:45 d747dcd14b5f: Waiting 20:40:45 2de7ff778b66: Waiting 20:40:45 9712f1f96733: Download complete 20:40:47 63f879dbbcfc: Verifying Checksum 20:40:47 63f879dbbcfc: Download complete 20:40:48 e9a5061849ea: Verifying Checksum 20:40:48 e9a5061849ea: Download complete 20:40:48 d747dcd14b5f: Verifying Checksum 20:40:48 d747dcd14b5f: Download complete 20:40:49 2de7ff778b66: Verifying Checksum 20:40:49 2de7ff778b66: Download complete 20:40:49 0d9ebad4ef96: Verifying Checksum 20:40:49 0d9ebad4ef96: Download complete 20:40:50 ab5ef0e58194: Verifying Checksum 20:40:50 ab5ef0e58194: Download complete 20:41:00 ab5ef0e58194: Pull complete 20:41:00 9712f1f96733: Pull complete 20:41:02 63f879dbbcfc: Pull complete 20:41:15 0d9ebad4ef96: Pull complete 20:41:16 e9a5061849ea: Pull complete 20:41:16 d747dcd14b5f: Pull complete 20:41:20 2de7ff778b66: Pull complete 20:41:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:41:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:41:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:41:21 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:41:24 $ docker top 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:41:24 provisioning config files... 20:41:24 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3462221298890890837tmp 20:41:25 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6316167016503415678tmp 20:41:25 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config614414596040016582tmp [Pipeline] { [Pipeline] echo 20:41:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:41:25 ---> sigul-configuration.sh 20:41:25 gpg: directory `/root/.gnupg' created 20:41:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:41:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:41:25 gpg: keyring `/root/.gnupg/secring.gpg' created 20:41:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:41:25 gpg: CAST5 encrypted data 20:41:25 gpg: encrypted with 1 passphrase 20:41:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:41:26 + mkdir /home/jenkins 20:41:26 + mkdir /home/jenkins/sigul [Pipeline] sh 20:41:26 + 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 20:41:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:41:27 ---> sigul-install.sh 20:41:37 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:41:37 + git tag --list 20:41:37 0.7.1 20:41:37 v1.0.0 20:41:37 v1.1.0 20:41:37 v1.1.1 20:41:37 v1.2.2 20:41:37 v1.3.0 20:41:37 v1.3.1 20:41:37 v1.3.1-dev.1 20:41:37 v1.3.1-dev.2 20:41:37 v1.3.1-dev.3 20:41:37 v1.3.1-dev.4 20:41:37 v1.3.1-dev.5 20:41:37 v1.3.1-dev.6 20:41:37 v1.3.1-dev.7 20:41:37 v1.3.1-dev.8 [Pipeline] sh 20:41:38 + lftools sign git-tag v1.3.1 20:41:40 Signing Git tag with Sigul... 20:41:40 Signing v1.3.1 [Pipeline] echo 20:41:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:41:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:41:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:41:42 $ docker stop --time=1 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 20:41:44 $ docker rm -f 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:41:45 . [Pipeline] withDockerContainer 20:41:46 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:41:47 $ docker top d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:47 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:48 + git semver [Pipeline] } 20:41:48 $ docker stop --time=1 d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 20:41:50 $ docker rm -f d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:41:50 . [Pipeline] withDockerContainer 20:41:51 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:41:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:41:52 $ docker top b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:53 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:53 + git semver [Pipeline] } 20:41:53 $ docker stop --time=1 b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 20:41:55 $ docker rm -f b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 [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 20:41:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:41:58 ---> package-listing.sh 20:41:58 ++ facter osfamily 20:41:58 ++ tr '[:upper:]' '[:lower:]' 20:41:58 + OS_FAMILY=redhat 20:41:58 + workspace=/w/workspace/xfoundry_device-modbus-go_master 20:41:58 + START_PACKAGES=/tmp/packages_start.txt 20:41:58 + END_PACKAGES=/tmp/packages_end.txt 20:41:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:41:58 + PACKAGES=/tmp/packages_start.txt 20:41:58 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 20:41:58 + PACKAGES=/tmp/packages_end.txt 20:41:58 + case "${OS_FAMILY}" in 20:41:58 + rpm -qa 20:41:58 + sort 20:42:05 + '[' -f /tmp/packages_start.txt ']' 20:42:05 + '[' -f /tmp/packages_end.txt ']' 20:42:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:42:05 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 20:42:05 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 20:42:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 20:42:05 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 20:42:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:42:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:06 20:42:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:42:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:07 alpine: Pulling from edgex-lftools-log-publisher 20:42:07 df20fa9351a1: Pulling fs layer 20:42:07 36b3adc4ff6f: Pulling fs layer 20:42:07 8ad3a11d3b57: Pulling fs layer 20:42:07 46f8f816bc3b: Pulling fs layer 20:42:07 93b61091891f: Pulling fs layer 20:42:07 93b9cdb0e59b: Pulling fs layer 20:42:07 5e14af77c1be: Pulling fs layer 20:42:07 01666e4c0597: Pulling fs layer 20:42:07 aa168da1d23b: Pulling fs layer 20:42:07 93b9cdb0e59b: Waiting 20:42:07 5e14af77c1be: Waiting 20:42:07 01666e4c0597: Waiting 20:42:07 aa168da1d23b: Waiting 20:42:07 46f8f816bc3b: Waiting 20:42:07 93b61091891f: Waiting 20:42:07 36b3adc4ff6f: Download complete 20:42:07 46f8f816bc3b: Verifying Checksum 20:42:07 46f8f816bc3b: Download complete 20:42:07 df20fa9351a1: Verifying Checksum 20:42:07 df20fa9351a1: Download complete 20:42:07 93b9cdb0e59b: Verifying Checksum 20:42:07 93b9cdb0e59b: Download complete 20:42:07 5e14af77c1be: Verifying Checksum 20:42:07 5e14af77c1be: Download complete 20:42:07 01666e4c0597: Download complete 20:42:07 93b61091891f: Verifying Checksum 20:42:07 93b61091891f: Download complete 20:42:08 8ad3a11d3b57: Verifying Checksum 20:42:08 8ad3a11d3b57: Download complete 20:42:08 df20fa9351a1: Pull complete 20:42:09 36b3adc4ff6f: Pull complete 20:42:11 8ad3a11d3b57: Pull complete 20:42:11 46f8f816bc3b: Pull complete 20:42:11 93b61091891f: Pull complete 20:42:12 aa168da1d23b: Verifying Checksum 20:42:12 aa168da1d23b: Download complete 20:42:12 93b9cdb0e59b: Pull complete 20:42:12 5e14af77c1be: Pull complete 20:42:12 01666e4c0597: Pull complete 20:42:27 aa168da1d23b: Pull complete 20:42:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:42:28 prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container 20:42:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:42:31 $ docker top 792f884354431c9c34fc68a10dc5111966d1056c5ff7e0a6125df02cffb2a1ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:32 + touch /tmp/pre-build-complete [Pipeline] sh 20:42:32 + mkdir -p /var/log/sa [Pipeline] sh 20:42:32 + ls /var/log/sa-host 20:42:32 + sadf -c /var/log/sa-host/sa02 20:42:32 file_magic: OK 20:42:32 HZ: Using current value: 100 20:42:32 file_header: OK 20:42:32 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 20:42:32 Statistics: 20:42:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:42:32 File successfully converted to sysstat format version 12.2.1 20:42:32 + sadf -c /var/log/sa-host/sa23 20:42:32 file_magic: OK 20:42:32 HZ: Using current value: 100 20:42:32 file_header: OK 20:42:32 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 20:42:32 Statistics: 20:42:32 Hnuu...uuuununununu... 20:42:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:32 provisioning config files... 20:42:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2699597983936662900tmp [Pipeline] { [Pipeline] echo 20:42:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:42:33 ---> create-netrc.sh [Pipeline] } 20:42:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:42:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:42:34 ---> python-tools-install.sh [Pipeline] echo 20:42:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:42:34 ---> sudo-logs.sh 20:42:34 Archiving 'sudo' log.. [Pipeline] echo 20:42:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:42:35 ---> job-cost.sh 20:42:35 lf-activate-venv: SKIPPING 20:42:35 INFO: No Stack... 20:42:36 INFO: Retrieving Pricing Info for: v1-standard-2 20:42:36 INFO: Archiving Costs [Pipeline] echo 20:42:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:42:37 ---> logs-deploy.sh 20:42:37 lf-activate-venv: SKIPPING 20:42:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/37 20:42:37 INFO: archiving workspace using pattern(s): 20:42:39 Archives upload complete. 20:42:39 INFO: archiving logs to Nexus