Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from add7319ca76619587cd081c32c0d0dde4cc2319e 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-ssh4064136590217218729.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh8638411731183403625.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5471534384282888786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh8492778224598338629.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh5205323627297229767.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1279 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh4142133843491474560.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision add7319ca76619587cd081c32c0d0dde4cc2319e (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add7319ca76619587cd081c32c0d0dde4cc2319e # timeout=10 Commit message: "Merge pull request #269 from lenny-intel/latest-sdk" > git rev-list --no-walk 3c600ef67b9d5713aa095e4426208a75c5ec6803 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T20:00:57.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T20:00:57.653Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T20:01:00.197Z] ========================================================= [2021-06-24T20:01:00.197Z] EdgeX Global Pipelines Version Info [2021-06-24T20:01:00.197Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:01:06.710Z] ------------------- [2021-06-24T20:01:06.710Z] stable info: [2021-06-24T20:01:06.710Z] ------------------- [2021-06-24T20:01:06.710Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T20:01:06.710Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T20:01:06.710Z] Message: update stable to v1.0.195 [2021-06-24T20:01:06.710Z] ------------------- [2021-06-24T20:01:06.710Z] experimental info: [2021-06-24T20:01:06.710Z] ------------------- [2021-06-24T20:01:06.710Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T20:01:06.710Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T20:01:06.710Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T20:01:06.992Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-24T20:01:07.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-24T20:01:07.044Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T20:01:07.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T20:01:07.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T20:01:07.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T20:01:07.153Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T20:01:07.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T20:01:07.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-24T20:01:09.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T20:01:09.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T20:01:09.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-24T20:01:09.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T20:01:09.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T20:01:09.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T20:01:09.992Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T20:01:10.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T20:01:10.078Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T20:01:10.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T20:01:10.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-24T20:01:10.235Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-24T20:01:10.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-24T20:01:10.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T20:01:12.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T20:01:12.910Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T20:01:12.966Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T20:01:13.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-24T20:01:13.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-24T20:01:13.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-24T20:01:13.220Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] echo [2021-06-24T20:01:13.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = add7319 [Pipeline] echo [2021-06-24T20:01:13.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T20:01:15.953Z] provisioning config files... [2021-06-24T20:01:15.999Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3194414630527903358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:01:18.863Z] ---> docker-login.sh [2021-06-24T20:01:18.863Z] nexus3.edgexfoundry.org:10001 [2021-06-24T20:01:18.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:01:18.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:01:18.863Z] Configure a credential helper to remove this warning. See [2021-06-24T20:01:18.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:01:18.863Z] [2021-06-24T20:01:18.863Z] Login Succeeded [2021-06-24T20:01:18.863Z] nexus3.edgexfoundry.org:10002 [2021-06-24T20:01:18.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:01:18.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:01:18.863Z] Configure a credential helper to remove this warning. See [2021-06-24T20:01:18.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:01:18.863Z] [2021-06-24T20:01:18.863Z] Login Succeeded [2021-06-24T20:01:18.863Z] nexus3.edgexfoundry.org:10003 [2021-06-24T20:01:18.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:01:18.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:01:18.863Z] Configure a credential helper to remove this warning. See [2021-06-24T20:01:18.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:01:18.863Z] [2021-06-24T20:01:18.863Z] Login Succeeded [2021-06-24T20:01:18.863Z] nexus3.edgexfoundry.org:10004 [2021-06-24T20:01:18.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:01:18.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:01:18.863Z] Configure a credential helper to remove this warning. See [2021-06-24T20:01:18.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:01:18.863Z] [2021-06-24T20:01:18.863Z] Login Succeeded [2021-06-24T20:01:18.863Z] docker.io [2021-06-24T20:01:18.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:01:18.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:01:18.863Z] Configure a credential helper to remove this warning. See [2021-06-24T20:01:18.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:01:18.863Z] [2021-06-24T20:01:18.863Z] Login Succeeded [2021-06-24T20:01:18.863Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T20:01:18.890Z] 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-06-24T20:01:22.303Z] + git log --format=format:%s -1 add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] echo [2021-06-24T20:01:22.399Z] GIT_COMMIT: add7319ca76619587cd081c32c0d0dde4cc2319e, Commit Message: Merge pull request #269 from lenny-intel/latest-sdk [Pipeline] echo [2021-06-24T20:01:22.429Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:01:37.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:01:37.042Z] [2021-06-24T20:01:37.042Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:01:39.989Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:01:39.989Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T20:01:39.989Z] 31603596830f: Pulling fs layer [2021-06-24T20:01:39.989Z] 54011a49482f: Pulling fs layer [2021-06-24T20:01:39.989Z] a6820b24f6d8: Pulling fs layer [2021-06-24T20:01:39.989Z] f581987b2513: Pulling fs layer [2021-06-24T20:01:39.989Z] f581987b2513: Waiting [2021-06-24T20:01:39.989Z] 54011a49482f: Verifying Checksum [2021-06-24T20:01:39.989Z] 54011a49482f: Download complete [2021-06-24T20:01:39.989Z] 31603596830f: Verifying Checksum [2021-06-24T20:01:39.989Z] 31603596830f: Download complete [2021-06-24T20:01:39.989Z] f581987b2513: Verifying Checksum [2021-06-24T20:01:39.989Z] f581987b2513: Download complete [2021-06-24T20:01:39.989Z] a6820b24f6d8: Verifying Checksum [2021-06-24T20:01:39.989Z] a6820b24f6d8: Download complete [2021-06-24T20:01:39.989Z] 31603596830f: Pull complete [2021-06-24T20:01:39.989Z] 54011a49482f: Pull complete [2021-06-24T20:01:39.989Z] a6820b24f6d8: Pull complete [2021-06-24T20:01:39.989Z] f581987b2513: Pull complete [2021-06-24T20:01:39.989Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T20:01:39.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:01:39.989Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T20:01:40.145Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:01:42.714Z] $ 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-06-24T20:01:45.769Z] $ docker top dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T20:01:45.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T20:01:45.947Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T20:01:46.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T20:01:46.080Z] $ docker exec dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 ssh-agent [2021-06-24T20:01:46.213Z] SSH_AUTH_SOCK=/tmp/ssh-xdk4JGzgOFdo/agent.14 [2021-06-24T20:01:46.213Z] SSH_AGENT_PID=21 [2021-06-24T20:01:46.228Z] Running ssh-add (command line suppressed) [2021-06-24T20:01:46.332Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8424896727786134192.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8424896727786134192.key) [2021-06-24T20:01:46.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T20:01:49.097Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T20:01:49.122Z] $ docker exec --env ******** --env ******** dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 ssh-agent -k [2021-06-24T20:01:49.238Z] unset SSH_AUTH_SOCK; [2021-06-24T20:01:49.239Z] unset SSH_AGENT_PID; [2021-06-24T20:01:49.239Z] echo Agent pid 21 killed; [2021-06-24T20:01:49.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T20:01:49.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T20:01:49.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T20:01:51.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T20:01:51.816Z] $ docker exec dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 ssh-agent [2021-06-24T20:01:51.993Z] SSH_AUTH_SOCK=/tmp/ssh-jLCJUMA3SY66/agent.53 [2021-06-24T20:01:51.993Z] SSH_AGENT_PID=60 [2021-06-24T20:01:52.017Z] Running ssh-add (command line suppressed) [2021-06-24T20:01:52.135Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2475177154397683814.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2475177154397683814.key) [2021-06-24T20:01:52.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T20:01:54.905Z] + git semver init [2021-06-24T20:01:54.905Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T20:01:54.905Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-24T20:01:54.905Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-24T20:01:54.905Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T20:01:54.905Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T20:01:54.905Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T20:01:54.905Z] # $SEMVER_BRANCH = master [2021-06-24T20:01:54.905Z] # $SEMVER_TEMP = /tmp/semver-707601732 [2021-06-24T20:01:54.905Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-24T20:01:54.905Z] # '/tmp/semver-707601732' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-06-24T20:01:54.905Z] # -> Force: false [2021-06-24T20:01:54.905Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-24T20:01:54.913Z] $ docker exec --env ******** --env ******** dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 ssh-agent -k [2021-06-24T20:01:55.033Z] unset SSH_AUTH_SOCK; [2021-06-24T20:01:55.033Z] unset SSH_AGENT_PID; [2021-06-24T20:01:55.033Z] echo Agent pid 60 killed; [2021-06-24T20:01:55.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T20:01:55.431Z] + git semver [Pipeline] } [2021-06-24T20:01:55.448Z] $ docker stop --time=1 dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 [2021-06-24T20:01:58.005Z] $ docker rm -f dcfcd2af4045134c2e350d4472622ba31018c055798b5438c2ec7df463f995b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T20:01:58.430Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T20:02:01.363Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T20:02:01.368Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.20 [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-06-24T20:02:19.485Z] Still waiting to schedule task [2021-06-24T20:02:19.485Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T20:02:19.491Z] Still waiting to schedule task [2021-06-24T20:02:19.491Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-24T20:04:44.038Z] Running on prd-centos7-docker-4c-2g-1283 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-24T20:04:44.113Z] Running in /w/workspace/device-modbus-go/59 [Pipeline] { [Pipeline] checkout [2021-06-24T20:04:46.894Z] Selected Git installation does not exist. Using Default [2021-06-24T20:04:46.894Z] The recommended git tool is: NONE [2021-06-24T20:04:59.586Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1281 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-24T20:04:59.665Z] Running in /w/workspace/device-modbus-go/59 [Pipeline] { [Pipeline] checkout [2021-06-24T20:05:00.023Z] Selected Git installation does not exist. Using Default [2021-06-24T20:05:00.024Z] The recommended git tool is: NONE [2021-06-24T20:05:15.374Z] using credential edgex-jenkins-ssh [2021-06-24T20:05:15.408Z] Cloning the remote Git repository [2021-06-24T20:05:18.236Z] Avoid second fetch [2021-06-24T20:05:15.443Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-24T20:05:15.555Z] > git init /w/workspace/device-modbus-go/59 # timeout=10 [2021-06-24T20:05:15.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-24T20:05:15.616Z] > git --version # timeout=10 [2021-06-24T20:05:15.623Z] > git --version # 'git version 2.24.4' [2021-06-24T20:05:15.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T20:05:15.668Z] [INFO] Currently running in a labeled security context [2021-06-24T20:05:15.668Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T20:05:15.668Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/59@tmp/jenkins-gitclient-ssh5570766841255569738.key [2021-06-24T20:05:15.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T20:05:18.236Z] Checking out Revision add7319ca76619587cd081c32c0d0dde4cc2319e (master) [2021-06-24T20:05:16.712Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-24T20:05:16.720Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T20:05:18.251Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T20:05:18.260Z] > git checkout -f add7319ca76619587cd081c32c0d0dde4cc2319e # timeout=10 [2021-06-24T20:05:24.875Z] Commit message: "Merge pull request #269 from lenny-intel/latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T20:05:34.599Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T20:05:35.084Z] using credential edgex-jenkins-ssh [2021-06-24T20:05:35.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-06-24T20:05:35.148Z] Cloning the remote Git repository [Pipeline] sh [2021-06-24T20:05:35.228Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-24T20:05:38.223Z] + sudo service docker restart [2021-06-24T20:05:38.223Z] + true [2021-06-24T20:05:38.223Z] Redirecting to /bin/systemctl restart docker.service [2021-06-24T20:05:38.026Z] > git init /w/workspace/device-modbus-go/59 # timeout=10 [2021-06-24T20:05:38.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-24T20:05:38.123Z] > git --version # timeout=10 [2021-06-24T20:05:38.137Z] > git --version # 'git version 2.17.1' [2021-06-24T20:05:38.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T20:05:38.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T20:05:38.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-24T20:05:38.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T20:05:41.326Z] Avoid second fetch [2021-06-24T20:05:41.327Z] Checking out Revision add7319ca76619587cd081c32c0d0dde4cc2319e (master) [2021-06-24T20:05:41.375Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T20:05:41.390Z] > git checkout -f add7319ca76619587cd081c32c0d0dde4cc2319e # timeout=10 [Pipeline] withEnv [Pipeline] { [2021-06-24T20:05:54.396Z] Commit message: "Merge pull request #269 from lenny-intel/latest-sdk" [Pipeline] configFileProvider [2021-06-24T20:05:54.423Z] provisioning config files... [2021-06-24T20:05:54.462Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config8512277023081505930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T20:05:57.335Z] ---> docker-login.sh [2021-06-24T20:05:57.335Z] nexus3.edgexfoundry.org:10001 [2021-06-24T20:05:57.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:05:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:05:57.335Z] Configure a credential helper to remove this warning. See [2021-06-24T20:05:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:05:57.335Z] [2021-06-24T20:05:57.335Z] Login Succeeded [2021-06-24T20:05:57.335Z] nexus3.edgexfoundry.org:10002 [2021-06-24T20:05:57.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:05:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:05:57.335Z] Configure a credential helper to remove this warning. See [2021-06-24T20:05:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:05:57.335Z] [2021-06-24T20:05:57.335Z] Login Succeeded [2021-06-24T20:05:57.335Z] nexus3.edgexfoundry.org:10003 [2021-06-24T20:05:57.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:05:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:05:57.335Z] Configure a credential helper to remove this warning. See [2021-06-24T20:05:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:05:57.335Z] [2021-06-24T20:05:57.335Z] Login Succeeded [2021-06-24T20:05:57.335Z] nexus3.edgexfoundry.org:10004 [2021-06-24T20:05:57.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:05:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:05:57.335Z] Configure a credential helper to remove this warning. See [2021-06-24T20:05:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:05:57.335Z] [2021-06-24T20:05:57.335Z] Login Succeeded [2021-06-24T20:05:57.335Z] docker.io [2021-06-24T20:05:57.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:05:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:05:57.335Z] Configure a credential helper to remove this warning. See [2021-06-24T20:05:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:05:57.335Z] [2021-06-24T20:05:57.335Z] Login Succeeded [2021-06-24T20:05:57.335Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T20:06:00.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T20:06:03.815Z] ========================================================= [2021-06-24T20:06:03.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T20:06:03.815Z] ========================================================= [2021-06-24T20:06:03.834Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-06-24T20:06:04.215Z] + 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-06-24T20:06:04.215Z] Sending build context to Docker daemon 634.9kB [2021-06-24T20:06:04.215Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T20:06:04.215Z] Step 2/8 : FROM ${BASE} [2021-06-24T20:06:04.215Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T20:06:04.215Z] 540db60ca938: Pulling fs layer [2021-06-24T20:06:04.215Z] adcc1eea9eea: Pulling fs layer [2021-06-24T20:06:04.215Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T20:06:04.215Z] 0510c868ecb4: Pulling fs layer [2021-06-24T20:06:04.215Z] afea3b2eda06: Pulling fs layer [2021-06-24T20:06:04.215Z] 7809a108b3ef: Pulling fs layer [2021-06-24T20:06:04.215Z] f706445af74f: Pulling fs layer [2021-06-24T20:06:04.215Z] afea3b2eda06: Waiting [2021-06-24T20:06:04.215Z] 7809a108b3ef: Waiting [2021-06-24T20:06:04.215Z] f706445af74f: Waiting [2021-06-24T20:06:04.215Z] 0510c868ecb4: Waiting [2021-06-24T20:06:04.215Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T20:06:04.215Z] 4c4ab2625f07: Download complete [2021-06-24T20:06:06.961Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-06-24T20:06:07.036Z] adcc1eea9eea: Verifying Checksum [2021-06-24T20:06:07.036Z] adcc1eea9eea: Download complete [2021-06-24T20:06:07.036Z] afea3b2eda06: Verifying Checksum [2021-06-24T20:06:07.036Z] afea3b2eda06: Download complete [2021-06-24T20:06:07.036Z] 7809a108b3ef: Verifying Checksum [2021-06-24T20:06:07.036Z] 7809a108b3ef: Download complete [2021-06-24T20:06:07.036Z] 540db60ca938: Verifying Checksum [2021-06-24T20:06:07.036Z] 540db60ca938: Download complete [2021-06-24T20:06:07.036Z] 540db60ca938: Pull complete [2021-06-24T20:06:07.036Z] adcc1eea9eea: Pull complete [2021-06-24T20:06:07.036Z] 4c4ab2625f07: Pull complete [Pipeline] sh [2021-06-24T20:06:07.368Z] f706445af74f: Verifying Checksum [2021-06-24T20:06:07.368Z] f706445af74f: Download complete [2021-06-24T20:06:07.521Z] + sudo service docker restart [2021-06-24T20:06:07.521Z] + true [2021-06-24T20:06:10.282Z] 0510c868ecb4: Verifying Checksum [2021-06-24T20:06:10.282Z] 0510c868ecb4: Download complete [2021-06-24T20:06:13.522Z] 0510c868ecb4: Pull complete [2021-06-24T20:06:13.522Z] afea3b2eda06: Pull complete [2021-06-24T20:06:13.522Z] 7809a108b3ef: Pull complete [2021-06-24T20:06:13.522Z] f706445af74f: Pull complete [2021-06-24T20:06:13.522Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T20:06:13.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T20:06:13.522Z] ---> b068be0155e3 [2021-06-24T20:06:13.522Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T20:06:17.180Z] ---> Running in b680379c01dd [2021-06-24T20:06:17.180Z] Removing intermediate container b680379c01dd [2021-06-24T20:06:17.180Z] ---> 09f96fc3a097 [2021-06-24T20:06:17.180Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:06:17.180Z] ---> Running in d4ff8274d8d7 [2021-06-24T20:06:20.095Z] Removing intermediate container d4ff8274d8d7 [2021-06-24T20:06:20.095Z] ---> bb13a390d3f8 [2021-06-24T20:06:20.095Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T20:06:20.095Z] ---> Running in a8484f9146b1 [2021-06-24T20:06:20.095Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T20:06:20.095Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T20:06:20.095Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T20:06:20.095Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T20:06:20.095Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T20:06:20.095Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T20:06:20.095Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T20:06:20.095Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T20:06:20.095Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T20:06:20.382Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T20:06:20.382Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T20:06:20.382Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T20:06:20.671Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T20:06:20.671Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T20:06:20.671Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T20:06:23.213Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T20:06:23.213Z] OK: 156 MiB in 53 packages [2021-06-24T20:06:23.213Z] Removing intermediate container a8484f9146b1 [2021-06-24T20:06:23.213Z] ---> 793d7558b051 [2021-06-24T20:06:23.213Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-24T20:06:23.213Z] ---> Running in e001eaaefaf2 [2021-06-24T20:06:23.213Z] Removing intermediate container e001eaaefaf2 [2021-06-24T20:06:23.213Z] ---> e740a12eaa4f [2021-06-24T20:06:23.213Z] Step 7/8 : COPY . . [2021-06-24T20:06:23.213Z] ---> dc5b5810a5fa [2021-06-24T20:06:23.213Z] Step 8/8 : RUN go mod download [2021-06-24T20:06:23.213Z] ---> Running in f101d09078ae [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T20:06:26.367Z] provisioning config files... [2021-06-24T20:06:26.435Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config5247828642511694536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:06:26.928Z] ---> docker-login.sh [2021-06-24T20:06:26.928Z] nexus3.edgexfoundry.org:10001 [2021-06-24T20:06:29.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:06:29.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:06:29.430Z] Configure a credential helper to remove this warning. See [2021-06-24T20:06:29.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:06:29.430Z] [2021-06-24T20:06:29.430Z] Login Succeeded [2021-06-24T20:06:29.430Z] nexus3.edgexfoundry.org:10002 [2021-06-24T20:06:29.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:06:29.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:06:29.430Z] Configure a credential helper to remove this warning. See [2021-06-24T20:06:29.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:06:29.430Z] [2021-06-24T20:06:29.430Z] Login Succeeded [2021-06-24T20:06:29.430Z] nexus3.edgexfoundry.org:10003 [2021-06-24T20:06:29.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:06:29.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:06:29.430Z] Configure a credential helper to remove this warning. See [2021-06-24T20:06:29.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:06:29.430Z] [2021-06-24T20:06:29.430Z] Login Succeeded [2021-06-24T20:06:29.430Z] nexus3.edgexfoundry.org:10004 [2021-06-24T20:06:29.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:06:29.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:06:29.714Z] Configure a credential helper to remove this warning. See [2021-06-24T20:06:29.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:06:29.714Z] [2021-06-24T20:06:29.714Z] Login Succeeded [2021-06-24T20:06:29.714Z] docker.io [2021-06-24T20:06:32.625Z] Removing intermediate container f101d09078ae [2021-06-24T20:06:32.625Z] ---> 92e2003ad898 [2021-06-24T20:06:32.625Z] Successfully built 92e2003ad898 [2021-06-24T20:06:32.625Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-24T20:06:32.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:06:32.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:06:32.639Z] Configure a credential helper to remove this warning. See [2021-06-24T20:06:32.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:06:32.639Z] [2021-06-24T20:06:32.639Z] Login Succeeded [2021-06-24T20:06:32.639Z] ---> docker-login.sh ends [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-06-24T20:06:32.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-24T20:06:33.081Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T20:06:33.081Z] . [Pipeline] withDockerContainer [2021-06-24T20:06:35.833Z] prd-centos7-docker-4c-2g-1283 does not seem to be running inside a container [2021-06-24T20:06:36.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@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-06-24T20:06:36.372Z] $ docker top f8b24187fa691a7fde0a9fd46c2a47dcfbc79c356e8b6cfcbfba9a8acf7f54d8 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-24T20:06:39.116Z] ========================================================= [2021-06-24T20:06:39.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T20:06:39.116Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:06:39.430Z] + go version [2021-06-24T20:06:39.430Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T20:06:39.440Z] $ docker stop --time=1 f8b24187fa691a7fde0a9fd46c2a47dcfbc79c356e8b6cfcbfba9a8acf7f54d8 [2021-06-24T20:06:42.068Z] $ docker rm -f f8b24187fa691a7fde0a9fd46c2a47dcfbc79c356e8b6cfcbfba9a8acf7f54d8 [2021-06-24T20:06:42.083Z] + 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-06-24T20:06:42.084Z] Sending build context to Docker daemon 633.9kB [2021-06-24T20:06:42.084Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T20:06:42.084Z] Step 2/8 : FROM ${BASE} [2021-06-24T20:06:42.084Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T20:06:42.084Z] 595b0fe564bb: Pulling fs layer [2021-06-24T20:06:42.084Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T20:06:42.084Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T20:06:42.084Z] ba82ee9f976e: Pulling fs layer [2021-06-24T20:06:42.084Z] 506bd15cee9f: Pulling fs layer [2021-06-24T20:06:42.084Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T20:06:42.084Z] 618dc40b7e24: Pulling fs layer [2021-06-24T20:06:42.084Z] ba82ee9f976e: Waiting [2021-06-24T20:06:42.084Z] 506bd15cee9f: Waiting [2021-06-24T20:06:42.084Z] 75a0a4a0db45: Waiting [2021-06-24T20:06:42.084Z] 618dc40b7e24: Waiting [2021-06-24T20:06:42.084Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T20:06:42.084Z] 5b7225fbf94c: Download complete [2021-06-24T20:06:42.084Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T20:06:42.084Z] 3088b5b3c5c0: Download complete [2021-06-24T20:06:42.084Z] 506bd15cee9f: Download complete [2021-06-24T20:06:42.084Z] 595b0fe564bb: Verifying Checksum [2021-06-24T20:06:42.084Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T20:06:42.084Z] 75a0a4a0db45: Download complete [2021-06-24T20:06:42.084Z] 595b0fe564bb: Pull complete [2021-06-24T20:06:42.084Z] 3088b5b3c5c0: Pull complete [2021-06-24T20:06:42.084Z] 5b7225fbf94c: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:06:45.426Z] 618dc40b7e24: Download complete [2021-06-24T20:06:45.426Z] ba82ee9f976e: Verifying Checksum [2021-06-24T20:06:45.426Z] ba82ee9f976e: Download complete [2021-06-24T20:06:45.660Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T20:06:45.660Z] . [Pipeline] withDockerContainer [2021-06-24T20:06:45.864Z] prd-centos7-docker-4c-2g-1283 does not seem to be running inside a container [2021-06-24T20:06:45.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@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-06-24T20:06:48.516Z] $ docker top c8978ac307435c24395dc06f36c6501ba08113def22a3b694e10e4ecab79bc88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T20:06:51.610Z] + go mod tidy [Pipeline] sh [2021-06-24T20:06:52.026Z] + make test [2021-06-24T20:06:52.026Z] go mod tidy [2021-06-24T20:06:52.026Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T20:06:54.707Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-24T20:06:54.708Z] ba82ee9f976e: Pull complete [2021-06-24T20:06:54.708Z] 506bd15cee9f: Pull complete [2021-06-24T20:06:54.998Z] 75a0a4a0db45: Pull complete [2021-06-24T20:06:58.563Z] 618dc40b7e24: Pull complete [2021-06-24T20:06:58.563Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T20:06:58.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T20:06:58.563Z] ---> a36622ca3599 [2021-06-24T20:06:58.563Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T20:07:01.487Z] ---> Running in 3e51e283c651 [2021-06-24T20:07:01.487Z] Removing intermediate container 3e51e283c651 [2021-06-24T20:07:01.487Z] ---> 171aa418a2b0 [2021-06-24T20:07:01.487Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:07:01.487Z] ---> Running in 1111bd2f067c [2021-06-24T20:07:04.788Z] Removing intermediate container 1111bd2f067c [2021-06-24T20:07:04.788Z] ---> 8cc0151c81e7 [2021-06-24T20:07:04.788Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T20:07:04.788Z] ---> Running in 8cdecd43bd25 [2021-06-24T20:07:04.788Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T20:07:05.080Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T20:07:08.203Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-24T20:07:08.203Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2021-06-24T20:07:08.203Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T20:07:08.218Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T20:07:08.218Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T20:07:08.218Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T20:07:08.218Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T20:07:08.218Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T20:07:08.218Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T20:07:08.218Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T20:07:08.218Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T20:07:08.218Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T20:07:08.218Z] OK: 145 MiB in 53 packages [2021-06-24T20:07:11.293Z] Removing intermediate container 8cdecd43bd25 [2021-06-24T20:07:11.293Z] ---> 06f7bd40722f [2021-06-24T20:07:11.293Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-24T20:07:11.293Z] ---> Running in 87fd078c6ac5 [2021-06-24T20:07:11.293Z] Removing intermediate container 87fd078c6ac5 [2021-06-24T20:07:11.293Z] ---> 577d10ffae94 [2021-06-24T20:07:11.293Z] Step 7/8 : COPY . . [2021-06-24T20:07:11.293Z] ---> c6700cc43600 [2021-06-24T20:07:11.293Z] Step 8/8 : RUN go mod download [2021-06-24T20:07:11.293Z] ---> Running in 582a8e65e36d [2021-06-24T20:07:14.656Z] gofmt -l . [2021-06-24T20:07:14.656Z] [ "`gofmt -l .`" = "" ] [2021-06-24T20:07:14.656Z] ./bin/test-attribution-txt.sh [2021-06-24T20:07:14.656Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T20:07:14.956Z] $ docker stop --time=1 c8978ac307435c24395dc06f36c6501ba08113def22a3b694e10e4ecab79bc88 [2021-06-24T20:07:17.994Z] $ docker rm -f c8978ac307435c24395dc06f36c6501ba08113def22a3b694e10e4ecab79bc88 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T20:07:21.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T20:07:21.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-24T20:07:35.751Z] Removing intermediate container 582a8e65e36d [2021-06-24T20:07:35.751Z] ---> 0089c25d598a [2021-06-24T20:07:35.751Z] Successfully built 0089c25d598a [2021-06-24T20:07:35.751Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:01.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T20:08:04.414Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T20:08:04.414Z] . [Pipeline] withDockerContainer [2021-06-24T20:08:04.667Z] + ls -al . [2021-06-24T20:08:04.667Z] total 112 [2021-06-24T20:08:04.667Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 24 20:07 . [2021-06-24T20:08:04.667Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 20:05 .. [2021-06-24T20:08:04.667Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jun 24 20:05 Attribution.txt [2021-06-24T20:08:04.667Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 24 20:05 bin [2021-06-24T20:08:04.667Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 24 20:05 cmd [2021-06-24T20:08:04.667Z] -rw-r--r--. 1 jenkins jenkins 22385 Jun 24 20:07 coverage.out [2021-06-24T20:08:04.667Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jun 24 20:05 Dockerfile [2021-06-24T20:08:04.667Z] -rw-rw-r--. 1 jenkins jenkins 995 Jun 24 20:05 Dockerfile.build [2021-06-24T20:08:04.667Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 20:05 .dockerignore [2021-06-24T20:08:04.667Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 24 20:05 .git [2021-06-24T20:08:04.667Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 20:05 .github [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 338 Jun 24 20:05 .gitignore [2021-06-24T20:08:04.668Z] -rw-r--r--. 1 jenkins jenkins 414 Jun 24 20:07 go.mod [2021-06-24T20:08:04.668Z] -rw-r--r--. 1 jenkins jenkins 21529 Jun 24 20:06 go.sum [2021-06-24T20:08:04.668Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 24 20:05 internal [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 679 Jun 24 20:05 Jenkinsfile [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 24 20:05 LICENSE [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 914 Jun 24 20:05 Makefile [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jun 24 20:05 README.md [2021-06-24T20:08:04.668Z] drwxrwxr-x. 2 jenkins jenkins 52 Jun 24 20:05 simulator [2021-06-24T20:08:04.668Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 24 20:05 snap [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 24 20:01 VERSION [2021-06-24T20:08:04.668Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 24 20:05 version.go [2021-06-24T20:08:04.702Z] prd-ubuntu18.04-docker-arm64-4c-16g-1281 does not seem to be running inside a container [2021-06-24T20:08:04.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@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-06-24T20:08:07.658Z] $ docker top 47f5e407f15aa2ed854e78928832563fc3686bf2ae66428f06c7812f3a76961c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:10.807Z] + 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=add7319ca76619587cd081c32c0d0dde4cc2319e --label arch=amd64 --label version=1.3.2-dev.20 . [2021-06-24T20:08:10.807Z] Sending build context to Docker daemon 657.9kB [2021-06-24T20:08:10.807Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T20:08:10.807Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-24T20:08:10.807Z] ---> 92e2003ad898 [2021-06-24T20:08:10.807Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:08:10.807Z] ---> Running in eed51aedb933 [2021-06-24T20:08:10.807Z] Removing intermediate container eed51aedb933 [2021-06-24T20:08:10.807Z] ---> ece8246acf15 [2021-06-24T20:08:10.807Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T20:08:10.807Z] ---> Running in b51ae99cbeda [2021-06-24T20:08:10.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T20:08:10.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T20:08:10.807Z] OK: 156 MiB in 53 packages [2021-06-24T20:08:10.817Z] + go version [2021-06-24T20:08:10.817Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T20:08:10.840Z] $ docker stop --time=1 47f5e407f15aa2ed854e78928832563fc3686bf2ae66428f06c7812f3a76961c [2021-06-24T20:08:11.114Z] Removing intermediate container b51ae99cbeda [2021-06-24T20:08:11.114Z] ---> 26850c9dfc2d [2021-06-24T20:08:11.114Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-24T20:08:11.114Z] ---> Running in f5ba2688ac23 [2021-06-24T20:08:11.114Z] Removing intermediate container f5ba2688ac23 [2021-06-24T20:08:11.114Z] ---> 64974c04ad23 [2021-06-24T20:08:11.114Z] Step 6/22 : COPY . . [2021-06-24T20:08:11.386Z] ---> b510033d6e36 [2021-06-24T20:08:11.386Z] Step 7/22 : RUN go mod tidy [2021-06-24T20:08:11.386Z] ---> Running in 2bb91695481d [2021-06-24T20:08:14.088Z] Removing intermediate container 2bb91695481d [2021-06-24T20:08:14.088Z] ---> d88d57039902 [2021-06-24T20:08:14.088Z] Step 8/22 : RUN go mod download [2021-06-24T20:08:14.088Z] ---> Running in 86b7db0f616f [2021-06-24T20:08:14.088Z] Removing intermediate container 86b7db0f616f [2021-06-24T20:08:14.088Z] ---> 6129f86c4672 [2021-06-24T20:08:14.088Z] Step 9/22 : RUN make build [2021-06-24T20:08:14.088Z] ---> Running in 8138a63032e2 [2021-06-24T20:08:14.088Z] go mod tidy [2021-06-24T20:08:14.088Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.20" -o cmd/device-modbus ./cmd [2021-06-24T20:08:14.084Z] $ docker rm -f 47f5e407f15aa2ed854e78928832563fc3686bf2ae66428f06c7812f3a76961c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:17.667Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T20:08:17.667Z] . [Pipeline] withDockerContainer [2021-06-24T20:08:20.475Z] prd-ubuntu18.04-docker-arm64-4c-16g-1281 does not seem to be running inside a container [2021-06-24T20:08:20.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@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-06-24T20:08:23.690Z] $ docker top 72eb615a0585bf711bc0eb96cb967b7ea7f6b113b0aa4e5e0f1f10bea5914f9a -eo pid,comm [2021-06-24T20:08:23.700Z] Removing intermediate container 8138a63032e2 [2021-06-24T20:08:23.700Z] ---> f4ec78d3eb94 [2021-06-24T20:08:23.701Z] Step 10/22 : FROM alpine:3.12 [2021-06-24T20:08:23.993Z] 3.12: Pulling from library/alpine [Pipeline] { [Pipeline] sh [2021-06-24T20:08:24.283Z] 339de151aab4: Pulling fs layer [2021-06-24T20:08:24.283Z] 339de151aab4: Verifying Checksum [2021-06-24T20:08:24.283Z] 339de151aab4: Download complete [2021-06-24T20:08:26.999Z] 339de151aab4: Pull complete [2021-06-24T20:08:26.999Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T20:08:26.999Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T20:08:26.999Z] ---> 13621d1b12d4 [2021-06-24T20:08:26.999Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-24T20:08:26.999Z] ---> Running in 7db19abb7758 [2021-06-24T20:08:26.999Z] Removing intermediate container 7db19abb7758 [2021-06-24T20:08:26.999Z] ---> a52c7b34043c [2021-06-24T20:08:26.999Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:08:26.999Z] ---> Running in e9a8d166ccd4 [2021-06-24T20:08:26.999Z] Removing intermediate container e9a8d166ccd4 [2021-06-24T20:08:26.999Z] ---> 2795171eb2ae [2021-06-24T20:08:26.999Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T20:08:26.999Z] ---> Running in 6fc88892f824 [2021-06-24T20:08:26.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T20:08:26.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T20:08:26.999Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T20:08:26.999Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T20:08:26.999Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T20:08:26.999Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T20:08:26.999Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T20:08:26.999Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T20:08:27.262Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T20:08:27.262Z] OK: 8 MiB in 20 packages [2021-06-24T20:08:27.289Z] + go mod tidy [Pipeline] sh [2021-06-24T20:08:27.526Z] Removing intermediate container 6fc88892f824 [2021-06-24T20:08:27.526Z] ---> be7420eb39e4 [2021-06-24T20:08:27.526Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-24T20:08:30.127Z] ---> b918e6d2f3bd [2021-06-24T20:08:30.127Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-24T20:08:30.127Z] ---> d4ac1fb64034 [2021-06-24T20:08:30.127Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-24T20:08:30.127Z] ---> 00e46326b777 [2021-06-24T20:08:30.127Z] Step 17/22 : EXPOSE 59901 [2021-06-24T20:08:30.127Z] ---> Running in 6965b0db1084 [2021-06-24T20:08:30.127Z] Removing intermediate container 6965b0db1084 [2021-06-24T20:08:30.127Z] ---> 79c8e6fd74ff [2021-06-24T20:08:30.127Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-24T20:08:30.127Z] ---> Running in 3b9a6f26bd4b [2021-06-24T20:08:30.127Z] Removing intermediate container 3b9a6f26bd4b [2021-06-24T20:08:30.127Z] ---> e8e21a555256 [2021-06-24T20:08:30.127Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T20:08:30.127Z] ---> Running in 8f89431473aa [2021-06-24T20:08:30.127Z] Removing intermediate container 8f89431473aa [2021-06-24T20:08:30.127Z] ---> a1e4ee900128 [2021-06-24T20:08:30.127Z] Step 20/22 : LABEL arch=amd64 [2021-06-24T20:08:30.127Z] ---> Running in 069e264cda3a [2021-06-24T20:08:30.127Z] Removing intermediate container 069e264cda3a [2021-06-24T20:08:30.127Z] ---> 3b985fe81082 [2021-06-24T20:08:30.127Z] Step 21/22 : LABEL git_sha=add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:08:30.127Z] ---> Running in b6fbd21a935a [2021-06-24T20:08:30.127Z] Removing intermediate container b6fbd21a935a [2021-06-24T20:08:30.127Z] ---> 737d43839a66 [2021-06-24T20:08:30.127Z] Step 22/22 : LABEL version=1.3.2-dev.20 [2021-06-24T20:08:30.127Z] ---> Running in f7e51411bc16 [2021-06-24T20:08:30.127Z] Removing intermediate container f7e51411bc16 [2021-06-24T20:08:30.127Z] ---> 285c79df1cbe [2021-06-24T20:08:30.127Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-24T20:08:30.127Z] Successfully built 285c79df1cbe [2021-06-24T20:08:30.127Z] Successfully tagged device-modbus:latest [2021-06-24T20:08:30.140Z] + make test [2021-06-24T20:08:30.140Z] go mod tidy [2021-06-24T20:08:30.140Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T20:08:30.140Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T20:08:33.167Z] provisioning config files... [2021-06-24T20:08:33.218Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config520735301095239827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:08:38.934Z] ---> docker-login.sh [2021-06-24T20:08:38.934Z] nexus3.edgexfoundry.org:10001 [2021-06-24T20:08:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:08:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:08:38.934Z] Configure a credential helper to remove this warning. See [2021-06-24T20:08:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:08:38.934Z] [2021-06-24T20:08:38.934Z] Login Succeeded [2021-06-24T20:08:38.934Z] nexus3.edgexfoundry.org:10002 [2021-06-24T20:08:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:08:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:08:38.934Z] Configure a credential helper to remove this warning. See [2021-06-24T20:08:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:08:38.934Z] [2021-06-24T20:08:38.934Z] Login Succeeded [2021-06-24T20:08:38.934Z] nexus3.edgexfoundry.org:10003 [2021-06-24T20:08:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:08:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:08:38.934Z] Configure a credential helper to remove this warning. See [2021-06-24T20:08:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:08:38.934Z] [2021-06-24T20:08:38.934Z] Login Succeeded [2021-06-24T20:08:38.934Z] nexus3.edgexfoundry.org:10004 [2021-06-24T20:08:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:08:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:08:38.934Z] Configure a credential helper to remove this warning. See [2021-06-24T20:08:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:08:38.934Z] [2021-06-24T20:08:38.934Z] Login Succeeded [2021-06-24T20:08:38.934Z] docker.io [2021-06-24T20:08:38.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:08:38.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:08:38.934Z] Configure a credential helper to remove this warning. See [2021-06-24T20:08:38.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:08:38.934Z] [2021-06-24T20:08:38.934Z] Login Succeeded [2021-06-24T20:08:38.934Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T20:08:38.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T20:08:39.170Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-06-24T20:08:39.170Z] add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:08:39.170Z] latest [2021-06-24T20:08:39.170Z] 1.3.2-dev.20 [2021-06-24T20:08:39.170Z] add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:08:39.170Z] master [2021-06-24T20:08:39.170Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:42.318Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:45.338Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:08:45.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-24T20:08:45.338Z] 139567d5e48d: Preparing [2021-06-24T20:08:45.338Z] 92ba89dc27e3: Preparing [2021-06-24T20:08:45.338Z] a1416b9b050a: Preparing [2021-06-24T20:08:45.338Z] dad572c73e25: Preparing [2021-06-24T20:08:45.338Z] 1d0c0fd4e7ea: Preparing [2021-06-24T20:08:45.338Z] 32f366d666a5: Preparing [2021-06-24T20:08:45.338Z] 32f366d666a5: Waiting [2021-06-24T20:08:45.338Z] 92ba89dc27e3: Pushed [2021-06-24T20:08:45.338Z] 32f366d666a5: Layer already exists [2021-06-24T20:08:45.338Z] 1d0c0fd4e7ea: Pushed [2021-06-24T20:08:45.338Z] dad572c73e25: Pushed [2021-06-24T20:08:45.338Z] 139567d5e48d: Pushed [2021-06-24T20:08:45.338Z] a1416b9b050a: Pushed [2021-06-24T20:08:45.338Z] add7319ca76619587cd081c32c0d0dde4cc2319e: digest: sha256:d06b7c924253fc8adc28184d39b3f30d2895897ca1847b35af686bc1782fb33e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:48.227Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:51.096Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-24T20:08:51.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-24T20:08:51.096Z] 139567d5e48d: Preparing [2021-06-24T20:08:51.096Z] 92ba89dc27e3: Preparing [2021-06-24T20:08:51.096Z] a1416b9b050a: Preparing [2021-06-24T20:08:51.096Z] dad572c73e25: Preparing [2021-06-24T20:08:51.096Z] 1d0c0fd4e7ea: Preparing [2021-06-24T20:08:51.096Z] 32f366d666a5: Preparing [2021-06-24T20:08:51.096Z] 32f366d666a5: Waiting [2021-06-24T20:08:51.096Z] 1d0c0fd4e7ea: Layer already exists [2021-06-24T20:08:51.096Z] 92ba89dc27e3: Layer already exists [2021-06-24T20:08:51.096Z] dad572c73e25: Layer already exists [2021-06-24T20:08:51.096Z] 32f366d666a5: Layer already exists [2021-06-24T20:08:51.096Z] 139567d5e48d: Layer already exists [2021-06-24T20:08:51.096Z] a1416b9b050a: Layer already exists [2021-06-24T20:08:51.096Z] latest: digest: sha256:d06b7c924253fc8adc28184d39b3f30d2895897ca1847b35af686bc1782fb33e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:54.116Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:54.447Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.20 [2021-06-24T20:08:54.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-24T20:08:54.447Z] 139567d5e48d: Preparing [2021-06-24T20:08:54.447Z] 92ba89dc27e3: Preparing [2021-06-24T20:08:54.447Z] a1416b9b050a: Preparing [2021-06-24T20:08:54.447Z] dad572c73e25: Preparing [2021-06-24T20:08:54.447Z] 1d0c0fd4e7ea: Preparing [2021-06-24T20:08:54.447Z] 32f366d666a5: Preparing [2021-06-24T20:08:54.447Z] 32f366d666a5: Waiting [2021-06-24T20:08:54.447Z] 139567d5e48d: Layer already exists [2021-06-24T20:08:54.447Z] dad572c73e25: Layer already exists [2021-06-24T20:08:54.447Z] 92ba89dc27e3: Layer already exists [2021-06-24T20:08:54.447Z] 1d0c0fd4e7ea: Layer already exists [2021-06-24T20:08:54.447Z] a1416b9b050a: Layer already exists [2021-06-24T20:08:54.447Z] 32f366d666a5: Layer already exists [2021-06-24T20:08:54.447Z] 1.3.2-dev.20: digest: sha256:d06b7c924253fc8adc28184d39b3f30d2895897ca1847b35af686bc1782fb33e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:57.095Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:08:57.409Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:08:57.409Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-24T20:08:57.409Z] 139567d5e48d: Preparing [2021-06-24T20:08:57.409Z] 92ba89dc27e3: Preparing [2021-06-24T20:08:57.409Z] a1416b9b050a: Preparing [2021-06-24T20:08:57.409Z] dad572c73e25: Preparing [2021-06-24T20:08:57.409Z] 1d0c0fd4e7ea: Preparing [2021-06-24T20:08:57.409Z] 32f366d666a5: Preparing [2021-06-24T20:08:57.409Z] 32f366d666a5: Waiting [2021-06-24T20:08:57.409Z] dad572c73e25: Layer already exists [2021-06-24T20:08:57.409Z] a1416b9b050a: Layer already exists [2021-06-24T20:08:57.409Z] 139567d5e48d: Layer already exists [2021-06-24T20:08:57.409Z] 92ba89dc27e3: Layer already exists [2021-06-24T20:08:57.409Z] 1d0c0fd4e7ea: Layer already exists [2021-06-24T20:08:57.409Z] 32f366d666a5: Layer already exists [2021-06-24T20:08:57.409Z] add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20: digest: sha256:d06b7c924253fc8adc28184d39b3f30d2895897ca1847b35af686bc1782fb33e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:09:00.162Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:09:00.487Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-06-24T20:09:00.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-24T20:09:00.487Z] 139567d5e48d: Preparing [2021-06-24T20:09:00.487Z] 92ba89dc27e3: Preparing [2021-06-24T20:09:00.487Z] a1416b9b050a: Preparing [2021-06-24T20:09:00.487Z] dad572c73e25: Preparing [2021-06-24T20:09:00.487Z] 1d0c0fd4e7ea: Preparing [2021-06-24T20:09:00.487Z] 32f366d666a5: Preparing [2021-06-24T20:09:00.487Z] 32f366d666a5: Waiting [2021-06-24T20:09:00.487Z] 139567d5e48d: Layer already exists [2021-06-24T20:09:00.487Z] dad572c73e25: Layer already exists [2021-06-24T20:09:00.487Z] 92ba89dc27e3: Layer already exists [2021-06-24T20:09:00.487Z] 1d0c0fd4e7ea: Layer already exists [2021-06-24T20:09:00.487Z] a1416b9b050a: Layer already exists [2021-06-24T20:09:00.487Z] 32f366d666a5: Layer already exists [2021-06-24T20:09:00.487Z] master: digest: sha256:d06b7c924253fc8adc28184d39b3f30d2895897ca1847b35af686bc1782fb33e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T20:09:00.557Z] ===================================================== [Pipeline] echo [2021-06-24T20:09:00.576Z] taggedImages: [2021-06-24T20:09:00.576Z] - nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:09:00.576Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-24T20:09:00.576Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.20 [2021-06-24T20:09:00.576Z] - nexus3.edgexfoundry.org:10004/device-modbus:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:09:00.576Z] - 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-06-24T20:09:06.908Z] ---> job-cost.sh [2021-06-24T20:09:06.908Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kgdf [2021-06-24T20:09:16.396Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T20:09:22.642Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-24T20:09:22.642Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.046s coverage: 47.7% of statements [2021-06-24T20:09:22.642Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T20:09:28.995Z] lf-activate-venv(): INFO: Adding /tmp/venv-Kgdf/bin to PATH [2021-06-24T20:09:28.995Z] INFO: No Stack... [2021-06-24T20:09:28.995Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T20:09:29.602Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T20:09:32.560Z] + cut -d, -f6 [2021-06-24T20:09:32.560Z] + cat /w/workspace/device-modbus-go/59/archives/cost.csv [Pipeline] lock [2021-06-24T20:09:32.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] [2021-06-24T20:09:32.624Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] did not exist. Created. [2021-06-24T20:09:32.624Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T20:09:35.545Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T20:09:35.613Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T20:09:35.635Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T20:09:44.902Z] gofmt -l . [2021-06-24T20:09:44.902Z] [ "`gofmt -l .`" = "" ] [2021-06-24T20:09:44.902Z] ./bin/test-attribution-txt.sh [2021-06-24T20:09:45.188Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T20:09:45.486Z] $ docker stop --time=1 72eb615a0585bf711bc0eb96cb967b7ea7f6b113b0aa4e5e0f1f10bea5914f9a [2021-06-24T20:09:48.123Z] $ docker rm -f 72eb615a0585bf711bc0eb96cb967b7ea7f6b113b0aa4e5e0f1f10bea5914f9a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T20:09:51.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T20:09:51.466Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T20:09:57.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T20:10:00.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T20:10:00.553Z] + ls -al . [2021-06-24T20:10:00.553Z] total 144 [2021-06-24T20:10:00.553Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 20:09 . [2021-06-24T20:10:00.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 20:05 .. [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 20:05 .dockerignore [2021-06-24T20:10:00.553Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 20:05 .git [2021-06-24T20:10:00.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 20:05 .github [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 338 Jun 24 20:05 .gitignore [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jun 24 20:05 Attribution.txt [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jun 24 20:05 Dockerfile [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 995 Jun 24 20:05 Dockerfile.build [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 24 20:05 Jenkinsfile [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 24 20:05 LICENSE [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 914 Jun 24 20:05 Makefile [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jun 24 20:05 README.md [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 20:01 VERSION [2021-06-24T20:10:00.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 20:05 bin [2021-06-24T20:10:00.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 20:05 cmd [2021-06-24T20:10:00.553Z] -rw-r--r-- 1 jenkins jenkins 22385 Jun 24 20:09 coverage.out [2021-06-24T20:10:00.553Z] -rw-r--r-- 1 jenkins jenkins 414 Jun 24 20:09 go.mod [2021-06-24T20:10:00.553Z] -rw-r--r-- 1 jenkins jenkins 21529 Jun 24 20:08 go.sum [2021-06-24T20:10:00.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 20:05 internal [2021-06-24T20:10:00.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 20:05 simulator [2021-06-24T20:10:00.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 20:05 snap [2021-06-24T20:10:00.553Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 24 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:10:03.385Z] + 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=add7319ca76619587cd081c32c0d0dde4cc2319e --label arch=arm64 --label version=1.3.2-dev.20 . [2021-06-24T20:10:03.385Z] Sending build context to Docker daemon 656.9kB [2021-06-24T20:10:03.385Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T20:10:03.385Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-24T20:10:03.385Z] ---> 0089c25d598a [2021-06-24T20:10:03.385Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:10:03.385Z] ---> Running in 2571df305dd1 [2021-06-24T20:10:03.385Z] Removing intermediate container 2571df305dd1 [2021-06-24T20:10:03.385Z] ---> 97dbd38166cc [2021-06-24T20:10:03.385Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T20:10:03.683Z] ---> Running in a2309804ef9c [2021-06-24T20:10:06.649Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T20:10:06.649Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T20:10:06.649Z] OK: 145 MiB in 53 packages [2021-06-24T20:10:09.894Z] Removing intermediate container a2309804ef9c [2021-06-24T20:10:09.894Z] ---> b0fbf32f2a61 [2021-06-24T20:10:09.894Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-24T20:10:09.894Z] ---> Running in 977dd0cc205c [2021-06-24T20:10:09.894Z] Removing intermediate container 977dd0cc205c [2021-06-24T20:10:09.894Z] ---> ca8b44ef4bac [2021-06-24T20:10:09.894Z] Step 6/22 : COPY . . [2021-06-24T20:10:09.894Z] ---> 79618d0d1ace [2021-06-24T20:10:09.894Z] Step 7/22 : RUN go mod tidy [2021-06-24T20:10:09.894Z] ---> Running in 24ddaebd0880 [2021-06-24T20:10:13.068Z] Removing intermediate container 24ddaebd0880 [2021-06-24T20:10:13.068Z] ---> 98d7b3d4d337 [2021-06-24T20:10:13.068Z] Step 8/22 : RUN go mod download [2021-06-24T20:10:13.068Z] ---> Running in 8f390f18953d [2021-06-24T20:10:16.431Z] Removing intermediate container 8f390f18953d [2021-06-24T20:10:16.431Z] ---> 360984785842 [2021-06-24T20:10:16.431Z] Step 9/22 : RUN make build [2021-06-24T20:10:16.431Z] ---> Running in 0f34f43da0ed [2021-06-24T20:10:16.431Z] go mod tidy [2021-06-24T20:10:16.717Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.20" -o cmd/device-modbus ./cmd [2021-06-24T20:10:50.257Z] Removing intermediate container 0f34f43da0ed [2021-06-24T20:10:50.257Z] ---> 03ecfab8f3e9 [2021-06-24T20:10:50.257Z] Step 10/22 : FROM alpine:3.12 [2021-06-24T20:10:53.507Z] 3.12: Pulling from library/alpine [2021-06-24T20:10:53.507Z] d2f70382dc9a: Pulling fs layer [2021-06-24T20:10:53.507Z] d2f70382dc9a: Verifying Checksum [2021-06-24T20:10:53.507Z] d2f70382dc9a: Download complete [2021-06-24T20:10:53.507Z] d2f70382dc9a: Pull complete [2021-06-24T20:10:53.507Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T20:10:53.507Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T20:10:53.507Z] ---> c4fd0aeabfcf [2021-06-24T20:10:53.507Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-24T20:10:53.507Z] ---> Running in a0d52455ddf2 [2021-06-24T20:10:53.507Z] Removing intermediate container a0d52455ddf2 [2021-06-24T20:10:53.507Z] ---> c255d14b306b [2021-06-24T20:10:53.507Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T20:10:53.507Z] ---> Running in fccc8d591a41 [2021-06-24T20:10:59.261Z] Removing intermediate container fccc8d591a41 [2021-06-24T20:10:59.261Z] ---> c23379e55a2b [2021-06-24T20:10:59.261Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T20:10:59.261Z] ---> Running in afaee6f78205 [2021-06-24T20:10:59.261Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T20:10:59.261Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T20:10:59.261Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T20:10:59.261Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T20:10:59.261Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T20:10:59.261Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T20:10:59.261Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T20:10:59.261Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T20:10:59.261Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T20:10:59.261Z] OK: 8 MiB in 20 packages [2021-06-24T20:10:59.876Z] Removing intermediate container afaee6f78205 [2021-06-24T20:10:59.876Z] ---> 2a5afca02eb2 [2021-06-24T20:10:59.876Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-24T20:11:02.773Z] ---> c958e2adfef5 [2021-06-24T20:11:02.774Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-24T20:11:02.774Z] ---> 6655db7a6f41 [2021-06-24T20:11:02.774Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-24T20:11:02.774Z] ---> 6306dccc8950 [2021-06-24T20:11:02.774Z] Step 17/22 : EXPOSE 59901 [2021-06-24T20:11:02.774Z] ---> Running in 5998f85ceddd [2021-06-24T20:11:03.061Z] Removing intermediate container 5998f85ceddd [2021-06-24T20:11:03.061Z] ---> 0bdbb7d1469f [2021-06-24T20:11:03.061Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-24T20:11:03.061Z] ---> Running in a09d9fa7be1a [2021-06-24T20:11:06.026Z] Removing intermediate container a09d9fa7be1a [2021-06-24T20:11:06.027Z] ---> b34abaf21f3b [2021-06-24T20:11:06.027Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T20:11:06.027Z] ---> Running in 4a86708599d0 [2021-06-24T20:11:06.027Z] Removing intermediate container 4a86708599d0 [2021-06-24T20:11:06.027Z] ---> 01dc33038ef8 [2021-06-24T20:11:06.027Z] Step 20/22 : LABEL arch=arm64 [2021-06-24T20:11:06.027Z] ---> Running in c38533ebdd67 [2021-06-24T20:11:06.027Z] Removing intermediate container c38533ebdd67 [2021-06-24T20:11:06.027Z] ---> 77453f6d9012 [2021-06-24T20:11:06.027Z] Step 21/22 : LABEL git_sha=add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:11:06.027Z] ---> Running in 4d5e9ca99fbc [2021-06-24T20:11:06.027Z] Removing intermediate container 4d5e9ca99fbc [2021-06-24T20:11:06.027Z] ---> d0583d518aef [2021-06-24T20:11:06.027Z] Step 22/22 : LABEL version=1.3.2-dev.20 [2021-06-24T20:11:06.027Z] ---> Running in 99d581ef56e9 [2021-06-24T20:11:06.027Z] Removing intermediate container 99d581ef56e9 [2021-06-24T20:11:06.027Z] ---> 2b71b3a2ee48 [2021-06-24T20:11:06.027Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T20:11:06.027Z] Successfully built 2b71b3a2ee48 [2021-06-24T20:11:06.027Z] 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-06-24T20:11:06.385Z] provisioning config files... [2021-06-24T20:11:06.415Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config5030051436439142253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:11:09.532Z] ---> docker-login.sh [2021-06-24T20:11:09.532Z] nexus3.edgexfoundry.org:10001 [2021-06-24T20:11:09.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:11:12.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:11:12.509Z] Configure a credential helper to remove this warning. See [2021-06-24T20:11:12.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:11:12.509Z] [2021-06-24T20:11:12.509Z] Login Succeeded [2021-06-24T20:11:12.509Z] nexus3.edgexfoundry.org:10002 [2021-06-24T20:11:12.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:11:12.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:11:12.509Z] Configure a credential helper to remove this warning. See [2021-06-24T20:11:12.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:11:12.509Z] [2021-06-24T20:11:12.509Z] Login Succeeded [2021-06-24T20:11:12.509Z] nexus3.edgexfoundry.org:10003 [2021-06-24T20:11:12.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:11:12.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:11:12.509Z] Configure a credential helper to remove this warning. See [2021-06-24T20:11:12.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:11:12.509Z] [2021-06-24T20:11:12.509Z] Login Succeeded [2021-06-24T20:11:12.509Z] nexus3.edgexfoundry.org:10004 [2021-06-24T20:11:12.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:11:12.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:11:12.509Z] Configure a credential helper to remove this warning. See [2021-06-24T20:11:12.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:11:12.509Z] [2021-06-24T20:11:12.509Z] Login Succeeded [2021-06-24T20:11:12.509Z] docker.io [2021-06-24T20:11:12.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T20:11:12.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T20:11:12.509Z] Configure a credential helper to remove this warning. See [2021-06-24T20:11:12.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T20:11:12.509Z] [2021-06-24T20:11:12.509Z] Login Succeeded [2021-06-24T20:11:12.509Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T20:11:12.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T20:11:12.684Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-06-24T20:11:12.684Z] add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:11:12.684Z] latest [2021-06-24T20:11:12.684Z] 1.3.2-dev.20 [2021-06-24T20:11:12.684Z] add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:11:12.684Z] master [2021-06-24T20:11:12.684Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:15.412Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:15.791Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:11:15.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-24T20:11:15.791Z] 226c4e5ed3c6: Preparing [2021-06-24T20:11:15.791Z] b9286d08a054: Preparing [2021-06-24T20:11:15.791Z] e63c62e7187d: Preparing [2021-06-24T20:11:15.791Z] e9f133d0b266: Preparing [2021-06-24T20:11:15.791Z] 6472648bba02: Preparing [2021-06-24T20:11:15.791Z] 3fbe34a1663b: Preparing [2021-06-24T20:11:15.791Z] 3fbe34a1663b: Waiting [2021-06-24T20:11:18.643Z] b9286d08a054: Pushed [2021-06-24T20:11:18.643Z] 226c4e5ed3c6: Pushed [2021-06-24T20:11:18.643Z] 6472648bba02: Pushed [2021-06-24T20:11:18.643Z] 3fbe34a1663b: Layer already exists [2021-06-24T20:11:18.643Z] e9f133d0b266: Pushed [2021-06-24T20:11:18.643Z] e63c62e7187d: Pushed [2021-06-24T20:11:18.921Z] add7319ca76619587cd081c32c0d0dde4cc2319e: digest: sha256:8aae1fce7f901906f26cc2b0dc05058f30e9ec7738cc32c2765edf5bd0c71ccb size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:21.828Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:22.238Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-24T20:11:22.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-24T20:11:22.238Z] 226c4e5ed3c6: Preparing [2021-06-24T20:11:22.238Z] b9286d08a054: Preparing [2021-06-24T20:11:22.238Z] e63c62e7187d: Preparing [2021-06-24T20:11:22.238Z] e9f133d0b266: Preparing [2021-06-24T20:11:22.238Z] 6472648bba02: Preparing [2021-06-24T20:11:22.238Z] 3fbe34a1663b: Preparing [2021-06-24T20:11:22.238Z] 3fbe34a1663b: Waiting [2021-06-24T20:11:22.238Z] e9f133d0b266: Layer already exists [2021-06-24T20:11:22.238Z] 226c4e5ed3c6: Layer already exists [2021-06-24T20:11:22.238Z] 6472648bba02: Layer already exists [2021-06-24T20:11:22.238Z] b9286d08a054: Layer already exists [2021-06-24T20:11:22.238Z] e63c62e7187d: Layer already exists [2021-06-24T20:11:24.991Z] 3fbe34a1663b: Layer already exists [2021-06-24T20:11:24.991Z] latest: digest: sha256:8aae1fce7f901906f26cc2b0dc05058f30e9ec7738cc32c2765edf5bd0c71ccb size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:25.386Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:28.232Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.20 [2021-06-24T20:11:28.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-24T20:11:28.232Z] 226c4e5ed3c6: Preparing [2021-06-24T20:11:28.232Z] b9286d08a054: Preparing [2021-06-24T20:11:28.232Z] e63c62e7187d: Preparing [2021-06-24T20:11:28.232Z] e9f133d0b266: Preparing [2021-06-24T20:11:28.232Z] 6472648bba02: Preparing [2021-06-24T20:11:28.232Z] 3fbe34a1663b: Preparing [2021-06-24T20:11:28.232Z] 3fbe34a1663b: Waiting [2021-06-24T20:11:28.232Z] e9f133d0b266: Layer already exists [2021-06-24T20:11:28.232Z] 226c4e5ed3c6: Layer already exists [2021-06-24T20:11:28.232Z] e63c62e7187d: Layer already exists [2021-06-24T20:11:28.232Z] b9286d08a054: Layer already exists [2021-06-24T20:11:28.232Z] 6472648bba02: Layer already exists [2021-06-24T20:11:28.232Z] 3fbe34a1663b: Layer already exists [2021-06-24T20:11:28.232Z] 1.3.2-dev.20: digest: sha256:8aae1fce7f901906f26cc2b0dc05058f30e9ec7738cc32c2765edf5bd0c71ccb size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:28.642Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:31.788Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:11:31.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-24T20:11:31.788Z] 226c4e5ed3c6: Preparing [2021-06-24T20:11:31.788Z] b9286d08a054: Preparing [2021-06-24T20:11:31.788Z] e63c62e7187d: Preparing [2021-06-24T20:11:31.788Z] e9f133d0b266: Preparing [2021-06-24T20:11:31.788Z] 6472648bba02: Preparing [2021-06-24T20:11:31.788Z] 3fbe34a1663b: Preparing [2021-06-24T20:11:31.788Z] 3fbe34a1663b: Waiting [2021-06-24T20:11:31.788Z] e9f133d0b266: Layer already exists [2021-06-24T20:11:31.788Z] 6472648bba02: Layer already exists [2021-06-24T20:11:31.788Z] e63c62e7187d: Layer already exists [2021-06-24T20:11:31.788Z] b9286d08a054: Layer already exists [2021-06-24T20:11:31.788Z] 226c4e5ed3c6: Layer already exists [2021-06-24T20:11:31.788Z] 3fbe34a1663b: Layer already exists [2021-06-24T20:11:31.788Z] add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20: digest: sha256:8aae1fce7f901906f26cc2b0dc05058f30e9ec7738cc32c2765edf5bd0c71ccb size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:32.165Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:11:34.989Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-06-24T20:11:34.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-24T20:11:34.989Z] 226c4e5ed3c6: Preparing [2021-06-24T20:11:34.989Z] b9286d08a054: Preparing [2021-06-24T20:11:34.989Z] e63c62e7187d: Preparing [2021-06-24T20:11:34.989Z] e9f133d0b266: Preparing [2021-06-24T20:11:34.989Z] 6472648bba02: Preparing [2021-06-24T20:11:34.989Z] 3fbe34a1663b: Preparing [2021-06-24T20:11:34.989Z] 6472648bba02: Layer already exists [2021-06-24T20:11:34.989Z] e63c62e7187d: Layer already exists [2021-06-24T20:11:34.989Z] b9286d08a054: Layer already exists [2021-06-24T20:11:34.989Z] 226c4e5ed3c6: Layer already exists [2021-06-24T20:11:34.989Z] e9f133d0b266: Layer already exists [2021-06-24T20:11:34.989Z] 3fbe34a1663b: Layer already exists [2021-06-24T20:11:34.989Z] master: digest: sha256:8aae1fce7f901906f26cc2b0dc05058f30e9ec7738cc32c2765edf5bd0c71ccb size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T20:11:35.083Z] ===================================================== [Pipeline] echo [2021-06-24T20:11:35.101Z] taggedImages: [2021-06-24T20:11:35.101Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e [2021-06-24T20:11:35.101Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-24T20:11:35.101Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.20 [2021-06-24T20:11:35.101Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:add7319ca76619587cd081c32c0d0dde4cc2319e-1.3.2-dev.20 [2021-06-24T20:11:35.101Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:11:38.057Z] ---> job-cost.sh [2021-06-24T20:11:38.058Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZtvE [2021-06-24T20:12:13.764Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T20:13:39.551Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZtvE/bin to PATH [2021-06-24T20:13:39.551Z] INFO: No Stack... [2021-06-24T20:13:39.551Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T20:13:39.551Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T20:13:43.140Z] + cat /w/workspace/device-modbus-go/59/archives/cost.csv [2021-06-24T20:13:43.140Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T20:13:43.226Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] [2021-06-24T20:13:43.247Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] did not exist. Created. [2021-06-24T20:13:43.247Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T20:13:46.726Z] /w/workspace/device-modbus-go/59@tmp/durable-af000ae2/script.sh: 1: /w/workspace/device-modbus-go/59@tmp/durable-af000ae2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T20:13:47.133Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T20:13:50.366Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T20:13:50.541Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T20:13:50.601Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-59-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-06-24T20:14:10.185Z] provisioning config files... [2021-06-24T20:14:10.220Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2530106971202258715tmp [Pipeline] { [Pipeline] sh [2021-06-24T20:14:13.155Z] + set +x [2021-06-24T20:14:13.155Z] + bash -s -- [2021-06-24T20:14:13.155Z] + curl -s https://codecov.io/bash [2021-06-24T20:14:13.155Z] [2021-06-24T20:14:13.155Z] _____ _ [2021-06-24T20:14:13.155Z] / ____| | | [2021-06-24T20:14:13.155Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T20:14:13.155Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T20:14:13.155Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T20:14:13.155Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T20:14:13.155Z] Bash-1.0.3 [2021-06-24T20:14:13.155Z] [2021-06-24T20:14:13.155Z] [2021-06-24T20:14:13.155Z] ==> git version 2.24.4 found [2021-06-24T20:14:13.155Z] ==> 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-06-24T20:14:13.155Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T20:14:13.155Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T20:14:13.155Z] ==> Jenkins CI detected. [2021-06-24T20:14:13.155Z] project root: . [2021-06-24T20:14:13.155Z] --> token set from env [2021-06-24T20:14:13.155Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T20:14:13.155Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T20:14:13.155Z] ==> Python coveragepy not found [2021-06-24T20:14:13.155Z] ==> Searching for coverage reports in: [2021-06-24T20:14:13.155Z] + . [2021-06-24T20:14:13.155Z] -> Found 1 reports [2021-06-24T20:14:13.155Z] ==> Detecting git/mercurial file structure [2021-06-24T20:14:13.155Z] ==> Reading reports [2021-06-24T20:14:13.155Z] + ./coverage.out bytes=22385 [2021-06-24T20:14:13.155Z] ==> Appending adjustments [2021-06-24T20:14:13.155Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T20:14:13.155Z] + Found adjustments [2021-06-24T20:14:13.155Z] ==> Gzipping contents [2021-06-24T20:14:13.155Z] 4.0K /tmp/codecov.lDIEEu.gz [2021-06-24T20:14:13.155Z] ==> Uploading reports [2021-06-24T20:14:13.155Z] url: https://codecov.io [2021-06-24T20:14:13.155Z] query: branch=master&commit=add7319ca76619587cd081c32c0d0dde4cc2319e&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-24T20:14:13.155Z] -> Pinging Codecov [2021-06-24T20:14:13.155Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=add7319ca76619587cd081c32c0d0dde4cc2319e&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-24T20:14:13.155Z] -> Uploading to [2021-06-24T20:14:13.155Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/55DBCA73C666E3227836607328DD7E49/add7319ca76619587cd081c32c0d0dde4cc2319e/d58d2a30-919d-4d9b-88ed-eadf07b95b25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T201411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=406936f39c10378b7292052155ebbb0221f7308fe6d8f72e8ef3cf86e9f908b9 [2021-06-24T20:14:13.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T20:14:13.155Z] Dload Upload Total Spent Left Speed [2021-06-24T20:14:13.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3916 0 0 100 3916 0 11425 --:--:-- --:--:-- --:--:-- 11416 [2021-06-24T20:14:13.155Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] } [2021-06-24T20:14:13.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-24T20:14:25.213Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-24T20:14:25.248Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:14:28.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T20:14:28.420Z] [2021-06-24T20:14:28.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:14:31.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T20:14:31.728Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-24T20:14:31.728Z] 188c0c94c7c5: Pulling fs layer [2021-06-24T20:14:31.728Z] 0ef7d3d256c8: Pulling fs layer [2021-06-24T20:14:31.728Z] de9db76c5a1d: Pulling fs layer [2021-06-24T20:14:31.728Z] 0eba1c9be4d2: Pulling fs layer [2021-06-24T20:14:31.728Z] 0d57e429df01: Pulling fs layer [2021-06-24T20:14:31.728Z] 4e4be7b47b0d: Pulling fs layer [2021-06-24T20:14:31.728Z] e1f770b5df2f: Pulling fs layer [2021-06-24T20:14:31.728Z] 85a0685a4137: Pulling fs layer [2021-06-24T20:14:31.728Z] 0eba1c9be4d2: Waiting [2021-06-24T20:14:31.728Z] 4e4be7b47b0d: Waiting [2021-06-24T20:14:31.728Z] 0d57e429df01: Waiting [2021-06-24T20:14:31.728Z] e1f770b5df2f: Waiting [2021-06-24T20:14:31.728Z] 85a0685a4137: Waiting [2021-06-24T20:14:31.728Z] de9db76c5a1d: Verifying Checksum [2021-06-24T20:14:31.728Z] de9db76c5a1d: Download complete [2021-06-24T20:14:31.728Z] 0ef7d3d256c8: Verifying Checksum [2021-06-24T20:14:31.728Z] 0ef7d3d256c8: Download complete [2021-06-24T20:14:31.728Z] 0d57e429df01: Verifying Checksum [2021-06-24T20:14:31.728Z] 0d57e429df01: Download complete [2021-06-24T20:14:31.728Z] 4e4be7b47b0d: Verifying Checksum [2021-06-24T20:14:31.728Z] 4e4be7b47b0d: Download complete [2021-06-24T20:14:31.728Z] 188c0c94c7c5: Verifying Checksum [2021-06-24T20:14:31.728Z] 188c0c94c7c5: Download complete [2021-06-24T20:14:31.728Z] 188c0c94c7c5: Pull complete [2021-06-24T20:14:31.728Z] 0ef7d3d256c8: Pull complete [2021-06-24T20:14:31.728Z] de9db76c5a1d: Pull complete [2021-06-24T20:14:31.728Z] e1f770b5df2f: Verifying Checksum [2021-06-24T20:14:31.728Z] e1f770b5df2f: Download complete [2021-06-24T20:14:35.331Z] 0eba1c9be4d2: Verifying Checksum [2021-06-24T20:14:35.331Z] 0eba1c9be4d2: Download complete [2021-06-24T20:14:35.331Z] 85a0685a4137: Verifying Checksum [2021-06-24T20:14:35.331Z] 85a0685a4137: Download complete [2021-06-24T20:14:35.915Z] 0eba1c9be4d2: Pull complete [2021-06-24T20:14:35.915Z] 0d57e429df01: Pull complete [2021-06-24T20:14:35.915Z] 4e4be7b47b0d: Pull complete [2021-06-24T20:14:38.670Z] e1f770b5df2f: Pull complete [2021-06-24T20:14:41.917Z] 85a0685a4137: Pull complete [2021-06-24T20:14:41.917Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-24T20:14:41.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T20:14:41.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-24T20:14:42.040Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:14:42.116Z] $ 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-06-24T20:14:45.205Z] $ docker top 77de0e28b58e8e4a8e8ae600fc99b4a16ff02c9baa129099fcc0d6b9c7ff0b1d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-24T20:14:45.399Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-24T20:14:45.768Z] + set -o pipefail [2021-06-24T20:14:45.768Z] + snyk monitor '--org=edgex-jenkins' [2021-06-24T20:14:52.314Z] [2021-06-24T20:14:52.314Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-06-24T20:14:52.314Z] [2021-06-24T20:14:52.314Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/815294e6-d85d-4af7-801b-0ee9f088951f [2021-06-24T20:14:52.314Z] [2021-06-24T20:14:52.314Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-06-24T20:14:52.314Z] [2021-06-24T20:14:52.314Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-24T20:14:52.314Z] [2021-06-24T20:14:52.314Z] [Pipeline] } [2021-06-24T20:14:52.334Z] $ docker stop --time=1 77de0e28b58e8e4a8e8ae600fc99b4a16ff02c9baa129099fcc0d6b9c7ff0b1d [2021-06-24T20:14:55.047Z] $ docker rm -f 77de0e28b58e8e4a8e8ae600fc99b4a16ff02c9baa129099fcc0d6b9c7ff0b1d [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-06-24T20:15:02.179Z] + git log --format=format:%s -1 add7319ca76619587cd081c32c0d0dde4cc2319e [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:15:05.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:15:05.629Z] . [Pipeline] withDockerContainer [2021-06-24T20:15:05.733Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:15:08.476Z] $ 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-06-24T20:15:08.938Z] $ docker top 8e2bd74ae9681f9bfbf673036ceb58f964f4e17fcc606e0e4a8d59ae71e5334e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T20:15:12.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T20:15:12.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T20:15:12.375Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T20:15:12.377Z] $ docker exec 8e2bd74ae9681f9bfbf673036ceb58f964f4e17fcc606e0e4a8d59ae71e5334e ssh-agent [2021-06-24T20:15:16.473Z] SSH_AUTH_SOCK=/tmp/ssh-OGl5srIlEHQk/agent.13 [2021-06-24T20:15:16.473Z] SSH_AGENT_PID=19 [2021-06-24T20:15:16.492Z] Running ssh-add (command line suppressed) [2021-06-24T20:15:16.611Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6747418341963007729.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6747418341963007729.key) [2021-06-24T20:15:16.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T20:15:16.996Z] + git semver tag [2021-06-24T20:15:16.996Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T20:15:16.996Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-24T20:15:16.996Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-24T20:15:16.996Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T20:15:16.996Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T20:15:16.996Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T20:15:16.996Z] # $SEMVER_BRANCH = master [2021-06-24T20:15:16.996Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-24T20:15:16.996Z] # add7319ca76619587cd081c32c0d0dde4cc2319e HEAD [2021-06-24T20:15:16.996Z] # -> Force: false [2021-06-24T20:15:16.996Z] # 8ff504f9c12ca2bafe86ffe063d558ce3eb8781b refs/tags/v1.3.2-dev.20 [Pipeline] } [2021-06-24T20:15:17.022Z] $ docker exec --env ******** --env ******** 8e2bd74ae9681f9bfbf673036ceb58f964f4e17fcc606e0e4a8d59ae71e5334e ssh-agent -k [2021-06-24T20:15:17.128Z] unset SSH_AUTH_SOCK; [2021-06-24T20:15:17.128Z] unset SSH_AGENT_PID; [2021-06-24T20:15:17.128Z] echo Agent pid 19 killed; [2021-06-24T20:15:20.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T20:15:20.443Z] + git semver [Pipeline] } [2021-06-24T20:15:25.751Z] $ docker stop --time=1 8e2bd74ae9681f9bfbf673036ceb58f964f4e17fcc606e0e4a8d59ae71e5334e [2021-06-24T20:15:30.002Z] $ docker rm -f 8e2bd74ae9681f9bfbf673036ceb58f964f4e17fcc606e0e4a8d59ae71e5334e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:15:33.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T20:15:33.987Z] [2021-06-24T20:15:33.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:15:37.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T20:15:37.806Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-24T20:15:37.806Z] ab5ef0e58194: Pulling fs layer [2021-06-24T20:15:37.806Z] 9712f1f96733: Pulling fs layer [2021-06-24T20:15:37.806Z] 63f879dbbcfc: Pulling fs layer [2021-06-24T20:15:37.806Z] 0d9ebad4ef96: Pulling fs layer [2021-06-24T20:15:37.806Z] e9a5061849ea: Pulling fs layer [2021-06-24T20:15:37.806Z] d747dcd14b5f: Pulling fs layer [2021-06-24T20:15:37.806Z] 2de7ff778b66: Pulling fs layer [2021-06-24T20:15:37.806Z] e9a5061849ea: Waiting [2021-06-24T20:15:37.806Z] d747dcd14b5f: Waiting [2021-06-24T20:15:37.806Z] 2de7ff778b66: Waiting [2021-06-24T20:15:37.806Z] 0d9ebad4ef96: Waiting [2021-06-24T20:15:37.806Z] 9712f1f96733: Verifying Checksum [2021-06-24T20:15:37.806Z] 9712f1f96733: Download complete [2021-06-24T20:15:37.806Z] 63f879dbbcfc: Verifying Checksum [2021-06-24T20:15:37.806Z] 63f879dbbcfc: Download complete [2021-06-24T20:15:37.806Z] e9a5061849ea: Verifying Checksum [2021-06-24T20:15:37.806Z] e9a5061849ea: Download complete [2021-06-24T20:15:37.806Z] d747dcd14b5f: Verifying Checksum [2021-06-24T20:15:37.806Z] d747dcd14b5f: Download complete [2021-06-24T20:15:37.806Z] 2de7ff778b66: Verifying Checksum [2021-06-24T20:15:37.806Z] 2de7ff778b66: Download complete [2021-06-24T20:15:37.806Z] 0d9ebad4ef96: Verifying Checksum [2021-06-24T20:15:37.806Z] 0d9ebad4ef96: Download complete [2021-06-24T20:15:37.806Z] ab5ef0e58194: Verifying Checksum [2021-06-24T20:15:37.806Z] ab5ef0e58194: Download complete [2021-06-24T20:15:41.437Z] ab5ef0e58194: Pull complete [2021-06-24T20:15:41.437Z] 9712f1f96733: Pull complete [2021-06-24T20:15:41.437Z] 63f879dbbcfc: Pull complete [2021-06-24T20:15:45.360Z] 0d9ebad4ef96: Pull complete [2021-06-24T20:15:45.360Z] e9a5061849ea: Pull complete [2021-06-24T20:15:45.360Z] d747dcd14b5f: Pull complete [2021-06-24T20:15:45.657Z] 2de7ff778b66: Pull complete [2021-06-24T20:15:45.657Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-24T20:15:45.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T20:15:45.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-24T20:15:45.783Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:15:45.839Z] $ 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-06-24T20:15:52.964Z] $ docker top 5c86c8ea338139739d7960a2adddf02acfc1952001634f897ce9b8411fa77ab2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-24T20:15:53.194Z] provisioning config files... [2021-06-24T20:15:53.219Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2538083476067733695tmp [2021-06-24T20:15:53.239Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config9211931647408511596tmp [2021-06-24T20:15:53.258Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6101214015054884370tmp [Pipeline] { [Pipeline] echo [2021-06-24T20:15:53.289Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:15:56.659Z] ---> sigul-configuration.sh [2021-06-24T20:15:56.659Z] gpg: directory `/root/.gnupg' created [2021-06-24T20:15:56.659Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-24T20:15:56.659Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-24T20:15:56.659Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-24T20:15:56.659Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-24T20:15:56.659Z] gpg: CAST5 encrypted data [2021-06-24T20:15:56.659Z] gpg: encrypted with 1 passphrase [2021-06-24T20:15:56.659Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-24T20:15:59.834Z] + mkdir /home/jenkins [2021-06-24T20:15:59.834Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-24T20:16:00.192Z] + 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-06-24T20:16:00.254Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:16:03.871Z] ---> sigul-install.sh [2021-06-24T20:16:10.946Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-24T20:16:11.325Z] + git tag --list [2021-06-24T20:16:11.325Z] 0.7.1 [2021-06-24T20:16:11.325Z] v1.0.0 [2021-06-24T20:16:11.325Z] v1.1.0 [2021-06-24T20:16:11.325Z] v1.1.1 [2021-06-24T20:16:11.325Z] v1.2.2 [2021-06-24T20:16:11.325Z] v1.3.0 [2021-06-24T20:16:11.325Z] v1.3.1 [2021-06-24T20:16:11.325Z] v1.3.1-dev.1 [2021-06-24T20:16:11.325Z] v1.3.1-dev.2 [2021-06-24T20:16:11.325Z] v1.3.1-dev.3 [2021-06-24T20:16:11.325Z] v1.3.1-dev.4 [2021-06-24T20:16:11.325Z] v1.3.1-dev.5 [2021-06-24T20:16:11.325Z] v1.3.1-dev.6 [2021-06-24T20:16:11.325Z] v1.3.1-dev.7 [2021-06-24T20:16:11.325Z] v1.3.1-dev.8 [2021-06-24T20:16:11.325Z] v1.3.2-dev.1 [2021-06-24T20:16:11.325Z] v1.3.2-dev.10 [2021-06-24T20:16:11.325Z] v1.3.2-dev.11 [2021-06-24T20:16:11.325Z] v1.3.2-dev.12 [2021-06-24T20:16:11.325Z] v1.3.2-dev.13 [2021-06-24T20:16:11.325Z] v1.3.2-dev.14 [2021-06-24T20:16:11.325Z] v1.3.2-dev.15 [2021-06-24T20:16:11.325Z] v1.3.2-dev.16 [2021-06-24T20:16:11.325Z] v1.3.2-dev.17 [2021-06-24T20:16:11.325Z] v1.3.2-dev.18 [2021-06-24T20:16:11.325Z] v1.3.2-dev.19 [2021-06-24T20:16:11.325Z] v1.3.2-dev.2 [2021-06-24T20:16:11.325Z] v1.3.2-dev.20 [2021-06-24T20:16:11.325Z] v1.3.2-dev.3 [2021-06-24T20:16:11.325Z] v1.3.2-dev.4 [2021-06-24T20:16:11.325Z] v1.3.2-dev.5 [2021-06-24T20:16:11.325Z] v1.3.2-dev.6 [2021-06-24T20:16:11.325Z] v1.3.2-dev.7 [2021-06-24T20:16:11.325Z] v1.3.2-dev.8 [2021-06-24T20:16:11.325Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-24T20:16:14.663Z] + lftools sign git-tag v1.3.2-dev.20 [2021-06-24T20:16:14.663Z] Signing Git tag with Sigul... [2021-06-24T20:16:14.663Z] Signing v1.3.2-dev.20 [Pipeline] echo [2021-06-24T20:16:14.733Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:16:17.938Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-24T20:16:17.969Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-24T20:16:18.023Z] $ docker stop --time=1 5c86c8ea338139739d7960a2adddf02acfc1952001634f897ce9b8411fa77ab2 [2021-06-24T20:16:21.740Z] $ docker rm -f 5c86c8ea338139739d7960a2adddf02acfc1952001634f897ce9b8411fa77ab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:16:25.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:16:25.650Z] . [Pipeline] withDockerContainer [2021-06-24T20:16:29.186Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:16:29.290Z] $ 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-06-24T20:16:32.927Z] $ docker top 2266323819b216520ad628496c61ef11c061bd66d307780538c947afdb20364e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T20:16:33.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T20:16:33.119Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T20:16:33.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T20:16:33.272Z] $ docker exec 2266323819b216520ad628496c61ef11c061bd66d307780538c947afdb20364e ssh-agent [2021-06-24T20:16:36.239Z] SSH_AUTH_SOCK=/tmp/ssh-7ABCS7pwChky/agent.14 [2021-06-24T20:16:36.239Z] SSH_AGENT_PID=20 [2021-06-24T20:16:36.247Z] Running ssh-add (command line suppressed) [2021-06-24T20:16:36.346Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7129153050032394809.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7129153050032394809.key) [2021-06-24T20:16:36.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T20:16:39.928Z] + git semver bump pre [2021-06-24T20:16:39.928Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T20:16:39.928Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-24T20:16:39.928Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-24T20:16:39.928Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T20:16:39.928Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T20:16:39.928Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T20:16:39.928Z] # $SEMVER_BRANCH = master [2021-06-24T20:16:39.928Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-24T20:16:39.928Z] 1.3.2-dev.21 [Pipeline] } [2021-06-24T20:16:39.970Z] $ docker exec --env ******** --env ******** 2266323819b216520ad628496c61ef11c061bd66d307780538c947afdb20364e ssh-agent -k [2021-06-24T20:16:40.077Z] unset SSH_AUTH_SOCK; [2021-06-24T20:16:40.077Z] unset SSH_AGENT_PID; [2021-06-24T20:16:40.077Z] echo Agent pid 20 killed; [2021-06-24T20:16:40.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T20:16:43.104Z] + git semver [Pipeline] } [2021-06-24T20:16:43.124Z] $ docker stop --time=1 2266323819b216520ad628496c61ef11c061bd66d307780538c947afdb20364e [2021-06-24T20:16:46.122Z] $ docker rm -f 2266323819b216520ad628496c61ef11c061bd66d307780538c947afdb20364e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:16:51.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T20:16:51.891Z] . [Pipeline] withDockerContainer [2021-06-24T20:16:51.991Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:16:52.058Z] $ 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-06-24T20:16:54.791Z] $ docker top 13489ae197e4b4fa8eb88dde65032dd69a3959d6e689b5be81bd3222a8295d8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T20:16:54.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T20:16:54.984Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T20:16:57.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T20:16:57.671Z] $ docker exec 13489ae197e4b4fa8eb88dde65032dd69a3959d6e689b5be81bd3222a8295d8c ssh-agent [2021-06-24T20:16:57.812Z] SSH_AUTH_SOCK=/tmp/ssh-XjpsrxI2Glfn/agent.14 [2021-06-24T20:16:57.812Z] SSH_AGENT_PID=21 [2021-06-24T20:16:57.824Z] Running ssh-add (command line suppressed) [2021-06-24T20:16:57.923Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3664332327264353054.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3664332327264353054.key) [2021-06-24T20:16:57.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T20:17:00.644Z] + git semver push [2021-06-24T20:17:00.645Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T20:17:00.645Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-24T20:17:00.645Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-24T20:17:00.645Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T20:17:00.645Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T20:17:00.645Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T20:17:00.645Z] # $SEMVER_BRANCH = master [2021-06-24T20:17:00.645Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-24T20:17:03.679Z] $ docker exec --env ******** --env ******** 13489ae197e4b4fa8eb88dde65032dd69a3959d6e689b5be81bd3222a8295d8c ssh-agent -k [2021-06-24T20:17:03.785Z] unset SSH_AUTH_SOCK; [2021-06-24T20:17:03.785Z] unset SSH_AGENT_PID; [2021-06-24T20:17:03.785Z] echo Agent pid 21 killed; [2021-06-24T20:17:03.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T20:17:06.657Z] + git semver [Pipeline] } [2021-06-24T20:17:06.679Z] $ docker stop --time=1 13489ae197e4b4fa8eb88dde65032dd69a3959d6e689b5be81bd3222a8295d8c [2021-06-24T20:17:09.673Z] $ docker rm -f 13489ae197e4b4fa8eb88dde65032dd69a3959d6e689b5be81bd3222a8295d8c [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-06-24T20:17:21.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:17:21.526Z] ---> package-listing.sh [2021-06-24T20:17:21.526Z] ++ facter osfamily [2021-06-24T20:17:21.526Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T20:17:25.317Z] + OS_FAMILY=redhat [2021-06-24T20:17:25.317Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-06-24T20:17:25.317Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T20:17:25.317Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T20:17:25.317Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T20:17:25.317Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T20:17:25.317Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-24T20:17:25.317Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T20:17:25.317Z] + case "${OS_FAMILY}" in [2021-06-24T20:17:25.317Z] + rpm -qa [2021-06-24T20:17:25.317Z] + sort [2021-06-24T20:17:25.317Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T20:17:25.317Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T20:17:25.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T20:17:25.317Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-24T20:17:25.317Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-06-24T20:17:25.317Z] + 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-06-24T20:17:25.340Z] 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-06-24T20:17:25.652Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:17:29.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T20:17:29.856Z] [2021-06-24T20:17:29.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T20:17:33.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T20:17:33.746Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T20:17:33.746Z] df20fa9351a1: Pulling fs layer [2021-06-24T20:17:33.746Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T20:17:33.746Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T20:17:33.746Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T20:17:33.746Z] 93b61091891f: Pulling fs layer [2021-06-24T20:17:33.746Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T20:17:33.746Z] 5e14af77c1be: Pulling fs layer [2021-06-24T20:17:33.746Z] 01666e4c0597: Pulling fs layer [2021-06-24T20:17:33.746Z] aa168da1d23b: Pulling fs layer [2021-06-24T20:17:33.746Z] 93b9cdb0e59b: Waiting [2021-06-24T20:17:33.746Z] 5e14af77c1be: Waiting [2021-06-24T20:17:33.746Z] 01666e4c0597: Waiting [2021-06-24T20:17:33.746Z] aa168da1d23b: Waiting [2021-06-24T20:17:33.746Z] 46f8f816bc3b: Waiting [2021-06-24T20:17:33.746Z] 93b61091891f: Waiting [2021-06-24T20:17:33.746Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T20:17:33.746Z] 36b3adc4ff6f: Download complete [2021-06-24T20:17:33.746Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T20:17:33.746Z] 46f8f816bc3b: Download complete [2021-06-24T20:17:33.746Z] df20fa9351a1: Verifying Checksum [2021-06-24T20:17:33.746Z] df20fa9351a1: Download complete [2021-06-24T20:17:33.746Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T20:17:33.746Z] 93b9cdb0e59b: Download complete [2021-06-24T20:17:33.746Z] 5e14af77c1be: Verifying Checksum [2021-06-24T20:17:33.746Z] 5e14af77c1be: Download complete [2021-06-24T20:17:33.746Z] 01666e4c0597: Verifying Checksum [2021-06-24T20:17:33.746Z] 01666e4c0597: Download complete [2021-06-24T20:17:33.746Z] 93b61091891f: Verifying Checksum [2021-06-24T20:17:33.746Z] 93b61091891f: Download complete [2021-06-24T20:17:33.746Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T20:17:33.746Z] 8ad3a11d3b57: Download complete [2021-06-24T20:17:33.746Z] df20fa9351a1: Pull complete [2021-06-24T20:17:33.746Z] 36b3adc4ff6f: Pull complete [2021-06-24T20:17:33.746Z] 8ad3a11d3b57: Pull complete [2021-06-24T20:17:33.746Z] 46f8f816bc3b: Pull complete [2021-06-24T20:17:33.746Z] aa168da1d23b: Download complete [2021-06-24T20:17:33.746Z] 93b61091891f: Pull complete [2021-06-24T20:17:33.746Z] 93b9cdb0e59b: Pull complete [2021-06-24T20:17:33.746Z] 5e14af77c1be: Pull complete [2021-06-24T20:17:38.500Z] 01666e4c0597: Pull complete [2021-06-24T20:17:42.707Z] aa168da1d23b: Pull complete [2021-06-24T20:17:42.707Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T20:17:42.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T20:17:42.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T20:17:42.859Z] prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container [2021-06-24T20:17:42.933Z] $ 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-06-24T20:18:03.237Z] $ docker top 99d1b5cc8c62c951f3e6a7458bf2597944b9084e673da9c98fc80d0e0139768e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T20:18:07.186Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T20:18:07.498Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T20:18:10.795Z] + ls /var/log/sa-host [2021-06-24T20:18:10.795Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T20:18:10.795Z] file_magic: OK [2021-06-24T20:18:10.795Z] HZ: Using current value: 100 [2021-06-24T20:18:10.795Z] file_header: OK [2021-06-24T20:18:10.795Z] 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-06-24T20:18:10.795Z] Statistics: [2021-06-24T20:18:10.795Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T20:18:10.795Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T20:18:10.795Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T20:18:10.795Z] file_magic: OK [2021-06-24T20:18:10.795Z] HZ: Using current value: 100 [2021-06-24T20:18:10.795Z] file_header: OK [2021-06-24T20:18:10.795Z] 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-06-24T20:18:10.795Z] Statistics: [2021-06-24T20:18:10.795Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T20:18:10.795Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T20:18:18.763Z] provisioning config files... [2021-06-24T20:18:18.778Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8811907248288874684tmp [Pipeline] { [Pipeline] echo [2021-06-24T20:18:18.814Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:18:19.141Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T20:18:19.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:18:23.146Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T20:18:23.174Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:18:27.051Z] ---> sudo-logs.sh [2021-06-24T20:18:27.051Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T20:18:27.093Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:18:31.071Z] ---> job-cost.sh [2021-06-24T20:18:31.071Z] lf-activate-venv: SKIPPING [2021-06-24T20:18:31.071Z] DEBUG: total: 0.18000000715255737 [2021-06-24T20:18:31.071Z] INFO: Retrieving Stack Cost... [2021-06-24T20:18:31.071Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T20:18:31.071Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T20:18:31.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T20:18:31.406Z] ---> logs-deploy.sh [2021-06-24T20:18:31.406Z] lf-activate-venv: SKIPPING [2021-06-24T20:18:31.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/59 [2021-06-24T20:18:31.406Z] INFO: archiving workspace using pattern(s):