Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 90bd167c5e008ca72793a95020c1bd222277a38a 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 ‘prd-centos7-docker-4c-2g-4553’ is offline Running on prd-centos7-docker-4c-2g-4564 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 Commit message: "Merge pull request #235 from weichou1229/issue-61" > git rev-list --no-walk 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T18:22:08.546Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T18:22:08.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T18:22:08.670Z] ========================================================= [2021-05-11T18:22:08.670Z] EdgeX Global Pipelines Version Info [2021-05-11T18:22:08.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:22:10.151Z] ------------------- [2021-05-11T18:22:10.151Z] stable info: [2021-05-11T18:22:10.151Z] ------------------- [2021-05-11T18:22:10.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T18:22:10.151Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T18:22:10.151Z] Message: update stable to v1.0.192 [2021-05-11T18:22:11.098Z] ------------------- [2021-05-11T18:22:11.098Z] experimental info: [2021-05-11T18:22:11.098Z] ------------------- [2021-05-11T18:22:11.098Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T18:22:11.098Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T18:22:11.098Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T18:22:11.237Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-11T18:22:11.260Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-11T18:22:11.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T18:22:11.330Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T18:22:11.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T18:22:11.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T18:22:11.404Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T18:22:11.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T18:22:11.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T18:22:11.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T18:22:11.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T18:22:11.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-11T18:22:11.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T18:22:11.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T18:22:11.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T18:22:11.704Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T18:22:11.728Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T18:22:11.752Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T18:22:11.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T18:22:11.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-11T18:22:11.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T18:22:11.869Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T18:22:11.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T18:22:11.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T18:22:11.977Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T18:22:12.003Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T18:22:12.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-11T18:22:12.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-11T18:22:12.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-11T18:22:12.123Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo [2021-05-11T18:22:12.148Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90bd167 [Pipeline] echo [2021-05-11T18:22:12.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:22:12.271Z] provisioning config files... [2021-05-11T18:22:12.314Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config9085046212291387799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:22:12.660Z] ---> docker-login.sh [2021-05-11T18:22:12.660Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:22:12.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:22:13.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:22:13.187Z] Configure a credential helper to remove this warning. See [2021-05-11T18:22:13.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:22:13.187Z] [2021-05-11T18:22:13.187Z] Login Succeeded [2021-05-11T18:22:13.187Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:22:13.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:22:13.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:22:13.187Z] Configure a credential helper to remove this warning. See [2021-05-11T18:22:13.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:22:13.187Z] [2021-05-11T18:22:13.187Z] Login Succeeded [2021-05-11T18:22:13.187Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:22:13.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:22:13.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:22:13.449Z] Configure a credential helper to remove this warning. See [2021-05-11T18:22:13.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:22:13.449Z] [2021-05-11T18:22:13.449Z] Login Succeeded [2021-05-11T18:22:13.449Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:22:13.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:22:13.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:22:13.712Z] Configure a credential helper to remove this warning. See [2021-05-11T18:22:13.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:22:13.712Z] [2021-05-11T18:22:13.712Z] Login Succeeded [2021-05-11T18:22:13.712Z] docker.io [2021-05-11T18:22:13.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:22:13.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:22:13.976Z] Configure a credential helper to remove this warning. See [2021-05-11T18:22:13.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:22:13.976Z] [2021-05-11T18:22:13.976Z] Login Succeeded [2021-05-11T18:22:13.976Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:22:13.987Z] 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-11T18:22:14.498Z] + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo [2021-05-11T18:22:14.576Z] GIT_COMMIT: 90bd167c5e008ca72793a95020c1bd222277a38a, Commit Message: Merge pull request #235 from weichou1229/issue-61 [Pipeline] echo [2021-05-11T18:22:14.589Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:22:15.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:22:15.148Z] [2021-05-11T18:22:15.148Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:22:15.476Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:22:15.476Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T18:22:15.476Z] 31603596830f: Pulling fs layer [2021-05-11T18:22:15.476Z] 54011a49482f: Pulling fs layer [2021-05-11T18:22:15.476Z] a6820b24f6d8: Pulling fs layer [2021-05-11T18:22:15.476Z] f581987b2513: Pulling fs layer [2021-05-11T18:22:15.476Z] f581987b2513: Waiting [2021-05-11T18:22:15.477Z] 54011a49482f: Verifying Checksum [2021-05-11T18:22:15.477Z] 54011a49482f: Download complete [2021-05-11T18:22:15.477Z] 31603596830f: Verifying Checksum [2021-05-11T18:22:15.477Z] 31603596830f: Download complete [2021-05-11T18:22:15.743Z] a6820b24f6d8: Verifying Checksum [2021-05-11T18:22:15.743Z] a6820b24f6d8: Download complete [2021-05-11T18:22:15.743Z] f581987b2513: Verifying Checksum [2021-05-11T18:22:15.743Z] f581987b2513: Download complete [2021-05-11T18:22:16.006Z] 31603596830f: Pull complete [2021-05-11T18:22:16.006Z] 54011a49482f: Pull complete [2021-05-11T18:22:16.963Z] a6820b24f6d8: Pull complete [2021-05-11T18:22:17.226Z] f581987b2513: Pull complete [2021-05-11T18:22:17.226Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T18:22:17.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:22:17.226Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T18:22:17.342Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:22:17.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T18:22:19.372Z] $ docker top 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T18:22:19.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T18:22:19.615Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T18:22:19.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T18:22:19.848Z] $ docker exec 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 ssh-agent [2021-05-11T18:22:20.016Z] SSH_AUTH_SOCK=/tmp/ssh-mAgfS6pz07qJ/agent.12 [2021-05-11T18:22:20.016Z] SSH_AGENT_PID=17 [2021-05-11T18:22:20.026Z] Running ssh-add (command line suppressed) [2021-05-11T18:22:20.148Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4251840035004505578.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4251840035004505578.key) [2021-05-11T18:22:20.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T18:22:20.506Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T18:22:20.523Z] $ docker exec --env ******** --env ******** 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 ssh-agent -k [2021-05-11T18:22:20.642Z] unset SSH_AUTH_SOCK; [2021-05-11T18:22:20.643Z] unset SSH_AGENT_PID; [2021-05-11T18:22:20.643Z] echo Agent pid 17 killed; [2021-05-11T18:22:20.691Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-05-11T18:22:20.725Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.2-dev.7' [Pipeline] sshagent [2021-05-11T18:22:20.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T18:22:20.759Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T18:22:20.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T18:22:20.931Z] $ docker exec 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 ssh-agent [2021-05-11T18:22:21.086Z] SSH_AUTH_SOCK=/tmp/ssh-CMb3w1yCQyzF/agent.45 [2021-05-11T18:22:21.086Z] SSH_AGENT_PID=50 [2021-05-11T18:22:21.094Z] Running ssh-add (command line suppressed) [2021-05-11T18:22:21.213Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8875395354560425174.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8875395354560425174.key) [2021-05-11T18:22:21.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T18:22:21.567Z] + git semver init [2021-05-11T18:22:21.567Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T18:22:21.567Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-11T18:22:21.567Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-11T18:22:21.567Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T18:22:21.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T18:22:21.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T18:22:21.567Z] # $SEMVER_BRANCH = master [2021-05-11T18:22:21.567Z] # $SEMVER_TEMP = /tmp/semver-421457260 [2021-05-11T18:22:21.567Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-11T18:22:22.145Z] # '/tmp/semver-421457260' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-11T18:22:22.145Z] # -> Force: false [2021-05-11T18:22:22.145Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-11T18:22:22.159Z] $ docker exec --env ******** --env ******** 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 ssh-agent -k [2021-05-11T18:22:22.277Z] unset SSH_AUTH_SOCK; [2021-05-11T18:22:22.277Z] unset SSH_AGENT_PID; [2021-05-11T18:22:22.277Z] echo Agent pid 50 killed; [2021-05-11T18:22:22.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T18:22:22.659Z] + git semver [Pipeline] } [2021-05-11T18:22:22.678Z] $ docker stop --time=1 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 [2021-05-11T18:22:24.028Z] $ docker rm -f 267d50072db81f585b3af0922fb43fbb734a7827caae6f4e3413bcdb48bb72f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:22:24.438Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T18:22:24.783Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T18:22:24.786Z] [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-11T18:22:40.015Z] Still waiting to schedule task [2021-05-11T18:22:40.016Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T18:22:40.018Z] Still waiting to schedule task [2021-05-11T18:22:40.018Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-11T18:24:47.721Z] Running on prd-centos7-docker-4c-2g-4569 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-11T18:24:47.741Z] Running in /w/workspace/device-modbus-go/46 [Pipeline] { [Pipeline] checkout [2021-05-11T18:24:50.530Z] using credential edgex-jenkins-ssh [2021-05-11T18:24:50.545Z] Cloning the remote Git repository [2021-05-11T18:24:50.574Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:24:50.685Z] > git init /w/workspace/device-modbus-go/46 # timeout=10 [2021-05-11T18:24:50.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:24:50.752Z] > git --version # timeout=10 [2021-05-11T18:24:50.758Z] > git --version # 'git version 2.24.3' [2021-05-11T18:24:50.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:24:50.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:24:51.800Z] Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) [2021-05-11T18:24:51.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T18:24:51.390Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:24:51.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T18:24:51.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:24:51.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:24:51.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T18:24:51.815Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:24:51.821Z] > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [2021-05-11T18:24:55.491Z] Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:24:56.646Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:24:57.013Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:24:57.322Z] + sudo service docker restart [2021-05-11T18:24:57.322Z] + true [2021-05-11T18:24:57.322Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:24:58.340Z] provisioning config files... [2021-05-11T18:24:58.374Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config7754564873763476887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:24:58.710Z] ---> docker-login.sh [2021-05-11T18:24:58.710Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:24:58.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:24:59.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:24:59.238Z] Configure a credential helper to remove this warning. See [2021-05-11T18:24:59.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:24:59.238Z] [2021-05-11T18:24:59.238Z] Login Succeeded [2021-05-11T18:24:59.238Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:24:59.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:24:59.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:24:59.500Z] Configure a credential helper to remove this warning. See [2021-05-11T18:24:59.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:24:59.500Z] [2021-05-11T18:24:59.500Z] Login Succeeded [2021-05-11T18:24:59.500Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:24:59.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:24:59.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:24:59.500Z] Configure a credential helper to remove this warning. See [2021-05-11T18:24:59.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:24:59.500Z] [2021-05-11T18:24:59.500Z] Login Succeeded [2021-05-11T18:24:59.500Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:24:59.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:24:59.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:24:59.763Z] Configure a credential helper to remove this warning. See [2021-05-11T18:24:59.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:24:59.763Z] [2021-05-11T18:24:59.763Z] Login Succeeded [2021-05-11T18:24:59.763Z] docker.io [2021-05-11T18:25:00.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:00.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:00.290Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:00.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:00.290Z] [2021-05-11T18:25:00.290Z] Login Succeeded [2021-05-11T18:25:00.290Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:25:00.301Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T18:25:00.478Z] ========================================================= [2021-05-11T18:25:00.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T18:25:00.478Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:25:00.793Z] + 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-11T18:25:00.793Z] Sending build context to Docker daemon 594.4kB [2021-05-11T18:25:00.793Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:25:00.793Z] Step 2/8 : FROM ${BASE} [2021-05-11T18:25:01.080Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T18:25:01.080Z] 540db60ca938: Pulling fs layer [2021-05-11T18:25:01.080Z] adcc1eea9eea: Pulling fs layer [2021-05-11T18:25:01.080Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T18:25:01.080Z] 0510c868ecb4: Pulling fs layer [2021-05-11T18:25:01.080Z] afea3b2eda06: Pulling fs layer [2021-05-11T18:25:01.080Z] 7809a108b3ef: Pulling fs layer [2021-05-11T18:25:01.080Z] f706445af74f: Pulling fs layer [2021-05-11T18:25:01.080Z] 0510c868ecb4: Waiting [2021-05-11T18:25:01.080Z] afea3b2eda06: Waiting [2021-05-11T18:25:01.080Z] 7809a108b3ef: Waiting [2021-05-11T18:25:01.080Z] f706445af74f: Waiting [2021-05-11T18:25:01.080Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T18:25:01.080Z] 4c4ab2625f07: Download complete [2021-05-11T18:25:01.080Z] afea3b2eda06: Verifying Checksum [2021-05-11T18:25:01.080Z] afea3b2eda06: Download complete [2021-05-11T18:25:01.080Z] 7809a108b3ef: Verifying Checksum [2021-05-11T18:25:01.080Z] 7809a108b3ef: Download complete [2021-05-11T18:25:01.080Z] 540db60ca938: Download complete [2021-05-11T18:25:01.348Z] 540db60ca938: Pull complete [2021-05-11T18:25:01.623Z] adcc1eea9eea: Pull complete [2021-05-11T18:25:01.902Z] 4c4ab2625f07: Pull complete [2021-05-11T18:25:02.861Z] f706445af74f: Verifying Checksum [2021-05-11T18:25:02.862Z] f706445af74f: Download complete [2021-05-11T18:25:03.442Z] 0510c868ecb4: Verifying Checksum [2021-05-11T18:25:03.442Z] 0510c868ecb4: Download complete [2021-05-11T18:25:10.096Z] 0510c868ecb4: Pull complete [2021-05-11T18:25:10.096Z] afea3b2eda06: Pull complete [2021-05-11T18:25:10.096Z] 7809a108b3ef: Pull complete [2021-05-11T18:25:14.357Z] f706445af74f: Pull complete [2021-05-11T18:25:14.357Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T18:25:14.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T18:25:14.357Z] ---> b068be0155e3 [2021-05-11T18:25:14.357Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T18:25:15.316Z] ---> Running in 876d27fd719a [2021-05-11T18:25:15.591Z] Removing intermediate container 876d27fd719a [2021-05-11T18:25:15.591Z] ---> 7db6f3bb359b [2021-05-11T18:25:15.591Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:25:15.591Z] ---> Running in 561a157fced2 [2021-05-11T18:25:17.007Z] Removing intermediate container 561a157fced2 [2021-05-11T18:25:17.007Z] ---> 00edab5b24ce [2021-05-11T18:25:17.007Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T18:25:17.007Z] ---> Running in f439345c9171 [2021-05-11T18:25:17.582Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:25:18.530Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:25:19.106Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T18:25:19.106Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T18:25:19.106Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T18:25:19.106Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T18:25:19.368Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T18:25:19.368Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T18:25:19.368Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T18:25:19.942Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T18:25:20.206Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T18:25:20.206Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T18:25:20.206Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T18:25:20.468Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T18:25:20.468Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T18:25:20.468Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T18:25:20.731Z] OK: 156 MiB in 53 packages [2021-05-11T18:25:22.380Z] Removing intermediate container f439345c9171 [2021-05-11T18:25:22.380Z] ---> 041c59335c88 [2021-05-11T18:25:22.380Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-11T18:25:22.380Z] ---> Running in 6d5ffa565b99 [2021-05-11T18:25:22.380Z] Removing intermediate container 6d5ffa565b99 [2021-05-11T18:25:22.380Z] ---> def7c40ce7d7 [2021-05-11T18:25:22.380Z] Step 7/8 : COPY . . [2021-05-11T18:25:22.645Z] ---> 1a473717038c [2021-05-11T18:25:22.645Z] Step 8/8 : RUN go mod download [2021-05-11T18:25:22.646Z] ---> Running in 5c08ec09a87c [2021-05-11T18:25:41.789Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4570 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-11T18:25:41.811Z] Running in /w/workspace/device-modbus-go/46 [Pipeline] { [Pipeline] checkout [2021-05-11T18:25:44.697Z] Removing intermediate container 5c08ec09a87c [2021-05-11T18:25:44.697Z] ---> 7bb6729e174d [2021-05-11T18:25:44.697Z] Successfully built 7bb6729e174d [2021-05-11T18:25:44.697Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:25:45.011Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T18:25:45.011Z] . [Pipeline] withDockerContainer [2021-05-11T18:25:45.128Z] prd-centos7-docker-4c-2g-4569 does not seem to be running inside a container [2021-05-11T18:25:45.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@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-11T18:25:45.976Z] $ docker top b2de82c718db467f3b9b9d7476ce62775668fc7794457ab7c1ff0560d628b739 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:25:46.402Z] + go version [2021-05-11T18:25:46.402Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T18:25:46.417Z] $ docker stop --time=1 b2de82c718db467f3b9b9d7476ce62775668fc7794457ab7c1ff0560d628b739 [2021-05-11T18:25:47.753Z] using credential edgex-jenkins-ssh [2021-05-11T18:25:47.764Z] $ docker rm -f b2de82c718db467f3b9b9d7476ce62775668fc7794457ab7c1ff0560d628b739 [2021-05-11T18:25:47.769Z] Cloning the remote Git repository [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:25:48.294Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T18:25:48.294Z] . [Pipeline] withDockerContainer [2021-05-11T18:25:47.824Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:25:47.949Z] > git init /w/workspace/device-modbus-go/46 # timeout=10 [2021-05-11T18:25:48.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:25:48.049Z] > git --version # timeout=10 [2021-05-11T18:25:48.063Z] > git --version # 'git version 2.17.1' [2021-05-11T18:25:48.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:25:48.134Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:25:48.386Z] prd-centos7-docker-4c-2g-4569 does not seem to be running inside a container [2021-05-11T18:25:48.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@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-11T18:25:49.110Z] $ docker top daa07a8ff6eb0bf786b3d0d6b4b0b88c09d53f8d39875848570ce8b6f4c5c132 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:25:49.475Z] Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) [2021-05-11T18:25:49.542Z] + go mod tidy [2021-05-11T18:25:48.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T18:25:48.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:25:48.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T18:25:48.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T18:25:48.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:25:48.992Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T18:25:49.497Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:25:49.510Z] > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [Pipeline] sh [2021-05-11T18:25:50.424Z] + make test [2021-05-11T18:25:50.424Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T18:25:50.999Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-11T18:25:53.786Z] Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:25:55.174Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:25:55.585Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:25:55.935Z] + + truesudo [2021-05-11T18:25:55.935Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:25:58.593Z] provisioning config files... [2021-05-11T18:25:58.639Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config1643975792064847094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:25:59.017Z] ---> docker-login.sh [2021-05-11T18:25:59.017Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:25:59.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:00.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:00.220Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:00.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:00.220Z] [2021-05-11T18:26:00.220Z] Login Succeeded [2021-05-11T18:26:00.220Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:26:00.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:00.770Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:00.770Z] [2021-05-11T18:26:00.770Z] Login Succeeded [2021-05-11T18:26:00.770Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:26:01.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:01.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:01.326Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:01.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:01.326Z] [2021-05-11T18:26:01.326Z] Login Succeeded [2021-05-11T18:26:01.326Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:26:01.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:01.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:01.878Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:01.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:01.878Z] [2021-05-11T18:26:01.878Z] Login Succeeded [2021-05-11T18:26:01.878Z] docker.io [2021-05-11T18:26:02.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:02.424Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:02.424Z] [2021-05-11T18:26:02.424Z] Login Succeeded [2021-05-11T18:26:02.438Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:26:02.441Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T18:26:02.724Z] ========================================================= [2021-05-11T18:26:02.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T18:26:02.724Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:26:03.059Z] + 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-11T18:26:03.335Z] Sending build context to Docker daemon 593.4kB [2021-05-11T18:26:03.335Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:26:03.335Z] Step 2/8 : FROM ${BASE} [2021-05-11T18:26:03.335Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T18:26:03.335Z] 595b0fe564bb: Pulling fs layer [2021-05-11T18:26:03.335Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T18:26:03.335Z] 316046926c0a: Pulling fs layer [2021-05-11T18:26:03.335Z] 4ebd0625c992: Pulling fs layer [2021-05-11T18:26:03.335Z] 207e8628e3a3: Pulling fs layer [2021-05-11T18:26:03.335Z] c791037a9be2: Pulling fs layer [2021-05-11T18:26:03.335Z] ffd874e62e21: Pulling fs layer [2021-05-11T18:26:03.335Z] 4ebd0625c992: Waiting [2021-05-11T18:26:03.335Z] 207e8628e3a3: Waiting [2021-05-11T18:26:03.335Z] c791037a9be2: Waiting [2021-05-11T18:26:03.335Z] ffd874e62e21: Waiting [2021-05-11T18:26:03.607Z] 316046926c0a: Verifying Checksum [2021-05-11T18:26:03.608Z] 316046926c0a: Download complete [2021-05-11T18:26:03.608Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T18:26:03.608Z] 7186ed65a4f7: Download complete [2021-05-11T18:26:03.608Z] 207e8628e3a3: Verifying Checksum [2021-05-11T18:26:03.608Z] 207e8628e3a3: Download complete [2021-05-11T18:26:03.608Z] c791037a9be2: Verifying Checksum [2021-05-11T18:26:03.608Z] c791037a9be2: Download complete [2021-05-11T18:26:03.608Z] 595b0fe564bb: Verifying Checksum [2021-05-11T18:26:03.608Z] 595b0fe564bb: Download complete [2021-05-11T18:26:04.209Z] 595b0fe564bb: Pull complete [2021-05-11T18:26:04.809Z] 7186ed65a4f7: Pull complete [2021-05-11T18:26:05.087Z] 316046926c0a: Pull complete [2021-05-11T18:26:05.685Z] ffd874e62e21: Verifying Checksum [2021-05-11T18:26:05.685Z] ffd874e62e21: Download complete [2021-05-11T18:26:07.131Z] 4ebd0625c992: Verifying Checksum [2021-05-11T18:26:07.131Z] 4ebd0625c992: Download complete [2021-05-11T18:26:13.131Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-11T18:26:13.131Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2021-05-11T18:26:13.131Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T18:26:17.277Z] 4ebd0625c992: Pull complete [2021-05-11T18:26:17.277Z] 207e8628e3a3: Pull complete [2021-05-11T18:26:17.277Z] c791037a9be2: Pull complete [2021-05-11T18:26:18.875Z] gofmt -l . [2021-05-11T18:26:18.875Z] [ "`gofmt -l .`" = "" ] [2021-05-11T18:26:18.875Z] ./bin/test-attribution-txt.sh [2021-05-11T18:26:19.462Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T18:26:19.744Z] $ docker stop --time=1 daa07a8ff6eb0bf786b3d0d6b4b0b88c09d53f8d39875848570ce8b6f4c5c132 [2021-05-11T18:26:21.643Z] ffd874e62e21: Pull complete [2021-05-11T18:26:21.643Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T18:26:21.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T18:26:21.643Z] ---> cfc18b08335c [2021-05-11T18:26:21.643Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T18:26:21.725Z] $ docker rm -f daa07a8ff6eb0bf786b3d0d6b4b0b88c09d53f8d39875848570ce8b6f4c5c132 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:26:22.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T18:26:22.585Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T18:26:23.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T18:26:23.914Z] + ls -al . [2021-05-11T18:26:23.914Z] total 112 [2021-05-11T18:26:23.914Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 11 18:26 . [2021-05-11T18:26:23.914Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 18:24 .. [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 11 18:24 Attribution.txt [2021-05-11T18:26:23.914Z] drwxrwxr-x. 2 jenkins jenkins 87 May 11 18:24 bin [2021-05-11T18:26:23.914Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 18:24 cmd [2021-05-11T18:26:23.914Z] -rw-r--r--. 1 jenkins jenkins 22385 May 11 18:26 coverage.out [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 1457 May 11 18:24 Dockerfile [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 995 May 11 18:24 Dockerfile.build [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 18:24 .dockerignore [2021-05-11T18:26:23.914Z] drwxrwxr-x. 8 jenkins jenkins 162 May 11 18:24 .git [2021-05-11T18:26:23.914Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 18:24 .github [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 338 May 11 18:24 .gitignore [2021-05-11T18:26:23.914Z] -rw-r--r--. 1 jenkins jenkins 413 May 11 18:26 go.mod [2021-05-11T18:26:23.914Z] -rw-r--r--. 1 jenkins jenkins 21839 May 11 18:25 go.sum [2021-05-11T18:26:23.914Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 18:24 internal [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 679 May 11 18:24 Jenkinsfile [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 18:24 LICENSE [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 910 May 11 18:24 Makefile [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 11 18:24 README.md [2021-05-11T18:26:23.914Z] drwxrwxr-x. 2 jenkins jenkins 52 May 11 18:24 simulator [2021-05-11T18:26:23.914Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 18:24 snap [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 11 May 11 18:22 VERSION [2021-05-11T18:26:23.914Z] -rw-rw-r--. 1 jenkins jenkins 229 May 11 18:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:26:24.225Z] + 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=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=amd64 --label version=1.3.2-dev.8 . [2021-05-11T18:26:24.225Z] Sending build context to Docker daemon 617.5kB [2021-05-11T18:26:24.286Z] ---> Running in afae6253e152 [2021-05-11T18:26:24.286Z] Removing intermediate container afae6253e152 [2021-05-11T18:26:24.286Z] ---> 26ebda7fd8ef [2021-05-11T18:26:24.286Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:26:24.486Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:26:24.487Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-11T18:26:24.487Z] ---> 7bb6729e174d [2021-05-11T18:26:24.487Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:26:24.561Z] ---> Running in 1512cf1ef7ee [2021-05-11T18:26:24.749Z] ---> Running in eca7d06a1ecb [2021-05-11T18:26:25.709Z] Removing intermediate container eca7d06a1ecb [2021-05-11T18:26:25.709Z] ---> 2c9816972be5 [2021-05-11T18:26:25.709Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T18:26:25.709Z] ---> Running in 1138715aeb4e [2021-05-11T18:26:25.976Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:26:27.202Z] Removing intermediate container 1512cf1ef7ee [2021-05-11T18:26:27.202Z] ---> 82202d74d299 [2021-05-11T18:26:27.202Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T18:26:27.202Z] ---> Running in 7f29d1b8fb17 [2021-05-11T18:26:27.894Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:26:28.185Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:26:29.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:26:29.816Z] OK: 156 MiB in 53 packages [2021-05-11T18:26:30.136Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T18:26:30.393Z] Removing intermediate container 1138715aeb4e [2021-05-11T18:26:30.393Z] ---> ac2fd2613c41 [2021-05-11T18:26:30.393Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-11T18:26:30.393Z] ---> Running in dcf30197774f [2021-05-11T18:26:30.407Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T18:26:30.407Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T18:26:30.407Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T18:26:30.655Z] Removing intermediate container dcf30197774f [2021-05-11T18:26:30.655Z] ---> 9418bc34d938 [2021-05-11T18:26:30.655Z] Step 6/21 : COPY . . [2021-05-11T18:26:30.676Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T18:26:30.676Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T18:26:30.676Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T18:26:31.266Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T18:26:31.266Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T18:26:31.266Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T18:26:31.266Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T18:26:31.540Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T18:26:31.540Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T18:26:31.604Z] ---> dad8a3dd22f9 [2021-05-11T18:26:31.604Z] Step 7/21 : RUN go mod download [2021-05-11T18:26:31.604Z] ---> Running in 1b71623ad0cf [2021-05-11T18:26:31.814Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T18:26:31.814Z] OK: 145 MiB in 53 packages [2021-05-11T18:26:32.561Z] Removing intermediate container 1b71623ad0cf [2021-05-11T18:26:32.561Z] ---> 3233f0b9f3f4 [2021-05-11T18:26:32.561Z] Step 8/21 : RUN make build [2021-05-11T18:26:32.561Z] ---> Running in 1911e73f5c4c [2021-05-11T18:26:33.144Z] 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-11T18:26:33.251Z] Removing intermediate container 7f29d1b8fb17 [2021-05-11T18:26:33.251Z] ---> 0c23036ba3ac [2021-05-11T18:26:33.251Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-11T18:26:33.525Z] ---> Running in c3ffe4d72255 [2021-05-11T18:26:34.122Z] Removing intermediate container c3ffe4d72255 [2021-05-11T18:26:34.122Z] ---> 1882727d9a09 [2021-05-11T18:26:34.122Z] Step 7/8 : COPY . . [2021-05-11T18:26:35.113Z] ---> 60f10cbba233 [2021-05-11T18:26:35.113Z] Step 8/8 : RUN go mod download [2021-05-11T18:26:35.113Z] ---> Running in 7693804945a2 [2021-05-11T18:26:45.562Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T18:26:48.117Z] Removing intermediate container 1911e73f5c4c [2021-05-11T18:26:48.117Z] ---> 5f1c5863cab8 [2021-05-11T18:26:48.117Z] Step 9/21 : FROM alpine:3.12 [2021-05-11T18:26:48.381Z] 3.12: Pulling from library/alpine [2021-05-11T18:26:48.381Z] 339de151aab4: Pulling fs layer [2021-05-11T18:26:48.642Z] 339de151aab4: Verifying Checksum [2021-05-11T18:26:48.642Z] 339de151aab4: Download complete [2021-05-11T18:26:48.908Z] 339de151aab4: Pull complete [2021-05-11T18:26:48.908Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T18:26:48.908Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T18:26:48.908Z] ---> 13621d1b12d4 [2021-05-11T18:26:48.908Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-11T18:26:48.908Z] ---> Running in 4c7866f5678a [2021-05-11T18:26:49.174Z] Removing intermediate container 4c7866f5678a [2021-05-11T18:26:49.174Z] ---> a916b85bc9e6 [2021-05-11T18:26:49.174Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:26:49.174Z] ---> Running in a7d921d35000 [2021-05-11T18:26:50.121Z] Removing intermediate container a7d921d35000 [2021-05-11T18:26:50.121Z] ---> 06637a1b8763 [2021-05-11T18:26:50.121Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T18:26:50.121Z] ---> Running in 56ab16c1f48f [2021-05-11T18:26:50.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:26:51.272Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:26:51.845Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T18:26:51.845Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T18:26:51.845Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T18:26:52.106Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T18:26:53.051Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T18:26:53.625Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T18:26:53.625Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T18:26:53.625Z] OK: 8 MiB in 20 packages [2021-05-11T18:26:54.208Z] Removing intermediate container 56ab16c1f48f [2021-05-11T18:26:54.208Z] ---> 95e1e1abc2d9 [2021-05-11T18:26:54.208Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-11T18:26:54.786Z] ---> 00f89bf0a403 [2021-05-11T18:26:54.786Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-11T18:26:55.048Z] ---> ace5763903a2 [2021-05-11T18:26:55.048Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-11T18:26:55.311Z] ---> 09f1410990a9 [2021-05-11T18:26:55.311Z] Step 16/21 : EXPOSE 49991 [2021-05-11T18:26:55.311Z] ---> Running in 76bae47e1c30 [2021-05-11T18:26:55.575Z] Removing intermediate container 76bae47e1c30 [2021-05-11T18:26:55.575Z] ---> 8f087c15d328 [2021-05-11T18:26:55.575Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-11T18:26:55.575Z] ---> Running in 5f7d2d3c5c6e [2021-05-11T18:26:55.841Z] Removing intermediate container 5f7d2d3c5c6e [2021-05-11T18:26:55.841Z] ---> bcad436c08da [2021-05-11T18:26:55.841Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T18:26:55.841Z] ---> Running in b3185731ceac [2021-05-11T18:26:56.104Z] Removing intermediate container b3185731ceac [2021-05-11T18:26:56.104Z] ---> 3b2982f1fd4a [2021-05-11T18:26:56.104Z] Step 19/21 : LABEL arch=amd64 [2021-05-11T18:26:56.104Z] ---> Running in 56790e3c3388 [2021-05-11T18:26:56.367Z] Removing intermediate container 56790e3c3388 [2021-05-11T18:26:56.368Z] ---> bd71f7b3fb9b [2021-05-11T18:26:56.368Z] Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:26:56.368Z] ---> Running in 5d05265b6cee [2021-05-11T18:26:56.630Z] Removing intermediate container 5d05265b6cee [2021-05-11T18:26:56.630Z] ---> efc215cf419e [2021-05-11T18:26:56.630Z] Step 21/21 : LABEL version=1.3.2-dev.8 [2021-05-11T18:26:56.630Z] ---> Running in e5c1d95cd46f [2021-05-11T18:26:56.893Z] Removing intermediate container e5c1d95cd46f [2021-05-11T18:26:56.893Z] ---> 20300d45bc13 [2021-05-11T18:26:56.893Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T18:26:56.894Z] Successfully built 20300d45bc13 [2021-05-11T18:26:56.894Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:26:57.027Z] provisioning config files... [2021-05-11T18:26:57.085Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config2918864020799875286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:26:57.420Z] ---> docker-login.sh [2021-05-11T18:26:57.420Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:26:57.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:57.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:57.682Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:57.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:57.682Z] [2021-05-11T18:26:57.682Z] Login Succeeded [2021-05-11T18:26:57.682Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:26:57.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:57.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:57.950Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:57.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:57.950Z] [2021-05-11T18:26:57.950Z] Login Succeeded [2021-05-11T18:26:57.950Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:26:57.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:57.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:57.950Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:57.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:57.950Z] [2021-05-11T18:26:57.950Z] Login Succeeded [2021-05-11T18:26:57.950Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:26:58.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:58.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:58.213Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:58.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:58.213Z] [2021-05-11T18:26:58.213Z] Login Succeeded [2021-05-11T18:26:58.213Z] docker.io [2021-05-11T18:26:58.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:26:58.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:26:58.476Z] Configure a credential helper to remove this warning. See [2021-05-11T18:26:58.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:26:58.476Z] [2021-05-11T18:26:58.476Z] Login Succeeded [2021-05-11T18:26:58.484Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:26:58.486Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T18:26:58.563Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-05-11T18:26:58.563Z] 90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:26:58.563Z] latest [2021-05-11T18:26:58.563Z] 1.3.2-dev.8 [2021-05-11T18:26:58.563Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:26:58.563Z] master [2021-05-11T18:26:58.563Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:26:58.914Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:26:59.223Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:26:59.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-11T18:26:59.223Z] 7b88553ca829: Preparing [2021-05-11T18:26:59.223Z] fff858bf6c87: Preparing [2021-05-11T18:26:59.223Z] b20443c66453: Preparing [2021-05-11T18:26:59.223Z] 890248f1db5c: Preparing [2021-05-11T18:26:59.223Z] c0925258ca35: Preparing [2021-05-11T18:26:59.223Z] 32f366d666a5: Preparing [2021-05-11T18:26:59.223Z] 32f366d666a5: Waiting [2021-05-11T18:26:59.487Z] fff858bf6c87: Pushed [2021-05-11T18:26:59.487Z] 7b88553ca829: Pushed [2021-05-11T18:26:59.487Z] c0925258ca35: Pushed [2021-05-11T18:26:59.487Z] 32f366d666a5: Layer already exists [2021-05-11T18:26:59.487Z] 890248f1db5c: Pushed [2021-05-11T18:27:00.434Z] b20443c66453: Pushed [2021-05-11T18:27:00.696Z] 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:d048387e2868eb11f30b38f928d7a8cce2718d65dd5f147b8f027831a2f0aca0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:01.006Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:01.310Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-11T18:27:01.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-11T18:27:01.310Z] 7b88553ca829: Preparing [2021-05-11T18:27:01.310Z] fff858bf6c87: Preparing [2021-05-11T18:27:01.310Z] b20443c66453: Preparing [2021-05-11T18:27:01.310Z] 890248f1db5c: Preparing [2021-05-11T18:27:01.310Z] c0925258ca35: Preparing [2021-05-11T18:27:01.310Z] 32f366d666a5: Preparing [2021-05-11T18:27:01.310Z] 32f366d666a5: Waiting [2021-05-11T18:27:01.310Z] fff858bf6c87: Layer already exists [2021-05-11T18:27:01.310Z] b20443c66453: Layer already exists [2021-05-11T18:27:01.310Z] 890248f1db5c: Layer already exists [2021-05-11T18:27:01.310Z] c0925258ca35: Layer already exists [2021-05-11T18:27:01.310Z] 7b88553ca829: Layer already exists [2021-05-11T18:27:01.310Z] 32f366d666a5: Layer already exists [2021-05-11T18:27:01.310Z] latest: digest: sha256:d048387e2868eb11f30b38f928d7a8cce2718d65dd5f147b8f027831a2f0aca0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:01.619Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:01.925Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [2021-05-11T18:27:01.925Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-11T18:27:01.925Z] 7b88553ca829: Preparing [2021-05-11T18:27:01.925Z] fff858bf6c87: Preparing [2021-05-11T18:27:01.925Z] b20443c66453: Preparing [2021-05-11T18:27:01.925Z] 890248f1db5c: Preparing [2021-05-11T18:27:01.925Z] c0925258ca35: Preparing [2021-05-11T18:27:01.925Z] 32f366d666a5: Preparing [2021-05-11T18:27:01.925Z] 32f366d666a5: Waiting [2021-05-11T18:27:01.925Z] 890248f1db5c: Layer already exists [2021-05-11T18:27:01.925Z] c0925258ca35: Layer already exists [2021-05-11T18:27:01.925Z] b20443c66453: Layer already exists [2021-05-11T18:27:01.925Z] 7b88553ca829: Layer already exists [2021-05-11T18:27:01.925Z] fff858bf6c87: Layer already exists [2021-05-11T18:27:01.925Z] 32f366d666a5: Layer already exists [2021-05-11T18:27:01.925Z] 1.3.2-dev.8: digest: sha256:d048387e2868eb11f30b38f928d7a8cce2718d65dd5f147b8f027831a2f0aca0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:02.239Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:02.541Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:27:02.541Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-11T18:27:02.541Z] 7b88553ca829: Preparing [2021-05-11T18:27:02.541Z] fff858bf6c87: Preparing [2021-05-11T18:27:02.541Z] b20443c66453: Preparing [2021-05-11T18:27:02.541Z] 890248f1db5c: Preparing [2021-05-11T18:27:02.541Z] c0925258ca35: Preparing [2021-05-11T18:27:02.541Z] 32f366d666a5: Preparing [2021-05-11T18:27:02.541Z] 32f366d666a5: Waiting [2021-05-11T18:27:02.541Z] c0925258ca35: Layer already exists [2021-05-11T18:27:02.541Z] 7b88553ca829: Layer already exists [2021-05-11T18:27:02.541Z] b20443c66453: Layer already exists [2021-05-11T18:27:02.541Z] fff858bf6c87: Layer already exists [2021-05-11T18:27:02.541Z] 890248f1db5c: Layer already exists [2021-05-11T18:27:02.541Z] 32f366d666a5: Layer already exists [2021-05-11T18:27:02.541Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8: digest: sha256:d048387e2868eb11f30b38f928d7a8cce2718d65dd5f147b8f027831a2f0aca0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:02.849Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:03.152Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-05-11T18:27:03.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-11T18:27:03.152Z] 7b88553ca829: Preparing [2021-05-11T18:27:03.152Z] fff858bf6c87: Preparing [2021-05-11T18:27:03.152Z] b20443c66453: Preparing [2021-05-11T18:27:03.152Z] 890248f1db5c: Preparing [2021-05-11T18:27:03.152Z] c0925258ca35: Preparing [2021-05-11T18:27:03.152Z] 32f366d666a5: Preparing [2021-05-11T18:27:03.152Z] 32f366d666a5: Waiting [2021-05-11T18:27:03.152Z] 7b88553ca829: Layer already exists [2021-05-11T18:27:03.152Z] c0925258ca35: Layer already exists [2021-05-11T18:27:03.152Z] 890248f1db5c: Layer already exists [2021-05-11T18:27:03.152Z] fff858bf6c87: Layer already exists [2021-05-11T18:27:03.152Z] b20443c66453: Layer already exists [2021-05-11T18:27:03.152Z] 32f366d666a5: Layer already exists [2021-05-11T18:27:03.152Z] master: digest: sha256:d048387e2868eb11f30b38f928d7a8cce2718d65dd5f147b8f027831a2f0aca0 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T18:27:03.211Z] ===================================================== [Pipeline] echo [2021-05-11T18:27:03.227Z] taggedImages: [2021-05-11T18:27:03.227Z] - nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:27:03.227Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-11T18:27:03.227Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.8 [2021-05-11T18:27:03.227Z] - nexus3.edgexfoundry.org:10004/device-modbus:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:27:03.227Z] - 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-11T18:27:03.733Z] ---> job-cost.sh [2021-05-11T18:27:03.733Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rpwX [2021-05-11T18:27:07.456Z] Removing intermediate container 7693804945a2 [2021-05-11T18:27:07.456Z] ---> 4d55e44b103e [2021-05-11T18:27:07.456Z] Successfully built 4d55e44b103e [2021-05-11T18:27:07.456Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:07.798Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T18:27:07.798Z] . [Pipeline] withDockerContainer [2021-05-11T18:27:08.092Z] prd-ubuntu18.04-docker-arm64-4c-16g-4570 does not seem to be running inside a container [2021-05-11T18:27:08.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@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-11T18:27:09.995Z] $ docker top 5462de9f9c0218476933e299eb56d595f5a183a3c9fc173534837c2168030cab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:27:10.993Z] + go version [2021-05-11T18:27:10.993Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T18:27:11.028Z] $ docker stop --time=1 5462de9f9c0218476933e299eb56d595f5a183a3c9fc173534837c2168030cab [2021-05-11T18:27:13.200Z] $ docker rm -f 5462de9f9c0218476933e299eb56d595f5a183a3c9fc173534837c2168030cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:27:13.933Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T18:27:13.933Z] . [Pipeline] withDockerContainer [2021-05-11T18:27:14.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-4570 does not seem to be running inside a container [2021-05-11T18:27:14.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@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-11T18:27:16.038Z] $ docker top c404a424a2b3e656e8e8b3aef8e5814c7dc0e66a89018d8e03d2a20947bd8474 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:27:17.024Z] + go mod tidy [Pipeline] sh [2021-05-11T18:27:18.320Z] + make test [2021-05-11T18:27:18.320Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T18:27:18.667Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T18:27:19.758Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-11T18:27:45.327Z] lf-activate-venv(): INFO: Adding /tmp/venv-rpwX/bin to PATH [2021-05-11T18:27:45.327Z] INFO: No Stack... [2021-05-11T18:27:46.275Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T18:27:46.851Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T18:27:47.167Z] + cut -d, -f6 [2021-05-11T18:27:47.167Z] + cat /w/workspace/device-modbus-go/46/archives/cost.csv [Pipeline] lock [2021-05-11T18:27:47.244Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] [2021-05-11T18:27:47.258Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] did not exist. Created. [2021-05-11T18:27:47.258Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T18:27:47.588Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T18:27:47.722Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T18:27:47.741Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T18:28:16.353Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-11T18:28:16.353Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.043s coverage: 47.7% of statements [2021-05-11T18:28:16.353Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T18:28:43.179Z] gofmt -l . [2021-05-11T18:28:43.179Z] [ "`gofmt -l .`" = "" ] [2021-05-11T18:28:43.454Z] ./bin/test-attribution-txt.sh [2021-05-11T18:28:45.451Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T18:28:46.075Z] $ docker stop --time=1 c404a424a2b3e656e8e8b3aef8e5814c7dc0e66a89018d8e03d2a20947bd8474 [2021-05-11T18:28:48.196Z] $ docker rm -f c404a424a2b3e656e8e8b3aef8e5814c7dc0e66a89018d8e03d2a20947bd8474 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:28:49.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T18:28:49.198Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T18:28:50.202Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:28:50.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T18:28:51.045Z] + ls -al . [2021-05-11T18:28:51.045Z] total 144 [2021-05-11T18:28:51.045Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 18:28 . [2021-05-11T18:28:51.045Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:25 .. [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 18:25 .dockerignore [2021-05-11T18:28:51.045Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:25 .git [2021-05-11T18:28:51.045Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 .github [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 338 May 11 18:25 .gitignore [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 11 18:25 Attribution.txt [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 1457 May 11 18:25 Dockerfile [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 995 May 11 18:25 Dockerfile.build [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 679 May 11 18:25 Jenkinsfile [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 18:25 LICENSE [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 910 May 11 18:25 Makefile [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 11 18:25 README.md [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 11 May 11 18:22 VERSION [2021-05-11T18:28:51.045Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 bin [2021-05-11T18:28:51.045Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:25 cmd [2021-05-11T18:28:51.045Z] -rw-r--r-- 1 jenkins jenkins 22385 May 11 18:28 coverage.out [2021-05-11T18:28:51.045Z] -rw-r--r-- 1 jenkins jenkins 413 May 11 18:28 go.mod [2021-05-11T18:28:51.045Z] -rw-r--r-- 1 jenkins jenkins 21839 May 11 18:27 go.sum [2021-05-11T18:28:51.045Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:25 internal [2021-05-11T18:28:51.045Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 simulator [2021-05-11T18:28:51.045Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:25 snap [2021-05-11T18:28:51.045Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 18:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:28:51.415Z] + 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=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=arm64 --label version=1.3.2-dev.8 . [2021-05-11T18:28:51.702Z] Sending build context to Docker daemon 616.4kB [2021-05-11T18:28:51.988Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:28:51.988Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-11T18:28:51.988Z] ---> 4d55e44b103e [2021-05-11T18:28:51.988Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:28:52.270Z] ---> Running in 5265497a51b2 [2021-05-11T18:28:54.904Z] Removing intermediate container 5265497a51b2 [2021-05-11T18:28:54.904Z] ---> 38285950c3b8 [2021-05-11T18:28:54.904Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T18:28:54.904Z] ---> Running in 4e28eef76ab0 [2021-05-11T18:28:55.893Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:28:56.894Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:28:57.886Z] OK: 145 MiB in 53 packages [2021-05-11T18:28:59.329Z] Removing intermediate container 4e28eef76ab0 [2021-05-11T18:28:59.329Z] ---> 588d321b1cfc [2021-05-11T18:28:59.329Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-11T18:28:59.329Z] ---> Running in 9050feb55ac5 [2021-05-11T18:28:59.925Z] Removing intermediate container 9050feb55ac5 [2021-05-11T18:28:59.925Z] ---> 9ecc4b058016 [2021-05-11T18:28:59.925Z] Step 6/21 : COPY . . [2021-05-11T18:29:00.928Z] ---> 35782a9be0f5 [2021-05-11T18:29:00.928Z] Step 7/21 : RUN go mod download [2021-05-11T18:29:00.928Z] ---> Running in 0c7a996b6325 [2021-05-11T18:29:03.572Z] Removing intermediate container 0c7a996b6325 [2021-05-11T18:29:03.572Z] ---> 38ef3d21635e [2021-05-11T18:29:03.572Z] Step 8/21 : RUN make build [2021-05-11T18:29:03.572Z] ---> Running in 31ead7116608 [2021-05-11T18:29:04.553Z] 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-11T18:29:43.632Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T18:29:51.915Z] Removing intermediate container 31ead7116608 [2021-05-11T18:29:51.915Z] ---> 1f2871c1d5dd [2021-05-11T18:29:51.915Z] Step 9/21 : FROM alpine:3.12 [2021-05-11T18:29:51.915Z] 3.12: Pulling from library/alpine [2021-05-11T18:29:51.915Z] d2f70382dc9a: Pulling fs layer [2021-05-11T18:29:51.915Z] d2f70382dc9a: Verifying Checksum [2021-05-11T18:29:51.915Z] d2f70382dc9a: Download complete [2021-05-11T18:29:51.915Z] d2f70382dc9a: Pull complete [2021-05-11T18:29:51.915Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T18:29:51.915Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T18:29:51.915Z] ---> 9852663dfa18 [2021-05-11T18:29:51.915Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-11T18:29:52.188Z] ---> Running in 1c296f7ac1e5 [2021-05-11T18:29:52.782Z] Removing intermediate container 1c296f7ac1e5 [2021-05-11T18:29:52.782Z] ---> edea14056934 [2021-05-11T18:29:52.782Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:29:52.782Z] ---> Running in 9c4164e3b9bf [2021-05-11T18:29:55.395Z] Removing intermediate container 9c4164e3b9bf [2021-05-11T18:29:55.395Z] ---> 2cf82f84ebe6 [2021-05-11T18:29:55.395Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T18:29:55.395Z] ---> Running in 54c3321bd3e8 [2021-05-11T18:29:56.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:29:56.973Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:29:57.573Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T18:29:57.845Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T18:29:57.845Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T18:29:57.845Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T18:29:58.117Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T18:29:58.389Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T18:29:58.389Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T18:29:58.389Z] OK: 8 MiB in 20 packages [2021-05-11T18:29:59.820Z] Removing intermediate container 54c3321bd3e8 [2021-05-11T18:29:59.820Z] ---> f37e3eab7201 [2021-05-11T18:29:59.820Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-11T18:30:00.806Z] ---> 486bcce11430 [2021-05-11T18:30:00.806Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-11T18:30:01.785Z] ---> 24a2b99bfa7a [2021-05-11T18:30:01.785Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-11T18:30:02.382Z] ---> 9f3d941606f6 [2021-05-11T18:30:02.382Z] Step 16/21 : EXPOSE 49991 [2021-05-11T18:30:02.663Z] ---> Running in 3913f12bfc0c [2021-05-11T18:30:03.262Z] Removing intermediate container 3913f12bfc0c [2021-05-11T18:30:03.262Z] ---> 921105166b08 [2021-05-11T18:30:03.262Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-11T18:30:03.262Z] ---> Running in cb598df59f7b [2021-05-11T18:30:03.861Z] Removing intermediate container cb598df59f7b [2021-05-11T18:30:03.861Z] ---> 4760eee7b95c [2021-05-11T18:30:03.861Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T18:30:03.861Z] ---> Running in 3efaf868b251 [2021-05-11T18:30:04.458Z] Removing intermediate container 3efaf868b251 [2021-05-11T18:30:04.458Z] ---> 10b74354a6c3 [2021-05-11T18:30:04.458Z] Step 19/21 : LABEL arch=arm64 [2021-05-11T18:30:04.458Z] ---> Running in 71ce0ec76619 [2021-05-11T18:30:05.063Z] Removing intermediate container 71ce0ec76619 [2021-05-11T18:30:05.063Z] ---> f74bf4c99c17 [2021-05-11T18:30:05.063Z] Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:30:05.063Z] ---> Running in 1d66bc705423 [2021-05-11T18:30:05.660Z] Removing intermediate container 1d66bc705423 [2021-05-11T18:30:05.660Z] ---> 5b79363cbe08 [2021-05-11T18:30:05.660Z] Step 21/21 : LABEL version=1.3.2-dev.8 [2021-05-11T18:30:05.933Z] ---> Running in 1e8ad4259acc [2021-05-11T18:30:06.204Z] Removing intermediate container 1e8ad4259acc [2021-05-11T18:30:06.204Z] ---> a52ab7d286e6 [2021-05-11T18:30:06.204Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T18:30:06.204Z] Successfully built a52ab7d286e6 [2021-05-11T18:30:06.204Z] 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-11T18:30:06.350Z] provisioning config files... [2021-05-11T18:30:06.388Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config6644238093730645994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:30:06.781Z] ---> docker-login.sh [2021-05-11T18:30:06.781Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:30:07.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:07.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:07.326Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:07.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:07.326Z] [2021-05-11T18:30:07.326Z] Login Succeeded [2021-05-11T18:30:07.326Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:30:07.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:07.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:07.886Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:07.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:07.886Z] [2021-05-11T18:30:07.886Z] Login Succeeded [2021-05-11T18:30:07.886Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:30:08.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:08.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:08.485Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:08.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:08.485Z] [2021-05-11T18:30:08.485Z] Login Succeeded [2021-05-11T18:30:08.485Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:30:09.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:09.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:09.086Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:09.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:09.086Z] [2021-05-11T18:30:09.086Z] Login Succeeded [2021-05-11T18:30:09.086Z] docker.io [2021-05-11T18:30:09.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:09.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:09.962Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:09.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:09.962Z] [2021-05-11T18:30:09.962Z] Login Succeeded [2021-05-11T18:30:09.962Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:30:09.979Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T18:30:10.066Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-05-11T18:30:10.066Z] 90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:30:10.066Z] latest [2021-05-11T18:30:10.066Z] 1.3.2-dev.8 [2021-05-11T18:30:10.066Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:30:10.066Z] master [2021-05-11T18:30:10.066Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:10.477Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:10.826Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:30:10.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-11T18:30:10.826Z] 395258c03dd1: Preparing [2021-05-11T18:30:10.826Z] 02f37530dacb: Preparing [2021-05-11T18:30:10.826Z] a39e33ccebf9: Preparing [2021-05-11T18:30:10.826Z] 83ab0c494700: Preparing [2021-05-11T18:30:10.826Z] f0ecca2bcb6c: Preparing [2021-05-11T18:30:10.826Z] 3fbe34a1663b: Preparing [2021-05-11T18:30:10.826Z] 3fbe34a1663b: Waiting [2021-05-11T18:30:11.103Z] f0ecca2bcb6c: Pushed [2021-05-11T18:30:11.103Z] 02f37530dacb: Pushed [2021-05-11T18:30:11.103Z] 395258c03dd1: Pushed [2021-05-11T18:30:11.378Z] 3fbe34a1663b: Layer already exists [2021-05-11T18:30:11.977Z] 83ab0c494700: Pushed [2021-05-11T18:30:13.958Z] a39e33ccebf9: Pushed [2021-05-11T18:30:14.232Z] 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:9cc1c03b8c4f3b84463938c0c589b6ebe80d46b792cf9f8a6863f7db8571b9c2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:14.591Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:14.945Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-11T18:30:14.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-11T18:30:14.945Z] 395258c03dd1: Preparing [2021-05-11T18:30:14.945Z] 02f37530dacb: Preparing [2021-05-11T18:30:14.945Z] a39e33ccebf9: Preparing [2021-05-11T18:30:14.945Z] 83ab0c494700: Preparing [2021-05-11T18:30:14.945Z] f0ecca2bcb6c: Preparing [2021-05-11T18:30:14.945Z] 3fbe34a1663b: Preparing [2021-05-11T18:30:14.945Z] 3fbe34a1663b: Waiting [2021-05-11T18:30:14.945Z] 02f37530dacb: Layer already exists [2021-05-11T18:30:14.945Z] f0ecca2bcb6c: Layer already exists [2021-05-11T18:30:15.218Z] 395258c03dd1: Layer already exists [2021-05-11T18:30:15.218Z] a39e33ccebf9: Layer already exists [2021-05-11T18:30:15.218Z] 83ab0c494700: Layer already exists [2021-05-11T18:30:15.218Z] 3fbe34a1663b: Layer already exists [2021-05-11T18:30:15.218Z] latest: digest: sha256:9cc1c03b8c4f3b84463938c0c589b6ebe80d46b792cf9f8a6863f7db8571b9c2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:15.637Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:15.985Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [2021-05-11T18:30:15.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-11T18:30:15.985Z] 395258c03dd1: Preparing [2021-05-11T18:30:15.985Z] 02f37530dacb: Preparing [2021-05-11T18:30:15.985Z] a39e33ccebf9: Preparing [2021-05-11T18:30:15.985Z] 83ab0c494700: Preparing [2021-05-11T18:30:15.985Z] f0ecca2bcb6c: Preparing [2021-05-11T18:30:15.985Z] 3fbe34a1663b: Preparing [2021-05-11T18:30:15.985Z] 3fbe34a1663b: Waiting [2021-05-11T18:30:15.985Z] 395258c03dd1: Layer already exists [2021-05-11T18:30:15.985Z] a39e33ccebf9: Layer already exists [2021-05-11T18:30:15.985Z] 83ab0c494700: Layer already exists [2021-05-11T18:30:15.985Z] 02f37530dacb: Layer already exists [2021-05-11T18:30:15.985Z] f0ecca2bcb6c: Layer already exists [2021-05-11T18:30:15.985Z] 3fbe34a1663b: Layer already exists [2021-05-11T18:30:16.254Z] 1.3.2-dev.8: digest: sha256:9cc1c03b8c4f3b84463938c0c589b6ebe80d46b792cf9f8a6863f7db8571b9c2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:16.602Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:16.944Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:30:16.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-11T18:30:16.944Z] 395258c03dd1: Preparing [2021-05-11T18:30:16.944Z] 02f37530dacb: Preparing [2021-05-11T18:30:16.944Z] a39e33ccebf9: Preparing [2021-05-11T18:30:16.944Z] 83ab0c494700: Preparing [2021-05-11T18:30:16.944Z] f0ecca2bcb6c: Preparing [2021-05-11T18:30:16.944Z] 3fbe34a1663b: Preparing [2021-05-11T18:30:16.944Z] 3fbe34a1663b: Waiting [2021-05-11T18:30:16.944Z] 02f37530dacb: Layer already exists [2021-05-11T18:30:16.944Z] 395258c03dd1: Layer already exists [2021-05-11T18:30:16.944Z] a39e33ccebf9: Layer already exists [2021-05-11T18:30:16.944Z] 83ab0c494700: Layer already exists [2021-05-11T18:30:16.944Z] f0ecca2bcb6c: Layer already exists [2021-05-11T18:30:16.944Z] 3fbe34a1663b: Layer already exists [2021-05-11T18:30:17.217Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8: digest: sha256:9cc1c03b8c4f3b84463938c0c589b6ebe80d46b792cf9f8a6863f7db8571b9c2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:17.570Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:17.917Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-05-11T18:30:17.917Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-11T18:30:17.917Z] 395258c03dd1: Preparing [2021-05-11T18:30:17.917Z] 02f37530dacb: Preparing [2021-05-11T18:30:17.917Z] a39e33ccebf9: Preparing [2021-05-11T18:30:17.917Z] 83ab0c494700: Preparing [2021-05-11T18:30:17.917Z] f0ecca2bcb6c: Preparing [2021-05-11T18:30:17.917Z] 3fbe34a1663b: Preparing [2021-05-11T18:30:17.917Z] 3fbe34a1663b: Waiting [2021-05-11T18:30:18.192Z] 02f37530dacb: Layer already exists [2021-05-11T18:30:18.192Z] 83ab0c494700: Layer already exists [2021-05-11T18:30:18.193Z] f0ecca2bcb6c: Layer already exists [2021-05-11T18:30:18.193Z] 395258c03dd1: Layer already exists [2021-05-11T18:30:18.193Z] a39e33ccebf9: Layer already exists [2021-05-11T18:30:18.193Z] 3fbe34a1663b: Layer already exists [2021-05-11T18:30:18.193Z] master: digest: sha256:9cc1c03b8c4f3b84463938c0c589b6ebe80d46b792cf9f8a6863f7db8571b9c2 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T18:30:18.272Z] ===================================================== [Pipeline] echo [2021-05-11T18:30:18.288Z] taggedImages: [2021-05-11T18:30:18.288Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T18:30:18.288Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-11T18:30:18.288Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.8 [2021-05-11T18:30:18.288Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.8 [2021-05-11T18:30:18.288Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:30:18.693Z] ---> job-cost.sh [2021-05-11T18:30:18.693Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iLnx [2021-05-11T18:31:05.663Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T18:32:57.789Z] lf-activate-venv(): INFO: Adding /tmp/venv-iLnx/bin to PATH [2021-05-11T18:32:57.789Z] INFO: No Stack... [2021-05-11T18:32:57.789Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T18:32:57.789Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T18:32:58.137Z] + cat /w/workspace/device-modbus-go/46/archives/cost.csv [2021-05-11T18:32:58.137Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T18:32:58.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] [2021-05-11T18:32:58.277Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] did not exist. Created. [2021-05-11T18:32:58.278Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T18:32:58.666Z] /w/workspace/device-modbus-go/46@tmp/durable-a74cf696/script.sh: 1: /w/workspace/device-modbus-go/46@tmp/durable-a74cf696/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T18:32:59.042Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T18:32:59.078Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T18:32:59.271Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T18:32:59.293Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-46-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-11T18:32:59.735Z] provisioning config files... [2021-05-11T18:32:59.747Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2237925729422734257tmp [Pipeline] { [Pipeline] sh [2021-05-11T18:33:00.077Z] + set +x [2021-05-11T18:33:00.077Z] + curl -s https://codecov.io/bash [2021-05-11T18:33:00.077Z] + bash -s -- [2021-05-11T18:33:00.340Z] [2021-05-11T18:33:00.340Z] _____ _ [2021-05-11T18:33:00.340Z] / ____| | | [2021-05-11T18:33:00.340Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T18:33:00.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T18:33:00.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T18:33:00.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T18:33:00.340Z] Bash-1.0.2 [2021-05-11T18:33:00.340Z] [2021-05-11T18:33:00.340Z] [2021-05-11T18:33:00.340Z] ==> git version 2.24.3 found [2021-05-11T18:33:00.340Z] ==> 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-11T18:33:00.340Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T18:33:00.340Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T18:33:00.340Z] ==> Jenkins CI detected. [2021-05-11T18:33:00.340Z] project root: . [2021-05-11T18:33:00.340Z] --> token set from env [2021-05-11T18:33:00.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T18:33:00.340Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T18:33:00.340Z] ==> Python coveragepy not found [2021-05-11T18:33:00.340Z] ==> Searching for coverage reports in: [2021-05-11T18:33:00.340Z] + . [2021-05-11T18:33:00.340Z] -> Found 1 reports [2021-05-11T18:33:00.340Z] ==> Detecting git/mercurial file structure [2021-05-11T18:33:00.340Z] ==> Reading reports [2021-05-11T18:33:00.340Z] + ./coverage.out bytes=22385 [2021-05-11T18:33:00.340Z] ==> Appending adjustments [2021-05-11T18:33:00.340Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T18:33:00.340Z] + Found adjustments [2021-05-11T18:33:00.340Z] ==> Gzipping contents [2021-05-11T18:33:00.602Z] 4.0K /tmp/codecov.v3kXlb.gz [2021-05-11T18:33:00.602Z] ==> Uploading reports [2021-05-11T18:33:00.602Z] url: https://codecov.io [2021-05-11T18:33:00.602Z] query: branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T18:33:00.602Z] -> Pinging Codecov [2021-05-11T18:33:00.603Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T18:33:00.868Z] -> Uploading to [2021-05-11T18:33:00.868Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/55DBCA73C666E3227836607328DD7E49/90bd167c5e008ca72793a95020c1bd222277a38a/8dd5feca-4c83-4ce3-a735-ac62e2589227.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T183300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c472295db00ff50ace2483e9a302fac2e1edf867db0a87b621e25e7f51ba30f6 [2021-05-11T18:33:01.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T18:33:01.131Z] Dload Upload Total Spent Left Speed [2021-05-11T18:33:01.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3892 0 0 100 3892 0 10320 --:--:-- --:--:-- --:--:-- 10351 [2021-05-11T18:33:01.395Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] } [2021-05-11T18:33:01.405Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-11T18:33:01.709Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-11T18:33:01.724Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:02.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T18:33:02.053Z] [2021-05-11T18:33:02.053Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:02.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T18:33:02.449Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-11T18:33:02.449Z] 188c0c94c7c5: Pulling fs layer [2021-05-11T18:33:02.449Z] 0ef7d3d256c8: Pulling fs layer [2021-05-11T18:33:02.449Z] de9db76c5a1d: Pulling fs layer [2021-05-11T18:33:02.449Z] 0eba1c9be4d2: Pulling fs layer [2021-05-11T18:33:02.449Z] 0d57e429df01: Pulling fs layer [2021-05-11T18:33:02.449Z] 4e4be7b47b0d: Pulling fs layer [2021-05-11T18:33:02.449Z] e1f770b5df2f: Pulling fs layer [2021-05-11T18:33:02.449Z] 85a0685a4137: Pulling fs layer [2021-05-11T18:33:02.449Z] 4e4be7b47b0d: Waiting [2021-05-11T18:33:02.449Z] e1f770b5df2f: Waiting [2021-05-11T18:33:02.449Z] 85a0685a4137: Waiting [2021-05-11T18:33:02.449Z] 0d57e429df01: Waiting [2021-05-11T18:33:02.449Z] 0eba1c9be4d2: Waiting [2021-05-11T18:33:02.449Z] de9db76c5a1d: Verifying Checksum [2021-05-11T18:33:02.449Z] de9db76c5a1d: Download complete [2021-05-11T18:33:02.449Z] 0ef7d3d256c8: Download complete [2021-05-11T18:33:02.449Z] 0d57e429df01: Verifying Checksum [2021-05-11T18:33:02.449Z] 0d57e429df01: Download complete [2021-05-11T18:33:02.449Z] 4e4be7b47b0d: Verifying Checksum [2021-05-11T18:33:02.449Z] 4e4be7b47b0d: Download complete [2021-05-11T18:33:02.449Z] 188c0c94c7c5: Download complete [2021-05-11T18:33:03.122Z] 188c0c94c7c5: Pull complete [2021-05-11T18:33:03.389Z] 0ef7d3d256c8: Pull complete [2021-05-11T18:33:03.389Z] e1f770b5df2f: Verifying Checksum [2021-05-11T18:33:03.389Z] e1f770b5df2f: Download complete [2021-05-11T18:33:03.389Z] de9db76c5a1d: Pull complete [2021-05-11T18:33:05.329Z] 0eba1c9be4d2: Verifying Checksum [2021-05-11T18:33:05.329Z] 0eba1c9be4d2: Download complete [2021-05-11T18:33:05.912Z] 85a0685a4137: Verifying Checksum [2021-05-11T18:33:05.912Z] 85a0685a4137: Download complete [2021-05-11T18:33:11.280Z] 0eba1c9be4d2: Pull complete [2021-05-11T18:33:11.549Z] 0d57e429df01: Pull complete [2021-05-11T18:33:11.549Z] 4e4be7b47b0d: Pull complete [2021-05-11T18:33:14.130Z] e1f770b5df2f: Pull complete [2021-05-11T18:33:22.360Z] 85a0685a4137: Pull complete [2021-05-11T18:33:22.360Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-11T18:33:22.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T18:33:22.360Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-11T18:33:22.611Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:33:22.661Z] $ 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-11T18:33:24.122Z] $ docker top e783e9563a03d6b4e32402c40df990efdd9e64c1d2d4ffe9f0458cbc59e6cd89 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-11T18:33:24.259Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-11T18:33:24.559Z] + set -o pipefail [2021-05-11T18:33:24.559Z] + snyk monitor '--org=edgex-jenkins' [2021-05-11T18:33:32.762Z] [2021-05-11T18:33:32.762Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-11T18:33:32.762Z] [2021-05-11T18:33:32.762Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/f596124c-7450-45bc-b98f-21cb863b3c7d [2021-05-11T18:33:32.762Z] [2021-05-11T18:33:32.762Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-11T18:33:32.762Z] [2021-05-11T18:33:32.762Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-11T18:33:32.762Z] [2021-05-11T18:33:32.762Z] [Pipeline] } [2021-05-11T18:33:32.781Z] $ docker stop --time=1 e783e9563a03d6b4e32402c40df990efdd9e64c1d2d4ffe9f0458cbc59e6cd89 [2021-05-11T18:33:35.630Z] $ docker rm -f e783e9563a03d6b4e32402c40df990efdd9e64c1d2d4ffe9f0458cbc59e6cd89 [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-11T18:33:36.858Z] + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:37.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:33:37.173Z] . [Pipeline] withDockerContainer [2021-05-11T18:33:37.310Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:33:37.365Z] $ 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-11T18:33:38.136Z] $ docker top 4d985977f13a889fd9f19b4cdffb96146ea92927d10f63639d8c6e44196f3936 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T18:33:38.293Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T18:33:38.631Z] + git semver [Pipeline] } [2021-05-11T18:33:38.647Z] $ docker stop --time=1 4d985977f13a889fd9f19b4cdffb96146ea92927d10f63639d8c6e44196f3936 [2021-05-11T18:33:40.008Z] $ docker rm -f 4d985977f13a889fd9f19b4cdffb96146ea92927d10f63639d8c6e44196f3936 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:40.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T18:33:40.514Z] [2021-05-11T18:33:40.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:40.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T18:33:40.854Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-11T18:33:40.854Z] ab5ef0e58194: Pulling fs layer [2021-05-11T18:33:40.854Z] 9712f1f96733: Pulling fs layer [2021-05-11T18:33:40.854Z] 63f879dbbcfc: Pulling fs layer [2021-05-11T18:33:40.854Z] 0d9ebad4ef96: Pulling fs layer [2021-05-11T18:33:40.854Z] e9a5061849ea: Pulling fs layer [2021-05-11T18:33:40.854Z] d747dcd14b5f: Pulling fs layer [2021-05-11T18:33:40.854Z] 2de7ff778b66: Pulling fs layer [2021-05-11T18:33:40.854Z] e9a5061849ea: Waiting [2021-05-11T18:33:40.854Z] d747dcd14b5f: Waiting [2021-05-11T18:33:40.854Z] 2de7ff778b66: Waiting [2021-05-11T18:33:40.854Z] 0d9ebad4ef96: Waiting [2021-05-11T18:33:40.854Z] 9712f1f96733: Verifying Checksum [2021-05-11T18:33:40.854Z] 9712f1f96733: Download complete [2021-05-11T18:33:42.254Z] 63f879dbbcfc: Verifying Checksum [2021-05-11T18:33:42.254Z] 63f879dbbcfc: Download complete [2021-05-11T18:33:42.254Z] e9a5061849ea: Verifying Checksum [2021-05-11T18:33:42.254Z] e9a5061849ea: Download complete [2021-05-11T18:33:42.254Z] d747dcd14b5f: Verifying Checksum [2021-05-11T18:33:42.254Z] d747dcd14b5f: Download complete [2021-05-11T18:33:42.837Z] 2de7ff778b66: Verifying Checksum [2021-05-11T18:33:42.837Z] 2de7ff778b66: Download complete [2021-05-11T18:33:43.101Z] ab5ef0e58194: Verifying Checksum [2021-05-11T18:33:43.101Z] ab5ef0e58194: Download complete [2021-05-11T18:33:43.364Z] 0d9ebad4ef96: Verifying Checksum [2021-05-11T18:33:43.364Z] 0d9ebad4ef96: Download complete [2021-05-11T18:33:48.708Z] ab5ef0e58194: Pull complete [2021-05-11T18:33:48.708Z] 9712f1f96733: Pull complete [2021-05-11T18:33:50.653Z] 63f879dbbcfc: Pull complete [2021-05-11T18:33:57.289Z] 0d9ebad4ef96: Pull complete [2021-05-11T18:33:58.688Z] e9a5061849ea: Pull complete [2021-05-11T18:33:58.688Z] d747dcd14b5f: Pull complete [2021-05-11T18:34:01.255Z] 2de7ff778b66: Pull complete [2021-05-11T18:34:01.256Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-11T18:34:01.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T18:34:01.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-11T18:34:01.518Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:34:01.576Z] $ 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-11T18:34:05.978Z] $ docker top 6d4a2a134d3ed234212ede189c97faa4686a295257492196d9e4286f5900838d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-11T18:34:06.211Z] provisioning config files... [2021-05-11T18:34:06.223Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7861667587004694856tmp [2021-05-11T18:34:06.238Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7860504947942063299tmp [2021-05-11T18:34:06.253Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2346724466426418221tmp [Pipeline] { [Pipeline] echo [2021-05-11T18:34:06.278Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:06.603Z] ---> sigul-configuration.sh [2021-05-11T18:34:06.603Z] gpg: directory `/root/.gnupg' created [2021-05-11T18:34:06.603Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-11T18:34:06.603Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-11T18:34:06.603Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-11T18:34:06.603Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-11T18:34:06.603Z] gpg: CAST5 encrypted data [2021-05-11T18:34:06.866Z] gpg: encrypted with 1 passphrase [2021-05-11T18:34:06.866Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-11T18:34:07.173Z] + mkdir /home/jenkins [2021-05-11T18:34:07.173Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-11T18:34:07.474Z] + 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-11T18:34:07.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:07.785Z] ---> sigul-install.sh [2021-05-11T18:34:14.394Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-11T18:34:14.693Z] + git tag --list [2021-05-11T18:34:14.694Z] 0.7.1 [2021-05-11T18:34:14.694Z] v1.0.0 [2021-05-11T18:34:14.694Z] v1.1.0 [2021-05-11T18:34:14.694Z] v1.1.1 [2021-05-11T18:34:14.694Z] v1.2.2 [2021-05-11T18:34:14.694Z] v1.3.0 [2021-05-11T18:34:14.694Z] v1.3.1 [2021-05-11T18:34:14.694Z] v1.3.1-dev.1 [2021-05-11T18:34:14.694Z] v1.3.1-dev.2 [2021-05-11T18:34:14.694Z] v1.3.1-dev.3 [2021-05-11T18:34:14.694Z] v1.3.1-dev.4 [2021-05-11T18:34:14.694Z] v1.3.1-dev.5 [2021-05-11T18:34:14.694Z] v1.3.1-dev.6 [2021-05-11T18:34:14.694Z] v1.3.1-dev.7 [2021-05-11T18:34:14.694Z] v1.3.1-dev.8 [2021-05-11T18:34:14.694Z] v1.3.2-dev.1 [2021-05-11T18:34:14.694Z] v1.3.2-dev.2 [2021-05-11T18:34:14.694Z] v1.3.2-dev.3 [2021-05-11T18:34:14.694Z] v1.3.2-dev.4 [2021-05-11T18:34:14.694Z] v1.3.2-dev.5 [2021-05-11T18:34:14.694Z] v1.3.2-dev.6 [2021-05-11T18:34:14.694Z] v1.3.2-dev.7 [Pipeline] sh [2021-05-11T18:34:14.996Z] + lftools sign git-tag v1.3.2-dev.8 [2021-05-11T18:34:16.392Z] Signing Git tag with Sigul... [2021-05-11T18:34:16.392Z] Signing v1.3.2-dev.8 [2021-05-11T18:34:16.392Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v1.3.2-dev.8'], return code 1, stdout , stderr [Pipeline] echo [2021-05-11T18:34:16.404Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:16.700Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-11T18:34:16.711Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-11T18:34:16.746Z] $ docker stop --time=1 6d4a2a134d3ed234212ede189c97faa4686a295257492196d9e4286f5900838d [2021-05-11T18:34:19.040Z] $ docker rm -f 6d4a2a134d3ed234212ede189c97faa4686a295257492196d9e4286f5900838d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:34:19.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:34:19.708Z] . [Pipeline] withDockerContainer [2021-05-11T18:34:19.870Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:34:19.965Z] $ 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-11T18:34:20.766Z] $ docker top dac68b0c1a1ffc488b3469a513f2986bd14d2b05cb28bf1b0637e56e33d2d80b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T18:34:20.918Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T18:34:21.237Z] + git semver [Pipeline] } [2021-05-11T18:34:21.259Z] $ docker stop --time=1 dac68b0c1a1ffc488b3469a513f2986bd14d2b05cb28bf1b0637e56e33d2d80b [2021-05-11T18:34:22.959Z] $ docker rm -f dac68b0c1a1ffc488b3469a513f2986bd14d2b05cb28bf1b0637e56e33d2d80b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:34:23.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:34:23.456Z] . [Pipeline] withDockerContainer [2021-05-11T18:34:23.566Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:34:23.616Z] $ 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-11T18:34:24.366Z] $ docker top 05f34364cf76ff1b328efdaa02a0380b8dbae241a53b4349483adbd05680d6f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T18:34:24.562Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.7' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T18:34:24.893Z] + git semver [Pipeline] } [2021-05-11T18:34:24.910Z] $ docker stop --time=1 05f34364cf76ff1b328efdaa02a0380b8dbae241a53b4349483adbd05680d6f7 [2021-05-11T18:34:26.335Z] $ docker rm -f 05f34364cf76ff1b328efdaa02a0380b8dbae241a53b4349483adbd05680d6f7 [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-11T18:34:27.395Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:27.991Z] ---> package-listing.sh [2021-05-11T18:34:27.991Z] ++ facter osfamily [2021-05-11T18:34:27.991Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T18:34:27.991Z] + OS_FAMILY=redhat [2021-05-11T18:34:27.991Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-11T18:34:27.991Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T18:34:27.991Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T18:34:27.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T18:34:27.991Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T18:34:27.991Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-11T18:34:27.991Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T18:34:27.991Z] + case "${OS_FAMILY}" in [2021-05-11T18:34:27.991Z] + rpm -qa [2021-05-11T18:34:27.991Z] + sort [2021-05-11T18:34:33.297Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T18:34:33.297Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T18:34:33.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T18:34:33.297Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-11T18:34:33.297Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-11T18:34:33.297Z] + 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-11T18:34:33.313Z] 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-11T18:34:33.605Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:34:33.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:34:33.912Z] [2021-05-11T18:34:33.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:34:34.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:34:34.235Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T18:34:34.235Z] df20fa9351a1: Pulling fs layer [2021-05-11T18:34:34.235Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T18:34:34.235Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T18:34:34.235Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T18:34:34.235Z] 93b61091891f: Pulling fs layer [2021-05-11T18:34:34.235Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T18:34:34.235Z] 5e14af77c1be: Pulling fs layer [2021-05-11T18:34:34.235Z] 01666e4c0597: Pulling fs layer [2021-05-11T18:34:34.235Z] aa168da1d23b: Pulling fs layer [2021-05-11T18:34:34.235Z] 93b9cdb0e59b: Waiting [2021-05-11T18:34:34.235Z] 5e14af77c1be: Waiting [2021-05-11T18:34:34.235Z] 01666e4c0597: Waiting [2021-05-11T18:34:34.235Z] aa168da1d23b: Waiting [2021-05-11T18:34:34.235Z] 93b61091891f: Waiting [2021-05-11T18:34:34.235Z] 46f8f816bc3b: Waiting [2021-05-11T18:34:34.235Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T18:34:34.235Z] 36b3adc4ff6f: Download complete [2021-05-11T18:34:34.235Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T18:34:34.235Z] 46f8f816bc3b: Download complete [2021-05-11T18:34:34.235Z] df20fa9351a1: Verifying Checksum [2021-05-11T18:34:34.235Z] df20fa9351a1: Download complete [2021-05-11T18:34:34.235Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T18:34:34.235Z] 93b9cdb0e59b: Download complete [2021-05-11T18:34:34.235Z] 5e14af77c1be: Verifying Checksum [2021-05-11T18:34:34.235Z] 5e14af77c1be: Download complete [2021-05-11T18:34:34.499Z] 01666e4c0597: Verifying Checksum [2021-05-11T18:34:34.499Z] 01666e4c0597: Download complete [2021-05-11T18:34:34.499Z] 93b61091891f: Verifying Checksum [2021-05-11T18:34:34.499Z] 93b61091891f: Download complete [2021-05-11T18:34:34.499Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T18:34:34.499Z] 8ad3a11d3b57: Download complete [2021-05-11T18:34:34.766Z] df20fa9351a1: Pull complete [2021-05-11T18:34:35.031Z] 36b3adc4ff6f: Pull complete [2021-05-11T18:34:36.439Z] aa168da1d23b: Verifying Checksum [2021-05-11T18:34:36.439Z] aa168da1d23b: Download complete [2021-05-11T18:34:36.439Z] 8ad3a11d3b57: Pull complete [2021-05-11T18:34:36.706Z] 46f8f816bc3b: Pull complete [2021-05-11T18:34:36.970Z] 93b61091891f: Pull complete [2021-05-11T18:34:37.231Z] 93b9cdb0e59b: Pull complete [2021-05-11T18:34:37.231Z] 5e14af77c1be: Pull complete [2021-05-11T18:34:37.498Z] 01666e4c0597: Pull complete [2021-05-11T18:34:45.681Z] aa168da1d23b: Pull complete [2021-05-11T18:34:45.681Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T18:34:45.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:34:45.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T18:34:45.856Z] prd-centos7-docker-4c-2g-4564 does not seem to be running inside a container [2021-05-11T18:34:45.902Z] $ 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-11T18:34:48.487Z] $ docker top 55546712b6249cc947e2ae103dcd6160852b9dc94ca559d529d784d27b3535a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:34:48.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T18:34:49.213Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T18:34:49.514Z] + ls /var/log/sa-host [2021-05-11T18:34:49.514Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T18:34:49.514Z] file_magic: OK [2021-05-11T18:34:49.514Z] HZ: Using current value: 100 [2021-05-11T18:34:49.514Z] file_header: OK [2021-05-11T18:34:49.514Z] 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-11T18:34:49.514Z] Statistics: [2021-05-11T18:34:49.514Z] 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... [2021-05-11T18:34:49.514Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T18:34:49.514Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T18:34:49.514Z] file_magic: OK [2021-05-11T18:34:49.514Z] HZ: Using current value: 100 [2021-05-11T18:34:49.514Z] file_header: OK [2021-05-11T18:34:49.514Z] 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-11T18:34:49.514Z] Statistics: [2021-05-11T18:34:49.514Z] Hnuu...uuuununununu... [2021-05-11T18:34:49.514Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T18:34:50.082Z] provisioning config files... [2021-05-11T18:34:50.097Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8078157269949487013tmp [Pipeline] { [Pipeline] echo [2021-05-11T18:34:50.120Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:50.415Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T18:34:50.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T18:34:50.452Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:50.749Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T18:34:50.761Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:51.061Z] ---> sudo-logs.sh [2021-05-11T18:34:51.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T18:34:51.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:51.400Z] ---> job-cost.sh [2021-05-11T18:34:51.400Z] lf-activate-venv: SKIPPING [2021-05-11T18:34:51.400Z] DEBUG: total: 0.20999999344348907 [2021-05-11T18:34:51.400Z] INFO: Retrieving Stack Cost... [2021-05-11T18:34:52.349Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T18:34:52.925Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T18:34:52.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:53.297Z] ---> logs-deploy.sh [2021-05-11T18:34:53.297Z] lf-activate-venv: SKIPPING [2021-05-11T18:34:53.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/46 [2021-05-11T18:34:53.297Z] INFO: archiving workspace using pattern(s): [2021-05-11T18:34:54.689Z] Archives upload complete. [2021-05-11T18:34:54.954Z] INFO: archiving logs to Nexus