Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6ac7160ae92fa64df8ae0bff4a3b87682483d1e 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-ssh4459278843537676367.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-ssh7778740829022604151.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-ssh3747311007663782674.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-ssh8435229399682358613.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-ssh6377872260941650585.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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-14866 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 Avoid second fetch Checking out Revision a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (master) 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-ssh1195457288647189053.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 Commit message: "Merge pull request #245 from lenny-intel/service-keys" > git rev-list --no-walk 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T22:53:35.755Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T22:53:35.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T22:53:35.893Z] ========================================================= [2021-05-18T22:53:35.893Z] EdgeX Global Pipelines Version Info [2021-05-18T22:53:35.893Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:53:37.395Z] ------------------- [2021-05-18T22:53:37.395Z] stable info: [2021-05-18T22:53:37.395Z] ------------------- [2021-05-18T22:53:37.395Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T22:53:37.395Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:53:37.395Z] Message: update stable to v1.0.192 [2021-05-18T22:53:37.973Z] ------------------- [2021-05-18T22:53:37.973Z] experimental info: [2021-05-18T22:53:37.973Z] ------------------- [2021-05-18T22:53:37.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T22:53:37.973Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:53:37.973Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T22:53:38.114Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-18T22:53:38.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-18T22:53:38.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T22:53:38.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T22:53:38.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T22:53:38.248Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T22:53:38.274Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T22:53:38.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T22:53:38.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T22:53:38.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T22:53:38.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T22:53:38.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-18T22:53:38.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T22:53:38.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T22:53:38.476Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:53:38.500Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:53:38.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:53:38.553Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:53:38.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T22:53:38.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-18T22:53:38.619Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T22:53:38.641Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T22:53:38.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T22:53:38.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T22:53:38.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T22:53:38.732Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T22:53:38.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-18T22:53:38.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-18T22:53:38.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-18T22:53:38.834Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] echo [2021-05-18T22:53:38.856Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6ac716 [Pipeline] echo [2021-05-18T22:53:38.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:53:38.970Z] provisioning config files... [2021-05-18T22:53:38.991Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6275847328256346099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:53:39.313Z] ---> docker-login.sh [2021-05-18T22:53:39.313Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:53:39.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:53:39.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:53:39.577Z] Configure a credential helper to remove this warning. See [2021-05-18T22:53:39.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:53:39.577Z] [2021-05-18T22:53:39.577Z] Login Succeeded [2021-05-18T22:53:39.577Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:53:39.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:53:39.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:53:39.841Z] Configure a credential helper to remove this warning. See [2021-05-18T22:53:39.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:53:39.841Z] [2021-05-18T22:53:39.841Z] Login Succeeded [2021-05-18T22:53:39.841Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:53:39.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:53:39.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:53:39.841Z] Configure a credential helper to remove this warning. See [2021-05-18T22:53:39.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:53:39.841Z] [2021-05-18T22:53:39.841Z] Login Succeeded [2021-05-18T22:53:39.841Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:53:40.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:53:40.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:53:40.103Z] Configure a credential helper to remove this warning. See [2021-05-18T22:53:40.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:53:40.103Z] [2021-05-18T22:53:40.103Z] Login Succeeded [2021-05-18T22:53:40.103Z] docker.io [2021-05-18T22:53:40.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:53:40.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:53:40.365Z] Configure a credential helper to remove this warning. See [2021-05-18T22:53:40.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:53:40.365Z] [2021-05-18T22:53:40.365Z] Login Succeeded [2021-05-18T22:53:40.365Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:53:40.374Z] 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-18T22:53:40.936Z] + git log --format=format:%s -1 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] echo [2021-05-18T22:53:40.977Z] GIT_COMMIT: a6ac7160ae92fa64df8ae0bff4a3b87682483d1e, Commit Message: Merge pull request #245 from lenny-intel/service-keys [Pipeline] echo [2021-05-18T22:53:41.020Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:53:42.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:53:42.035Z] [2021-05-18T22:53:42.035Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:53:42.367Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:53:42.367Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T22:53:42.367Z] 31603596830f: Pulling fs layer [2021-05-18T22:53:42.367Z] 54011a49482f: Pulling fs layer [2021-05-18T22:53:42.367Z] a6820b24f6d8: Pulling fs layer [2021-05-18T22:53:42.367Z] f581987b2513: Pulling fs layer [2021-05-18T22:53:42.367Z] f581987b2513: Waiting [2021-05-18T22:53:42.367Z] 54011a49482f: Verifying Checksum [2021-05-18T22:53:42.367Z] 54011a49482f: Download complete [2021-05-18T22:53:42.633Z] 31603596830f: Verifying Checksum [2021-05-18T22:53:42.633Z] 31603596830f: Download complete [2021-05-18T22:53:42.633Z] f581987b2513: Verifying Checksum [2021-05-18T22:53:42.633Z] f581987b2513: Download complete [2021-05-18T22:53:42.633Z] a6820b24f6d8: Verifying Checksum [2021-05-18T22:53:42.633Z] a6820b24f6d8: Download complete [2021-05-18T22:53:42.633Z] 31603596830f: Pull complete [2021-05-18T22:53:42.901Z] 54011a49482f: Pull complete [2021-05-18T22:53:43.475Z] a6820b24f6d8: Pull complete [2021-05-18T22:53:43.741Z] f581987b2513: Pull complete [2021-05-18T22:53:43.741Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T22:53:43.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:53:43.741Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T22:53:43.833Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T22:53:43.896Z] $ 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-18T22:53:45.066Z] $ docker top edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T22:53:45.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:53:45.215Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:53:45.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:53:45.350Z] $ docker exec edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent [2021-05-18T22:53:45.485Z] SSH_AUTH_SOCK=/tmp/ssh-i76SJJ8n6awt/agent.13 [2021-05-18T22:53:45.485Z] SSH_AGENT_PID=19 [2021-05-18T22:53:45.494Z] Running ssh-add (command line suppressed) [2021-05-18T22:53:45.600Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_689875836714280215.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_689875836714280215.key) [2021-05-18T22:53:45.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:53:45.927Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T22:53:45.946Z] $ docker exec --env ******** --env ******** edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent -k [2021-05-18T22:53:46.060Z] unset SSH_AUTH_SOCK; [2021-05-18T22:53:46.061Z] unset SSH_AGENT_PID; [2021-05-18T22:53:46.061Z] echo Agent pid 19 killed; [2021-05-18T22:53:46.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T22:53:46.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:53:46.112Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:53:46.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:53:46.229Z] $ docker exec edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent [2021-05-18T22:53:46.343Z] SSH_AUTH_SOCK=/tmp/ssh-5Rup2gKVrnsm/agent.52 [2021-05-18T22:53:46.343Z] SSH_AGENT_PID=59 [2021-05-18T22:53:46.349Z] Running ssh-add (command line suppressed) [2021-05-18T22:53:46.449Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5345887201911953485.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5345887201911953485.key) [2021-05-18T22:53:46.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:53:46.789Z] + git semver init [2021-05-18T22:53:46.789Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T22:53:46.789Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-18T22:53:46.789Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-18T22:53:46.789Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T22:53:46.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T22:53:46.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T22:53:46.789Z] # $SEMVER_BRANCH = master [2021-05-18T22:53:46.789Z] # $SEMVER_TEMP = /tmp/semver-292928484 [2021-05-18T22:53:46.789Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-18T22:53:47.052Z] # '/tmp/semver-292928484' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-18T22:53:47.052Z] # -> Force: false [2021-05-18T22:53:47.052Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-18T22:53:47.067Z] $ docker exec --env ******** --env ******** edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b ssh-agent -k [2021-05-18T22:53:47.170Z] unset SSH_AUTH_SOCK; [2021-05-18T22:53:47.171Z] unset SSH_AGENT_PID; [2021-05-18T22:53:47.171Z] echo Agent pid 59 killed; [2021-05-18T22:53:47.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T22:53:47.518Z] + git semver [Pipeline] } [2021-05-18T22:53:47.534Z] $ docker stop --time=1 edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b [2021-05-18T22:53:48.767Z] $ docker rm -f edf6a3218983c836026b0b45061732d54a79ee5c9d026846ef54417fe820053b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:53:49.144Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T22:53:49.440Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T22:53:49.444Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.10 [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-18T22:54:04.742Z] Still waiting to schedule task [2021-05-18T22:54:04.743Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-18T22:54:04.743Z] ‘prd-centos7-docker-4c-2g-14867’ is offline [2021-05-18T22:54:04.743Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-18T22:54:04.745Z] Still waiting to schedule task [2021-05-18T22:54:04.746Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-18T22:55:38.658Z] Running on prd-centos7-docker-4c-2g-14872 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:55:38.680Z] Running in /w/workspace/device-modbus-go/49 [Pipeline] { [Pipeline] checkout [2021-05-18T22:55:38.788Z] Selected Git installation does not exist. Using Default [2021-05-18T22:55:38.788Z] The recommended git tool is: NONE [2021-05-18T22:55:40.842Z] using credential edgex-jenkins-ssh [2021-05-18T22:55:40.861Z] Cloning the remote Git repository [2021-05-18T22:55:40.848Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T22:55:40.920Z] > git init /w/workspace/device-modbus-go/49 # timeout=10 [2021-05-18T22:55:40.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T22:55:40.950Z] > git --version # timeout=10 [2021-05-18T22:55:40.962Z] > git --version # 'git version 2.24.4' [2021-05-18T22:55:40.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:55:41.645Z] Avoid second fetch [2021-05-18T22:55:41.645Z] Checking out Revision a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (master) [2021-05-18T22:55:41.003Z] [INFO] Currently running in a labeled security context [2021-05-18T22:55:41.003Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T22:55:41.003Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/49@tmp/jenkins-gitclient-ssh5187943820382397637.key [2021-05-18T22:55:41.016Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:55:41.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T22:55:41.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:55:41.662Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:55:41.672Z] > git checkout -f a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 [2021-05-18T22:55:45.453Z] Commit message: "Merge pull request #245 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:55:46.403Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:55:46.751Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:55:47.054Z] + true [2021-05-18T22:55:47.054Z] + sudo service docker restart [2021-05-18T22:55:47.054Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:56:05.244Z] provisioning config files... [2021-05-18T22:56:05.259Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config1447678501261409878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:56:05.587Z] ---> docker-login.sh [2021-05-18T22:56:05.587Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:56:05.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:05.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:05.862Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:05.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:05.862Z] [2021-05-18T22:56:05.862Z] Login Succeeded [2021-05-18T22:56:05.862Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:56:05.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:05.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:05.862Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:05.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:05.862Z] [2021-05-18T22:56:05.862Z] Login Succeeded [2021-05-18T22:56:05.862Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:56:05.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:06.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:06.129Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:06.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:06.129Z] [2021-05-18T22:56:06.129Z] Login Succeeded [2021-05-18T22:56:06.129Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:56:06.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:06.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:06.129Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:06.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:06.129Z] [2021-05-18T22:56:06.129Z] Login Succeeded [2021-05-18T22:56:06.129Z] docker.io [2021-05-18T22:56:06.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:06.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:06.391Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:06.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:06.391Z] [2021-05-18T22:56:06.391Z] Login Succeeded [2021-05-18T22:56:06.391Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:56:06.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:56:06.574Z] ========================================================= [2021-05-18T22:56:06.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T22:56:06.575Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:06.963Z] + 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-18T22:56:06.963Z] Sending build context to Docker daemon 593.9kB [2021-05-18T22:56:06.963Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:56:06.963Z] Step 2/8 : FROM ${BASE} [2021-05-18T22:56:06.963Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T22:56:06.963Z] 540db60ca938: Pulling fs layer [2021-05-18T22:56:06.963Z] adcc1eea9eea: Pulling fs layer [2021-05-18T22:56:06.963Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T22:56:06.963Z] 0510c868ecb4: Pulling fs layer [2021-05-18T22:56:06.963Z] afea3b2eda06: Pulling fs layer [2021-05-18T22:56:06.963Z] 7809a108b3ef: Pulling fs layer [2021-05-18T22:56:06.963Z] f706445af74f: Pulling fs layer [2021-05-18T22:56:06.963Z] afea3b2eda06: Waiting [2021-05-18T22:56:06.963Z] 7809a108b3ef: Waiting [2021-05-18T22:56:06.963Z] f706445af74f: Waiting [2021-05-18T22:56:06.963Z] 0510c868ecb4: Waiting [2021-05-18T22:56:06.963Z] 4c4ab2625f07: Verifying Checksum [2021-05-18T22:56:06.963Z] 4c4ab2625f07: Download complete [2021-05-18T22:56:06.963Z] adcc1eea9eea: Verifying Checksum [2021-05-18T22:56:06.963Z] adcc1eea9eea: Download complete [2021-05-18T22:56:06.963Z] afea3b2eda06: Verifying Checksum [2021-05-18T22:56:06.963Z] afea3b2eda06: Download complete [2021-05-18T22:56:06.963Z] 7809a108b3ef: Verifying Checksum [2021-05-18T22:56:06.963Z] 7809a108b3ef: Download complete [2021-05-18T22:56:06.963Z] 540db60ca938: Verifying Checksum [2021-05-18T22:56:06.963Z] 540db60ca938: Download complete [2021-05-18T22:56:07.228Z] 540db60ca938: Pull complete [2021-05-18T22:56:07.492Z] adcc1eea9eea: Pull complete [2021-05-18T22:56:07.492Z] 4c4ab2625f07: Pull complete [2021-05-18T22:56:08.873Z] f706445af74f: Verifying Checksum [2021-05-18T22:56:08.873Z] f706445af74f: Download complete [2021-05-18T22:56:09.449Z] 0510c868ecb4: Verifying Checksum [2021-05-18T22:56:09.449Z] 0510c868ecb4: Download complete [2021-05-18T22:56:09.734Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14869 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:56:09.753Z] Running in /w/workspace/device-modbus-go/49 [Pipeline] { [Pipeline] checkout [2021-05-18T22:56:09.957Z] Selected Git installation does not exist. Using Default [2021-05-18T22:56:09.957Z] The recommended git tool is: NONE [2021-05-18T22:56:12.797Z] 0510c868ecb4: Pull complete [2021-05-18T22:56:12.797Z] afea3b2eda06: Pull complete [2021-05-18T22:56:12.797Z] 7809a108b3ef: Pull complete [2021-05-18T22:56:13.762Z] f706445af74f: Pull complete [2021-05-18T22:56:13.762Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T22:56:13.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T22:56:13.762Z] ---> b068be0155e3 [2021-05-18T22:56:13.762Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T22:56:15.340Z] using credential edgex-jenkins-ssh [2021-05-18T22:56:15.371Z] Cloning the remote Git repository [2021-05-18T22:56:15.430Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T22:56:15.543Z] > git init /w/workspace/device-modbus-go/49 # timeout=10 [2021-05-18T22:56:15.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T22:56:15.621Z] > git --version # timeout=10 [2021-05-18T22:56:15.696Z] > git --version # 'git version 2.17.1' [2021-05-18T22:56:15.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:56:15.798Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:16.698Z] Avoid second fetch [2021-05-18T22:56:16.699Z] Checking out Revision a6ac7160ae92fa64df8ae0bff4a3b87682483d1e (master) [2021-05-18T22:56:16.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T22:56:16.685Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:16.727Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:56:16.743Z] > git checkout -f a6ac7160ae92fa64df8ae0bff4a3b87682483d1e # timeout=10 [2021-05-18T22:56:19.067Z] ---> Running in 3cc16f930346 [2021-05-18T22:56:19.067Z] Removing intermediate container 3cc16f930346 [2021-05-18T22:56:19.067Z] ---> b73d0960ad2a [2021-05-18T22:56:19.067Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:56:19.067Z] ---> Running in 19efce69be56 [2021-05-18T22:56:19.346Z] Removing intermediate container 19efce69be56 [2021-05-18T22:56:19.346Z] ---> edff4564e06d [2021-05-18T22:56:19.346Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:56:19.346Z] ---> Running in 4a01efd96b9f [2021-05-18T22:56:19.610Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:56:20.559Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:56:21.001Z] Commit message: "Merge pull request #245 from lenny-intel/service-keys" [2021-05-18T22:56:21.132Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T22:56:21.132Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T22:56:21.132Z] (3/13) Installing pkgconf (1.7.3-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-05-18T22:56:21.404Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:56:21.404Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:56:21.404Z] (6/13) Installing libedit (20191231.3.1-r1) [Pipeline] sh [2021-05-18T22:56:21.672Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:56:21.933Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T22:56:21.933Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T22:56:21.933Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T22:56:22.193Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T22:56:22.193Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T22:56:22.193Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:56:22.255Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:22.455Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:56:22.455Z] OK: 156 MiB in 53 packages [2021-05-18T22:56:22.692Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:22.719Z] Removing intermediate container 4a01efd96b9f [2021-05-18T22:56:22.721Z] ---> 5999d8ec5b92 [2021-05-18T22:56:22.721Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-18T22:56:22.982Z] ---> Running in 42beff3a98a7 [2021-05-18T22:56:22.983Z] Removing intermediate container 42beff3a98a7 [2021-05-18T22:56:22.983Z] ---> fdc439dac0d2 [2021-05-18T22:56:22.983Z] Step 7/8 : COPY . . [2021-05-18T22:56:23.046Z] + + sudo service dockertrue restart [2021-05-18T22:56:23.046Z] [2021-05-18T22:56:23.244Z] ---> 4850ce381831 [2021-05-18T22:56:23.244Z] Step 8/8 : RUN go mod download [2021-05-18T22:56:23.244Z] ---> Running in 3bda92995366 [2021-05-18T22:56:35.513Z] Removing intermediate container 3bda92995366 [2021-05-18T22:56:35.513Z] ---> 9a3b5cc994a6 [2021-05-18T22:56:35.513Z] Successfully built 9a3b5cc994a6 [2021-05-18T22:56:35.773Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:36.074Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:56:36.074Z] . [Pipeline] withDockerContainer [2021-05-18T22:56:36.153Z] prd-centos7-docker-4c-2g-14872 does not seem to be running inside a container [2021-05-18T22:56:36.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-18T22:56:36.533Z] $ docker top bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:56:36.895Z] + go version [2021-05-18T22:56:36.895Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-18T22:56:36.906Z] $ docker stop --time=1 bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 [2021-05-18T22:56:38.076Z] $ docker rm -f bcc84de9b525da9f825de1b38dc424b46ef98df705bf3747980a3c5efd7d23b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:38.832Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:56:38.832Z] . [Pipeline] withDockerContainer [2021-05-18T22:56:38.909Z] prd-centos7-docker-4c-2g-14872 does not seem to be running inside a container [2021-05-18T22:56:38.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-18T22:56:39.302Z] $ docker top 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:56:39.690Z] + go mod tidy [Pipeline] sh [2021-05-18T22:56:40.272Z] + make test [2021-05-18T22:56:40.272Z] go mod tidy [2021-05-18T22:56:40.272Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-18T22:56:40.866Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:56:41.382Z] provisioning config files... [2021-05-18T22:56:41.408Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config5123558558662593249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:56:41.789Z] ---> docker-login.sh [2021-05-18T22:56:41.789Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:56:42.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:43.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:43.051Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:43.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:43.051Z] [2021-05-18T22:56:43.051Z] Login Succeeded [2021-05-18T22:56:43.051Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:56:43.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:43.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:43.597Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:43.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:43.597Z] [2021-05-18T22:56:43.597Z] Login Succeeded [2021-05-18T22:56:43.597Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:56:43.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:43.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:43.869Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:43.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:43.869Z] [2021-05-18T22:56:43.869Z] Login Succeeded [2021-05-18T22:56:43.869Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:56:44.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:44.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:44.467Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:44.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:44.467Z] [2021-05-18T22:56:44.467Z] Login Succeeded [2021-05-18T22:56:44.467Z] docker.io [2021-05-18T22:56:44.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:45.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:45.341Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:45.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:45.341Z] [2021-05-18T22:56:45.341Z] Login Succeeded [2021-05-18T22:56:45.341Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:56:45.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:56:45.679Z] ========================================================= [2021-05-18T22:56:45.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T22:56:45.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:46.030Z] + 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-18T22:56:46.307Z] Sending build context to Docker daemon 592.9kB [2021-05-18T22:56:46.582Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:56:46.582Z] Step 2/8 : FROM ${BASE} [2021-05-18T22:56:46.582Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T22:56:46.582Z] 595b0fe564bb: Pulling fs layer [2021-05-18T22:56:46.582Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T22:56:46.582Z] 316046926c0a: Pulling fs layer [2021-05-18T22:56:46.582Z] 4ebd0625c992: Pulling fs layer [2021-05-18T22:56:46.582Z] 207e8628e3a3: Pulling fs layer [2021-05-18T22:56:46.582Z] c791037a9be2: Pulling fs layer [2021-05-18T22:56:46.582Z] ffd874e62e21: Pulling fs layer [2021-05-18T22:56:46.582Z] 207e8628e3a3: Waiting [2021-05-18T22:56:46.582Z] c791037a9be2: Waiting [2021-05-18T22:56:46.582Z] ffd874e62e21: Waiting [2021-05-18T22:56:46.582Z] 316046926c0a: Download complete [2021-05-18T22:56:46.867Z] 7186ed65a4f7: Verifying Checksum [2021-05-18T22:56:46.867Z] 7186ed65a4f7: Download complete [2021-05-18T22:56:46.867Z] 207e8628e3a3: Verifying Checksum [2021-05-18T22:56:46.867Z] 207e8628e3a3: Download complete [2021-05-18T22:56:46.867Z] c791037a9be2: Verifying Checksum [2021-05-18T22:56:46.867Z] c791037a9be2: Download complete [2021-05-18T22:56:46.867Z] 595b0fe564bb: Verifying Checksum [2021-05-18T22:56:46.867Z] 595b0fe564bb: Download complete [2021-05-18T22:56:47.475Z] 595b0fe564bb: Pull complete [2021-05-18T22:56:48.075Z] 7186ed65a4f7: Pull complete [2021-05-18T22:56:48.675Z] 316046926c0a: Pull complete [2021-05-18T22:56:49.654Z] ffd874e62e21: Verifying Checksum [2021-05-18T22:56:49.654Z] ffd874e62e21: Download complete [2021-05-18T22:56:51.083Z] 4ebd0625c992: Verifying Checksum [2021-05-18T22:56:51.083Z] 4ebd0625c992: Download complete [2021-05-18T22:56:59.134Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-18T22:56:59.134Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2021-05-18T22:56:59.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T22:57:01.308Z] 4ebd0625c992: Pull complete [2021-05-18T22:57:01.308Z] 207e8628e3a3: Pull complete [2021-05-18T22:57:01.592Z] c791037a9be2: Pull complete [2021-05-18T22:57:04.468Z] gofmt -l . [2021-05-18T22:57:04.468Z] [ "`gofmt -l .`" = "" ] [2021-05-18T22:57:04.468Z] ./bin/test-attribution-txt.sh [2021-05-18T22:57:04.729Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-18T22:57:04.742Z] $ docker stop --time=1 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 [2021-05-18T22:57:06.004Z] ffd874e62e21: Pull complete [2021-05-18T22:57:06.004Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T22:57:06.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T22:57:06.004Z] ---> cfc18b08335c [2021-05-18T22:57:06.004Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T22:57:06.300Z] $ docker rm -f 54cebcedac80dec0202f80cfc967169f09b4265bba69a8b7ba3f8df5b8b316e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:57:06.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T22:57:06.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-18T22:57:07.460Z] ---> Running in 4996a167d1f6 [2021-05-18T22:57:07.735Z] Removing intermediate container 4996a167d1f6 [2021-05-18T22:57:07.735Z] ---> 2487689157ba [2021-05-18T22:57:07.735Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:07.735Z] ---> Running in 63c93df9b50e [Pipeline] sh [2021-05-18T22:57:09.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T22:57:09.883Z] + ls -al . [2021-05-18T22:57:09.883Z] total 112 [2021-05-18T22:57:09.884Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 18 22:57 . [2021-05-18T22:57:09.884Z] drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:55 .. [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 18 22:55 Attribution.txt [2021-05-18T22:57:09.884Z] drwxrwxr-x. 2 jenkins jenkins 87 May 18 22:55 bin [2021-05-18T22:57:09.884Z] drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:55 cmd [2021-05-18T22:57:09.884Z] -rw-r--r--. 1 jenkins jenkins 22385 May 18 22:56 coverage.out [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 1473 May 18 22:55 Dockerfile [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 995 May 18 22:55 Dockerfile.build [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 140 May 18 22:55 .dockerignore [2021-05-18T22:57:09.884Z] drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:55 .git [2021-05-18T22:57:09.884Z] drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:55 .github [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 338 May 18 22:55 .gitignore [2021-05-18T22:57:09.884Z] -rw-r--r--. 1 jenkins jenkins 413 May 18 22:57 go.mod [2021-05-18T22:57:09.884Z] -rw-r--r--. 1 jenkins jenkins 21834 May 18 22:56 go.sum [2021-05-18T22:57:09.884Z] drwxrwxr-x. 3 jenkins jenkins 20 May 18 22:55 internal [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 679 May 18 22:55 Jenkinsfile [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:55 LICENSE [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 914 May 18 22:55 Makefile [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 18 22:55 README.md [2021-05-18T22:57:09.884Z] drwxrwxr-x. 2 jenkins jenkins 52 May 18 22:55 simulator [2021-05-18T22:57:09.884Z] drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:55 snap [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:53 VERSION [2021-05-18T22:57:09.884Z] -rw-rw-r--. 1 jenkins jenkins 229 May 18 22:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:10.188Z] + 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=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e --label arch=amd64 --label version=1.3.2-dev.10 . [2021-05-18T22:57:10.188Z] Sending build context to Docker daemon 617kB [2021-05-18T22:57:10.188Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:57:10.188Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-18T22:57:10.188Z] ---> 9a3b5cc994a6 [2021-05-18T22:57:10.188Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:10.188Z] ---> Running in 529bdb02ea29 [2021-05-18T22:57:10.365Z] Removing intermediate container 63c93df9b50e [2021-05-18T22:57:10.365Z] ---> 7cc743361076 [2021-05-18T22:57:10.365Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:57:10.365Z] ---> Running in 2ffca538c14a [2021-05-18T22:57:10.763Z] Removing intermediate container 529bdb02ea29 [2021-05-18T22:57:10.763Z] ---> 3cc66d29c594 [2021-05-18T22:57:10.763Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:57:10.763Z] ---> Running in 6665353a1c1d [2021-05-18T22:57:11.025Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:11.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T22:57:11.965Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:12.539Z] OK: 156 MiB in 53 packages [2021-05-18T22:57:12.539Z] Removing intermediate container 6665353a1c1d [2021-05-18T22:57:12.539Z] ---> 42e36b112329 [2021-05-18T22:57:12.539Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-18T22:57:12.789Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T22:57:12.798Z] ---> Running in 6dc39315823d [2021-05-18T22:57:12.798Z] Removing intermediate container 6dc39315823d [2021-05-18T22:57:12.798Z] ---> 0e2cfcd98347 [2021-05-18T22:57:12.798Z] Step 6/22 : COPY . . [2021-05-18T22:57:13.060Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T22:57:13.065Z] ---> 807b3cb98023 [2021-05-18T22:57:13.065Z] Step 7/22 : RUN go mod tidy [2021-05-18T22:57:13.065Z] ---> Running in 79254d70db74 [2021-05-18T22:57:13.330Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T22:57:13.330Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T22:57:13.330Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:57:13.601Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:57:13.651Z] Removing intermediate container 79254d70db74 [2021-05-18T22:57:13.651Z] ---> e43a3655c981 [2021-05-18T22:57:13.651Z] Step 8/22 : RUN go mod download [2021-05-18T22:57:13.651Z] ---> Running in 1b9286fe77b3 [2021-05-18T22:57:14.193Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T22:57:14.222Z] Removing intermediate container 1b9286fe77b3 [2021-05-18T22:57:14.222Z] ---> 1db72e429fcc [2021-05-18T22:57:14.222Z] Step 9/22 : RUN make build [2021-05-18T22:57:14.222Z] ---> Running in b4398bf4909e [2021-05-18T22:57:14.470Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:57:14.482Z] go mod tidy [2021-05-18T22:57:14.745Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.10" -o cmd/device-modbus ./cmd [2021-05-18T22:57:15.061Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T22:57:15.333Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T22:57:15.333Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T22:57:15.604Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T22:57:15.604Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T22:57:15.909Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:57:15.909Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:57:15.909Z] OK: 145 MiB in 53 packages [2021-05-18T22:57:17.381Z] Removing intermediate container 2ffca538c14a [2021-05-18T22:57:17.381Z] ---> 36eb24e3706f [2021-05-18T22:57:17.381Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-18T22:57:17.654Z] ---> Running in b5c905c75d6b [2021-05-18T22:57:18.264Z] Removing intermediate container b5c905c75d6b [2021-05-18T22:57:18.264Z] ---> 9b75d5de1680 [2021-05-18T22:57:18.264Z] Step 7/8 : COPY . . [2021-05-18T22:57:19.255Z] ---> 89c369828863 [2021-05-18T22:57:19.255Z] Step 8/8 : RUN go mod download [2021-05-18T22:57:19.255Z] ---> Running in b89ea10c9d31 [2021-05-18T22:57:27.070Z] Removing intermediate container b4398bf4909e [2021-05-18T22:57:27.070Z] ---> 18a7b7802858 [2021-05-18T22:57:27.070Z] Step 10/22 : FROM alpine:3.12 [2021-05-18T22:57:27.070Z] 3.12: Pulling from library/alpine [2021-05-18T22:57:27.070Z] 339de151aab4: Pulling fs layer [2021-05-18T22:57:27.070Z] 339de151aab4: Verifying Checksum [2021-05-18T22:57:27.071Z] 339de151aab4: Download complete [2021-05-18T22:57:27.071Z] 339de151aab4: Pull complete [2021-05-18T22:57:27.071Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T22:57:27.071Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T22:57:27.071Z] ---> 13621d1b12d4 [2021-05-18T22:57:27.071Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-18T22:57:27.071Z] ---> Running in 66b275905883 [2021-05-18T22:57:27.071Z] Removing intermediate container 66b275905883 [2021-05-18T22:57:27.071Z] ---> 536b913c0ae9 [2021-05-18T22:57:27.071Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:27.071Z] ---> Running in 02dd8821ebe1 [2021-05-18T22:57:27.334Z] Removing intermediate container 02dd8821ebe1 [2021-05-18T22:57:27.334Z] ---> 0386a2eb0730 [2021-05-18T22:57:27.334Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T22:57:27.598Z] ---> Running in ad6c6ce66d2c [2021-05-18T22:57:27.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:28.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:28.692Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T22:57:28.954Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T22:57:28.954Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T22:57:29.217Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T22:57:30.177Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T22:57:30.177Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T22:57:30.177Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T22:57:30.177Z] OK: 8 MiB in 20 packages [2021-05-18T22:57:30.451Z] Removing intermediate container ad6c6ce66d2c [2021-05-18T22:57:30.451Z] ---> 8b4b969ac1b1 [2021-05-18T22:57:30.451Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-18T22:57:31.026Z] ---> 3ec4587dc765 [2021-05-18T22:57:31.026Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-18T22:57:31.026Z] ---> 8b998a75bd38 [2021-05-18T22:57:31.026Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-18T22:57:31.288Z] ---> d38ad819c530 [2021-05-18T22:57:31.288Z] Step 17/22 : EXPOSE 49991 [2021-05-18T22:57:31.288Z] ---> Running in 6bc6f9a8b42f [2021-05-18T22:57:31.288Z] Removing intermediate container 6bc6f9a8b42f [2021-05-18T22:57:31.288Z] ---> 4e7ec08d9624 [2021-05-18T22:57:31.288Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-18T22:57:31.548Z] ---> Running in f0710dd93b9c [2021-05-18T22:57:31.548Z] Removing intermediate container f0710dd93b9c [2021-05-18T22:57:31.548Z] ---> 4166a6622b37 [2021-05-18T22:57:31.548Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-18T22:57:31.548Z] ---> Running in 9c002f72e0bb [2021-05-18T22:57:31.548Z] Removing intermediate container 9c002f72e0bb [2021-05-18T22:57:31.548Z] ---> ca353db860b2 [2021-05-18T22:57:31.548Z] Step 20/22 : LABEL arch=amd64 [2021-05-18T22:57:31.548Z] ---> Running in 16b78eabe012 [2021-05-18T22:57:31.807Z] Removing intermediate container 16b78eabe012 [2021-05-18T22:57:31.807Z] ---> dae21d238ffe [2021-05-18T22:57:31.807Z] Step 21/22 : LABEL git_sha=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T22:57:31.807Z] ---> Running in bc7963e089fe [2021-05-18T22:57:31.807Z] Removing intermediate container bc7963e089fe [2021-05-18T22:57:31.807Z] ---> 9dc340bc13ff [2021-05-18T22:57:31.807Z] Step 22/22 : LABEL version=1.3.2-dev.10 [2021-05-18T22:57:31.807Z] ---> Running in 291790fd73f8 [2021-05-18T22:57:32.067Z] Removing intermediate container 291790fd73f8 [2021-05-18T22:57:32.068Z] ---> 6961ff85da06 [2021-05-18T22:57:32.068Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-18T22:57:32.068Z] Successfully built 6961ff85da06 [2021-05-18T22:57:32.068Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:57:32.266Z] provisioning config files... [2021-05-18T22:57:32.279Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config1250645378994897261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:57:32.608Z] ---> docker-login.sh [2021-05-18T22:57:32.608Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:57:32.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:57:32.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:57:32.608Z] Configure a credential helper to remove this warning. See [2021-05-18T22:57:32.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:57:32.608Z] [2021-05-18T22:57:32.608Z] Login Succeeded [2021-05-18T22:57:32.608Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:57:32.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:57:32.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:57:32.872Z] Configure a credential helper to remove this warning. See [2021-05-18T22:57:32.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:57:32.872Z] [2021-05-18T22:57:32.872Z] Login Succeeded [2021-05-18T22:57:32.872Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:57:32.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:57:32.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:57:32.872Z] Configure a credential helper to remove this warning. See [2021-05-18T22:57:32.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:57:32.872Z] [2021-05-18T22:57:32.872Z] Login Succeeded [2021-05-18T22:57:32.872Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:57:32.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:57:33.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:57:33.134Z] Configure a credential helper to remove this warning. See [2021-05-18T22:57:33.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:57:33.134Z] [2021-05-18T22:57:33.134Z] Login Succeeded [2021-05-18T22:57:33.134Z] docker.io [2021-05-18T22:57:33.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:57:33.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:57:33.397Z] Configure a credential helper to remove this warning. See [2021-05-18T22:57:33.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:57:33.397Z] [2021-05-18T22:57:33.397Z] Login Succeeded [2021-05-18T22:57:33.397Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:57:33.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:57:33.490Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-05-18T22:57:33.490Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T22:57:33.490Z] latest [2021-05-18T22:57:33.490Z] 1.3.2-dev.10 [2021-05-18T22:57:33.490Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T22:57:33.490Z] master [2021-05-18T22:57:33.490Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:33.849Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:34.225Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T22:57:34.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-18T22:57:34.225Z] 1cf3dbe8e4dc: Preparing [2021-05-18T22:57:34.225Z] aa3b804eb01b: Preparing [2021-05-18T22:57:34.225Z] e6a557cce87c: Preparing [2021-05-18T22:57:34.225Z] 388db6b3a360: Preparing [2021-05-18T22:57:34.225Z] d18431569faf: Preparing [2021-05-18T22:57:34.225Z] 32f366d666a5: Preparing [2021-05-18T22:57:34.225Z] 32f366d666a5: Waiting [2021-05-18T22:57:34.522Z] aa3b804eb01b: Pushed [2021-05-18T22:57:34.522Z] 1cf3dbe8e4dc: Pushed [2021-05-18T22:57:34.522Z] 388db6b3a360: Pushed [2021-05-18T22:57:34.522Z] d18431569faf: Pushed [2021-05-18T22:57:34.522Z] 32f366d666a5: Layer already exists [2021-05-18T22:57:35.462Z] e6a557cce87c: Pushed [2021-05-18T22:57:35.723Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:36.043Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:36.341Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-18T22:57:36.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-18T22:57:36.341Z] 1cf3dbe8e4dc: Preparing [2021-05-18T22:57:36.341Z] aa3b804eb01b: Preparing [2021-05-18T22:57:36.341Z] e6a557cce87c: Preparing [2021-05-18T22:57:36.341Z] 388db6b3a360: Preparing [2021-05-18T22:57:36.341Z] d18431569faf: Preparing [2021-05-18T22:57:36.341Z] 32f366d666a5: Preparing [2021-05-18T22:57:36.341Z] 32f366d666a5: Waiting [2021-05-18T22:57:36.341Z] e6a557cce87c: Layer already exists [2021-05-18T22:57:36.341Z] aa3b804eb01b: Layer already exists [2021-05-18T22:57:36.341Z] d18431569faf: Layer already exists [2021-05-18T22:57:36.341Z] 388db6b3a360: Layer already exists [2021-05-18T22:57:36.341Z] 1cf3dbe8e4dc: Layer already exists [2021-05-18T22:57:36.341Z] 32f366d666a5: Layer already exists [2021-05-18T22:57:36.341Z] latest: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:36.650Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:36.953Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 [2021-05-18T22:57:36.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-18T22:57:36.953Z] 1cf3dbe8e4dc: Preparing [2021-05-18T22:57:36.953Z] aa3b804eb01b: Preparing [2021-05-18T22:57:36.953Z] e6a557cce87c: Preparing [2021-05-18T22:57:36.953Z] 388db6b3a360: Preparing [2021-05-18T22:57:36.953Z] d18431569faf: Preparing [2021-05-18T22:57:36.953Z] 32f366d666a5: Preparing [2021-05-18T22:57:36.953Z] 32f366d666a5: Waiting [2021-05-18T22:57:36.953Z] 388db6b3a360: Layer already exists [2021-05-18T22:57:36.953Z] d18431569faf: Layer already exists [2021-05-18T22:57:36.953Z] 1cf3dbe8e4dc: Layer already exists [2021-05-18T22:57:36.953Z] aa3b804eb01b: Layer already exists [2021-05-18T22:57:36.953Z] e6a557cce87c: Layer already exists [2021-05-18T22:57:36.953Z] 32f366d666a5: Layer already exists [2021-05-18T22:57:36.953Z] 1.3.2-dev.10: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:37.261Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:37.563Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T22:57:37.563Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-18T22:57:37.563Z] 1cf3dbe8e4dc: Preparing [2021-05-18T22:57:37.563Z] aa3b804eb01b: Preparing [2021-05-18T22:57:37.563Z] e6a557cce87c: Preparing [2021-05-18T22:57:37.563Z] 388db6b3a360: Preparing [2021-05-18T22:57:37.563Z] d18431569faf: Preparing [2021-05-18T22:57:37.563Z] 32f366d666a5: Preparing [2021-05-18T22:57:37.563Z] 32f366d666a5: Waiting [2021-05-18T22:57:37.563Z] 388db6b3a360: Layer already exists [2021-05-18T22:57:37.563Z] aa3b804eb01b: Layer already exists [2021-05-18T22:57:37.563Z] d18431569faf: Layer already exists [2021-05-18T22:57:37.563Z] 1cf3dbe8e4dc: Layer already exists [2021-05-18T22:57:37.563Z] e6a557cce87c: Layer already exists [2021-05-18T22:57:37.563Z] 32f366d666a5: Layer already exists [2021-05-18T22:57:37.563Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:37.887Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:38.188Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-05-18T22:57:38.188Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-18T22:57:38.188Z] 1cf3dbe8e4dc: Preparing [2021-05-18T22:57:38.188Z] aa3b804eb01b: Preparing [2021-05-18T22:57:38.188Z] e6a557cce87c: Preparing [2021-05-18T22:57:38.188Z] 388db6b3a360: Preparing [2021-05-18T22:57:38.188Z] d18431569faf: Preparing [2021-05-18T22:57:38.188Z] 32f366d666a5: Preparing [2021-05-18T22:57:38.188Z] 32f366d666a5: Waiting [2021-05-18T22:57:38.189Z] 1cf3dbe8e4dc: Layer already exists [2021-05-18T22:57:38.189Z] aa3b804eb01b: Layer already exists [2021-05-18T22:57:38.189Z] d18431569faf: Layer already exists [2021-05-18T22:57:38.189Z] e6a557cce87c: Layer already exists [2021-05-18T22:57:38.189Z] 388db6b3a360: Layer already exists [2021-05-18T22:57:38.189Z] 32f366d666a5: Layer already exists [2021-05-18T22:57:38.189Z] master: digest: sha256:ce7d211503c76f0a904506ff874da8d63a1e351d542a3be8dcacb32a39f5dd79 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:57:38.250Z] ===================================================== [Pipeline] echo [2021-05-18T22:57:38.267Z] taggedImages: [2021-05-18T22:57:38.267Z] - nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T22:57:38.267Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-18T22:57:38.267Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.10 [2021-05-18T22:57:38.267Z] - nexus3.edgexfoundry.org:10004/device-modbus:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T22:57:38.267Z] - 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-18T22:57:39.061Z] ---> job-cost.sh [2021-05-18T22:57:39.061Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-09Ne [2021-05-18T22:57:46.068Z] Removing intermediate container b89ea10c9d31 [2021-05-18T22:57:46.068Z] ---> e47b94e7a896 [2021-05-18T22:57:46.068Z] Successfully built e47b94e7a896 [2021-05-18T22:57:46.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:46.406Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T22:57:46.406Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:46.638Z] prd-ubuntu18.04-docker-arm64-4c-16g-14869 does not seem to be running inside a container [2021-05-18T22:57:46.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-18T22:57:47.256Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T22:57:48.259Z] $ docker top 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:49.189Z] + go version [2021-05-18T22:57:49.189Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-18T22:57:49.217Z] $ docker stop --time=1 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 [2021-05-18T22:57:50.968Z] $ docker rm -f 77322871b02f86f38fcf2aaf564a5cab19df4b0eab2234e2f8f878e5cb09ec81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:51.667Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T22:57:51.667Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:51.926Z] prd-ubuntu18.04-docker-arm64-4c-16g-14869 does not seem to be running inside a container [2021-05-18T22:57:52.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/49 -v /w/workspace/device-modbus-go/49:/w/workspace/device-modbus-go/49:rw,z -v /w/workspace/device-modbus-go/49@tmp:/w/workspace/device-modbus-go/49@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-18T22:57:53.646Z] $ docker top 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:54.608Z] + go mod tidy [Pipeline] sh [2021-05-18T22:57:55.872Z] + make test [2021-05-18T22:57:55.872Z] go mod tidy [2021-05-18T22:57:56.160Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-18T22:57:57.622Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-18T22:58:02.192Z] lf-activate-venv(): INFO: Adding /tmp/venv-09Ne/bin to PATH [2021-05-18T22:58:02.192Z] INFO: No Stack... [2021-05-18T22:58:02.192Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T22:58:02.192Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T22:58:02.494Z] + cat /w/workspace/device-modbus-go/49/archives/cost.csv [2021-05-18T22:58:02.494Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T22:58:02.523Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [2021-05-18T22:58:02.536Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] did not exist. Created. [2021-05-18T22:58:02.536Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T22:58:02.859Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T22:58:02.926Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T22:58:02.939Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T22:58:54.202Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-18T22:58:54.202Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.7% of statements [2021-05-18T22:58:54.202Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T22:59:16.422Z] gofmt -l . [2021-05-18T22:59:16.422Z] [ "`gofmt -l .`" = "" ] [2021-05-18T22:59:16.422Z] ./bin/test-attribution-txt.sh [2021-05-18T22:59:16.422Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-18T22:59:17.045Z] $ docker stop --time=1 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c [2021-05-18T22:59:19.257Z] $ docker rm -f 17006b85a2428b1f74a3ee6b7419f8dc20bf8eb7758f6570f0d79fafe7dca10c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:59:20.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T22:59:20.111Z] Warning: overwriting stash ‘coverage-report’ [2021-05-18T22:59:20.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:59:21.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T22:59:21.500Z] + ls -al . [2021-05-18T22:59:21.500Z] total 144 [2021-05-18T22:59:21.500Z] drwxrwxr-x 9 jenkins jenkins 4096 May 18 22:59 . [2021-05-18T22:59:21.500Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:56 .. [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 140 May 18 22:56 .dockerignore [2021-05-18T22:59:21.500Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:56 .git [2021-05-18T22:59:21.500Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 .github [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 338 May 18 22:56 .gitignore [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 18 22:56 Attribution.txt [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 1473 May 18 22:56 Dockerfile [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 995 May 18 22:56 Dockerfile.build [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 679 May 18 22:56 Jenkinsfile [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:56 LICENSE [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 914 May 18 22:56 Makefile [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 18 22:56 README.md [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:53 VERSION [2021-05-18T22:59:21.500Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 bin [2021-05-18T22:59:21.500Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:56 cmd [2021-05-18T22:59:21.500Z] -rw-r--r-- 1 jenkins jenkins 22385 May 18 22:58 coverage.out [2021-05-18T22:59:21.500Z] -rw-r--r-- 1 jenkins jenkins 413 May 18 22:59 go.mod [2021-05-18T22:59:21.500Z] -rw-r--r-- 1 jenkins jenkins 21834 May 18 22:57 go.sum [2021-05-18T22:59:21.500Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:56 internal [2021-05-18T22:59:21.500Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:56 simulator [2021-05-18T22:59:21.500Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:56 snap [2021-05-18T22:59:21.500Z] -rw-rw-r-- 1 jenkins jenkins 229 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:59:21.851Z] + 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=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e --label arch=arm64 --label version=1.3.2-dev.10 . [2021-05-18T22:59:22.127Z] Sending build context to Docker daemon 615.9kB [2021-05-18T22:59:22.398Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:59:22.398Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-18T22:59:22.398Z] ---> e47b94e7a896 [2021-05-18T22:59:22.398Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:59:22.398Z] ---> Running in f7f668c7ee95 [2021-05-18T22:59:25.017Z] Removing intermediate container f7f668c7ee95 [2021-05-18T22:59:25.017Z] ---> 033e2e7f0eab [2021-05-18T22:59:25.017Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:59:25.017Z] ---> Running in 27d93cbe1cac [2021-05-18T22:59:25.992Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:26.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:27.943Z] OK: 145 MiB in 53 packages [2021-05-18T22:59:29.382Z] Removing intermediate container 27d93cbe1cac [2021-05-18T22:59:29.382Z] ---> 1c7a14bceed0 [2021-05-18T22:59:29.382Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-18T22:59:29.382Z] ---> Running in 38cc25149ce3 [2021-05-18T22:59:29.653Z] Removing intermediate container 38cc25149ce3 [2021-05-18T22:59:29.654Z] ---> 8d0ba27b9941 [2021-05-18T22:59:29.654Z] Step 6/22 : COPY . . [2021-05-18T22:59:30.627Z] ---> e417036928f7 [2021-05-18T22:59:30.627Z] Step 7/22 : RUN go mod tidy [2021-05-18T22:59:30.900Z] ---> Running in d4026a490e07 [2021-05-18T22:59:33.514Z] Removing intermediate container d4026a490e07 [2021-05-18T22:59:33.514Z] ---> 45304bbef4b6 [2021-05-18T22:59:33.514Z] Step 8/22 : RUN go mod download [2021-05-18T22:59:33.514Z] ---> Running in 50fbcef595e7 [2021-05-18T22:59:36.139Z] Removing intermediate container 50fbcef595e7 [2021-05-18T22:59:36.139Z] ---> 8df7b70aa388 [2021-05-18T22:59:36.139Z] Step 9/22 : RUN make build [2021-05-18T22:59:36.139Z] ---> Running in 20892aa31a26 [2021-05-18T22:59:37.125Z] go mod tidy [2021-05-18T22:59:37.724Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.10" -o cmd/device-modbus ./cmd [2021-05-18T23:00:16.767Z] Removing intermediate container 20892aa31a26 [2021-05-18T23:00:16.767Z] ---> a7a8e976c017 [2021-05-18T23:00:16.767Z] Step 10/22 : FROM alpine:3.12 [2021-05-18T23:00:16.767Z] 3.12: Pulling from library/alpine [2021-05-18T23:00:16.767Z] d2f70382dc9a: Pulling fs layer [2021-05-18T23:00:16.767Z] d2f70382dc9a: Verifying Checksum [2021-05-18T23:00:16.767Z] d2f70382dc9a: Download complete [2021-05-18T23:00:16.767Z] d2f70382dc9a: Pull complete [2021-05-18T23:00:16.767Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T23:00:16.767Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T23:00:16.767Z] ---> 9852663dfa18 [2021-05-18T23:00:16.767Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-18T23:00:16.767Z] ---> Running in 5b9a070883f4 [2021-05-18T23:00:16.767Z] Removing intermediate container 5b9a070883f4 [2021-05-18T23:00:16.767Z] ---> ae012fef427e [2021-05-18T23:00:16.767Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T23:00:16.767Z] ---> Running in 8971d1a22c1f [2021-05-18T23:00:17.043Z] Removing intermediate container 8971d1a22c1f [2021-05-18T23:00:17.043Z] ---> ed3e7be440c7 [2021-05-18T23:00:17.043Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T23:00:17.318Z] ---> Running in 0d2d484ec5c6 [2021-05-18T23:00:18.327Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-18T23:00:19.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-18T23:00:19.905Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T23:00:19.905Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T23:00:19.905Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T23:00:19.905Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T23:00:20.176Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T23:00:20.452Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T23:00:20.452Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T23:00:20.452Z] OK: 8 MiB in 20 packages [2021-05-18T23:00:21.433Z] Removing intermediate container 0d2d484ec5c6 [2021-05-18T23:00:21.433Z] ---> 870fdc37ed50 [2021-05-18T23:00:21.433Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-18T23:00:22.973Z] ---> 731e816e843a [2021-05-18T23:00:22.973Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-18T23:00:23.569Z] ---> 86344a1ebeae [2021-05-18T23:00:23.569Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-18T23:00:24.163Z] ---> d384172c5058 [2021-05-18T23:00:24.163Z] Step 17/22 : EXPOSE 49991 [2021-05-18T23:00:24.436Z] ---> Running in 7ad82ef10f95 [2021-05-18T23:00:25.031Z] Removing intermediate container 7ad82ef10f95 [2021-05-18T23:00:25.031Z] ---> a37714b80813 [2021-05-18T23:00:25.031Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-18T23:00:25.031Z] ---> Running in 54af73229fad [2021-05-18T23:00:25.628Z] Removing intermediate container 54af73229fad [2021-05-18T23:00:25.628Z] ---> 892653a79acd [2021-05-18T23:00:25.628Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-18T23:00:25.628Z] ---> Running in e5db88785b9f [2021-05-18T23:00:26.229Z] Removing intermediate container e5db88785b9f [2021-05-18T23:00:26.229Z] ---> f8ea2132318f [2021-05-18T23:00:26.229Z] Step 20/22 : LABEL arch=arm64 [2021-05-18T23:00:26.229Z] ---> Running in b5b2d89926e1 [2021-05-18T23:00:26.828Z] Removing intermediate container b5b2d89926e1 [2021-05-18T23:00:26.828Z] ---> ea9d7d97a511 [2021-05-18T23:00:26.828Z] Step 21/22 : LABEL git_sha=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T23:00:27.120Z] ---> Running in c6a64ac4b2d5 [2021-05-18T23:00:27.393Z] Removing intermediate container c6a64ac4b2d5 [2021-05-18T23:00:27.393Z] ---> b22276c19690 [2021-05-18T23:00:27.393Z] Step 22/22 : LABEL version=1.3.2-dev.10 [2021-05-18T23:00:27.668Z] ---> Running in 9b386fc3950a [2021-05-18T23:00:28.272Z] Removing intermediate container 9b386fc3950a [2021-05-18T23:00:28.272Z] ---> 3f49c66edf2a [2021-05-18T23:00:28.272Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-18T23:00:28.272Z] Successfully built 3f49c66edf2a [2021-05-18T23:00:28.272Z] 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-18T23:00:28.583Z] provisioning config files... [2021-05-18T23:00:28.604Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/49@tmp/config5647697256656048551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:00:28.977Z] ---> docker-login.sh [2021-05-18T23:00:28.977Z] nexus3.edgexfoundry.org:10001 [2021-05-18T23:00:29.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:00:29.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:00:29.526Z] Configure a credential helper to remove this warning. See [2021-05-18T23:00:29.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:00:29.526Z] [2021-05-18T23:00:29.526Z] Login Succeeded [2021-05-18T23:00:29.526Z] nexus3.edgexfoundry.org:10002 [2021-05-18T23:00:29.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:00:30.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:00:30.074Z] Configure a credential helper to remove this warning. See [2021-05-18T23:00:30.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:00:30.074Z] [2021-05-18T23:00:30.074Z] Login Succeeded [2021-05-18T23:00:30.074Z] nexus3.edgexfoundry.org:10003 [2021-05-18T23:00:30.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:00:30.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:00:30.346Z] Configure a credential helper to remove this warning. See [2021-05-18T23:00:30.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:00:30.346Z] [2021-05-18T23:00:30.346Z] Login Succeeded [2021-05-18T23:00:30.346Z] nexus3.edgexfoundry.org:10004 [2021-05-18T23:00:30.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:00:30.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:00:30.945Z] Configure a credential helper to remove this warning. See [2021-05-18T23:00:30.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:00:30.945Z] [2021-05-18T23:00:30.945Z] Login Succeeded [2021-05-18T23:00:30.945Z] docker.io [2021-05-18T23:00:31.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:00:31.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:00:31.811Z] Configure a credential helper to remove this warning. See [2021-05-18T23:00:31.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:00:31.812Z] [2021-05-18T23:00:31.812Z] Login Succeeded [2021-05-18T23:00:31.812Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T23:00:31.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:00:31.914Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-05-18T23:00:31.914Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T23:00:31.914Z] latest [2021-05-18T23:00:31.914Z] 1.3.2-dev.10 [2021-05-18T23:00:31.914Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T23:00:31.914Z] master [2021-05-18T23:00:31.914Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:32.302Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:32.661Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T23:00:32.661Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-18T23:00:32.661Z] e7e1484c44ba: Preparing [2021-05-18T23:00:32.661Z] bba4e7004a71: Preparing [2021-05-18T23:00:32.661Z] 5cc29ee4c677: Preparing [2021-05-18T23:00:32.661Z] d2420decf8ab: Preparing [2021-05-18T23:00:32.661Z] bf1dc65c409a: Preparing [2021-05-18T23:00:32.661Z] 3fbe34a1663b: Preparing [2021-05-18T23:00:32.661Z] 3fbe34a1663b: Waiting [2021-05-18T23:00:32.952Z] bf1dc65c409a: Pushed [2021-05-18T23:00:32.952Z] e7e1484c44ba: Pushed [2021-05-18T23:00:32.952Z] bba4e7004a71: Pushed [2021-05-18T23:00:32.952Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:00:33.547Z] d2420decf8ab: Pushed [2021-05-18T23:00:36.165Z] 5cc29ee4c677: Pushed [2021-05-18T23:00:36.165Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:36.525Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:36.871Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-18T23:00:36.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-18T23:00:36.871Z] e7e1484c44ba: Preparing [2021-05-18T23:00:36.871Z] bba4e7004a71: Preparing [2021-05-18T23:00:36.871Z] 5cc29ee4c677: Preparing [2021-05-18T23:00:36.871Z] d2420decf8ab: Preparing [2021-05-18T23:00:36.871Z] bf1dc65c409a: Preparing [2021-05-18T23:00:36.871Z] 3fbe34a1663b: Preparing [2021-05-18T23:00:36.871Z] 3fbe34a1663b: Waiting [2021-05-18T23:00:36.871Z] bf1dc65c409a: Layer already exists [2021-05-18T23:00:36.871Z] d2420decf8ab: Layer already exists [2021-05-18T23:00:36.871Z] e7e1484c44ba: Layer already exists [2021-05-18T23:00:36.871Z] 5cc29ee4c677: Layer already exists [2021-05-18T23:00:36.871Z] bba4e7004a71: Layer already exists [2021-05-18T23:00:37.147Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:00:37.147Z] latest: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:37.502Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:37.856Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 [2021-05-18T23:00:37.856Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-18T23:00:37.856Z] e7e1484c44ba: Preparing [2021-05-18T23:00:37.856Z] bba4e7004a71: Preparing [2021-05-18T23:00:37.856Z] 5cc29ee4c677: Preparing [2021-05-18T23:00:37.856Z] d2420decf8ab: Preparing [2021-05-18T23:00:37.856Z] bf1dc65c409a: Preparing [2021-05-18T23:00:37.856Z] 3fbe34a1663b: Preparing [2021-05-18T23:00:37.856Z] bf1dc65c409a: Layer already exists [2021-05-18T23:00:37.856Z] d2420decf8ab: Layer already exists [2021-05-18T23:00:37.856Z] bba4e7004a71: Layer already exists [2021-05-18T23:00:37.856Z] e7e1484c44ba: Layer already exists [2021-05-18T23:00:37.856Z] 5cc29ee4c677: Layer already exists [2021-05-18T23:00:38.132Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:00:38.132Z] 1.3.2-dev.10: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:38.488Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:39.814Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T23:00:39.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-18T23:00:39.814Z] e7e1484c44ba: Preparing [2021-05-18T23:00:39.814Z] bba4e7004a71: Preparing [2021-05-18T23:00:39.814Z] 5cc29ee4c677: Preparing [2021-05-18T23:00:39.814Z] d2420decf8ab: Preparing [2021-05-18T23:00:39.814Z] bf1dc65c409a: Preparing [2021-05-18T23:00:39.814Z] 3fbe34a1663b: Preparing [2021-05-18T23:00:39.814Z] bf1dc65c409a: Layer already exists [2021-05-18T23:00:39.814Z] d2420decf8ab: Layer already exists [2021-05-18T23:00:39.814Z] bba4e7004a71: Layer already exists [2021-05-18T23:00:39.814Z] 5cc29ee4c677: Layer already exists [2021-05-18T23:00:39.814Z] e7e1484c44ba: Layer already exists [2021-05-18T23:00:39.814Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:00:40.086Z] a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:40.493Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:40.844Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-05-18T23:00:40.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-18T23:00:40.844Z] e7e1484c44ba: Preparing [2021-05-18T23:00:40.844Z] bba4e7004a71: Preparing [2021-05-18T23:00:40.844Z] 5cc29ee4c677: Preparing [2021-05-18T23:00:40.844Z] d2420decf8ab: Preparing [2021-05-18T23:00:40.844Z] bf1dc65c409a: Preparing [2021-05-18T23:00:40.844Z] 3fbe34a1663b: Preparing [2021-05-18T23:00:40.844Z] 3fbe34a1663b: Waiting [2021-05-18T23:00:40.844Z] e7e1484c44ba: Layer already exists [2021-05-18T23:00:40.844Z] 5cc29ee4c677: Layer already exists [2021-05-18T23:00:40.844Z] bf1dc65c409a: Layer already exists [2021-05-18T23:00:40.844Z] bba4e7004a71: Layer already exists [2021-05-18T23:00:40.844Z] d2420decf8ab: Layer already exists [2021-05-18T23:00:41.120Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:00:41.120Z] master: digest: sha256:2bb95eb45c72166e5d6385010127b9e68cf124e4a344ca4587bea105096d878f size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:00:41.197Z] ===================================================== [Pipeline] echo [2021-05-18T23:00:41.223Z] taggedImages: [2021-05-18T23:00:41.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [2021-05-18T23:00:41.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-18T23:00:41.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.10 [2021-05-18T23:00:41.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a6ac7160ae92fa64df8ae0bff4a3b87682483d1e-1.3.2-dev.10 [2021-05-18T23:00:41.223Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:00:41.676Z] ---> job-cost.sh [2021-05-18T23:00:41.677Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NZFV [2021-05-18T23:01:20.646Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T23:02:42.390Z] lf-activate-venv(): INFO: Adding /tmp/venv-NZFV/bin to PATH [2021-05-18T23:02:42.390Z] INFO: No Stack... [2021-05-18T23:02:42.390Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T23:02:42.390Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T23:02:42.730Z] + cat /w/workspace/device-modbus-go/49/archives/cost.csv [2021-05-18T23:02:42.730Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T23:02:42.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [2021-05-18T23:02:42.803Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] did not exist. Created. [2021-05-18T23:02:42.804Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T23:02:43.172Z] /w/workspace/device-modbus-go/49@tmp/durable-19a475ea/script.sh: 1: /w/workspace/device-modbus-go/49@tmp/durable-19a475ea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T23:02:43.520Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T23:02:43.553Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T23:02:43.713Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T23:02:43.764Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-49-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-18T23:02:44.474Z] provisioning config files... [2021-05-18T23:02:44.488Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6093986620232505965tmp [Pipeline] { [Pipeline] sh [2021-05-18T23:02:44.806Z] + set +x [2021-05-18T23:02:44.806Z] + bash -s -- [2021-05-18T23:02:44.806Z] + curl -s https://codecov.io/bash [2021-05-18T23:02:44.806Z] [2021-05-18T23:02:44.806Z] _____ _ [2021-05-18T23:02:44.806Z] / ____| | | [2021-05-18T23:02:44.806Z] | | ___ __| | ___ ___ _____ __ [2021-05-18T23:02:44.806Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-18T23:02:44.806Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-18T23:02:44.806Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-18T23:02:44.806Z] Bash-1.0.2 [2021-05-18T23:02:44.806Z] [2021-05-18T23:02:44.806Z] [2021-05-18T23:02:44.806Z] ==> git version 2.24.4 found [2021-05-18T23:02:44.806Z] ==> 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-18T23:02:44.806Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-18T23:02:44.806Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-18T23:02:44.806Z] ==> Jenkins CI detected. [2021-05-18T23:02:44.806Z] project root: . [2021-05-18T23:02:44.806Z] --> token set from env [2021-05-18T23:02:45.071Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-18T23:02:45.071Z] ==> Running gcov in . (disable via -X gcov) [2021-05-18T23:02:45.071Z] ==> Python coveragepy not found [2021-05-18T23:02:45.071Z] ==> Searching for coverage reports in: [2021-05-18T23:02:45.071Z] + . [2021-05-18T23:02:45.071Z] -> Found 1 reports [2021-05-18T23:02:45.071Z] ==> Detecting git/mercurial file structure [2021-05-18T23:02:45.071Z] ==> Reading reports [2021-05-18T23:02:45.072Z] + ./coverage.out bytes=22385 [2021-05-18T23:02:45.072Z] ==> Appending adjustments [2021-05-18T23:02:45.072Z] https://docs.codecov.io/docs/fixing-reports [2021-05-18T23:02:45.072Z] + Found adjustments [2021-05-18T23:02:45.072Z] ==> Gzipping contents [2021-05-18T23:02:45.072Z] 4.0K /tmp/codecov.r1LTrn.gz [2021-05-18T23:02:45.072Z] ==> Uploading reports [2021-05-18T23:02:45.072Z] url: https://codecov.io [2021-05-18T23:02:45.072Z] query: branch=master&commit=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:02:45.072Z] -> Pinging Codecov [2021-05-18T23:02:45.072Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=a6ac7160ae92fa64df8ae0bff4a3b87682483d1e&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:02:45.650Z] -> Uploading to [2021-05-18T23:02:45.650Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-18/55DBCA73C666E3227836607328DD7E49/a6ac7160ae92fa64df8ae0bff4a3b87682483d1e/52e70209-1df4-4f9f-94ae-ad7bfe6f0cd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4cd14dd2f0fedbc3b3f597ecd69d33192d76f43e1c04df8cbf95896a4662ff4 [2021-05-18T23:02:45.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-18T23:02:45.650Z] Dload Upload Total Spent Left Speed [2021-05-18T23:02:45.912Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3894 0 0 100 3894 0 10788 --:--:-- --:--:-- --:--:-- 10786 [2021-05-18T23:02:45.912Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] } [2021-05-18T23:02:45.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-18T23:02:46.692Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-18T23:02:46.719Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:47.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:02:47.029Z] [2021-05-18T23:02:47.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:47.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:02:47.346Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-18T23:02:47.346Z] 188c0c94c7c5: Pulling fs layer [2021-05-18T23:02:47.346Z] 0ef7d3d256c8: Pulling fs layer [2021-05-18T23:02:47.346Z] de9db76c5a1d: Pulling fs layer [2021-05-18T23:02:47.346Z] 0eba1c9be4d2: Pulling fs layer [2021-05-18T23:02:47.346Z] 0d57e429df01: Pulling fs layer [2021-05-18T23:02:47.346Z] 4e4be7b47b0d: Pulling fs layer [2021-05-18T23:02:47.346Z] e1f770b5df2f: Pulling fs layer [2021-05-18T23:02:47.346Z] 85a0685a4137: Pulling fs layer [2021-05-18T23:02:47.346Z] 0d57e429df01: Waiting [2021-05-18T23:02:47.346Z] 4e4be7b47b0d: Waiting [2021-05-18T23:02:47.346Z] e1f770b5df2f: Waiting [2021-05-18T23:02:47.346Z] 85a0685a4137: Waiting [2021-05-18T23:02:47.346Z] 0eba1c9be4d2: Waiting [2021-05-18T23:02:47.346Z] de9db76c5a1d: Verifying Checksum [2021-05-18T23:02:47.346Z] de9db76c5a1d: Download complete [2021-05-18T23:02:47.346Z] 0ef7d3d256c8: Download complete [2021-05-18T23:02:47.346Z] 0d57e429df01: Verifying Checksum [2021-05-18T23:02:47.346Z] 0d57e429df01: Download complete [2021-05-18T23:02:47.346Z] 188c0c94c7c5: Verifying Checksum [2021-05-18T23:02:47.346Z] 188c0c94c7c5: Download complete [2021-05-18T23:02:47.346Z] 4e4be7b47b0d: Verifying Checksum [2021-05-18T23:02:47.346Z] 4e4be7b47b0d: Download complete [2021-05-18T23:02:47.613Z] 188c0c94c7c5: Pull complete [2021-05-18T23:02:47.877Z] 0ef7d3d256c8: Pull complete [2021-05-18T23:02:47.877Z] de9db76c5a1d: Pull complete [2021-05-18T23:02:49.267Z] e1f770b5df2f: Verifying Checksum [2021-05-18T23:02:49.267Z] e1f770b5df2f: Download complete [2021-05-18T23:02:51.181Z] 0eba1c9be4d2: Verifying Checksum [2021-05-18T23:02:51.181Z] 0eba1c9be4d2: Download complete [2021-05-18T23:02:51.181Z] 85a0685a4137: Verifying Checksum [2021-05-18T23:02:51.181Z] 85a0685a4137: Download complete [2021-05-18T23:02:54.513Z] 0eba1c9be4d2: Pull complete [2021-05-18T23:02:54.513Z] 0d57e429df01: Pull complete [2021-05-18T23:02:54.513Z] 4e4be7b47b0d: Pull complete [2021-05-18T23:02:54.513Z] e1f770b5df2f: Pull complete [2021-05-18T23:02:57.883Z] 85a0685a4137: Pull complete [2021-05-18T23:02:57.883Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-18T23:02:57.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:02:57.883Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-18T23:02:57.969Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:02:58.014Z] $ 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-18T23:03:01.213Z] $ docker top ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-18T23:03:01.318Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-18T23:03:01.607Z] + set -o pipefail [2021-05-18T23:03:01.607Z] + snyk monitor '--org=edgex-jenkins' [2021-05-18T23:03:09.773Z] [2021-05-18T23:03:09.773Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-18T23:03:09.773Z] [2021-05-18T23:03:09.773Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/7d4024b3-2c58-4ee7-9fb9-f1300d1e5abf [2021-05-18T23:03:09.773Z] [2021-05-18T23:03:09.773Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-18T23:03:09.773Z] [2021-05-18T23:03:09.773Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-18T23:03:09.773Z] [2021-05-18T23:03:09.773Z] [Pipeline] } [2021-05-18T23:03:09.789Z] $ docker stop --time=1 ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 [2021-05-18T23:03:12.001Z] $ docker rm -f ff6d23b916fb6fc3631a6b010aa117f87b464d3faffb7481ab3f9ed106c4a796 [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-18T23:03:12.989Z] + git log --format=format:%s -1 a6ac7160ae92fa64df8ae0bff4a3b87682483d1e [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:13.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:03:13.311Z] . [Pipeline] withDockerContainer [2021-05-18T23:03:13.391Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:03:13.434Z] $ 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-18T23:03:13.795Z] $ docker top 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:03:13.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:03:13.931Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:03:14.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:03:14.058Z] $ docker exec 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f ssh-agent [2021-05-18T23:03:14.170Z] SSH_AUTH_SOCK=/tmp/ssh-op52vAvSqruE/agent.15 [2021-05-18T23:03:14.170Z] SSH_AGENT_PID=22 [2021-05-18T23:03:14.176Z] Running ssh-add (command line suppressed) [2021-05-18T23:03:14.279Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8855493575957303328.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8855493575957303328.key) [2021-05-18T23:03:14.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:03:14.599Z] + git semver tag [2021-05-18T23:03:14.599Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:03:14.599Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-18T23:03:14.599Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-18T23:03:14.599Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:03:14.599Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:03:14.599Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:03:14.599Z] # $SEMVER_BRANCH = master [2021-05-18T23:03:14.599Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-18T23:03:14.599Z] # a6ac7160ae92fa64df8ae0bff4a3b87682483d1e HEAD [2021-05-18T23:03:14.599Z] # -> Force: false [2021-05-18T23:03:14.599Z] # 4cd9cd4efa2928de556e8fd69c5624a6dd64232f refs/tags/v1.3.2-dev.10 [Pipeline] } [2021-05-18T23:03:14.610Z] $ docker exec --env ******** --env ******** 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f ssh-agent -k [2021-05-18T23:03:14.709Z] unset SSH_AUTH_SOCK; [2021-05-18T23:03:14.709Z] unset SSH_AGENT_PID; [2021-05-18T23:03:14.709Z] echo Agent pid 22 killed; [2021-05-18T23:03:14.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:03:15.073Z] + git semver [Pipeline] } [2021-05-18T23:03:15.090Z] $ docker stop --time=1 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f [2021-05-18T23:03:16.297Z] $ docker rm -f 77c8fff7276d44d9dbdb69ed02015c37cc97da9cb61c9bafb364c28717ada42f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:16.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:03:16.780Z] [2021-05-18T23:03:16.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:17.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:03:17.088Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-18T23:03:17.088Z] ab5ef0e58194: Pulling fs layer [2021-05-18T23:03:17.088Z] 9712f1f96733: Pulling fs layer [2021-05-18T23:03:17.088Z] 63f879dbbcfc: Pulling fs layer [2021-05-18T23:03:17.088Z] 0d9ebad4ef96: Pulling fs layer [2021-05-18T23:03:17.088Z] e9a5061849ea: Pulling fs layer [2021-05-18T23:03:17.088Z] d747dcd14b5f: Pulling fs layer [2021-05-18T23:03:17.088Z] 2de7ff778b66: Pulling fs layer [2021-05-18T23:03:17.088Z] e9a5061849ea: Waiting [2021-05-18T23:03:17.088Z] d747dcd14b5f: Waiting [2021-05-18T23:03:17.088Z] 2de7ff778b66: Waiting [2021-05-18T23:03:17.088Z] 0d9ebad4ef96: Waiting [2021-05-18T23:03:17.088Z] 9712f1f96733: Verifying Checksum [2021-05-18T23:03:17.088Z] 9712f1f96733: Download complete [2021-05-18T23:03:18.477Z] 63f879dbbcfc: Verifying Checksum [2021-05-18T23:03:18.477Z] 63f879dbbcfc: Download complete [2021-05-18T23:03:18.477Z] e9a5061849ea: Verifying Checksum [2021-05-18T23:03:18.477Z] e9a5061849ea: Download complete [2021-05-18T23:03:18.477Z] d747dcd14b5f: Verifying Checksum [2021-05-18T23:03:18.477Z] d747dcd14b5f: Download complete [2021-05-18T23:03:18.738Z] 2de7ff778b66: Verifying Checksum [2021-05-18T23:03:18.738Z] 2de7ff778b66: Download complete [2021-05-18T23:03:18.738Z] 0d9ebad4ef96: Verifying Checksum [2021-05-18T23:03:18.738Z] 0d9ebad4ef96: Download complete [2021-05-18T23:03:18.998Z] ab5ef0e58194: Verifying Checksum [2021-05-18T23:03:18.998Z] ab5ef0e58194: Download complete [2021-05-18T23:03:21.572Z] ab5ef0e58194: Pull complete [2021-05-18T23:03:21.572Z] 9712f1f96733: Pull complete [2021-05-18T23:03:22.166Z] 63f879dbbcfc: Pull complete [2021-05-18T23:03:25.492Z] 0d9ebad4ef96: Pull complete [2021-05-18T23:03:25.492Z] e9a5061849ea: Pull complete [2021-05-18T23:03:25.751Z] d747dcd14b5f: Pull complete [2021-05-18T23:03:26.701Z] 2de7ff778b66: Pull complete [2021-05-18T23:03:26.701Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-18T23:03:26.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:03:26.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-18T23:03:26.787Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:03:26.851Z] $ 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-18T23:03:30.317Z] $ docker top 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:03:30.422Z] provisioning config files... [2021-05-18T23:03:30.431Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4974699094546617427tmp [2021-05-18T23:03:30.443Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4357268443589192153tmp [2021-05-18T23:03:30.456Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4056234284949930935tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:03:30.478Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:30.776Z] ---> sigul-configuration.sh [2021-05-18T23:03:30.776Z] gpg: directory `/root/.gnupg' created [2021-05-18T23:03:30.776Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-18T23:03:30.776Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-18T23:03:30.776Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-18T23:03:30.776Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-18T23:03:30.776Z] gpg: CAST5 encrypted data [2021-05-18T23:03:30.776Z] gpg: encrypted with 1 passphrase [2021-05-18T23:03:30.776Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-18T23:03:31.075Z] + mkdir /home/jenkins [2021-05-18T23:03:31.075Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-18T23:03:31.371Z] + 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-18T23:03:31.384Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:31.700Z] ---> sigul-install.sh [2021-05-18T23:03:35.933Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-18T23:03:36.501Z] + git tag --list [2021-05-18T23:03:36.501Z] 0.7.1 [2021-05-18T23:03:36.501Z] v1.0.0 [2021-05-18T23:03:36.501Z] v1.1.0 [2021-05-18T23:03:36.501Z] v1.1.1 [2021-05-18T23:03:36.501Z] v1.2.2 [2021-05-18T23:03:36.501Z] v1.3.0 [2021-05-18T23:03:36.501Z] v1.3.1 [2021-05-18T23:03:36.501Z] v1.3.1-dev.1 [2021-05-18T23:03:36.501Z] v1.3.1-dev.2 [2021-05-18T23:03:36.501Z] v1.3.1-dev.3 [2021-05-18T23:03:36.501Z] v1.3.1-dev.4 [2021-05-18T23:03:36.501Z] v1.3.1-dev.5 [2021-05-18T23:03:36.501Z] v1.3.1-dev.6 [2021-05-18T23:03:36.501Z] v1.3.1-dev.7 [2021-05-18T23:03:36.501Z] v1.3.1-dev.8 [2021-05-18T23:03:36.501Z] v1.3.2-dev.1 [2021-05-18T23:03:36.501Z] v1.3.2-dev.10 [2021-05-18T23:03:36.501Z] v1.3.2-dev.2 [2021-05-18T23:03:36.501Z] v1.3.2-dev.3 [2021-05-18T23:03:36.501Z] v1.3.2-dev.4 [2021-05-18T23:03:36.501Z] v1.3.2-dev.5 [2021-05-18T23:03:36.501Z] v1.3.2-dev.6 [2021-05-18T23:03:36.501Z] v1.3.2-dev.7 [2021-05-18T23:03:36.501Z] v1.3.2-dev.8 [2021-05-18T23:03:36.501Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-18T23:03:36.801Z] + lftools sign git-tag v1.3.2-dev.10 [2021-05-18T23:03:37.376Z] Signing Git tag with Sigul... [2021-05-18T23:03:37.376Z] Signing v1.3.2-dev.10 [Pipeline] echo [2021-05-18T23:03:37.962Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:38.262Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-18T23:03:38.270Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-18T23:03:38.304Z] $ docker stop --time=1 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd [2021-05-18T23:03:40.101Z] $ docker rm -f 9888442c4e13bb589373dfb558225b4f8cefbfa2e3aaf8d7f3c835ad75c547cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:40.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:03:40.782Z] . [Pipeline] withDockerContainer [2021-05-18T23:03:40.856Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:03:40.895Z] $ 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-18T23:03:41.252Z] $ docker top e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:03:41.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:03:41.535Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:03:41.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:03:41.710Z] $ docker exec e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 ssh-agent [2021-05-18T23:03:41.883Z] SSH_AUTH_SOCK=/tmp/ssh-UJgXa5PlbEjT/agent.13 [2021-05-18T23:03:41.883Z] SSH_AGENT_PID=19 [2021-05-18T23:03:41.931Z] Running ssh-add (command line suppressed) [2021-05-18T23:03:42.032Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5545838308863418036.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5545838308863418036.key) [2021-05-18T23:03:42.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:03:42.356Z] + git semver bump pre [2021-05-18T23:03:42.356Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:03:42.356Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-18T23:03:42.356Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-18T23:03:42.356Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:03:42.356Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:03:42.356Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:03:42.356Z] # $SEMVER_BRANCH = master [2021-05-18T23:03:42.356Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-18T23:03:42.356Z] 1.3.2-dev.11 [Pipeline] } [2021-05-18T23:03:42.370Z] $ docker exec --env ******** --env ******** e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 ssh-agent -k [2021-05-18T23:03:42.471Z] unset SSH_AUTH_SOCK; [2021-05-18T23:03:42.471Z] unset SSH_AGENT_PID; [2021-05-18T23:03:42.471Z] echo Agent pid 19 killed; [2021-05-18T23:03:42.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:03:42.827Z] + git semver [Pipeline] } [2021-05-18T23:03:42.846Z] $ docker stop --time=1 e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 [2021-05-18T23:03:44.055Z] $ docker rm -f e0e7380ff67788e69750e25b2590ff53e306aec42f1fdcd96935c5191ecf79e0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:44.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:03:44.448Z] . [Pipeline] withDockerContainer [2021-05-18T23:03:44.526Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:03:44.570Z] $ 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-18T23:03:44.925Z] $ docker top 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:03:45.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:03:45.070Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:03:45.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:03:45.171Z] $ docker exec 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 ssh-agent [2021-05-18T23:03:45.266Z] SSH_AUTH_SOCK=/tmp/ssh-QMiiZpukH2FO/agent.13 [2021-05-18T23:03:45.266Z] SSH_AGENT_PID=19 [2021-05-18T23:03:45.271Z] Running ssh-add (command line suppressed) [2021-05-18T23:03:45.361Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7029245541334887703.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7029245541334887703.key) [2021-05-18T23:03:45.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:03:45.680Z] + git semver push [2021-05-18T23:03:45.680Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:03:45.680Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-18T23:03:45.680Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-18T23:03:45.680Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:03:45.680Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:03:45.680Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:03:45.680Z] # $SEMVER_BRANCH = master [2021-05-18T23:03:45.680Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-18T23:03:49.901Z] $ docker exec --env ******** --env ******** 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 ssh-agent -k [2021-05-18T23:03:49.997Z] unset SSH_AUTH_SOCK; [2021-05-18T23:03:49.998Z] unset SSH_AGENT_PID; [2021-05-18T23:03:49.998Z] echo Agent pid 19 killed; [2021-05-18T23:03:50.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:03:50.346Z] + git semver [Pipeline] } [2021-05-18T23:03:50.361Z] $ docker stop --time=1 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 [2021-05-18T23:03:51.544Z] $ docker rm -f 78db5a210f28928ed060a597d3d36401e5bf89606a3c5ffe86506884a6b5f5a2 [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-18T23:03:52.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:53.305Z] ---> package-listing.sh [2021-05-18T23:03:53.305Z] ++ facter osfamily [2021-05-18T23:03:53.305Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T23:03:53.568Z] + OS_FAMILY=redhat [2021-05-18T23:03:53.568Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-18T23:03:53.568Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T23:03:53.568Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T23:03:53.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T23:03:53.568Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T23:03:53.568Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-18T23:03:53.568Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T23:03:53.568Z] + case "${OS_FAMILY}" in [2021-05-18T23:03:53.568Z] + sort [2021-05-18T23:03:53.568Z] + rpm -qa [2021-05-18T23:03:54.141Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T23:03:54.141Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T23:03:54.141Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T23:03:54.141Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-18T23:03:54.141Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-18T23:03:54.141Z] + 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-18T23:03:54.153Z] 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-18T23:03:54.446Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:55.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:03:55.045Z] [2021-05-18T23:03:55.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:55.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:03:55.364Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T23:03:55.364Z] df20fa9351a1: Pulling fs layer [2021-05-18T23:03:55.364Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T23:03:55.364Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T23:03:55.364Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T23:03:55.364Z] 93b61091891f: Pulling fs layer [2021-05-18T23:03:55.364Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T23:03:55.364Z] 5e14af77c1be: Pulling fs layer [2021-05-18T23:03:55.364Z] 01666e4c0597: Pulling fs layer [2021-05-18T23:03:55.364Z] aa168da1d23b: Pulling fs layer [2021-05-18T23:03:55.364Z] 93b9cdb0e59b: Waiting [2021-05-18T23:03:55.364Z] 5e14af77c1be: Waiting [2021-05-18T23:03:55.364Z] 01666e4c0597: Waiting [2021-05-18T23:03:55.364Z] aa168da1d23b: Waiting [2021-05-18T23:03:55.364Z] 46f8f816bc3b: Waiting [2021-05-18T23:03:55.364Z] 93b61091891f: Waiting [2021-05-18T23:03:55.364Z] 36b3adc4ff6f: Verifying Checksum [2021-05-18T23:03:55.364Z] 36b3adc4ff6f: Download complete [2021-05-18T23:03:55.364Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T23:03:55.364Z] 46f8f816bc3b: Download complete [2021-05-18T23:03:55.364Z] df20fa9351a1: Verifying Checksum [2021-05-18T23:03:55.364Z] df20fa9351a1: Download complete [2021-05-18T23:03:55.364Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T23:03:55.364Z] 93b9cdb0e59b: Download complete [2021-05-18T23:03:55.364Z] 5e14af77c1be: Verifying Checksum [2021-05-18T23:03:55.364Z] 5e14af77c1be: Download complete [2021-05-18T23:03:55.629Z] 01666e4c0597: Verifying Checksum [2021-05-18T23:03:55.629Z] 01666e4c0597: Download complete [2021-05-18T23:03:55.629Z] 93b61091891f: Verifying Checksum [2021-05-18T23:03:55.629Z] 93b61091891f: Download complete [2021-05-18T23:03:55.629Z] df20fa9351a1: Pull complete [2021-05-18T23:03:55.629Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T23:03:55.629Z] 8ad3a11d3b57: Download complete [2021-05-18T23:03:55.629Z] 36b3adc4ff6f: Pull complete [2021-05-18T23:03:56.214Z] 8ad3a11d3b57: Pull complete [2021-05-18T23:03:56.214Z] 46f8f816bc3b: Pull complete [2021-05-18T23:03:56.478Z] 93b61091891f: Pull complete [2021-05-18T23:03:56.478Z] 93b9cdb0e59b: Pull complete [2021-05-18T23:03:56.739Z] 5e14af77c1be: Pull complete [2021-05-18T23:03:56.739Z] 01666e4c0597: Pull complete [2021-05-18T23:03:57.310Z] aa168da1d23b: Verifying Checksum [2021-05-18T23:03:57.310Z] aa168da1d23b: Download complete [2021-05-18T23:04:01.551Z] aa168da1d23b: Pull complete [2021-05-18T23:04:01.551Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T23:04:01.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:04:01.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T23:04:01.628Z] prd-centos7-docker-4c-2g-14866 does not seem to be running inside a container [2021-05-18T23:04:01.666Z] $ 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-18T23:04:04.223Z] $ docker top 16a406b63695ba691981841e9d574cb99748ec90db373a9b16a1feac8d894724 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T23:04:04.606Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T23:04:04.905Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T23:04:05.197Z] + ls /var/log/sa-host [2021-05-18T23:04:05.197Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T23:04:05.197Z] file_magic: OK [2021-05-18T23:04:05.197Z] HZ: Using current value: 100 [2021-05-18T23:04:05.197Z] file_header: OK [2021-05-18T23:04:05.197Z] 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-18T23:04:05.197Z] Statistics: [2021-05-18T23:04:05.197Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:04:05.197Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T23:04:05.197Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T23:04:05.197Z] file_magic: OK [2021-05-18T23:04:05.197Z] HZ: Using current value: 100 [2021-05-18T23:04:05.197Z] file_header: OK [2021-05-18T23:04:05.197Z] 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-18T23:04:05.197Z] Statistics: [2021-05-18T23:04:05.197Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:04:05.197Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:04:05.867Z] provisioning config files... [2021-05-18T23:04:05.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7888631010445710065tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:04:05.906Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:04:06.228Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T23:04:06.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T23:04:06.265Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:04:06.568Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T23:04:06.578Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:04:06.877Z] ---> sudo-logs.sh [2021-05-18T23:04:06.877Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T23:04:06.913Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:04:07.208Z] ---> job-cost.sh [2021-05-18T23:04:07.208Z] lf-activate-venv: SKIPPING [2021-05-18T23:04:07.208Z] DEBUG: total: 0.18000000715255737 [2021-05-18T23:04:07.208Z] INFO: Retrieving Stack Cost... [2021-05-18T23:04:08.152Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T23:04:08.413Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T23:04:08.427Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:04:08.733Z] ---> logs-deploy.sh [2021-05-18T23:04:08.733Z] lf-activate-venv: SKIPPING [2021-05-18T23:04:08.733Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/49 [2021-05-18T23:04:08.734Z] INFO: archiving workspace using pattern(s): [2021-05-18T23:04:09.677Z] Archives upload complete. [2021-05-18T23:04:09.677Z] INFO: archiving logs to Nexus