Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7442c446029449b320f0bdc33bd24bf2850fc7a2 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33828 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 Checking out Revision 7442c446029449b320f0bdc33bd24bf2850fc7a2 (master) > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7442c446029449b320f0bdc33bd24bf2850fc7a2 # timeout=10 Commit message: "refactor: use v2 device-sdk (#222)" > git rev-list --no-walk 6aeaeb9ab34b96e9812ba5507584c335313791a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-13T04:09:44.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-13T04:09:44.397Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-13T04:09:44.498Z] ========================================================= [2021-04-13T04:09:44.498Z] EdgeX Global Pipelines Version Info [2021-04-13T04:09:44.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:09:45.961Z] ------------------- [2021-04-13T04:09:45.961Z] stable info: [2021-04-13T04:09:45.961Z] ------------------- [2021-04-13T04:09:45.961Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-13T04:09:45.961Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-13T04:09:45.961Z] Message: update stable to v1.0.186 [2021-04-13T04:09:46.908Z] ------------------- [2021-04-13T04:09:46.908Z] experimental info: [2021-04-13T04:09:46.908Z] ------------------- [2021-04-13T04:09:46.908Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-13T04:09:46.908Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-13T04:09:46.908Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-13T04:09:47.199Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-04-13T04:09:47.287Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-04-13T04:09:47.371Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-13T04:09:47.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-13T04:09:47.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-13T04:09:47.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-13T04:09:47.767Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-13T04:09:47.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-13T04:09:47.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-13T04:09:48.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-13T04:09:48.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-13T04:09:48.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-04-13T04:09:48.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-13T04:09:48.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-13T04:09:48.508Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T04:09:48.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T04:09:48.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T04:09:48.807Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T04:09:48.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-13T04:09:48.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-13T04:09:49.119Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-13T04:09:49.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-13T04:09:49.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-13T04:09:49.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-13T04:09:49.499Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-13T04:09:49.597Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-13T04:09:49.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-13T04:09:49.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-13T04:09:49.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-13T04:09:49.937Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] echo [2021-04-13T04:09:50.020Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7442c44 [Pipeline] echo [2021-04-13T04:09:50.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:09:50.338Z] provisioning config files... [2021-04-13T04:09:50.372Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7588564050037029805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:09:50.733Z] ---> docker-login.sh [2021-04-13T04:09:50.733Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:09:50.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:09:51.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:09:51.257Z] Configure a credential helper to remove this warning. See [2021-04-13T04:09:51.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:09:51.257Z] [2021-04-13T04:09:51.257Z] Login Succeeded [2021-04-13T04:09:51.257Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:09:51.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:09:51.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:09:51.257Z] Configure a credential helper to remove this warning. See [2021-04-13T04:09:51.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:09:51.258Z] [2021-04-13T04:09:51.258Z] Login Succeeded [2021-04-13T04:09:51.258Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:09:51.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:09:51.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:09:51.520Z] Configure a credential helper to remove this warning. See [2021-04-13T04:09:51.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:09:51.520Z] [2021-04-13T04:09:51.520Z] Login Succeeded [2021-04-13T04:09:51.520Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:09:51.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:09:51.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:09:51.520Z] Configure a credential helper to remove this warning. See [2021-04-13T04:09:51.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:09:51.520Z] [2021-04-13T04:09:51.520Z] Login Succeeded [2021-04-13T04:09:51.520Z] docker.io [2021-04-13T04:09:51.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:09:52.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:09:52.045Z] Configure a credential helper to remove this warning. See [2021-04-13T04:09:52.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:09:52.045Z] [2021-04-13T04:09:52.045Z] Login Succeeded [2021-04-13T04:09:52.045Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:09:52.055Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:09:52.862Z] + git log --format=format:%s -1 7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] echo [2021-04-13T04:09:52.929Z] GIT_COMMIT: 7442c446029449b320f0bdc33bd24bf2850fc7a2, Commit Message: refactor: use v2 device-sdk (#222) [Pipeline] echo [2021-04-13T04:09:52.974Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:09:53.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:09:53.982Z] [2021-04-13T04:09:53.982Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:09:54.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:09:54.336Z] latest: Pulling from edgex-devops/git-semver [2021-04-13T04:09:54.336Z] 31603596830f: Pulling fs layer [2021-04-13T04:09:54.336Z] 2a8b12db71e7: Pulling fs layer [2021-04-13T04:09:54.336Z] 6ca5941a6612: Pulling fs layer [2021-04-13T04:09:54.336Z] ecc8261a40a4: Pulling fs layer [2021-04-13T04:09:54.336Z] ecc8261a40a4: Waiting [2021-04-13T04:09:54.336Z] 2a8b12db71e7: Verifying Checksum [2021-04-13T04:09:54.336Z] 2a8b12db71e7: Download complete [2021-04-13T04:09:54.336Z] 31603596830f: Verifying Checksum [2021-04-13T04:09:54.336Z] 31603596830f: Download complete [2021-04-13T04:09:54.599Z] ecc8261a40a4: Verifying Checksum [2021-04-13T04:09:54.599Z] ecc8261a40a4: Download complete [2021-04-13T04:09:54.599Z] 6ca5941a6612: Verifying Checksum [2021-04-13T04:09:54.599Z] 6ca5941a6612: Download complete [2021-04-13T04:09:54.863Z] 31603596830f: Pull complete [2021-04-13T04:09:54.863Z] 2a8b12db71e7: Pull complete [2021-04-13T04:09:55.812Z] 6ca5941a6612: Pull complete [2021-04-13T04:09:55.812Z] ecc8261a40a4: Pull complete [2021-04-13T04:09:55.812Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-13T04:09:55.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:09:55.812Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-13T04:09:55.919Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:09:55.973Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T04:09:57.990Z] $ docker top 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T04:09:58.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:09:58.333Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:09:58.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:09:58.544Z] $ docker exec 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 ssh-agent [2021-04-13T04:09:58.701Z] SSH_AUTH_SOCK=/tmp/ssh-xpqDoEtcpThQ/agent.11 [2021-04-13T04:09:58.701Z] SSH_AGENT_PID=16 [2021-04-13T04:09:58.713Z] Running ssh-add (command line suppressed) [2021-04-13T04:09:58.838Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3497732463041974689.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3497732463041974689.key) [2021-04-13T04:09:58.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:09:59.240Z] + git tag --points-at HEAD [Pipeline] } [2021-04-13T04:09:59.266Z] $ docker exec --env ******** --env ******** 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 ssh-agent -k [2021-04-13T04:09:59.372Z] unset SSH_AUTH_SOCK; [2021-04-13T04:09:59.372Z] unset SSH_AGENT_PID; [2021-04-13T04:09:59.372Z] echo Agent pid 16 killed; [2021-04-13T04:09:59.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-13T04:09:59.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:09:59.608Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:09:59.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:09:59.766Z] $ docker exec 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 ssh-agent [2021-04-13T04:09:59.911Z] SSH_AUTH_SOCK=/tmp/ssh-EzCfwTGcuNxF/agent.45 [2021-04-13T04:09:59.911Z] SSH_AGENT_PID=50 [2021-04-13T04:09:59.918Z] Running ssh-add (command line suppressed) [2021-04-13T04:10:00.029Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2660899229445347875.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2660899229445347875.key) [2021-04-13T04:10:00.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:10:00.479Z] + git semver init [2021-04-13T04:10:00.479Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T04:10:00.479Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-13T04:10:00.479Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-13T04:10:00.479Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T04:10:00.479Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T04:10:00.479Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T04:10:00.479Z] # $SEMVER_BRANCH = master [2021-04-13T04:10:00.479Z] # $SEMVER_TEMP = /tmp/semver-747422963 [2021-04-13T04:10:00.479Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-04-13T04:10:01.053Z] # '/tmp/semver-747422963' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-04-13T04:10:01.053Z] # -> Force: false [2021-04-13T04:10:01.053Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-04-13T04:10:01.067Z] $ docker exec --env ******** --env ******** 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 ssh-agent -k [2021-04-13T04:10:01.189Z] unset SSH_AUTH_SOCK; [2021-04-13T04:10:01.189Z] unset SSH_AGENT_PID; [2021-04-13T04:10:01.189Z] echo Agent pid 50 killed; [2021-04-13T04:10:01.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T04:10:01.952Z] + git semver [Pipeline] } [2021-04-13T04:10:01.971Z] $ docker stop --time=1 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 [2021-04-13T04:10:03.319Z] $ docker rm -f 05e1bef9d9943f502fde78d1294c80158782186fd1748c650a1d5350d590dc45 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T04:10:03.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-13T04:10:04.263Z] Stashed 1 file(s) [Pipeline] echo [2021-04-13T04:10:04.267Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-13T04:10:19.774Z] Still waiting to schedule task [2021-04-13T04:10:19.774Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-13T04:10:19.777Z] Still waiting to schedule task [2021-04-13T04:10:19.777Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-13T04:12:11.473Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33829 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-04-13T04:12:11.529Z] Running in /w/workspace/device-modbus-go/41 [Pipeline] { [Pipeline] checkout [2021-04-13T04:12:16.479Z] using credential edgex-jenkins-ssh [2021-04-13T04:12:16.535Z] Cloning the remote Git repository [2021-04-13T04:12:16.601Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:16.723Z] > git init /w/workspace/device-modbus-go/41 # timeout=10 [2021-04-13T04:12:16.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:16.796Z] > git --version # timeout=10 [2021-04-13T04:12:16.819Z] > git --version # 'git version 2.17.1' [2021-04-13T04:12:16.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:12:16.903Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:12:17.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-13T04:12:17.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:12:17.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-13T04:12:17.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:17.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:12:17.777Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T04:12:18.290Z] Checking out Revision 7442c446029449b320f0bdc33bd24bf2850fc7a2 (master) [2021-04-13T04:12:18.322Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:12:18.347Z] > git checkout -f 7442c446029449b320f0bdc33bd24bf2850fc7a2 # timeout=10 [2021-04-13T04:12:22.891Z] Commit message: "refactor: use v2 device-sdk (#222)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:12:24.518Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:12:24.927Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:12:25.270Z] + true [2021-04-13T04:12:25.270Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:12:27.333Z] provisioning config files... [2021-04-13T04:12:27.373Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config5671385375595217322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:12:27.980Z] ---> docker-login.sh [2021-04-13T04:12:27.980Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:12:28.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:29.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:29.181Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:29.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:29.181Z] [2021-04-13T04:12:29.181Z] Login Succeeded [2021-04-13T04:12:29.181Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:12:29.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:29.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:29.734Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:29.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:29.734Z] [2021-04-13T04:12:29.734Z] Login Succeeded [2021-04-13T04:12:29.734Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:12:30.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:30.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:30.286Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:30.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:30.286Z] [2021-04-13T04:12:30.286Z] Login Succeeded [2021-04-13T04:12:30.286Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:12:30.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:30.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:30.560Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:30.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:30.560Z] [2021-04-13T04:12:30.560Z] Login Succeeded [2021-04-13T04:12:30.835Z] docker.io [2021-04-13T04:12:31.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:31.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:31.383Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:31.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:31.383Z] [2021-04-13T04:12:31.383Z] Login Succeeded [2021-04-13T04:12:31.383Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:12:31.400Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T04:12:31.873Z] ========================================================= [2021-04-13T04:12:31.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-13T04:12:31.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:12:32.270Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-13T04:12:32.545Z] Sending build context to Docker daemon 569.3kB [2021-04-13T04:12:32.545Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:12:32.545Z] Step 2/8 : FROM ${BASE} [2021-04-13T04:12:32.846Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-13T04:12:32.846Z] 5f621e34cdf4: Pulling fs layer [2021-04-13T04:12:32.846Z] a4357932f1b6: Pulling fs layer [2021-04-13T04:12:32.846Z] 18c013af1878: Pulling fs layer [2021-04-13T04:12:32.846Z] 00ac8860ef70: Pulling fs layer [2021-04-13T04:12:32.846Z] 63d7cb157983: Pulling fs layer [2021-04-13T04:12:32.846Z] b116817d02f9: Pulling fs layer [2021-04-13T04:12:32.846Z] 745a02a5169b: Pulling fs layer [2021-04-13T04:12:32.846Z] 00ac8860ef70: Waiting [2021-04-13T04:12:32.846Z] 63d7cb157983: Waiting [2021-04-13T04:12:32.846Z] b116817d02f9: Waiting [2021-04-13T04:12:32.846Z] 745a02a5169b: Waiting [2021-04-13T04:12:32.846Z] 18c013af1878: Verifying Checksum [2021-04-13T04:12:32.846Z] 18c013af1878: Download complete [2021-04-13T04:12:32.846Z] a4357932f1b6: Verifying Checksum [2021-04-13T04:12:32.846Z] a4357932f1b6: Download complete [2021-04-13T04:12:32.846Z] 63d7cb157983: Verifying Checksum [2021-04-13T04:12:32.846Z] 63d7cb157983: Download complete [2021-04-13T04:12:32.846Z] b116817d02f9: Verifying Checksum [2021-04-13T04:12:32.846Z] b116817d02f9: Download complete [2021-04-13T04:12:32.846Z] 5f621e34cdf4: Verifying Checksum [2021-04-13T04:12:32.846Z] 5f621e34cdf4: Download complete [2021-04-13T04:12:33.448Z] 5f621e34cdf4: Pull complete [2021-04-13T04:12:34.050Z] a4357932f1b6: Pull complete [2021-04-13T04:12:34.665Z] 18c013af1878: Pull complete [2021-04-13T04:12:36.265Z] Running on prd-centos7-docker-4c-2g-33830 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-04-13T04:12:36.340Z] Running in /w/workspace/device-modbus-go/41 [Pipeline] { [Pipeline] checkout [2021-04-13T04:12:36.641Z] 745a02a5169b: Verifying Checksum [2021-04-13T04:12:36.642Z] 745a02a5169b: Download complete [2021-04-13T04:12:37.245Z] 00ac8860ef70: Verifying Checksum [2021-04-13T04:12:37.245Z] 00ac8860ef70: Download complete [2021-04-13T04:12:38.709Z] using credential edgex-jenkins-ssh [2021-04-13T04:12:38.759Z] Cloning the remote Git repository [2021-04-13T04:12:38.337Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:38.406Z] > git init /w/workspace/device-modbus-go/41 # timeout=10 [2021-04-13T04:12:38.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:38.465Z] > git --version # timeout=10 [2021-04-13T04:12:38.473Z] > git --version # 'git version 2.24.3' [2021-04-13T04:12:38.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:12:38.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:12:39.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-13T04:12:39.121Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:12:39.142Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-13T04:12:39.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-13T04:12:39.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:12:39.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T04:12:39.926Z] Checking out Revision 7442c446029449b320f0bdc33bd24bf2850fc7a2 (master) [2021-04-13T04:12:39.585Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:12:39.590Z] > git checkout -f 7442c446029449b320f0bdc33bd24bf2850fc7a2 # timeout=10 [2021-04-13T04:12:43.348Z] Commit message: "refactor: use v2 device-sdk (#222)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:12:44.478Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:12:44.817Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:12:45.122Z] + sudo service docker restart [2021-04-13T04:12:45.122Z] + true [2021-04-13T04:12:45.122Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:12:46.138Z] provisioning config files... [2021-04-13T04:12:46.164Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config2714049391024828226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:12:46.530Z] ---> docker-login.sh [2021-04-13T04:12:46.530Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:12:46.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:46.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:46.794Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:46.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:46.794Z] [2021-04-13T04:12:46.794Z] Login Succeeded [2021-04-13T04:12:46.794Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:12:47.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:47.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:47.063Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:47.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:47.063Z] [2021-04-13T04:12:47.063Z] Login Succeeded [2021-04-13T04:12:47.063Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:12:47.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:47.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:47.327Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:47.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:47.327Z] [2021-04-13T04:12:47.327Z] Login Succeeded [2021-04-13T04:12:47.327Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:12:47.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:47.469Z] 00ac8860ef70: Pull complete [2021-04-13T04:12:47.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:47.590Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:47.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:47.590Z] [2021-04-13T04:12:47.590Z] Login Succeeded [2021-04-13T04:12:47.590Z] docker.io [2021-04-13T04:12:47.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:12:47.742Z] 63d7cb157983: Pull complete [2021-04-13T04:12:47.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:12:47.854Z] Configure a credential helper to remove this warning. See [2021-04-13T04:12:47.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:12:47.854Z] [2021-04-13T04:12:47.854Z] Login Succeeded [2021-04-13T04:12:47.854Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:12:47.865Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-04-13T04:12:48.018Z] b116817d02f9: Pull complete [Pipeline] unstash [Pipeline] echo [2021-04-13T04:12:48.215Z] ========================================================= [2021-04-13T04:12:48.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-13T04:12:48.215Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:12:48.573Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-13T04:12:48.573Z] Sending build context to Docker daemon 570.4kB [2021-04-13T04:12:48.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:12:48.573Z] Step 2/8 : FROM ${BASE} [2021-04-13T04:12:48.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-13T04:12:48.573Z] 188c0c94c7c5: Pulling fs layer [2021-04-13T04:12:48.573Z] 0ef7d3d256c8: Pulling fs layer [2021-04-13T04:12:48.573Z] de9db76c5a1d: Pulling fs layer [2021-04-13T04:12:48.573Z] bca2f99d35d6: Pulling fs layer [2021-04-13T04:12:48.573Z] 93359f2a8cfa: Pulling fs layer [2021-04-13T04:12:48.573Z] 7c6f9722023f: Pulling fs layer [2021-04-13T04:12:48.573Z] a35cf1a2eb13: Pulling fs layer [2021-04-13T04:12:48.573Z] 93359f2a8cfa: Waiting [2021-04-13T04:12:48.573Z] 7c6f9722023f: Waiting [2021-04-13T04:12:48.573Z] a35cf1a2eb13: Waiting [2021-04-13T04:12:48.573Z] bca2f99d35d6: Waiting [2021-04-13T04:12:48.837Z] de9db76c5a1d: Verifying Checksum [2021-04-13T04:12:48.837Z] de9db76c5a1d: Download complete [2021-04-13T04:12:48.837Z] 0ef7d3d256c8: Download complete [2021-04-13T04:12:48.837Z] 93359f2a8cfa: Verifying Checksum [2021-04-13T04:12:48.837Z] 93359f2a8cfa: Download complete [2021-04-13T04:12:48.837Z] 188c0c94c7c5: Verifying Checksum [2021-04-13T04:12:48.837Z] 188c0c94c7c5: Download complete [2021-04-13T04:12:48.837Z] 7c6f9722023f: Verifying Checksum [2021-04-13T04:12:48.837Z] 7c6f9722023f: Download complete [2021-04-13T04:12:49.107Z] 188c0c94c7c5: Pull complete [2021-04-13T04:12:49.371Z] 0ef7d3d256c8: Pull complete [2021-04-13T04:12:49.371Z] de9db76c5a1d: Pull complete [2021-04-13T04:12:50.768Z] a35cf1a2eb13: Verifying Checksum [2021-04-13T04:12:50.768Z] a35cf1a2eb13: Download complete [2021-04-13T04:12:51.034Z] bca2f99d35d6: Download complete [2021-04-13T04:12:51.424Z] 745a02a5169b: Pull complete [2021-04-13T04:12:51.696Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-13T04:12:51.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-13T04:12:51.696Z] ---> b7e6874047d6 [2021-04-13T04:12:51.696Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-13T04:12:54.314Z] ---> Running in 6167cbd2feb2 [2021-04-13T04:12:54.588Z] Removing intermediate container 6167cbd2feb2 [2021-04-13T04:12:54.588Z] ---> f6a6558aa94d [2021-04-13T04:12:54.588Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:12:54.861Z] ---> Running in 17b156275099 [2021-04-13T04:12:57.492Z] Removing intermediate container 17b156275099 [2021-04-13T04:12:57.492Z] ---> 2860caa4af48 [2021-04-13T04:12:57.492Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:12:57.492Z] ---> Running in 000eebc1c640 [2021-04-13T04:12:57.654Z] bca2f99d35d6: Pull complete [2021-04-13T04:12:57.654Z] 93359f2a8cfa: Pull complete [2021-04-13T04:12:57.654Z] 7c6f9722023f: Pull complete [2021-04-13T04:12:58.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:12:59.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:13:00.059Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-13T04:13:00.059Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-13T04:13:00.059Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-13T04:13:00.059Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-13T04:13:00.329Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-13T04:13:00.329Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-13T04:13:00.329Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-13T04:13:00.601Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-13T04:13:00.880Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-13T04:13:00.880Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-13T04:13:01.152Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-13T04:13:01.152Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-13T04:13:01.152Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-13T04:13:01.427Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T04:13:01.427Z] OK: 149 MiB in 52 packages [2021-04-13T04:13:02.857Z] Removing intermediate container 000eebc1c640 [2021-04-13T04:13:02.857Z] ---> d05a8057f96e [2021-04-13T04:13:02.857Z] Step 6/8 : WORKDIR /device-modbus-go [2021-04-13T04:13:02.983Z] a35cf1a2eb13: Pull complete [2021-04-13T04:13:02.983Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-13T04:13:02.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-13T04:13:02.983Z] ---> a62c8e92a672 [2021-04-13T04:13:02.983Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-13T04:13:03.132Z] ---> Running in cb379b4aa8ca [2021-04-13T04:13:03.247Z] ---> Running in 783e2e17a740 [2021-04-13T04:13:03.409Z] Removing intermediate container cb379b4aa8ca [2021-04-13T04:13:03.409Z] ---> 9373b21f69c9 [2021-04-13T04:13:03.409Z] Step 7/8 : COPY . . [2021-04-13T04:13:03.512Z] Removing intermediate container 783e2e17a740 [2021-04-13T04:13:03.512Z] ---> 9a2117695a3a [2021-04-13T04:13:03.512Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:13:03.512Z] ---> Running in d58f48e377d2 [2021-04-13T04:13:04.844Z] ---> f41bb2fd9c1e [2021-04-13T04:13:04.844Z] Step 8/8 : RUN go mod download [2021-04-13T04:13:04.844Z] ---> Running in 9a969cf1d04f [2021-04-13T04:13:04.930Z] Removing intermediate container d58f48e377d2 [2021-04-13T04:13:04.930Z] ---> 96aa2a2c6763 [2021-04-13T04:13:04.930Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:13:04.930Z] ---> Running in 7090d5f17ccd [2021-04-13T04:13:05.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:13:06.090Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:13:06.354Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-13T04:13:06.617Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-13T04:13:06.617Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-13T04:13:06.617Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-13T04:13:06.881Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-13T04:13:06.881Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-13T04:13:06.881Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-13T04:13:07.455Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-13T04:13:07.455Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-13T04:13:07.455Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-13T04:13:07.455Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-13T04:13:07.720Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-13T04:13:07.720Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-13T04:13:07.720Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T04:13:07.720Z] OK: 173 MiB in 52 packages [2021-04-13T04:13:09.115Z] Removing intermediate container 7090d5f17ccd [2021-04-13T04:13:09.115Z] ---> 6e5de2675138 [2021-04-13T04:13:09.115Z] Step 6/8 : WORKDIR /device-modbus-go [2021-04-13T04:13:09.115Z] ---> Running in 6174faa762cf [2021-04-13T04:13:09.115Z] Removing intermediate container 6174faa762cf [2021-04-13T04:13:09.115Z] ---> 09819562f355 [2021-04-13T04:13:09.115Z] Step 7/8 : COPY . . [2021-04-13T04:13:10.065Z] ---> 1e0e8c668ea0 [2021-04-13T04:13:10.065Z] Step 8/8 : RUN go mod download [2021-04-13T04:13:10.065Z] ---> Running in be0072454ca4 [2021-04-13T04:13:32.107Z] Removing intermediate container be0072454ca4 [2021-04-13T04:13:32.107Z] ---> 56f77aa48334 [2021-04-13T04:13:32.107Z] Successfully built 56f77aa48334 [2021-04-13T04:13:32.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:13:32.687Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T04:13:32.687Z] . [Pipeline] withDockerContainer [2021-04-13T04:13:32.821Z] prd-centos7-docker-4c-2g-33830 does not seem to be running inside a container [2021-04-13T04:13:32.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-13T04:13:33.904Z] $ docker top 4543f3d1c0e85ece27cb237c5a6768cdf8226710767ee078609701e0da05b8e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:13:34.508Z] + go version [2021-04-13T04:13:34.508Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-13T04:13:34.518Z] $ docker stop --time=1 4543f3d1c0e85ece27cb237c5a6768cdf8226710767ee078609701e0da05b8e8 [2021-04-13T04:13:35.955Z] $ docker rm -f 4543f3d1c0e85ece27cb237c5a6768cdf8226710767ee078609701e0da05b8e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:13:36.791Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T04:13:36.791Z] . [Pipeline] withDockerContainer [2021-04-13T04:13:36.903Z] prd-centos7-docker-4c-2g-33830 does not seem to be running inside a container [2021-04-13T04:13:36.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-13T04:13:37.185Z] Removing intermediate container 9a969cf1d04f [2021-04-13T04:13:37.185Z] ---> 2c6c54c71846 [2021-04-13T04:13:37.185Z] Successfully built 2c6c54c71846 [2021-04-13T04:13:37.185Z] Successfully tagged ci-base-image-arm64:latest [2021-04-13T04:13:37.547Z] $ docker top 33919c2c64fc4a1f76dee9f02639971da6dd34817619f6bfd2a44c343988e92e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:13:38.018Z] + make test [2021-04-13T04:13:38.018Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-13T04:13:38.131Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T04:13:38.131Z] . [Pipeline] withDockerContainer [2021-04-13T04:13:38.405Z] prd-ubuntu18.04-docker-arm64-4c-16g-33829 does not seem to be running inside a container [2021-04-13T04:13:38.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-13T04:13:39.422Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-04-13T04:13:40.043Z] $ docker top 3b041ad5210977ff9b802e8e120ff2cfbb7c744a7e5475dbe324a58dcd3d4821 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:13:41.049Z] + go version [2021-04-13T04:13:41.049Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-13T04:13:41.077Z] $ docker stop --time=1 3b041ad5210977ff9b802e8e120ff2cfbb7c744a7e5475dbe324a58dcd3d4821 [2021-04-13T04:13:43.016Z] $ docker rm -f 3b041ad5210977ff9b802e8e120ff2cfbb7c744a7e5475dbe324a58dcd3d4821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:13:44.050Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T04:13:44.050Z] . [Pipeline] withDockerContainer [2021-04-13T04:13:44.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-33829 does not seem to be running inside a container [2021-04-13T04:13:44.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-13T04:13:45.896Z] $ docker top 36966e5f4168ff989dd102aec2ec813525113133b6bcbdaeb4a1e89f42266a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:13:46.878Z] + make test [2021-04-13T04:13:46.878Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-13T04:13:48.320Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-04-13T04:13:54.471Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-04-13T04:13:54.471Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 50.1% of statements [2021-04-13T04:13:54.471Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-13T04:13:55.429Z] gofmt -l . [2021-04-13T04:13:55.429Z] [ "`gofmt -l .`" = "" ] [2021-04-13T04:13:55.692Z] ./bin/test-attribution-txt.sh [2021-04-13T04:13:56.640Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-13T04:13:56.913Z] $ docker stop --time=1 33919c2c64fc4a1f76dee9f02639971da6dd34817619f6bfd2a44c343988e92e [2021-04-13T04:13:59.533Z] $ docker rm -f 33919c2c64fc4a1f76dee9f02639971da6dd34817619f6bfd2a44c343988e92e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T04:14:00.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T04:14:00.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-13T04:14:03.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-13T04:14:03.557Z] + ls -al . [2021-04-13T04:14:03.557Z] total 112 [2021-04-13T04:14:03.557Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 13 04:13 . [2021-04-13T04:14:03.557Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 13 04:12 .. [2021-04-13T04:14:03.557Z] -rw-rw-r--. 1 jenkins jenkins 7127 Apr 13 04:12 Attribution.txt [2021-04-13T04:14:03.557Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 13 04:12 bin [2021-04-13T04:14:03.557Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 13 04:12 cmd [2021-04-13T04:14:03.557Z] -rw-r--r--. 1 jenkins jenkins 23236 Apr 13 04:13 coverage.out [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 1457 Apr 13 04:12 Dockerfile [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 995 Apr 13 04:12 Dockerfile.build [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 13 04:12 .dockerignore [2021-04-13T04:14:03.558Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 13 04:12 .git [2021-04-13T04:14:03.558Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 13 04:12 .github [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 13 04:12 .gitignore [2021-04-13T04:14:03.558Z] -rw-r--r--. 1 jenkins jenkins 377 Apr 13 04:13 go.mod [2021-04-13T04:14:03.558Z] -rw-r--r--. 1 jenkins jenkins 21757 Apr 13 04:13 go.sum [2021-04-13T04:14:03.558Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 13 04:12 internal [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 679 Apr 13 04:12 Jenkinsfile [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 13 04:12 LICENSE [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 930 Apr 13 04:12 Makefile [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 1088 Apr 13 04:12 README.md [2021-04-13T04:14:03.558Z] drwxrwxr-x. 2 jenkins jenkins 52 Apr 13 04:12 simulator [2021-04-13T04:14:03.558Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 13 04:12 snap [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 13 04:10 VERSION [2021-04-13T04:14:03.558Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 13 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:03.866Z] + 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=7442c446029449b320f0bdc33bd24bf2850fc7a2 --label arch=amd64 --label version=1.3.2-dev.3 . [2021-04-13T04:14:04.137Z] Sending build context to Docker daemon 594.4kB [2021-04-13T04:14:04.137Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:14:04.137Z] Step 2/21 : FROM ${BASE} AS builder [2021-04-13T04:14:04.137Z] ---> 56f77aa48334 [2021-04-13T04:14:04.137Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:14:04.402Z] ---> Running in c3e7783f6465 [2021-04-13T04:14:05.373Z] Removing intermediate container c3e7783f6465 [2021-04-13T04:14:05.373Z] ---> 94c5bf44902c [2021-04-13T04:14:05.373Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:14:05.642Z] ---> Running in be906314a741 [2021-04-13T04:14:05.906Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:14:06.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:14:07.133Z] OK: 173 MiB in 52 packages [2021-04-13T04:14:07.727Z] Removing intermediate container be906314a741 [2021-04-13T04:14:07.727Z] ---> 8064b13671ad [2021-04-13T04:14:07.727Z] Step 5/21 : WORKDIR /device-modbus-go [2021-04-13T04:14:07.727Z] ---> Running in e564da65a09c [2021-04-13T04:14:07.727Z] Removing intermediate container e564da65a09c [2021-04-13T04:14:07.727Z] ---> 7bc93fa058bf [2021-04-13T04:14:07.727Z] Step 6/21 : COPY . . [2021-04-13T04:14:08.690Z] ---> 67eaab023887 [2021-04-13T04:14:08.690Z] Step 7/21 : RUN go mod download [2021-04-13T04:14:08.690Z] ---> Running in 32993e410378 [2021-04-13T04:14:09.656Z] Removing intermediate container 32993e410378 [2021-04-13T04:14:09.656Z] ---> 29241e8597cc [2021-04-13T04:14:09.656Z] Step 8/21 : RUN make build [2021-04-13T04:14:09.923Z] ---> Running in fafbf409d926 [2021-04-13T04:14:10.510Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.3" -o cmd/device-modbus ./cmd [2021-04-13T04:14:22.899Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-13T04:14:25.451Z] Removing intermediate container fafbf409d926 [2021-04-13T04:14:25.451Z] ---> ffb919964049 [2021-04-13T04:14:25.451Z] Step 9/21 : FROM alpine:3.12 [2021-04-13T04:14:26.398Z] 3.12: Pulling from library/alpine [2021-04-13T04:14:26.399Z] 532819f3e44c: Pulling fs layer [2021-04-13T04:14:26.399Z] 532819f3e44c: Verifying Checksum [2021-04-13T04:14:26.399Z] 532819f3e44c: Download complete [2021-04-13T04:14:26.660Z] 532819f3e44c: Pull complete [2021-04-13T04:14:26.660Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T04:14:26.660Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T04:14:26.660Z] ---> 7230e588e954 [2021-04-13T04:14:26.660Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-04-13T04:14:26.923Z] ---> Running in 4990b1dea743 [2021-04-13T04:14:27.185Z] Removing intermediate container 4990b1dea743 [2021-04-13T04:14:27.185Z] ---> f5b147a3ba17 [2021-04-13T04:14:27.185Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:14:27.185Z] ---> Running in 384a987926fa [2021-04-13T04:14:27.377Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-04-13T04:14:27.378Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.037s coverage: 50.1% of statements [2021-04-13T04:14:27.378Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-13T04:14:28.134Z] Removing intermediate container 384a987926fa [2021-04-13T04:14:28.135Z] ---> 0e705bf7a6d0 [2021-04-13T04:14:28.135Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-13T04:14:28.135Z] ---> Running in cab755a5d8c5 [2021-04-13T04:14:28.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:14:29.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:14:29.865Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-13T04:14:29.865Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-13T04:14:30.128Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-13T04:14:30.128Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-13T04:14:31.078Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T04:14:31.078Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-13T04:14:31.078Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T04:14:31.078Z] OK: 8 MiB in 20 packages [2021-04-13T04:14:32.028Z] Removing intermediate container cab755a5d8c5 [2021-04-13T04:14:32.028Z] ---> 2a3899303f8f [2021-04-13T04:14:32.028Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-04-13T04:14:32.979Z] ---> c028ddb5b646 [2021-04-13T04:14:32.979Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-04-13T04:14:33.242Z] ---> 163337f2ed71 [2021-04-13T04:14:33.242Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-04-13T04:14:33.505Z] ---> 3e9a5993baf2 [2021-04-13T04:14:33.505Z] Step 16/21 : EXPOSE 49991 [2021-04-13T04:14:33.505Z] ---> Running in 7ac23ddfe1d2 [2021-04-13T04:14:33.768Z] Removing intermediate container 7ac23ddfe1d2 [2021-04-13T04:14:33.768Z] ---> cfc578261b10 [2021-04-13T04:14:33.768Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-04-13T04:14:33.768Z] ---> Running in 5d75c464791d [2021-04-13T04:14:34.030Z] Removing intermediate container 5d75c464791d [2021-04-13T04:14:34.030Z] ---> 5eef8d91631e [2021-04-13T04:14:34.030Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T04:14:34.030Z] ---> Running in a5c0c6089920 [2021-04-13T04:14:34.030Z] Removing intermediate container a5c0c6089920 [2021-04-13T04:14:34.030Z] ---> 71f60af3b0d9 [2021-04-13T04:14:34.030Z] Step 19/21 : LABEL arch=amd64 [2021-04-13T04:14:34.293Z] ---> Running in b156f6409fd5 [2021-04-13T04:14:34.293Z] Removing intermediate container b156f6409fd5 [2021-04-13T04:14:34.293Z] ---> 7f8aa39d3828 [2021-04-13T04:14:34.293Z] Step 20/21 : LABEL git_sha=7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:14:34.556Z] ---> Running in 16c01682f061 [2021-04-13T04:14:34.556Z] Removing intermediate container 16c01682f061 [2021-04-13T04:14:34.557Z] ---> 470698d66f83 [2021-04-13T04:14:34.557Z] Step 21/21 : LABEL version=1.3.2-dev.3 [2021-04-13T04:14:34.557Z] ---> Running in 38033e49806e [2021-04-13T04:14:34.819Z] Removing intermediate container 38033e49806e [2021-04-13T04:14:34.819Z] ---> 9f1f85bc2588 [2021-04-13T04:14:34.819Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T04:14:34.819Z] Successfully built 9f1f85bc2588 [2021-04-13T04:14:34.819Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:14:35.175Z] provisioning config files... [2021-04-13T04:14:35.203Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config5155774993444958332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:14:35.588Z] ---> docker-login.sh [2021-04-13T04:14:35.588Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:14:35.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:14:35.688Z] gofmt -l . [2021-04-13T04:14:35.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:14:35.851Z] Configure a credential helper to remove this warning. See [2021-04-13T04:14:35.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:14:35.851Z] [2021-04-13T04:14:35.851Z] Login Succeeded [2021-04-13T04:14:35.851Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:14:35.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:14:35.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:14:35.851Z] Configure a credential helper to remove this warning. See [2021-04-13T04:14:35.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:14:35.851Z] [2021-04-13T04:14:35.851Z] Login Succeeded [2021-04-13T04:14:35.851Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:14:35.961Z] [ "`gofmt -l .`" = "" ] [2021-04-13T04:14:35.961Z] ./bin/test-attribution-txt.sh [2021-04-13T04:14:36.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:14:36.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:14:36.119Z] Configure a credential helper to remove this warning. See [2021-04-13T04:14:36.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:14:36.119Z] [2021-04-13T04:14:36.119Z] Login Succeeded [2021-04-13T04:14:36.119Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:14:36.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:14:36.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:14:36.383Z] Configure a credential helper to remove this warning. See [2021-04-13T04:14:36.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:14:36.383Z] [2021-04-13T04:14:36.383Z] Login Succeeded [2021-04-13T04:14:36.383Z] docker.io [2021-04-13T04:14:36.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:14:36.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:14:36.645Z] Configure a credential helper to remove this warning. See [2021-04-13T04:14:36.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:14:36.645Z] [2021-04-13T04:14:36.645Z] Login Succeeded [2021-04-13T04:14:36.645Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:14:36.656Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-13T04:14:36.868Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-04-13T04:14:36.868Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:14:36.868Z] latest [2021-04-13T04:14:36.868Z] 1.3.2-dev.3 [2021-04-13T04:14:36.868Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:14:36.868Z] master [2021-04-13T04:14:36.868Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:37.378Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:37.401Z] ./bin/test-go-mod-tidy.sh [2021-04-13T04:14:37.693Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:14:37.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-13T04:14:37.693Z] 6b8033415149: Preparing [2021-04-13T04:14:37.693Z] f690b45f285f: Preparing [2021-04-13T04:14:37.693Z] 44c461bcd602: Preparing [2021-04-13T04:14:37.693Z] 3518525af5c8: Preparing [2021-04-13T04:14:37.693Z] fa1d88f69bc8: Preparing [2021-04-13T04:14:37.693Z] b0b9881431d7: Preparing [2021-04-13T04:14:37.693Z] b0b9881431d7: Waiting [2021-04-13T04:14:37.963Z] f690b45f285f: Pushed [2021-04-13T04:14:37.963Z] 6b8033415149: Pushed [2021-04-13T04:14:37.963Z] fa1d88f69bc8: Pushed [2021-04-13T04:14:37.963Z] b0b9881431d7: Layer already exists [2021-04-13T04:14:37.963Z] 3518525af5c8: Pushed [Pipeline] } [2021-04-13T04:14:38.037Z] $ docker stop --time=1 36966e5f4168ff989dd102aec2ec813525113133b6bcbdaeb4a1e89f42266a0a [2021-04-13T04:14:38.924Z] 44c461bcd602: Pushed [2021-04-13T04:14:39.206Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2: digest: sha256:04df13b35e7897adc3e3600f51ec9ac9b156ba416717e174113ef9c29bd8a129 size: 1572 [2021-04-13T04:14:40.122Z] $ docker rm -f 36966e5f4168ff989dd102aec2ec813525113133b6bcbdaeb4a1e89f42266a0a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:40.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T04:14:41.063Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-04-13T04:14:41.068Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:41.366Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-04-13T04:14:41.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-13T04:14:41.366Z] 6b8033415149: Preparing [2021-04-13T04:14:41.366Z] f690b45f285f: Preparing [2021-04-13T04:14:41.367Z] 44c461bcd602: Preparing [2021-04-13T04:14:41.367Z] 3518525af5c8: Preparing [2021-04-13T04:14:41.367Z] fa1d88f69bc8: Preparing [2021-04-13T04:14:41.367Z] b0b9881431d7: Preparing [2021-04-13T04:14:41.367Z] b0b9881431d7: Waiting [2021-04-13T04:14:41.367Z] 6b8033415149: Layer already exists [2021-04-13T04:14:41.367Z] 3518525af5c8: Layer already exists [2021-04-13T04:14:41.367Z] fa1d88f69bc8: Layer already exists [2021-04-13T04:14:41.367Z] 44c461bcd602: Layer already exists [2021-04-13T04:14:41.367Z] f690b45f285f: Layer already exists [2021-04-13T04:14:41.367Z] b0b9881431d7: Layer already exists [2021-04-13T04:14:41.367Z] latest: digest: sha256:04df13b35e7897adc3e3600f51ec9ac9b156ba416717e174113ef9c29bd8a129 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:41.678Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:41.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-13T04:14:41.986Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.3 [2021-04-13T04:14:41.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-13T04:14:41.986Z] 6b8033415149: Preparing [2021-04-13T04:14:41.986Z] f690b45f285f: Preparing [2021-04-13T04:14:41.986Z] 44c461bcd602: Preparing [2021-04-13T04:14:41.986Z] 3518525af5c8: Preparing [2021-04-13T04:14:41.986Z] fa1d88f69bc8: Preparing [2021-04-13T04:14:41.986Z] b0b9881431d7: Preparing [2021-04-13T04:14:41.986Z] b0b9881431d7: Waiting [2021-04-13T04:14:41.986Z] 6b8033415149: Layer already exists [2021-04-13T04:14:41.986Z] 44c461bcd602: Layer already exists [2021-04-13T04:14:41.986Z] fa1d88f69bc8: Layer already exists [2021-04-13T04:14:41.986Z] f690b45f285f: Layer already exists [2021-04-13T04:14:41.986Z] 3518525af5c8: Layer already exists [2021-04-13T04:14:41.986Z] b0b9881431d7: Layer already exists [2021-04-13T04:14:41.986Z] 1.3.2-dev.3: digest: sha256:04df13b35e7897adc3e3600f51ec9ac9b156ba416717e174113ef9c29bd8a129 size: 1572 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:14:42.452Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:42.745Z] + sudo chown -R jenkins:jenkins . [2021-04-13T04:14:42.800Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:14:42.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-13T04:14:42.800Z] 6b8033415149: Preparing [2021-04-13T04:14:42.800Z] f690b45f285f: Preparing [2021-04-13T04:14:42.800Z] 44c461bcd602: Preparing [2021-04-13T04:14:42.800Z] 3518525af5c8: Preparing [2021-04-13T04:14:42.800Z] fa1d88f69bc8: Preparing [2021-04-13T04:14:42.800Z] b0b9881431d7: Preparing [2021-04-13T04:14:42.800Z] b0b9881431d7: Waiting [2021-04-13T04:14:42.800Z] 3518525af5c8: Layer already exists [2021-04-13T04:14:42.800Z] fa1d88f69bc8: Layer already exists [2021-04-13T04:14:42.800Z] 44c461bcd602: Layer already exists [2021-04-13T04:14:42.800Z] 6b8033415149: Layer already exists [2021-04-13T04:14:42.800Z] f690b45f285f: Layer already exists [2021-04-13T04:14:42.800Z] b0b9881431d7: Layer already exists [2021-04-13T04:14:42.800Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3: digest: sha256:04df13b35e7897adc3e3600f51ec9ac9b156ba416717e174113ef9c29bd8a129 size: 1572 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:43.153Z] + ls -al . [2021-04-13T04:14:43.153Z] total 144 [2021-04-13T04:14:43.153Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 04:14 . [2021-04-13T04:14:43.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:12 .. [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 04:12 .dockerignore [2021-04-13T04:14:43.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 04:12 .git [2021-04-13T04:14:43.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:12 .github [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 13 04:12 .gitignore [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 7127 Apr 13 04:12 Attribution.txt [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 1457 Apr 13 04:12 Dockerfile [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 995 Apr 13 04:12 Dockerfile.build [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 13 04:12 Jenkinsfile [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 04:12 LICENSE [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 930 Apr 13 04:12 Makefile [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 1088 Apr 13 04:12 README.md [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 13 04:10 VERSION [2021-04-13T04:14:43.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:12 bin [2021-04-13T04:14:43.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 04:12 cmd [2021-04-13T04:14:43.153Z] -rw-r--r-- 1 jenkins jenkins 23236 Apr 13 04:14 coverage.out [2021-04-13T04:14:43.153Z] -rw-r--r-- 1 jenkins jenkins 377 Apr 13 04:14 go.mod [2021-04-13T04:14:43.153Z] -rw-r--r-- 1 jenkins jenkins 21757 Apr 13 04:14 go.sum [2021-04-13T04:14:43.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 04:12 internal [2021-04-13T04:14:43.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:12 simulator [2021-04-13T04:14:43.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:12 snap [2021-04-13T04:14:43.153Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:43.226Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:14:43.561Z] + 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=7442c446029449b320f0bdc33bd24bf2850fc7a2 --label arch=arm64 --label version=1.3.2-dev.3 . [2021-04-13T04:14:43.635Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-04-13T04:14:43.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-13T04:14:43.635Z] 6b8033415149: Preparing [2021-04-13T04:14:43.635Z] f690b45f285f: Preparing [2021-04-13T04:14:43.635Z] 44c461bcd602: Preparing [2021-04-13T04:14:43.635Z] 3518525af5c8: Preparing [2021-04-13T04:14:43.635Z] fa1d88f69bc8: Preparing [2021-04-13T04:14:43.635Z] b0b9881431d7: Preparing [2021-04-13T04:14:43.635Z] b0b9881431d7: Waiting [2021-04-13T04:14:43.635Z] fa1d88f69bc8: Layer already exists [2021-04-13T04:14:43.635Z] f690b45f285f: Layer already exists [2021-04-13T04:14:43.635Z] 44c461bcd602: Layer already exists [2021-04-13T04:14:43.635Z] 6b8033415149: Layer already exists [2021-04-13T04:14:43.635Z] 3518525af5c8: Layer already exists [2021-04-13T04:14:43.635Z] b0b9881431d7: Layer already exists [2021-04-13T04:14:43.635Z] master: digest: sha256:04df13b35e7897adc3e3600f51ec9ac9b156ba416717e174113ef9c29bd8a129 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-13T04:14:43.840Z] ===================================================== [2021-04-13T04:14:43.856Z] Sending build context to Docker daemon 593.4kB [Pipeline] echo [2021-04-13T04:14:43.889Z] taggedImages: [2021-04-13T04:14:43.889Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:14:43.889Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-04-13T04:14:43.889Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.3 [2021-04-13T04:14:43.889Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:14:43.889Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-13T04:14:44.136Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:14:44.137Z] Step 2/21 : FROM ${BASE} AS builder [2021-04-13T04:14:44.137Z] ---> 2c6c54c71846 [2021-04-13T04:14:44.137Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-04-13T04:14:44.410Z] ---> Running in a2149de53815 [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:14:44.761Z] ---> job-cost.sh [2021-04-13T04:14:44.761Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NhQT [2021-04-13T04:14:46.391Z] Removing intermediate container a2149de53815 [2021-04-13T04:14:46.391Z] ---> d6a41d72b2ef [2021-04-13T04:14:46.391Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:14:46.669Z] ---> Running in 3d6cce2e4a2f [2021-04-13T04:14:47.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:14:48.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:14:49.218Z] OK: 149 MiB in 52 packages [2021-04-13T04:14:50.194Z] Removing intermediate container 3d6cce2e4a2f [2021-04-13T04:14:50.194Z] ---> adce61606d5f [2021-04-13T04:14:50.194Z] Step 5/21 : WORKDIR /device-modbus-go [2021-04-13T04:14:50.194Z] ---> Running in 391115e50cae [2021-04-13T04:14:50.791Z] Removing intermediate container 391115e50cae [2021-04-13T04:14:50.791Z] ---> 996d02767cb4 [2021-04-13T04:14:50.791Z] Step 6/21 : COPY . . [2021-04-13T04:14:51.774Z] ---> 6e67bd77218c [2021-04-13T04:14:51.774Z] Step 7/21 : RUN go mod download [2021-04-13T04:14:51.774Z] ---> Running in 9999d8622f03 [2021-04-13T04:14:54.410Z] Removing intermediate container 9999d8622f03 [2021-04-13T04:14:54.410Z] ---> d880d1db63ee [2021-04-13T04:14:54.410Z] Step 8/21 : RUN make build [2021-04-13T04:14:54.410Z] ---> Running in fa6ab4aaacb3 [2021-04-13T04:14:55.389Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.3" -o cmd/device-modbus ./cmd [2021-04-13T04:14:59.694Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T04:15:26.393Z] lf-activate-venv(): INFO: Adding /tmp/venv-NhQT/bin to PATH [2021-04-13T04:15:26.393Z] INFO: No Stack... [2021-04-13T04:15:26.968Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T04:15:27.811Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-13T04:15:27.917Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T04:15:28.228Z] + cat /w/workspace/device-modbus-go/41/archives/cost.csv [2021-04-13T04:15:28.228Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T04:15:28.309Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [2021-04-13T04:15:28.317Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] did not exist. Created. [2021-04-13T04:15:28.317Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T04:15:28.728Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-13T04:15:28.936Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T04:15:28.961Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-13T04:15:40.217Z] Removing intermediate container fa6ab4aaacb3 [2021-04-13T04:15:40.217Z] ---> da1267ed6359 [2021-04-13T04:15:40.217Z] Step 9/21 : FROM alpine:3.12 [2021-04-13T04:15:40.217Z] 3.12: Pulling from library/alpine [2021-04-13T04:15:40.217Z] 9a219e8acc52: Pulling fs layer [2021-04-13T04:15:40.217Z] 9a219e8acc52: Download complete [2021-04-13T04:15:40.217Z] 9a219e8acc52: Pull complete [2021-04-13T04:15:40.217Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T04:15:40.217Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T04:15:40.217Z] ---> d75e27dfc0a0 [2021-04-13T04:15:40.217Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-04-13T04:15:40.217Z] ---> Running in e88cd9242fe7 [2021-04-13T04:15:40.491Z] Removing intermediate container e88cd9242fe7 [2021-04-13T04:15:40.491Z] ---> 1a1f1e91f1e9 [2021-04-13T04:15:40.491Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:15:40.764Z] ---> Running in 4d17cc896a42 [2021-04-13T04:15:42.756Z] Removing intermediate container 4d17cc896a42 [2021-04-13T04:15:42.756Z] ---> 3681ff008758 [2021-04-13T04:15:42.756Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-13T04:15:43.031Z] ---> Running in 15a9d436a5e8 [2021-04-13T04:15:44.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:15:44.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:15:45.572Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-13T04:15:45.572Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-13T04:15:45.572Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-13T04:15:45.572Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-13T04:15:45.847Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T04:15:46.119Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-13T04:15:46.119Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T04:15:46.119Z] OK: 8 MiB in 20 packages [2021-04-13T04:15:47.567Z] Removing intermediate container 15a9d436a5e8 [2021-04-13T04:15:47.567Z] ---> f304a8fe24ed [2021-04-13T04:15:47.567Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-04-13T04:15:48.545Z] ---> fa1ef47c4bbd [2021-04-13T04:15:48.545Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-04-13T04:15:49.141Z] ---> 933b47ad0618 [2021-04-13T04:15:49.141Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-04-13T04:15:49.738Z] ---> a44b86b6c5ae [2021-04-13T04:15:49.738Z] Step 16/21 : EXPOSE 49991 [2021-04-13T04:15:50.010Z] ---> Running in f51c760dbe7f [2021-04-13T04:15:50.607Z] Removing intermediate container f51c760dbe7f [2021-04-13T04:15:50.607Z] ---> d7998a37a248 [2021-04-13T04:15:50.607Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-04-13T04:15:50.607Z] ---> Running in 87a5bcabe51e [2021-04-13T04:15:51.205Z] Removing intermediate container 87a5bcabe51e [2021-04-13T04:15:51.205Z] ---> 3d85d17ac811 [2021-04-13T04:15:51.205Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T04:15:51.205Z] ---> Running in 51e27bdea683 [2021-04-13T04:15:51.803Z] Removing intermediate container 51e27bdea683 [2021-04-13T04:15:51.803Z] ---> 214d5fd77ec3 [2021-04-13T04:15:51.803Z] Step 19/21 : LABEL arch=arm64 [2021-04-13T04:15:51.803Z] ---> Running in 7ea245824f79 [2021-04-13T04:15:52.400Z] Removing intermediate container 7ea245824f79 [2021-04-13T04:15:52.400Z] ---> 2dbb8663b58a [2021-04-13T04:15:52.400Z] Step 20/21 : LABEL git_sha=7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:15:52.400Z] ---> Running in e772dabfcb53 [2021-04-13T04:15:53.000Z] Removing intermediate container e772dabfcb53 [2021-04-13T04:15:53.000Z] ---> 524c33514e08 [2021-04-13T04:15:53.000Z] Step 21/21 : LABEL version=1.3.2-dev.3 [2021-04-13T04:15:53.000Z] ---> Running in 9ce95a6352b4 [2021-04-13T04:15:53.596Z] Removing intermediate container 9ce95a6352b4 [2021-04-13T04:15:53.596Z] ---> 246d1a130f47 [2021-04-13T04:15:53.596Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T04:15:53.596Z] Successfully built 246d1a130f47 [2021-04-13T04:15:53.596Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:15:54.079Z] provisioning config files... [2021-04-13T04:15:54.128Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config2095131369512364247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:15:54.533Z] ---> docker-login.sh [2021-04-13T04:15:54.533Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:15:54.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:15:54.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:15:54.809Z] Configure a credential helper to remove this warning. See [2021-04-13T04:15:54.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:15:54.809Z] [2021-04-13T04:15:54.809Z] Login Succeeded [2021-04-13T04:15:55.081Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:15:55.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:15:55.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:15:55.357Z] Configure a credential helper to remove this warning. See [2021-04-13T04:15:55.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:15:55.357Z] [2021-04-13T04:15:55.357Z] Login Succeeded [2021-04-13T04:15:55.357Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:15:55.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:15:55.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:15:55.953Z] Configure a credential helper to remove this warning. See [2021-04-13T04:15:55.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:15:55.953Z] [2021-04-13T04:15:55.953Z] Login Succeeded [2021-04-13T04:15:55.953Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:15:56.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:15:56.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:15:56.550Z] Configure a credential helper to remove this warning. See [2021-04-13T04:15:56.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:15:56.550Z] [2021-04-13T04:15:56.550Z] Login Succeeded [2021-04-13T04:15:56.550Z] docker.io [2021-04-13T04:15:57.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:15:57.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:15:57.422Z] Configure a credential helper to remove this warning. See [2021-04-13T04:15:57.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:15:57.422Z] [2021-04-13T04:15:57.422Z] Login Succeeded [2021-04-13T04:15:57.422Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:15:57.439Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-13T04:15:57.663Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-04-13T04:15:57.663Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:15:57.663Z] latest [2021-04-13T04:15:57.663Z] 1.3.2-dev.3 [2021-04-13T04:15:57.663Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:15:57.663Z] master [2021-04-13T04:15:57.663Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:15:58.219Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:15:58.560Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:15:58.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-13T04:15:58.560Z] 1eed3a84a22f: Preparing [2021-04-13T04:15:58.560Z] 71184930e73e: Preparing [2021-04-13T04:15:58.560Z] ef8ca935198f: Preparing [2021-04-13T04:15:58.560Z] a874d4de27f5: Preparing [2021-04-13T04:15:58.560Z] ce775a0edb3e: Preparing [2021-04-13T04:15:58.560Z] e08058ee1dfe: Preparing [2021-04-13T04:15:58.560Z] e08058ee1dfe: Waiting [2021-04-13T04:15:58.845Z] ce775a0edb3e: Pushed [2021-04-13T04:15:58.845Z] 71184930e73e: Pushed [2021-04-13T04:15:58.845Z] 1eed3a84a22f: Pushed [2021-04-13T04:15:58.845Z] e08058ee1dfe: Layer already exists [2021-04-13T04:15:59.440Z] a874d4de27f5: Pushed [2021-04-13T04:16:02.045Z] ef8ca935198f: Pushed [2021-04-13T04:16:02.045Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2: digest: sha256:9c362d84ed7ede9dd0cbaf26ea88bd43c499d8fbee30aa1df6b53b882ebe533d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:02.396Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:02.734Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-04-13T04:16:02.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-13T04:16:02.734Z] 1eed3a84a22f: Preparing [2021-04-13T04:16:02.734Z] 71184930e73e: Preparing [2021-04-13T04:16:02.734Z] ef8ca935198f: Preparing [2021-04-13T04:16:02.734Z] a874d4de27f5: Preparing [2021-04-13T04:16:02.734Z] ce775a0edb3e: Preparing [2021-04-13T04:16:02.734Z] e08058ee1dfe: Preparing [2021-04-13T04:16:02.734Z] e08058ee1dfe: Waiting [2021-04-13T04:16:02.734Z] 71184930e73e: Layer already exists [2021-04-13T04:16:02.734Z] 1eed3a84a22f: Layer already exists [2021-04-13T04:16:02.734Z] a874d4de27f5: Layer already exists [2021-04-13T04:16:02.734Z] ef8ca935198f: Layer already exists [2021-04-13T04:16:02.734Z] ce775a0edb3e: Layer already exists [2021-04-13T04:16:03.006Z] e08058ee1dfe: Layer already exists [2021-04-13T04:16:03.007Z] latest: digest: sha256:9c362d84ed7ede9dd0cbaf26ea88bd43c499d8fbee30aa1df6b53b882ebe533d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:03.349Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:03.683Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.3 [2021-04-13T04:16:03.683Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-13T04:16:03.683Z] 1eed3a84a22f: Preparing [2021-04-13T04:16:03.683Z] 71184930e73e: Preparing [2021-04-13T04:16:03.683Z] ef8ca935198f: Preparing [2021-04-13T04:16:03.683Z] a874d4de27f5: Preparing [2021-04-13T04:16:03.683Z] ce775a0edb3e: Preparing [2021-04-13T04:16:03.683Z] e08058ee1dfe: Preparing [2021-04-13T04:16:03.683Z] e08058ee1dfe: Waiting [2021-04-13T04:16:03.683Z] 71184930e73e: Layer already exists [2021-04-13T04:16:03.683Z] 1eed3a84a22f: Layer already exists [2021-04-13T04:16:03.953Z] ce775a0edb3e: Layer already exists [2021-04-13T04:16:03.953Z] ef8ca935198f: Layer already exists [2021-04-13T04:16:03.953Z] a874d4de27f5: Layer already exists [2021-04-13T04:16:03.953Z] e08058ee1dfe: Layer already exists [2021-04-13T04:16:03.953Z] 1.3.2-dev.3: digest: sha256:9c362d84ed7ede9dd0cbaf26ea88bd43c499d8fbee30aa1df6b53b882ebe533d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:04.295Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:04.635Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:16:04.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-13T04:16:04.635Z] 1eed3a84a22f: Preparing [2021-04-13T04:16:04.635Z] 71184930e73e: Preparing [2021-04-13T04:16:04.635Z] ef8ca935198f: Preparing [2021-04-13T04:16:04.635Z] a874d4de27f5: Preparing [2021-04-13T04:16:04.635Z] ce775a0edb3e: Preparing [2021-04-13T04:16:04.635Z] e08058ee1dfe: Preparing [2021-04-13T04:16:04.635Z] e08058ee1dfe: Waiting [2021-04-13T04:16:04.907Z] 71184930e73e: Layer already exists [2021-04-13T04:16:04.907Z] ef8ca935198f: Layer already exists [2021-04-13T04:16:04.907Z] 1eed3a84a22f: Layer already exists [2021-04-13T04:16:04.907Z] ce775a0edb3e: Layer already exists [2021-04-13T04:16:04.907Z] a874d4de27f5: Layer already exists [2021-04-13T04:16:04.907Z] e08058ee1dfe: Layer already exists [2021-04-13T04:16:05.177Z] 7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3: digest: sha256:9c362d84ed7ede9dd0cbaf26ea88bd43c499d8fbee30aa1df6b53b882ebe533d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:05.519Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:16:05.851Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-04-13T04:16:05.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-13T04:16:05.851Z] 1eed3a84a22f: Preparing [2021-04-13T04:16:05.851Z] 71184930e73e: Preparing [2021-04-13T04:16:05.851Z] ef8ca935198f: Preparing [2021-04-13T04:16:05.851Z] a874d4de27f5: Preparing [2021-04-13T04:16:05.851Z] ce775a0edb3e: Preparing [2021-04-13T04:16:05.851Z] e08058ee1dfe: Preparing [2021-04-13T04:16:05.851Z] e08058ee1dfe: Waiting [2021-04-13T04:16:05.851Z] 1eed3a84a22f: Layer already exists [2021-04-13T04:16:05.851Z] ce775a0edb3e: Layer already exists [2021-04-13T04:16:05.851Z] 71184930e73e: Layer already exists [2021-04-13T04:16:06.122Z] a874d4de27f5: Layer already exists [2021-04-13T04:16:06.122Z] ef8ca935198f: Layer already exists [2021-04-13T04:16:06.122Z] e08058ee1dfe: Layer already exists [2021-04-13T04:16:06.122Z] master: digest: sha256:9c362d84ed7ede9dd0cbaf26ea88bd43c499d8fbee30aa1df6b53b882ebe533d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-13T04:16:06.355Z] ===================================================== [Pipeline] echo [2021-04-13T04:16:06.411Z] taggedImages: [2021-04-13T04:16:06.411Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2 [2021-04-13T04:16:06.411Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-04-13T04:16:06.411Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.3 [2021-04-13T04:16:06.411Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:7442c446029449b320f0bdc33bd24bf2850fc7a2-1.3.2-dev.3 [2021-04-13T04:16:06.411Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:16:06.963Z] ---> job-cost.sh [2021-04-13T04:16:06.963Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Vk00 [2021-04-13T04:16:45.924Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T04:18:22.677Z] lf-activate-venv(): INFO: Adding /tmp/venv-Vk00/bin to PATH [2021-04-13T04:18:22.677Z] INFO: No Stack... [2021-04-13T04:18:22.677Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-13T04:18:22.677Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T04:18:23.028Z] + cat /w/workspace/device-modbus-go/41/archives/cost.csv [2021-04-13T04:18:23.028Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T04:18:23.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [2021-04-13T04:18:23.154Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] did not exist. Created. [2021-04-13T04:18:23.154Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T04:18:23.619Z] /w/workspace/device-modbus-go/41@tmp/durable-194c8275/script.sh: 1: /w/workspace/device-modbus-go/41@tmp/durable-194c8275/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-13T04:18:23.966Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-13T04:18:24.042Z] Warning: overwriting stash ‘stack-cost’ [2021-04-13T04:18:24.203Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T04:18:24.215Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-13T04:18:25.491Z] provisioning config files... [2021-04-13T04:18:25.502Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1335848928284730548tmp [Pipeline] { [Pipeline] sh [2021-04-13T04:18:25.884Z] + set +x [2021-04-13T04:18:25.884Z] + curl -s https://codecov.io/bash [2021-04-13T04:18:25.884Z] + bash -s -- [2021-04-13T04:18:26.147Z] [2021-04-13T04:18:26.147Z] _____ _ [2021-04-13T04:18:26.147Z] / ____| | | [2021-04-13T04:18:26.147Z] | | ___ __| | ___ ___ _____ __ [2021-04-13T04:18:26.147Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-13T04:18:26.147Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-13T04:18:26.147Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-13T04:18:26.147Z] Bash-20210309-2b87ace [2021-04-13T04:18:26.147Z] [2021-04-13T04:18:26.147Z] [2021-04-13T04:18:26.147Z] ==> git version 2.24.3 found [2021-04-13T04:18:26.147Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-13T04:18:26.147Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-13T04:18:26.147Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-13T04:18:26.147Z] ==> Jenkins CI detected. [2021-04-13T04:18:26.147Z] project root: . [2021-04-13T04:18:26.147Z] --> token set from env [2021-04-13T04:18:26.147Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-13T04:18:26.147Z] ==> Running gcov in . (disable via -X gcov) [2021-04-13T04:18:26.147Z] ==> Python coveragepy not found [2021-04-13T04:18:26.147Z] ==> Searching for coverage reports in: [2021-04-13T04:18:26.147Z] + . [2021-04-13T04:18:26.147Z] -> Found 1 reports [2021-04-13T04:18:26.147Z] ==> Detecting git/mercurial file structure [2021-04-13T04:18:26.147Z] ==> Reading reports [2021-04-13T04:18:26.147Z] + ./coverage.out bytes=23236 [2021-04-13T04:18:26.147Z] ==> Appending adjustments [2021-04-13T04:18:26.147Z] https://docs.codecov.io/docs/fixing-reports [2021-04-13T04:18:26.147Z] + Found adjustments [2021-04-13T04:18:26.147Z] ==> Gzipping contents [2021-04-13T04:18:26.147Z] 8.0K /tmp/codecov.Sux7FL.gz [2021-04-13T04:18:26.147Z] ==> Uploading reports [2021-04-13T04:18:26.147Z] url: https://codecov.io [2021-04-13T04:18:26.147Z] query: branch=master&commit=7442c446029449b320f0bdc33bd24bf2850fc7a2&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-13T04:18:26.147Z] -> Pinging Codecov [2021-04-13T04:18:26.147Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=7442c446029449b320f0bdc33bd24bf2850fc7a2&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-13T04:18:26.722Z] -> Uploading to [2021-04-13T04:18:26.723Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-13/55DBCA73C666E3227836607328DD7E49/7442c446029449b320f0bdc33bd24bf2850fc7a2/fedfeb03-9ca1-4c1d-acbe-e74510488444.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210413T041826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd873a5c4e05eb9bce10855ce60910aaf8091aebab989edade34899a474356c4 [2021-04-13T04:18:26.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-13T04:18:26.723Z] Dload Upload Total Spent Left Speed [2021-04-13T04:18:27.298Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4311 0 0 100 4311 0 10720 --:--:-- --:--:-- --:--:-- 10750 [2021-04-13T04:18:27.298Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] } [2021-04-13T04:18:27.308Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-13T04:18:28.317Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-13T04:18:28.373Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:18:28.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-13T04:18:28.749Z] [2021-04-13T04:18:28.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:18:29.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-13T04:18:29.100Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-13T04:18:29.100Z] 188c0c94c7c5: Pulling fs layer [2021-04-13T04:18:29.100Z] 0ef7d3d256c8: Pulling fs layer [2021-04-13T04:18:29.100Z] de9db76c5a1d: Pulling fs layer [2021-04-13T04:18:29.100Z] 0eba1c9be4d2: Pulling fs layer [2021-04-13T04:18:29.100Z] 0d57e429df01: Pulling fs layer [2021-04-13T04:18:29.100Z] 4e4be7b47b0d: Pulling fs layer [2021-04-13T04:18:29.100Z] e1f770b5df2f: Pulling fs layer [2021-04-13T04:18:29.100Z] 85a0685a4137: Pulling fs layer [2021-04-13T04:18:29.100Z] 0d57e429df01: Waiting [2021-04-13T04:18:29.100Z] 4e4be7b47b0d: Waiting [2021-04-13T04:18:29.100Z] e1f770b5df2f: Waiting [2021-04-13T04:18:29.100Z] 85a0685a4137: Waiting [2021-04-13T04:18:29.100Z] 0eba1c9be4d2: Waiting [2021-04-13T04:18:29.100Z] de9db76c5a1d: Verifying Checksum [2021-04-13T04:18:29.100Z] de9db76c5a1d: Download complete [2021-04-13T04:18:29.100Z] 0ef7d3d256c8: Verifying Checksum [2021-04-13T04:18:29.100Z] 0ef7d3d256c8: Download complete [2021-04-13T04:18:29.100Z] 0d57e429df01: Verifying Checksum [2021-04-13T04:18:29.100Z] 0d57e429df01: Download complete [2021-04-13T04:18:29.100Z] 188c0c94c7c5: Verifying Checksum [2021-04-13T04:18:29.100Z] 4e4be7b47b0d: Verifying Checksum [2021-04-13T04:18:29.100Z] 4e4be7b47b0d: Download complete [2021-04-13T04:18:29.679Z] 188c0c94c7c5: Pull complete [2021-04-13T04:18:29.679Z] 0ef7d3d256c8: Pull complete [2021-04-13T04:18:29.947Z] de9db76c5a1d: Pull complete [2021-04-13T04:18:31.340Z] e1f770b5df2f: Verifying Checksum [2021-04-13T04:18:31.340Z] e1f770b5df2f: Download complete [2021-04-13T04:18:32.754Z] 0eba1c9be4d2: Verifying Checksum [2021-04-13T04:18:32.754Z] 0eba1c9be4d2: Download complete [2021-04-13T04:18:33.334Z] 85a0685a4137: Verifying Checksum [2021-04-13T04:18:33.334Z] 85a0685a4137: Download complete [2021-04-13T04:18:37.570Z] 0eba1c9be4d2: Pull complete [2021-04-13T04:18:37.832Z] 0d57e429df01: Pull complete [2021-04-13T04:18:38.094Z] 4e4be7b47b0d: Pull complete [2021-04-13T04:18:40.684Z] e1f770b5df2f: Pull complete [2021-04-13T04:18:48.873Z] 85a0685a4137: Pull complete [2021-04-13T04:18:48.873Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-13T04:18:48.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-13T04:18:48.873Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-13T04:18:49.075Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:18:49.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-13T04:18:50.108Z] $ docker top f851a6192c598d513d8c2251ceb69f36fa9e1561675f1f121939185bd794bf67 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-13T04:18:50.304Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-13T04:18:50.601Z] + set -o pipefail [2021-04-13T04:18:50.601Z] + snyk monitor '--org=edgex-jenkins' [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/21623c9d-63d9-4cf8-b0a7-ca13aecb32de [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] [2021-04-13T04:18:58.785Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-13T04:18:58.785Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-13T04:18:58.808Z] $ docker stop --time=1 f851a6192c598d513d8c2251ceb69f36fa9e1561675f1f121939185bd794bf67 [2021-04-13T04:19:01.777Z] $ docker rm -f f851a6192c598d513d8c2251ceb69f36fa9e1561675f1f121939185bd794bf67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T04:19:03.400Z] + git log --format=format:%s -1 7442c446029449b320f0bdc33bd24bf2850fc7a2 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:19:03.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:19:03.709Z] . [Pipeline] withDockerContainer [2021-04-13T04:19:03.807Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:19:03.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T04:19:04.641Z] $ docker top abba45f6aa07a9dec276b4e0b90e0a77db098f0108c9bcde07726423a212472b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T04:19:04.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:19:04.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:19:05.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:19:05.166Z] $ docker exec abba45f6aa07a9dec276b4e0b90e0a77db098f0108c9bcde07726423a212472b ssh-agent [2021-04-13T04:19:05.329Z] SSH_AUTH_SOCK=/tmp/ssh-xH7d4XyWtIjJ/agent.13 [2021-04-13T04:19:05.329Z] SSH_AGENT_PID=18 [2021-04-13T04:19:05.337Z] Running ssh-add (command line suppressed) [2021-04-13T04:19:05.468Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5360163708032455981.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5360163708032455981.key) [2021-04-13T04:19:05.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:19:05.869Z] + git semver tag [2021-04-13T04:19:05.869Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T04:19:05.869Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-13T04:19:05.869Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-13T04:19:05.869Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T04:19:05.869Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T04:19:05.869Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T04:19:05.869Z] # $SEMVER_BRANCH = master [2021-04-13T04:19:05.869Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-04-13T04:19:05.869Z] # 7442c446029449b320f0bdc33bd24bf2850fc7a2 HEAD [2021-04-13T04:19:05.869Z] # -> Force: false [2021-04-13T04:19:05.869Z] # 318cec6b7a6966507392dae84d7c7dbf0dd337f9 refs/tags/v1.3.2-dev.3 [Pipeline] } [2021-04-13T04:19:05.882Z] $ docker exec --env ******** --env ******** abba45f6aa07a9dec276b4e0b90e0a77db098f0108c9bcde07726423a212472b ssh-agent -k [2021-04-13T04:19:05.996Z] unset SSH_AUTH_SOCK; [2021-04-13T04:19:05.997Z] unset SSH_AGENT_PID; [2021-04-13T04:19:05.997Z] echo Agent pid 18 killed; [2021-04-13T04:19:06.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T04:19:06.514Z] + git semver [Pipeline] } [2021-04-13T04:19:06.533Z] $ docker stop --time=1 abba45f6aa07a9dec276b4e0b90e0a77db098f0108c9bcde07726423a212472b [2021-04-13T04:19:07.858Z] $ docker rm -f abba45f6aa07a9dec276b4e0b90e0a77db098f0108c9bcde07726423a212472b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:19:08.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-13T04:19:08.512Z] [2021-04-13T04:19:08.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:19:08.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-13T04:19:08.855Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-13T04:19:08.855Z] ab5ef0e58194: Pulling fs layer [2021-04-13T04:19:08.855Z] 9712f1f96733: Pulling fs layer [2021-04-13T04:19:08.855Z] 63f879dbbcfc: Pulling fs layer [2021-04-13T04:19:08.855Z] 0d9ebad4ef96: Pulling fs layer [2021-04-13T04:19:08.855Z] e9a5061849ea: Pulling fs layer [2021-04-13T04:19:08.855Z] d747dcd14b5f: Pulling fs layer [2021-04-13T04:19:08.855Z] 2de7ff778b66: Pulling fs layer [2021-04-13T04:19:08.855Z] e9a5061849ea: Waiting [2021-04-13T04:19:08.855Z] d747dcd14b5f: Waiting [2021-04-13T04:19:08.855Z] 2de7ff778b66: Waiting [2021-04-13T04:19:08.855Z] 0d9ebad4ef96: Waiting [2021-04-13T04:19:08.855Z] 9712f1f96733: Verifying Checksum [2021-04-13T04:19:08.855Z] 9712f1f96733: Download complete [2021-04-13T04:19:10.248Z] 63f879dbbcfc: Verifying Checksum [2021-04-13T04:19:10.248Z] 63f879dbbcfc: Download complete [2021-04-13T04:19:10.511Z] e9a5061849ea: Verifying Checksum [2021-04-13T04:19:10.511Z] e9a5061849ea: Download complete [2021-04-13T04:19:10.511Z] d747dcd14b5f: Download complete [2021-04-13T04:19:10.779Z] 2de7ff778b66: Verifying Checksum [2021-04-13T04:19:10.779Z] 2de7ff778b66: Download complete [2021-04-13T04:19:11.042Z] ab5ef0e58194: Verifying Checksum [2021-04-13T04:19:11.042Z] ab5ef0e58194: Download complete [2021-04-13T04:19:11.042Z] 0d9ebad4ef96: Verifying Checksum [2021-04-13T04:19:11.042Z] 0d9ebad4ef96: Download complete [2021-04-13T04:19:14.521Z] ab5ef0e58194: Pull complete [2021-04-13T04:19:14.811Z] 9712f1f96733: Pull complete [2021-04-13T04:19:16.851Z] 63f879dbbcfc: Pull complete [2021-04-13T04:19:22.170Z] 0d9ebad4ef96: Pull complete [2021-04-13T04:19:23.653Z] e9a5061849ea: Pull complete [2021-04-13T04:19:23.653Z] d747dcd14b5f: Pull complete [2021-04-13T04:19:26.227Z] 2de7ff778b66: Pull complete [2021-04-13T04:19:26.227Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-13T04:19:26.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-13T04:19:26.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-13T04:19:26.427Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:19:26.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-13T04:19:30.480Z] $ docker top 28ffad7fcdc357caeb61c38c902808ee633d5647c9b768a99dd46c0835699954 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-13T04:19:30.678Z] provisioning config files... [2021-04-13T04:19:30.694Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6247150568105955569tmp [2021-04-13T04:19:30.709Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5597192578486584142tmp [2021-04-13T04:19:30.725Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1973795939101789617tmp [Pipeline] { [Pipeline] echo [2021-04-13T04:19:30.811Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:19:31.110Z] ---> sigul-configuration.sh [2021-04-13T04:19:31.110Z] gpg: directory `/root/.gnupg' created [2021-04-13T04:19:31.110Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-13T04:19:31.110Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-13T04:19:31.110Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-13T04:19:31.110Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-13T04:19:31.110Z] gpg: CAST5 encrypted data [2021-04-13T04:19:31.371Z] gpg: encrypted with 1 passphrase [2021-04-13T04:19:31.371Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-13T04:19:31.667Z] + mkdir /home/jenkins [2021-04-13T04:19:31.667Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-13T04:19:31.966Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-04-13T04:19:31.976Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:19:32.276Z] ---> sigul-install.sh [2021-04-13T04:19:38.873Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-13T04:19:39.172Z] + git tag --list [2021-04-13T04:19:39.172Z] 0.7.1 [2021-04-13T04:19:39.172Z] v1.0.0 [2021-04-13T04:19:39.172Z] v1.1.0 [2021-04-13T04:19:39.172Z] v1.1.1 [2021-04-13T04:19:39.172Z] v1.2.2 [2021-04-13T04:19:39.172Z] v1.3.0 [2021-04-13T04:19:39.172Z] v1.3.1 [2021-04-13T04:19:39.172Z] v1.3.1-dev.1 [2021-04-13T04:19:39.172Z] v1.3.1-dev.2 [2021-04-13T04:19:39.172Z] v1.3.1-dev.3 [2021-04-13T04:19:39.172Z] v1.3.1-dev.4 [2021-04-13T04:19:39.172Z] v1.3.1-dev.5 [2021-04-13T04:19:39.172Z] v1.3.1-dev.6 [2021-04-13T04:19:39.172Z] v1.3.1-dev.7 [2021-04-13T04:19:39.172Z] v1.3.1-dev.8 [2021-04-13T04:19:39.172Z] v1.3.2-dev.1 [2021-04-13T04:19:39.172Z] v1.3.2-dev.2 [2021-04-13T04:19:39.172Z] v1.3.2-dev.3 [Pipeline] sh [2021-04-13T04:19:39.468Z] + lftools sign git-tag v1.3.2-dev.3 [2021-04-13T04:19:40.857Z] Signing Git tag with Sigul... [2021-04-13T04:19:40.857Z] Signing v1.3.2-dev.3 [Pipeline] echo [2021-04-13T04:19:41.443Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:19:41.741Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-13T04:19:41.751Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-13T04:19:41.871Z] $ docker stop --time=1 28ffad7fcdc357caeb61c38c902808ee633d5647c9b768a99dd46c0835699954 [2021-04-13T04:19:44.064Z] $ docker rm -f 28ffad7fcdc357caeb61c38c902808ee633d5647c9b768a99dd46c0835699954 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:19:45.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:19:45.028Z] . [Pipeline] withDockerContainer [2021-04-13T04:19:45.124Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:19:45.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T04:19:45.907Z] $ docker top e9c1eb22d97c472a2088354ac05d75231dcf693fb11009080a3ead3b88605ffe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T04:19:46.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:19:46.235Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:19:46.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:19:46.461Z] $ docker exec e9c1eb22d97c472a2088354ac05d75231dcf693fb11009080a3ead3b88605ffe ssh-agent [2021-04-13T04:19:46.632Z] SSH_AUTH_SOCK=/tmp/ssh-jY8crYNa4lYv/agent.11 [2021-04-13T04:19:46.632Z] SSH_AGENT_PID=17 [2021-04-13T04:19:46.640Z] Running ssh-add (command line suppressed) [2021-04-13T04:19:46.764Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2489267367318357949.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2489267367318357949.key) [2021-04-13T04:19:46.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:19:47.164Z] + git semver bump pre [2021-04-13T04:19:47.164Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T04:19:47.164Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-13T04:19:47.164Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-13T04:19:47.164Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T04:19:47.164Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T04:19:47.164Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T04:19:47.164Z] # $SEMVER_BRANCH = master [2021-04-13T04:19:47.164Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-04-13T04:19:47.164Z] 1.3.2-dev.4 [Pipeline] } [2021-04-13T04:19:47.176Z] $ docker exec --env ******** --env ******** e9c1eb22d97c472a2088354ac05d75231dcf693fb11009080a3ead3b88605ffe ssh-agent -k [2021-04-13T04:19:47.288Z] unset SSH_AUTH_SOCK; [2021-04-13T04:19:47.288Z] unset SSH_AGENT_PID; [2021-04-13T04:19:47.288Z] echo Agent pid 17 killed; [2021-04-13T04:19:47.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T04:19:47.796Z] + git semver [Pipeline] } [2021-04-13T04:19:47.814Z] $ docker stop --time=1 e9c1eb22d97c472a2088354ac05d75231dcf693fb11009080a3ead3b88605ffe [2021-04-13T04:19:49.173Z] $ docker rm -f e9c1eb22d97c472a2088354ac05d75231dcf693fb11009080a3ead3b88605ffe [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:19:49.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:19:49.717Z] . [Pipeline] withDockerContainer [2021-04-13T04:19:49.815Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:19:49.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T04:19:50.500Z] $ docker top cfa5a873c20a58791acc3488cf68f2e457cee8ff3c3e5759af6f361a191219f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T04:19:50.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:19:50.799Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:19:50.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:19:50.980Z] $ docker exec cfa5a873c20a58791acc3488cf68f2e457cee8ff3c3e5759af6f361a191219f7 ssh-agent [2021-04-13T04:19:51.149Z] SSH_AUTH_SOCK=/tmp/ssh-kxOOOlLIHs6C/agent.11 [2021-04-13T04:19:51.149Z] SSH_AGENT_PID=16 [2021-04-13T04:19:51.156Z] Running ssh-add (command line suppressed) [2021-04-13T04:19:51.278Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7345651685851184976.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7345651685851184976.key) [2021-04-13T04:19:51.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:19:51.664Z] + git semver push [2021-04-13T04:19:51.664Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T04:19:51.664Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-13T04:19:51.664Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-13T04:19:51.664Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T04:19:51.664Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T04:19:51.664Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T04:19:51.664Z] # $SEMVER_BRANCH = master [2021-04-13T04:19:51.664Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-04-13T04:19:54.984Z] $ docker exec --env ******** --env ******** cfa5a873c20a58791acc3488cf68f2e457cee8ff3c3e5759af6f361a191219f7 ssh-agent -k [2021-04-13T04:19:55.097Z] unset SSH_AUTH_SOCK; [2021-04-13T04:19:55.097Z] unset SSH_AGENT_PID; [2021-04-13T04:19:55.097Z] echo Agent pid 16 killed; [2021-04-13T04:19:55.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T04:19:55.616Z] + git semver [Pipeline] } [2021-04-13T04:19:55.633Z] $ docker stop --time=1 cfa5a873c20a58791acc3488cf68f2e457cee8ff3c3e5759af6f361a191219f7 [2021-04-13T04:19:56.994Z] $ docker rm -f cfa5a873c20a58791acc3488cf68f2e457cee8ff3c3e5759af6f361a191219f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:19:58.336Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:19:58.903Z] ---> package-listing.sh [2021-04-13T04:19:58.903Z] ++ facter osfamily [2021-04-13T04:19:58.903Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-13T04:19:58.903Z] + OS_FAMILY=redhat [2021-04-13T04:19:58.903Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-04-13T04:19:58.903Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-13T04:19:58.903Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-13T04:19:58.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-13T04:19:58.903Z] + PACKAGES=/tmp/packages_start.txt [2021-04-13T04:19:58.903Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-04-13T04:19:58.903Z] + PACKAGES=/tmp/packages_end.txt [2021-04-13T04:19:58.903Z] + case "${OS_FAMILY}" in [2021-04-13T04:19:58.903Z] + rpm -qa [2021-04-13T04:19:58.903Z] + sort [2021-04-13T04:20:04.259Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-13T04:20:04.259Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-13T04:20:04.259Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-13T04:20:04.259Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-04-13T04:20:04.259Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-04-13T04:20:04.259Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-04-13T04:20:04.273Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-13T04:20:04.581Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:20:04.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:20:04.996Z] [2021-04-13T04:20:04.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:20:05.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:20:05.352Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-13T04:20:05.352Z] df20fa9351a1: Pulling fs layer [2021-04-13T04:20:05.352Z] 36b3adc4ff6f: Pulling fs layer [2021-04-13T04:20:05.352Z] 8ad3a11d3b57: Pulling fs layer [2021-04-13T04:20:05.353Z] 46f8f816bc3b: Pulling fs layer [2021-04-13T04:20:05.353Z] 93b61091891f: Pulling fs layer [2021-04-13T04:20:05.353Z] 93b9cdb0e59b: Pulling fs layer [2021-04-13T04:20:05.353Z] 5e14af77c1be: Pulling fs layer [2021-04-13T04:20:05.353Z] 01666e4c0597: Pulling fs layer [2021-04-13T04:20:05.353Z] aa168da1d23b: Pulling fs layer [2021-04-13T04:20:05.353Z] 46f8f816bc3b: Waiting [2021-04-13T04:20:05.353Z] 93b61091891f: Waiting [2021-04-13T04:20:05.353Z] 93b9cdb0e59b: Waiting [2021-04-13T04:20:05.353Z] 5e14af77c1be: Waiting [2021-04-13T04:20:05.353Z] 01666e4c0597: Waiting [2021-04-13T04:20:05.353Z] aa168da1d23b: Waiting [2021-04-13T04:20:05.353Z] 36b3adc4ff6f: Verifying Checksum [2021-04-13T04:20:05.353Z] 36b3adc4ff6f: Download complete [2021-04-13T04:20:05.353Z] 46f8f816bc3b: Verifying Checksum [2021-04-13T04:20:05.353Z] 46f8f816bc3b: Download complete [2021-04-13T04:20:05.621Z] df20fa9351a1: Verifying Checksum [2021-04-13T04:20:05.621Z] df20fa9351a1: Download complete [2021-04-13T04:20:05.621Z] 93b9cdb0e59b: Verifying Checksum [2021-04-13T04:20:05.621Z] 93b9cdb0e59b: Download complete [2021-04-13T04:20:05.621Z] 5e14af77c1be: Download complete [2021-04-13T04:20:05.621Z] 93b61091891f: Verifying Checksum [2021-04-13T04:20:05.621Z] 93b61091891f: Download complete [2021-04-13T04:20:05.621Z] 01666e4c0597: Verifying Checksum [2021-04-13T04:20:05.621Z] 01666e4c0597: Download complete [2021-04-13T04:20:05.621Z] 8ad3a11d3b57: Verifying Checksum [2021-04-13T04:20:05.621Z] 8ad3a11d3b57: Download complete [2021-04-13T04:20:05.885Z] df20fa9351a1: Pull complete [2021-04-13T04:20:06.160Z] 36b3adc4ff6f: Pull complete [2021-04-13T04:20:07.566Z] 8ad3a11d3b57: Pull complete [2021-04-13T04:20:07.566Z] aa168da1d23b: Verifying Checksum [2021-04-13T04:20:07.566Z] aa168da1d23b: Download complete [2021-04-13T04:20:07.835Z] 46f8f816bc3b: Pull complete [2021-04-13T04:20:08.409Z] 93b61091891f: Pull complete [2021-04-13T04:20:08.672Z] 93b9cdb0e59b: Pull complete [2021-04-13T04:20:08.672Z] 5e14af77c1be: Pull complete [2021-04-13T04:20:08.937Z] 01666e4c0597: Pull complete [2021-04-13T04:20:15.564Z] aa168da1d23b: Pull complete [2021-04-13T04:20:15.564Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-13T04:20:15.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:20:15.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-13T04:20:15.966Z] prd-centos7-docker-4c-2g-33828 does not seem to be running inside a container [2021-04-13T04:20:16.010Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-13T04:20:18.679Z] $ docker top 79447c41d249654d114e4a4db5fb2b1768694a352e6c34a8a0958981cc8cccf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:20:19.219Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-13T04:20:19.517Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-13T04:20:19.826Z] + ls /var/log/sa-host [2021-04-13T04:20:19.826Z] + sadf -c /var/log/sa-host/sa13 [2021-04-13T04:20:19.826Z] file_magic: OK [2021-04-13T04:20:19.826Z] HZ: Using current value: 100 [2021-04-13T04:20:19.826Z] file_header: OK [2021-04-13T04:20:19.826Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-13T04:20:19.826Z] Statistics: [2021-04-13T04:20:19.826Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-13T04:20:19.826Z] File successfully converted to sysstat format version 12.2.1 [2021-04-13T04:20:19.826Z] + sadf -c /var/log/sa-host/sa23 [2021-04-13T04:20:19.826Z] file_magic: OK [2021-04-13T04:20:19.826Z] HZ: Using current value: 100 [2021-04-13T04:20:19.826Z] file_header: OK [2021-04-13T04:20:19.826Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-13T04:20:19.826Z] Statistics: [2021-04-13T04:20:19.826Z] Hnuu...uuuununununu... [2021-04-13T04:20:19.826Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-13T04:20:20.084Z] provisioning config files... [2021-04-13T04:20:20.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8839244761499507712tmp [Pipeline] { [Pipeline] echo [2021-04-13T04:20:20.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:20:20.540Z] ---> create-netrc.sh [Pipeline] } [2021-04-13T04:20:20.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-13T04:20:20.643Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:20:20.938Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-13T04:20:20.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:20:21.246Z] ---> sudo-logs.sh [2021-04-13T04:20:21.246Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-13T04:20:21.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:20:21.615Z] ---> job-cost.sh [2021-04-13T04:20:21.615Z] lf-activate-venv: SKIPPING [2021-04-13T04:20:21.615Z] DEBUG: total: 0.20999999344348907 [2021-04-13T04:20:21.615Z] INFO: Retrieving Stack Cost... [2021-04-13T04:20:22.560Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T04:20:23.136Z] INFO: Archiving Costs [Pipeline] echo [2021-04-13T04:20:23.150Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:20:23.449Z] ---> logs-deploy.sh [2021-04-13T04:20:23.449Z] lf-activate-venv: SKIPPING [2021-04-13T04:20:23.449Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/41 [2021-04-13T04:20:23.449Z] INFO: archiving workspace using pattern(s): [2021-04-13T04:20:24.841Z] Archives upload complete. [2021-04-13T04:20:24.841Z] INFO: archiving logs to Nexus