Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6e20a1d0031e874d4eec2dbc8984745391b205bd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19460 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e20a1d0031e874d4eec2dbc8984745391b205bd (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 Commit message: "Merge pull request #213 from weichou1229/issue-212" > git rev-list --no-walk 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T07:49:02.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T07:49:02.834Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T07:49:02.949Z] ========================================================= [2021-01-11T07:49:02.949Z] EdgeX Global Pipelines Version Info [2021-01-11T07:49:02.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:49:04.470Z] ------------------- [2021-01-11T07:49:04.470Z] stable info: [2021-01-11T07:49:04.470Z] ------------------- [2021-01-11T07:49:04.470Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T07:49:04.470Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T07:49:04.470Z] Message: update stable to v1.0.173 [2021-01-11T07:49:05.416Z] ------------------- [2021-01-11T07:49:05.416Z] experimental info: [2021-01-11T07:49:05.416Z] ------------------- [2021-01-11T07:49:05.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T07:49:05.416Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T07:49:05.416Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T07:49:05.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-01-11T07:49:05.809Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-01-11T07:49:05.910Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T07:49:06.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T07:49:06.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T07:49:06.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T07:49:06.313Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T07:49:06.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T07:49:06.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T07:49:06.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T07:49:06.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T07:49:06.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-01-11T07:49:06.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T07:49:06.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T07:49:07.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T07:49:07.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T07:49:07.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T07:49:07.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T07:49:07.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T07:49:07.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T07:49:07.693Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T07:49:07.789Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T07:49:07.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T07:49:08.010Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T07:49:08.107Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T07:49:08.214Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T07:49:08.321Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T07:49:08.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-11T07:49:08.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-11T07:49:08.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-11T07:49:08.695Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] echo [2021-01-11T07:49:08.833Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e20a1d [Pipeline] echo [2021-01-11T07:49:08.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:49:09.109Z] provisioning config files... [2021-01-11T07:49:09.139Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8018992307566431702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:49:09.585Z] ---> docker-login.sh [2021-01-11T07:49:09.586Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:49:09.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:49:10.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:49:10.121Z] Configure a credential helper to remove this warning. See [2021-01-11T07:49:10.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:49:10.121Z] [2021-01-11T07:49:10.121Z] Login Succeeded [2021-01-11T07:49:10.121Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:49:10.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:49:10.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:49:10.387Z] Configure a credential helper to remove this warning. See [2021-01-11T07:49:10.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:49:10.387Z] [2021-01-11T07:49:10.387Z] Login Succeeded [2021-01-11T07:49:10.387Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:49:10.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:49:10.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:49:10.649Z] Configure a credential helper to remove this warning. See [2021-01-11T07:49:10.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:49:10.649Z] [2021-01-11T07:49:10.649Z] Login Succeeded [2021-01-11T07:49:10.649Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:49:10.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:49:10.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:49:10.649Z] Configure a credential helper to remove this warning. See [2021-01-11T07:49:10.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:49:10.649Z] [2021-01-11T07:49:10.649Z] Login Succeeded [2021-01-11T07:49:10.649Z] docker.io [2021-01-11T07:49:10.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:49:11.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:49:11.175Z] Configure a credential helper to remove this warning. See [2021-01-11T07:49:11.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:49:11.175Z] [2021-01-11T07:49:11.175Z] Login Succeeded [2021-01-11T07:49:11.175Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:49:11.184Z] 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 [2021-01-11T07:49:12.086Z] + git log --format=format:%s -1 6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] echo [2021-01-11T07:49:12.154Z] GIT_COMMIT: 6e20a1d0031e874d4eec2dbc8984745391b205bd, Commit Message: Merge pull request #213 from weichou1229/issue-212 [Pipeline] echo [2021-01-11T07:49:12.203Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:49:13.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:49:13.153Z] [2021-01-11T07:49:13.153Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:49:13.508Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:49:13.508Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T07:49:13.508Z] 31603596830f: Pulling fs layer [2021-01-11T07:49:13.508Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T07:49:13.508Z] 6ca5941a6612: Pulling fs layer [2021-01-11T07:49:13.508Z] ecc8261a40a4: Pulling fs layer [2021-01-11T07:49:13.508Z] ecc8261a40a4: Waiting [2021-01-11T07:49:13.508Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T07:49:13.508Z] 2a8b12db71e7: Download complete [2021-01-11T07:49:13.508Z] 31603596830f: Verifying Checksum [2021-01-11T07:49:13.508Z] 31603596830f: Download complete [2021-01-11T07:49:13.774Z] ecc8261a40a4: Verifying Checksum [2021-01-11T07:49:13.774Z] ecc8261a40a4: Download complete [2021-01-11T07:49:13.774Z] 6ca5941a6612: Verifying Checksum [2021-01-11T07:49:13.774Z] 6ca5941a6612: Download complete [2021-01-11T07:49:14.037Z] 31603596830f: Pull complete [2021-01-11T07:49:14.037Z] 2a8b12db71e7: Pull complete [2021-01-11T07:49:14.991Z] 6ca5941a6612: Pull complete [2021-01-11T07:49:15.260Z] ecc8261a40a4: Pull complete [2021-01-11T07:49:15.260Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T07:49:15.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:49:15.260Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T07:49:15.364Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:49:15.413Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T07:49:17.339Z] $ docker top f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T07:49:17.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:49:17.669Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:49:17.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:49:17.898Z] $ docker exec f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b ssh-agent [2021-01-11T07:49:18.068Z] SSH_AUTH_SOCK=/tmp/ssh-z4OfchllMmVF/agent.11 [2021-01-11T07:49:18.068Z] SSH_AGENT_PID=16 [2021-01-11T07:49:18.079Z] Running ssh-add (command line suppressed) [2021-01-11T07:49:18.202Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3750593841965437590.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3750593841965437590.key) [2021-01-11T07:49:18.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:49:18.590Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T07:49:18.610Z] $ docker exec --env ******** --env ******** f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b ssh-agent -k [2021-01-11T07:49:18.723Z] unset SSH_AUTH_SOCK; [2021-01-11T07:49:18.724Z] unset SSH_AGENT_PID; [2021-01-11T07:49:18.724Z] echo Agent pid 16 killed; [2021-01-11T07:49:18.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T07:49:18.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:49:18.937Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:49:19.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:49:19.150Z] $ docker exec f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b ssh-agent [2021-01-11T07:49:19.325Z] SSH_AUTH_SOCK=/tmp/ssh-HCBL4ddNPQWv/agent.46 [2021-01-11T07:49:19.325Z] SSH_AGENT_PID=51 [2021-01-11T07:49:19.331Z] Running ssh-add (command line suppressed) [2021-01-11T07:49:19.446Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_527052662449140985.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_527052662449140985.key) [2021-01-11T07:49:19.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:49:19.844Z] + git semver init [2021-01-11T07:49:19.844Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T07:49:19.844Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-11T07:49:19.844Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-11T07:49:19.844Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T07:49:19.844Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T07:49:19.844Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T07:49:19.844Z] # $SEMVER_BRANCH = master [2021-01-11T07:49:19.844Z] # $SEMVER_TEMP = /tmp/semver-851213853 [2021-01-11T07:49:19.844Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-01-11T07:49:20.106Z] # '/tmp/semver-851213853' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-01-11T07:49:20.106Z] # -> Force: false [2021-01-11T07:49:20.106Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-01-11T07:49:20.120Z] $ docker exec --env ******** --env ******** f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b ssh-agent -k [2021-01-11T07:49:20.233Z] unset SSH_AUTH_SOCK; [2021-01-11T07:49:20.234Z] unset SSH_AGENT_PID; [2021-01-11T07:49:20.234Z] echo Agent pid 51 killed; [2021-01-11T07:49:20.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T07:49:20.766Z] + git semver [Pipeline] } [2021-01-11T07:49:20.786Z] $ docker stop --time=1 f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b [2021-01-11T07:49:22.237Z] $ docker rm -f f8986e24c8853f06a1ec20d484dac2ae23bd2c014a20edfeff10cd18fbdc5c8b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T07:49:22.743Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T07:49:23.172Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T07:49:23.174Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-11T07:49:38.708Z] Still waiting to schedule task [2021-01-11T07:49:38.708Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-11T07:49:38.712Z] Still waiting to schedule task [2021-01-11T07:49:38.712Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-11T07:51:27.218Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19461 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-01-11T07:51:27.296Z] Running in /w/workspace/device-modbus-go/35 [Pipeline] { [Pipeline] checkout [2021-01-11T07:51:32.619Z] using credential edgex-jenkins-ssh [2021-01-11T07:51:32.709Z] Cloning the remote Git repository [2021-01-11T07:51:32.766Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:51:32.869Z] > git init /w/workspace/device-modbus-go/35 # timeout=10 [2021-01-11T07:51:32.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:51:32.944Z] > git --version # timeout=10 [2021-01-11T07:51:32.962Z] > git --version # 'git version 2.17.1' [2021-01-11T07:51:32.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:51:33.042Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:51:34.490Z] Checking out Revision 6e20a1d0031e874d4eec2dbc8984745391b205bd (master) [2021-01-11T07:51:33.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:51:33.890Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:51:33.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:51:33.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:51:33.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:51:33.991Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T07:51:34.513Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:51:34.534Z] > git checkout -f 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 [2021-01-11T07:51:38.840Z] Commit message: "Merge pull request #213 from weichou1229/issue-212" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:51:40.483Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:51:40.915Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:51:41.259Z] + sudo service docker restart [2021-01-11T07:51:41.259Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:51:43.977Z] provisioning config files... [2021-01-11T07:51:44.021Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config60455174894221084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:51:44.453Z] ---> docker-login.sh [2021-01-11T07:51:44.453Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:51:45.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:51:45.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:51:45.721Z] Configure a credential helper to remove this warning. See [2021-01-11T07:51:45.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:51:45.721Z] [2021-01-11T07:51:45.721Z] Login Succeeded [2021-01-11T07:51:45.721Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:51:46.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:51:46.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:51:46.324Z] Configure a credential helper to remove this warning. See [2021-01-11T07:51:46.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:51:46.324Z] [2021-01-11T07:51:46.324Z] Login Succeeded [2021-01-11T07:51:46.324Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:51:46.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:51:46.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:51:46.877Z] Configure a credential helper to remove this warning. See [2021-01-11T07:51:46.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:51:46.877Z] [2021-01-11T07:51:46.877Z] Login Succeeded [2021-01-11T07:51:46.877Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:51:47.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:51:47.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:51:47.428Z] Configure a credential helper to remove this warning. See [2021-01-11T07:51:47.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:51:47.428Z] [2021-01-11T07:51:47.428Z] Login Succeeded [2021-01-11T07:51:47.428Z] docker.io [2021-01-11T07:51:47.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:51:47.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:51:47.974Z] Configure a credential helper to remove this warning. See [2021-01-11T07:51:47.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:51:47.974Z] [2021-01-11T07:51:47.974Z] Login Succeeded [2021-01-11T07:51:48.248Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:51:48.266Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T07:51:48.686Z] ========================================================= [2021-01-11T07:51:48.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T07:51:48.686Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:51:49.073Z] + 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 . [2021-01-11T07:51:49.356Z] Sending build context to Docker daemon 544.3kB [2021-01-11T07:51:49.356Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:51:49.356Z] Step 2/8 : FROM ${BASE} [2021-01-11T07:51:49.639Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T07:51:49.639Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T07:51:49.639Z] a4357932f1b6: Pulling fs layer [2021-01-11T07:51:49.639Z] 18c013af1878: Pulling fs layer [2021-01-11T07:51:49.639Z] 00ac8860ef70: Pulling fs layer [2021-01-11T07:51:49.639Z] 63d7cb157983: Pulling fs layer [2021-01-11T07:51:49.639Z] b116817d02f9: Pulling fs layer [2021-01-11T07:51:49.639Z] 745a02a5169b: Pulling fs layer [2021-01-11T07:51:49.639Z] 00ac8860ef70: Waiting [2021-01-11T07:51:49.639Z] 63d7cb157983: Waiting [2021-01-11T07:51:49.639Z] b116817d02f9: Waiting [2021-01-11T07:51:49.639Z] 745a02a5169b: Waiting [2021-01-11T07:51:49.639Z] 18c013af1878: Verifying Checksum [2021-01-11T07:51:49.639Z] 18c013af1878: Download complete [2021-01-11T07:51:49.639Z] a4357932f1b6: Verifying Checksum [2021-01-11T07:51:49.639Z] a4357932f1b6: Download complete [2021-01-11T07:51:49.639Z] 63d7cb157983: Verifying Checksum [2021-01-11T07:51:49.639Z] 63d7cb157983: Download complete [2021-01-11T07:51:49.639Z] b116817d02f9: Verifying Checksum [2021-01-11T07:51:49.639Z] b116817d02f9: Download complete [2021-01-11T07:51:49.914Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T07:51:49.914Z] 5f621e34cdf4: Download complete [2021-01-11T07:51:50.518Z] 5f621e34cdf4: Pull complete [2021-01-11T07:51:51.128Z] a4357932f1b6: Pull complete [2021-01-11T07:51:51.728Z] 18c013af1878: Pull complete [2021-01-11T07:51:52.711Z] 745a02a5169b: Verifying Checksum [2021-01-11T07:51:52.711Z] 745a02a5169b: Download complete [2021-01-11T07:51:53.319Z] 00ac8860ef70: Verifying Checksum [2021-01-11T07:51:53.319Z] 00ac8860ef70: Download complete [2021-01-11T07:52:05.738Z] 00ac8860ef70: Pull complete [2021-01-11T07:52:05.738Z] 63d7cb157983: Pull complete [2021-01-11T07:52:05.738Z] b116817d02f9: Pull complete [2021-01-11T07:52:08.368Z] 745a02a5169b: Pull complete [2021-01-11T07:52:08.368Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T07:52:08.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T07:52:08.368Z] ---> b7e6874047d6 [2021-01-11T07:52:08.368Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T07:52:10.986Z] ---> Running in b6d415c8e2b9 [2021-01-11T07:52:11.259Z] Removing intermediate container b6d415c8e2b9 [2021-01-11T07:52:11.259Z] ---> 9ad4e4fade29 [2021-01-11T07:52:11.259Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:52:11.536Z] ---> Running in 8b45ab77df6f [2021-01-11T07:52:13.522Z] Removing intermediate container 8b45ab77df6f [2021-01-11T07:52:13.522Z] ---> ad91830da055 [2021-01-11T07:52:13.522Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:52:13.796Z] ---> Running in 0c60927674f8 [2021-01-11T07:52:14.777Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T07:52:15.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T07:52:16.729Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T07:52:17.001Z] (2/14) Installing file (5.38-r0) [2021-01-11T07:52:17.001Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T07:52:17.272Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T07:52:20.650Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T07:52:20.920Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T07:52:20.920Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T07:52:20.920Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T07:52:21.194Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T07:52:21.194Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T07:52:21.465Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T07:52:21.735Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T07:52:21.735Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T07:52:22.329Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T07:52:22.329Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T07:52:22.329Z] OK: 221 MiB in 53 packages [2021-01-11T07:52:26.635Z] Removing intermediate container 0c60927674f8 [2021-01-11T07:52:26.635Z] ---> 89ebf792c2c7 [2021-01-11T07:52:26.635Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-11T07:52:26.635Z] ---> Running in 5432ee24e04f [2021-01-11T07:52:26.635Z] Removing intermediate container 5432ee24e04f [2021-01-11T07:52:26.635Z] ---> fae788920d82 [2021-01-11T07:52:26.635Z] Step 7/8 : COPY . . [2021-01-11T07:52:27.610Z] ---> 1570527bb2c2 [2021-01-11T07:52:27.610Z] Step 8/8 : RUN go mod download [2021-01-11T07:52:27.884Z] ---> Running in e9adf34080cf [2021-01-11T07:52:40.958Z] Running on prd-centos7-docker-4c-2g-19462 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-01-11T07:52:41.013Z] Running in /w/workspace/device-modbus-go/35 [Pipeline] { [Pipeline] checkout [2021-01-11T07:52:46.646Z] using credential edgex-jenkins-ssh [2021-01-11T07:52:46.714Z] Cloning the remote Git repository [2021-01-11T07:52:46.830Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:52:46.913Z] > git init /w/workspace/device-modbus-go/35 # timeout=10 [2021-01-11T07:52:47.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:52:47.019Z] > git --version # timeout=10 [2021-01-11T07:52:47.039Z] > git --version # 'git version 2.24.3' [2021-01-11T07:52:47.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:52:47.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:52:47.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:52:48.379Z] Checking out Revision 6e20a1d0031e874d4eec2dbc8984745391b205bd (master) [2021-01-11T07:52:47.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:52:47.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:52:47.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:52:47.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:52:47.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T07:52:48.392Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:52:48.455Z] > git checkout -f 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 [2021-01-11T07:52:50.052Z] Removing intermediate container e9adf34080cf [2021-01-11T07:52:50.052Z] ---> d728488fa680 [2021-01-11T07:52:50.052Z] Successfully built d728488fa680 [2021-01-11T07:52:50.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:52:50.390Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T07:52:50.390Z] . [Pipeline] withDockerContainer [2021-01-11T07:52:50.624Z] prd-ubuntu18.04-docker-arm64-4c-16g-19461 does not seem to be running inside a container [2021-01-11T07:52:50.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T07:52:52.057Z] $ docker top e629a2da237fcd9050bf464668c2cb0a417d11273632dc62bba8eeb2b5581f73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:52:52.754Z] Commit message: "Merge pull request #213 from weichou1229/issue-212" [2021-01-11T07:52:53.065Z] + go version [2021-01-11T07:52:53.065Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T07:52:53.086Z] $ docker stop --time=1 e629a2da237fcd9050bf464668c2cb0a417d11273632dc62bba8eeb2b5581f73 [2021-01-11T07:52:54.999Z] $ docker rm -f e629a2da237fcd9050bf464668c2cb0a417d11273632dc62bba8eeb2b5581f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:52:56.037Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T07:52:56.037Z] . [Pipeline] withDockerContainer [2021-01-11T07:52:56.892Z] prd-ubuntu18.04-docker-arm64-4c-16g-19461 does not seem to be running inside a container [2021-01-11T07:52:56.918Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-01-11T07:52:56.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T07:52:58.419Z] $ docker top 5cb9addec662fdd23f19f88ee2cc17040e0a0416fbdf3a0dce208d58925b6c0c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-01-11T07:52:59.148Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:52:59.489Z] + sudo service docker restart [2021-01-11T07:52:59.489Z] + true [2021-01-11T07:52:59.489Z] Redirecting to /bin/systemctl restart docker.service [2021-01-11T07:52:59.581Z] + make test [2021-01-11T07:52:59.581Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T07:53:00.565Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:53:00.992Z] provisioning config files... [2021-01-11T07:53:01.027Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config9016190029052640157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:53:01.525Z] ---> docker-login.sh [2021-01-11T07:53:01.526Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:53:02.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:53:02.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:53:02.514Z] Configure a credential helper to remove this warning. See [2021-01-11T07:53:02.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:53:02.514Z] [2021-01-11T07:53:02.514Z] Login Succeeded [2021-01-11T07:53:02.514Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:53:02.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:53:02.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:53:02.791Z] Configure a credential helper to remove this warning. See [2021-01-11T07:53:02.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:53:02.791Z] [2021-01-11T07:53:02.791Z] Login Succeeded [2021-01-11T07:53:02.791Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:53:03.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:53:03.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:53:03.058Z] Configure a credential helper to remove this warning. See [2021-01-11T07:53:03.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:53:03.058Z] [2021-01-11T07:53:03.058Z] Login Succeeded [2021-01-11T07:53:03.058Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:53:03.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:53:03.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:53:03.369Z] Configure a credential helper to remove this warning. See [2021-01-11T07:53:03.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:53:03.369Z] [2021-01-11T07:53:03.369Z] Login Succeeded [2021-01-11T07:53:03.369Z] docker.io [2021-01-11T07:53:03.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:53:03.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:53:03.907Z] Configure a credential helper to remove this warning. See [2021-01-11T07:53:03.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:53:03.907Z] [2021-01-11T07:53:03.907Z] Login Succeeded [2021-01-11T07:53:03.907Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:53:03.927Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T07:53:04.303Z] ========================================================= [2021-01-11T07:53:04.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T07:53:04.303Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:53:04.690Z] + 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 . [2021-01-11T07:53:04.975Z] Sending build context to Docker daemon 545.3kB [2021-01-11T07:53:04.975Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:53:04.975Z] Step 2/8 : FROM ${BASE} [2021-01-11T07:53:05.287Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T07:53:05.287Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T07:53:05.287Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T07:53:05.287Z] de9db76c5a1d: Pulling fs layer [2021-01-11T07:53:05.287Z] bca2f99d35d6: Pulling fs layer [2021-01-11T07:53:05.287Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T07:53:05.287Z] 7c6f9722023f: Pulling fs layer [2021-01-11T07:53:05.287Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T07:53:05.287Z] 93359f2a8cfa: Waiting [2021-01-11T07:53:05.287Z] 7c6f9722023f: Waiting [2021-01-11T07:53:05.287Z] a35cf1a2eb13: Waiting [2021-01-11T07:53:05.287Z] bca2f99d35d6: Waiting [2021-01-11T07:53:05.287Z] de9db76c5a1d: Verifying Checksum [2021-01-11T07:53:05.287Z] de9db76c5a1d: Download complete [2021-01-11T07:53:05.287Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T07:53:05.287Z] 0ef7d3d256c8: Download complete [2021-01-11T07:53:05.287Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T07:53:05.287Z] 93359f2a8cfa: Download complete [2021-01-11T07:53:05.287Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T07:53:05.287Z] 188c0c94c7c5: Download complete [2021-01-11T07:53:05.569Z] 7c6f9722023f: Verifying Checksum [2021-01-11T07:53:05.569Z] 7c6f9722023f: Download complete [2021-01-11T07:53:05.853Z] 188c0c94c7c5: Pull complete [2021-01-11T07:53:06.150Z] 0ef7d3d256c8: Pull complete [2021-01-11T07:53:06.431Z] de9db76c5a1d: Pull complete [2021-01-11T07:53:09.888Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T07:53:09.888Z] a35cf1a2eb13: Download complete [2021-01-11T07:53:09.888Z] bca2f99d35d6: Verifying Checksum [2021-01-11T07:53:09.888Z] bca2f99d35d6: Download complete [2021-01-11T07:53:22.420Z] bca2f99d35d6: Pull complete [2021-01-11T07:53:22.420Z] 93359f2a8cfa: Pull complete [2021-01-11T07:53:22.420Z] 7c6f9722023f: Pull complete [2021-01-11T07:53:25.813Z] a35cf1a2eb13: Pull complete [2021-01-11T07:53:26.079Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T07:53:26.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T07:53:26.079Z] ---> a62c8e92a672 [2021-01-11T07:53:26.079Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T07:53:26.347Z] ---> Running in c9acd59b8be7 [2021-01-11T07:53:26.650Z] Removing intermediate container c9acd59b8be7 [2021-01-11T07:53:26.650Z] ---> d73daa6ad4be [2021-01-11T07:53:26.650Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:53:26.650Z] ---> Running in 6d39fbb47bdf [2021-01-11T07:53:28.152Z] Removing intermediate container 6d39fbb47bdf [2021-01-11T07:53:28.152Z] ---> 679a5aa64742 [2021-01-11T07:53:28.152Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:53:28.437Z] ---> Running in d8c5eb90f144 [2021-01-11T07:53:29.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T07:53:29.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T07:53:30.235Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T07:53:30.503Z] (2/14) Installing file (5.38-r0) [2021-01-11T07:53:30.503Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T07:53:30.503Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T07:53:32.968Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-11T07:53:32.968Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.412s coverage: 50.3% of statements [2021-01-11T07:53:32.968Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T07:53:35.891Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T07:53:36.160Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T07:53:36.160Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T07:53:36.160Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T07:53:36.427Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T07:53:36.427Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T07:53:37.008Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T07:53:37.008Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T07:53:37.008Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T07:53:37.321Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T07:53:37.321Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T07:53:37.321Z] OK: 237 MiB in 53 packages [2021-01-11T07:53:39.698Z] gofmt -l . [2021-01-11T07:53:39.698Z] [ "`gofmt -l .`" = "" ] [2021-01-11T07:53:39.972Z] ./bin/test-attribution-txt.sh [2021-01-11T07:53:40.566Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T07:53:41.179Z] $ docker stop --time=1 5cb9addec662fdd23f19f88ee2cc17040e0a0416fbdf3a0dce208d58925b6c0c [2021-01-11T07:53:41.686Z] Removing intermediate container d8c5eb90f144 [2021-01-11T07:53:41.686Z] ---> 6c0be17cfd97 [2021-01-11T07:53:41.686Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-11T07:53:41.686Z] ---> Running in 63523e5bd107 [2021-01-11T07:53:41.686Z] Removing intermediate container 63523e5bd107 [2021-01-11T07:53:41.686Z] ---> b53933cc3cf2 [2021-01-11T07:53:41.686Z] Step 7/8 : COPY . . [2021-01-11T07:53:42.292Z] ---> 45bb90d9888c [2021-01-11T07:53:42.292Z] Step 8/8 : RUN go mod download [2021-01-11T07:53:42.292Z] ---> Running in 5c0c39c2a414 [2021-01-11T07:53:43.433Z] $ docker rm -f 5cb9addec662fdd23f19f88ee2cc17040e0a0416fbdf3a0dce208d58925b6c0c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T07:53:44.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T07:53:45.180Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:53:47.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T07:53:48.227Z] + ls -al . [2021-01-11T07:53:48.227Z] total 136 [2021-01-11T07:53:48.227Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 07:53 . [2021-01-11T07:53:48.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 07:51 .. [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 07:51 .dockerignore [2021-01-11T07:53:48.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 07:51 .git [2021-01-11T07:53:48.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:51 .github [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 338 Jan 11 07:51 .gitignore [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 5589 Jan 11 07:51 Attribution.txt [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 1434 Jan 11 07:51 Dockerfile [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 958 Jan 11 07:51 Dockerfile.build [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 11 07:51 Jenkinsfile [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 07:51 LICENSE [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 07:51 Makefile [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 591 Jan 11 07:51 README.md [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 07:49 VERSION [2021-01-11T07:53:48.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:51 bin [2021-01-11T07:53:48.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:51 cmd [2021-01-11T07:53:48.227Z] -rw-r--r-- 1 jenkins jenkins 22362 Jan 11 07:53 coverage.out [2021-01-11T07:53:48.227Z] -rw-r--r-- 1 jenkins jenkins 517 Jan 11 07:53 go.mod [2021-01-11T07:53:48.227Z] -rw-r--r-- 1 jenkins jenkins 14838 Jan 11 07:53 go.sum [2021-01-11T07:53:48.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:51 internal [2021-01-11T07:53:48.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:51 simulator [2021-01-11T07:53:48.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 07:51 snap [2021-01-11T07:53:48.227Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 07:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:53:48.623Z] + 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=6e20a1d0031e874d4eec2dbc8984745391b205bd --label arch=arm64 --label version=1.3.1-dev.7 . [2021-01-11T07:53:48.918Z] Sending build context to Docker daemon 575.5kB [2021-01-11T07:53:49.197Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:53:49.197Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-11T07:53:49.197Z] ---> d728488fa680 [2021-01-11T07:53:49.197Z] Step 3/20 : ARG MAKE='make build' [2021-01-11T07:53:49.197Z] ---> Running in c63a95d59ac8 [2021-01-11T07:53:49.795Z] Removing intermediate container c63a95d59ac8 [2021-01-11T07:53:49.795Z] ---> b47b5da80025 [2021-01-11T07:53:49.795Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:53:49.795Z] ---> Running in 3342f44dd853 [2021-01-11T07:53:52.418Z] Removing intermediate container 3342f44dd853 [2021-01-11T07:53:52.418Z] ---> 26f3d8fecd50 [2021-01-11T07:53:52.418Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:53:52.418Z] ---> Running in bdfba069addc [2021-01-11T07:53:53.393Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T07:53:53.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T07:53:54.576Z] OK: 221 MiB in 53 packages [2021-01-11T07:53:56.010Z] Removing intermediate container bdfba069addc [2021-01-11T07:53:56.010Z] ---> 8a7e6e238a9b [2021-01-11T07:53:56.010Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-11T07:53:56.010Z] ---> Running in c8d126a9cd35 [2021-01-11T07:53:56.284Z] Removing intermediate container c8d126a9cd35 [2021-01-11T07:53:56.284Z] ---> 4bbb2539a3e5 [2021-01-11T07:53:56.284Z] Step 7/20 : COPY . . [2021-01-11T07:53:57.278Z] ---> b8fefa1d1d19 [2021-01-11T07:53:57.278Z] Step 8/20 : RUN ${MAKE} [2021-01-11T07:53:57.550Z] ---> Running in 45d62696f036 [2021-01-11T07:53:58.529Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.7" -o cmd/device-modbus ./cmd [2021-01-11T07:54:09.153Z] Removing intermediate container 5c0c39c2a414 [2021-01-11T07:54:09.153Z] ---> 0a6275086f19 [2021-01-11T07:54:09.153Z] Successfully built 0a6275086f19 [2021-01-11T07:54:09.153Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:10.153Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T07:54:10.153Z] . [Pipeline] withDockerContainer [2021-01-11T07:54:10.600Z] prd-centos7-docker-4c-2g-19462 does not seem to be running inside a container [2021-01-11T07:54:10.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T07:54:11.672Z] $ docker top 2bab6eeb6eaecd288df9bae8939e7259bed89afc5f0b19370cfb5b89d44d2e61 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:54:12.343Z] + go version [2021-01-11T07:54:12.343Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T07:54:12.397Z] $ docker stop --time=1 2bab6eeb6eaecd288df9bae8939e7259bed89afc5f0b19370cfb5b89d44d2e61 [2021-01-11T07:54:13.920Z] $ docker rm -f 2bab6eeb6eaecd288df9bae8939e7259bed89afc5f0b19370cfb5b89d44d2e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:14.859Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T07:54:14.859Z] . [Pipeline] withDockerContainer [2021-01-11T07:54:15.006Z] prd-centos7-docker-4c-2g-19462 does not seem to be running inside a container [2021-01-11T07:54:15.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T07:54:16.009Z] $ docker top 475c51b04213e7acb17502d407c448cd84d83331779f9f02e29d424f1a140f73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:54:16.577Z] + make test [2021-01-11T07:54:16.577Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T07:54:18.587Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-11T07:54:25.360Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T07:54:29.662Z] Removing intermediate container 45d62696f036 [2021-01-11T07:54:29.662Z] ---> 32e2596c75cd [2021-01-11T07:54:29.662Z] Step 9/20 : FROM scratch [2021-01-11T07:54:29.662Z] ---> [2021-01-11T07:54:29.662Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-11T07:54:29.662Z] ---> Running in c37f4294dbb4 [2021-01-11T07:54:29.662Z] Removing intermediate container c37f4294dbb4 [2021-01-11T07:54:29.662Z] ---> baa1fceadb4e [2021-01-11T07:54:29.662Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-11T07:54:29.933Z] ---> Running in a96b390398f1 [2021-01-11T07:54:30.204Z] Removing intermediate container a96b390398f1 [2021-01-11T07:54:30.204Z] ---> 13da368ac62c [2021-01-11T07:54:30.204Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-11T07:54:31.635Z] ---> 079ab093e07c [2021-01-11T07:54:31.635Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-11T07:54:32.229Z] ---> cf813d1b4c7a [2021-01-11T07:54:32.229Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-11T07:54:32.822Z] ---> c8691b95c604 [2021-01-11T07:54:32.822Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-11T07:54:33.095Z] ---> Running in cffc8e7e6ca6 [2021-01-11T07:54:33.366Z] Removing intermediate container cffc8e7e6ca6 [2021-01-11T07:54:33.366Z] ---> 52a9655d538b [2021-01-11T07:54:33.366Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-11T07:54:33.640Z] ---> Running in 52b984facddf [2021-01-11T07:54:33.912Z] Removing intermediate container 52b984facddf [2021-01-11T07:54:33.912Z] ---> dbb8c12857c9 [2021-01-11T07:54:33.912Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-11T07:54:34.185Z] ---> Running in c2ad323ae8e1 [2021-01-11T07:54:34.779Z] Removing intermediate container c2ad323ae8e1 [2021-01-11T07:54:34.779Z] ---> 95376c479861 [2021-01-11T07:54:34.779Z] Step 18/20 : LABEL arch=arm64 [2021-01-11T07:54:34.779Z] ---> Running in 952d50a052f5 [2021-01-11T07:54:35.371Z] Removing intermediate container 952d50a052f5 [2021-01-11T07:54:35.371Z] ---> c2a3c54dd871 [2021-01-11T07:54:35.371Z] Step 19/20 : LABEL git_sha=6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:54:35.371Z] ---> Running in ca17fbde2b3f [2021-01-11T07:54:35.965Z] Removing intermediate container ca17fbde2b3f [2021-01-11T07:54:35.965Z] ---> 1a349dd53777 [2021-01-11T07:54:35.965Z] Step 20/20 : LABEL version=1.3.1-dev.7 [2021-01-11T07:54:35.965Z] ---> Running in 3d334930f128 [2021-01-11T07:54:36.566Z] Removing intermediate container 3d334930f128 [2021-01-11T07:54:36.566Z] ---> e476faaf3bff [2021-01-11T07:54:36.566Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T07:54:36.566Z] Successfully built e476faaf3bff [2021-01-11T07:54:36.566Z] 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 [2021-01-11T07:54:37.075Z] provisioning config files... [2021-01-11T07:54:37.115Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config8159975679944747483tmp [2021-01-11T07:54:37.119Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-11T07:54:37.119Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.332s coverage: 50.3% of statements [2021-01-11T07:54:37.119Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:54:37.507Z] ---> docker-login.sh [2021-01-11T07:54:37.507Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:54:37.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:54:38.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:54:38.051Z] Configure a credential helper to remove this warning. See [2021-01-11T07:54:38.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:54:38.051Z] [2021-01-11T07:54:38.051Z] Login Succeeded [2021-01-11T07:54:38.051Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:54:38.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:54:38.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:54:38.595Z] Configure a credential helper to remove this warning. See [2021-01-11T07:54:38.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:54:38.595Z] [2021-01-11T07:54:38.595Z] Login Succeeded [2021-01-11T07:54:38.595Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:54:38.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:54:39.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:54:39.142Z] Configure a credential helper to remove this warning. See [2021-01-11T07:54:39.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:54:39.142Z] [2021-01-11T07:54:39.142Z] Login Succeeded [2021-01-11T07:54:39.142Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:54:39.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:54:39.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:54:39.688Z] Configure a credential helper to remove this warning. See [2021-01-11T07:54:39.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:54:39.688Z] [2021-01-11T07:54:39.688Z] Login Succeeded [2021-01-11T07:54:39.688Z] docker.io [2021-01-11T07:54:40.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:54:40.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:54:40.558Z] Configure a credential helper to remove this warning. See [2021-01-11T07:54:40.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:54:40.558Z] [2021-01-11T07:54:40.558Z] Login Succeeded [2021-01-11T07:54:40.558Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:54:40.575Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T07:54:40.811Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-01-11T07:54:40.811Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:54:40.811Z] latest [2021-01-11T07:54:40.811Z] 1.3.1-dev.7 [2021-01-11T07:54:40.811Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:54:40.811Z] master [2021-01-11T07:54:40.811Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:41.407Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:41.644Z] gofmt -l . [2021-01-11T07:54:41.644Z] [ "`gofmt -l .`" = "" ] [2021-01-11T07:54:41.644Z] ./bin/test-attribution-txt.sh [2021-01-11T07:54:41.757Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:54:41.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-11T07:54:41.757Z] 0e2f9145939b: Preparing [2021-01-11T07:54:41.757Z] fef34aca355a: Preparing [2021-01-11T07:54:41.757Z] 67a7750f2aaa: Preparing [2021-01-11T07:54:42.047Z] fef34aca355a: Pushed [2021-01-11T07:54:42.047Z] 0e2f9145939b: Pushed [2021-01-11T07:54:42.251Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T07:54:42.544Z] $ docker stop --time=1 475c51b04213e7acb17502d407c448cd84d83331779f9f02e29d424f1a140f73 [2021-01-11T07:54:44.658Z] 67a7750f2aaa: Pushed [2021-01-11T07:54:44.658Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd: digest: sha256:aadab6445dd7f3b441e0c4822a52273850284a541578115e0aa2dafb47e1a9ba size: 944 [2021-01-11T07:54:45.107Z] $ docker rm -f 475c51b04213e7acb17502d407c448cd84d83331779f9f02e29d424f1a140f73 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:45.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T07:54:45.892Z] Warning: overwriting stash ‘coverage-report’ [2021-01-11T07:54:45.999Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:46.336Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-01-11T07:54:46.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-11T07:54:46.336Z] 0e2f9145939b: Preparing [2021-01-11T07:54:46.336Z] fef34aca355a: Preparing [2021-01-11T07:54:46.336Z] 67a7750f2aaa: Preparing [2021-01-11T07:54:46.336Z] fef34aca355a: Layer already exists [2021-01-11T07:54:46.336Z] 67a7750f2aaa: Layer already exists [2021-01-11T07:54:46.336Z] 0e2f9145939b: Layer already exists [2021-01-11T07:54:46.351Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-11T07:54:46.610Z] latest: digest: sha256:aadab6445dd7f3b441e0c4822a52273850284a541578115e0aa2dafb47e1a9ba size: 944 [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-01-11T07:54:46.978Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:47.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T07:54:47.317Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.7 [2021-01-11T07:54:47.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-11T07:54:47.317Z] 0e2f9145939b: Preparing [2021-01-11T07:54:47.317Z] fef34aca355a: Preparing [2021-01-11T07:54:47.317Z] 67a7750f2aaa: Preparing [2021-01-11T07:54:47.540Z] + ls -al . [2021-01-11T07:54:47.540Z] total 104 [2021-01-11T07:54:47.540Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 07:54 . [2021-01-11T07:54:47.540Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 07:52 .. [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 5589 Jan 11 07:52 Attribution.txt [2021-01-11T07:54:47.540Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 11 07:52 bin [2021-01-11T07:54:47.540Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 07:52 cmd [2021-01-11T07:54:47.540Z] -rw-r--r--. 1 jenkins jenkins 22362 Jan 11 07:54 coverage.out [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 1434 Jan 11 07:52 Dockerfile [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 958 Jan 11 07:52 Dockerfile.build [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 07:52 .dockerignore [2021-01-11T07:54:47.540Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 07:52 .git [2021-01-11T07:54:47.540Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 07:52 .github [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 338 Jan 11 07:52 .gitignore [2021-01-11T07:54:47.540Z] -rw-r--r--. 1 jenkins jenkins 517 Jan 11 07:54 go.mod [2021-01-11T07:54:47.540Z] -rw-r--r--. 1 jenkins jenkins 14838 Jan 11 07:54 go.sum [2021-01-11T07:54:47.540Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 07:52 internal [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 11 07:52 Jenkinsfile [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 07:52 LICENSE [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 07:52 Makefile [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 591 Jan 11 07:52 README.md [2021-01-11T07:54:47.540Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 11 07:52 simulator [2021-01-11T07:54:47.540Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 07:52 snap [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 07:49 VERSION [2021-01-11T07:54:47.540Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 11 07:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:47.588Z] fef34aca355a: Layer already exists [2021-01-11T07:54:47.588Z] 67a7750f2aaa: Layer already exists [2021-01-11T07:54:47.588Z] 0e2f9145939b: Layer already exists [2021-01-11T07:54:47.588Z] 1.3.1-dev.7: digest: sha256:aadab6445dd7f3b441e0c4822a52273850284a541578115e0aa2dafb47e1a9ba size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:47.902Z] + 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=6e20a1d0031e874d4eec2dbc8984745391b205bd --label arch=amd64 --label version=1.3.1-dev.7 . [2021-01-11T07:54:48.025Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:48.170Z] Sending build context to Docker daemon 576.5kB [2021-01-11T07:54:48.170Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:54:48.170Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-11T07:54:48.170Z] ---> 0a6275086f19 [2021-01-11T07:54:48.170Z] Step 3/20 : ARG MAKE='make build' [2021-01-11T07:54:48.363Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:54:48.363Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-11T07:54:48.363Z] 0e2f9145939b: Preparing [2021-01-11T07:54:48.363Z] fef34aca355a: Preparing [2021-01-11T07:54:48.363Z] 67a7750f2aaa: Preparing [2021-01-11T07:54:48.363Z] 0e2f9145939b: Layer already exists [2021-01-11T07:54:48.363Z] fef34aca355a: Layer already exists [2021-01-11T07:54:48.363Z] 67a7750f2aaa: Layer already exists [2021-01-11T07:54:48.435Z] ---> Running in 686dac6a5bdf [2021-01-11T07:54:48.435Z] Removing intermediate container 686dac6a5bdf [2021-01-11T07:54:48.435Z] ---> a077de2e543c [2021-01-11T07:54:48.435Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:54:48.634Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7: digest: sha256:aadab6445dd7f3b441e0c4822a52273850284a541578115e0aa2dafb47e1a9ba size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:48.703Z] ---> Running in af6729da3191 [2021-01-11T07:54:48.976Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:54:49.310Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-01-11T07:54:49.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-11T07:54:49.310Z] 0e2f9145939b: Preparing [2021-01-11T07:54:49.310Z] fef34aca355a: Preparing [2021-01-11T07:54:49.310Z] 67a7750f2aaa: Preparing [2021-01-11T07:54:49.310Z] fef34aca355a: Layer already exists [2021-01-11T07:54:49.310Z] 0e2f9145939b: Layer already exists [2021-01-11T07:54:49.310Z] 67a7750f2aaa: Layer already exists [2021-01-11T07:54:49.585Z] master: digest: sha256:aadab6445dd7f3b441e0c4822a52273850284a541578115e0aa2dafb47e1a9ba size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T07:54:50.119Z] ===================================================== [2021-01-11T07:54:50.169Z] Removing intermediate container af6729da3191 [2021-01-11T07:54:50.169Z] ---> 07effb09afc3 [2021-01-11T07:54:50.169Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:54:50.169Z] ---> Running in 9a5592847d5e [Pipeline] echo [2021-01-11T07:54:50.176Z] taggedImages: [2021-01-11T07:54:50.176Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:54:50.176Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-01-11T07:54:50.176Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.7 [2021-01-11T07:54:50.176Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:54:50.176Z] - 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 [2021-01-11T07:54:50.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T07:54:51.345Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T07:54:51.997Z] OK: 237 MiB in 53 packages [2021-01-11T07:54:52.587Z] Removing intermediate container 9a5592847d5e [2021-01-11T07:54:52.587Z] ---> db7cdb014280 [2021-01-11T07:54:52.587Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-11T07:54:52.587Z] ---> Running in 75847e688858 [2021-01-11T07:54:52.854Z] Removing intermediate container 75847e688858 [2021-01-11T07:54:52.854Z] ---> b7976fda549f [2021-01-11T07:54:52.854Z] Step 7/20 : COPY . . [2021-01-11T07:54:53.437Z] ---> bd7425427783 [2021-01-11T07:54:53.437Z] Step 8/20 : RUN ${MAKE} [2021-01-11T07:54:53.712Z] ---> Running in 9904fb2de569 [2021-01-11T07:54:54.310Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.7" -o cmd/device-modbus ./cmd [2021-01-11T07:55:10.416Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T07:55:16.050Z] Removing intermediate container 9904fb2de569 [2021-01-11T07:55:16.050Z] ---> a05da883e64b [2021-01-11T07:55:16.050Z] Step 9/20 : FROM scratch [2021-01-11T07:55:16.050Z] ---> [2021-01-11T07:55:16.050Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-11T07:55:16.050Z] ---> Running in 7a846109a96f [2021-01-11T07:55:16.050Z] Removing intermediate container 7a846109a96f [2021-01-11T07:55:16.050Z] ---> 2fdbd3a98074 [2021-01-11T07:55:16.050Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-11T07:55:16.050Z] ---> Running in a437e4f1439c [2021-01-11T07:55:16.349Z] Removing intermediate container a437e4f1439c [2021-01-11T07:55:16.349Z] ---> e4fbb451412f [2021-01-11T07:55:16.349Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-11T07:55:17.799Z] ---> 0e81493542b6 [2021-01-11T07:55:17.799Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-11T07:55:18.098Z] ---> d3c8b5c960ca [2021-01-11T07:55:18.098Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-11T07:55:18.368Z] ---> dde27331b996 [2021-01-11T07:55:18.368Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-11T07:55:18.368Z] ---> Running in 0c6164e90bc8 [2021-01-11T07:55:18.645Z] Removing intermediate container 0c6164e90bc8 [2021-01-11T07:55:18.645Z] ---> 0dc74491309b [2021-01-11T07:55:18.645Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-11T07:55:18.923Z] ---> Running in a9cbbd5f0685 [2021-01-11T07:55:19.218Z] Removing intermediate container a9cbbd5f0685 [2021-01-11T07:55:19.218Z] ---> 39338f4f8be0 [2021-01-11T07:55:19.218Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-11T07:55:19.218Z] ---> Running in 571ac292fae3 [2021-01-11T07:55:19.517Z] Removing intermediate container 571ac292fae3 [2021-01-11T07:55:19.517Z] ---> b21119f43863 [2021-01-11T07:55:19.517Z] Step 18/20 : LABEL arch=amd64 [2021-01-11T07:55:19.803Z] ---> Running in 1d65eb6b5b49 [2021-01-11T07:55:19.803Z] Removing intermediate container 1d65eb6b5b49 [2021-01-11T07:55:19.803Z] ---> 6d02fcc56583 [2021-01-11T07:55:19.803Z] Step 19/20 : LABEL git_sha=6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:55:20.077Z] ---> Running in 844ab9787f6e [2021-01-11T07:55:20.346Z] Removing intermediate container 844ab9787f6e [2021-01-11T07:55:20.346Z] ---> 3f7d22bc9d43 [2021-01-11T07:55:20.346Z] Step 20/20 : LABEL version=1.3.1-dev.7 [2021-01-11T07:55:20.346Z] ---> Running in 6a4f9d14c255 [2021-01-11T07:55:20.628Z] Removing intermediate container 6a4f9d14c255 [2021-01-11T07:55:20.628Z] ---> 03ddcb64122a [2021-01-11T07:55:20.628Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T07:55:20.628Z] Successfully built 03ddcb64122a [2021-01-11T07:55:20.628Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:55:21.300Z] provisioning config files... [2021-01-11T07:55:21.338Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config8735514359134938414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:55:21.806Z] ---> docker-login.sh [2021-01-11T07:55:21.806Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:55:22.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:55:22.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:55:22.411Z] Configure a credential helper to remove this warning. See [2021-01-11T07:55:22.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:55:22.411Z] [2021-01-11T07:55:22.411Z] Login Succeeded [2021-01-11T07:55:22.411Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:55:23.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:55:23.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:55:23.042Z] Configure a credential helper to remove this warning. See [2021-01-11T07:55:23.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:55:23.042Z] [2021-01-11T07:55:23.042Z] Login Succeeded [2021-01-11T07:55:23.042Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:55:23.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:55:23.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:55:23.329Z] Configure a credential helper to remove this warning. See [2021-01-11T07:55:23.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:55:23.329Z] [2021-01-11T07:55:23.329Z] Login Succeeded [2021-01-11T07:55:23.329Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:55:23.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:55:23.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:55:23.874Z] Configure a credential helper to remove this warning. See [2021-01-11T07:55:23.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:55:23.874Z] [2021-01-11T07:55:23.874Z] Login Succeeded [2021-01-11T07:55:23.874Z] docker.io [2021-01-11T07:55:23.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:55:24.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:55:24.462Z] Configure a credential helper to remove this warning. See [2021-01-11T07:55:24.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:55:24.462Z] [2021-01-11T07:55:24.462Z] Login Succeeded [2021-01-11T07:55:24.462Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:55:24.476Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T07:55:24.710Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-01-11T07:55:24.710Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:55:24.710Z] latest [2021-01-11T07:55:24.710Z] 1.3.1-dev.7 [2021-01-11T07:55:24.710Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:55:24.710Z] master [2021-01-11T07:55:24.710Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:25.279Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:25.620Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:55:25.620Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-11T07:55:25.620Z] ca9f4549e57b: Preparing [2021-01-11T07:55:25.620Z] 1df137def3a8: Preparing [2021-01-11T07:55:25.620Z] 338ac136eadc: Preparing [2021-01-11T07:55:25.899Z] ca9f4549e57b: Pushed [2021-01-11T07:55:25.899Z] 1df137def3a8: Pushed [2021-01-11T07:55:27.384Z] 338ac136eadc: Pushed [2021-01-11T07:55:27.671Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd: digest: sha256:485f7074b0db8e2ae7a97dd8dadd66f40b79b40077842d538d41666c258d7d1a size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:28.044Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:28.412Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-01-11T07:55:28.413Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-11T07:55:28.413Z] ca9f4549e57b: Preparing [2021-01-11T07:55:28.413Z] 1df137def3a8: Preparing [2021-01-11T07:55:28.413Z] 338ac136eadc: Preparing [2021-01-11T07:55:28.413Z] ca9f4549e57b: Layer already exists [2021-01-11T07:55:28.413Z] 338ac136eadc: Layer already exists [2021-01-11T07:55:28.413Z] 1df137def3a8: Layer already exists [2021-01-11T07:55:28.413Z] latest: digest: sha256:485f7074b0db8e2ae7a97dd8dadd66f40b79b40077842d538d41666c258d7d1a size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:28.797Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:29.226Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.7 [2021-01-11T07:55:29.226Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-11T07:55:29.226Z] ca9f4549e57b: Preparing [2021-01-11T07:55:29.226Z] 1df137def3a8: Preparing [2021-01-11T07:55:29.226Z] 338ac136eadc: Preparing [2021-01-11T07:55:29.226Z] ca9f4549e57b: Layer already exists [2021-01-11T07:55:29.226Z] 1df137def3a8: Layer already exists [2021-01-11T07:55:29.226Z] 338ac136eadc: Layer already exists [2021-01-11T07:55:29.490Z] 1.3.1-dev.7: digest: sha256:485f7074b0db8e2ae7a97dd8dadd66f40b79b40077842d538d41666c258d7d1a size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:29.846Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:30.214Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:55:30.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-11T07:55:30.214Z] ca9f4549e57b: Preparing [2021-01-11T07:55:30.214Z] 1df137def3a8: Preparing [2021-01-11T07:55:30.214Z] 338ac136eadc: Preparing [2021-01-11T07:55:30.214Z] 338ac136eadc: Layer already exists [2021-01-11T07:55:30.214Z] 1df137def3a8: Layer already exists [2021-01-11T07:55:30.214Z] ca9f4549e57b: Layer already exists [2021-01-11T07:55:30.214Z] 6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7: digest: sha256:485f7074b0db8e2ae7a97dd8dadd66f40b79b40077842d538d41666c258d7d1a size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:30.599Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:30.963Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-01-11T07:55:31.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-11T07:55:31.269Z] ca9f4549e57b: Preparing [2021-01-11T07:55:31.269Z] 1df137def3a8: Preparing [2021-01-11T07:55:31.269Z] 338ac136eadc: Preparing [2021-01-11T07:55:31.269Z] 338ac136eadc: Layer already exists [2021-01-11T07:55:31.269Z] 1df137def3a8: Layer already exists [2021-01-11T07:55:31.269Z] ca9f4549e57b: Layer already exists [2021-01-11T07:55:31.269Z] master: digest: sha256:485f7074b0db8e2ae7a97dd8dadd66f40b79b40077842d538d41666c258d7d1a size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-11T07:55:31.487Z] ===================================================== [Pipeline] echo [2021-01-11T07:55:31.538Z] taggedImages: [2021-01-11T07:55:31.539Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd [2021-01-11T07:55:31.539Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-01-11T07:55:31.539Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.7 [2021-01-11T07:55:31.539Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:6e20a1d0031e874d4eec2dbc8984745391b205bd-1.3.1-dev.7 [2021-01-11T07:55:31.539Z] - 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-11T07:55:33.253Z] provisioning config files... [2021-01-11T07:55:33.263Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3772176285495375195tmp [Pipeline] { [Pipeline] sh [2021-01-11T07:55:33.666Z] + set +x [2021-01-11T07:55:33.666Z] + curl -s https://codecov.io/bash [2021-01-11T07:55:33.666Z] + bash -s -- [2021-01-11T07:55:33.929Z] [2021-01-11T07:55:33.929Z] _____ _ [2021-01-11T07:55:33.929Z] / ____| | | [2021-01-11T07:55:33.929Z] | | ___ __| | ___ ___ _____ __ [2021-01-11T07:55:33.929Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-11T07:55:33.929Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-11T07:55:33.929Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-11T07:55:33.929Z] Bash-20201231-23d4836 [2021-01-11T07:55:33.929Z] [2021-01-11T07:55:33.929Z] [2021-01-11T07:55:33.929Z] ==> git version 2.24.3 found [2021-01-11T07:55:33.929Z] ==> 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 [2021-01-11T07:55:33.929Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-11T07:55:33.929Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-11T07:55:33.929Z] ==> Jenkins CI detected. [2021-01-11T07:55:33.929Z] project root: . [2021-01-11T07:55:33.929Z] --> token set from env [2021-01-11T07:55:33.929Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-11T07:55:33.929Z] ==> Running gcov in . (disable via -X gcov) [2021-01-11T07:55:33.929Z] ==> Python coveragepy not found [2021-01-11T07:55:33.929Z] ==> Searching for coverage reports in: [2021-01-11T07:55:33.929Z] + . [2021-01-11T07:55:33.929Z] -> Found 1 reports [2021-01-11T07:55:33.929Z] ==> Detecting git/mercurial file structure [2021-01-11T07:55:33.929Z] ==> Reading reports [2021-01-11T07:55:33.929Z] + ./coverage.out bytes=22362 [2021-01-11T07:55:33.929Z] ==> Appending adjustments [2021-01-11T07:55:33.929Z] https://docs.codecov.io/docs/fixing-reports [2021-01-11T07:55:33.929Z] + Found adjustments [2021-01-11T07:55:33.929Z] ==> Gzipping contents [2021-01-11T07:55:34.192Z] 8.0K /tmp/codecov.jXeQVG.gz [2021-01-11T07:55:34.192Z] ==> Uploading reports [2021-01-11T07:55:34.192Z] url: https://codecov.io [2021-01-11T07:55:34.192Z] query: branch=master&commit=6e20a1d0031e874d4eec2dbc8984745391b205bd&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T07:55:34.192Z] -> Pinging Codecov [2021-01-11T07:55:34.192Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=6e20a1d0031e874d4eec2dbc8984745391b205bd&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-11T07:55:34.455Z] -> Uploading to [2021-01-11T07:55:34.455Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-11/55DBCA73C666E3227836607328DD7E49/6e20a1d0031e874d4eec2dbc8984745391b205bd/27e090d4-0225-4a9d-a766-ebd851b28cb7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T075534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37a4e28cd92091603e6b2ac935493cc85cf47c5a3008df4c142a9b629c8e7934 [2021-01-11T07:55:34.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-11T07:55:34.455Z] Dload Upload Total Spent Left Speed [2021-01-11T07:55:35.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4226 0 0 100 4226 0 9369 --:--:-- --:--:-- --:--:-- 9370 100 4226 0 0 100 4226 0 9365 --:--:-- --:--:-- --:--:-- 9349 [2021-01-11T07:55:35.029Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] } [2021-01-11T07:55:35.040Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-11T07:55:36.010Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-11T07:55:36.063Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:36.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T07:55:36.414Z] [2021-01-11T07:55:36.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:55:36.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T07:55:36.761Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-11T07:55:36.761Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T07:55:36.761Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T07:55:36.761Z] de9db76c5a1d: Pulling fs layer [2021-01-11T07:55:36.761Z] 0eba1c9be4d2: Pulling fs layer [2021-01-11T07:55:36.761Z] 0d57e429df01: Pulling fs layer [2021-01-11T07:55:36.761Z] 4e4be7b47b0d: Pulling fs layer [2021-01-11T07:55:36.761Z] e1f770b5df2f: Pulling fs layer [2021-01-11T07:55:36.761Z] 85a0685a4137: Pulling fs layer [2021-01-11T07:55:36.761Z] 0d57e429df01: Waiting [2021-01-11T07:55:36.761Z] 4e4be7b47b0d: Waiting [2021-01-11T07:55:36.761Z] e1f770b5df2f: Waiting [2021-01-11T07:55:36.761Z] 85a0685a4137: Waiting [2021-01-11T07:55:36.761Z] 0eba1c9be4d2: Waiting [2021-01-11T07:55:36.761Z] de9db76c5a1d: Download complete [2021-01-11T07:55:36.761Z] 0ef7d3d256c8: Download complete [2021-01-11T07:55:36.761Z] 0d57e429df01: Verifying Checksum [2021-01-11T07:55:36.761Z] 0d57e429df01: Download complete [2021-01-11T07:55:36.761Z] 4e4be7b47b0d: Download complete [2021-01-11T07:55:36.761Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T07:55:36.761Z] 188c0c94c7c5: Download complete [2021-01-11T07:55:37.337Z] 188c0c94c7c5: Pull complete [2021-01-11T07:55:37.337Z] 0ef7d3d256c8: Pull complete [2021-01-11T07:55:37.600Z] de9db76c5a1d: Pull complete [2021-01-11T07:55:38.550Z] e1f770b5df2f: Verifying Checksum [2021-01-11T07:55:38.550Z] e1f770b5df2f: Download complete [2021-01-11T07:55:41.118Z] 0eba1c9be4d2: Verifying Checksum [2021-01-11T07:55:41.118Z] 0eba1c9be4d2: Download complete [2021-01-11T07:55:41.385Z] 85a0685a4137: Verifying Checksum [2021-01-11T07:55:41.385Z] 85a0685a4137: Download complete [2021-01-11T07:55:45.643Z] 0eba1c9be4d2: Pull complete [2021-01-11T07:55:45.910Z] 0d57e429df01: Pull complete [2021-01-11T07:55:45.910Z] 4e4be7b47b0d: Pull complete [2021-01-11T07:55:48.465Z] e1f770b5df2f: Pull complete [2021-01-11T07:55:56.672Z] 85a0685a4137: Pull complete [2021-01-11T07:55:56.672Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-11T07:55:56.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-11T07:55:56.672Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-11T07:55:56.896Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:55:56.945Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-11T07:55:57.944Z] $ docker top 4f590300e35fc9ccffd293549b28f543eb0f0a34f6a55312f65f2bf8fdf9a1c3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-11T07:55:58.203Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-11T07:55:58.494Z] + set -o pipefail [2021-01-11T07:55:58.494Z] + snyk monitor '--org=edgex-jenkins' [2021-01-11T07:56:05.114Z] [2021-01-11T07:56:05.114Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-01-11T07:56:05.114Z] [2021-01-11T07:56:05.114Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/d2028795-849e-4c44-acba-28cdfe7400f6 [2021-01-11T07:56:05.114Z] [2021-01-11T07:56:05.114Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-01-11T07:56:05.114Z] [2021-01-11T07:56:05.114Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-11T07:56:05.114Z] [2021-01-11T07:56:05.376Z] [Pipeline] } [2021-01-11T07:56:05.391Z] $ docker stop --time=1 4f590300e35fc9ccffd293549b28f543eb0f0a34f6a55312f65f2bf8fdf9a1c3 [2021-01-11T07:56:08.092Z] $ docker rm -f 4f590300e35fc9ccffd293549b28f543eb0f0a34f6a55312f65f2bf8fdf9a1c3 [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 [2021-01-11T07:56:09.928Z] + git log --format=format:%s -1 6e20a1d0031e874d4eec2dbc8984745391b205bd [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:56:10.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:56:10.232Z] . [Pipeline] withDockerContainer [2021-01-11T07:56:10.336Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:56:10.383Z] $ 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 [2021-01-11T07:56:11.148Z] $ docker top 9180e77e45faf9b6a1ffa6adf580dd54fe87e546a5c74dbbc65eeae76908d320 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T07:56:11.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:56:11.445Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:56:11.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:56:11.696Z] $ docker exec 9180e77e45faf9b6a1ffa6adf580dd54fe87e546a5c74dbbc65eeae76908d320 ssh-agent [2021-01-11T07:56:11.878Z] SSH_AUTH_SOCK=/tmp/ssh-KLtw8ibsyRfg/agent.11 [2021-01-11T07:56:11.878Z] SSH_AGENT_PID=16 [2021-01-11T07:56:11.885Z] Running ssh-add (command line suppressed) [2021-01-11T07:56:12.037Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9034298481892775452.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9034298481892775452.key) [2021-01-11T07:56:12.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:56:12.468Z] + git semver tag [2021-01-11T07:56:12.469Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T07:56:12.469Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-11T07:56:12.469Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-11T07:56:12.469Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T07:56:12.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T07:56:12.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T07:56:12.469Z] # $SEMVER_BRANCH = master [2021-01-11T07:56:12.469Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-01-11T07:56:12.469Z] # 6e20a1d0031e874d4eec2dbc8984745391b205bd HEAD [2021-01-11T07:56:12.469Z] # -> Force: false [2021-01-11T07:56:12.469Z] # ba14dab94b635b994f59768e47f65faaafb5a26f refs/tags/v1.3.1-dev.7 [Pipeline] } [2021-01-11T07:56:12.482Z] $ docker exec --env ******** --env ******** 9180e77e45faf9b6a1ffa6adf580dd54fe87e546a5c74dbbc65eeae76908d320 ssh-agent -k [2021-01-11T07:56:12.607Z] unset SSH_AUTH_SOCK; [2021-01-11T07:56:12.607Z] unset SSH_AGENT_PID; [2021-01-11T07:56:12.607Z] echo Agent pid 16 killed; [2021-01-11T07:56:12.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T07:56:13.187Z] + git semver [Pipeline] } [2021-01-11T07:56:13.205Z] $ docker stop --time=1 9180e77e45faf9b6a1ffa6adf580dd54fe87e546a5c74dbbc65eeae76908d320 [2021-01-11T07:56:14.565Z] $ docker rm -f 9180e77e45faf9b6a1ffa6adf580dd54fe87e546a5c74dbbc65eeae76908d320 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:56:15.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T07:56:15.217Z] [2021-01-11T07:56:15.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:56:15.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T07:56:15.579Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-11T07:56:15.579Z] ab5ef0e58194: Pulling fs layer [2021-01-11T07:56:15.579Z] 9712f1f96733: Pulling fs layer [2021-01-11T07:56:15.579Z] 63f879dbbcfc: Pulling fs layer [2021-01-11T07:56:15.579Z] 0d9ebad4ef96: Pulling fs layer [2021-01-11T07:56:15.579Z] e9a5061849ea: Pulling fs layer [2021-01-11T07:56:15.579Z] d747dcd14b5f: Pulling fs layer [2021-01-11T07:56:15.579Z] 2de7ff778b66: Pulling fs layer [2021-01-11T07:56:15.579Z] e9a5061849ea: Waiting [2021-01-11T07:56:15.579Z] d747dcd14b5f: Waiting [2021-01-11T07:56:15.579Z] 2de7ff778b66: Waiting [2021-01-11T07:56:15.579Z] 0d9ebad4ef96: Waiting [2021-01-11T07:56:15.579Z] 9712f1f96733: Download complete [2021-01-11T07:56:17.512Z] 63f879dbbcfc: Verifying Checksum [2021-01-11T07:56:17.512Z] 63f879dbbcfc: Download complete [2021-01-11T07:56:17.787Z] e9a5061849ea: Verifying Checksum [2021-01-11T07:56:17.787Z] e9a5061849ea: Download complete [2021-01-11T07:56:17.787Z] d747dcd14b5f: Verifying Checksum [2021-01-11T07:56:17.787Z] d747dcd14b5f: Download complete [2021-01-11T07:56:18.058Z] 0d9ebad4ef96: Verifying Checksum [2021-01-11T07:56:18.058Z] 0d9ebad4ef96: Download complete [2021-01-11T07:56:18.058Z] 2de7ff778b66: Verifying Checksum [2021-01-11T07:56:18.058Z] 2de7ff778b66: Download complete [2021-01-11T07:56:18.330Z] ab5ef0e58194: Verifying Checksum [2021-01-11T07:56:18.330Z] ab5ef0e58194: Download complete [2021-01-11T07:56:22.730Z] ab5ef0e58194: Pull complete [2021-01-11T07:56:22.730Z] 9712f1f96733: Pull complete [2021-01-11T07:56:26.054Z] 63f879dbbcfc: Pull complete [2021-01-11T07:56:32.694Z] 0d9ebad4ef96: Pull complete [2021-01-11T07:56:33.648Z] e9a5061849ea: Pull complete [2021-01-11T07:56:33.648Z] d747dcd14b5f: Pull complete [2021-01-11T07:56:36.221Z] 2de7ff778b66: Pull complete [2021-01-11T07:56:36.221Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-11T07:56:36.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-11T07:56:36.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-11T07:56:36.436Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:56:36.487Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-11T07:56:40.783Z] $ docker top 0c6dec1ccae7fb8702a41020332c940c7e71d724a50166daf041d625e95e2576 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-11T07:56:41.047Z] provisioning config files... [2021-01-11T07:56:41.062Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config867059916640888555tmp [2021-01-11T07:56:41.080Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6846675535650980941tmp [2021-01-11T07:56:41.098Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3516017982012703098tmp [Pipeline] { [Pipeline] echo [2021-01-11T07:56:41.153Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:56:41.457Z] ---> sigul-configuration.sh [2021-01-11T07:56:41.457Z] gpg: directory `/root/.gnupg' created [2021-01-11T07:56:41.457Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-11T07:56:41.457Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-11T07:56:41.457Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-11T07:56:41.457Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-11T07:56:41.457Z] gpg: CAST5 encrypted data [2021-01-11T07:56:41.721Z] gpg: encrypted with 1 passphrase [2021-01-11T07:56:41.721Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-11T07:56:42.031Z] + mkdir /home/jenkins [2021-01-11T07:56:42.032Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-11T07:56:42.333Z] + 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 [2021-01-11T07:56:42.345Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:56:42.643Z] ---> sigul-install.sh [2021-01-11T07:56:47.963Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-11T07:56:48.267Z] + git tag --list [2021-01-11T07:56:48.267Z] 0.7.1 [2021-01-11T07:56:48.267Z] v1.0.0 [2021-01-11T07:56:48.267Z] v1.1.0 [2021-01-11T07:56:48.267Z] v1.1.1 [2021-01-11T07:56:48.267Z] v1.2.1 [2021-01-11T07:56:48.267Z] v1.2.2 [2021-01-11T07:56:48.267Z] v1.2.2-dev.1 [2021-01-11T07:56:48.267Z] v1.2.2-dev.2 [2021-01-11T07:56:48.267Z] v1.2.2-dev.3 [2021-01-11T07:56:48.267Z] v1.2.3-dev.1 [2021-01-11T07:56:48.267Z] v1.2.3-dev.2 [2021-01-11T07:56:48.267Z] v1.2.3-dev.3 [2021-01-11T07:56:48.267Z] v1.2.3-dev.4 [2021-01-11T07:56:48.267Z] v1.2.3-dev.5 [2021-01-11T07:56:48.267Z] v1.2.3-dev.6 [2021-01-11T07:56:48.267Z] v1.2.3-dev.7 [2021-01-11T07:56:48.267Z] v1.2.3-dev.8 [2021-01-11T07:56:48.267Z] v1.2.3-dev.9 [2021-01-11T07:56:48.267Z] v1.3.0 [2021-01-11T07:56:48.267Z] v1.3.1-dev.1 [2021-01-11T07:56:48.267Z] v1.3.1-dev.2 [2021-01-11T07:56:48.267Z] v1.3.1-dev.3 [2021-01-11T07:56:48.267Z] v1.3.1-dev.4 [2021-01-11T07:56:48.267Z] v1.3.1-dev.5 [2021-01-11T07:56:48.267Z] v1.3.1-dev.6 [2021-01-11T07:56:48.267Z] v1.3.1-dev.7 [Pipeline] sh [2021-01-11T07:56:48.566Z] + lftools sign git-tag v1.3.1-dev.7 [2021-01-11T07:56:49.964Z] Signing Git tag with Sigul... [2021-01-11T07:56:49.964Z] Signing v1.3.1-dev.7 [Pipeline] echo [2021-01-11T07:56:51.376Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:56:51.674Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-11T07:56:51.683Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-11T07:56:51.784Z] $ docker stop --time=1 0c6dec1ccae7fb8702a41020332c940c7e71d724a50166daf041d625e95e2576 [2021-01-11T07:56:53.829Z] $ docker rm -f 0c6dec1ccae7fb8702a41020332c940c7e71d724a50166daf041d625e95e2576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:56:54.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:56:54.842Z] . [Pipeline] withDockerContainer [2021-01-11T07:56:54.949Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:56:54.999Z] $ 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 [2021-01-11T07:56:55.858Z] $ docker top b753222597aa4aedbbb0c4767ce9e69a6e7bbabe07d391ca85e75e12fe53a9a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T07:56:56.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:56:56.213Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:56:56.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:56:56.474Z] $ docker exec b753222597aa4aedbbb0c4767ce9e69a6e7bbabe07d391ca85e75e12fe53a9a0 ssh-agent [2021-01-11T07:56:56.662Z] SSH_AUTH_SOCK=/tmp/ssh-jgdrjUg7ALe0/agent.12 [2021-01-11T07:56:56.662Z] SSH_AGENT_PID=17 [2021-01-11T07:56:56.670Z] Running ssh-add (command line suppressed) [2021-01-11T07:56:56.818Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7019149958205152281.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7019149958205152281.key) [2021-01-11T07:56:56.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:56:57.247Z] + git semver bump pre [2021-01-11T07:56:57.247Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T07:56:57.247Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-11T07:56:57.247Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-11T07:56:57.247Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T07:56:57.247Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T07:56:57.247Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T07:56:57.247Z] # $SEMVER_BRANCH = master [2021-01-11T07:56:57.247Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-01-11T07:56:57.247Z] 1.3.1-dev.8 [Pipeline] } [2021-01-11T07:56:57.262Z] $ docker exec --env ******** --env ******** b753222597aa4aedbbb0c4767ce9e69a6e7bbabe07d391ca85e75e12fe53a9a0 ssh-agent -k [2021-01-11T07:56:57.406Z] unset SSH_AUTH_SOCK; [2021-01-11T07:56:57.407Z] unset SSH_AGENT_PID; [2021-01-11T07:56:57.407Z] echo Agent pid 17 killed; [2021-01-11T07:56:57.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T07:56:57.934Z] + git semver [Pipeline] } [2021-01-11T07:56:57.953Z] $ docker stop --time=1 b753222597aa4aedbbb0c4767ce9e69a6e7bbabe07d391ca85e75e12fe53a9a0 [2021-01-11T07:56:59.364Z] $ docker rm -f b753222597aa4aedbbb0c4767ce9e69a6e7bbabe07d391ca85e75e12fe53a9a0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:56:59.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:56:59.886Z] . [Pipeline] withDockerContainer [2021-01-11T07:56:59.988Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:57:00.041Z] $ 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 [2021-01-11T07:57:00.723Z] $ docker top 05e967b37460517f57f405bdedf10f86bd47e067fd17084be71946931f222720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T07:57:01.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:57:01.042Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:57:01.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:57:01.231Z] $ docker exec 05e967b37460517f57f405bdedf10f86bd47e067fd17084be71946931f222720 ssh-agent [2021-01-11T07:57:01.436Z] SSH_AUTH_SOCK=/tmp/ssh-qy3LGn4tiTk7/agent.12 [2021-01-11T07:57:01.436Z] SSH_AGENT_PID=18 [2021-01-11T07:57:01.443Z] Running ssh-add (command line suppressed) [2021-01-11T07:57:01.596Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1996066294760925212.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1996066294760925212.key) [2021-01-11T07:57:01.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:57:02.005Z] + git semver push [2021-01-11T07:57:02.005Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T07:57:02.005Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-11T07:57:02.005Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-11T07:57:02.005Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T07:57:02.005Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T07:57:02.005Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T07:57:02.005Z] # $SEMVER_BRANCH = master [2021-01-11T07:57:02.005Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-01-11T07:57:08.644Z] $ docker exec --env ******** --env ******** 05e967b37460517f57f405bdedf10f86bd47e067fd17084be71946931f222720 ssh-agent -k [2021-01-11T07:57:08.812Z] unset SSH_AUTH_SOCK; [2021-01-11T07:57:08.813Z] unset SSH_AGENT_PID; [2021-01-11T07:57:08.813Z] echo Agent pid 18 killed; [2021-01-11T07:57:08.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T07:57:09.365Z] + git semver [Pipeline] } [2021-01-11T07:57:09.384Z] $ docker stop --time=1 05e967b37460517f57f405bdedf10f86bd47e067fd17084be71946931f222720 [2021-01-11T07:57:10.756Z] $ docker rm -f 05e967b37460517f57f405bdedf10f86bd47e067fd17084be71946931f222720 [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 [2021-01-11T07:57:12.535Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:13.106Z] ---> package-listing.sh [2021-01-11T07:57:13.106Z] ++ facter osfamily [2021-01-11T07:57:13.106Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T07:57:13.106Z] + OS_FAMILY=redhat [2021-01-11T07:57:13.106Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-01-11T07:57:13.106Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T07:57:13.106Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T07:57:13.106Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T07:57:13.106Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T07:57:13.106Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-01-11T07:57:13.106Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T07:57:13.106Z] + case "${OS_FAMILY}" in [2021-01-11T07:57:13.106Z] + rpm -qa [2021-01-11T07:57:13.106Z] + sort [2021-01-11T07:57:18.420Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T07:57:18.420Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T07:57:18.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T07:57:18.420Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-01-11T07:57:18.420Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-01-11T07:57:18.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-01-11T07:57:18.434Z] 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 [2021-01-11T07:57:18.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:57:19.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:57:19.034Z] [2021-01-11T07:57:19.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:57:19.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:57:19.378Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T07:57:19.378Z] df20fa9351a1: Pulling fs layer [2021-01-11T07:57:19.378Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T07:57:19.378Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T07:57:19.378Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T07:57:19.378Z] 93b61091891f: Pulling fs layer [2021-01-11T07:57:19.378Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T07:57:19.378Z] 5e14af77c1be: Pulling fs layer [2021-01-11T07:57:19.378Z] 01666e4c0597: Pulling fs layer [2021-01-11T07:57:19.378Z] aa168da1d23b: Pulling fs layer [2021-01-11T07:57:19.378Z] 93b61091891f: Waiting [2021-01-11T07:57:19.378Z] 46f8f816bc3b: Waiting [2021-01-11T07:57:19.378Z] 5e14af77c1be: Waiting [2021-01-11T07:57:19.378Z] 01666e4c0597: Waiting [2021-01-11T07:57:19.378Z] 93b9cdb0e59b: Waiting [2021-01-11T07:57:19.378Z] aa168da1d23b: Waiting [2021-01-11T07:57:19.378Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T07:57:19.378Z] 36b3adc4ff6f: Download complete [2021-01-11T07:57:19.378Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T07:57:19.378Z] 46f8f816bc3b: Download complete [2021-01-11T07:57:19.378Z] df20fa9351a1: Verifying Checksum [2021-01-11T07:57:19.378Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T07:57:19.378Z] 93b9cdb0e59b: Download complete [2021-01-11T07:57:19.644Z] 5e14af77c1be: Verifying Checksum [2021-01-11T07:57:19.644Z] 5e14af77c1be: Download complete [2021-01-11T07:57:19.644Z] 93b61091891f: Download complete [2021-01-11T07:57:19.644Z] 01666e4c0597: Verifying Checksum [2021-01-11T07:57:19.644Z] 01666e4c0597: Download complete [2021-01-11T07:57:19.644Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T07:57:19.644Z] 8ad3a11d3b57: Download complete [2021-01-11T07:57:20.220Z] df20fa9351a1: Pull complete [2021-01-11T07:57:20.800Z] 36b3adc4ff6f: Pull complete [2021-01-11T07:57:21.748Z] aa168da1d23b: Verifying Checksum [2021-01-11T07:57:21.748Z] aa168da1d23b: Download complete [2021-01-11T07:57:22.324Z] 8ad3a11d3b57: Pull complete [2021-01-11T07:57:22.586Z] 46f8f816bc3b: Pull complete [2021-01-11T07:57:22.852Z] 93b61091891f: Pull complete [2021-01-11T07:57:23.114Z] 93b9cdb0e59b: Pull complete [2021-01-11T07:57:23.114Z] 5e14af77c1be: Pull complete [2021-01-11T07:57:23.375Z] 01666e4c0597: Pull complete [2021-01-11T07:57:29.986Z] aa168da1d23b: Pull complete [2021-01-11T07:57:29.986Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T07:57:29.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:57:29.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T07:57:30.126Z] prd-centos7-docker-4c-2g-19460 does not seem to be running inside a container [2021-01-11T07:57:30.177Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-11T07:57:32.889Z] $ docker top ddcf328c94fc3349e1c2e50e53a40627c6ca636df71c4c1efeab45b6a9f0da4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:57:33.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T07:57:33.792Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T07:57:34.099Z] + ls /var/log/sa-host [2021-01-11T07:57:34.099Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T07:57:34.099Z] file_magic: OK [2021-01-11T07:57:34.099Z] HZ: Using current value: 100 [2021-01-11T07:57:34.099Z] file_header: OK [2021-01-11T07:57:34.099Z] 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 [2021-01-11T07:57:34.099Z] Statistics: [2021-01-11T07:57:34.099Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T07:57:34.099Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T07:57:34.099Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T07:57:34.099Z] file_magic: OK [2021-01-11T07:57:34.099Z] HZ: Using current value: 100 [2021-01-11T07:57:34.099Z] file_header: OK [2021-01-11T07:57:34.099Z] 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 [2021-01-11T07:57:34.099Z] Statistics: [2021-01-11T07:57:34.099Z] Hnuu...uuuununununu... [2021-01-11T07:57:34.099Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T07:57:34.710Z] provisioning config files... [2021-01-11T07:57:34.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4028658339619075940tmp [Pipeline] { [Pipeline] echo [2021-01-11T07:57:34.795Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:35.093Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T07:57:35.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T07:57:35.239Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:35.538Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T07:57:35.550Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:35.850Z] ---> sudo-logs.sh [2021-01-11T07:57:35.850Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T07:57:35.861Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:36.157Z] ---> job-cost.sh [2021-01-11T07:57:36.157Z] lf-activate-venv: SKIPPING [2021-01-11T07:57:36.157Z] INFO: No Stack... [2021-01-11T07:57:37.106Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T07:57:37.678Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T07:57:37.693Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:57:37.996Z] ---> logs-deploy.sh [2021-01-11T07:57:37.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/35 [2021-01-11T07:57:37.996Z] INFO: archiving workspace using pattern(s): [2021-01-11T07:57:39.917Z] Archives upload complete. [2021-01-11T07:57:39.917Z] INFO: archiving logs to Nexus