Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b5230044bd4b19929753d210ee1690417a14801e 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1257357751209767954.key > 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 --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1326722852476647168.key > 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 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh140905809321508836.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1209123257953703995.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4369267036160044367.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14956 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh7407882397700143099.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (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 core.sparsecheckout # timeout=10 > git checkout -f b5230044bd4b19929753d210ee1690417a14801e # timeout=10 Commit message: "Merge pull request #246 from hahattan/interval" > git rev-list --no-walk a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-19T02:20:58.609Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T02:20:58.706Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T02:20:58.747Z] ========================================================= [2021-05-19T02:20:58.747Z] EdgeX Global Pipelines Version Info [2021-05-19T02:20:58.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:21:00.097Z] ------------------- [2021-05-19T02:21:00.098Z] stable info: [2021-05-19T02:21:00.098Z] ------------------- [2021-05-19T02:21:00.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T02:21:00.098Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T02:21:00.098Z] Message: update stable to v1.0.192 [2021-05-19T02:21:00.724Z] ------------------- [2021-05-19T02:21:00.724Z] experimental info: [2021-05-19T02:21:00.724Z] ------------------- [2021-05-19T02:21:00.724Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T02:21:00.724Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T02:21:00.724Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T02:21:00.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-19T02:21:00.955Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-19T02:21:00.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T02:21:01.005Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T02:21:01.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T02:21:01.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T02:21:01.090Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T02:21:01.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T02:21:01.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-19T02:21:01.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T02:21:01.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T02:21:01.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-19T02:21:01.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T02:21:01.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T02:21:01.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T02:21:01.327Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T02:21:01.353Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T02:21:01.396Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T02:21:01.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T02:21:01.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-19T02:21:01.497Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-19T02:21:01.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-19T02:21:01.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T02:21:01.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T02:21:01.599Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T02:21:01.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T02:21:01.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-19T02:21:01.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-19T02:21:01.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-19T02:21:01.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5230044bd4b19929753d210ee1690417a14801e [Pipeline] echo [2021-05-19T02:21:01.766Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b523004 [Pipeline] echo [2021-05-19T02:21:01.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:21:01.926Z] provisioning config files... [2021-05-19T02:21:01.951Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6638099067933907769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:21:02.327Z] ---> docker-login.sh [2021-05-19T02:21:02.327Z] nexus3.edgexfoundry.org:10001 [2021-05-19T02:21:02.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:21:03.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:21:03.108Z] Configure a credential helper to remove this warning. See [2021-05-19T02:21:03.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:21:03.108Z] [2021-05-19T02:21:03.108Z] Login Succeeded [2021-05-19T02:21:03.108Z] nexus3.edgexfoundry.org:10002 [2021-05-19T02:21:03.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:21:03.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:21:03.374Z] Configure a credential helper to remove this warning. See [2021-05-19T02:21:03.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:21:03.374Z] [2021-05-19T02:21:03.374Z] Login Succeeded [2021-05-19T02:21:03.374Z] nexus3.edgexfoundry.org:10003 [2021-05-19T02:21:03.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:21:03.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:21:03.374Z] Configure a credential helper to remove this warning. See [2021-05-19T02:21:03.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:21:03.374Z] [2021-05-19T02:21:03.374Z] Login Succeeded [2021-05-19T02:21:03.374Z] nexus3.edgexfoundry.org:10004 [2021-05-19T02:21:03.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:21:03.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:21:03.640Z] Configure a credential helper to remove this warning. See [2021-05-19T02:21:03.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:21:03.640Z] [2021-05-19T02:21:03.640Z] Login Succeeded [2021-05-19T02:21:03.640Z] docker.io [2021-05-19T02:21:03.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:21:03.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:21:03.917Z] Configure a credential helper to remove this warning. See [2021-05-19T02:21:03.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:21:03.917Z] [2021-05-19T02:21:03.917Z] Login Succeeded [2021-05-19T02:21:03.917Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T02:21:03.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T02:21:04.471Z] + git log --format=format:%s -1 b5230044bd4b19929753d210ee1690417a14801e [Pipeline] echo [2021-05-19T02:21:04.621Z] GIT_COMMIT: b5230044bd4b19929753d210ee1690417a14801e, Commit Message: Merge pull request #246 from hahattan/interval [Pipeline] echo [2021-05-19T02:21:04.634Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:21:05.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:21:05.552Z] [2021-05-19T02:21:05.552Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:21:05.927Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:21:05.927Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T02:21:05.927Z] 31603596830f: Pulling fs layer [2021-05-19T02:21:05.927Z] 54011a49482f: Pulling fs layer [2021-05-19T02:21:05.927Z] a6820b24f6d8: Pulling fs layer [2021-05-19T02:21:05.927Z] f581987b2513: Pulling fs layer [2021-05-19T02:21:05.927Z] f581987b2513: Waiting [2021-05-19T02:21:05.927Z] 54011a49482f: Verifying Checksum [2021-05-19T02:21:05.927Z] 54011a49482f: Download complete [2021-05-19T02:21:06.203Z] 31603596830f: Verifying Checksum [2021-05-19T02:21:06.203Z] 31603596830f: Download complete [2021-05-19T02:21:06.203Z] f581987b2513: Verifying Checksum [2021-05-19T02:21:06.203Z] f581987b2513: Download complete [2021-05-19T02:21:06.203Z] 31603596830f: Pull complete [2021-05-19T02:21:06.496Z] 54011a49482f: Pull complete [2021-05-19T02:21:06.496Z] a6820b24f6d8: Verifying Checksum [2021-05-19T02:21:06.496Z] a6820b24f6d8: Download complete [2021-05-19T02:21:07.501Z] a6820b24f6d8: Pull complete [2021-05-19T02:21:07.771Z] f581987b2513: Pull complete [2021-05-19T02:21:07.771Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T02:21:07.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:21:07.771Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T02:21:08.172Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:21:08.247Z] $ 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-19T02:21:10.147Z] $ docker top abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T02:21:10.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T02:21:10.331Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T02:21:10.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T02:21:10.482Z] $ docker exec abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent [2021-05-19T02:21:10.603Z] SSH_AUTH_SOCK=/tmp/ssh-9xXHBha1APEo/agent.14 [2021-05-19T02:21:10.603Z] SSH_AGENT_PID=21 [2021-05-19T02:21:10.616Z] Running ssh-add (command line suppressed) [2021-05-19T02:21:10.718Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_549570403229555867.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_549570403229555867.key) [2021-05-19T02:21:10.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T02:21:11.061Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T02:21:11.086Z] $ docker exec --env ******** --env ******** abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent -k [2021-05-19T02:21:11.178Z] unset SSH_AUTH_SOCK; [2021-05-19T02:21:11.178Z] unset SSH_AGENT_PID; [2021-05-19T02:21:11.179Z] echo Agent pid 21 killed; [2021-05-19T02:21:11.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T02:21:11.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T02:21:11.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T02:21:11.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T02:21:11.447Z] $ docker exec abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent [2021-05-19T02:21:11.570Z] SSH_AUTH_SOCK=/tmp/ssh-P4w84TuFWDDE/agent.55 [2021-05-19T02:21:11.570Z] SSH_AGENT_PID=61 [2021-05-19T02:21:11.585Z] Running ssh-add (command line suppressed) [2021-05-19T02:21:11.683Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6955041921261758696.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6955041921261758696.key) [2021-05-19T02:21:11.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T02:21:12.011Z] + git semver init [2021-05-19T02:21:12.011Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T02:21:12.011Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-19T02:21:12.011Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-19T02:21:12.011Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T02:21:12.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T02:21:12.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T02:21:12.011Z] # $SEMVER_BRANCH = master [2021-05-19T02:21:12.011Z] # $SEMVER_TEMP = /tmp/semver-572180735 [2021-05-19T02:21:12.011Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-19T02:21:12.277Z] # '/tmp/semver-572180735' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-19T02:21:12.277Z] # -> Force: false [2021-05-19T02:21:12.277Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-19T02:21:12.292Z] $ docker exec --env ******** --env ******** abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 ssh-agent -k [2021-05-19T02:21:12.386Z] unset SSH_AUTH_SOCK; [2021-05-19T02:21:12.386Z] unset SSH_AGENT_PID; [2021-05-19T02:21:12.386Z] echo Agent pid 61 killed; [2021-05-19T02:21:12.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T02:21:12.769Z] + git semver [Pipeline] } [2021-05-19T02:21:12.794Z] $ docker stop --time=1 abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 [2021-05-19T02:21:14.069Z] $ docker rm -f abf4bae10f3a4e1a2bb0eee382fb59673f10123fd9b2ce22dd2a0025f28c09f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T02:21:14.469Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T02:21:14.879Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T02:21:14.882Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.11 [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-19T02:21:30.121Z] Still waiting to schedule task [2021-05-19T02:21:30.121Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-19T02:21:30.122Z] ‘prd-centos7-docker-4c-2g-14957’ is offline [2021-05-19T02:21:30.122Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-19T02:21:30.124Z] Still waiting to schedule task [2021-05-19T02:21:30.124Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-14954’ [2021-05-19T02:23:54.343Z] Running on prd-centos7-docker-4c-2g-14958 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-19T02:23:54.377Z] Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout [2021-05-19T02:23:54.528Z] Selected Git installation does not exist. Using Default [2021-05-19T02:23:54.528Z] The recommended git tool is: NONE [2021-05-19T02:23:57.125Z] using credential edgex-jenkins-ssh [2021-05-19T02:23:57.141Z] Cloning the remote Git repository [2021-05-19T02:23:57.885Z] Avoid second fetch [2021-05-19T02:23:57.886Z] Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (master) [2021-05-19T02:23:57.171Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-19T02:23:57.250Z] > git init /w/workspace/device-modbus-go/50 # timeout=10 [2021-05-19T02:23:57.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-19T02:23:57.289Z] > git --version # timeout=10 [2021-05-19T02:23:57.301Z] > git --version # 'git version 2.24.4' [2021-05-19T02:23:57.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T02:23:57.325Z] [INFO] Currently running in a labeled security context [2021-05-19T02:23:57.325Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T02:23:57.325Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/50@tmp/jenkins-gitclient-ssh3257001045099241108.key [2021-05-19T02:23:57.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T02:23:57.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-19T02:23:57.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T02:23:57.895Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T02:23:57.903Z] > git checkout -f b5230044bd4b19929753d210ee1690417a14801e # timeout=10 [2021-05-19T02:24:02.112Z] Commit message: "Merge pull request #246 from hahattan/interval" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T02:24:03.439Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T02:24:03.812Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T02:24:04.129Z] + true [2021-05-19T02:24:04.130Z] + sudo service docker restart [2021-05-19T02:24:04.130Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:24:23.305Z] provisioning config files... [2021-05-19T02:24:23.366Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config2934463097882629425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:24:23.908Z] ---> docker-login.sh [2021-05-19T02:24:23.908Z] nexus3.edgexfoundry.org:10001 [2021-05-19T02:24:23.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:24:24.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:24:24.174Z] Configure a credential helper to remove this warning. See [2021-05-19T02:24:24.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:24:24.174Z] [2021-05-19T02:24:24.174Z] Login Succeeded [2021-05-19T02:24:24.174Z] nexus3.edgexfoundry.org:10002 [2021-05-19T02:24:24.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:24:24.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:24:24.437Z] Configure a credential helper to remove this warning. See [2021-05-19T02:24:24.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:24:24.437Z] [2021-05-19T02:24:24.437Z] Login Succeeded [2021-05-19T02:24:24.437Z] nexus3.edgexfoundry.org:10003 [2021-05-19T02:24:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:24:24.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:24:24.437Z] Configure a credential helper to remove this warning. See [2021-05-19T02:24:24.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:24:24.437Z] [2021-05-19T02:24:24.437Z] Login Succeeded [2021-05-19T02:24:24.437Z] nexus3.edgexfoundry.org:10004 [2021-05-19T02:24:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:24:24.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:24:24.709Z] Configure a credential helper to remove this warning. See [2021-05-19T02:24:24.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:24:24.709Z] [2021-05-19T02:24:24.709Z] Login Succeeded [2021-05-19T02:24:24.709Z] docker.io [2021-05-19T02:24:24.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:24:24.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:24:24.992Z] Configure a credential helper to remove this warning. See [2021-05-19T02:24:24.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:24:24.992Z] [2021-05-19T02:24:24.992Z] Login Succeeded [2021-05-19T02:24:24.992Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T02:24:25.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T02:24:25.687Z] ========================================================= [2021-05-19T02:24:25.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T02:24:25.687Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:24:26.096Z] + 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-19T02:24:26.096Z] Sending build context to Docker daemon 597kB [2021-05-19T02:24:26.096Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T02:24:26.096Z] Step 2/8 : FROM ${BASE} [2021-05-19T02:24:26.096Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T02:24:26.096Z] 540db60ca938: Pulling fs layer [2021-05-19T02:24:26.096Z] adcc1eea9eea: Pulling fs layer [2021-05-19T02:24:26.096Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T02:24:26.096Z] 0510c868ecb4: Pulling fs layer [2021-05-19T02:24:26.096Z] afea3b2eda06: Pulling fs layer [2021-05-19T02:24:26.096Z] 7809a108b3ef: Pulling fs layer [2021-05-19T02:24:26.096Z] f706445af74f: Pulling fs layer [2021-05-19T02:24:26.096Z] 0510c868ecb4: Waiting [2021-05-19T02:24:26.096Z] afea3b2eda06: Waiting [2021-05-19T02:24:26.096Z] 7809a108b3ef: Waiting [2021-05-19T02:24:26.096Z] f706445af74f: Waiting [2021-05-19T02:24:26.096Z] 4c4ab2625f07: Verifying Checksum [2021-05-19T02:24:26.096Z] 4c4ab2625f07: Download complete [2021-05-19T02:24:26.096Z] adcc1eea9eea: Verifying Checksum [2021-05-19T02:24:26.096Z] adcc1eea9eea: Download complete [2021-05-19T02:24:26.362Z] afea3b2eda06: Verifying Checksum [2021-05-19T02:24:26.362Z] afea3b2eda06: Download complete [2021-05-19T02:24:26.362Z] 7809a108b3ef: Download complete [2021-05-19T02:24:26.957Z] 540db60ca938: Verifying Checksum [2021-05-19T02:24:26.957Z] 540db60ca938: Download complete [2021-05-19T02:24:26.957Z] 540db60ca938: Pull complete [2021-05-19T02:24:27.271Z] adcc1eea9eea: Pull complete [2021-05-19T02:24:27.271Z] 4c4ab2625f07: Pull complete [2021-05-19T02:24:30.093Z] f706445af74f: Verifying Checksum [2021-05-19T02:24:30.093Z] f706445af74f: Download complete [2021-05-19T02:24:30.721Z] 0510c868ecb4: Verifying Checksum [2021-05-19T02:24:30.721Z] 0510c868ecb4: Download complete [2021-05-19T02:24:34.326Z] 0510c868ecb4: Pull complete [2021-05-19T02:24:34.326Z] afea3b2eda06: Pull complete [2021-05-19T02:24:34.326Z] 7809a108b3ef: Pull complete [2021-05-19T02:24:36.305Z] f706445af74f: Pull complete [2021-05-19T02:24:36.305Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T02:24:36.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T02:24:36.305Z] ---> b068be0155e3 [2021-05-19T02:24:36.305Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-19T02:24:40.777Z] ---> Running in 861c926798a8 [2021-05-19T02:24:40.777Z] Removing intermediate container 861c926798a8 [2021-05-19T02:24:40.777Z] ---> 483b467d0679 [2021-05-19T02:24:40.777Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:24:40.777Z] ---> Running in a8ed86ee2d46 [2021-05-19T02:24:41.049Z] Removing intermediate container a8ed86ee2d46 [2021-05-19T02:24:41.049Z] ---> 003f0ef8a212 [2021-05-19T02:24:41.049Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T02:24:41.049Z] ---> Running in c498b6c13865 [2021-05-19T02:24:41.316Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T02:24:41.409Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14959 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-19T02:24:41.432Z] Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout [2021-05-19T02:24:41.644Z] Selected Git installation does not exist. Using Default [2021-05-19T02:24:41.644Z] The recommended git tool is: NONE [2021-05-19T02:24:42.267Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T02:24:42.534Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-19T02:24:42.798Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-19T02:24:42.798Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-19T02:24:42.798Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-19T02:24:43.079Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-19T02:24:43.079Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-19T02:24:43.079Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-19T02:24:43.373Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-19T02:24:43.644Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-19T02:24:43.644Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-19T02:24:43.644Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-19T02:24:43.924Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-19T02:24:43.924Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-19T02:24:43.924Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T02:24:44.203Z] OK: 156 MiB in 53 packages [2021-05-19T02:24:44.488Z] Removing intermediate container c498b6c13865 [2021-05-19T02:24:44.488Z] ---> 49fa5df54053 [2021-05-19T02:24:44.488Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-19T02:24:44.488Z] ---> Running in ff07b6d5b1dd [2021-05-19T02:24:44.775Z] Removing intermediate container ff07b6d5b1dd [2021-05-19T02:24:44.775Z] ---> 82a03a64d792 [2021-05-19T02:24:44.775Z] Step 7/8 : COPY . . [2021-05-19T02:24:45.070Z] ---> 3e7a85c792a8 [2021-05-19T02:24:45.070Z] Step 8/8 : RUN go mod download [2021-05-19T02:24:45.070Z] ---> Running in 34a651c3a6df [2021-05-19T02:24:49.286Z] using credential edgex-jenkins-ssh [2021-05-19T02:24:49.309Z] Cloning the remote Git repository [2021-05-19T02:24:49.363Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-19T02:24:49.481Z] > git init /w/workspace/device-modbus-go/50 # timeout=10 [2021-05-19T02:24:49.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-19T02:24:49.580Z] > git --version # timeout=10 [2021-05-19T02:24:49.597Z] > git --version # 'git version 2.17.1' [2021-05-19T02:24:49.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T02:24:49.692Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T02:24:50.510Z] Avoid second fetch [2021-05-19T02:24:50.511Z] Checking out Revision b5230044bd4b19929753d210ee1690417a14801e (master) [2021-05-19T02:24:50.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-19T02:24:50.496Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T02:24:50.533Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T02:24:50.544Z] > git checkout -f b5230044bd4b19929753d210ee1690417a14801e # timeout=10 [2021-05-19T02:24:55.009Z] Commit message: "Merge pull request #246 from hahattan/interval" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T02:24:56.463Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T02:24:57.207Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T02:24:57.617Z] + sudo service docker restart [2021-05-19T02:24:57.617Z] + true [2021-05-19T02:25:00.429Z] Removing intermediate container 34a651c3a6df [2021-05-19T02:25:00.430Z] ---> 8f3287f08a27 [2021-05-19T02:25:00.430Z] Successfully built 8f3287f08a27 [2021-05-19T02:25:00.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:25:00.830Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T02:25:00.830Z] . [Pipeline] withDockerContainer [2021-05-19T02:25:00.992Z] prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container [2021-05-19T02:25:01.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T02:25:01.591Z] $ docker top d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:25:02.341Z] + go version [2021-05-19T02:25:02.341Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T02:25:02.371Z] $ docker stop --time=1 d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 [2021-05-19T02:25:03.666Z] $ docker rm -f d72d25dc0517913b3a806f45fb5cd79a036de0961485e69cbf50d01aa6c82db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:25:04.343Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T02:25:04.343Z] . [Pipeline] withDockerContainer [2021-05-19T02:25:04.486Z] prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container [2021-05-19T02:25:04.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T02:25:04.993Z] $ docker top 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:25:05.415Z] + go mod tidy [Pipeline] sh [2021-05-19T02:25:06.350Z] + make test [2021-05-19T02:25:06.350Z] go mod tidy [2021-05-19T02:25:06.350Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-19T02:25:06.630Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:25:16.525Z] provisioning config files... [2021-05-19T02:25:16.562Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config8761982112548498704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:25:17.069Z] ---> docker-login.sh [2021-05-19T02:25:17.069Z] nexus3.edgexfoundry.org:10001 [2021-05-19T02:25:18.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:25:18.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:25:18.218Z] Configure a credential helper to remove this warning. See [2021-05-19T02:25:18.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:25:18.218Z] [2021-05-19T02:25:18.218Z] Login Succeeded [2021-05-19T02:25:18.218Z] nexus3.edgexfoundry.org:10002 [2021-05-19T02:25:18.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:25:18.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:25:18.826Z] Configure a credential helper to remove this warning. See [2021-05-19T02:25:18.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:25:18.826Z] [2021-05-19T02:25:18.826Z] Login Succeeded [2021-05-19T02:25:18.826Z] nexus3.edgexfoundry.org:10003 [2021-05-19T02:25:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:25:19.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:25:19.451Z] Configure a credential helper to remove this warning. See [2021-05-19T02:25:19.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:25:19.451Z] [2021-05-19T02:25:19.451Z] Login Succeeded [2021-05-19T02:25:19.451Z] nexus3.edgexfoundry.org:10004 [2021-05-19T02:25:19.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:25:20.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:25:20.034Z] Configure a credential helper to remove this warning. See [2021-05-19T02:25:20.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:25:20.034Z] [2021-05-19T02:25:20.034Z] Login Succeeded [2021-05-19T02:25:20.034Z] docker.io [2021-05-19T02:25:20.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:25:20.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:25:20.934Z] Configure a credential helper to remove this warning. See [2021-05-19T02:25:20.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:25:20.934Z] [2021-05-19T02:25:20.934Z] Login Succeeded [2021-05-19T02:25:20.934Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T02:25:20.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T02:25:21.297Z] ========================================================= [2021-05-19T02:25:21.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T02:25:21.297Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:25:21.656Z] + 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-19T02:25:21.936Z] Sending build context to Docker daemon 596kB [2021-05-19T02:25:21.937Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T02:25:21.937Z] Step 2/8 : FROM ${BASE} [2021-05-19T02:25:22.222Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T02:25:22.222Z] 595b0fe564bb: Pulling fs layer [2021-05-19T02:25:22.222Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T02:25:22.222Z] 316046926c0a: Pulling fs layer [2021-05-19T02:25:22.222Z] 4ebd0625c992: Pulling fs layer [2021-05-19T02:25:22.222Z] 207e8628e3a3: Pulling fs layer [2021-05-19T02:25:22.222Z] c791037a9be2: Pulling fs layer [2021-05-19T02:25:22.222Z] ffd874e62e21: Pulling fs layer [2021-05-19T02:25:22.222Z] 4ebd0625c992: Waiting [2021-05-19T02:25:22.222Z] 207e8628e3a3: Waiting [2021-05-19T02:25:22.222Z] c791037a9be2: Waiting [2021-05-19T02:25:22.222Z] 316046926c0a: Verifying Checksum [2021-05-19T02:25:22.222Z] 316046926c0a: Download complete [2021-05-19T02:25:22.222Z] 7186ed65a4f7: Download complete [2021-05-19T02:25:22.513Z] 207e8628e3a3: Verifying Checksum [2021-05-19T02:25:22.513Z] 207e8628e3a3: Download complete [2021-05-19T02:25:22.513Z] c791037a9be2: Verifying Checksum [2021-05-19T02:25:22.513Z] c791037a9be2: Download complete [2021-05-19T02:25:22.513Z] 595b0fe564bb: Verifying Checksum [2021-05-19T02:25:22.513Z] 595b0fe564bb: Download complete [2021-05-19T02:25:23.149Z] 595b0fe564bb: Pull complete [2021-05-19T02:25:23.772Z] 7186ed65a4f7: Pull complete [2021-05-19T02:25:24.409Z] 316046926c0a: Pull complete [2021-05-19T02:25:25.133Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-19T02:25:25.133Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements [2021-05-19T02:25:25.133Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-19T02:25:25.409Z] ffd874e62e21: Verifying Checksum [2021-05-19T02:25:25.409Z] ffd874e62e21: Download complete [2021-05-19T02:25:26.432Z] 4ebd0625c992: Verifying Checksum [2021-05-19T02:25:26.432Z] 4ebd0625c992: Download complete [2021-05-19T02:25:32.026Z] gofmt -l . [2021-05-19T02:25:32.026Z] [ "`gofmt -l .`" = "" ] [2021-05-19T02:25:32.026Z] ./bin/test-attribution-txt.sh [2021-05-19T02:25:32.308Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T02:25:32.678Z] $ docker stop --time=1 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d [2021-05-19T02:25:34.182Z] $ docker rm -f 72c1c4167154ab5df077fe1f5d40b436aecbed0e1f448d1b33d3d01ba653ae0d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T02:25:34.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T02:25:35.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-19T02:25:37.104Z] 4ebd0625c992: Pull complete [2021-05-19T02:25:37.104Z] 207e8628e3a3: Pull complete [2021-05-19T02:25:37.778Z] c791037a9be2: Pull complete [Pipeline] sh [2021-05-19T02:25:38.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T02:25:39.304Z] + ls -al . [2021-05-19T02:25:39.304Z] total 112 [2021-05-19T02:25:39.304Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 19 02:25 . [2021-05-19T02:25:39.304Z] drwxrwxr-x. 4 jenkins jenkins 30 May 19 02:23 .. [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 19 02:23 Attribution.txt [2021-05-19T02:25:39.304Z] drwxrwxr-x. 2 jenkins jenkins 87 May 19 02:23 bin [2021-05-19T02:25:39.304Z] drwxrwxr-x. 3 jenkins jenkins 32 May 19 02:23 cmd [2021-05-19T02:25:39.304Z] -rw-r--r--. 1 jenkins jenkins 22385 May 19 02:25 coverage.out [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 1473 May 19 02:23 Dockerfile [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 995 May 19 02:23 Dockerfile.build [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 140 May 19 02:23 .dockerignore [2021-05-19T02:25:39.304Z] drwxrwxr-x. 8 jenkins jenkins 162 May 19 02:24 .git [2021-05-19T02:25:39.304Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 02:23 .github [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 338 May 19 02:23 .gitignore [2021-05-19T02:25:39.304Z] -rw-r--r--. 1 jenkins jenkins 413 May 19 02:25 go.mod [2021-05-19T02:25:39.304Z] -rw-r--r--. 1 jenkins jenkins 21834 May 19 02:25 go.sum [2021-05-19T02:25:39.304Z] drwxrwxr-x. 3 jenkins jenkins 20 May 19 02:23 internal [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 679 May 19 02:23 Jenkinsfile [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 19 02:23 LICENSE [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 914 May 19 02:23 Makefile [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 19 02:23 README.md [2021-05-19T02:25:39.304Z] drwxrwxr-x. 2 jenkins jenkins 52 May 19 02:23 simulator [2021-05-19T02:25:39.304Z] drwxrwxr-x. 4 jenkins jenkins 71 May 19 02:23 snap [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 12 May 19 02:21 VERSION [2021-05-19T02:25:39.304Z] -rw-rw-r--. 1 jenkins jenkins 229 May 19 02:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:25:39.759Z] + 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=b5230044bd4b19929753d210ee1690417a14801e --label arch=amd64 --label version=1.3.2-dev.11 . [2021-05-19T02:25:39.759Z] Sending build context to Docker daemon 620kB [2021-05-19T02:25:39.759Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T02:25:39.759Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-19T02:25:39.759Z] ---> 8f3287f08a27 [2021-05-19T02:25:39.759Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:25:39.759Z] ---> Running in c4d2021743de [2021-05-19T02:25:40.365Z] Removing intermediate container c4d2021743de [2021-05-19T02:25:40.365Z] ---> 2b893ae9f1b0 [2021-05-19T02:25:40.365Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T02:25:40.365Z] ---> Running in 5808d6d9c9f5 [2021-05-19T02:25:40.647Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T02:25:41.389Z] ffd874e62e21: Pull complete [2021-05-19T02:25:41.389Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T02:25:41.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T02:25:41.389Z] ---> cfc18b08335c [2021-05-19T02:25:41.389Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-19T02:25:42.152Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T02:25:42.152Z] OK: 156 MiB in 53 packages [2021-05-19T02:25:42.152Z] Removing intermediate container 5808d6d9c9f5 [2021-05-19T02:25:42.152Z] ---> 4a40a8865522 [2021-05-19T02:25:42.152Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-19T02:25:42.152Z] ---> Running in fe978991aa67 [2021-05-19T02:25:42.454Z] Removing intermediate container fe978991aa67 [2021-05-19T02:25:42.454Z] ---> 6dfa41ef2864 [2021-05-19T02:25:42.454Z] Step 6/22 : COPY . . [2021-05-19T02:25:42.730Z] ---> 6c8f7ab594ce [2021-05-19T02:25:42.730Z] Step 7/22 : RUN go mod tidy [2021-05-19T02:25:42.730Z] ---> Running in 85916c927295 [2021-05-19T02:25:43.213Z] ---> Running in 3a516f3a8185 [2021-05-19T02:25:43.343Z] Removing intermediate container 85916c927295 [2021-05-19T02:25:43.343Z] ---> 4d2018250ca4 [2021-05-19T02:25:43.343Z] Step 8/22 : RUN go mod download [2021-05-19T02:25:43.343Z] ---> Running in ded23b5e15b3 [2021-05-19T02:25:43.833Z] Removing intermediate container 3a516f3a8185 [2021-05-19T02:25:43.833Z] ---> 449861909475 [2021-05-19T02:25:43.833Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:25:43.944Z] Removing intermediate container ded23b5e15b3 [2021-05-19T02:25:43.944Z] ---> f54056caac01 [2021-05-19T02:25:43.944Z] Step 9/22 : RUN make build [2021-05-19T02:25:43.944Z] ---> Running in 34f7e268705b [2021-05-19T02:25:44.118Z] ---> Running in e3ef881d9637 [2021-05-19T02:25:44.222Z] go mod tidy [2021-05-19T02:25:44.495Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.11" -o cmd/device-modbus ./cmd [2021-05-19T02:25:46.175Z] Removing intermediate container e3ef881d9637 [2021-05-19T02:25:46.175Z] ---> 5ea285cd5575 [2021-05-19T02:25:46.175Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T02:25:46.452Z] ---> Running in 5fc4a5c3b385 [2021-05-19T02:25:47.696Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:25:48.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:25:49.366Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-19T02:25:49.366Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-19T02:25:49.643Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-19T02:25:49.643Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-19T02:25:49.643Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-19T02:25:49.922Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-19T02:25:49.922Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-19T02:25:50.543Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-19T02:25:50.543Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-19T02:25:50.817Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-19T02:25:50.817Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-19T02:25:50.817Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-19T02:25:51.092Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-19T02:25:51.092Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T02:25:51.092Z] OK: 145 MiB in 53 packages [2021-05-19T02:25:52.543Z] Removing intermediate container 5fc4a5c3b385 [2021-05-19T02:25:52.543Z] ---> 75ab0c80ef1f [2021-05-19T02:25:52.543Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-19T02:25:52.823Z] ---> Running in 86fcf475faab [2021-05-19T02:25:53.098Z] Removing intermediate container 86fcf475faab [2021-05-19T02:25:53.098Z] ---> da42a1b90d26 [2021-05-19T02:25:53.098Z] Step 7/8 : COPY . . [2021-05-19T02:25:54.113Z] ---> a50fed92cc70 [2021-05-19T02:25:54.113Z] Step 8/8 : RUN go mod download [2021-05-19T02:25:54.610Z] ---> Running in 6051f6c6578c [2021-05-19T02:25:57.189Z] Removing intermediate container 34f7e268705b [2021-05-19T02:25:57.189Z] ---> 896008d7fa5b [2021-05-19T02:25:57.189Z] Step 10/22 : FROM alpine:3.12 [2021-05-19T02:25:57.459Z] 3.12: Pulling from library/alpine [2021-05-19T02:25:57.459Z] 339de151aab4: Pulling fs layer [2021-05-19T02:25:57.740Z] 339de151aab4: Verifying Checksum [2021-05-19T02:25:57.740Z] 339de151aab4: Download complete [2021-05-19T02:25:57.740Z] 339de151aab4: Pull complete [2021-05-19T02:25:57.740Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T02:25:57.740Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T02:25:57.740Z] ---> 13621d1b12d4 [2021-05-19T02:25:57.740Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-19T02:25:57.740Z] ---> Running in b4f95c8245e5 [2021-05-19T02:25:58.006Z] Removing intermediate container b4f95c8245e5 [2021-05-19T02:25:58.006Z] ---> e7ca0d225adf [2021-05-19T02:25:58.006Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:25:58.006Z] ---> Running in efb226e50498 [2021-05-19T02:25:58.649Z] Removing intermediate container efb226e50498 [2021-05-19T02:25:58.649Z] ---> a77fa1cf868d [2021-05-19T02:25:58.650Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-19T02:25:58.650Z] ---> Running in 83a220f72651 [2021-05-19T02:25:58.932Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T02:26:02.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T02:26:03.113Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-19T02:26:03.113Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-19T02:26:03.113Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-19T02:26:03.584Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-19T02:26:03.853Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-19T02:26:04.124Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-19T02:26:04.124Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T02:26:04.124Z] OK: 8 MiB in 20 packages [2021-05-19T02:26:04.396Z] Removing intermediate container 83a220f72651 [2021-05-19T02:26:04.396Z] ---> 080470130e9e [2021-05-19T02:26:04.396Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-19T02:26:04.678Z] ---> a4a493e7d2a4 [2021-05-19T02:26:04.678Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-19T02:26:04.952Z] ---> 29457332be1f [2021-05-19T02:26:04.952Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-19T02:26:05.218Z] ---> de1a40a4fecf [2021-05-19T02:26:05.218Z] Step 17/22 : EXPOSE 49991 [2021-05-19T02:26:05.218Z] ---> Running in 0bfcb2099a6f [2021-05-19T02:26:05.218Z] Removing intermediate container 0bfcb2099a6f [2021-05-19T02:26:05.218Z] ---> 830a857a7dc8 [2021-05-19T02:26:05.218Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-19T02:26:05.218Z] ---> Running in 416267198ac7 [2021-05-19T02:26:05.489Z] Removing intermediate container 416267198ac7 [2021-05-19T02:26:05.489Z] ---> 074dce29d2a9 [2021-05-19T02:26:05.489Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T02:26:05.489Z] ---> Running in 1436d629de77 [2021-05-19T02:26:05.489Z] Removing intermediate container 1436d629de77 [2021-05-19T02:26:05.489Z] ---> 33fef6c72ba9 [2021-05-19T02:26:05.489Z] Step 20/22 : LABEL arch=amd64 [2021-05-19T02:26:05.489Z] ---> Running in 0a590c829bf2 [2021-05-19T02:26:05.806Z] Removing intermediate container 0a590c829bf2 [2021-05-19T02:26:05.806Z] ---> 65139ec01999 [2021-05-19T02:26:05.806Z] Step 21/22 : LABEL git_sha=b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:26:05.806Z] ---> Running in 1da6569f92ea [2021-05-19T02:26:05.806Z] Removing intermediate container 1da6569f92ea [2021-05-19T02:26:05.806Z] ---> fea496d50b95 [2021-05-19T02:26:05.806Z] Step 22/22 : LABEL version=1.3.2-dev.11 [2021-05-19T02:26:05.806Z] ---> Running in b4f575479dfb [2021-05-19T02:26:05.806Z] Removing intermediate container b4f575479dfb [2021-05-19T02:26:05.806Z] ---> e9b55057ee4f [2021-05-19T02:26:05.806Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T02:26:05.806Z] Successfully built e9b55057ee4f [2021-05-19T02:26:05.806Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:26:06.075Z] provisioning config files... [2021-05-19T02:26:06.118Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config270147981430896991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:26:06.609Z] ---> docker-login.sh [2021-05-19T02:26:06.609Z] nexus3.edgexfoundry.org:10001 [2021-05-19T02:26:06.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:26:06.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:26:06.609Z] Configure a credential helper to remove this warning. See [2021-05-19T02:26:06.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:26:06.609Z] [2021-05-19T02:26:06.609Z] Login Succeeded [2021-05-19T02:26:06.609Z] nexus3.edgexfoundry.org:10002 [2021-05-19T02:26:06.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:26:06.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:26:06.912Z] Configure a credential helper to remove this warning. See [2021-05-19T02:26:06.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:26:06.912Z] [2021-05-19T02:26:06.912Z] Login Succeeded [2021-05-19T02:26:06.912Z] nexus3.edgexfoundry.org:10003 [2021-05-19T02:26:06.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:26:07.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:26:07.242Z] Configure a credential helper to remove this warning. See [2021-05-19T02:26:07.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:26:07.242Z] [2021-05-19T02:26:07.242Z] Login Succeeded [2021-05-19T02:26:07.242Z] nexus3.edgexfoundry.org:10004 [2021-05-19T02:26:07.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:26:07.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:26:07.242Z] Configure a credential helper to remove this warning. See [2021-05-19T02:26:07.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:26:07.242Z] [2021-05-19T02:26:07.242Z] Login Succeeded [2021-05-19T02:26:07.242Z] docker.io [2021-05-19T02:26:07.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:26:07.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:26:07.556Z] Configure a credential helper to remove this warning. See [2021-05-19T02:26:07.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:26:07.556Z] [2021-05-19T02:26:07.556Z] Login Succeeded [2021-05-19T02:26:07.556Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T02:26:07.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-19T02:26:07.742Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-05-19T02:26:07.742Z] b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:26:07.742Z] latest [2021-05-19T02:26:07.742Z] 1.3.2-dev.11 [2021-05-19T02:26:07.742Z] b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:26:07.742Z] master [2021-05-19T02:26:07.742Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:08.257Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:08.636Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:26:08.636Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-19T02:26:08.636Z] 8524fb6e2f30: Preparing [2021-05-19T02:26:08.636Z] 6f7f62e1ce85: Preparing [2021-05-19T02:26:08.636Z] 26c2436bb9bc: Preparing [2021-05-19T02:26:08.636Z] 275128124132: Preparing [2021-05-19T02:26:08.636Z] 13118f0ac645: Preparing [2021-05-19T02:26:08.636Z] 32f366d666a5: Preparing [2021-05-19T02:26:08.636Z] 32f366d666a5: Waiting [2021-05-19T02:26:08.926Z] 13118f0ac645: Pushed [2021-05-19T02:26:08.926Z] 8524fb6e2f30: Pushed [2021-05-19T02:26:08.926Z] 32f366d666a5: Layer already exists [2021-05-19T02:26:08.926Z] 275128124132: Pushed [2021-05-19T02:26:08.926Z] 6f7f62e1ce85: Pushed [2021-05-19T02:26:10.424Z] 26c2436bb9bc: Pushed [2021-05-19T02:26:10.424Z] b5230044bd4b19929753d210ee1690417a14801e: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:10.827Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:11.165Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-19T02:26:11.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-19T02:26:11.165Z] 8524fb6e2f30: Preparing [2021-05-19T02:26:11.165Z] 6f7f62e1ce85: Preparing [2021-05-19T02:26:11.165Z] 26c2436bb9bc: Preparing [2021-05-19T02:26:11.165Z] 275128124132: Preparing [2021-05-19T02:26:11.165Z] 13118f0ac645: Preparing [2021-05-19T02:26:11.165Z] 32f366d666a5: Preparing [2021-05-19T02:26:11.165Z] 32f366d666a5: Waiting [2021-05-19T02:26:11.450Z] 13118f0ac645: Layer already exists [2021-05-19T02:26:11.450Z] 275128124132: Layer already exists [2021-05-19T02:26:11.450Z] 8524fb6e2f30: Layer already exists [2021-05-19T02:26:11.450Z] 6f7f62e1ce85: Layer already exists [2021-05-19T02:26:11.450Z] 26c2436bb9bc: Layer already exists [2021-05-19T02:26:11.450Z] 32f366d666a5: Layer already exists [2021-05-19T02:26:11.450Z] latest: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:12.014Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:12.376Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 [2021-05-19T02:26:12.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-19T02:26:12.376Z] 8524fb6e2f30: Preparing [2021-05-19T02:26:12.376Z] 6f7f62e1ce85: Preparing [2021-05-19T02:26:12.376Z] 26c2436bb9bc: Preparing [2021-05-19T02:26:12.376Z] 275128124132: Preparing [2021-05-19T02:26:12.376Z] 13118f0ac645: Preparing [2021-05-19T02:26:12.376Z] 32f366d666a5: Preparing [2021-05-19T02:26:12.376Z] 32f366d666a5: Waiting [2021-05-19T02:26:12.376Z] 275128124132: Layer already exists [2021-05-19T02:26:12.376Z] 8524fb6e2f30: Layer already exists [2021-05-19T02:26:12.376Z] 26c2436bb9bc: Layer already exists [2021-05-19T02:26:12.376Z] 6f7f62e1ce85: Layer already exists [2021-05-19T02:26:12.376Z] 13118f0ac645: Layer already exists [2021-05-19T02:26:12.376Z] 32f366d666a5: Layer already exists [2021-05-19T02:26:12.376Z] 1.3.2-dev.11: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:12.701Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:13.051Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:26:13.051Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-19T02:26:13.051Z] 8524fb6e2f30: Preparing [2021-05-19T02:26:13.051Z] 6f7f62e1ce85: Preparing [2021-05-19T02:26:13.051Z] 26c2436bb9bc: Preparing [2021-05-19T02:26:13.051Z] 275128124132: Preparing [2021-05-19T02:26:13.051Z] 13118f0ac645: Preparing [2021-05-19T02:26:13.051Z] 32f366d666a5: Preparing [2021-05-19T02:26:13.051Z] 32f366d666a5: Waiting [2021-05-19T02:26:13.051Z] 13118f0ac645: Layer already exists [2021-05-19T02:26:13.051Z] 6f7f62e1ce85: Layer already exists [2021-05-19T02:26:13.051Z] 8524fb6e2f30: Layer already exists [2021-05-19T02:26:13.051Z] 26c2436bb9bc: Layer already exists [2021-05-19T02:26:13.051Z] 275128124132: Layer already exists [2021-05-19T02:26:13.051Z] 32f366d666a5: Layer already exists [2021-05-19T02:26:13.051Z] b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:13.412Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:13.723Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-05-19T02:26:13.723Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-19T02:26:13.723Z] 8524fb6e2f30: Preparing [2021-05-19T02:26:13.723Z] 6f7f62e1ce85: Preparing [2021-05-19T02:26:13.723Z] 26c2436bb9bc: Preparing [2021-05-19T02:26:13.723Z] 275128124132: Preparing [2021-05-19T02:26:13.723Z] 13118f0ac645: Preparing [2021-05-19T02:26:13.723Z] 32f366d666a5: Preparing [2021-05-19T02:26:13.723Z] 32f366d666a5: Waiting [2021-05-19T02:26:13.723Z] 26c2436bb9bc: Layer already exists [2021-05-19T02:26:13.723Z] 13118f0ac645: Layer already exists [2021-05-19T02:26:13.723Z] 8524fb6e2f30: Layer already exists [2021-05-19T02:26:13.723Z] 6f7f62e1ce85: Layer already exists [2021-05-19T02:26:13.723Z] 275128124132: Layer already exists [2021-05-19T02:26:13.723Z] 32f366d666a5: Layer already exists [2021-05-19T02:26:13.723Z] master: digest: sha256:6fc65579b30d9fe1b8878df012f4d7d504ab1281e0447a69e3c52ff13adbfd79 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-19T02:26:13.794Z] ===================================================== [Pipeline] echo [2021-05-19T02:26:13.818Z] taggedImages: [2021-05-19T02:26:13.818Z] - nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:26:13.818Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-19T02:26:13.818Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.11 [2021-05-19T02:26:13.818Z] - nexus3.edgexfoundry.org:10004/device-modbus:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:26:13.818Z] - 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-19T02:26:14.716Z] ---> job-cost.sh [2021-05-19T02:26:14.716Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ljQW [2021-05-19T02:26:22.704Z] Removing intermediate container 6051f6c6578c [2021-05-19T02:26:22.704Z] ---> b4b03ca03212 [2021-05-19T02:26:22.704Z] Successfully built b4b03ca03212 [2021-05-19T02:26:22.704Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:23.121Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T02:26:23.121Z] . [Pipeline] withDockerContainer [2021-05-19T02:26:23.357Z] prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container [2021-05-19T02:26:23.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T02:26:24.886Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T02:26:24.955Z] $ docker top 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:26:25.982Z] + go version [2021-05-19T02:26:25.982Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T02:26:26.013Z] $ docker stop --time=1 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 [2021-05-19T02:26:27.789Z] $ docker rm -f 6927d14cc13e69283247abdd13af164af6af0b027a925cf38b1ffbb6831411d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:26:28.565Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T02:26:28.565Z] . [Pipeline] withDockerContainer [2021-05-19T02:26:28.851Z] prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container [2021-05-19T02:26:29.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T02:26:30.634Z] $ docker top 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:26:31.614Z] + go mod tidy [Pipeline] sh [2021-05-19T02:26:32.853Z] + make test [2021-05-19T02:26:32.853Z] go mod tidy [2021-05-19T02:26:33.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-19T02:26:34.832Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-19T02:26:40.350Z] lf-activate-venv(): INFO: Adding /tmp/venv-ljQW/bin to PATH [2021-05-19T02:26:40.350Z] INFO: No Stack... [2021-05-19T02:26:40.350Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T02:26:40.350Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T02:26:40.663Z] + cat /w/workspace/device-modbus-go/50/archives/cost.csv [2021-05-19T02:26:40.663Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T02:26:40.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [2021-05-19T02:26:40.734Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] did not exist. Created. [2021-05-19T02:26:40.735Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T02:26:41.088Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T02:26:41.167Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T02:26:41.180Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T02:27:31.681Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-19T02:27:31.682Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.046s coverage: 47.7% of statements [2021-05-19T02:27:31.682Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-19T02:27:54.449Z] gofmt -l . [2021-05-19T02:27:54.449Z] [ "`gofmt -l .`" = "" ] [2021-05-19T02:27:54.449Z] ./bin/test-attribution-txt.sh [2021-05-19T02:27:54.449Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T02:27:54.753Z] $ docker stop --time=1 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c [2021-05-19T02:27:56.762Z] $ docker rm -f 7ff43efd4dcb9f167dbf074ed6014779833dfdec6c642dd304ca45fc234bc96c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T02:27:57.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T02:27:57.627Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T02:27:58.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T02:27:58.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T02:27:59.094Z] + ls -al . [2021-05-19T02:27:59.094Z] total 144 [2021-05-19T02:27:59.094Z] drwxrwxr-x 9 jenkins jenkins 4096 May 19 02:27 . [2021-05-19T02:27:59.094Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:24 .. [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 140 May 19 02:24 .dockerignore [2021-05-19T02:27:59.094Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:24 .git [2021-05-19T02:27:59.094Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 .github [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 338 May 19 02:24 .gitignore [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 19 02:24 Attribution.txt [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 1473 May 19 02:24 Dockerfile [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 995 May 19 02:24 Dockerfile.build [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 679 May 19 02:24 Jenkinsfile [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 19 02:24 LICENSE [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 914 May 19 02:24 Makefile [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 19 02:24 README.md [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 12 May 19 02:21 VERSION [2021-05-19T02:27:59.094Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 bin [2021-05-19T02:27:59.094Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:24 cmd [2021-05-19T02:27:59.094Z] -rw-r--r-- 1 jenkins jenkins 22385 May 19 02:27 coverage.out [2021-05-19T02:27:59.094Z] -rw-r--r-- 1 jenkins jenkins 413 May 19 02:27 go.mod [2021-05-19T02:27:59.094Z] -rw-r--r-- 1 jenkins jenkins 21834 May 19 02:26 go.sum [2021-05-19T02:27:59.094Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:24 internal [2021-05-19T02:27:59.094Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:24 simulator [2021-05-19T02:27:59.094Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:24 snap [2021-05-19T02:27:59.094Z] -rw-rw-r-- 1 jenkins jenkins 229 May 19 02:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:27:59.588Z] + 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=b5230044bd4b19929753d210ee1690417a14801e --label arch=arm64 --label version=1.3.2-dev.11 . [2021-05-19T02:27:59.863Z] Sending build context to Docker daemon 619kB [2021-05-19T02:27:59.863Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T02:27:59.863Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-19T02:27:59.863Z] ---> b4b03ca03212 [2021-05-19T02:27:59.863Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:28:00.143Z] ---> Running in 17fcdf96d364 [2021-05-19T02:28:02.129Z] Removing intermediate container 17fcdf96d364 [2021-05-19T02:28:02.129Z] ---> 2bd36ec18c81 [2021-05-19T02:28:02.129Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T02:28:02.408Z] ---> Running in d6105d5083a4 [2021-05-19T02:28:03.907Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:28:04.534Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:28:05.555Z] OK: 145 MiB in 53 packages [2021-05-19T02:28:06.570Z] Removing intermediate container d6105d5083a4 [2021-05-19T02:28:06.570Z] ---> 060cd670e20e [2021-05-19T02:28:06.570Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-19T02:28:06.570Z] ---> Running in 472f3438fa74 [2021-05-19T02:28:06.899Z] Removing intermediate container 472f3438fa74 [2021-05-19T02:28:06.899Z] ---> 8304edbf79db [2021-05-19T02:28:06.899Z] Step 6/22 : COPY . . [2021-05-19T02:28:08.026Z] ---> 5de8aa30d510 [2021-05-19T02:28:08.026Z] Step 7/22 : RUN go mod tidy [2021-05-19T02:28:08.877Z] ---> Running in e8ec2c9a9ec9 [2021-05-19T02:28:11.049Z] Removing intermediate container e8ec2c9a9ec9 [2021-05-19T02:28:11.049Z] ---> fb6f7d3bd19c [2021-05-19T02:28:11.049Z] Step 8/22 : RUN go mod download [2021-05-19T02:28:11.049Z] ---> Running in 58e5060ccc05 [2021-05-19T02:28:13.776Z] Removing intermediate container 58e5060ccc05 [2021-05-19T02:28:13.776Z] ---> 4fd4961dca74 [2021-05-19T02:28:13.776Z] Step 9/22 : RUN make build [2021-05-19T02:28:13.776Z] ---> Running in 78bce628bdfc [2021-05-19T02:28:14.819Z] go mod tidy [2021-05-19T02:28:15.481Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.11" -o cmd/device-modbus ./cmd [2021-05-19T02:28:54.800Z] Removing intermediate container 78bce628bdfc [2021-05-19T02:28:54.800Z] ---> ed41080e259f [2021-05-19T02:28:54.800Z] Step 10/22 : FROM alpine:3.12 [2021-05-19T02:28:54.800Z] 3.12: Pulling from library/alpine [2021-05-19T02:28:54.800Z] d2f70382dc9a: Pulling fs layer [2021-05-19T02:28:54.800Z] d2f70382dc9a: Verifying Checksum [2021-05-19T02:28:54.800Z] d2f70382dc9a: Download complete [2021-05-19T02:28:54.800Z] d2f70382dc9a: Pull complete [2021-05-19T02:28:54.800Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T02:28:54.800Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T02:28:54.800Z] ---> 9852663dfa18 [2021-05-19T02:28:54.800Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-19T02:28:54.800Z] ---> Running in f86b81fec6ba [2021-05-19T02:28:54.800Z] Removing intermediate container f86b81fec6ba [2021-05-19T02:28:54.800Z] ---> b20e3d7a5603 [2021-05-19T02:28:54.800Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:28:54.800Z] ---> Running in 71af3cb8f66d [2021-05-19T02:28:55.092Z] Removing intermediate container 71af3cb8f66d [2021-05-19T02:28:55.092Z] ---> 41422dc77316 [2021-05-19T02:28:55.092Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-19T02:28:55.092Z] ---> Running in 3156f033aafb [2021-05-19T02:28:56.603Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:28:57.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:28:57.915Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-19T02:28:57.915Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-19T02:28:57.915Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-19T02:28:58.209Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-19T02:28:58.209Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-19T02:28:58.508Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-19T02:28:58.508Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T02:28:58.509Z] OK: 8 MiB in 20 packages [2021-05-19T02:28:59.528Z] Removing intermediate container 3156f033aafb [2021-05-19T02:28:59.528Z] ---> fec240d4840d [2021-05-19T02:28:59.528Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-19T02:29:01.013Z] ---> ebccfd221de6 [2021-05-19T02:29:01.013Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-19T02:29:01.665Z] ---> ccda430c5e31 [2021-05-19T02:29:01.665Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-19T02:29:02.686Z] ---> 734924d6287b [2021-05-19T02:29:02.686Z] Step 17/22 : EXPOSE 49991 [2021-05-19T02:29:02.686Z] ---> Running in dd23a8598c23 [2021-05-19T02:29:03.286Z] Removing intermediate container dd23a8598c23 [2021-05-19T02:29:03.286Z] ---> 802804065ad1 [2021-05-19T02:29:03.286Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-19T02:29:03.596Z] ---> Running in 1066f121ed15 [2021-05-19T02:29:04.228Z] Removing intermediate container 1066f121ed15 [2021-05-19T02:29:04.228Z] ---> 90cc3a00a5df [2021-05-19T02:29:04.228Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T02:29:04.228Z] ---> Running in 5cc17c093dc4 [2021-05-19T02:29:04.833Z] Removing intermediate container 5cc17c093dc4 [2021-05-19T02:29:04.833Z] ---> 79edea06fca4 [2021-05-19T02:29:04.833Z] Step 20/22 : LABEL arch=arm64 [2021-05-19T02:29:05.121Z] ---> Running in 268ab23e1c89 [2021-05-19T02:29:05.407Z] Removing intermediate container 268ab23e1c89 [2021-05-19T02:29:05.407Z] ---> 0939e0cf479d [2021-05-19T02:29:05.407Z] Step 21/22 : LABEL git_sha=b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:29:05.697Z] ---> Running in 0b18e4c65f30 [2021-05-19T02:29:05.995Z] Removing intermediate container 0b18e4c65f30 [2021-05-19T02:29:05.995Z] ---> 8ef1a0822555 [2021-05-19T02:29:05.995Z] Step 22/22 : LABEL version=1.3.2-dev.11 [2021-05-19T02:29:06.283Z] ---> Running in f81b7dae249a [2021-05-19T02:29:06.563Z] Removing intermediate container f81b7dae249a [2021-05-19T02:29:06.563Z] ---> 0c4a3949871c [2021-05-19T02:29:06.563Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-19T02:29:06.563Z] Successfully built 0c4a3949871c [2021-05-19T02:29:06.563Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:29:06.786Z] provisioning config files... [2021-05-19T02:29:06.838Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config1196858565620743174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:29:07.261Z] ---> docker-login.sh [2021-05-19T02:29:07.261Z] nexus3.edgexfoundry.org:10001 [2021-05-19T02:29:07.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:29:07.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:29:07.539Z] Configure a credential helper to remove this warning. See [2021-05-19T02:29:07.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:29:07.539Z] [2021-05-19T02:29:07.539Z] Login Succeeded [2021-05-19T02:29:07.539Z] nexus3.edgexfoundry.org:10002 [2021-05-19T02:29:08.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:29:08.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:29:08.147Z] Configure a credential helper to remove this warning. See [2021-05-19T02:29:08.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:29:08.147Z] [2021-05-19T02:29:08.147Z] Login Succeeded [2021-05-19T02:29:08.147Z] nexus3.edgexfoundry.org:10003 [2021-05-19T02:29:08.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:29:08.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:29:08.778Z] Configure a credential helper to remove this warning. See [2021-05-19T02:29:08.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:29:08.779Z] [2021-05-19T02:29:08.779Z] Login Succeeded [2021-05-19T02:29:08.779Z] nexus3.edgexfoundry.org:10004 [2021-05-19T02:29:09.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:29:09.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:29:09.353Z] Configure a credential helper to remove this warning. See [2021-05-19T02:29:09.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:29:09.353Z] [2021-05-19T02:29:09.353Z] Login Succeeded [2021-05-19T02:29:09.353Z] docker.io [2021-05-19T02:29:09.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T02:29:09.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T02:29:09.908Z] Configure a credential helper to remove this warning. See [2021-05-19T02:29:09.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T02:29:09.908Z] [2021-05-19T02:29:09.908Z] Login Succeeded [2021-05-19T02:29:09.908Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T02:29:09.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-19T02:29:10.004Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-05-19T02:29:10.004Z] b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:29:10.004Z] latest [2021-05-19T02:29:10.004Z] 1.3.2-dev.11 [2021-05-19T02:29:10.004Z] b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:29:10.004Z] master [2021-05-19T02:29:10.004Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:10.463Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:10.854Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:29:10.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-19T02:29:10.854Z] fcd07257b1c8: Preparing [2021-05-19T02:29:10.854Z] bc39a2328059: Preparing [2021-05-19T02:29:10.854Z] 3b623132821e: Preparing [2021-05-19T02:29:10.854Z] d463493708f7: Preparing [2021-05-19T02:29:10.854Z] 2c6221881d70: Preparing [2021-05-19T02:29:10.854Z] 3fbe34a1663b: Preparing [2021-05-19T02:29:10.854Z] 3fbe34a1663b: Waiting [2021-05-19T02:29:11.137Z] fcd07257b1c8: Pushed [2021-05-19T02:29:11.137Z] bc39a2328059: Pushed [2021-05-19T02:29:11.137Z] 2c6221881d70: Pushed [2021-05-19T02:29:11.137Z] 3fbe34a1663b: Layer already exists [2021-05-19T02:29:11.739Z] d463493708f7: Pushed [2021-05-19T02:29:14.007Z] 3b623132821e: Pushed [2021-05-19T02:29:14.288Z] b5230044bd4b19929753d210ee1690417a14801e: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:14.688Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:15.107Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-19T02:29:15.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-19T02:29:15.108Z] fcd07257b1c8: Preparing [2021-05-19T02:29:15.108Z] bc39a2328059: Preparing [2021-05-19T02:29:15.108Z] 3b623132821e: Preparing [2021-05-19T02:29:15.108Z] d463493708f7: Preparing [2021-05-19T02:29:15.108Z] 2c6221881d70: Preparing [2021-05-19T02:29:15.108Z] 3fbe34a1663b: Preparing [2021-05-19T02:29:15.108Z] 3fbe34a1663b: Waiting [2021-05-19T02:29:15.108Z] fcd07257b1c8: Layer already exists [2021-05-19T02:29:15.108Z] 3b623132821e: Layer already exists [2021-05-19T02:29:15.108Z] 2c6221881d70: Layer already exists [2021-05-19T02:29:15.108Z] bc39a2328059: Layer already exists [2021-05-19T02:29:15.108Z] d463493708f7: Layer already exists [2021-05-19T02:29:15.108Z] 3fbe34a1663b: Layer already exists [2021-05-19T02:29:15.412Z] latest: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:15.851Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:16.286Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 [2021-05-19T02:29:16.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-19T02:29:16.286Z] fcd07257b1c8: Preparing [2021-05-19T02:29:16.286Z] bc39a2328059: Preparing [2021-05-19T02:29:16.286Z] 3b623132821e: Preparing [2021-05-19T02:29:16.286Z] d463493708f7: Preparing [2021-05-19T02:29:16.286Z] 2c6221881d70: Preparing [2021-05-19T02:29:16.286Z] 3fbe34a1663b: Preparing [2021-05-19T02:29:16.286Z] 3fbe34a1663b: Waiting [2021-05-19T02:29:16.286Z] 3b623132821e: Layer already exists [2021-05-19T02:29:16.286Z] 2c6221881d70: Layer already exists [2021-05-19T02:29:16.286Z] d463493708f7: Layer already exists [2021-05-19T02:29:16.286Z] fcd07257b1c8: Layer already exists [2021-05-19T02:29:16.286Z] bc39a2328059: Layer already exists [2021-05-19T02:29:16.286Z] 3fbe34a1663b: Layer already exists [2021-05-19T02:29:16.569Z] 1.3.2-dev.11: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:16.943Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:17.307Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:29:17.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-19T02:29:17.307Z] fcd07257b1c8: Preparing [2021-05-19T02:29:17.307Z] bc39a2328059: Preparing [2021-05-19T02:29:17.307Z] 3b623132821e: Preparing [2021-05-19T02:29:17.307Z] d463493708f7: Preparing [2021-05-19T02:29:17.307Z] 2c6221881d70: Preparing [2021-05-19T02:29:17.307Z] 3fbe34a1663b: Preparing [2021-05-19T02:29:17.307Z] 3fbe34a1663b: Waiting [2021-05-19T02:29:17.307Z] d463493708f7: Layer already exists [2021-05-19T02:29:17.307Z] fcd07257b1c8: Layer already exists [2021-05-19T02:29:17.307Z] 2c6221881d70: Layer already exists [2021-05-19T02:29:17.307Z] 3b623132821e: Layer already exists [2021-05-19T02:29:17.307Z] bc39a2328059: Layer already exists [2021-05-19T02:29:17.307Z] 3fbe34a1663b: Layer already exists [2021-05-19T02:29:17.596Z] b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:17.956Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:29:18.346Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-05-19T02:29:18.346Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-19T02:29:18.346Z] fcd07257b1c8: Preparing [2021-05-19T02:29:18.346Z] bc39a2328059: Preparing [2021-05-19T02:29:18.346Z] 3b623132821e: Preparing [2021-05-19T02:29:18.346Z] d463493708f7: Preparing [2021-05-19T02:29:18.346Z] 2c6221881d70: Preparing [2021-05-19T02:29:18.346Z] 3fbe34a1663b: Preparing [2021-05-19T02:29:18.346Z] 3fbe34a1663b: Waiting [2021-05-19T02:29:18.346Z] 3b623132821e: Layer already exists [2021-05-19T02:29:18.346Z] bc39a2328059: Layer already exists [2021-05-19T02:29:18.346Z] 2c6221881d70: Layer already exists [2021-05-19T02:29:18.346Z] fcd07257b1c8: Layer already exists [2021-05-19T02:29:18.346Z] d463493708f7: Layer already exists [2021-05-19T02:29:18.346Z] 3fbe34a1663b: Layer already exists [2021-05-19T02:29:18.628Z] master: digest: sha256:590eba1a96e0ce7cc093bb475a6ea415ee072018e9cd6c363b2ba1767fcb07ad size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-19T02:29:18.691Z] ===================================================== [Pipeline] echo [2021-05-19T02:29:18.709Z] taggedImages: [2021-05-19T02:29:18.709Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e [2021-05-19T02:29:18.709Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-19T02:29:18.709Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.11 [2021-05-19T02:29:18.709Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b5230044bd4b19929753d210ee1690417a14801e-1.3.2-dev.11 [2021-05-19T02:29:18.709Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:29:19.191Z] ---> job-cost.sh [2021-05-19T02:29:19.192Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-awXV [2021-05-19T02:29:58.739Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T02:31:21.280Z] lf-activate-venv(): INFO: Adding /tmp/venv-awXV/bin to PATH [2021-05-19T02:31:21.280Z] INFO: No Stack... [2021-05-19T02:31:21.280Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T02:31:21.280Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T02:31:21.730Z] + cat /w/workspace/device-modbus-go/50/archives/cost.csv [2021-05-19T02:31:21.730Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T02:31:21.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [2021-05-19T02:31:21.844Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] did not exist. Created. [2021-05-19T02:31:21.844Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T02:31:22.280Z] /w/workspace/device-modbus-go/50@tmp/durable-ae654023/script.sh: 1: /w/workspace/device-modbus-go/50@tmp/durable-ae654023/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T02:31:22.711Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T02:31:22.763Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T02:31:22.920Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T02:31:22.942Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-50-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] configFileProvider [2021-05-19T02:31:23.858Z] provisioning config files... [2021-05-19T02:31:23.915Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6387326932034596063tmp [Pipeline] { [Pipeline] sh [2021-05-19T02:31:24.297Z] + set +x [2021-05-19T02:31:24.297Z] + curl -s https://codecov.io/bash [2021-05-19T02:31:24.297Z] + bash -s -- [2021-05-19T02:31:24.297Z] [2021-05-19T02:31:24.297Z] _____ _ [2021-05-19T02:31:24.297Z] / ____| | | [2021-05-19T02:31:24.297Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T02:31:24.297Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T02:31:24.297Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T02:31:24.297Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T02:31:24.297Z] Bash-1.0.2 [2021-05-19T02:31:24.297Z] [2021-05-19T02:31:24.297Z] [2021-05-19T02:31:24.297Z] ==> git version 2.24.4 found [2021-05-19T02:31:24.297Z] ==> 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-19T02:31:24.297Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T02:31:24.297Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T02:31:24.297Z] ==> Jenkins CI detected. [2021-05-19T02:31:24.297Z] project root: . [2021-05-19T02:31:24.297Z] --> token set from env [2021-05-19T02:31:24.297Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T02:31:24.297Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T02:31:24.297Z] ==> Python coveragepy not found [2021-05-19T02:31:24.297Z] ==> Searching for coverage reports in: [2021-05-19T02:31:24.297Z] + . [2021-05-19T02:31:24.297Z] -> Found 1 reports [2021-05-19T02:31:24.297Z] ==> Detecting git/mercurial file structure [2021-05-19T02:31:24.297Z] ==> Reading reports [2021-05-19T02:31:24.297Z] + ./coverage.out bytes=22385 [2021-05-19T02:31:24.297Z] ==> Appending adjustments [2021-05-19T02:31:24.297Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T02:31:24.576Z] + Found adjustments [2021-05-19T02:31:24.576Z] ==> Gzipping contents [2021-05-19T02:31:24.576Z] 4.0K /tmp/codecov.dMNiGe.gz [2021-05-19T02:31:24.576Z] ==> Uploading reports [2021-05-19T02:31:24.576Z] url: https://codecov.io [2021-05-19T02:31:24.576Z] query: branch=master&commit=b5230044bd4b19929753d210ee1690417a14801e&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-19T02:31:24.576Z] -> Pinging Codecov [2021-05-19T02:31:24.576Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=b5230044bd4b19929753d210ee1690417a14801e&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-19T02:31:25.173Z] -> Uploading to [2021-05-19T02:31:25.173Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/55DBCA73C666E3227836607328DD7E49/b5230044bd4b19929753d210ee1690417a14801e/03ca8db5-6c3f-4a69-ac2e-c430f7b34d0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T023124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7edd38f1e492739c96a7e3b8c83a0023a34e3eedcf80837eef79a91e02d832d [2021-05-19T02:31:25.173Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T02:31:25.173Z] Dload Upload Total Spent Left Speed [2021-05-19T02:31:25.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 11872 --:--:-- --:--:-- --:--:-- 11914 [2021-05-19T02:31:25.440Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/b5230044bd4b19929753d210ee1690417a14801e [Pipeline] } [2021-05-19T02:31:25.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-19T02:31:26.242Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-19T02:31:26.259Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:31:26.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-19T02:31:26.632Z] [2021-05-19T02:31:26.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:31:27.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-19T02:31:27.048Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-19T02:31:27.048Z] 188c0c94c7c5: Pulling fs layer [2021-05-19T02:31:27.048Z] 0ef7d3d256c8: Pulling fs layer [2021-05-19T02:31:27.048Z] de9db76c5a1d: Pulling fs layer [2021-05-19T02:31:27.048Z] 0eba1c9be4d2: Pulling fs layer [2021-05-19T02:31:27.048Z] 0d57e429df01: Pulling fs layer [2021-05-19T02:31:27.048Z] 4e4be7b47b0d: Pulling fs layer [2021-05-19T02:31:27.048Z] e1f770b5df2f: Pulling fs layer [2021-05-19T02:31:27.048Z] 85a0685a4137: Pulling fs layer [2021-05-19T02:31:27.048Z] 0d57e429df01: Waiting [2021-05-19T02:31:27.048Z] 4e4be7b47b0d: Waiting [2021-05-19T02:31:27.048Z] e1f770b5df2f: Waiting [2021-05-19T02:31:27.048Z] 85a0685a4137: Waiting [2021-05-19T02:31:27.048Z] 0eba1c9be4d2: Waiting [2021-05-19T02:31:27.423Z] de9db76c5a1d: Verifying Checksum [2021-05-19T02:31:27.423Z] de9db76c5a1d: Download complete [2021-05-19T02:31:27.423Z] 0ef7d3d256c8: Verifying Checksum [2021-05-19T02:31:27.423Z] 0ef7d3d256c8: Download complete [2021-05-19T02:31:27.423Z] 0d57e429df01: Verifying Checksum [2021-05-19T02:31:27.423Z] 0d57e429df01: Download complete [2021-05-19T02:31:27.423Z] 4e4be7b47b0d: Verifying Checksum [2021-05-19T02:31:27.423Z] 4e4be7b47b0d: Download complete [2021-05-19T02:31:27.423Z] 188c0c94c7c5: Verifying Checksum [2021-05-19T02:31:27.423Z] 188c0c94c7c5: Download complete [2021-05-19T02:31:27.423Z] 188c0c94c7c5: Pull complete [2021-05-19T02:31:27.774Z] 0ef7d3d256c8: Pull complete [2021-05-19T02:31:27.774Z] de9db76c5a1d: Pull complete [2021-05-19T02:31:28.883Z] e1f770b5df2f: Verifying Checksum [2021-05-19T02:31:28.883Z] e1f770b5df2f: Download complete [2021-05-19T02:31:32.596Z] 0eba1c9be4d2: Verifying Checksum [2021-05-19T02:31:32.596Z] 0eba1c9be4d2: Download complete [2021-05-19T02:31:33.246Z] 85a0685a4137: Verifying Checksum [2021-05-19T02:31:33.246Z] 85a0685a4137: Download complete [2021-05-19T02:31:37.084Z] 0eba1c9be4d2: Pull complete [2021-05-19T02:31:37.084Z] 0d57e429df01: Pull complete [2021-05-19T02:31:37.084Z] 4e4be7b47b0d: Pull complete [2021-05-19T02:31:37.391Z] e1f770b5df2f: Pull complete [2021-05-19T02:31:42.961Z] 85a0685a4137: Pull complete [2021-05-19T02:31:42.961Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-19T02:31:42.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-19T02:31:42.961Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-19T02:31:43.121Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:31:43.310Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-19T02:31:49.765Z] $ docker top 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-19T02:31:49.934Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-19T02:31:50.545Z] + set -o pipefail [2021-05-19T02:31:50.545Z] + snyk monitor '--org=edgex-jenkins' [2021-05-19T02:32:17.438Z] [2021-05-19T02:32:17.438Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-19T02:32:17.438Z] [2021-05-19T02:32:17.438Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/16d990c9-f625-4ff8-80d7-0eb489ef8feb [2021-05-19T02:32:17.438Z] [2021-05-19T02:32:17.438Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-19T02:32:17.438Z] [2021-05-19T02:32:17.438Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-19T02:32:17.438Z] [2021-05-19T02:32:17.438Z] [Pipeline] } [2021-05-19T02:32:17.451Z] $ docker stop --time=1 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a [2021-05-19T02:32:20.361Z] $ docker rm -f 9cbab794852418ceb6812df906a2a033ee608575237623a35e00a7c2f531674a [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-19T02:32:21.380Z] + git log --format=format:%s -1 b5230044bd4b19929753d210ee1690417a14801e [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:32:21.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:32:21.686Z] . [Pipeline] withDockerContainer [2021-05-19T02:32:21.768Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:32:21.808Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T02:32:22.183Z] $ docker top 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T02:32:22.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T02:32:22.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T02:32:22.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T02:32:22.432Z] $ docker exec 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 ssh-agent [2021-05-19T02:32:22.537Z] SSH_AUTH_SOCK=/tmp/ssh-WlDhWuNx9tPJ/agent.14 [2021-05-19T02:32:22.537Z] SSH_AGENT_PID=20 [2021-05-19T02:32:22.543Z] Running ssh-add (command line suppressed) [2021-05-19T02:32:22.649Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1803228228532617692.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1803228228532617692.key) [2021-05-19T02:32:22.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T02:32:22.989Z] + git semver tag [2021-05-19T02:32:22.989Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T02:32:22.989Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-19T02:32:22.989Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-19T02:32:22.989Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T02:32:22.989Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T02:32:22.989Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T02:32:22.989Z] # $SEMVER_BRANCH = master [2021-05-19T02:32:22.989Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-19T02:32:22.989Z] # b5230044bd4b19929753d210ee1690417a14801e HEAD [2021-05-19T02:32:22.989Z] # -> Force: false [2021-05-19T02:32:22.989Z] # 3fb4b43b054f406db38b64e9926af8c666d314e0 refs/tags/v1.3.2-dev.11 [Pipeline] } [2021-05-19T02:32:23.002Z] $ docker exec --env ******** --env ******** 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 ssh-agent -k [2021-05-19T02:32:23.122Z] unset SSH_AUTH_SOCK; [2021-05-19T02:32:23.122Z] unset SSH_AGENT_PID; [2021-05-19T02:32:23.122Z] echo Agent pid 20 killed; [2021-05-19T02:32:23.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T02:32:23.473Z] + git semver [Pipeline] } [2021-05-19T02:32:23.488Z] $ docker stop --time=1 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 [2021-05-19T02:32:24.801Z] $ docker rm -f 7d83c5b689abae70a882e9625879587ff91b5900d8e825ca6479035ffeefb5f6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:32:25.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-19T02:32:25.278Z] [2021-05-19T02:32:25.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:32:25.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-19T02:32:25.600Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-19T02:32:25.600Z] ab5ef0e58194: Pulling fs layer [2021-05-19T02:32:25.600Z] 9712f1f96733: Pulling fs layer [2021-05-19T02:32:25.600Z] 63f879dbbcfc: Pulling fs layer [2021-05-19T02:32:25.600Z] 0d9ebad4ef96: Pulling fs layer [2021-05-19T02:32:25.600Z] e9a5061849ea: Pulling fs layer [2021-05-19T02:32:25.600Z] d747dcd14b5f: Pulling fs layer [2021-05-19T02:32:25.600Z] 2de7ff778b66: Pulling fs layer [2021-05-19T02:32:25.600Z] e9a5061849ea: Waiting [2021-05-19T02:32:25.600Z] 0d9ebad4ef96: Waiting [2021-05-19T02:32:25.600Z] d747dcd14b5f: Waiting [2021-05-19T02:32:25.600Z] 2de7ff778b66: Waiting [2021-05-19T02:32:25.600Z] 9712f1f96733: Download complete [2021-05-19T02:32:26.985Z] 63f879dbbcfc: Verifying Checksum [2021-05-19T02:32:26.985Z] 63f879dbbcfc: Download complete [2021-05-19T02:32:26.985Z] e9a5061849ea: Verifying Checksum [2021-05-19T02:32:26.985Z] e9a5061849ea: Download complete [2021-05-19T02:32:26.985Z] d747dcd14b5f: Verifying Checksum [2021-05-19T02:32:26.985Z] d747dcd14b5f: Download complete [2021-05-19T02:32:27.561Z] 2de7ff778b66: Verifying Checksum [2021-05-19T02:32:27.561Z] 2de7ff778b66: Download complete [2021-05-19T02:32:27.830Z] 0d9ebad4ef96: Verifying Checksum [2021-05-19T02:32:27.830Z] 0d9ebad4ef96: Download complete [2021-05-19T02:32:27.830Z] ab5ef0e58194: Verifying Checksum [2021-05-19T02:32:27.830Z] ab5ef0e58194: Download complete [2021-05-19T02:32:30.389Z] ab5ef0e58194: Pull complete [2021-05-19T02:32:30.389Z] 9712f1f96733: Pull complete [2021-05-19T02:32:31.336Z] 63f879dbbcfc: Pull complete [2021-05-19T02:32:34.681Z] 0d9ebad4ef96: Pull complete [2021-05-19T02:32:34.942Z] e9a5061849ea: Pull complete [2021-05-19T02:32:35.218Z] d747dcd14b5f: Pull complete [2021-05-19T02:32:36.163Z] 2de7ff778b66: Pull complete [2021-05-19T02:32:36.163Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-19T02:32:36.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-19T02:32:36.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-19T02:32:36.247Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:32:36.310Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-19T02:32:46.104Z] $ docker top 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:32:46.211Z] provisioning config files... [2021-05-19T02:32:46.219Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5363575199158588658tmp [2021-05-19T02:32:46.231Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2738563727364751107tmp [2021-05-19T02:32:46.243Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2768093124957108151tmp [Pipeline] { [Pipeline] echo [2021-05-19T02:32:46.263Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:32:46.567Z] ---> sigul-configuration.sh [2021-05-19T02:32:46.567Z] gpg: directory `/root/.gnupg' created [2021-05-19T02:32:46.567Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-19T02:32:46.567Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-19T02:32:46.567Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-19T02:32:46.567Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-19T02:32:46.567Z] gpg: CAST5 encrypted data [2021-05-19T02:32:46.567Z] gpg: encrypted with 1 passphrase [2021-05-19T02:32:46.567Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-19T02:32:47.084Z] + mkdir /home/jenkins [2021-05-19T02:32:47.084Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-19T02:32:47.441Z] + 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-19T02:32:47.452Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:32:47.754Z] ---> sigul-install.sh [2021-05-19T02:32:51.977Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-19T02:32:52.269Z] + git tag --list [2021-05-19T02:32:52.269Z] 0.7.1 [2021-05-19T02:32:52.269Z] v1.0.0 [2021-05-19T02:32:52.269Z] v1.1.0 [2021-05-19T02:32:52.269Z] v1.1.1 [2021-05-19T02:32:52.269Z] v1.2.2 [2021-05-19T02:32:52.269Z] v1.3.0 [2021-05-19T02:32:52.269Z] v1.3.1 [2021-05-19T02:32:52.269Z] v1.3.1-dev.1 [2021-05-19T02:32:52.269Z] v1.3.1-dev.2 [2021-05-19T02:32:52.269Z] v1.3.1-dev.3 [2021-05-19T02:32:52.269Z] v1.3.1-dev.4 [2021-05-19T02:32:52.269Z] v1.3.1-dev.5 [2021-05-19T02:32:52.269Z] v1.3.1-dev.6 [2021-05-19T02:32:52.269Z] v1.3.1-dev.7 [2021-05-19T02:32:52.269Z] v1.3.1-dev.8 [2021-05-19T02:32:52.269Z] v1.3.2-dev.1 [2021-05-19T02:32:52.269Z] v1.3.2-dev.10 [2021-05-19T02:32:52.269Z] v1.3.2-dev.11 [2021-05-19T02:32:52.269Z] v1.3.2-dev.2 [2021-05-19T02:32:52.269Z] v1.3.2-dev.3 [2021-05-19T02:32:52.270Z] v1.3.2-dev.4 [2021-05-19T02:32:52.270Z] v1.3.2-dev.5 [2021-05-19T02:32:52.270Z] v1.3.2-dev.6 [2021-05-19T02:32:52.270Z] v1.3.2-dev.7 [2021-05-19T02:32:52.270Z] v1.3.2-dev.8 [2021-05-19T02:32:52.270Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-19T02:32:52.594Z] + lftools sign git-tag v1.3.2-dev.11 [2021-05-19T02:32:53.165Z] Signing Git tag with Sigul... [2021-05-19T02:32:53.165Z] Signing v1.3.2-dev.11 [Pipeline] echo [2021-05-19T02:32:54.118Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:32:54.414Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-19T02:32:54.422Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-19T02:32:54.452Z] $ docker stop --time=1 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a [2021-05-19T02:32:56.266Z] $ docker rm -f 2087f25f4e9a776769d1e037825c0159fe82ebdc1c0d0a1afc204c8a7622142a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:32:56.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:32:56.915Z] . [Pipeline] withDockerContainer [2021-05-19T02:32:57.002Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:32:57.048Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T02:32:57.461Z] $ docker top 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T02:32:57.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T02:32:57.628Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T02:32:57.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T02:32:57.777Z] $ docker exec 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 ssh-agent [2021-05-19T02:32:57.906Z] SSH_AUTH_SOCK=/tmp/ssh-lZwVi0tWA4zW/agent.12 [2021-05-19T02:32:57.906Z] SSH_AGENT_PID=18 [2021-05-19T02:32:57.913Z] Running ssh-add (command line suppressed) [2021-05-19T02:32:58.025Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5689490583166427194.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5689490583166427194.key) [2021-05-19T02:32:58.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T02:32:58.347Z] + git semver bump pre [2021-05-19T02:32:58.347Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T02:32:58.347Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-19T02:32:58.347Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-19T02:32:58.347Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T02:32:58.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T02:32:58.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T02:32:58.347Z] # $SEMVER_BRANCH = master [2021-05-19T02:32:58.347Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-19T02:32:58.347Z] 1.3.2-dev.12 [Pipeline] } [2021-05-19T02:32:58.359Z] $ docker exec --env ******** --env ******** 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 ssh-agent -k [2021-05-19T02:32:58.474Z] unset SSH_AUTH_SOCK; [2021-05-19T02:32:58.479Z] unset SSH_AGENT_PID; [2021-05-19T02:32:58.479Z] echo Agent pid 18 killed; [2021-05-19T02:32:58.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T02:32:58.835Z] + git semver [Pipeline] } [2021-05-19T02:32:58.852Z] $ docker stop --time=1 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 [2021-05-19T02:33:00.100Z] $ docker rm -f 5e3384e8eb740fbd23186b907108c72bf655396e65373cae802d5f65a47565d4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:33:00.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T02:33:00.500Z] . [Pipeline] withDockerContainer [2021-05-19T02:33:00.578Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:33:00.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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T02:33:01.042Z] $ docker top 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T02:33:01.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T02:33:01.226Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T02:33:01.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T02:33:01.353Z] $ docker exec 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 ssh-agent [2021-05-19T02:33:01.473Z] SSH_AUTH_SOCK=/tmp/ssh-FgQeMEVAEYa8/agent.14 [2021-05-19T02:33:01.473Z] SSH_AGENT_PID=20 [2021-05-19T02:33:01.478Z] Running ssh-add (command line suppressed) [2021-05-19T02:33:01.588Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4000004648206762694.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4000004648206762694.key) [2021-05-19T02:33:01.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T02:33:01.906Z] + git semver push [2021-05-19T02:33:01.907Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T02:33:01.907Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-19T02:33:01.907Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-19T02:33:01.907Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T02:33:01.907Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T02:33:01.907Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T02:33:01.907Z] # $SEMVER_BRANCH = master [2021-05-19T02:33:01.907Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-19T02:33:07.204Z] $ docker exec --env ******** --env ******** 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 ssh-agent -k [2021-05-19T02:33:07.297Z] unset SSH_AUTH_SOCK; [2021-05-19T02:33:07.297Z] unset SSH_AGENT_PID; [2021-05-19T02:33:07.297Z] echo Agent pid 20 killed; [2021-05-19T02:33:07.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T02:33:07.642Z] + git semver [Pipeline] } [2021-05-19T02:33:07.658Z] $ docker stop --time=1 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 [2021-05-19T02:33:08.856Z] $ docker rm -f 24d253c18ac22c4f5074a2201a498e7ff82371de5793f041cfd323a64a9e87f6 [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-19T02:33:09.904Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:10.475Z] ---> package-listing.sh [2021-05-19T02:33:10.475Z] ++ facter osfamily [2021-05-19T02:33:10.475Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T02:33:10.738Z] + OS_FAMILY=redhat [2021-05-19T02:33:10.738Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-19T02:33:10.738Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T02:33:10.738Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T02:33:10.738Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T02:33:10.738Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T02:33:10.738Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-19T02:33:10.738Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T02:33:10.738Z] + case "${OS_FAMILY}" in [2021-05-19T02:33:10.738Z] + sort [2021-05-19T02:33:10.738Z] + rpm -qa [2021-05-19T02:33:11.370Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T02:33:11.370Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T02:33:11.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T02:33:11.370Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-19T02:33:11.370Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-19T02:33:11.370Z] + 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-19T02:33:11.399Z] 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-19T02:33:11.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:33:12.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:33:12.250Z] [2021-05-19T02:33:12.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:33:12.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:33:12.565Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T02:33:12.565Z] df20fa9351a1: Pulling fs layer [2021-05-19T02:33:12.565Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T02:33:12.565Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T02:33:12.565Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T02:33:12.565Z] 93b61091891f: Pulling fs layer [2021-05-19T02:33:12.565Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T02:33:12.565Z] 5e14af77c1be: Pulling fs layer [2021-05-19T02:33:12.565Z] 01666e4c0597: Pulling fs layer [2021-05-19T02:33:12.565Z] aa168da1d23b: Pulling fs layer [2021-05-19T02:33:12.565Z] 93b9cdb0e59b: Waiting [2021-05-19T02:33:12.565Z] 5e14af77c1be: Waiting [2021-05-19T02:33:12.565Z] 01666e4c0597: Waiting [2021-05-19T02:33:12.565Z] aa168da1d23b: Waiting [2021-05-19T02:33:12.565Z] 46f8f816bc3b: Waiting [2021-05-19T02:33:12.565Z] 93b61091891f: Waiting [2021-05-19T02:33:12.565Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T02:33:12.565Z] 36b3adc4ff6f: Download complete [2021-05-19T02:33:12.565Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T02:33:12.565Z] 46f8f816bc3b: Download complete [2021-05-19T02:33:12.565Z] df20fa9351a1: Verifying Checksum [2021-05-19T02:33:12.565Z] df20fa9351a1: Download complete [2021-05-19T02:33:12.565Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T02:33:12.565Z] 93b9cdb0e59b: Download complete [2021-05-19T02:33:12.836Z] 93b61091891f: Verifying Checksum [2021-05-19T02:33:12.836Z] 93b61091891f: Download complete [2021-05-19T02:33:12.836Z] 5e14af77c1be: Verifying Checksum [2021-05-19T02:33:12.836Z] 5e14af77c1be: Download complete [2021-05-19T02:33:12.836Z] 01666e4c0597: Verifying Checksum [2021-05-19T02:33:12.836Z] 01666e4c0597: Download complete [2021-05-19T02:33:12.836Z] df20fa9351a1: Pull complete [2021-05-19T02:33:12.836Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T02:33:12.836Z] 8ad3a11d3b57: Download complete [2021-05-19T02:33:13.101Z] 36b3adc4ff6f: Pull complete [2021-05-19T02:33:13.674Z] 8ad3a11d3b57: Pull complete [2021-05-19T02:33:13.674Z] 46f8f816bc3b: Pull complete [2021-05-19T02:33:13.940Z] 93b61091891f: Pull complete [2021-05-19T02:33:14.202Z] 93b9cdb0e59b: Pull complete [2021-05-19T02:33:14.202Z] 5e14af77c1be: Pull complete [2021-05-19T02:33:14.464Z] 01666e4c0597: Pull complete [2021-05-19T02:33:14.464Z] aa168da1d23b: Verifying Checksum [2021-05-19T02:33:14.464Z] aa168da1d23b: Download complete [2021-05-19T02:33:18.738Z] aa168da1d23b: Pull complete [2021-05-19T02:33:18.738Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T02:33:18.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:33:18.738Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T02:33:18.823Z] prd-centos7-docker-4c-2g-14956 does not seem to be running inside a container [2021-05-19T02:33:18.859Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-19T02:33:22.470Z] $ docker top e20f338daf616906a76538da913a176d3d9d84e2316d272a64c8583be169674f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:33:22.871Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T02:33:23.170Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T02:33:23.473Z] + ls /var/log/sa-host [2021-05-19T02:33:23.474Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T02:33:23.474Z] file_magic: OK [2021-05-19T02:33:23.474Z] HZ: Using current value: 100 [2021-05-19T02:33:23.474Z] file_header: OK [2021-05-19T02:33:23.474Z] 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-19T02:33:23.474Z] Statistics: [2021-05-19T02:33:23.474Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T02:33:23.474Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T02:33:23.474Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T02:33:23.474Z] file_magic: OK [2021-05-19T02:33:23.474Z] HZ: Using current value: 100 [2021-05-19T02:33:23.474Z] file_header: OK [2021-05-19T02:33:23.474Z] 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-19T02:33:23.474Z] Statistics: [2021-05-19T02:33:23.474Z] 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-19T02:33:23.474Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:33:23.685Z] provisioning config files... [2021-05-19T02:33:23.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2473193136459441580tmp [Pipeline] { [Pipeline] echo [2021-05-19T02:33:23.719Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:24.013Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T02:33:24.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T02:33:24.047Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:24.364Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T02:33:24.374Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:24.672Z] ---> sudo-logs.sh [2021-05-19T02:33:24.672Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T02:33:24.710Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:25.007Z] ---> job-cost.sh [2021-05-19T02:33:25.007Z] lf-activate-venv: SKIPPING [2021-05-19T02:33:25.007Z] DEBUG: total: 0.18000000715255737 [2021-05-19T02:33:25.007Z] INFO: Retrieving Stack Cost... [2021-05-19T02:33:25.951Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T02:33:26.527Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T02:33:26.542Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:33:26.843Z] ---> logs-deploy.sh [2021-05-19T02:33:26.843Z] lf-activate-venv: SKIPPING [2021-05-19T02:33:26.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/50 [2021-05-19T02:33:26.843Z] INFO: archiving workspace using pattern(s): [2021-05-19T02:33:27.788Z] Archives upload complete. [2021-05-19T02:33:27.788Z] INFO: archiving logs to Nexus