Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12264 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (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 --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 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 Commit message: "Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T16:23:21.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T16:23:21.750Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T16:23:21.843Z] ========================================================= [2020-11-16T16:23:21.843Z] EdgeX Global Pipelines Version Info [2020-11-16T16:23:21.843Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:23:23.299Z] ------------------- [2020-11-16T16:23:23.299Z] stable info: [2020-11-16T16:23:23.300Z] ------------------- [2020-11-16T16:23:23.300Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:23:23.300Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T16:23:23.300Z] Message: update stable to v1.0.162 [2020-11-16T16:23:24.244Z] ------------------- [2020-11-16T16:23:24.245Z] experimental info: [2020-11-16T16:23:24.245Z] ------------------- [2020-11-16T16:23:24.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:23:24.245Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T16:23:24.245Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T16:23:24.578Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-11-16T16:23:24.665Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-11-16T16:23:24.756Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T16:23:24.843Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T16:23:24.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T16:23:25.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T16:23:25.105Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T16:23:25.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T16:23:25.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T16:23:25.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T16:23:25.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T16:23:25.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-11-16T16:23:25.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T16:23:25.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T16:23:25.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:23:26.079Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:23:26.169Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:23:26.291Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:23:26.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T16:23:26.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-16T16:23:26.614Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T16:23:26.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T16:23:26.807Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T16:23:26.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T16:23:27.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T16:23:27.112Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T16:23:27.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-16T16:23:27.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-16T16:23:27.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-16T16:23:27.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] echo [2020-11-16T16:23:27.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d28ba3 [Pipeline] echo [2020-11-16T16:23:27.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:23:27.878Z] provisioning config files... [2020-11-16T16:23:27.911Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config510182845139462300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:23:28.295Z] ---> docker-login.sh [2020-11-16T16:23:28.295Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:23:28.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:28.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:28.831Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:28.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:28.831Z] [2020-11-16T16:23:28.831Z] Login Succeeded [2020-11-16T16:23:28.831Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:23:28.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:29.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:29.093Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:29.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:29.093Z] [2020-11-16T16:23:29.093Z] Login Succeeded [2020-11-16T16:23:29.093Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:23:29.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:29.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:29.093Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:29.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:29.093Z] [2020-11-16T16:23:29.093Z] Login Succeeded [2020-11-16T16:23:29.093Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:23:29.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:29.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:29.362Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:29.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:29.362Z] [2020-11-16T16:23:29.362Z] Login Succeeded [2020-11-16T16:23:29.362Z] docker.io [2020-11-16T16:23:29.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:29.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:29.627Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:29.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:29.627Z] [2020-11-16T16:23:29.627Z] Login Succeeded [2020-11-16T16:23:29.627Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:23:29.638Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:23:30.429Z] + git log --format=format:%s -1 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] echo [2020-11-16T16:23:30.536Z] GIT_COMMIT: 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b, Commit Message: Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo [2020-11-16T16:23:30.602Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:31.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:23:31.229Z] [2020-11-16T16:23:31.229Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:31.593Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:23:31.593Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T16:23:31.593Z] 31603596830f: Pulling fs layer [2020-11-16T16:23:31.593Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T16:23:31.593Z] 6ca5941a6612: Pulling fs layer [2020-11-16T16:23:31.593Z] ecc8261a40a4: Pulling fs layer [2020-11-16T16:23:31.593Z] ecc8261a40a4: Waiting [2020-11-16T16:23:31.593Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T16:23:31.593Z] 2a8b12db71e7: Download complete [2020-11-16T16:23:31.856Z] 31603596830f: Verifying Checksum [2020-11-16T16:23:31.856Z] 31603596830f: Download complete [2020-11-16T16:23:31.856Z] ecc8261a40a4: Verifying Checksum [2020-11-16T16:23:31.856Z] ecc8261a40a4: Download complete [2020-11-16T16:23:31.856Z] 6ca5941a6612: Verifying Checksum [2020-11-16T16:23:31.856Z] 6ca5941a6612: Download complete [2020-11-16T16:23:32.119Z] 31603596830f: Pull complete [2020-11-16T16:23:32.383Z] 2a8b12db71e7: Pull complete [2020-11-16T16:23:33.348Z] 6ca5941a6612: Pull complete [2020-11-16T16:23:33.612Z] ecc8261a40a4: Pull complete [2020-11-16T16:23:33.612Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T16:23:33.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:23:33.612Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T16:23:33.728Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:23:33.811Z] $ 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 [2020-11-16T16:23:36.275Z] $ docker top 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:23:36.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:23:36.733Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:23:36.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:23:36.980Z] $ docker exec 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d ssh-agent [2020-11-16T16:23:37.160Z] SSH_AUTH_SOCK=/tmp/ssh-4J8MJfXwjZ6x/agent.11 [2020-11-16T16:23:37.160Z] SSH_AGENT_PID=16 [2020-11-16T16:23:37.181Z] Running ssh-add (command line suppressed) [2020-11-16T16:23:37.311Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6733977214207845816.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6733977214207845816.key) [2020-11-16T16:23:37.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:23:37.719Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T16:23:37.746Z] $ docker exec --env ******** --env ******** 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d ssh-agent -k [2020-11-16T16:23:37.865Z] unset SSH_AUTH_SOCK; [2020-11-16T16:23:37.865Z] unset SSH_AGENT_PID; [2020-11-16T16:23:37.866Z] echo Agent pid 16 killed; [2020-11-16T16:23:37.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T16:23:38.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:23:38.074Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:23:38.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:23:38.249Z] $ docker exec 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d ssh-agent [2020-11-16T16:23:38.418Z] SSH_AUTH_SOCK=/tmp/ssh-HlhwPcvsQ382/agent.45 [2020-11-16T16:23:38.418Z] SSH_AGENT_PID=51 [2020-11-16T16:23:38.425Z] Running ssh-add (command line suppressed) [2020-11-16T16:23:38.562Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2090383871478633619.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2090383871478633619.key) [2020-11-16T16:23:38.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:23:38.953Z] + git semver init [2020-11-16T16:23:38.953Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:23:38.953Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-11-16T16:23:38.953Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-11-16T16:23:38.953Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:23:38.953Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:23:38.953Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:23:38.953Z] # $SEMVER_BRANCH = master [2020-11-16T16:23:38.953Z] # $SEMVER_TEMP = /tmp/semver-519063656 [2020-11-16T16:23:38.953Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-11-16T16:23:39.215Z] # '/tmp/semver-519063656' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2020-11-16T16:23:39.215Z] # -> Force: false [2020-11-16T16:23:39.215Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-11-16T16:23:39.230Z] $ docker exec --env ******** --env ******** 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d ssh-agent -k [2020-11-16T16:23:39.351Z] unset SSH_AUTH_SOCK; [2020-11-16T16:23:39.352Z] unset SSH_AGENT_PID; [2020-11-16T16:23:39.352Z] echo Agent pid 51 killed; [2020-11-16T16:23:39.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:23:39.880Z] + git semver [Pipeline] } [2020-11-16T16:23:39.900Z] $ docker stop --time=1 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d [2020-11-16T16:23:41.299Z] $ docker rm -f 813fefddafcfb3bef67078efe01d2441ba7551aa8d3494c16e5a3205206ab19d [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:23:41.769Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T16:23:42.271Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T16:23:42.274Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.9 [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 [2020-11-16T16:23:57.747Z] Still waiting to schedule task [2020-11-16T16:23:57.747Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-12267’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-12265’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-16T16:23:57.749Z] Still waiting to schedule task [2020-11-16T16:23:57.749Z] ‘prd-centos7-docker-4c-2g-12266’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-12267’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-12265’ is offline [2020-11-16T16:25:36.531Z] Running on prd-centos7-docker-4c-2g-12274 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:25:36.584Z] Running in /w/workspace/device-modbus-go/27 [Pipeline] { [Pipeline] checkout [2020-11-16T16:25:40.315Z] using credential edgex-jenkins-ssh [2020-11-16T16:25:40.394Z] Cloning the remote Git repository [2020-11-16T16:25:40.421Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:25:40.485Z] > git init /w/workspace/device-modbus-go/27 # timeout=10 [2020-11-16T16:25:40.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:25:40.537Z] > git --version # timeout=10 [2020-11-16T16:25:40.545Z] > git --version # 'git version 2.16.5' [2020-11-16T16:25:40.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:40.573Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:41.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T16:25:41.278Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:25:41.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T16:25:41.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:25:41.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:25:41.309Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:25:41.691Z] Checking out Revision 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (master) [2020-11-16T16:25:41.702Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:25:41.707Z] > git checkout -f 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-16T16:25:45.428Z] Commit message: "Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:25:46.223Z] provisioning config files... [2020-11-16T16:25:46.256Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config9076086014842267253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:25:46.976Z] ---> docker-login.sh [2020-11-16T16:25:46.976Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:25:47.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:47.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:47.251Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:47.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:47.251Z] [2020-11-16T16:25:47.251Z] Login Succeeded [2020-11-16T16:25:47.251Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:25:47.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:47.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:47.514Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:47.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:47.514Z] [2020-11-16T16:25:47.514Z] Login Succeeded [2020-11-16T16:25:47.514Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:25:47.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:47.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:47.777Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:47.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:47.777Z] [2020-11-16T16:25:47.777Z] Login Succeeded [2020-11-16T16:25:47.777Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:25:47.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:47.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:47.777Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:47.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:47.777Z] [2020-11-16T16:25:47.777Z] Login Succeeded [2020-11-16T16:25:47.777Z] docker.io [2020-11-16T16:25:48.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:25:48.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:25:48.310Z] Configure a credential helper to remove this warning. See [2020-11-16T16:25:48.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:25:48.310Z] [2020-11-16T16:25:48.310Z] Login Succeeded [2020-11-16T16:25:48.310Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:25:48.351Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:25:48.712Z] ========================================================= [2020-11-16T16:25:48.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T16:25:48.712Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:49.066Z] + 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 . [2020-11-16T16:25:49.340Z] Sending build context to Docker daemon 495.1kB [2020-11-16T16:25:49.340Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:25:49.340Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:25:49.340Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T16:25:49.340Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:25:49.340Z] ed8968b2872e: Pulling fs layer [2020-11-16T16:25:49.340Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T16:25:49.340Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T16:25:49.340Z] e73272ec9a57: Pulling fs layer [2020-11-16T16:25:49.340Z] 1e910a182e73: Pulling fs layer [2020-11-16T16:25:49.340Z] 4e634b169226: Pulling fs layer [2020-11-16T16:25:49.340Z] 1e910a182e73: Waiting [2020-11-16T16:25:49.340Z] e871e8e8d7a9: Waiting [2020-11-16T16:25:49.340Z] e73272ec9a57: Waiting [2020-11-16T16:25:49.340Z] 4e634b169226: Waiting [2020-11-16T16:25:49.340Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T16:25:49.340Z] a92cc7c5fd73: Download complete [2020-11-16T16:25:49.340Z] ed8968b2872e: Verifying Checksum [2020-11-16T16:25:49.340Z] ed8968b2872e: Download complete [2020-11-16T16:25:49.340Z] e73272ec9a57: Verifying Checksum [2020-11-16T16:25:49.340Z] e73272ec9a57: Download complete [2020-11-16T16:25:49.340Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:25:49.340Z] df20fa9351a1: Download complete [2020-11-16T16:25:49.340Z] 1e910a182e73: Verifying Checksum [2020-11-16T16:25:49.340Z] 1e910a182e73: Download complete [2020-11-16T16:25:49.605Z] df20fa9351a1: Pull complete [2020-11-16T16:25:49.877Z] ed8968b2872e: Pull complete [2020-11-16T16:25:50.153Z] a92cc7c5fd73: Pull complete [2020-11-16T16:25:51.115Z] 4e634b169226: Verifying Checksum [2020-11-16T16:25:51.115Z] 4e634b169226: Download complete [2020-11-16T16:25:53.061Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T16:25:53.061Z] e871e8e8d7a9: Download complete [2020-11-16T16:25:58.396Z] e871e8e8d7a9: Pull complete [2020-11-16T16:25:58.396Z] e73272ec9a57: Pull complete [2020-11-16T16:25:58.396Z] 1e910a182e73: Pull complete [2020-11-16T16:26:06.609Z] 4e634b169226: Pull complete [2020-11-16T16:26:06.609Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T16:26:06.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T16:26:06.609Z] ---> f7629b54cfaa [2020-11-16T16:26:06.609Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:26:06.609Z] ---> Running in f0338a138134 [2020-11-16T16:26:06.877Z] Removing intermediate container f0338a138134 [2020-11-16T16:26:06.877Z] ---> 7151949d91d7 [2020-11-16T16:26:06.877Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:26:06.877Z] ---> Running in 23228232692f [2020-11-16T16:26:08.277Z] Removing intermediate container 23228232692f [2020-11-16T16:26:08.277Z] ---> d26b50f5708b [2020-11-16T16:26:08.277Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:26:08.277Z] ---> Running in 5f8f9dd6cca7 [2020-11-16T16:26:09.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:26:09.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:26:10.386Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:26:10.649Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:26:10.649Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:26:10.913Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:26:29.076Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:26:29.076Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:26:29.076Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:26:29.076Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:26:29.076Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:26:29.076Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:26:29.076Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:26:29.076Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:26:29.076Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:26:29.076Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:26:29.076Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:26:29.076Z] OK: 237 MiB in 53 packages [2020-11-16T16:26:32.408Z] Removing intermediate container 5f8f9dd6cca7 [2020-11-16T16:26:32.408Z] ---> 982daba32bc1 [2020-11-16T16:26:32.408Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-16T16:26:32.408Z] ---> Running in 784a9fbe9775 [2020-11-16T16:26:32.408Z] Removing intermediate container 784a9fbe9775 [2020-11-16T16:26:32.408Z] ---> 2ac3a578a2ce [2020-11-16T16:26:32.408Z] Step 7/8 : COPY . . [2020-11-16T16:26:32.996Z] ---> 238659466171 [2020-11-16T16:26:32.996Z] Step 8/8 : RUN go mod download [2020-11-16T16:26:32.996Z] ---> Running in af55972b7277 [2020-11-16T16:26:43.597Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12277 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:26:43.646Z] Running in /w/workspace/device-modbus-go/27 [Pipeline] { [Pipeline] checkout [2020-11-16T16:26:48.905Z] using credential edgex-jenkins-ssh [2020-11-16T16:26:48.975Z] Cloning the remote Git repository [2020-11-16T16:26:49.037Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:26:49.161Z] > git init /w/workspace/device-modbus-go/27 # timeout=10 [2020-11-16T16:26:49.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:26:49.238Z] > git --version # timeout=10 [2020-11-16T16:26:49.270Z] > git --version # 'git version 2.17.1' [2020-11-16T16:26:49.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:26:49.368Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:26:50.707Z] Checking out Revision 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (master) [2020-11-16T16:26:50.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T16:26:50.190Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:26:50.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T16:26:50.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T16:26:50.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:26:50.270Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:26:50.734Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:26:50.750Z] > git checkout -f 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-16T16:26:55.023Z] Removing intermediate container af55972b7277 [2020-11-16T16:26:55.023Z] ---> e345f57c6dd4 [2020-11-16T16:26:55.023Z] Successfully built e345f57c6dd4 [2020-11-16T16:26:55.023Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:55.096Z] Commit message: "Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [2020-11-16T16:26:55.341Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:26:55.341Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:55.454Z] prd-centos7-docker-4c-2g-12274 does not seem to be running inside a container [2020-11-16T16:26:55.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:26:56.299Z] $ docker top 7af5fa368a7531173c16e3a5f14415ef417026a0915bc74b23b3bd444fdae84e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-11-16T16:26:56.863Z] + go version [2020-11-16T16:26:56.863Z] go version go1.15.2 linux/amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] } [2020-11-16T16:26:56.894Z] $ docker stop --time=1 7af5fa368a7531173c16e3a5f14415ef417026a0915bc74b23b3bd444fdae84e [2020-11-16T16:26:58.312Z] $ docker rm -f 7af5fa368a7531173c16e3a5f14415ef417026a0915bc74b23b3bd444fdae84e [Pipeline] wrap [2020-11-16T16:26:58.476Z] provisioning config files... [Pipeline] // withDockerContainer [Pipeline] } [2020-11-16T16:26:58.519Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config4657916132569734894tmp [Pipeline] // script [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:59.640Z] ---> docker-login.sh [2020-11-16T16:26:59.641Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:26:59.808Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:26:59.808Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:59.907Z] prd-centos7-docker-4c-2g-12274 does not seem to be running inside a container [2020-11-16T16:26:59.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:27:00.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:00.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:00.555Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:00.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:00.555Z] [2020-11-16T16:27:00.555Z] Login Succeeded [2020-11-16T16:27:00.624Z] $ docker top e4d2c2707de8ba8a7b232095e299279e963bd96b2d7e48d2dbb1f968d655b269 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:27:00.836Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:27:01.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:01.126Z] + make test [2020-11-16T16:27:01.126Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:27:01.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:01.394Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:01.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:01.394Z] [2020-11-16T16:27:01.394Z] Login Succeeded [2020-11-16T16:27:01.394Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:27:01.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:01.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:01.738Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:01.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:01.738Z] [2020-11-16T16:27:01.738Z] Login Succeeded [2020-11-16T16:27:01.738Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:27:02.084Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-16T16:27:02.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:02.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:02.360Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:02.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:02.360Z] [2020-11-16T16:27:02.360Z] Login Succeeded [2020-11-16T16:27:02.360Z] docker.io [2020-11-16T16:27:02.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:03.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:03.232Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:03.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:03.232Z] [2020-11-16T16:27:03.232Z] Login Succeeded [2020-11-16T16:27:03.232Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:27:03.309Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:27:03.774Z] ========================================================= [2020-11-16T16:27:03.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T16:27:03.774Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:04.154Z] + 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 . [2020-11-16T16:27:04.425Z] Sending build context to Docker daemon 495.1kB [2020-11-16T16:27:04.425Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:27:04.425Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:27:04.702Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T16:27:04.702Z] b538f80385f9: Pulling fs layer [2020-11-16T16:27:04.702Z] 74f711af9a0d: Pulling fs layer [2020-11-16T16:27:04.702Z] 99f96fe45779: Pulling fs layer [2020-11-16T16:27:04.702Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T16:27:04.702Z] 45590311c82a: Pulling fs layer [2020-11-16T16:27:04.702Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T16:27:04.702Z] 209524e5b208: Pulling fs layer [2020-11-16T16:27:04.702Z] 8529a6b9a6be: Waiting [2020-11-16T16:27:04.702Z] 45590311c82a: Waiting [2020-11-16T16:27:04.702Z] 69ca0ff8b7b3: Waiting [2020-11-16T16:27:04.702Z] 209524e5b208: Waiting [2020-11-16T16:27:04.702Z] 99f96fe45779: Download complete [2020-11-16T16:27:04.702Z] 74f711af9a0d: Verifying Checksum [2020-11-16T16:27:04.702Z] 74f711af9a0d: Download complete [2020-11-16T16:27:04.702Z] 45590311c82a: Verifying Checksum [2020-11-16T16:27:04.702Z] 45590311c82a: Download complete [2020-11-16T16:27:04.702Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T16:27:04.702Z] 69ca0ff8b7b3: Download complete [2020-11-16T16:27:04.702Z] b538f80385f9: Verifying Checksum [2020-11-16T16:27:04.702Z] b538f80385f9: Download complete [2020-11-16T16:27:05.308Z] b538f80385f9: Pull complete [2020-11-16T16:27:05.913Z] 74f711af9a0d: Pull complete [2020-11-16T16:27:06.198Z] 99f96fe45779: Pull complete [2020-11-16T16:27:07.182Z] 209524e5b208: Verifying Checksum [2020-11-16T16:27:07.182Z] 209524e5b208: Download complete [2020-11-16T16:27:09.160Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T16:27:09.160Z] 8529a6b9a6be: Download complete [2020-11-16T16:27:12.234Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-16T16:27:12.808Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.232s coverage: 50.3% of statements [2020-11-16T16:27:13.069Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:27:15.019Z] gofmt -l . [2020-11-16T16:27:15.282Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:27:15.282Z] ./bin/test-attribution-txt.sh [2020-11-16T16:27:15.857Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:27:16.137Z] $ docker stop --time=1 e4d2c2707de8ba8a7b232095e299279e963bd96b2d7e48d2dbb1f968d655b269 [2020-11-16T16:27:18.565Z] $ docker rm -f e4d2c2707de8ba8a7b232095e299279e963bd96b2d7e48d2dbb1f968d655b269 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:27:19.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:27:19.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-16T16:27:20.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:27:21.238Z] + ls -al . [2020-11-16T16:27:21.238Z] total 104 [2020-11-16T16:27:21.238Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 16 16:27 . [2020-11-16T16:27:21.238Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 16:25 .. [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 5589 Nov 16 16:25 Attribution.txt [2020-11-16T16:27:21.238Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 16 16:25 bin [2020-11-16T16:27:21.238Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:25 cmd [2020-11-16T16:27:21.238Z] -rw-r--r--. 1 jenkins jenkins 22364 Nov 16 16:27 coverage.out [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 1430 Nov 16 16:25 Dockerfile [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 954 Nov 16 16:25 Dockerfile.build [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 16 16:25 .dockerignore [2020-11-16T16:27:21.238Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 16:25 .git [2020-11-16T16:27:21.238Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 16:25 .github [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 338 Nov 16 16:25 .gitignore [2020-11-16T16:27:21.238Z] -rw-r--r--. 1 jenkins jenkins 517 Nov 16 16:27 go.mod [2020-11-16T16:27:21.238Z] -rw-r--r--. 1 jenkins jenkins 14643 Nov 16 16:27 go.sum [2020-11-16T16:27:21.238Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 16:25 internal [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 16 16:25 Jenkinsfile [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:25 LICENSE [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 16 16:25 Makefile [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 591 Nov 16 16:25 README.md [2020-11-16T16:27:21.238Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 16 16:25 simulator [2020-11-16T16:27:21.238Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 16:25 snap [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 16 16:23 VERSION [2020-11-16T16:27:21.238Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 16 16:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:21.552Z] + 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=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b --label arch=amd64 --label version=1.2.3-dev.9 . [2020-11-16T16:27:21.592Z] 8529a6b9a6be: Pull complete [2020-11-16T16:27:21.592Z] 45590311c82a: Pull complete [2020-11-16T16:27:21.592Z] 69ca0ff8b7b3: Pull complete [2020-11-16T16:27:21.814Z] Sending build context to Docker daemon 526.3kB [2020-11-16T16:27:21.814Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-16T16:27:21.814Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-16T16:27:21.814Z] ---> e345f57c6dd4 [2020-11-16T16:27:21.814Z] Step 3/20 : ARG MAKE='make build' [2020-11-16T16:27:22.081Z] ---> Running in 8f38d7e293cd [2020-11-16T16:27:22.081Z] Removing intermediate container 8f38d7e293cd [2020-11-16T16:27:22.081Z] ---> 87ec74d7169c [2020-11-16T16:27:22.081Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:27:22.081Z] ---> Running in 78ccd7565daa [2020-11-16T16:27:24.013Z] Removing intermediate container 78ccd7565daa [2020-11-16T16:27:24.013Z] ---> ee8ee4cba492 [2020-11-16T16:27:24.013Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:27:24.013Z] ---> Running in d95ecbcc4f20 [2020-11-16T16:27:24.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:27:24.233Z] 209524e5b208: Pull complete [2020-11-16T16:27:24.233Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T16:27:24.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T16:27:24.233Z] ---> 5bddaf1c2fca [2020-11-16T16:27:24.233Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:27:24.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:27:25.541Z] OK: 237 MiB in 53 packages [2020-11-16T16:27:26.116Z] Removing intermediate container d95ecbcc4f20 [2020-11-16T16:27:26.116Z] ---> bc98e17720f1 [2020-11-16T16:27:26.116Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-16T16:27:26.116Z] ---> Running in a348d3024e2b [2020-11-16T16:27:26.116Z] Removing intermediate container a348d3024e2b [2020-11-16T16:27:26.116Z] ---> f581feacf9a5 [2020-11-16T16:27:26.116Z] Step 7/20 : COPY . . [2020-11-16T16:27:26.869Z] ---> Running in 11e3c6e4ac2d [2020-11-16T16:27:27.069Z] ---> cba003178f56 [2020-11-16T16:27:27.069Z] Step 8/20 : RUN ${MAKE} [2020-11-16T16:27:27.069Z] ---> Running in f197aa3cef9a [2020-11-16T16:27:27.152Z] Removing intermediate container 11e3c6e4ac2d [2020-11-16T16:27:27.152Z] ---> d08f9172497d [2020-11-16T16:27:27.152Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:27:27.152Z] ---> Running in 85c352fc102d [2020-11-16T16:27:27.646Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.9" -o cmd/device-modbus ./cmd [2020-11-16T16:27:29.975Z] Removing intermediate container 85c352fc102d [2020-11-16T16:27:29.975Z] ---> 777676bde2f8 [2020-11-16T16:27:29.975Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:27:29.975Z] ---> Running in 79d9faea8371 [2020-11-16T16:27:31.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:27:32.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:27:33.014Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:27:33.284Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:27:33.554Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:27:33.554Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:27:36.284Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:27:39.604Z] Removing intermediate container f197aa3cef9a [2020-11-16T16:27:39.604Z] ---> 74a35d2e34d9 [2020-11-16T16:27:39.604Z] Step 9/20 : FROM scratch [2020-11-16T16:27:39.604Z] ---> [2020-11-16T16:27:39.604Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-16T16:27:39.604Z] ---> Running in f6a4d3e30005 [2020-11-16T16:27:39.604Z] Removing intermediate container f6a4d3e30005 [2020-11-16T16:27:39.604Z] ---> 967604d93e45 [2020-11-16T16:27:39.604Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-16T16:27:39.604Z] ---> Running in 6a488ff5c3a7 [2020-11-16T16:27:39.604Z] Removing intermediate container 6a488ff5c3a7 [2020-11-16T16:27:39.604Z] ---> 423789ef3bb2 [2020-11-16T16:27:39.604Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-16T16:27:39.867Z] ---> c2a2058e1daf [2020-11-16T16:27:39.867Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-16T16:27:40.129Z] ---> dfad2bb4a7bf [2020-11-16T16:27:40.129Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-16T16:27:40.248Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:27:40.248Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:27:40.248Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:27:40.248Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:27:40.248Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:27:40.248Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:27:40.248Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:27:40.248Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:27:40.248Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:27:40.248Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:27:40.392Z] ---> dcd4cc1f7232 [2020-11-16T16:27:40.392Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-16T16:27:40.392Z] ---> Running in 3070d74da4c0 [2020-11-16T16:27:40.521Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:27:40.521Z] OK: 221 MiB in 53 packages [2020-11-16T16:27:40.658Z] Removing intermediate container 3070d74da4c0 [2020-11-16T16:27:40.658Z] ---> 06287aa1c4f4 [2020-11-16T16:27:40.658Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-16T16:27:40.658Z] ---> Running in 2443ff9990bc [2020-11-16T16:27:40.922Z] Removing intermediate container 2443ff9990bc [2020-11-16T16:27:40.922Z] ---> 381b55b3314a [2020-11-16T16:27:40.922Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T16:27:40.922Z] ---> Running in 6e541894b041 [2020-11-16T16:27:40.922Z] Removing intermediate container 6e541894b041 [2020-11-16T16:27:40.922Z] ---> 42378adabb60 [2020-11-16T16:27:40.922Z] Step 18/20 : LABEL arch=amd64 [2020-11-16T16:27:41.185Z] ---> Running in ab30bbdcfcab [2020-11-16T16:27:41.185Z] Removing intermediate container ab30bbdcfcab [2020-11-16T16:27:41.185Z] ---> 31a8313154ff [2020-11-16T16:27:41.185Z] Step 19/20 : LABEL git_sha=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:27:41.448Z] ---> Running in 072e97dea900 [2020-11-16T16:27:41.448Z] Removing intermediate container 072e97dea900 [2020-11-16T16:27:41.448Z] ---> 034b1d19ddc3 [2020-11-16T16:27:41.448Z] Step 20/20 : LABEL version=1.2.3-dev.9 [2020-11-16T16:27:41.711Z] ---> Running in 377f1500758f [2020-11-16T16:27:41.711Z] Removing intermediate container 377f1500758f [2020-11-16T16:27:41.711Z] ---> 964a4df3144d [2020-11-16T16:27:41.711Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:27:41.711Z] Successfully built 964a4df3144d [2020-11-16T16:27:41.711Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:27:42.133Z] provisioning config files... [2020-11-16T16:27:42.166Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config7667001404481727451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:42.538Z] ---> docker-login.sh [2020-11-16T16:27:42.538Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:27:42.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:42.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:42.802Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:42.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:42.802Z] [2020-11-16T16:27:42.802Z] Login Succeeded [2020-11-16T16:27:42.802Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:27:42.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:42.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:42.802Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:42.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:42.802Z] [2020-11-16T16:27:42.802Z] Login Succeeded [2020-11-16T16:27:42.802Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:27:43.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:43.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:43.066Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:43.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:43.066Z] [2020-11-16T16:27:43.066Z] Login Succeeded [2020-11-16T16:27:43.066Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:27:43.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:43.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:43.329Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:43.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:43.329Z] [2020-11-16T16:27:43.329Z] Login Succeeded [2020-11-16T16:27:43.329Z] docker.io [2020-11-16T16:27:43.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:27:43.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:27:43.591Z] Configure a credential helper to remove this warning. See [2020-11-16T16:27:43.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:27:43.591Z] [2020-11-16T16:27:43.591Z] Login Succeeded [2020-11-16T16:27:43.591Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:27:43.604Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:27:43.817Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2020-11-16T16:27:43.817Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:27:43.817Z] latest [2020-11-16T16:27:43.817Z] 1.2.3-dev.9 [2020-11-16T16:27:43.817Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:27:43.817Z] master [2020-11-16T16:27:43.817Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:44.309Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:44.613Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:27:44.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-11-16T16:27:44.613Z] 58e113674afb: Preparing [2020-11-16T16:27:44.613Z] 8a934b8f49bc: Preparing [2020-11-16T16:27:44.613Z] bab6abb332bd: Preparing [2020-11-16T16:27:44.834Z] Removing intermediate container 79d9faea8371 [2020-11-16T16:27:44.835Z] ---> 399fabc50e01 [2020-11-16T16:27:44.835Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-16T16:27:44.835Z] ---> Running in 6ce723228c29 [2020-11-16T16:27:44.876Z] 58e113674afb: Pushed [2020-11-16T16:27:44.876Z] 8a934b8f49bc: Pushed [2020-11-16T16:27:45.109Z] Removing intermediate container 6ce723228c29 [2020-11-16T16:27:45.110Z] ---> a866e9c4ffd2 [2020-11-16T16:27:45.110Z] Step 7/8 : COPY . . [2020-11-16T16:27:45.824Z] bab6abb332bd: Pushed [2020-11-16T16:27:46.087Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b: digest: sha256:a67515c19f13359a4782151336b259075ba951837455812bad932c116901339f size: 944 [2020-11-16T16:27:46.092Z] ---> 7fa16916d4f1 [2020-11-16T16:27:46.092Z] Step 8/8 : RUN go mod download [2020-11-16T16:27:46.092Z] ---> Running in 9dac695c3c44 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:46.399Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:46.706Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-11-16T16:27:46.706Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-11-16T16:27:46.706Z] 58e113674afb: Preparing [2020-11-16T16:27:46.706Z] 8a934b8f49bc: Preparing [2020-11-16T16:27:46.706Z] bab6abb332bd: Preparing [2020-11-16T16:27:46.706Z] 58e113674afb: Layer already exists [2020-11-16T16:27:46.706Z] 8a934b8f49bc: Layer already exists [2020-11-16T16:27:46.706Z] bab6abb332bd: Layer already exists [2020-11-16T16:27:46.706Z] latest: digest: sha256:a67515c19f13359a4782151336b259075ba951837455812bad932c116901339f size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:47.017Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:47.328Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.9 [2020-11-16T16:27:47.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-11-16T16:27:47.328Z] 58e113674afb: Preparing [2020-11-16T16:27:47.328Z] 8a934b8f49bc: Preparing [2020-11-16T16:27:47.328Z] bab6abb332bd: Preparing [2020-11-16T16:27:47.328Z] 8a934b8f49bc: Layer already exists [2020-11-16T16:27:47.328Z] bab6abb332bd: Layer already exists [2020-11-16T16:27:47.328Z] 58e113674afb: Layer already exists [2020-11-16T16:27:47.328Z] 1.2.3-dev.9: digest: sha256:a67515c19f13359a4782151336b259075ba951837455812bad932c116901339f size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:47.642Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:47.949Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:27:47.950Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-11-16T16:27:47.950Z] 58e113674afb: Preparing [2020-11-16T16:27:47.950Z] 8a934b8f49bc: Preparing [2020-11-16T16:27:47.950Z] bab6abb332bd: Preparing [2020-11-16T16:27:47.950Z] bab6abb332bd: Layer already exists [2020-11-16T16:27:47.950Z] 58e113674afb: Layer already exists [2020-11-16T16:27:47.950Z] 8a934b8f49bc: Layer already exists [2020-11-16T16:27:47.950Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9: digest: sha256:a67515c19f13359a4782151336b259075ba951837455812bad932c116901339f size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:48.271Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:48.578Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2020-11-16T16:27:48.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-11-16T16:27:48.579Z] 58e113674afb: Preparing [2020-11-16T16:27:48.579Z] 8a934b8f49bc: Preparing [2020-11-16T16:27:48.579Z] bab6abb332bd: Preparing [2020-11-16T16:27:48.579Z] 58e113674afb: Layer already exists [2020-11-16T16:27:48.579Z] bab6abb332bd: Layer already exists [2020-11-16T16:27:48.579Z] 8a934b8f49bc: Layer already exists [2020-11-16T16:27:48.841Z] master: digest: sha256:a67515c19f13359a4782151336b259075ba951837455812bad932c116901339f size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:27:49.081Z] ===================================================== [Pipeline] echo [2020-11-16T16:27:49.130Z] taggedImages: [2020-11-16T16:27:49.130Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:27:49.130Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-11-16T16:27:49.130Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.9 [2020-11-16T16:27:49.130Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:27:49.130Z] - 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] } [2020-11-16T16:28:08.263Z] Removing intermediate container 9dac695c3c44 [2020-11-16T16:28:08.263Z] ---> c06ee900941b [2020-11-16T16:28:08.263Z] Successfully built c06ee900941b [2020-11-16T16:28:08.542Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:08.912Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:28:08.912Z] . [Pipeline] withDockerContainer [2020-11-16T16:28:09.159Z] prd-ubuntu18.04-docker-arm64-4c-16g-12277 does not seem to be running inside a container [2020-11-16T16:28:09.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-arm64 cat [2020-11-16T16:28:11.156Z] $ docker top e129ee86742719846401132857d5f9ebd5468409ac6cdff287f4ef5a11586d03 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:28:12.552Z] + go version [2020-11-16T16:28:12.552Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T16:28:12.577Z] $ docker stop --time=1 e129ee86742719846401132857d5f9ebd5468409ac6cdff287f4ef5a11586d03 [2020-11-16T16:28:14.569Z] $ docker rm -f e129ee86742719846401132857d5f9ebd5468409ac6cdff287f4ef5a11586d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:28:15.674Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:28:15.674Z] . [Pipeline] withDockerContainer [2020-11-16T16:28:15.943Z] prd-ubuntu18.04-docker-arm64-4c-16g-12277 does not seem to be running inside a container [2020-11-16T16:28:16.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-arm64 cat [2020-11-16T16:28:17.852Z] $ docker top 5c83aa9a749f3a6bd3ed2362c665f7c0d6c03b17dc4a25d654284ad6ad45b950 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:28:19.352Z] + make test [2020-11-16T16:28:19.353Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:28:20.338Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-16T16:28:52.724Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-16T16:28:52.724Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.426s coverage: 50.3% of statements [2020-11-16T16:28:52.995Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:28:59.742Z] gofmt -l . [2020-11-16T16:28:59.742Z] [ "`gofmt -l .`" = "" ] [2020-11-16T16:28:59.742Z] ./bin/test-attribution-txt.sh [2020-11-16T16:29:00.725Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:29:01.034Z] $ docker stop --time=1 5c83aa9a749f3a6bd3ed2362c665f7c0d6c03b17dc4a25d654284ad6ad45b950 [2020-11-16T16:29:03.203Z] $ docker rm -f 5c83aa9a749f3a6bd3ed2362c665f7c0d6c03b17dc4a25d654284ad6ad45b950 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:29:04.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:29:04.088Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T16:29:04.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:29:05.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:29:05.989Z] + ls -al . [2020-11-16T16:29:05.989Z] total 136 [2020-11-16T16:29:05.989Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 16 16:29 . [2020-11-16T16:29:05.989Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:26 .. [2020-11-16T16:29:05.989Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 16 16:26 .dockerignore [2020-11-16T16:29:05.989Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:26 .git [2020-11-16T16:29:05.989Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:26 .github [2020-11-16T16:29:05.989Z] -rw-rw-r-- 1 jenkins jenkins 338 Nov 16 16:26 .gitignore [2020-11-16T16:29:05.989Z] -rw-rw-r-- 1 jenkins jenkins 5589 Nov 16 16:26 Attribution.txt [2020-11-16T16:29:05.989Z] -rw-rw-r-- 1 jenkins jenkins 1430 Nov 16 16:26 Dockerfile [2020-11-16T16:29:05.989Z] -rw-rw-r-- 1 jenkins jenkins 954 Nov 16 16:26 Dockerfile.build [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 16 16:26 Jenkinsfile [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:26 LICENSE [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 16 16:26 Makefile [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 591 Nov 16 16:26 README.md [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 16 16:23 VERSION [2020-11-16T16:29:05.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:26 bin [2020-11-16T16:29:05.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:26 cmd [2020-11-16T16:29:05.990Z] -rw-r--r-- 1 jenkins jenkins 22364 Nov 16 16:28 coverage.out [2020-11-16T16:29:05.990Z] -rw-r--r-- 1 jenkins jenkins 517 Nov 16 16:29 go.mod [2020-11-16T16:29:05.990Z] -rw-r--r-- 1 jenkins jenkins 14643 Nov 16 16:29 go.sum [2020-11-16T16:29:05.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:26 internal [2020-11-16T16:29:05.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:26 simulator [2020-11-16T16:29:05.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:26 snap [2020-11-16T16:29:05.990Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 16 16:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:06.378Z] + 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=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b --label arch=arm64 --label version=1.2.3-dev.9 . [2020-11-16T16:29:06.990Z] Sending build context to Docker daemon 526.3kB [2020-11-16T16:29:06.990Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-16T16:29:06.990Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-16T16:29:06.990Z] ---> c06ee900941b [2020-11-16T16:29:06.990Z] Step 3/20 : ARG MAKE='make build' [2020-11-16T16:29:07.262Z] ---> Running in d4b3aeb0bd99 [2020-11-16T16:29:07.536Z] Removing intermediate container d4b3aeb0bd99 [2020-11-16T16:29:07.536Z] ---> e3ea75063e22 [2020-11-16T16:29:07.536Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:29:07.812Z] ---> Running in 576703b2d77c [2020-11-16T16:29:10.429Z] Removing intermediate container 576703b2d77c [2020-11-16T16:29:10.429Z] ---> 2bb234e2d9c7 [2020-11-16T16:29:10.429Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:29:10.429Z] ---> Running in 5022cee172ff [2020-11-16T16:29:11.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:29:12.494Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:29:13.958Z] OK: 221 MiB in 53 packages [2020-11-16T16:29:14.942Z] Removing intermediate container 5022cee172ff [2020-11-16T16:29:14.942Z] ---> 3b413711a07b [2020-11-16T16:29:14.942Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-16T16:29:14.942Z] ---> Running in a0bf9491914b [2020-11-16T16:29:15.536Z] Removing intermediate container a0bf9491914b [2020-11-16T16:29:15.536Z] ---> fc24912f01ef [2020-11-16T16:29:15.536Z] Step 7/20 : COPY . . [2020-11-16T16:29:16.517Z] ---> f3e5f6cac3ca [2020-11-16T16:29:16.518Z] Step 8/20 : RUN ${MAKE} [2020-11-16T16:29:16.518Z] ---> Running in 3c0e0a49dbef [2020-11-16T16:29:17.951Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.9" -o cmd/device-modbus ./cmd [2020-11-16T16:29:44.771Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:29:48.154Z] Removing intermediate container 3c0e0a49dbef [2020-11-16T16:29:48.154Z] ---> 4718edae522f [2020-11-16T16:29:48.154Z] Step 9/20 : FROM scratch [2020-11-16T16:29:48.154Z] ---> [2020-11-16T16:29:48.154Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-16T16:29:48.154Z] ---> Running in acc8e5b50e72 [2020-11-16T16:29:48.426Z] Removing intermediate container acc8e5b50e72 [2020-11-16T16:29:48.426Z] ---> 1b62b9055d9c [2020-11-16T16:29:48.426Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-16T16:29:48.701Z] ---> Running in 34314b0a61fa [2020-11-16T16:29:48.978Z] Removing intermediate container 34314b0a61fa [2020-11-16T16:29:48.978Z] ---> 496981595af8 [2020-11-16T16:29:48.978Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-16T16:29:50.408Z] ---> a9f5d3710b56 [2020-11-16T16:29:50.408Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-16T16:29:50.692Z] ---> 1cc4ed1d8eb3 [2020-11-16T16:29:50.692Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-16T16:29:51.679Z] ---> b2bf0419eba8 [2020-11-16T16:29:51.679Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-16T16:29:51.679Z] ---> Running in 5d91620e13f4 [2020-11-16T16:29:52.271Z] Removing intermediate container 5d91620e13f4 [2020-11-16T16:29:52.271Z] ---> 42f77ec94a8e [2020-11-16T16:29:52.271Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-16T16:29:52.271Z] ---> Running in 5e0b6bb8e0b3 [2020-11-16T16:29:52.861Z] Removing intermediate container 5e0b6bb8e0b3 [2020-11-16T16:29:52.861Z] ---> d70b945b6aa9 [2020-11-16T16:29:52.861Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T16:29:52.861Z] ---> Running in bad32f1fe9f9 [2020-11-16T16:29:53.457Z] Removing intermediate container bad32f1fe9f9 [2020-11-16T16:29:53.457Z] ---> cdd532c8827c [2020-11-16T16:29:53.457Z] Step 18/20 : LABEL arch=arm64 [2020-11-16T16:29:53.457Z] ---> Running in 663a88f4f50d [2020-11-16T16:29:54.054Z] Removing intermediate container 663a88f4f50d [2020-11-16T16:29:54.054Z] ---> 5b954f227fa3 [2020-11-16T16:29:54.054Z] Step 19/20 : LABEL git_sha=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:29:54.054Z] ---> Running in ead7cc54d6dd [2020-11-16T16:29:54.647Z] Removing intermediate container ead7cc54d6dd [2020-11-16T16:29:54.647Z] ---> b4aeea0c6f55 [2020-11-16T16:29:54.647Z] Step 20/20 : LABEL version=1.2.3-dev.9 [2020-11-16T16:29:54.647Z] ---> Running in 7315fa920e36 [2020-11-16T16:29:54.920Z] Removing intermediate container 7315fa920e36 [2020-11-16T16:29:54.920Z] ---> 59b8dbeb6f6b [2020-11-16T16:29:54.920Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:29:54.920Z] Successfully built 59b8dbeb6f6b [2020-11-16T16:29:54.920Z] 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 [2020-11-16T16:29:55.412Z] provisioning config files... [2020-11-16T16:29:55.457Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config7911333226543886976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:29:55.866Z] ---> docker-login.sh [2020-11-16T16:29:55.866Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:29:56.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:56.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:56.407Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:56.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:56.407Z] [2020-11-16T16:29:56.407Z] Login Succeeded [2020-11-16T16:29:56.407Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:29:56.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:56.952Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:56.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:56.952Z] [2020-11-16T16:29:56.952Z] Login Succeeded [2020-11-16T16:29:56.952Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:29:57.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:57.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:57.500Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:57.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:57.500Z] [2020-11-16T16:29:57.500Z] Login Succeeded [2020-11-16T16:29:57.500Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:29:57.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:58.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:58.045Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:58.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:58.045Z] [2020-11-16T16:29:58.045Z] Login Succeeded [2020-11-16T16:29:58.045Z] docker.io [2020-11-16T16:29:58.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:29:58.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:29:58.908Z] Configure a credential helper to remove this warning. See [2020-11-16T16:29:58.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:29:58.908Z] [2020-11-16T16:29:58.908Z] Login Succeeded [2020-11-16T16:29:58.908Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:29:58.924Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:29:59.135Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2020-11-16T16:29:59.135Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:29:59.135Z] latest [2020-11-16T16:29:59.135Z] 1.2.3-dev.9 [2020-11-16T16:29:59.135Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:29:59.135Z] master [2020-11-16T16:29:59.135Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:59.642Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:29:59.986Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:29:59.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-11-16T16:29:59.986Z] f99d7615ce42: Preparing [2020-11-16T16:29:59.986Z] 3501ee71aca0: Preparing [2020-11-16T16:29:59.986Z] 7f2ef8c0c7b9: Preparing [2020-11-16T16:30:00.263Z] 3501ee71aca0: Pushed [2020-11-16T16:30:00.263Z] f99d7615ce42: Pushed [2020-11-16T16:30:02.867Z] 7f2ef8c0c7b9: Pushed [2020-11-16T16:30:03.473Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b: digest: sha256:cb2417db1b8a6960a36f1a6507690f9fcdfa88dc7d6927e069a67d7633fad353 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:03.821Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:04.160Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-11-16T16:30:04.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-11-16T16:30:04.160Z] f99d7615ce42: Preparing [2020-11-16T16:30:04.160Z] 3501ee71aca0: Preparing [2020-11-16T16:30:04.160Z] 7f2ef8c0c7b9: Preparing [2020-11-16T16:30:04.431Z] 7f2ef8c0c7b9: Layer already exists [2020-11-16T16:30:04.431Z] 3501ee71aca0: Layer already exists [2020-11-16T16:30:04.431Z] f99d7615ce42: Layer already exists [2020-11-16T16:30:04.431Z] latest: digest: sha256:cb2417db1b8a6960a36f1a6507690f9fcdfa88dc7d6927e069a67d7633fad353 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:04.771Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:05.106Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.9 [2020-11-16T16:30:05.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-11-16T16:30:05.106Z] f99d7615ce42: Preparing [2020-11-16T16:30:05.106Z] 3501ee71aca0: Preparing [2020-11-16T16:30:05.106Z] 7f2ef8c0c7b9: Preparing [2020-11-16T16:30:05.106Z] f99d7615ce42: Layer already exists [2020-11-16T16:30:05.375Z] 3501ee71aca0: Layer already exists [2020-11-16T16:30:05.375Z] 7f2ef8c0c7b9: Layer already exists [2020-11-16T16:30:05.375Z] 1.2.3-dev.9: digest: sha256:cb2417db1b8a6960a36f1a6507690f9fcdfa88dc7d6927e069a67d7633fad353 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:05.713Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:06.048Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:30:06.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-11-16T16:30:06.048Z] f99d7615ce42: Preparing [2020-11-16T16:30:06.048Z] 3501ee71aca0: Preparing [2020-11-16T16:30:06.048Z] 7f2ef8c0c7b9: Preparing [2020-11-16T16:30:06.319Z] 7f2ef8c0c7b9: Layer already exists [2020-11-16T16:30:06.319Z] f99d7615ce42: Layer already exists [2020-11-16T16:30:06.319Z] 3501ee71aca0: Layer already exists [2020-11-16T16:30:06.319Z] 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9: digest: sha256:cb2417db1b8a6960a36f1a6507690f9fcdfa88dc7d6927e069a67d7633fad353 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:06.663Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:06.998Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2020-11-16T16:30:06.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-11-16T16:30:06.999Z] f99d7615ce42: Preparing [2020-11-16T16:30:06.999Z] 3501ee71aca0: Preparing [2020-11-16T16:30:06.999Z] 7f2ef8c0c7b9: Preparing [2020-11-16T16:30:06.999Z] 3501ee71aca0: Layer already exists [2020-11-16T16:30:06.999Z] 7f2ef8c0c7b9: Layer already exists [2020-11-16T16:30:06.999Z] f99d7615ce42: Layer already exists [2020-11-16T16:30:07.269Z] master: digest: sha256:cb2417db1b8a6960a36f1a6507690f9fcdfa88dc7d6927e069a67d7633fad353 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:30:07.471Z] ===================================================== [Pipeline] echo [2020-11-16T16:30:07.529Z] taggedImages: [2020-11-16T16:30:07.529Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [2020-11-16T16:30:07.529Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-11-16T16:30:07.529Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.9 [2020-11-16T16:30:07.529Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b-1.2.3-dev.9 [2020-11-16T16:30:07.529Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-16T16:30:08.822Z] provisioning config files... [2020-11-16T16:30:08.834Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8330457097436888901tmp [Pipeline] { [Pipeline] sh [2020-11-16T16:30:09.214Z] + set +x [2020-11-16T16:30:09.215Z] + curl -s https://codecov.io/bash [2020-11-16T16:30:09.215Z] + bash -s -- [2020-11-16T16:30:09.477Z] [2020-11-16T16:30:09.477Z] _____ _ [2020-11-16T16:30:09.477Z] / ____| | | [2020-11-16T16:30:09.477Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T16:30:09.477Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T16:30:09.477Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T16:30:09.477Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T16:30:09.477Z] Bash-20201116-eea08d9 [2020-11-16T16:30:09.477Z] [2020-11-16T16:30:09.477Z] [2020-11-16T16:30:09.477Z] ==> Jenkins CI detected. [2020-11-16T16:30:09.477Z] project root: . [2020-11-16T16:30:09.477Z] --> token set from env [2020-11-16T16:30:09.477Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T16:30:09.477Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T16:30:09.477Z] ==> Python coveragepy not found [2020-11-16T16:30:09.477Z] ==> Searching for coverage reports in: [2020-11-16T16:30:09.477Z] + . [2020-11-16T16:30:09.477Z] -> Found 1 reports [2020-11-16T16:30:09.477Z] ==> Detecting git/mercurial file structure [2020-11-16T16:30:09.477Z] ==> Reading reports [2020-11-16T16:30:09.477Z] + ./coverage.out bytes=22364 [2020-11-16T16:30:09.477Z] ==> Appending adjustments [2020-11-16T16:30:09.477Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T16:30:09.741Z] + Found adjustments [2020-11-16T16:30:09.741Z] ==> Gzipping contents [2020-11-16T16:30:09.741Z] ==> Uploading reports [2020-11-16T16:30:09.741Z] url: https://codecov.io [2020-11-16T16:30:09.741Z] query: branch=master&commit=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:30:09.741Z] -> Pinging Codecov [2020-11-16T16:30:09.741Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:30:10.315Z] -> Uploading to [2020-11-16T16:30:10.315Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/55DBCA73C666E3227836607328DD7E49/8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b/65abed23-0300-4bee-8ac7-41418738aa6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T163010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=422faa019b85889ef77109ff408af3ef26141ada45f440ac85d9ad38de6eaad2 [2020-11-16T16:30:10.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T16:30:10.315Z] Dload Upload Total Spent Left Speed [2020-11-16T16:30:10.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4175 0 0 100 4175 0 10523 --:--:-- --:--:-- --:--:-- 10542 [2020-11-16T16:30:10.577Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] } [2020-11-16T16:30:10.587Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-16T16:30:11.168Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-16T16:30:11.231Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:11.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:30:11.585Z] [2020-11-16T16:30:11.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:11.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:30:11.950Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-16T16:30:11.950Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:30:11.950Z] 0ef7d3d256c8: Pulling fs layer [2020-11-16T16:30:11.950Z] de9db76c5a1d: Pulling fs layer [2020-11-16T16:30:11.950Z] 0eba1c9be4d2: Pulling fs layer [2020-11-16T16:30:11.950Z] 0d57e429df01: Pulling fs layer [2020-11-16T16:30:11.950Z] 4e4be7b47b0d: Pulling fs layer [2020-11-16T16:30:11.950Z] e1f770b5df2f: Pulling fs layer [2020-11-16T16:30:11.950Z] 85a0685a4137: Pulling fs layer [2020-11-16T16:30:11.950Z] 0d57e429df01: Waiting [2020-11-16T16:30:11.950Z] 4e4be7b47b0d: Waiting [2020-11-16T16:30:11.950Z] e1f770b5df2f: Waiting [2020-11-16T16:30:11.950Z] 85a0685a4137: Waiting [2020-11-16T16:30:11.950Z] 0eba1c9be4d2: Waiting [2020-11-16T16:30:11.950Z] de9db76c5a1d: Verifying Checksum [2020-11-16T16:30:11.950Z] de9db76c5a1d: Download complete [2020-11-16T16:30:11.950Z] 0ef7d3d256c8: Download complete [2020-11-16T16:30:11.950Z] 0d57e429df01: Download complete [2020-11-16T16:30:11.950Z] 4e4be7b47b0d: Verifying Checksum [2020-11-16T16:30:11.950Z] 4e4be7b47b0d: Download complete [2020-11-16T16:30:11.950Z] 188c0c94c7c5: Download complete [2020-11-16T16:30:12.550Z] 188c0c94c7c5: Pull complete [2020-11-16T16:30:12.550Z] 0ef7d3d256c8: Pull complete [2020-11-16T16:30:12.813Z] de9db76c5a1d: Pull complete [2020-11-16T16:30:13.078Z] e1f770b5df2f: Verifying Checksum [2020-11-16T16:30:13.078Z] e1f770b5df2f: Download complete [2020-11-16T16:30:15.019Z] 0eba1c9be4d2: Verifying Checksum [2020-11-16T16:30:15.019Z] 0eba1c9be4d2: Download complete [2020-11-16T16:30:15.983Z] 85a0685a4137: Verifying Checksum [2020-11-16T16:30:15.983Z] 85a0685a4137: Download complete [2020-11-16T16:30:21.359Z] 0eba1c9be4d2: Pull complete [2020-11-16T16:30:21.625Z] 0d57e429df01: Pull complete [2020-11-16T16:30:21.626Z] 4e4be7b47b0d: Pull complete [2020-11-16T16:30:23.555Z] e1f770b5df2f: Pull complete [2020-11-16T16:30:31.753Z] 85a0685a4137: Pull complete [2020-11-16T16:30:31.753Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-16T16:30:31.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:30:31.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-16T16:30:32.035Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:30:32.096Z] $ 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 [2020-11-16T16:30:33.328Z] $ docker top 1154ea691650fb9956584841c3cc8686a4cf6bcdfbbd8d219c768f074d50ecc6 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-16T16:30:33.550Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-16T16:30:33.843Z] + set -o pipefail [2020-11-16T16:30:33.843Z] + snyk monitor '--org=edgex-jenkins' [2020-11-16T16:30:43.883Z] [2020-11-16T16:30:43.883Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2020-11-16T16:30:43.883Z] [2020-11-16T16:30:43.883Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/8a05318b-722f-45ac-abb9-aff2ddecdf5b [2020-11-16T16:30:43.883Z] [2020-11-16T16:30:43.883Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2020-11-16T16:30:43.883Z] [2020-11-16T16:30:43.883Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-16T16:30:43.883Z] [2020-11-16T16:30:43.883Z] [Pipeline] } [2020-11-16T16:30:43.906Z] $ docker stop --time=1 1154ea691650fb9956584841c3cc8686a4cf6bcdfbbd8d219c768f074d50ecc6 [2020-11-16T16:30:47.166Z] $ docker rm -f 1154ea691650fb9956584841c3cc8686a4cf6bcdfbbd8d219c768f074d50ecc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-16T16:30:48.070Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b, dockerFile=Dockerfile [Pipeline] echo [2020-11-16T16:30:48.072Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-16T16:30:48.363Z] + set -o pipefail [2020-11-16T16:30:48.363Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-16T16:30:48.363Z] + tee .snyk [2020-11-16T16:30:48.624Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-16T16:30:48.624Z] version: v1.14.1 [2020-11-16T16:30:48.624Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-16T16:30:48.624Z] # ignore: [2020-11-16T16:30:48.624Z] # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. [2020-11-16T16:30:48.624Z] # - '*': [2020-11-16T16:30:48.624Z] # reason: does not apply # justification for ignoring [2020-11-16T16:30:48.624Z] # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) [2020-11-16T16:30:48.624Z] # patch: {} [Pipeline] withCredentials [2020-11-16T16:30:48.741Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:30:49.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:30:49.144Z] . [Pipeline] withDockerContainer [2020-11-16T16:30:49.253Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:30:49.318Z] $ 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 [2020-11-16T16:30:50.234Z] $ docker top 3e1608e5625a2108e9be14ebc6501190b76e59edbf3d9f1c553415b84d6ec8bb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:30:50.826Z] + rm -f snykReport.html [Pipeline] echo [2020-11-16T16:30:50.838Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-16T16:30:51.130Z] + set -o pipefail [2020-11-16T16:30:51.130Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-16T16:30:51.130Z] + snyk-to-html -o snykReport.html [2020-11-16T16:31:01.171Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-16T16:31:01.189Z] $ docker stop --time=1 3e1608e5625a2108e9be14ebc6501190b76e59edbf3d9f1c553415b84d6ec8bb [2020-11-16T16:31:02.749Z] $ docker rm -f 3e1608e5625a2108e9be14ebc6501190b76e59edbf3d9f1c553415b84d6ec8bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-11-16T16:31:04.448Z] + git log --format=format:%s -1 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:04.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:31:04.756Z] . [Pipeline] withDockerContainer [2020-11-16T16:31:04.899Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:31:04.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 [2020-11-16T16:31:05.806Z] $ docker top e30856fff57f533b971c9db3a3c8661a59a3c357ad4c423a332dd9f77b191a67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:31:06.194Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:31:06.194Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:31:06.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:31:06.444Z] $ docker exec e30856fff57f533b971c9db3a3c8661a59a3c357ad4c423a332dd9f77b191a67 ssh-agent [2020-11-16T16:31:06.624Z] SSH_AUTH_SOCK=/tmp/ssh-9iEZQ5tAH0kR/agent.11 [2020-11-16T16:31:06.624Z] SSH_AGENT_PID=17 [2020-11-16T16:31:06.631Z] Running ssh-add (command line suppressed) [2020-11-16T16:31:06.770Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6848243525467013543.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6848243525467013543.key) [2020-11-16T16:31:06.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:31:07.168Z] + git semver tag [2020-11-16T16:31:07.168Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:31:07.168Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-11-16T16:31:07.168Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-11-16T16:31:07.168Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:31:07.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:31:07.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:31:07.168Z] # $SEMVER_BRANCH = master [2020-11-16T16:31:07.168Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-11-16T16:31:07.168Z] # 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b HEAD [2020-11-16T16:31:07.168Z] # -> Force: false [2020-11-16T16:31:07.168Z] # 322ce062e1fa4340172c0b1bb61b0197dde0f0fc refs/tags/v1.2.3-dev.9 [Pipeline] } [2020-11-16T16:31:07.183Z] $ docker exec --env ******** --env ******** e30856fff57f533b971c9db3a3c8661a59a3c357ad4c423a332dd9f77b191a67 ssh-agent -k [2020-11-16T16:31:07.315Z] unset SSH_AUTH_SOCK; [2020-11-16T16:31:07.316Z] unset SSH_AGENT_PID; [2020-11-16T16:31:07.316Z] echo Agent pid 17 killed; [2020-11-16T16:31:07.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:31:07.863Z] + git semver [Pipeline] } [2020-11-16T16:31:07.888Z] $ docker stop --time=1 e30856fff57f533b971c9db3a3c8661a59a3c357ad4c423a332dd9f77b191a67 [2020-11-16T16:31:09.273Z] $ docker rm -f e30856fff57f533b971c9db3a3c8661a59a3c357ad4c423a332dd9f77b191a67 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:09.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:31:09.931Z] [2020-11-16T16:31:09.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:10.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:31:10.288Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-16T16:31:10.288Z] ab5ef0e58194: Pulling fs layer [2020-11-16T16:31:10.288Z] 9712f1f96733: Pulling fs layer [2020-11-16T16:31:10.288Z] 63f879dbbcfc: Pulling fs layer [2020-11-16T16:31:10.288Z] 0d9ebad4ef96: Pulling fs layer [2020-11-16T16:31:10.288Z] e9a5061849ea: Pulling fs layer [2020-11-16T16:31:10.288Z] d747dcd14b5f: Pulling fs layer [2020-11-16T16:31:10.288Z] 2de7ff778b66: Pulling fs layer [2020-11-16T16:31:10.288Z] 0d9ebad4ef96: Waiting [2020-11-16T16:31:10.288Z] e9a5061849ea: Waiting [2020-11-16T16:31:10.288Z] d747dcd14b5f: Waiting [2020-11-16T16:31:10.288Z] 2de7ff778b66: Waiting [2020-11-16T16:31:10.288Z] 9712f1f96733: Verifying Checksum [2020-11-16T16:31:10.288Z] 9712f1f96733: Download complete [2020-11-16T16:31:11.692Z] 63f879dbbcfc: Verifying Checksum [2020-11-16T16:31:11.692Z] 63f879dbbcfc: Download complete [2020-11-16T16:31:11.959Z] e9a5061849ea: Verifying Checksum [2020-11-16T16:31:11.959Z] e9a5061849ea: Download complete [2020-11-16T16:31:11.959Z] d747dcd14b5f: Verifying Checksum [2020-11-16T16:31:11.959Z] d747dcd14b5f: Download complete [2020-11-16T16:31:12.535Z] 2de7ff778b66: Verifying Checksum [2020-11-16T16:31:12.535Z] 2de7ff778b66: Download complete [2020-11-16T16:31:12.535Z] 0d9ebad4ef96: Verifying Checksum [2020-11-16T16:31:12.535Z] 0d9ebad4ef96: Download complete [2020-11-16T16:31:12.535Z] ab5ef0e58194: Verifying Checksum [2020-11-16T16:31:12.535Z] ab5ef0e58194: Download complete [2020-11-16T16:31:16.792Z] ab5ef0e58194: Pull complete [2020-11-16T16:31:16.792Z] 9712f1f96733: Pull complete [2020-11-16T16:31:20.128Z] 63f879dbbcfc: Pull complete [2020-11-16T16:31:26.836Z] 0d9ebad4ef96: Pull complete [2020-11-16T16:31:28.247Z] e9a5061849ea: Pull complete [2020-11-16T16:31:28.513Z] d747dcd14b5f: Pull complete [2020-11-16T16:31:31.080Z] 2de7ff778b66: Pull complete [2020-11-16T16:31:31.080Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-16T16:31:31.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:31:31.080Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-16T16:31:31.564Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:31:31.621Z] $ 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 [2020-11-16T16:31:34.240Z] $ docker top 39292b00c3354148f342cd6446cb6894f6caac3d4f2a1de553d8d0667b99e795 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:31:34.485Z] provisioning config files... [2020-11-16T16:31:34.496Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5670314092816736597tmp [2020-11-16T16:31:34.514Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3476142498926809481tmp [2020-11-16T16:31:34.530Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1212135953701931576tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:31:34.592Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:34.898Z] ---> sigul-configuration.sh [2020-11-16T16:31:34.898Z] gpg: directory `/root/.gnupg' created [2020-11-16T16:31:34.898Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-16T16:31:34.898Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-16T16:31:34.898Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-16T16:31:34.898Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-16T16:31:34.898Z] gpg: CAST5 encrypted data [2020-11-16T16:31:35.159Z] gpg: encrypted with 1 passphrase [2020-11-16T16:31:35.159Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-16T16:31:35.460Z] + mkdir /home/jenkins [2020-11-16T16:31:35.460Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-16T16:31:35.759Z] + 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 [2020-11-16T16:31:35.771Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:36.069Z] ---> sigul-install.sh [2020-11-16T16:31:41.377Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-16T16:31:41.681Z] + git tag --list [2020-11-16T16:31:41.681Z] 0.7.1 [2020-11-16T16:31:41.681Z] v1.0.0 [2020-11-16T16:31:41.681Z] v1.1.0 [2020-11-16T16:31:41.681Z] v1.1.1 [2020-11-16T16:31:41.681Z] v1.2.0 [2020-11-16T16:31:41.681Z] v1.2.1 [2020-11-16T16:31:41.681Z] v1.2.2 [2020-11-16T16:31:41.681Z] v1.2.2-dev.1 [2020-11-16T16:31:41.681Z] v1.2.2-dev.2 [2020-11-16T16:31:41.681Z] v1.2.2-dev.3 [2020-11-16T16:31:41.681Z] v1.2.3-dev.1 [2020-11-16T16:31:41.681Z] v1.2.3-dev.2 [2020-11-16T16:31:41.681Z] v1.2.3-dev.3 [2020-11-16T16:31:41.681Z] v1.2.3-dev.4 [2020-11-16T16:31:41.681Z] v1.2.3-dev.5 [2020-11-16T16:31:41.681Z] v1.2.3-dev.6 [2020-11-16T16:31:41.681Z] v1.2.3-dev.7 [2020-11-16T16:31:41.681Z] v1.2.3-dev.8 [2020-11-16T16:31:41.681Z] v1.2.3-dev.9 [Pipeline] sh [2020-11-16T16:31:41.980Z] + lftools sign git-tag v1.2.3-dev.9 [2020-11-16T16:31:43.378Z] Signing Git tag with Sigul... [2020-11-16T16:31:43.378Z] Signing v1.2.3-dev.9 [Pipeline] echo [2020-11-16T16:31:44.337Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:31:44.640Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-16T16:31:44.649Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-16T16:31:44.795Z] $ docker stop --time=1 39292b00c3354148f342cd6446cb6894f6caac3d4f2a1de553d8d0667b99e795 [2020-11-16T16:31:46.743Z] $ docker rm -f 39292b00c3354148f342cd6446cb6894f6caac3d4f2a1de553d8d0667b99e795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:47.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:31:47.980Z] . [Pipeline] withDockerContainer [2020-11-16T16:31:48.085Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:31:48.139Z] $ 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 [2020-11-16T16:31:48.975Z] $ docker top e80398c70ea32d208d41cc62aa02dabcd0316596e84d4fa46301b278e1f0c9ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:31:49.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:31:49.360Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:31:49.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:31:49.625Z] $ docker exec e80398c70ea32d208d41cc62aa02dabcd0316596e84d4fa46301b278e1f0c9ef ssh-agent [2020-11-16T16:31:49.806Z] SSH_AUTH_SOCK=/tmp/ssh-lcQvvJKN6KZE/agent.12 [2020-11-16T16:31:49.806Z] SSH_AGENT_PID=17 [2020-11-16T16:31:49.815Z] Running ssh-add (command line suppressed) [2020-11-16T16:31:49.947Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3723958552336880604.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3723958552336880604.key) [2020-11-16T16:31:50.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:31:50.342Z] + git semver bump pre [2020-11-16T16:31:50.342Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:31:50.342Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-11-16T16:31:50.342Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-11-16T16:31:50.342Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:31:50.342Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:31:50.342Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:31:50.342Z] # $SEMVER_BRANCH = master [2020-11-16T16:31:50.342Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-11-16T16:31:50.342Z] 1.2.3-dev.10 [Pipeline] } [2020-11-16T16:31:50.355Z] $ docker exec --env ******** --env ******** e80398c70ea32d208d41cc62aa02dabcd0316596e84d4fa46301b278e1f0c9ef ssh-agent -k [2020-11-16T16:31:50.483Z] unset SSH_AUTH_SOCK; [2020-11-16T16:31:50.483Z] unset SSH_AGENT_PID; [2020-11-16T16:31:50.483Z] echo Agent pid 17 killed; [2020-11-16T16:31:50.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:31:51.119Z] + git semver [Pipeline] } [2020-11-16T16:31:51.139Z] $ docker stop --time=1 e80398c70ea32d208d41cc62aa02dabcd0316596e84d4fa46301b278e1f0c9ef [2020-11-16T16:31:52.538Z] $ docker rm -f e80398c70ea32d208d41cc62aa02dabcd0316596e84d4fa46301b278e1f0c9ef [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:31:53.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:31:53.099Z] . [Pipeline] withDockerContainer [2020-11-16T16:31:53.205Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:31:53.259Z] $ 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 [2020-11-16T16:31:53.916Z] $ docker top 880ac8936b1b8d09bbe66bcba0a8097bab8a3041d980e96d945c31ea35c1aff8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:31:54.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:31:54.255Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:31:54.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:31:54.471Z] $ docker exec 880ac8936b1b8d09bbe66bcba0a8097bab8a3041d980e96d945c31ea35c1aff8 ssh-agent [2020-11-16T16:31:54.650Z] SSH_AUTH_SOCK=/tmp/ssh-GtTb2qA2i6r1/agent.12 [2020-11-16T16:31:54.650Z] SSH_AGENT_PID=18 [2020-11-16T16:31:54.656Z] Running ssh-add (command line suppressed) [2020-11-16T16:31:54.787Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6198462479828024012.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6198462479828024012.key) [2020-11-16T16:31:54.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:31:55.183Z] + git semver push [2020-11-16T16:31:55.183Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:31:55.183Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-11-16T16:31:55.183Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-11-16T16:31:55.183Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:31:55.183Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:31:55.183Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:31:55.183Z] # $SEMVER_BRANCH = master [2020-11-16T16:31:55.183Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-11-16T16:32:01.803Z] $ docker exec --env ******** --env ******** 880ac8936b1b8d09bbe66bcba0a8097bab8a3041d980e96d945c31ea35c1aff8 ssh-agent -k [2020-11-16T16:32:02.022Z] unset SSH_AUTH_SOCK; [2020-11-16T16:32:02.022Z] unset SSH_AGENT_PID; [2020-11-16T16:32:02.022Z] echo Agent pid 18 killed; [2020-11-16T16:32:02.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:32:02.712Z] + git semver [Pipeline] } [2020-11-16T16:32:02.731Z] $ docker stop --time=1 880ac8936b1b8d09bbe66bcba0a8097bab8a3041d980e96d945c31ea35c1aff8 [2020-11-16T16:32:04.113Z] $ docker rm -f 880ac8936b1b8d09bbe66bcba0a8097bab8a3041d980e96d945c31ea35c1aff8 [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 [2020-11-16T16:32:05.667Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:06.233Z] ---> package-listing.sh [2020-11-16T16:32:06.233Z] ++ facter osfamily [2020-11-16T16:32:06.233Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T16:32:06.233Z] + OS_FAMILY=redhat [2020-11-16T16:32:06.233Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2020-11-16T16:32:06.233Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T16:32:06.233Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T16:32:06.233Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T16:32:06.233Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T16:32:06.233Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-11-16T16:32:06.233Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T16:32:06.233Z] + case "${OS_FAMILY}" in [2020-11-16T16:32:06.233Z] + rpm -qa [2020-11-16T16:32:06.233Z] + sort [2020-11-16T16:32:10.463Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T16:32:10.463Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T16:32:10.463Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T16:32:10.463Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-11-16T16:32:10.463Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2020-11-16T16:32:10.463Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2020-11-16T16:32:10.476Z] 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 [2020-11-16T16:32:10.770Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:32:11.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:32:11.081Z] [2020-11-16T16:32:11.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:32:11.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:32:11.452Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T16:32:11.452Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:32:11.452Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T16:32:11.452Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T16:32:11.452Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T16:32:11.452Z] 93b61091891f: Pulling fs layer [2020-11-16T16:32:11.452Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T16:32:11.452Z] 5e14af77c1be: Pulling fs layer [2020-11-16T16:32:11.452Z] 01666e4c0597: Pulling fs layer [2020-11-16T16:32:11.452Z] aa168da1d23b: Pulling fs layer [2020-11-16T16:32:11.452Z] 93b9cdb0e59b: Waiting [2020-11-16T16:32:11.452Z] 5e14af77c1be: Waiting [2020-11-16T16:32:11.452Z] aa168da1d23b: Waiting [2020-11-16T16:32:11.452Z] 01666e4c0597: Waiting [2020-11-16T16:32:11.452Z] 46f8f816bc3b: Waiting [2020-11-16T16:32:11.452Z] 93b61091891f: Waiting [2020-11-16T16:32:11.452Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T16:32:11.452Z] 36b3adc4ff6f: Download complete [2020-11-16T16:32:11.452Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T16:32:11.452Z] 46f8f816bc3b: Download complete [2020-11-16T16:32:11.452Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:32:11.452Z] df20fa9351a1: Download complete [2020-11-16T16:32:11.452Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T16:32:11.452Z] 93b9cdb0e59b: Download complete [2020-11-16T16:32:11.452Z] 5e14af77c1be: Verifying Checksum [2020-11-16T16:32:11.452Z] 5e14af77c1be: Download complete [2020-11-16T16:32:11.452Z] 01666e4c0597: Verifying Checksum [2020-11-16T16:32:11.452Z] 01666e4c0597: Download complete [2020-11-16T16:32:11.452Z] 93b61091891f: Verifying Checksum [2020-11-16T16:32:11.452Z] 93b61091891f: Download complete [2020-11-16T16:32:12.035Z] df20fa9351a1: Pull complete [2020-11-16T16:32:12.035Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T16:32:12.035Z] 8ad3a11d3b57: Download complete [2020-11-16T16:32:12.299Z] 36b3adc4ff6f: Pull complete [2020-11-16T16:32:13.267Z] 8ad3a11d3b57: Pull complete [2020-11-16T16:32:13.267Z] 46f8f816bc3b: Pull complete [2020-11-16T16:32:13.851Z] aa168da1d23b: Download complete [2020-11-16T16:32:14.114Z] 93b61091891f: Pull complete [2020-11-16T16:32:14.114Z] 93b9cdb0e59b: Pull complete [2020-11-16T16:32:14.382Z] 5e14af77c1be: Pull complete [2020-11-16T16:32:14.382Z] 01666e4c0597: Pull complete [2020-11-16T16:32:21.019Z] aa168da1d23b: Pull complete [2020-11-16T16:32:21.019Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T16:32:21.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:32:21.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T16:32:21.226Z] prd-centos7-docker-4c-2g-12264 does not seem to be running inside a container [2020-11-16T16:32:21.285Z] $ 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 [2020-11-16T16:32:24.593Z] $ docker top 3d1bb2ad347a73ff7ea7723b31891a6ce9a295f0ec8d09c404ae0f384fd397e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:32:25.168Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T16:32:25.471Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T16:32:25.786Z] + ls /var/log/sa-host [2020-11-16T16:32:25.786Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T16:32:25.786Z] file_magic: OK [2020-11-16T16:32:25.786Z] HZ: Using current value: 100 [2020-11-16T16:32:25.786Z] file_header: OK [2020-11-16T16:32:25.786Z] 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 [2020-11-16T16:32:25.786Z] Statistics: [2020-11-16T16:32:25.786Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:32:25.786Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T16:32:25.786Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T16:32:25.786Z] file_magic: OK [2020-11-16T16:32:25.786Z] HZ: Using current value: 100 [2020-11-16T16:32:25.786Z] file_header: OK [2020-11-16T16:32:25.786Z] 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 [2020-11-16T16:32:25.786Z] Statistics: [2020-11-16T16:32:25.786Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:32:25.786Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:32:26.018Z] provisioning config files... [2020-11-16T16:32:26.035Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6998656283279182307tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:32:26.112Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:26.413Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T16:32:26.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T16:32:26.518Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:26.821Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T16:32:26.832Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:27.132Z] ---> sudo-logs.sh [2020-11-16T16:32:27.132Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T16:32:27.143Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:27.444Z] ---> job-cost.sh [2020-11-16T16:32:27.444Z] lf-activate-venv: SKIPPING [2020-11-16T16:32:27.444Z] INFO: No Stack... [2020-11-16T16:32:28.391Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T16:32:28.968Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T16:32:28.990Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:32:30.086Z] ---> logs-deploy.sh [2020-11-16T16:32:30.086Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/27 [2020-11-16T16:32:30.086Z] INFO: archiving workspace using pattern(s): [2020-11-16T16:32:31.041Z] Archives upload complete. [2020-11-16T16:32:31.041Z] INFO: archiving logs to Nexus