Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 13088d9dec4550f0cc4856225025b51f703f2058 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4842 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > 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 Checking out Revision 13088d9dec4550f0cc4856225025b51f703f2058 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 13088d9dec4550f0cc4856225025b51f703f2058 # timeout=10 Commit message: "Merge pull request #240 from tonyespy/snap-and-docker-go116" > git rev-list --no-walk 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:22:15.807Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:22:15.930Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:22:15.957Z] ========================================================= [2021-05-12T20:22:15.957Z] EdgeX Global Pipelines Version Info [2021-05-12T20:22:15.957Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:22:18.261Z] ------------------- [2021-05-12T20:22:18.261Z] stable info: [2021-05-12T20:22:18.261Z] ------------------- [2021-05-12T20:22:18.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:22:18.261Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:22:18.261Z] Message: update stable to v1.0.192 [2021-05-12T20:22:19.254Z] ------------------- [2021-05-12T20:22:19.255Z] experimental info: [2021-05-12T20:22:19.255Z] ------------------- [2021-05-12T20:22:19.255Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:22:19.255Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:22:19.255Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:22:19.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-12T20:22:19.480Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-12T20:22:19.506Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:22:19.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:22:19.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:22:19.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:22:19.604Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:22:19.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:22:19.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:22:19.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:22:19.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:22:19.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-12T20:22:19.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:22:19.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:22:19.794Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:22:19.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:22:19.841Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:22:19.865Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:22:19.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:22:19.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-12T20:22:19.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:22:19.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:22:19.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:22:20.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:22:20.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:22:20.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:22:20.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-12T20:22:20.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-12T20:22:20.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-12T20:22:20.162Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] echo [2021-05-12T20:22:20.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13088d9 [Pipeline] echo [2021-05-12T20:22:20.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:22:20.326Z] provisioning config files... [2021-05-12T20:22:20.371Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7990927316229187897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:22:20.763Z] ---> docker-login.sh [2021-05-12T20:22:20.763Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:22:21.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:21.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:21.687Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:21.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:21.687Z] [2021-05-12T20:22:21.687Z] Login Succeeded [2021-05-12T20:22:21.687Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:22:22.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:22.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:22.309Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:22.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:22.309Z] [2021-05-12T20:22:22.309Z] Login Succeeded [2021-05-12T20:22:22.309Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:22:22.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:23.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:23.028Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:23.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:23.028Z] [2021-05-12T20:22:23.028Z] Login Succeeded [2021-05-12T20:22:23.028Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:22:23.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:23.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:23.315Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:23.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:23.315Z] [2021-05-12T20:22:23.315Z] Login Succeeded [2021-05-12T20:22:23.315Z] docker.io [2021-05-12T20:22:23.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:23.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:23.879Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:23.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:23.879Z] [2021-05-12T20:22:23.879Z] Login Succeeded [2021-05-12T20:22:23.879Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:22:23.897Z] 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-05-12T20:22:24.368Z] + git log --format=format:%s -1 13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] echo [2021-05-12T20:22:24.578Z] GIT_COMMIT: 13088d9dec4550f0cc4856225025b51f703f2058, Commit Message: Merge pull request #240 from tonyespy/snap-and-docker-go116 [Pipeline] echo [2021-05-12T20:22:24.591Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:22:25.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:25.190Z] [2021-05-12T20:22:25.190Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:22:25.572Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:25.572Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:22:25.572Z] 31603596830f: Pulling fs layer [2021-05-12T20:22:25.572Z] 54011a49482f: Pulling fs layer [2021-05-12T20:22:25.572Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:22:25.572Z] f581987b2513: Pulling fs layer [2021-05-12T20:22:25.572Z] f581987b2513: Waiting [2021-05-12T20:22:25.871Z] 54011a49482f: Verifying Checksum [2021-05-12T20:22:25.871Z] 54011a49482f: Download complete [2021-05-12T20:22:26.197Z] 31603596830f: Verifying Checksum [2021-05-12T20:22:26.197Z] 31603596830f: Download complete [2021-05-12T20:22:26.537Z] f581987b2513: Verifying Checksum [2021-05-12T20:22:26.537Z] f581987b2513: Download complete [2021-05-12T20:22:26.867Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:22:26.867Z] a6820b24f6d8: Download complete [2021-05-12T20:22:27.197Z] 31603596830f: Pull complete [2021-05-12T20:22:27.490Z] 54011a49482f: Pull complete [2021-05-12T20:22:29.586Z] a6820b24f6d8: Pull complete [2021-05-12T20:22:29.887Z] f581987b2513: Pull complete [2021-05-12T20:22:29.887Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:22:29.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:29.887Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:22:30.720Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:22:31.201Z] $ 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-05-12T20:22:33.266Z] $ docker top a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:22:33.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:22:33.467Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:22:33.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:22:33.802Z] $ docker exec a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 ssh-agent [2021-05-12T20:22:34.058Z] SSH_AUTH_SOCK=/tmp/ssh-t6rJUpUVX70T/agent.11 [2021-05-12T20:22:34.058Z] SSH_AGENT_PID=16 [2021-05-12T20:22:34.072Z] Running ssh-add (command line suppressed) [2021-05-12T20:22:34.376Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_648511743972110883.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_648511743972110883.key) [2021-05-12T20:22:34.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:22:35.240Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:22:35.283Z] $ docker exec --env ******** --env ******** a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 ssh-agent -k [2021-05-12T20:22:35.563Z] unset SSH_AUTH_SOCK; [2021-05-12T20:22:35.563Z] unset SSH_AGENT_PID; [2021-05-12T20:22:35.563Z] echo Agent pid 16 killed; [2021-05-12T20:22:35.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:22:35.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:22:35.691Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:22:36.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:22:36.098Z] $ docker exec a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 ssh-agent [2021-05-12T20:22:36.925Z] SSH_AUTH_SOCK=/tmp/ssh-yZeXR3Q5l89p/agent.45 [2021-05-12T20:22:36.925Z] SSH_AGENT_PID=50 [2021-05-12T20:22:36.935Z] Running ssh-add (command line suppressed) [2021-05-12T20:22:37.372Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4755751860693890151.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4755751860693890151.key) [2021-05-12T20:22:37.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:22:38.329Z] + git semver init [2021-05-12T20:22:38.600Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:22:38.600Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-12T20:22:38.600Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-12T20:22:38.600Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:22:38.600Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:22:38.600Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:22:38.600Z] # $SEMVER_BRANCH = master [2021-05-12T20:22:38.600Z] # $SEMVER_TEMP = /tmp/semver-166924462 [2021-05-12T20:22:38.600Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-12T20:22:39.201Z] # '/tmp/semver-166924462' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-12T20:22:39.201Z] # -> Force: false [2021-05-12T20:22:39.201Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-12T20:22:39.233Z] $ docker exec --env ******** --env ******** a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 ssh-agent -k [2021-05-12T20:22:39.712Z] unset SSH_AUTH_SOCK; [2021-05-12T20:22:39.712Z] unset SSH_AGENT_PID; [2021-05-12T20:22:39.713Z] echo Agent pid 50 killed; [2021-05-12T20:22:39.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:22:40.382Z] + git semver [Pipeline] } [2021-05-12T20:22:40.439Z] $ docker stop --time=1 a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 [2021-05-12T20:22:42.328Z] $ docker rm -f a090987c2ebbf909313424630cde71e50d8c7718c9b1463f4740cbdc3fc53273 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:22:43.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:22:44.444Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:22:44.447Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.8 [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-05-12T20:22:59.624Z] Still waiting to schedule task [2021-05-12T20:22:59.624Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T20:22:59.628Z] Still waiting to schedule task [2021-05-12T20:22:59.628Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:28:11.987Z] Running on prd-centos7-docker-4c-2g-4855 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:28:12.075Z] Running in /w/workspace/device-modbus-go/47 [Pipeline] { [Pipeline] checkout [2021-05-12T20:28:15.412Z] using credential edgex-jenkins-ssh [2021-05-12T20:28:15.426Z] Cloning the remote Git repository [2021-05-12T20:28:15.458Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:28:15.542Z] > git init /w/workspace/device-modbus-go/47 # timeout=10 [2021-05-12T20:28:15.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:28:15.607Z] > git --version # timeout=10 [2021-05-12T20:28:15.613Z] > git --version # 'git version 2.24.3' [2021-05-12T20:28:15.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:28:15.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:28:16.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-12T20:28:16.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:28:16.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-12T20:28:16.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:28:16.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:28:16.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:28:16.699Z] Checking out Revision 13088d9dec4550f0cc4856225025b51f703f2058 (master) [2021-05-12T20:28:16.710Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:28:16.717Z] > git checkout -f 13088d9dec4550f0cc4856225025b51f703f2058 # timeout=10 [2021-05-12T20:28:20.434Z] Commit message: "Merge pull request #240 from tonyespy/snap-and-docker-go116" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:28:21.519Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:28:21.859Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:28:22.157Z] + sudo service docker restart [2021-05-12T20:28:22.157Z] + true [2021-05-12T20:28:22.157Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:28:23.592Z] provisioning config files... [2021-05-12T20:28:23.625Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/47@tmp/config2492381341598485091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:28:23.966Z] ---> docker-login.sh [2021-05-12T20:28:23.966Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:28:24.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:28:24.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:28:24.232Z] Configure a credential helper to remove this warning. See [2021-05-12T20:28:24.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:28:24.232Z] [2021-05-12T20:28:24.232Z] Login Succeeded [2021-05-12T20:28:24.232Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:28:24.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:28:24.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:28:24.497Z] Configure a credential helper to remove this warning. See [2021-05-12T20:28:24.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:28:24.497Z] [2021-05-12T20:28:24.497Z] Login Succeeded [2021-05-12T20:28:24.497Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:28:24.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:28:24.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:28:24.760Z] Configure a credential helper to remove this warning. See [2021-05-12T20:28:24.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:28:24.760Z] [2021-05-12T20:28:24.760Z] Login Succeeded [2021-05-12T20:28:24.760Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:28:24.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:28:25.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:28:25.023Z] Configure a credential helper to remove this warning. See [2021-05-12T20:28:25.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:28:25.023Z] [2021-05-12T20:28:25.023Z] Login Succeeded [2021-05-12T20:28:25.023Z] docker.io [2021-05-12T20:28:25.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:28:25.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:28:25.285Z] Configure a credential helper to remove this warning. See [2021-05-12T20:28:25.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:28:25.285Z] [2021-05-12T20:28:25.285Z] Login Succeeded [2021-05-12T20:28:25.285Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:28:25.295Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:28:25.490Z] ========================================================= [2021-05-12T20:28:25.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:28:25.490Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:28:25.811Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:28:25.811Z] Sending build context to Docker daemon 594.9kB [2021-05-12T20:28:25.811Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:28:25.811Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:28:26.386Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:28:26.386Z] 540db60ca938: Pulling fs layer [2021-05-12T20:28:26.386Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:28:26.386Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:28:26.386Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:28:26.386Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:28:26.386Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:28:26.386Z] f706445af74f: Pulling fs layer [2021-05-12T20:28:26.386Z] 0510c868ecb4: Waiting [2021-05-12T20:28:26.386Z] afea3b2eda06: Waiting [2021-05-12T20:28:26.386Z] 7809a108b3ef: Waiting [2021-05-12T20:28:26.386Z] f706445af74f: Waiting [2021-05-12T20:28:26.649Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T20:28:26.649Z] 4c4ab2625f07: Download complete [2021-05-12T20:28:26.649Z] adcc1eea9eea: Download complete [2021-05-12T20:28:26.649Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:28:26.649Z] afea3b2eda06: Download complete [2021-05-12T20:28:26.649Z] 7809a108b3ef: Download complete [2021-05-12T20:28:26.914Z] 540db60ca938: Verifying Checksum [2021-05-12T20:28:26.914Z] 540db60ca938: Download complete [2021-05-12T20:28:27.190Z] 540db60ca938: Pull complete [2021-05-12T20:28:27.454Z] adcc1eea9eea: Pull complete [2021-05-12T20:28:27.454Z] 4c4ab2625f07: Pull complete [2021-05-12T20:28:29.419Z] f706445af74f: Verifying Checksum [2021-05-12T20:28:29.419Z] f706445af74f: Download complete [2021-05-12T20:28:30.389Z] 0510c868ecb4: Download complete [2021-05-12T20:28:37.059Z] 0510c868ecb4: Pull complete [2021-05-12T20:28:37.059Z] afea3b2eda06: Pull complete [2021-05-12T20:28:37.059Z] 7809a108b3ef: Pull complete [2021-05-12T20:28:43.756Z] f706445af74f: Pull complete [2021-05-12T20:28:43.756Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:28:43.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:28:43.756Z] ---> b068be0155e3 [2021-05-12T20:28:43.756Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:28:43.756Z] ---> Running in f4ea10ab0d90 [2021-05-12T20:28:44.342Z] Removing intermediate container f4ea10ab0d90 [2021-05-12T20:28:44.342Z] ---> 4bdc6514cef9 [2021-05-12T20:28:44.342Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:28:44.342Z] ---> Running in 39ba592b8300 [2021-05-12T20:28:46.293Z] Removing intermediate container 39ba592b8300 [2021-05-12T20:28:46.293Z] ---> 9ddc4925e487 [2021-05-12T20:28:46.293Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:28:46.293Z] ---> Running in 0acfd203b152 [2021-05-12T20:28:46.557Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:28:47.506Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:28:47.769Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:28:48.034Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:28:48.034Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:28:48.300Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:28:48.300Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:28:48.300Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:28:48.566Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:28:48.831Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:28:48.831Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:28:48.831Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:28:49.096Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:28:49.096Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:28:49.366Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:28:49.366Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:28:49.366Z] OK: 156 MiB in 53 packages [2021-05-12T20:28:50.323Z] Removing intermediate container 0acfd203b152 [2021-05-12T20:28:50.323Z] ---> ef486646e1a7 [2021-05-12T20:28:50.323Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-12T20:28:50.323Z] ---> Running in 54d91da1b602 [2021-05-12T20:28:50.323Z] Removing intermediate container 54d91da1b602 [2021-05-12T20:28:50.323Z] ---> 1ede02fb3b9f [2021-05-12T20:28:50.323Z] Step 7/8 : COPY . . [2021-05-12T20:28:51.276Z] ---> 5e81c366e230 [2021-05-12T20:28:51.276Z] Step 8/8 : RUN go mod download [2021-05-12T20:28:51.276Z] ---> Running in 344f07ee38c2 [2021-05-12T20:29:05.508Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4851 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:29:05.536Z] Running in /w/workspace/device-modbus-go/47 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:12.796Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:12.830Z] Cloning the remote Git repository [2021-05-12T20:29:12.888Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:29:13.009Z] > git init /w/workspace/device-modbus-go/47 # timeout=10 [2021-05-12T20:29:13.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:29:13.145Z] > git --version # timeout=10 [2021-05-12T20:29:13.169Z] > git --version # 'git version 2.17.1' [2021-05-12T20:29:13.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:13.283Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:14.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-12T20:29:14.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:14.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-12T20:29:14.165Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-12T20:29:14.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:14.177Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:29:14.675Z] Checking out Revision 13088d9dec4550f0cc4856225025b51f703f2058 (master) [2021-05-12T20:29:14.701Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:14.722Z] > git checkout -f 13088d9dec4550f0cc4856225025b51f703f2058 # timeout=10 [2021-05-12T20:29:18.001Z] Removing intermediate container 344f07ee38c2 [2021-05-12T20:29:18.001Z] ---> 2e4487a35dac [2021-05-12T20:29:18.001Z] Successfully built 2e4487a35dac [2021-05-12T20:29:18.001Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:18.325Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:29:18.325Z] . [Pipeline] withDockerContainer [2021-05-12T20:29:18.451Z] prd-centos7-docker-4c-2g-4855 does not seem to be running inside a container [2021-05-12T20:29:18.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/47 -v /w/workspace/device-modbus-go/47:/w/workspace/device-modbus-go/47:rw,z -v /w/workspace/device-modbus-go/47@tmp:/w/workspace/device-modbus-go/47@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-05-12T20:29:19.120Z] Commit message: "Merge pull request #240 from tonyespy/snap-and-docker-go116" [2021-05-12T20:29:19.419Z] $ docker top 45447fc8cc3bd5b338acd99bc2d9e1aaf3c966537b3fe1167094d4d06458e11b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-05-12T20:29:19.942Z] + go version [2021-05-12T20:29:19.943Z] go version go1.16.3 linux/amd64 [Pipeline] sh [Pipeline] } [2021-05-12T20:29:20.649Z] $ docker stop --time=1 45447fc8cc3bd5b338acd99bc2d9e1aaf3c966537b3fe1167094d4d06458e11b [2021-05-12T20:29:20.960Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-12T20:29:22.121Z] $ docker rm -f 45447fc8cc3bd5b338acd99bc2d9e1aaf3c966537b3fe1167094d4d06458e11b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:22.577Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:22.711Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:29:22.711Z] . [Pipeline] withDockerContainer [2021-05-12T20:29:22.811Z] prd-centos7-docker-4c-2g-4855 does not seem to be running inside a container [2021-05-12T20:29:22.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/47 -v /w/workspace/device-modbus-go/47:/w/workspace/device-modbus-go/47:rw,z -v /w/workspace/device-modbus-go/47@tmp:/w/workspace/device-modbus-go/47@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-05-12T20:29:22.925Z] + sudo service docker+ restart [2021-05-12T20:29:22.925Z] true [2021-05-12T20:29:23.666Z] $ docker top c052639b35b69be9585e33c9861fc077ff737a103ff6c1413dfdf9fad5a5b690 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:29:24.101Z] + go mod tidy [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:24.990Z] provisioning config files... [2021-05-12T20:29:25.024Z] + make test [2021-05-12T20:29:25.024Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:29:25.036Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/47@tmp/config4574476118484748648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:25.449Z] ---> docker-login.sh [2021-05-12T20:29:25.449Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:26.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:26.468Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-12T20:29:26.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:26.669Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:26.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:26.669Z] [2021-05-12T20:29:26.669Z] Login Succeeded [2021-05-12T20:29:26.669Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:27.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:27.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:27.279Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:27.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:27.279Z] [2021-05-12T20:29:27.279Z] Login Succeeded [2021-05-12T20:29:27.279Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:27.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:27.891Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:27.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:27.891Z] [2021-05-12T20:29:27.891Z] Login Succeeded [2021-05-12T20:29:27.891Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:28.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:28.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:28.456Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:28.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:28.456Z] [2021-05-12T20:29:28.456Z] Login Succeeded [2021-05-12T20:29:28.456Z] docker.io [2021-05-12T20:29:29.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:29.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:29.349Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:29.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:29.349Z] [2021-05-12T20:29:29.349Z] Login Succeeded [2021-05-12T20:29:29.349Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:29.372Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:29:29.747Z] ========================================================= [2021-05-12T20:29:29.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:29:29.747Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:30.125Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:29:30.416Z] Sending build context to Docker daemon 593.9kB [2021-05-12T20:29:30.416Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:30.416Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:29:30.696Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:29:30.696Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:29:30.696Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:29:30.696Z] 316046926c0a: Pulling fs layer [2021-05-12T20:29:30.696Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:29:30.696Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:29:30.696Z] c791037a9be2: Pulling fs layer [2021-05-12T20:29:30.696Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:29:30.696Z] 207e8628e3a3: Waiting [2021-05-12T20:29:30.696Z] c791037a9be2: Waiting [2021-05-12T20:29:30.696Z] ffd874e62e21: Waiting [2021-05-12T20:29:30.696Z] 4ebd0625c992: Waiting [2021-05-12T20:29:30.696Z] 316046926c0a: Download complete [2021-05-12T20:29:30.696Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:29:30.696Z] 7186ed65a4f7: Download complete [2021-05-12T20:29:30.696Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:29:30.696Z] 207e8628e3a3: Download complete [2021-05-12T20:29:30.696Z] c791037a9be2: Verifying Checksum [2021-05-12T20:29:30.696Z] c791037a9be2: Download complete [2021-05-12T20:29:30.696Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:29:30.696Z] 595b0fe564bb: Download complete [2021-05-12T20:29:31.313Z] 595b0fe564bb: Pull complete [2021-05-12T20:29:32.307Z] 7186ed65a4f7: Pull complete [2021-05-12T20:29:32.588Z] 316046926c0a: Pull complete [2021-05-12T20:29:33.226Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:29:37.585Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:29:37.585Z] 4ebd0625c992: Download complete [2021-05-12T20:29:45.971Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-12T20:29:45.971Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2021-05-12T20:29:46.238Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:29:48.846Z] 4ebd0625c992: Pull complete [2021-05-12T20:29:48.846Z] 207e8628e3a3: Pull complete [2021-05-12T20:29:48.846Z] c791037a9be2: Pull complete [2021-05-12T20:29:51.465Z] ffd874e62e21: Pull complete [2021-05-12T20:29:51.465Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:29:51.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:29:51.466Z] ---> cfc18b08335c [2021-05-12T20:29:51.466Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:29:54.893Z] ---> Running in a5861f34b713 [2021-05-12T20:29:54.893Z] Removing intermediate container a5861f34b713 [2021-05-12T20:29:54.893Z] ---> 0c027cd026df [2021-05-12T20:29:54.893Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:29:55.168Z] ---> Running in 90d3fc21f1a7 [2021-05-12T20:29:56.327Z] gofmt -l . [2021-05-12T20:29:56.327Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:29:56.327Z] ./bin/test-attribution-txt.sh [2021-05-12T20:29:56.327Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:29:56.345Z] $ docker stop --time=1 c052639b35b69be9585e33c9861fc077ff737a103ff6c1413dfdf9fad5a5b690 [2021-05-12T20:29:57.145Z] Removing intermediate container 90d3fc21f1a7 [2021-05-12T20:29:57.145Z] ---> 1d525fe2075c [2021-05-12T20:29:57.145Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:29:57.433Z] ---> Running in 981844924e54 [2021-05-12T20:29:58.169Z] $ docker rm -f c052639b35b69be9585e33c9861fc077ff737a103ff6c1413dfdf9fad5a5b690 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:29:58.479Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:29:58.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:29:59.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-12T20:29:59.451Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-05-12T20:30:00.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:30:00.416Z] + ls -al . [2021-05-12T20:30:00.416Z] total 112 [2021-05-12T20:30:00.416Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 12 20:29 . [2021-05-12T20:30:00.416Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 20:28 .. [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 12 20:28 Attribution.txt [2021-05-12T20:30:00.416Z] drwxrwxr-x. 2 jenkins jenkins 87 May 12 20:28 bin [2021-05-12T20:30:00.416Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:28 cmd [2021-05-12T20:30:00.416Z] -rw-r--r--. 1 jenkins jenkins 22385 May 12 20:29 coverage.out [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 1457 May 12 20:28 Dockerfile [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 995 May 12 20:28 Dockerfile.build [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 140 May 12 20:28 .dockerignore [2021-05-12T20:30:00.416Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 20:28 .git [2021-05-12T20:30:00.416Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:28 .github [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 338 May 12 20:28 .gitignore [2021-05-12T20:30:00.416Z] -rw-r--r--. 1 jenkins jenkins 413 May 12 20:29 go.mod [2021-05-12T20:30:00.416Z] -rw-r--r--. 1 jenkins jenkins 21839 May 12 20:29 go.sum [2021-05-12T20:30:00.416Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:28 internal [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 679 May 12 20:28 Jenkinsfile [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:28 LICENSE [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 910 May 12 20:28 Makefile [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 12 20:28 README.md [2021-05-12T20:30:00.416Z] drwxrwxr-x. 2 jenkins jenkins 52 May 12 20:28 simulator [2021-05-12T20:30:00.416Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 20:28 snap [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 11 May 12 20:22 VERSION [2021-05-12T20:30:00.416Z] -rw-rw-r--. 1 jenkins jenkins 229 May 12 20:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:00.443Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:30:00.443Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:30:00.443Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:30:00.715Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:30:00.715Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:30:00.738Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=13088d9dec4550f0cc4856225025b51f703f2058 --label arch=amd64 --label version=1.3.2-dev.8 . [2021-05-12T20:30:00.985Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:30:00.985Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:30:00.999Z] Sending build context to Docker daemon 618kB [2021-05-12T20:30:00.999Z] Step 1/21 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:30:00.999Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-12T20:30:00.999Z] ---> 2e4487a35dac [2021-05-12T20:30:00.999Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:01.264Z] ---> Running in 1249c85a7028 [2021-05-12T20:30:01.595Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:30:01.912Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:30:01.912Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:30:02.199Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:30:02.199Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:30:02.268Z] Removing intermediate container 1249c85a7028 [2021-05-12T20:30:02.268Z] ---> 7a1913e3a477 [2021-05-12T20:30:02.268Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:30:02.268Z] ---> Running in 3aaa0a0e7883 [2021-05-12T20:30:02.472Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:30:02.472Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:30:02.472Z] OK: 145 MiB in 53 packages [2021-05-12T20:30:02.844Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:03.799Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:03.913Z] Removing intermediate container 981844924e54 [2021-05-12T20:30:03.913Z] ---> b09308cced49 [2021-05-12T20:30:03.913Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-12T20:30:04.200Z] ---> Running in ac1183f8e106 [2021-05-12T20:30:04.470Z] Removing intermediate container ac1183f8e106 [2021-05-12T20:30:04.470Z] ---> 0a0c72dca582 [2021-05-12T20:30:04.470Z] Step 7/8 : COPY . . [2021-05-12T20:30:04.772Z] OK: 156 MiB in 53 packages [2021-05-12T20:30:05.035Z] Removing intermediate container 3aaa0a0e7883 [2021-05-12T20:30:05.035Z] ---> 221ecd3efe2b [2021-05-12T20:30:05.035Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-12T20:30:05.302Z] ---> Running in f74381091343 [2021-05-12T20:30:05.302Z] Removing intermediate container f74381091343 [2021-05-12T20:30:05.302Z] ---> abbb6603633c [2021-05-12T20:30:05.302Z] Step 6/21 : COPY . . [2021-05-12T20:30:05.450Z] ---> 3275d7293213 [2021-05-12T20:30:05.450Z] Step 8/8 : RUN go mod download [2021-05-12T20:30:05.734Z] ---> Running in 42884d096050 [2021-05-12T20:30:06.264Z] ---> 9258f6dc5088 [2021-05-12T20:30:06.264Z] Step 7/21 : RUN go mod download [2021-05-12T20:30:06.264Z] ---> Running in a49e3206324d [2021-05-12T20:30:07.676Z] Removing intermediate container a49e3206324d [2021-05-12T20:30:07.676Z] ---> cb6fe819fe83 [2021-05-12T20:30:07.676Z] Step 8/21 : RUN make build [2021-05-12T20:30:07.676Z] ---> Running in 50e79ab7aac9 [2021-05-12T20:30:07.947Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.8" -o cmd/device-modbus ./cmd [2021-05-12T20:30:20.420Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:30:24.658Z] Removing intermediate container 50e79ab7aac9 [2021-05-12T20:30:24.658Z] ---> 6bc9c9b02a29 [2021-05-12T20:30:24.658Z] Step 9/21 : FROM alpine:3.12 [2021-05-12T20:30:24.658Z] 3.12: Pulling from library/alpine [2021-05-12T20:30:24.922Z] 339de151aab4: Pulling fs layer [2021-05-12T20:30:24.922Z] 339de151aab4: Verifying Checksum [2021-05-12T20:30:24.922Z] 339de151aab4: Download complete [2021-05-12T20:30:25.518Z] 339de151aab4: Pull complete [2021-05-12T20:30:25.518Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:30:25.518Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:30:25.518Z] ---> 13621d1b12d4 [2021-05-12T20:30:25.518Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-12T20:30:25.518Z] ---> Running in 7a038c869a54 [2021-05-12T20:30:25.784Z] Removing intermediate container 7a038c869a54 [2021-05-12T20:30:25.784Z] ---> 721a446cf835 [2021-05-12T20:30:25.784Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:30:25.784Z] ---> Running in 85ccff926aa5 [2021-05-12T20:30:26.742Z] Removing intermediate container 85ccff926aa5 [2021-05-12T20:30:26.742Z] ---> b365749f7cfd [2021-05-12T20:30:26.742Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:30:27.007Z] ---> Running in 9f515200014b [2021-05-12T20:30:27.586Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:28.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:30:30.475Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:30:30.475Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:30:30.741Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:30:31.004Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:30:32.394Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:30:32.585Z] Removing intermediate container 42884d096050 [2021-05-12T20:30:32.586Z] ---> b1d54074f7c9 [2021-05-12T20:30:32.586Z] Successfully built b1d54074f7c9 [2021-05-12T20:30:32.586Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:32.666Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:30:32.666Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:30:32.666Z] OK: 8 MiB in 20 packages [2021-05-12T20:30:32.938Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:32.938Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:33.228Z] prd-ubuntu18.04-docker-arm64-4c-16g-4851 does not seem to be running inside a container [2021-05-12T20:30:33.241Z] Removing intermediate container 9f515200014b [2021-05-12T20:30:33.241Z] ---> 8627343c73ad [2021-05-12T20:30:33.241Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-12T20:30:33.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/47 -v /w/workspace/device-modbus-go/47:/w/workspace/device-modbus-go/47:rw,z -v /w/workspace/device-modbus-go/47@tmp:/w/workspace/device-modbus-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:30:34.638Z] ---> 3d9ff3ebf712 [2021-05-12T20:30:34.638Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-12T20:30:34.638Z] ---> 55a6c6350190 [2021-05-12T20:30:34.638Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-12T20:30:34.900Z] ---> b24b3a10eb14 [2021-05-12T20:30:34.900Z] Step 16/21 : EXPOSE 49991 [2021-05-12T20:30:35.057Z] $ docker top 467be614f6c67852b2a2f3e12d1eba8dd7b5c4988657bc98b664b2bec918eb79 -eo pid,comm [2021-05-12T20:30:35.164Z] ---> Running in 4087a612607c [2021-05-12T20:30:35.165Z] Removing intermediate container 4087a612607c [2021-05-12T20:30:35.165Z] ---> 3e2643740e63 [2021-05-12T20:30:35.165Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [Pipeline] { [Pipeline] sh [2021-05-12T20:30:35.429Z] ---> Running in 4f326a42f9d1 [2021-05-12T20:30:35.429Z] Removing intermediate container 4f326a42f9d1 [2021-05-12T20:30:35.429Z] ---> 08e00ed4d352 [2021-05-12T20:30:35.429Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:30:35.429Z] ---> Running in f3d65e17a5df [2021-05-12T20:30:35.692Z] Removing intermediate container f3d65e17a5df [2021-05-12T20:30:35.692Z] ---> 1be528c852a1 [2021-05-12T20:30:35.692Z] Step 19/21 : LABEL arch=amd64 [2021-05-12T20:30:35.692Z] ---> Running in 94977b40ab3c [2021-05-12T20:30:35.956Z] Removing intermediate container 94977b40ab3c [2021-05-12T20:30:35.956Z] ---> b4d5fd6b5771 [2021-05-12T20:30:35.956Z] Step 20/21 : LABEL git_sha=13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:30:35.956Z] ---> Running in 69ce0af87628 [2021-05-12T20:30:36.109Z] + go version [2021-05-12T20:30:36.110Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:30:36.168Z] $ docker stop --time=1 467be614f6c67852b2a2f3e12d1eba8dd7b5c4988657bc98b664b2bec918eb79 [2021-05-12T20:30:36.220Z] Removing intermediate container 69ce0af87628 [2021-05-12T20:30:36.220Z] ---> 0795cc012fa7 [2021-05-12T20:30:36.220Z] Step 21/21 : LABEL version=1.3.2-dev.8 [2021-05-12T20:30:36.220Z] ---> Running in f4d44dc3d06e [2021-05-12T20:30:36.482Z] Removing intermediate container f4d44dc3d06e [2021-05-12T20:30:36.482Z] ---> c774098dfd35 [2021-05-12T20:30:36.482Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T20:30:36.482Z] Successfully built c774098dfd35 [2021-05-12T20:30:36.482Z] Successfully tagged device-modbus:latest [2021-05-12T20:30:38.213Z] $ docker rm -f 467be614f6c67852b2a2f3e12d1eba8dd7b5c4988657bc98b664b2bec918eb79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:30:38.728Z] provisioning config files... [2021-05-12T20:30:38.760Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/47@tmp/config1013462851642980285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:30:38.953Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:38.953Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:39.100Z] ---> docker-login.sh [2021-05-12T20:30:39.100Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:30:39.208Z] prd-ubuntu18.04-docker-arm64-4c-16g-4851 does not seem to be running inside a container [2021-05-12T20:30:39.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/47 -v /w/workspace/device-modbus-go/47:/w/workspace/device-modbus-go/47:rw,z -v /w/workspace/device-modbus-go/47@tmp:/w/workspace/device-modbus-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:30:39.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:30:39.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:30:39.364Z] Configure a credential helper to remove this warning. See [2021-05-12T20:30:39.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:30:39.364Z] [2021-05-12T20:30:39.364Z] Login Succeeded [2021-05-12T20:30:39.364Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:30:39.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:30:39.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:30:39.629Z] Configure a credential helper to remove this warning. See [2021-05-12T20:30:39.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:30:39.629Z] [2021-05-12T20:30:39.629Z] Login Succeeded [2021-05-12T20:30:39.629Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:30:39.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:30:39.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:30:39.629Z] Configure a credential helper to remove this warning. See [2021-05-12T20:30:39.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:30:39.629Z] [2021-05-12T20:30:39.629Z] Login Succeeded [2021-05-12T20:30:39.629Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:30:39.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:30:39.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:30:39.895Z] Configure a credential helper to remove this warning. See [2021-05-12T20:30:39.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:30:39.895Z] [2021-05-12T20:30:39.895Z] Login Succeeded [2021-05-12T20:30:39.895Z] docker.io [2021-05-12T20:30:40.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:30:40.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:30:40.423Z] Configure a credential helper to remove this warning. See [2021-05-12T20:30:40.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:30:40.423Z] [2021-05-12T20:30:40.423Z] Login Succeeded [2021-05-12T20:30:40.423Z] ---> docker-login.sh ends [2021-05-12T20:30:40.792Z] $ docker top 163afb8b21733225aae1774ebc752054f4df6d83ed9cfa11cd08ba69037eb973 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-12T20:30:41.088Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:30:41.224Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-05-12T20:30:41.224Z] 13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:30:41.224Z] latest [2021-05-12T20:30:41.224Z] 1.3.2-dev.8 [2021-05-12T20:30:41.224Z] 13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:30:41.224Z] master [2021-05-12T20:30:41.224Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:41.584Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:41.756Z] + go mod tidy [2021-05-12T20:30:41.903Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:30:41.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-12T20:30:41.903Z] 4721c49f3233: Preparing [2021-05-12T20:30:41.903Z] 189d251f5af5: Preparing [2021-05-12T20:30:41.903Z] 7278c27b8015: Preparing [2021-05-12T20:30:41.903Z] 43fb06b29c56: Preparing [2021-05-12T20:30:41.903Z] a933bc7df9e1: Preparing [2021-05-12T20:30:41.903Z] 32f366d666a5: Preparing [2021-05-12T20:30:41.903Z] 32f366d666a5: Waiting [2021-05-12T20:30:42.168Z] 189d251f5af5: Pushed [2021-05-12T20:30:42.168Z] 4721c49f3233: Pushed [2021-05-12T20:30:42.168Z] a933bc7df9e1: Pushed [2021-05-12T20:30:42.168Z] 32f366d666a5: Layer already exists [2021-05-12T20:30:42.168Z] 43fb06b29c56: Pushed [Pipeline] sh [2021-05-12T20:30:43.036Z] + make test [2021-05-12T20:30:43.036Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:30:43.116Z] 7278c27b8015: Pushed [2021-05-12T20:30:43.378Z] 13088d9dec4550f0cc4856225025b51f703f2058: digest: sha256:4d30699c10ba565a7426f9674553428f79dbc77d71dac848d8044019eeae18b9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:43.700Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:44.017Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-12T20:30:44.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-12T20:30:44.017Z] 4721c49f3233: Preparing [2021-05-12T20:30:44.017Z] 189d251f5af5: Preparing [2021-05-12T20:30:44.017Z] 7278c27b8015: Preparing [2021-05-12T20:30:44.017Z] 43fb06b29c56: Preparing [2021-05-12T20:30:44.017Z] a933bc7df9e1: Preparing [2021-05-12T20:30:44.017Z] 32f366d666a5: Preparing [2021-05-12T20:30:44.017Z] 32f366d666a5: Waiting [2021-05-12T20:30:44.017Z] 7278c27b8015: Layer already exists [2021-05-12T20:30:44.017Z] a933bc7df9e1: Layer already exists [2021-05-12T20:30:44.017Z] 4721c49f3233: Layer already exists [2021-05-12T20:30:44.017Z] 189d251f5af5: Layer already exists [2021-05-12T20:30:44.017Z] 43fb06b29c56: Layer already exists [2021-05-12T20:30:44.017Z] 32f366d666a5: Layer already exists [2021-05-12T20:30:44.017Z] latest: digest: sha256:4d30699c10ba565a7426f9674553428f79dbc77d71dac848d8044019eeae18b9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:44.336Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:44.472Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-12T20:30:44.639Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [2021-05-12T20:30:44.639Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-12T20:30:44.639Z] 4721c49f3233: Preparing [2021-05-12T20:30:44.639Z] 189d251f5af5: Preparing [2021-05-12T20:30:44.639Z] 7278c27b8015: Preparing [2021-05-12T20:30:44.639Z] 43fb06b29c56: Preparing [2021-05-12T20:30:44.639Z] a933bc7df9e1: Preparing [2021-05-12T20:30:44.639Z] 32f366d666a5: Preparing [2021-05-12T20:30:44.639Z] 32f366d666a5: Waiting [2021-05-12T20:30:44.639Z] a933bc7df9e1: Layer already exists [2021-05-12T20:30:44.639Z] 43fb06b29c56: Layer already exists [2021-05-12T20:30:44.639Z] 7278c27b8015: Layer already exists [2021-05-12T20:30:44.639Z] 189d251f5af5: Layer already exists [2021-05-12T20:30:44.639Z] 4721c49f3233: Layer already exists [2021-05-12T20:30:44.639Z] 32f366d666a5: Layer already exists [2021-05-12T20:30:44.639Z] 1.3.2-dev.8: digest: sha256:4d30699c10ba565a7426f9674553428f79dbc77d71dac848d8044019eeae18b9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:44.951Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:45.258Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:30:45.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-12T20:30:45.259Z] 4721c49f3233: Preparing [2021-05-12T20:30:45.259Z] 189d251f5af5: Preparing [2021-05-12T20:30:45.259Z] 7278c27b8015: Preparing [2021-05-12T20:30:45.259Z] 43fb06b29c56: Preparing [2021-05-12T20:30:45.259Z] a933bc7df9e1: Preparing [2021-05-12T20:30:45.259Z] 32f366d666a5: Preparing [2021-05-12T20:30:45.259Z] 32f366d666a5: Waiting [2021-05-12T20:30:45.259Z] 189d251f5af5: Layer already exists [2021-05-12T20:30:45.259Z] a933bc7df9e1: Layer already exists [2021-05-12T20:30:45.259Z] 7278c27b8015: Layer already exists [2021-05-12T20:30:45.259Z] 43fb06b29c56: Layer already exists [2021-05-12T20:30:45.259Z] 4721c49f3233: Layer already exists [2021-05-12T20:30:45.259Z] 32f366d666a5: Layer already exists [2021-05-12T20:30:45.259Z] 13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8: digest: sha256:4d30699c10ba565a7426f9674553428f79dbc77d71dac848d8044019eeae18b9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:45.570Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:45.873Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-05-12T20:30:45.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-12T20:30:45.873Z] 4721c49f3233: Preparing [2021-05-12T20:30:45.873Z] 189d251f5af5: Preparing [2021-05-12T20:30:45.873Z] 7278c27b8015: Preparing [2021-05-12T20:30:45.873Z] 43fb06b29c56: Preparing [2021-05-12T20:30:45.873Z] a933bc7df9e1: Preparing [2021-05-12T20:30:45.873Z] 32f366d666a5: Preparing [2021-05-12T20:30:45.873Z] 32f366d666a5: Waiting [2021-05-12T20:30:45.873Z] 43fb06b29c56: Layer already exists [2021-05-12T20:30:45.873Z] 7278c27b8015: Layer already exists [2021-05-12T20:30:45.873Z] 4721c49f3233: Layer already exists [2021-05-12T20:30:45.873Z] 189d251f5af5: Layer already exists [2021-05-12T20:30:45.873Z] a933bc7df9e1: Layer already exists [2021-05-12T20:30:45.873Z] 32f366d666a5: Layer already exists [2021-05-12T20:30:45.873Z] master: digest: sha256:4d30699c10ba565a7426f9674553428f79dbc77d71dac848d8044019eeae18b9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:30:45.932Z] ===================================================== [Pipeline] echo [2021-05-12T20:30:45.948Z] taggedImages: [2021-05-12T20:30:45.948Z] - nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:30:45.948Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-12T20:30:45.948Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [2021-05-12T20:30:45.948Z] - nexus3.edgexfoundry.org:10004/device-modbus:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:30:45.948Z] - nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:30:46.486Z] ---> job-cost.sh [2021-05-12T20:30:46.486Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CnPZ [2021-05-12T20:31:01.455Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:31:33.795Z] lf-activate-venv(): INFO: Adding /tmp/venv-CnPZ/bin to PATH [2021-05-12T20:31:33.795Z] INFO: No Stack... [2021-05-12T20:31:33.795Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:31:33.795Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:31:34.260Z] + cut -d, -f6 [2021-05-12T20:31:34.260Z] + cat /w/workspace/device-modbus-go/47/archives/cost.csv [Pipeline] lock [2021-05-12T20:31:34.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] [2021-05-12T20:31:34.449Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] did not exist. Created. [2021-05-12T20:31:34.449Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:31:34.791Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:31:34.917Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:31:34.927Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:31:41.204Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-12T20:31:41.204Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.043s coverage: 47.7% of statements [2021-05-12T20:31:41.204Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:32:13.590Z] gofmt -l . [2021-05-12T20:32:13.590Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:32:13.590Z] ./bin/test-attribution-txt.sh [2021-05-12T20:32:13.590Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:32:13.629Z] $ docker stop --time=1 163afb8b21733225aae1774ebc752054f4df6d83ed9cfa11cd08ba69037eb973 [2021-05-12T20:32:15.826Z] $ docker rm -f 163afb8b21733225aae1774ebc752054f4df6d83ed9cfa11cd08ba69037eb973 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:32:16.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:32:16.859Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:32:17.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:32:18.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:32:18.781Z] + ls -al . [2021-05-12T20:32:18.781Z] total 144 [2021-05-12T20:32:18.781Z] drwxrwxr-x 9 jenkins jenkins 4096 May 12 20:32 . [2021-05-12T20:32:18.781Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 20:29 .dockerignore [2021-05-12T20:32:18.781Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git [2021-05-12T20:32:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 338 May 12 20:29 .gitignore [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 12 20:29 Attribution.txt [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 1457 May 12 20:29 Dockerfile [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 995 May 12 20:29 Dockerfile.build [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 679 May 12 20:29 Jenkinsfile [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 910 May 12 20:29 Makefile [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 12 20:29 README.md [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 20:22 VERSION [2021-05-12T20:32:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin [2021-05-12T20:32:18.781Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd [2021-05-12T20:32:18.781Z] -rw-r--r-- 1 jenkins jenkins 22385 May 12 20:31 coverage.out [2021-05-12T20:32:18.781Z] -rw-r--r-- 1 jenkins jenkins 413 May 12 20:32 go.mod [2021-05-12T20:32:18.781Z] -rw-r--r-- 1 jenkins jenkins 21839 May 12 20:30 go.sum [2021-05-12T20:32:18.781Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 internal [2021-05-12T20:32:18.781Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 simulator [2021-05-12T20:32:18.781Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 snap [2021-05-12T20:32:18.781Z] -rw-rw-r-- 1 jenkins jenkins 229 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:32:19.324Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=13088d9dec4550f0cc4856225025b51f703f2058 --label arch=arm64 --label version=1.3.2-dev.8 . [2021-05-12T20:32:19.685Z] Sending build context to Docker daemon 617kB [2021-05-12T20:32:19.962Z] Step 1/21 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:32:19.962Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-12T20:32:19.962Z] ---> b1d54074f7c9 [2021-05-12T20:32:19.962Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:32:19.962Z] ---> Running in d1cdb29eebf4 [2021-05-12T20:32:22.586Z] Removing intermediate container d1cdb29eebf4 [2021-05-12T20:32:22.586Z] ---> 8b4161c93cb8 [2021-05-12T20:32:22.586Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:32:22.586Z] ---> Running in bd170a6d51c3 [2021-05-12T20:32:23.561Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:24.536Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:25.517Z] OK: 145 MiB in 53 packages [2021-05-12T20:32:26.965Z] Removing intermediate container bd170a6d51c3 [2021-05-12T20:32:26.965Z] ---> a87237da9de4 [2021-05-12T20:32:26.965Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-12T20:32:26.965Z] ---> Running in f34f5f596b41 [2021-05-12T20:32:27.575Z] Removing intermediate container f34f5f596b41 [2021-05-12T20:32:27.575Z] ---> 37c8dfd919f2 [2021-05-12T20:32:27.575Z] Step 6/21 : COPY . . [2021-05-12T20:32:28.550Z] ---> f6c2b4177220 [2021-05-12T20:32:28.550Z] Step 7/21 : RUN go mod download [2021-05-12T20:32:28.822Z] ---> Running in 5c231e5c041b [2021-05-12T20:32:31.454Z] Removing intermediate container 5c231e5c041b [2021-05-12T20:32:31.454Z] ---> 83b7b5da9849 [2021-05-12T20:32:31.454Z] Step 8/21 : RUN make build [2021-05-12T20:32:31.454Z] ---> Running in 272562aca87e [2021-05-12T20:32:32.429Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.8" -o cmd/device-modbus ./cmd [2021-05-12T20:33:11.533Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:33:21.693Z] Removing intermediate container 272562aca87e [2021-05-12T20:33:21.693Z] ---> ed72582bf620 [2021-05-12T20:33:21.693Z] Step 9/21 : FROM alpine:3.12 [2021-05-12T20:33:21.693Z] 3.12: Pulling from library/alpine [2021-05-12T20:33:21.693Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:33:21.693Z] d2f70382dc9a: Download complete [2021-05-12T20:33:22.292Z] d2f70382dc9a: Pull complete [2021-05-12T20:33:22.292Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:33:22.292Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:33:22.292Z] ---> 9852663dfa18 [2021-05-12T20:33:22.292Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-12T20:33:22.567Z] ---> Running in c48bad656696 [2021-05-12T20:33:22.851Z] Removing intermediate container c48bad656696 [2021-05-12T20:33:22.851Z] ---> 69f738cdd086 [2021-05-12T20:33:22.851Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:33:23.125Z] ---> Running in 291fc6019ff0 [2021-05-12T20:33:25.765Z] Removing intermediate container 291fc6019ff0 [2021-05-12T20:33:25.765Z] ---> 0cf2be785bd5 [2021-05-12T20:33:25.765Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:33:25.765Z] ---> Running in 861d01d5cccc [2021-05-12T20:33:26.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:33:27.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:33:27.977Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:33:27.977Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:33:28.259Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:33:28.259Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:33:28.535Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:33:28.535Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:33:28.535Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:33:28.535Z] OK: 8 MiB in 20 packages [2021-05-12T20:33:29.963Z] Removing intermediate container 861d01d5cccc [2021-05-12T20:33:29.963Z] ---> 15787602290c [2021-05-12T20:33:29.963Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-12T20:33:30.958Z] ---> dd8cec21cdc3 [2021-05-12T20:33:30.958Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-12T20:33:31.949Z] ---> 030789e1dc3b [2021-05-12T20:33:31.949Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-12T20:33:32.543Z] ---> 92296d9127ee [2021-05-12T20:33:32.543Z] Step 16/21 : EXPOSE 49991 [2021-05-12T20:33:32.817Z] ---> Running in 8276871d35d4 [2021-05-12T20:33:33.413Z] Removing intermediate container 8276871d35d4 [2021-05-12T20:33:33.413Z] ---> 2e2274e65d06 [2021-05-12T20:33:33.413Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-12T20:33:33.413Z] ---> Running in 9ce973eed444 [2021-05-12T20:33:34.012Z] Removing intermediate container 9ce973eed444 [2021-05-12T20:33:34.012Z] ---> b1060bc1759d [2021-05-12T20:33:34.012Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:33:34.012Z] ---> Running in 4b8c29c753b2 [2021-05-12T20:33:34.607Z] Removing intermediate container 4b8c29c753b2 [2021-05-12T20:33:34.607Z] ---> ef687715177c [2021-05-12T20:33:34.607Z] Step 19/21 : LABEL arch=arm64 [2021-05-12T20:33:34.607Z] ---> Running in 88db7f8af584 [2021-05-12T20:33:35.203Z] Removing intermediate container 88db7f8af584 [2021-05-12T20:33:35.203Z] ---> 1e52e2191d1d [2021-05-12T20:33:35.203Z] Step 20/21 : LABEL git_sha=13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:33:35.203Z] ---> Running in 2cbe833484da [2021-05-12T20:33:35.799Z] Removing intermediate container 2cbe833484da [2021-05-12T20:33:35.799Z] ---> b50d97554ad5 [2021-05-12T20:33:35.799Z] Step 21/21 : LABEL version=1.3.2-dev.8 [2021-05-12T20:33:35.799Z] ---> Running in 109b056326a3 [2021-05-12T20:33:36.404Z] Removing intermediate container 109b056326a3 [2021-05-12T20:33:36.404Z] ---> 95896f92489e [2021-05-12T20:33:36.404Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T20:33:36.404Z] Successfully built 95896f92489e [2021-05-12T20:33:36.404Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:33:36.553Z] provisioning config files... [2021-05-12T20:33:36.604Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/47@tmp/config1747143840076297414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:33:36.984Z] ---> docker-login.sh [2021-05-12T20:33:36.984Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:33:37.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:37.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:37.532Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:37.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:37.532Z] [2021-05-12T20:33:37.532Z] Login Succeeded [2021-05-12T20:33:37.532Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:33:37.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:38.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:38.131Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:38.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:38.131Z] [2021-05-12T20:33:38.131Z] Login Succeeded [2021-05-12T20:33:38.131Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:33:38.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:38.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:38.679Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:38.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:38.679Z] [2021-05-12T20:33:38.679Z] Login Succeeded [2021-05-12T20:33:38.679Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:33:38.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:38.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:38.952Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:38.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:38.952Z] [2021-05-12T20:33:38.952Z] Login Succeeded [2021-05-12T20:33:38.952Z] docker.io [2021-05-12T20:33:39.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:33:39.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:33:39.820Z] Configure a credential helper to remove this warning. See [2021-05-12T20:33:39.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:33:39.820Z] [2021-05-12T20:33:39.820Z] Login Succeeded [2021-05-12T20:33:39.820Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:33:39.836Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:33:39.911Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-05-12T20:33:39.911Z] 13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:33:39.911Z] latest [2021-05-12T20:33:39.911Z] 1.3.2-dev.8 [2021-05-12T20:33:39.911Z] 13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:33:39.911Z] master [2021-05-12T20:33:39.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:40.296Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:40.643Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:33:40.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-12T20:33:40.643Z] 1e4e0ac6e89b: Preparing [2021-05-12T20:33:40.643Z] 273de643e230: Preparing [2021-05-12T20:33:40.643Z] 50824b11b072: Preparing [2021-05-12T20:33:40.643Z] 7e4de7bb3c89: Preparing [2021-05-12T20:33:40.643Z] 71085763c974: Preparing [2021-05-12T20:33:40.643Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:40.643Z] 3fbe34a1663b: Waiting [2021-05-12T20:33:40.918Z] 273de643e230: Pushed [2021-05-12T20:33:40.918Z] 1e4e0ac6e89b: Pushed [2021-05-12T20:33:40.918Z] 71085763c974: Pushed [2021-05-12T20:33:40.918Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:41.509Z] 7e4de7bb3c89: Pushed [2021-05-12T20:33:44.129Z] 50824b11b072: Pushed [2021-05-12T20:33:44.129Z] 13088d9dec4550f0cc4856225025b51f703f2058: digest: sha256:dcc21d1b85914b55f684792a7d42b948a479a69ec10d42790931a6586f646498 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:44.487Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:44.828Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-12T20:33:44.828Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-12T20:33:44.828Z] 1e4e0ac6e89b: Preparing [2021-05-12T20:33:44.828Z] 273de643e230: Preparing [2021-05-12T20:33:44.828Z] 50824b11b072: Preparing [2021-05-12T20:33:44.828Z] 7e4de7bb3c89: Preparing [2021-05-12T20:33:44.828Z] 71085763c974: Preparing [2021-05-12T20:33:44.828Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:44.828Z] 3fbe34a1663b: Waiting [2021-05-12T20:33:44.828Z] 1e4e0ac6e89b: Layer already exists [2021-05-12T20:33:44.828Z] 273de643e230: Layer already exists [2021-05-12T20:33:44.828Z] 50824b11b072: Layer already exists [2021-05-12T20:33:44.828Z] 71085763c974: Layer already exists [2021-05-12T20:33:44.828Z] 7e4de7bb3c89: Layer already exists [2021-05-12T20:33:44.828Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:45.103Z] latest: digest: sha256:dcc21d1b85914b55f684792a7d42b948a479a69ec10d42790931a6586f646498 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:45.454Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:45.814Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [2021-05-12T20:33:45.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-12T20:33:45.814Z] 1e4e0ac6e89b: Preparing [2021-05-12T20:33:45.814Z] 273de643e230: Preparing [2021-05-12T20:33:45.814Z] 50824b11b072: Preparing [2021-05-12T20:33:45.814Z] 7e4de7bb3c89: Preparing [2021-05-12T20:33:45.814Z] 71085763c974: Preparing [2021-05-12T20:33:45.814Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:45.814Z] 3fbe34a1663b: Waiting [2021-05-12T20:33:46.090Z] 273de643e230: Layer already exists [2021-05-12T20:33:46.090Z] 71085763c974: Layer already exists [2021-05-12T20:33:46.090Z] 1e4e0ac6e89b: Layer already exists [2021-05-12T20:33:46.090Z] 7e4de7bb3c89: Layer already exists [2021-05-12T20:33:46.090Z] 50824b11b072: Layer already exists [2021-05-12T20:33:46.090Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:46.090Z] 1.3.2-dev.8: digest: sha256:dcc21d1b85914b55f684792a7d42b948a479a69ec10d42790931a6586f646498 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:46.435Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:46.786Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:33:46.786Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-12T20:33:46.786Z] 1e4e0ac6e89b: Preparing [2021-05-12T20:33:46.786Z] 273de643e230: Preparing [2021-05-12T20:33:46.786Z] 50824b11b072: Preparing [2021-05-12T20:33:46.786Z] 7e4de7bb3c89: Preparing [2021-05-12T20:33:46.786Z] 71085763c974: Preparing [2021-05-12T20:33:46.786Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:46.786Z] 3fbe34a1663b: Waiting [2021-05-12T20:33:47.062Z] 50824b11b072: Layer already exists [2021-05-12T20:33:47.062Z] 1e4e0ac6e89b: Layer already exists [2021-05-12T20:33:47.062Z] 273de643e230: Layer already exists [2021-05-12T20:33:47.062Z] 71085763c974: Layer already exists [2021-05-12T20:33:47.062Z] 7e4de7bb3c89: Layer already exists [2021-05-12T20:33:47.062Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:47.062Z] 13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8: digest: sha256:dcc21d1b85914b55f684792a7d42b948a479a69ec10d42790931a6586f646498 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:47.420Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:33:47.803Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-05-12T20:33:47.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-12T20:33:47.804Z] 1e4e0ac6e89b: Preparing [2021-05-12T20:33:47.804Z] 273de643e230: Preparing [2021-05-12T20:33:47.804Z] 50824b11b072: Preparing [2021-05-12T20:33:47.804Z] 7e4de7bb3c89: Preparing [2021-05-12T20:33:47.804Z] 71085763c974: Preparing [2021-05-12T20:33:47.804Z] 3fbe34a1663b: Preparing [2021-05-12T20:33:47.804Z] 3fbe34a1663b: Waiting [2021-05-12T20:33:48.076Z] 7e4de7bb3c89: Layer already exists [2021-05-12T20:33:48.076Z] 1e4e0ac6e89b: Layer already exists [2021-05-12T20:33:48.076Z] 50824b11b072: Layer already exists [2021-05-12T20:33:48.076Z] 273de643e230: Layer already exists [2021-05-12T20:33:48.076Z] 71085763c974: Layer already exists [2021-05-12T20:33:48.076Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:33:48.076Z] master: digest: sha256:dcc21d1b85914b55f684792a7d42b948a479a69ec10d42790931a6586f646498 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:33:48.144Z] ===================================================== [Pipeline] echo [2021-05-12T20:33:48.161Z] taggedImages: [2021-05-12T20:33:48.161Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058 [2021-05-12T20:33:48.161Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-12T20:33:48.161Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [2021-05-12T20:33:48.161Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13088d9dec4550f0cc4856225025b51f703f2058-1.3.2-dev.8 [2021-05-12T20:33:48.161Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:33:48.571Z] ---> job-cost.sh [2021-05-12T20:33:48.571Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pAfA [2021-05-12T20:34:35.547Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:36:13.050Z] lf-activate-venv(): INFO: Adding /tmp/venv-pAfA/bin to PATH [2021-05-12T20:36:13.050Z] INFO: No Stack... [2021-05-12T20:36:13.050Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:36:13.050Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:36:13.436Z] + cut -d, -f6 [2021-05-12T20:36:13.436Z] + cat /w/workspace/device-modbus-go/47/archives/cost.csv [Pipeline] lock [2021-05-12T20:36:13.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] [2021-05-12T20:36:13.570Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] did not exist. Created. [2021-05-12T20:36:13.570Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:36:13.946Z] /w/workspace/device-modbus-go/47@tmp/durable-9902b66d/script.sh: 1: /w/workspace/device-modbus-go/47@tmp/durable-9902b66d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:36:14.304Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:36:14.335Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:36:14.494Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:36:14.514Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-47-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-05-12T20:36:14.913Z] provisioning config files... [2021-05-12T20:36:14.930Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8744433373433923669tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:36:15.291Z] + set +x [2021-05-12T20:36:15.291Z] + curl -s https://codecov.io/bash [2021-05-12T20:36:15.291Z] + bash -s -- [2021-05-12T20:36:15.558Z] [2021-05-12T20:36:15.558Z] _____ _ [2021-05-12T20:36:15.558Z] / ____| | | [2021-05-12T20:36:15.558Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:36:15.558Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:36:15.558Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:36:15.558Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:36:15.558Z] Bash-1.0.2 [2021-05-12T20:36:15.558Z] [2021-05-12T20:36:15.558Z] [2021-05-12T20:36:15.558Z] ==> git version 2.24.3 found [2021-05-12T20:36:15.558Z] ==> 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-05-12T20:36:15.558Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:36:15.558Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:36:15.558Z] ==> Jenkins CI detected. [2021-05-12T20:36:15.558Z] project root: . [2021-05-12T20:36:15.558Z] --> token set from env [2021-05-12T20:36:15.558Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:36:15.558Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:36:15.558Z] ==> Python coveragepy not found [2021-05-12T20:36:15.558Z] ==> Searching for coverage reports in: [2021-05-12T20:36:15.558Z] + . [2021-05-12T20:36:15.558Z] -> Found 1 reports [2021-05-12T20:36:15.558Z] ==> Detecting git/mercurial file structure [2021-05-12T20:36:15.558Z] ==> Reading reports [2021-05-12T20:36:15.825Z] + ./coverage.out bytes=22385 [2021-05-12T20:36:15.825Z] ==> Appending adjustments [2021-05-12T20:36:15.825Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:36:15.825Z] + Found adjustments [2021-05-12T20:36:15.825Z] ==> Gzipping contents [2021-05-12T20:36:15.825Z] 4.0K /tmp/codecov.RAqGQa.gz [2021-05-12T20:36:15.825Z] ==> Uploading reports [2021-05-12T20:36:15.825Z] url: https://codecov.io [2021-05-12T20:36:15.825Z] query: branch=master&commit=13088d9dec4550f0cc4856225025b51f703f2058&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:36:15.825Z] -> Pinging Codecov [2021-05-12T20:36:15.825Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=13088d9dec4550f0cc4856225025b51f703f2058&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:36:16.779Z] -> Uploading to [2021-05-12T20:36:16.779Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/55DBCA73C666E3227836607328DD7E49/13088d9dec4550f0cc4856225025b51f703f2058/63c38671-b9e5-4f0d-b00e-d5a4f241808c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T203616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcbf2af4f232417b6e18c6dfb72d0f2eda85e31a2b6535175949d511fad7ceaf [2021-05-12T20:36:16.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:36:16.779Z] Dload Upload Total Spent Left Speed [2021-05-12T20:36:17.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3881 0 0 100 3881 0 9670 --:--:-- --:--:-- --:--:-- 9678 [2021-05-12T20:36:17.042Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] } [2021-05-12T20:36:17.054Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-12T20:36:17.303Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-12T20:36:17.319Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:17.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:36:17.641Z] [2021-05-12T20:36:17.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:36:18.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:36:18.259Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-12T20:36:18.259Z] 188c0c94c7c5: Pulling fs layer [2021-05-12T20:36:18.259Z] 0ef7d3d256c8: Pulling fs layer [2021-05-12T20:36:18.259Z] de9db76c5a1d: Pulling fs layer [2021-05-12T20:36:18.259Z] 0eba1c9be4d2: Pulling fs layer [2021-05-12T20:36:18.259Z] 0d57e429df01: Pulling fs layer [2021-05-12T20:36:18.259Z] 4e4be7b47b0d: Pulling fs layer [2021-05-12T20:36:18.259Z] e1f770b5df2f: Pulling fs layer [2021-05-12T20:36:18.259Z] 85a0685a4137: Pulling fs layer [2021-05-12T20:36:18.259Z] 0eba1c9be4d2: Waiting [2021-05-12T20:36:18.259Z] 0d57e429df01: Waiting [2021-05-12T20:36:18.259Z] e1f770b5df2f: Waiting [2021-05-12T20:36:18.259Z] 85a0685a4137: Waiting [2021-05-12T20:36:18.259Z] de9db76c5a1d: Download complete [2021-05-12T20:36:18.259Z] 0ef7d3d256c8: Download complete [2021-05-12T20:36:18.259Z] 0d57e429df01: Verifying Checksum [2021-05-12T20:36:18.259Z] 0d57e429df01: Download complete [2021-05-12T20:36:18.259Z] 4e4be7b47b0d: Verifying Checksum [2021-05-12T20:36:18.259Z] 4e4be7b47b0d: Download complete [2021-05-12T20:36:18.532Z] 188c0c94c7c5: Verifying Checksum [2021-05-12T20:36:18.532Z] 188c0c94c7c5: Download complete [2021-05-12T20:36:18.804Z] 188c0c94c7c5: Pull complete [2021-05-12T20:36:19.401Z] 0ef7d3d256c8: Pull complete [2021-05-12T20:36:19.401Z] e1f770b5df2f: Verifying Checksum [2021-05-12T20:36:19.401Z] e1f770b5df2f: Download complete [2021-05-12T20:36:19.672Z] de9db76c5a1d: Pull complete [2021-05-12T20:36:23.970Z] 0eba1c9be4d2: Verifying Checksum [2021-05-12T20:36:23.970Z] 0eba1c9be4d2: Download complete [2021-05-12T20:36:23.970Z] 85a0685a4137: Verifying Checksum [2021-05-12T20:36:23.970Z] 85a0685a4137: Download complete [2021-05-12T20:36:36.396Z] 0eba1c9be4d2: Pull complete [2021-05-12T20:36:36.396Z] 0d57e429df01: Pull complete [2021-05-12T20:36:36.396Z] 4e4be7b47b0d: Pull complete [2021-05-12T20:36:38.385Z] e1f770b5df2f: Pull complete [2021-05-12T20:36:51.131Z] 85a0685a4137: Pull complete [2021-05-12T20:36:51.399Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-12T20:36:51.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:36:51.399Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-12T20:36:51.712Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:36:51.803Z] $ 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-05-12T20:36:53.428Z] $ docker top b460f01133c2a9724818806472b673d8f5b69f30fffbbfdca403c3a046585999 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-12T20:36:53.640Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-12T20:36:53.984Z] + set -o pipefail [2021-05-12T20:36:53.984Z] + snyk monitor '--org=edgex-jenkins' [2021-05-12T20:37:16.323Z] [2021-05-12T20:37:16.323Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-12T20:37:16.323Z] [2021-05-12T20:37:16.323Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/08b583a8-1d97-4393-a63a-f2aff3ceefa9 [2021-05-12T20:37:16.323Z] [2021-05-12T20:37:16.323Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-12T20:37:16.323Z] [2021-05-12T20:37:16.323Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-12T20:37:16.323Z] [2021-05-12T20:37:16.323Z] [Pipeline] } [2021-05-12T20:37:16.348Z] $ docker stop --time=1 b460f01133c2a9724818806472b673d8f5b69f30fffbbfdca403c3a046585999 [2021-05-12T20:37:18.555Z] $ docker rm -f b460f01133c2a9724818806472b673d8f5b69f30fffbbfdca403c3a046585999 [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-05-12T20:37:19.978Z] + git log --format=format:%s -1 13088d9dec4550f0cc4856225025b51f703f2058 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:20.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:37:20.323Z] . [Pipeline] withDockerContainer [2021-05-12T20:37:20.519Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:37:20.650Z] $ 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-05-12T20:37:21.969Z] $ docker top aec6a79c959c5a1bdea52a43e6c5e45685ff5b8f9f2630c4fa15b422610297cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:37:22.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:37:22.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:37:22.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:37:22.442Z] $ docker exec aec6a79c959c5a1bdea52a43e6c5e45685ff5b8f9f2630c4fa15b422610297cd ssh-agent [2021-05-12T20:37:22.725Z] SSH_AUTH_SOCK=/tmp/ssh-ppfXQ62B7c3m/agent.12 [2021-05-12T20:37:22.725Z] SSH_AGENT_PID=18 [2021-05-12T20:37:22.740Z] Running ssh-add (command line suppressed) [2021-05-12T20:37:22.967Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7380516164211318662.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7380516164211318662.key) [2021-05-12T20:37:23.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:37:23.470Z] + git semver tag [2021-05-12T20:37:23.735Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:37:23.735Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-12T20:37:23.735Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-12T20:37:23.735Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:37:23.735Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:37:23.735Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:37:23.735Z] # $SEMVER_BRANCH = master [2021-05-12T20:37:23.735Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-12T20:37:23.735Z] # 13088d9dec4550f0cc4856225025b51f703f2058 HEAD [2021-05-12T20:37:23.735Z] # -> Force: false [2021-05-12T20:37:23.735Z] # 98cee5476cfb9f8fc8e54c3932a056cefb34e472 refs/tags/v1.3.2-dev.8 [Pipeline] } [2021-05-12T20:37:23.751Z] $ docker exec --env ******** --env ******** aec6a79c959c5a1bdea52a43e6c5e45685ff5b8f9f2630c4fa15b422610297cd ssh-agent -k [2021-05-12T20:37:23.898Z] unset SSH_AUTH_SOCK; [2021-05-12T20:37:23.898Z] unset SSH_AGENT_PID; [2021-05-12T20:37:23.898Z] echo Agent pid 18 killed; [2021-05-12T20:37:23.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:37:24.314Z] + git semver [Pipeline] } [2021-05-12T20:37:24.340Z] $ docker stop --time=1 aec6a79c959c5a1bdea52a43e6c5e45685ff5b8f9f2630c4fa15b422610297cd [2021-05-12T20:37:25.827Z] $ docker rm -f aec6a79c959c5a1bdea52a43e6c5e45685ff5b8f9f2630c4fa15b422610297cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:26.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:37:26.376Z] [2021-05-12T20:37:26.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:26.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:37:26.740Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-12T20:37:26.740Z] ab5ef0e58194: Pulling fs layer [2021-05-12T20:37:26.740Z] 9712f1f96733: Pulling fs layer [2021-05-12T20:37:26.740Z] 63f879dbbcfc: Pulling fs layer [2021-05-12T20:37:26.740Z] 0d9ebad4ef96: Pulling fs layer [2021-05-12T20:37:26.740Z] e9a5061849ea: Pulling fs layer [2021-05-12T20:37:26.740Z] d747dcd14b5f: Pulling fs layer [2021-05-12T20:37:26.740Z] 2de7ff778b66: Pulling fs layer [2021-05-12T20:37:26.740Z] e9a5061849ea: Waiting [2021-05-12T20:37:26.740Z] d747dcd14b5f: Waiting [2021-05-12T20:37:26.740Z] 2de7ff778b66: Waiting [2021-05-12T20:37:26.740Z] 0d9ebad4ef96: Waiting [2021-05-12T20:37:27.020Z] 9712f1f96733: Verifying Checksum [2021-05-12T20:37:27.020Z] 9712f1f96733: Download complete [2021-05-12T20:37:29.849Z] 63f879dbbcfc: Download complete [2021-05-12T20:37:30.119Z] e9a5061849ea: Verifying Checksum [2021-05-12T20:37:30.119Z] e9a5061849ea: Download complete [2021-05-12T20:37:30.119Z] d747dcd14b5f: Verifying Checksum [2021-05-12T20:37:30.119Z] d747dcd14b5f: Download complete [2021-05-12T20:37:30.400Z] 0d9ebad4ef96: Verifying Checksum [2021-05-12T20:37:30.400Z] 0d9ebad4ef96: Download complete [2021-05-12T20:37:30.679Z] 2de7ff778b66: Verifying Checksum [2021-05-12T20:37:30.680Z] 2de7ff778b66: Download complete [2021-05-12T20:37:31.283Z] ab5ef0e58194: Download complete [2021-05-12T20:37:41.626Z] ab5ef0e58194: Pull complete [2021-05-12T20:37:41.626Z] 9712f1f96733: Pull complete [2021-05-12T20:37:43.613Z] 63f879dbbcfc: Pull complete [2021-05-12T20:37:52.031Z] 0d9ebad4ef96: Pull complete [2021-05-12T20:37:53.487Z] e9a5061849ea: Pull complete [2021-05-12T20:37:53.800Z] d747dcd14b5f: Pull complete [2021-05-12T20:37:56.434Z] 2de7ff778b66: Pull complete [2021-05-12T20:37:56.434Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-12T20:37:56.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:37:56.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-12T20:37:56.782Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:37:56.884Z] $ 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-05-12T20:38:01.334Z] $ docker top 62811cc1865f7844a419ef1592f23abb3cbcf1b1b78875ec6832b36a4492a70f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:38:01.607Z] provisioning config files... [2021-05-12T20:38:01.713Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3756716384846235741tmp [2021-05-12T20:38:01.807Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3487784525677641247tmp [2021-05-12T20:38:01.839Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1856058814083231022tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:38:01.872Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:38:02.229Z] ---> sigul-configuration.sh [2021-05-12T20:38:02.524Z] gpg: directory `/root/.gnupg' created [2021-05-12T20:38:02.524Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-12T20:38:02.524Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-12T20:38:02.524Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-12T20:38:02.524Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-12T20:38:02.524Z] gpg: CAST5 encrypted data [2021-05-12T20:38:02.524Z] gpg: encrypted with 1 passphrase [2021-05-12T20:38:02.525Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-12T20:38:02.847Z] + mkdir /home/jenkins [2021-05-12T20:38:02.847Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-12T20:38:03.157Z] + 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-05-12T20:38:03.169Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:38:03.508Z] ---> sigul-install.sh [2021-05-12T20:38:13.620Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-12T20:38:13.984Z] + git tag --list [2021-05-12T20:38:13.984Z] 0.7.1 [2021-05-12T20:38:13.984Z] v1.0.0 [2021-05-12T20:38:13.984Z] v1.1.0 [2021-05-12T20:38:13.984Z] v1.1.1 [2021-05-12T20:38:13.984Z] v1.2.2 [2021-05-12T20:38:13.984Z] v1.3.0 [2021-05-12T20:38:13.984Z] v1.3.1 [2021-05-12T20:38:13.984Z] v1.3.1-dev.1 [2021-05-12T20:38:13.984Z] v1.3.1-dev.2 [2021-05-12T20:38:13.984Z] v1.3.1-dev.3 [2021-05-12T20:38:13.984Z] v1.3.1-dev.4 [2021-05-12T20:38:13.984Z] v1.3.1-dev.5 [2021-05-12T20:38:13.984Z] v1.3.1-dev.6 [2021-05-12T20:38:13.984Z] v1.3.1-dev.7 [2021-05-12T20:38:13.984Z] v1.3.1-dev.8 [2021-05-12T20:38:13.984Z] v1.3.2-dev.1 [2021-05-12T20:38:13.984Z] v1.3.2-dev.2 [2021-05-12T20:38:13.984Z] v1.3.2-dev.3 [2021-05-12T20:38:13.984Z] v1.3.2-dev.4 [2021-05-12T20:38:13.984Z] v1.3.2-dev.5 [2021-05-12T20:38:13.984Z] v1.3.2-dev.6 [2021-05-12T20:38:13.984Z] v1.3.2-dev.7 [2021-05-12T20:38:13.984Z] v1.3.2-dev.8 [Pipeline] sh [2021-05-12T20:38:14.346Z] + lftools sign git-tag v1.3.2-dev.8 [2021-05-12T20:38:16.282Z] Signing Git tag with Sigul... [2021-05-12T20:38:16.282Z] Signing v1.3.2-dev.8 [Pipeline] echo [2021-05-12T20:38:17.263Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:38:17.590Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-12T20:38:17.600Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-12T20:38:17.633Z] $ docker stop --time=1 62811cc1865f7844a419ef1592f23abb3cbcf1b1b78875ec6832b36a4492a70f [2021-05-12T20:38:19.383Z] $ docker rm -f 62811cc1865f7844a419ef1592f23abb3cbcf1b1b78875ec6832b36a4492a70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:38:20.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:38:20.109Z] . [Pipeline] withDockerContainer [2021-05-12T20:38:20.267Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:38:20.324Z] $ 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-05-12T20:38:21.300Z] $ docker top 0bc452485df705663820bf262d2636a6a6219d6e10d7cd685cfde7753efe7620 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:38:21.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:38:21.578Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:38:22.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:38:22.123Z] $ docker exec 0bc452485df705663820bf262d2636a6a6219d6e10d7cd685cfde7753efe7620 ssh-agent [2021-05-12T20:38:22.481Z] SSH_AUTH_SOCK=/tmp/ssh-t1brj4buZ50B/agent.13 [2021-05-12T20:38:22.481Z] SSH_AGENT_PID=19 [2021-05-12T20:38:22.491Z] Running ssh-add (command line suppressed) [2021-05-12T20:38:22.771Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1161331716922585534.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1161331716922585534.key) [2021-05-12T20:38:22.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:38:23.286Z] + git semver bump pre [2021-05-12T20:38:23.287Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:38:23.287Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-12T20:38:23.287Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-12T20:38:23.287Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:38:23.287Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:38:23.287Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:38:23.287Z] # $SEMVER_BRANCH = master [2021-05-12T20:38:23.287Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-12T20:38:23.553Z] 1.3.2-dev.9 [Pipeline] } [2021-05-12T20:38:23.572Z] $ docker exec --env ******** --env ******** 0bc452485df705663820bf262d2636a6a6219d6e10d7cd685cfde7753efe7620 ssh-agent -k [2021-05-12T20:38:23.880Z] unset SSH_AUTH_SOCK; [2021-05-12T20:38:23.881Z] unset SSH_AGENT_PID; [2021-05-12T20:38:23.881Z] echo Agent pid 19 killed; [2021-05-12T20:38:23.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:38:24.314Z] + git semver [Pipeline] } [2021-05-12T20:38:24.334Z] $ docker stop --time=1 0bc452485df705663820bf262d2636a6a6219d6e10d7cd685cfde7753efe7620 [2021-05-12T20:38:25.768Z] $ docker rm -f 0bc452485df705663820bf262d2636a6a6219d6e10d7cd685cfde7753efe7620 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:38:26.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:38:26.244Z] . [Pipeline] withDockerContainer [2021-05-12T20:38:26.382Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:38:26.446Z] $ 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-05-12T20:38:27.361Z] $ docker top 611bf416d64c4d383dcd4a5a2577113b6e3e4a9968615430bebef039bde2984f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:38:27.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:38:27.562Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:38:27.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:38:27.835Z] $ docker exec 611bf416d64c4d383dcd4a5a2577113b6e3e4a9968615430bebef039bde2984f ssh-agent [2021-05-12T20:38:28.062Z] SSH_AUTH_SOCK=/tmp/ssh-EME1Fi4iuETL/agent.12 [2021-05-12T20:38:28.062Z] SSH_AGENT_PID=18 [2021-05-12T20:38:28.071Z] Running ssh-add (command line suppressed) [2021-05-12T20:38:28.240Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6325364862943354145.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6325364862943354145.key) [2021-05-12T20:38:28.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:38:28.757Z] + git semver push [2021-05-12T20:38:28.757Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:38:28.757Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-12T20:38:28.757Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-12T20:38:28.757Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:38:28.757Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:38:28.757Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:38:28.757Z] # $SEMVER_BRANCH = master [2021-05-12T20:38:28.757Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-12T20:38:34.114Z] $ docker exec --env ******** --env ******** 611bf416d64c4d383dcd4a5a2577113b6e3e4a9968615430bebef039bde2984f ssh-agent -k [2021-05-12T20:38:34.303Z] unset SSH_AUTH_SOCK; [2021-05-12T20:38:34.305Z] unset SSH_AGENT_PID; [2021-05-12T20:38:34.305Z] echo Agent pid 18 killed; [2021-05-12T20:38:34.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:38:34.754Z] + git semver [Pipeline] } [2021-05-12T20:38:34.790Z] $ docker stop --time=1 611bf416d64c4d383dcd4a5a2577113b6e3e4a9968615430bebef039bde2984f [2021-05-12T20:38:36.401Z] $ docker rm -f 611bf416d64c4d383dcd4a5a2577113b6e3e4a9968615430bebef039bde2984f [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-05-12T20:38:37.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:38:38.857Z] ---> package-listing.sh [2021-05-12T20:38:38.857Z] ++ facter osfamily [2021-05-12T20:38:38.857Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:38:38.857Z] + OS_FAMILY=redhat [2021-05-12T20:38:38.857Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-12T20:38:38.857Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:38:38.857Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:38:38.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:38:38.857Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:38:38.857Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-12T20:38:38.857Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:38:38.857Z] + case "${OS_FAMILY}" in [2021-05-12T20:38:38.857Z] + rpm -qa [2021-05-12T20:38:38.857Z] + sort [2021-05-12T20:38:45.551Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:38:45.551Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:38:45.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:38:45.551Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-12T20:38:45.551Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-12T20:38:45.551Z] + 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-05-12T20:38:45.566Z] 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-05-12T20:38:45.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:38:46.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:38:46.475Z] [2021-05-12T20:38:46.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:38:46.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:38:46.811Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:38:46.811Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:38:46.812Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:38:46.812Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:38:46.812Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:38:46.812Z] 93b61091891f: Pulling fs layer [2021-05-12T20:38:46.812Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:38:46.812Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:38:46.812Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:38:46.812Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:38:46.812Z] 46f8f816bc3b: Waiting [2021-05-12T20:38:46.812Z] 93b61091891f: Waiting [2021-05-12T20:38:46.812Z] 93b9cdb0e59b: Waiting [2021-05-12T20:38:46.812Z] 5e14af77c1be: Waiting [2021-05-12T20:38:46.812Z] 01666e4c0597: Waiting [2021-05-12T20:38:46.812Z] aa168da1d23b: Waiting [2021-05-12T20:38:47.087Z] 36b3adc4ff6f: Download complete [2021-05-12T20:38:47.087Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:38:47.087Z] 46f8f816bc3b: Download complete [2021-05-12T20:38:47.087Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:38:47.087Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:38:47.087Z] 93b9cdb0e59b: Download complete [2021-05-12T20:38:47.087Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:38:47.087Z] 5e14af77c1be: Download complete [2021-05-12T20:38:47.087Z] 93b61091891f: Download complete [2021-05-12T20:38:47.681Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:38:47.682Z] 8ad3a11d3b57: Download complete [2021-05-12T20:38:47.682Z] df20fa9351a1: Pull complete [2021-05-12T20:38:47.951Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:38:48.558Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:38:48.558Z] 01666e4c0597: Download complete [2021-05-12T20:38:49.579Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:38:49.878Z] 46f8f816bc3b: Pull complete [2021-05-12T20:38:51.354Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:38:51.354Z] aa168da1d23b: Download complete [2021-05-12T20:38:51.354Z] 93b61091891f: Pull complete [2021-05-12T20:38:51.647Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:38:51.937Z] 5e14af77c1be: Pull complete [2021-05-12T20:38:52.208Z] 01666e4c0597: Pull complete [2021-05-12T20:39:04.729Z] aa168da1d23b: Pull complete [2021-05-12T20:39:04.729Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:39:04.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:39:04.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:39:04.974Z] prd-centos7-docker-4c-2g-4842 does not seem to be running inside a container [2021-05-12T20:39:05.042Z] $ 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-05-12T20:39:08.010Z] $ docker top 99d2e72ceb71e02968906c66e5ca9ea99450c7d3b022c5961cc77259a243ad5a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:39:08.466Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:39:08.776Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:39:09.083Z] + ls /var/log/sa-host [2021-05-12T20:39:09.083Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:39:09.083Z] file_magic: OK [2021-05-12T20:39:09.083Z] HZ: Using current value: 100 [2021-05-12T20:39:09.083Z] file_header: OK [2021-05-12T20:39:09.083Z] 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-05-12T20:39:09.083Z] Statistics: [2021-05-12T20:39:09.083Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:39:09.083Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:39:09.083Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:39:09.083Z] file_magic: OK [2021-05-12T20:39:09.083Z] HZ: Using current value: 100 [2021-05-12T20:39:09.083Z] file_header: OK [2021-05-12T20:39:09.083Z] 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-05-12T20:39:09.083Z] Statistics: [2021-05-12T20:39:09.083Z] Hnuu...uuuununununu... [2021-05-12T20:39:09.083Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:39:09.246Z] provisioning config files... [2021-05-12T20:39:09.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6594704857365489328tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:39:09.290Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:39:09.599Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:39:09.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:39:09.648Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:39:09.955Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:39:09.973Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:39:10.281Z] ---> sudo-logs.sh [2021-05-12T20:39:10.281Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:39:10.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:39:10.643Z] ---> job-cost.sh [2021-05-12T20:39:10.643Z] lf-activate-venv: SKIPPING [2021-05-12T20:39:10.643Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:39:10.643Z] INFO: Retrieving Stack Cost... [2021-05-12T20:39:11.595Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:39:12.168Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:39:12.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:39:12.486Z] ---> logs-deploy.sh [2021-05-12T20:39:12.486Z] lf-activate-venv: SKIPPING [2021-05-12T20:39:12.486Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/47 [2021-05-12T20:39:12.486Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:39:14.429Z] Archives upload complete. [2021-05-12T20:39:14.693Z] INFO: archiving logs to Nexus