Started by upstream project "edgexfoundry/cd-management/release" build number 61 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 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-ssh7326803454691281743.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-ssh4498197358071818160.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-ssh7193971261750440037.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-ssh7163282225855692856.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-ssh9000123094474199818.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1051’ Running on prd-centos7-docker-4c-2g-1053 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (master) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh1272583561997009215.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 Commit message: "Merge pull request #273 from siggiskulason/snap-v2" > git rev-list --no-walk 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T23:38:14.387Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T23:38:14.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:38:14.507Z] ========================================================= [2021-06-30T23:38:14.507Z] EdgeX Global Pipelines Version Info [2021-06-30T23:38:14.507Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:38:15.974Z] ------------------- [2021-06-30T23:38:15.974Z] stable info: [2021-06-30T23:38:15.974Z] ------------------- [2021-06-30T23:38:15.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T23:38:15.974Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T23:38:15.975Z] Message: update stable to v1.0.195 [2021-06-30T23:38:16.550Z] ------------------- [2021-06-30T23:38:16.550Z] experimental info: [2021-06-30T23:38:16.550Z] ------------------- [2021-06-30T23:38:16.550Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T23:38:16.550Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T23:38:16.550Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T23:38:16.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-30T23:38:16.693Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-30T23:38:16.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T23:38:16.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T23:38:16.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T23:38:16.779Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T23:38:16.802Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T23:38:16.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T23:38:16.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T23:38:16.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T23:38:16.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T23:38:16.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-30T23:38:16.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T23:38:16.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T23:38:16.987Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T23:38:17.012Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T23:38:17.034Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T23:38:17.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T23:38:17.080Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T23:38:17.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-30T23:38:17.127Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T23:38:17.150Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T23:38:17.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T23:38:17.226Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T23:38:17.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T23:38:17.271Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T23:38:17.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-30T23:38:17.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-30T23:38:17.338Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-30T23:38:17.360Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] echo [2021-06-30T23:38:17.383Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7596bf2 [Pipeline] echo [2021-06-30T23:38:17.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:38:17.482Z] provisioning config files... [2021-06-30T23:38:17.498Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config9050928896987737879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:38:17.820Z] ---> docker-login.sh [2021-06-30T23:38:17.820Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:38:18.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:38:18.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:38:18.084Z] Configure a credential helper to remove this warning. See [2021-06-30T23:38:18.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:38:18.084Z] [2021-06-30T23:38:18.084Z] Login Succeeded [2021-06-30T23:38:18.084Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:38:18.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:38:18.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:38:18.084Z] Configure a credential helper to remove this warning. See [2021-06-30T23:38:18.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:38:18.084Z] [2021-06-30T23:38:18.084Z] Login Succeeded [2021-06-30T23:38:18.084Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:38:18.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:38:18.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:38:18.350Z] Configure a credential helper to remove this warning. See [2021-06-30T23:38:18.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:38:18.350Z] [2021-06-30T23:38:18.350Z] Login Succeeded [2021-06-30T23:38:18.350Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:38:18.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:38:18.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:38:18.350Z] Configure a credential helper to remove this warning. See [2021-06-30T23:38:18.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:38:18.350Z] [2021-06-30T23:38:18.350Z] Login Succeeded [2021-06-30T23:38:18.350Z] docker.io [2021-06-30T23:38:18.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:38:18.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:38:18.874Z] Configure a credential helper to remove this warning. See [2021-06-30T23:38:18.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:38:18.874Z] [2021-06-30T23:38:18.874Z] Login Succeeded [2021-06-30T23:38:18.874Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:38:18.883Z] 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-30T23:38:19.411Z] + git log --format=format:%s -1 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] echo [2021-06-30T23:38:19.452Z] GIT_COMMIT: 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1, Commit Message: Merge pull request #273 from siggiskulason/snap-v2 [Pipeline] echo [2021-06-30T23:38:19.466Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:38:22.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:38:22.158Z] [2021-06-30T23:38:22.158Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:38:22.480Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:38:22.481Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T23:38:22.481Z] 31603596830f: Pulling fs layer [2021-06-30T23:38:22.481Z] 54011a49482f: Pulling fs layer [2021-06-30T23:38:22.481Z] a6820b24f6d8: Pulling fs layer [2021-06-30T23:38:22.481Z] f581987b2513: Pulling fs layer [2021-06-30T23:38:22.481Z] f581987b2513: Waiting [2021-06-30T23:38:22.481Z] 54011a49482f: Verifying Checksum [2021-06-30T23:38:22.481Z] 54011a49482f: Download complete [2021-06-30T23:38:22.753Z] 31603596830f: Verifying Checksum [2021-06-30T23:38:22.753Z] 31603596830f: Download complete [2021-06-30T23:38:22.753Z] a6820b24f6d8: Verifying Checksum [2021-06-30T23:38:22.753Z] a6820b24f6d8: Download complete [2021-06-30T23:38:22.753Z] f581987b2513: Verifying Checksum [2021-06-30T23:38:22.753Z] f581987b2513: Download complete [2021-06-30T23:38:22.753Z] 31603596830f: Pull complete [2021-06-30T23:38:23.019Z] 54011a49482f: Pull complete [2021-06-30T23:38:23.593Z] a6820b24f6d8: Pull complete [2021-06-30T23:38:23.593Z] f581987b2513: Pull complete [2021-06-30T23:38:23.858Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T23:38:23.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:38:23.858Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T23:38:23.945Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:38:23.984Z] $ 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-30T23:38:24.916Z] $ docker top eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T23:38:25.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T23:38:25.045Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T23:38:25.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T23:38:25.161Z] $ docker exec eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 ssh-agent [2021-06-30T23:38:25.286Z] SSH_AUTH_SOCK=/tmp/ssh-ek3gvJOj7Fbj/agent.13 [2021-06-30T23:38:25.286Z] SSH_AGENT_PID=20 [2021-06-30T23:38:25.293Z] Running ssh-add (command line suppressed) [2021-06-30T23:38:25.405Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_558771616718258495.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_558771616718258495.key) [2021-06-30T23:38:25.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T23:38:25.725Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T23:38:25.741Z] $ docker exec --env ******** --env ******** eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 ssh-agent -k [2021-06-30T23:38:25.845Z] unset SSH_AUTH_SOCK; [2021-06-30T23:38:25.846Z] unset SSH_AGENT_PID; [2021-06-30T23:38:25.846Z] echo Agent pid 20 killed; [2021-06-30T23:38:25.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-06-30T23:38:25.895Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.2-dev.22|v2.0.0' [Pipeline] sshagent [2021-06-30T23:38:25.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T23:38:25.917Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T23:38:26.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T23:38:26.031Z] $ docker exec eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 ssh-agent [2021-06-30T23:38:26.148Z] SSH_AUTH_SOCK=/tmp/ssh-0E7BcwhEtKWJ/agent.55 [2021-06-30T23:38:26.148Z] SSH_AGENT_PID=61 [2021-06-30T23:38:26.154Z] Running ssh-add (command line suppressed) [2021-06-30T23:38:26.257Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6988798096759415040.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6988798096759415040.key) [2021-06-30T23:38:26.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T23:38:26.576Z] + git semver init [2021-06-30T23:38:26.576Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T23:38:26.576Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-30T23:38:26.576Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-30T23:38:26.576Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T23:38:26.576Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T23:38:26.576Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T23:38:26.576Z] # $SEMVER_BRANCH = master [2021-06-30T23:38:26.576Z] # $SEMVER_TEMP = /tmp/semver-929561790 [2021-06-30T23:38:26.576Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-30T23:38:27.156Z] # '/tmp/semver-929561790' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-06-30T23:38:27.156Z] # -> Force: false [2021-06-30T23:38:27.156Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-30T23:38:27.169Z] $ docker exec --env ******** --env ******** eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 ssh-agent -k [2021-06-30T23:38:27.267Z] unset SSH_AUTH_SOCK; [2021-06-30T23:38:27.267Z] unset SSH_AGENT_PID; [2021-06-30T23:38:27.267Z] echo Agent pid 61 killed; [2021-06-30T23:38:27.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:38:27.620Z] + git semver [Pipeline] } [2021-06-30T23:38:27.632Z] $ docker stop --time=1 eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 [2021-06-30T23:38:28.903Z] $ docker rm -f eb61055f5c311b6b3fcc0feb3ba62c551fecea12ce1c5fdb71875f00db0cedd3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:38:29.275Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T23:38:29.603Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T23:38:29.607Z] [edgeXSemver]: initialized semver on version 2.0.0 [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-30T23:38:44.901Z] Still waiting to schedule task [2021-06-30T23:38:44.901Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-30T23:38:44.908Z] Still waiting to schedule task [2021-06-30T23:38:44.908Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-30T23:39:47.313Z] Running on prd-centos7-docker-4c-2g-1060 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-30T23:39:47.333Z] Running in /w/workspace/device-modbus-go/62 [Pipeline] { [Pipeline] checkout [2021-06-30T23:39:47.445Z] Selected Git installation does not exist. Using Default [2021-06-30T23:39:47.445Z] The recommended git tool is: NONE [2021-06-30T23:39:49.646Z] using credential edgex-jenkins-ssh [2021-06-30T23:39:49.668Z] Cloning the remote Git repository [2021-06-30T23:39:50.504Z] Avoid second fetch [2021-06-30T23:39:50.504Z] Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (master) [2021-06-30T23:39:49.665Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-30T23:39:49.736Z] > git init /w/workspace/device-modbus-go/62 # timeout=10 [2021-06-30T23:39:49.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-30T23:39:49.838Z] > git --version # timeout=10 [2021-06-30T23:39:49.853Z] > git --version # 'git version 2.24.4' [2021-06-30T23:39:49.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T23:39:49.879Z] [INFO] Currently running in a labeled security context [2021-06-30T23:39:49.880Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T23:39:49.880Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/62@tmp/jenkins-gitclient-ssh4428847203960884946.key [2021-06-30T23:39:49.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:39:50.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-30T23:39:50.494Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:39:50.512Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T23:39:50.526Z] > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [2021-06-30T23:39:56.361Z] Commit message: "Merge pull request #273 from siggiskulason/snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T23:39:57.382Z] + git checkout 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:39:57.382Z] HEAD is now at 7596bf2 Merge pull request #273 from siggiskulason/snap-v2 [Pipeline] sh [2021-06-30T23:39:57.714Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:39:58.019Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:39:58.324Z] + sudo service docker restart [2021-06-30T23:39:58.324Z] + true [2021-06-30T23:39:58.324Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:40:16.506Z] provisioning config files... [2021-06-30T23:40:16.523Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config2616390863906418618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:40:16.846Z] ---> docker-login.sh [2021-06-30T23:40:16.846Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:40:17.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:40:17.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:40:17.120Z] Configure a credential helper to remove this warning. See [2021-06-30T23:40:17.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:40:17.120Z] [2021-06-30T23:40:17.120Z] Login Succeeded [2021-06-30T23:40:17.120Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:40:17.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:40:17.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:40:17.386Z] Configure a credential helper to remove this warning. See [2021-06-30T23:40:17.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:40:17.386Z] [2021-06-30T23:40:17.386Z] Login Succeeded [2021-06-30T23:40:17.386Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:40:17.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:40:17.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:40:17.386Z] Configure a credential helper to remove this warning. See [2021-06-30T23:40:17.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:40:17.386Z] [2021-06-30T23:40:17.386Z] Login Succeeded [2021-06-30T23:40:17.386Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:40:17.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:40:17.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:40:17.647Z] Configure a credential helper to remove this warning. See [2021-06-30T23:40:17.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:40:17.647Z] [2021-06-30T23:40:17.647Z] Login Succeeded [2021-06-30T23:40:17.647Z] docker.io [2021-06-30T23:40:17.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:40:17.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:40:17.908Z] Configure a credential helper to remove this warning. See [2021-06-30T23:40:17.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:40:17.908Z] [2021-06-30T23:40:17.908Z] Login Succeeded [2021-06-30T23:40:17.908Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:40:17.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T23:40:18.088Z] ========================================================= [2021-06-30T23:40:18.089Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T23:40:18.089Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:40:18.404Z] + 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-30T23:40:18.404Z] Sending build context to Docker daemon 680.4kB [2021-06-30T23:40:18.404Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:40:18.404Z] Step 2/8 : FROM ${BASE} [2021-06-30T23:40:18.404Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T23:40:18.404Z] 540db60ca938: Pulling fs layer [2021-06-30T23:40:18.404Z] adcc1eea9eea: Pulling fs layer [2021-06-30T23:40:18.404Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T23:40:18.404Z] 0510c868ecb4: Pulling fs layer [2021-06-30T23:40:18.404Z] afea3b2eda06: Pulling fs layer [2021-06-30T23:40:18.404Z] 7809a108b3ef: Pulling fs layer [2021-06-30T23:40:18.404Z] f706445af74f: Pulling fs layer [2021-06-30T23:40:18.404Z] afea3b2eda06: Waiting [2021-06-30T23:40:18.404Z] 7809a108b3ef: Waiting [2021-06-30T23:40:18.404Z] f706445af74f: Waiting [2021-06-30T23:40:18.404Z] 0510c868ecb4: Waiting [2021-06-30T23:40:18.404Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T23:40:18.404Z] 4c4ab2625f07: Download complete [2021-06-30T23:40:18.667Z] adcc1eea9eea: Verifying Checksum [2021-06-30T23:40:18.667Z] adcc1eea9eea: Download complete [2021-06-30T23:40:18.667Z] afea3b2eda06: Verifying Checksum [2021-06-30T23:40:18.667Z] afea3b2eda06: Download complete [2021-06-30T23:40:18.667Z] 7809a108b3ef: Download complete [2021-06-30T23:40:18.667Z] 540db60ca938: Verifying Checksum [2021-06-30T23:40:18.667Z] 540db60ca938: Download complete [2021-06-30T23:40:18.928Z] 540db60ca938: Pull complete [2021-06-30T23:40:18.928Z] adcc1eea9eea: Pull complete [2021-06-30T23:40:19.202Z] 4c4ab2625f07: Pull complete [2021-06-30T23:40:20.155Z] f706445af74f: Verifying Checksum [2021-06-30T23:40:20.155Z] f706445af74f: Download complete [2021-06-30T23:40:22.509Z] 0510c868ecb4: Verifying Checksum [2021-06-30T23:40:22.509Z] 0510c868ecb4: Download complete [2021-06-30T23:40:23.939Z] 0510c868ecb4: Pull complete [2021-06-30T23:40:23.940Z] afea3b2eda06: Pull complete [2021-06-30T23:40:24.204Z] 7809a108b3ef: Pull complete [2021-06-30T23:40:25.617Z] f706445af74f: Pull complete [2021-06-30T23:40:25.617Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T23:40:25.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T23:40:25.617Z] ---> b068be0155e3 [2021-06-30T23:40:25.617Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-30T23:40:29.833Z] ---> Running in 14de2b97117b [2021-06-30T23:40:29.833Z] Removing intermediate container 14de2b97117b [2021-06-30T23:40:29.833Z] ---> 4a8fcac61c4c [2021-06-30T23:40:29.833Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:40:29.833Z] ---> Running in 2aa5a5e98187 [2021-06-30T23:40:30.424Z] Removing intermediate container 2aa5a5e98187 [2021-06-30T23:40:30.424Z] ---> ce05cd6263af [2021-06-30T23:40:30.424Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T23:40:30.424Z] ---> Running in abafedb9150e [2021-06-30T23:40:30.684Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:40:31.638Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:40:32.600Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-30T23:40:32.600Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-30T23:40:32.863Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-30T23:40:32.863Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-30T23:40:33.130Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T23:40:33.130Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-30T23:40:33.130Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-30T23:40:33.395Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-30T23:40:33.666Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-30T23:40:33.666Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-30T23:40:33.666Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-30T23:40:33.936Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-30T23:40:33.936Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-30T23:40:33.936Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T23:40:33.936Z] OK: 156 MiB in 53 packages [2021-06-30T23:40:40.117Z] Removing intermediate container abafedb9150e [2021-06-30T23:40:40.117Z] ---> dad866b225f8 [2021-06-30T23:40:40.117Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-30T23:40:40.117Z] ---> Running in 2493fb0d55e4 [2021-06-30T23:40:40.117Z] Removing intermediate container 2493fb0d55e4 [2021-06-30T23:40:40.117Z] ---> 0c0591ef0596 [2021-06-30T23:40:40.117Z] Step 7/8 : COPY . . [2021-06-30T23:40:40.117Z] ---> b0a78c4b365d [2021-06-30T23:40:40.117Z] Step 8/8 : RUN go mod download [2021-06-30T23:40:40.117Z] ---> Running in e892eee6de06 [2021-06-30T23:40:52.763Z] Removing intermediate container e892eee6de06 [2021-06-30T23:40:52.763Z] ---> 90a45b8f3e39 [2021-06-30T23:40:52.763Z] Successfully built 90a45b8f3e39 [2021-06-30T23:40:52.763Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:40:53.112Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T23:40:53.113Z] . [Pipeline] withDockerContainer [2021-06-30T23:40:53.200Z] prd-centos7-docker-4c-2g-1060 does not seem to be running inside a container [2021-06-30T23:40:53.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T23:40:54.026Z] $ docker top 4d687369d167d3b77001393da99af2d829dfde59308e8d2cddc4d7e35e08e27d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:40:54.444Z] + go version [2021-06-30T23:40:54.444Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T23:40:54.454Z] $ docker stop --time=1 4d687369d167d3b77001393da99af2d829dfde59308e8d2cddc4d7e35e08e27d [2021-06-30T23:40:55.778Z] $ docker rm -f 4d687369d167d3b77001393da99af2d829dfde59308e8d2cddc4d7e35e08e27d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:40:56.314Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T23:40:56.314Z] . [Pipeline] withDockerContainer [2021-06-30T23:40:56.386Z] prd-centos7-docker-4c-2g-1060 does not seem to be running inside a container [2021-06-30T23:40:56.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T23:40:56.928Z] $ docker top d26f229cab5ba8243f9e2ee746115ad03ca604980f2483af324478a0d7c9a599 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:40:57.312Z] + go mod tidy [Pipeline] sh [2021-06-30T23:40:57.885Z] + make test [2021-06-30T23:40:57.885Z] go mod tidy [2021-06-30T23:40:57.885Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-30T23:40:58.458Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-30T23:41:15.590Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-30T23:41:15.590Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 47.7% of statements [2021-06-30T23:41:15.590Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T23:41:21.048Z] gofmt -l . [2021-06-30T23:41:21.048Z] [ "`gofmt -l .`" = "" ] [2021-06-30T23:41:21.048Z] ./bin/test-attribution-txt.sh [2021-06-30T23:41:21.318Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-30T23:41:21.593Z] $ docker stop --time=1 d26f229cab5ba8243f9e2ee746115ad03ca604980f2483af324478a0d7c9a599 [2021-06-30T23:41:23.110Z] $ docker rm -f d26f229cab5ba8243f9e2ee746115ad03ca604980f2483af324478a0d7c9a599 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:41:23.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T23:41:23.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T23:41:24.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T23:41:25.156Z] + ls -al . [2021-06-30T23:41:25.156Z] total 120 [2021-06-30T23:41:25.156Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 30 23:41 . [2021-06-30T23:41:25.156Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 23:39 .. [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jun 30 23:39 Attribution.txt [2021-06-30T23:41:25.156Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 30 23:39 bin [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jun 30 23:39 CHANGELOG.md [2021-06-30T23:41:25.156Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 23:39 cmd [2021-06-30T23:41:25.156Z] -rw-r--r--. 1 jenkins jenkins 22385 Jun 30 23:41 coverage.out [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jun 30 23:39 Dockerfile [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 995 Jun 30 23:39 Dockerfile.build [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 30 23:39 .dockerignore [2021-06-30T23:41:25.156Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 23:39 .git [2021-06-30T23:41:25.156Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 23:39 .github [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 338 Jun 30 23:39 .gitignore [2021-06-30T23:41:25.156Z] -rw-r--r--. 1 jenkins jenkins 414 Jun 30 23:41 go.mod [2021-06-30T23:41:25.156Z] -rw-r--r--. 1 jenkins jenkins 21529 Jun 30 23:40 go.sum [2021-06-30T23:41:25.156Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 30 23:39 internal [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 679 Jun 30 23:39 Jenkinsfile [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 23:39 LICENSE [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 914 Jun 30 23:39 Makefile [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jun 30 23:39 README.md [2021-06-30T23:41:25.156Z] drwxrwxr-x. 2 jenkins jenkins 52 Jun 30 23:39 simulator [2021-06-30T23:41:25.156Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 23:39 snap [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 23:38 VERSION [2021-06-30T23:41:25.156Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 30 23:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:25.468Z] + 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=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 --label arch=amd64 --label version=2.0.0 . [2021-06-30T23:41:25.468Z] Sending build context to Docker daemon 703.5kB [2021-06-30T23:41:25.468Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:41:25.468Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-30T23:41:25.468Z] ---> 90a45b8f3e39 [2021-06-30T23:41:25.468Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:41:25.468Z] ---> Running in f9c8d1504a5f [2021-06-30T23:41:26.041Z] Removing intermediate container f9c8d1504a5f [2021-06-30T23:41:26.041Z] ---> bc4a4b51b47a [2021-06-30T23:41:26.041Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T23:41:26.041Z] ---> Running in 94b09b2fdc15 [2021-06-30T23:41:26.305Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:41:27.255Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:41:30.020Z] OK: 156 MiB in 53 packages [2021-06-30T23:41:30.020Z] Removing intermediate container 94b09b2fdc15 [2021-06-30T23:41:30.020Z] ---> 158bcce36691 [2021-06-30T23:41:30.020Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-30T23:41:30.020Z] ---> Running in 1cc2245d90da [2021-06-30T23:41:30.020Z] Removing intermediate container 1cc2245d90da [2021-06-30T23:41:30.020Z] ---> f4024c16ef0a [2021-06-30T23:41:30.020Z] Step 6/22 : COPY . . [2021-06-30T23:41:30.020Z] ---> e07712354957 [2021-06-30T23:41:30.020Z] Step 7/22 : RUN go mod tidy [2021-06-30T23:41:30.020Z] ---> Running in 93660f943d56 [2021-06-30T23:41:30.020Z] Removing intermediate container 93660f943d56 [2021-06-30T23:41:30.020Z] ---> 12693eaf3c11 [2021-06-30T23:41:30.020Z] Step 8/22 : RUN go mod download [2021-06-30T23:41:30.020Z] ---> Running in 963ef9b26260 [2021-06-30T23:41:30.020Z] Removing intermediate container 963ef9b26260 [2021-06-30T23:41:30.020Z] ---> df845876ae96 [2021-06-30T23:41:30.020Z] Step 9/22 : RUN make build [2021-06-30T23:41:30.020Z] ---> Running in 3a79d4a97071 [2021-06-30T23:41:30.020Z] go mod tidy [2021-06-30T23:41:30.294Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.0" -o cmd/device-modbus ./cmd [2021-06-30T23:41:39.099Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1063 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-30T23:41:39.119Z] Running in /w/workspace/device-modbus-go/62 [Pipeline] { [Pipeline] checkout [2021-06-30T23:41:39.357Z] Selected Git installation does not exist. Using Default [2021-06-30T23:41:39.357Z] The recommended git tool is: NONE [2021-06-30T23:41:42.621Z] Removing intermediate container 3a79d4a97071 [2021-06-30T23:41:42.621Z] ---> 7273c00046bf [2021-06-30T23:41:42.621Z] Step 10/22 : FROM alpine:3.12 [2021-06-30T23:41:42.621Z] 3.12: Pulling from library/alpine [2021-06-30T23:41:42.621Z] 339de151aab4: Pulling fs layer [2021-06-30T23:41:42.621Z] 339de151aab4: Verifying Checksum [2021-06-30T23:41:42.621Z] 339de151aab4: Download complete [2021-06-30T23:41:42.621Z] 339de151aab4: Pull complete [2021-06-30T23:41:42.621Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T23:41:42.621Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T23:41:42.621Z] ---> 13621d1b12d4 [2021-06-30T23:41:42.621Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-30T23:41:42.621Z] ---> Running in ac07b7a72b0d [2021-06-30T23:41:42.888Z] Removing intermediate container ac07b7a72b0d [2021-06-30T23:41:42.888Z] ---> 0194165235ad [2021-06-30T23:41:42.888Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:41:42.888Z] ---> Running in 278182d090e2 [2021-06-30T23:41:43.150Z] Removing intermediate container 278182d090e2 [2021-06-30T23:41:43.150Z] ---> 1f3924cd87f9 [2021-06-30T23:41:43.150Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T23:41:43.150Z] ---> Running in a0bd3c5fd4db [2021-06-30T23:41:43.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:41:44.356Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:41:44.440Z] using credential edgex-jenkins-ssh [2021-06-30T23:41:44.465Z] Cloning the remote Git repository [2021-06-30T23:41:44.617Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T23:41:44.877Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T23:41:44.877Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T23:41:44.877Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T23:41:44.509Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-30T23:41:44.613Z] > git init /w/workspace/device-modbus-go/62 # timeout=10 [2021-06-30T23:41:44.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-30T23:41:44.685Z] > git --version # timeout=10 [2021-06-30T23:41:44.702Z] > git --version # 'git version 2.17.1' [2021-06-30T23:41:44.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T23:41:44.846Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:41:45.776Z] Avoid second fetch [2021-06-30T23:41:45.776Z] Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (master) [2021-06-30T23:41:46.272Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T23:41:46.272Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T23:41:46.272Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T23:41:46.272Z] OK: 8 MiB in 20 packages [2021-06-30T23:41:45.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-30T23:41:45.751Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:41:45.796Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T23:41:45.808Z] > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [2021-06-30T23:41:48.615Z] Removing intermediate container a0bd3c5fd4db [2021-06-30T23:41:48.615Z] ---> 5c4c92ee0687 [2021-06-30T23:41:48.615Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-30T23:41:48.615Z] ---> 5b547b95787b [2021-06-30T23:41:48.615Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-30T23:41:48.615Z] ---> 5dcae334d9a8 [2021-06-30T23:41:48.615Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-30T23:41:48.615Z] ---> d63a08ec921f [2021-06-30T23:41:48.615Z] Step 17/22 : EXPOSE 59901 [2021-06-30T23:41:48.615Z] ---> Running in 71ad6c9fcbf7 [2021-06-30T23:41:48.615Z] Removing intermediate container 71ad6c9fcbf7 [2021-06-30T23:41:48.615Z] ---> 8c3c39a5420b [2021-06-30T23:41:48.615Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-30T23:41:48.615Z] ---> Running in 3c73380b52f8 [2021-06-30T23:41:48.615Z] Removing intermediate container 3c73380b52f8 [2021-06-30T23:41:48.615Z] ---> 7e7117d10618 [2021-06-30T23:41:48.615Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-30T23:41:48.615Z] ---> Running in d791097731d8 [2021-06-30T23:41:48.615Z] Removing intermediate container d791097731d8 [2021-06-30T23:41:48.615Z] ---> 1893c94d41ee [2021-06-30T23:41:48.615Z] Step 20/22 : LABEL arch=amd64 [2021-06-30T23:41:48.615Z] ---> Running in 6b7175f4e99b [2021-06-30T23:41:48.615Z] Removing intermediate container 6b7175f4e99b [2021-06-30T23:41:48.615Z] ---> f8322ac17c08 [2021-06-30T23:41:48.615Z] Step 21/22 : LABEL git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:41:48.615Z] ---> Running in ff0ac9752fd8 [2021-06-30T23:41:48.615Z] Removing intermediate container ff0ac9752fd8 [2021-06-30T23:41:48.615Z] ---> 27ec120f78bf [2021-06-30T23:41:48.615Z] Step 22/22 : LABEL version=2.0.0 [2021-06-30T23:41:48.615Z] ---> Running in ec5080bce27f [2021-06-30T23:41:48.615Z] Removing intermediate container ec5080bce27f [2021-06-30T23:41:48.615Z] ---> eb49600e621a [2021-06-30T23:41:48.615Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-30T23:41:48.615Z] Successfully built eb49600e621a [2021-06-30T23:41:48.615Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:41:48.863Z] provisioning config files... [2021-06-30T23:41:48.881Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config7351820738883291650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:41:49.220Z] ---> docker-login.sh [2021-06-30T23:41:49.221Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:41:49.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:49.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:49.221Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:49.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:49.221Z] [2021-06-30T23:41:49.221Z] Login Succeeded [2021-06-30T23:41:49.221Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:41:49.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:49.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:49.485Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:49.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:49.485Z] [2021-06-30T23:41:49.485Z] Login Succeeded [2021-06-30T23:41:49.485Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:41:49.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:49.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:49.486Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:49.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:49.486Z] [2021-06-30T23:41:49.486Z] Login Succeeded [2021-06-30T23:41:49.486Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:41:49.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:49.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:49.751Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:49.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:49.751Z] [2021-06-30T23:41:49.751Z] Login Succeeded [2021-06-30T23:41:49.751Z] docker.io [2021-06-30T23:41:49.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.015Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.015Z] [2021-06-30T23:41:50.015Z] Login Succeeded [2021-06-30T23:41:50.015Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:41:50.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:41:50.108Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-06-30T23:41:50.108Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:41:50.108Z] latest [2021-06-30T23:41:50.108Z] 2.0.0 [2021-06-30T23:41:50.108Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:41:50.108Z] master [2021-06-30T23:41:50.108Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:50.483Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:50.804Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:41:50.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-30T23:41:50.804Z] 96994bf2c8b1: Preparing [2021-06-30T23:41:50.804Z] 01865126ca79: Preparing [2021-06-30T23:41:50.804Z] 93b2be15c337: Preparing [2021-06-30T23:41:50.804Z] e8453949ab57: Preparing [2021-06-30T23:41:50.804Z] 224b732343d6: Preparing [2021-06-30T23:41:50.804Z] 32f366d666a5: Preparing [2021-06-30T23:41:50.804Z] 32f366d666a5: Waiting [2021-06-30T23:41:51.093Z] 224b732343d6: Pushed [2021-06-30T23:41:51.093Z] 32f366d666a5: Layer already exists [2021-06-30T23:41:51.093Z] 96994bf2c8b1: Pushed [2021-06-30T23:41:51.093Z] 01865126ca79: Pushed [2021-06-30T23:41:51.093Z] e8453949ab57: Pushed [2021-06-30T23:41:52.475Z] Commit message: "Merge pull request #273 from siggiskulason/snap-v2" [2021-06-30T23:41:54.662Z] 93b2be15c337: Pushed [2021-06-30T23:41:54.662Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1: digest: sha256:ffac2860313ffa3f70e0d6d3cef0bcee4d4b9ec7c34acce179d712e6f9927758 size: 1572 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T23:41:54.999Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:55.879Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-30T23:41:55.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-30T23:41:55.879Z] 96994bf2c8b1: Preparing [2021-06-30T23:41:55.879Z] 01865126ca79: Preparing [2021-06-30T23:41:55.879Z] 93b2be15c337: Preparing [2021-06-30T23:41:55.879Z] e8453949ab57: Preparing [2021-06-30T23:41:55.879Z] 224b732343d6: Preparing [2021-06-30T23:41:55.879Z] 32f366d666a5: Preparing [2021-06-30T23:41:55.879Z] 32f366d666a5: Waiting [2021-06-30T23:41:55.879Z] 93b2be15c337: Layer already exists [2021-06-30T23:41:55.879Z] 224b732343d6: Layer already exists [2021-06-30T23:41:55.879Z] 96994bf2c8b1: Layer already exists [2021-06-30T23:41:55.879Z] 01865126ca79: Layer already exists [2021-06-30T23:41:55.879Z] e8453949ab57: Layer already exists [2021-06-30T23:41:55.879Z] 32f366d666a5: Layer already exists [2021-06-30T23:41:55.879Z] latest: digest: sha256:ffac2860313ffa3f70e0d6d3cef0bcee4d4b9ec7c34acce179d712e6f9927758 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:55.929Z] + git checkout 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:41:55.930Z] HEAD is now at 7596bf2 Merge pull request #273 from siggiskulason/snap-v2 [2021-06-30T23:41:56.206Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.0 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:56.575Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:41:56.611Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.0 [2021-06-30T23:41:56.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-30T23:41:56.612Z] 96994bf2c8b1: Preparing [2021-06-30T23:41:56.612Z] 01865126ca79: Preparing [2021-06-30T23:41:56.612Z] 93b2be15c337: Preparing [2021-06-30T23:41:56.612Z] e8453949ab57: Preparing [2021-06-30T23:41:56.612Z] 224b732343d6: Preparing [2021-06-30T23:41:56.612Z] 32f366d666a5: Preparing [2021-06-30T23:41:56.612Z] 32f366d666a5: Waiting [2021-06-30T23:41:56.612Z] 01865126ca79: Layer already exists [2021-06-30T23:41:56.612Z] e8453949ab57: Layer already exists [2021-06-30T23:41:56.612Z] 96994bf2c8b1: Layer already exists [2021-06-30T23:41:56.612Z] 93b2be15c337: Layer already exists [2021-06-30T23:41:56.612Z] 224b732343d6: Layer already exists [2021-06-30T23:41:56.612Z] 32f366d666a5: Layer already exists [2021-06-30T23:41:56.612Z] 2.0.0: digest: sha256:ffac2860313ffa3f70e0d6d3cef0bcee4d4b9ec7c34acce179d712e6f9927758 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:56.931Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:41:56.972Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:57.298Z] + true [2021-06-30T23:41:57.298Z] + sudo service docker restart [2021-06-30T23:41:57.335Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:41:57.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-30T23:41:57.335Z] 96994bf2c8b1: Preparing [2021-06-30T23:41:57.335Z] 01865126ca79: Preparing [2021-06-30T23:41:57.335Z] 93b2be15c337: Preparing [2021-06-30T23:41:57.335Z] e8453949ab57: Preparing [2021-06-30T23:41:57.335Z] 224b732343d6: Preparing [2021-06-30T23:41:57.335Z] 32f366d666a5: Preparing [2021-06-30T23:41:57.335Z] 32f366d666a5: Waiting [2021-06-30T23:41:57.335Z] 01865126ca79: Layer already exists [2021-06-30T23:41:57.335Z] e8453949ab57: Layer already exists [2021-06-30T23:41:57.335Z] 96994bf2c8b1: Layer already exists [2021-06-30T23:41:57.335Z] 93b2be15c337: Layer already exists [2021-06-30T23:41:57.335Z] 224b732343d6: Layer already exists [2021-06-30T23:41:57.335Z] 32f366d666a5: Layer already exists [2021-06-30T23:41:57.335Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0: digest: sha256:ffac2860313ffa3f70e0d6d3cef0bcee4d4b9ec7c34acce179d712e6f9927758 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:57.642Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:57.948Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-06-30T23:41:57.948Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-30T23:41:57.948Z] 96994bf2c8b1: Preparing [2021-06-30T23:41:57.948Z] 01865126ca79: Preparing [2021-06-30T23:41:57.948Z] 93b2be15c337: Preparing [2021-06-30T23:41:57.948Z] e8453949ab57: Preparing [2021-06-30T23:41:57.948Z] 224b732343d6: Preparing [2021-06-30T23:41:57.948Z] 32f366d666a5: Preparing [2021-06-30T23:41:57.948Z] 32f366d666a5: Waiting [2021-06-30T23:41:57.948Z] 93b2be15c337: Layer already exists [2021-06-30T23:41:57.948Z] e8453949ab57: Layer already exists [2021-06-30T23:41:57.948Z] 96994bf2c8b1: Layer already exists [2021-06-30T23:41:57.948Z] 01865126ca79: Layer already exists [2021-06-30T23:41:57.948Z] 224b732343d6: Layer already exists [2021-06-30T23:41:57.948Z] 32f366d666a5: Layer already exists [2021-06-30T23:41:57.948Z] master: digest: sha256:ffac2860313ffa3f70e0d6d3cef0bcee4d4b9ec7c34acce179d712e6f9927758 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:41:58.009Z] ===================================================== [Pipeline] echo [2021-06-30T23:41:58.026Z] taggedImages: [2021-06-30T23:41:58.026Z] - nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:41:58.026Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-30T23:41:58.026Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.0 [2021-06-30T23:41:58.026Z] - nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:41:58.026Z] - 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-30T23:41:58.649Z] ---> job-cost.sh [2021-06-30T23:41:58.649Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wGX2 [2021-06-30T23:42:10.650Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:42:17.754Z] provisioning config files... [2021-06-30T23:42:17.788Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config6301659721041872433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:42:18.161Z] ---> docker-login.sh [2021-06-30T23:42:18.161Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:42:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:42:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:42:21.219Z] Configure a credential helper to remove this warning. See [2021-06-30T23:42:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:42:21.219Z] [2021-06-30T23:42:21.219Z] Login Succeeded [2021-06-30T23:42:21.219Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:42:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:42:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:42:21.219Z] Configure a credential helper to remove this warning. See [2021-06-30T23:42:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:42:21.219Z] [2021-06-30T23:42:21.219Z] Login Succeeded [2021-06-30T23:42:21.219Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:42:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:42:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:42:21.219Z] Configure a credential helper to remove this warning. See [2021-06-30T23:42:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:42:21.219Z] [2021-06-30T23:42:21.219Z] Login Succeeded [2021-06-30T23:42:21.219Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:42:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:42:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:42:21.219Z] Configure a credential helper to remove this warning. See [2021-06-30T23:42:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:42:21.219Z] [2021-06-30T23:42:21.219Z] Login Succeeded [2021-06-30T23:42:21.219Z] docker.io [2021-06-30T23:42:21.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:42:22.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:42:22.105Z] Configure a credential helper to remove this warning. See [2021-06-30T23:42:22.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:42:22.105Z] [2021-06-30T23:42:22.105Z] Login Succeeded [2021-06-30T23:42:22.105Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:42:22.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T23:42:22.422Z] ========================================================= [2021-06-30T23:42:22.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T23:42:22.422Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:42:22.762Z] + 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-30T23:42:23.048Z] Sending build context to Docker daemon 678.9kB [2021-06-30T23:42:23.048Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:42:23.048Z] Step 2/8 : FROM ${BASE} [2021-06-30T23:42:23.323Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T23:42:23.323Z] 595b0fe564bb: Pulling fs layer [2021-06-30T23:42:23.323Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T23:42:23.323Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T23:42:23.323Z] ba82ee9f976e: Pulling fs layer [2021-06-30T23:42:23.323Z] 506bd15cee9f: Pulling fs layer [2021-06-30T23:42:23.323Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T23:42:23.323Z] 618dc40b7e24: Pulling fs layer [2021-06-30T23:42:23.323Z] 506bd15cee9f: Waiting [2021-06-30T23:42:23.323Z] 75a0a4a0db45: Waiting [2021-06-30T23:42:23.323Z] 618dc40b7e24: Waiting [2021-06-30T23:42:23.323Z] ba82ee9f976e: Waiting [2021-06-30T23:42:23.323Z] 5b7225fbf94c: Download complete [2021-06-30T23:42:23.323Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T23:42:23.323Z] 3088b5b3c5c0: Download complete [2021-06-30T23:42:23.597Z] 506bd15cee9f: Verifying Checksum [2021-06-30T23:42:23.597Z] 506bd15cee9f: Download complete [2021-06-30T23:42:23.597Z] 75a0a4a0db45: Download complete [2021-06-30T23:42:23.597Z] 595b0fe564bb: Verifying Checksum [2021-06-30T23:42:23.597Z] 595b0fe564bb: Download complete [2021-06-30T23:42:24.198Z] 595b0fe564bb: Pull complete [2021-06-30T23:42:24.803Z] 3088b5b3c5c0: Pull complete [2021-06-30T23:42:25.402Z] 5b7225fbf94c: Pull complete [2021-06-30T23:42:26.002Z] 618dc40b7e24: Download complete [2021-06-30T23:42:26.128Z] lf-activate-venv(): INFO: Adding /tmp/venv-wGX2/bin to PATH [2021-06-30T23:42:26.128Z] INFO: No Stack... [2021-06-30T23:42:26.128Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T23:42:26.128Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T23:42:26.438Z] + cut -d, -f6 [2021-06-30T23:42:26.438Z] + cat /w/workspace/device-modbus-go/62/archives/cost.csv [Pipeline] lock [2021-06-30T23:42:26.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] [2021-06-30T23:42:26.499Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] did not exist. Created. [2021-06-30T23:42:26.499Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T23:42:26.831Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T23:42:26.903Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T23:42:26.916Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-06-30T23:42:26.992Z] ba82ee9f976e: Verifying Checksum [2021-06-30T23:42:26.992Z] ba82ee9f976e: Download complete [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T23:42:37.346Z] ba82ee9f976e: Pull complete [2021-06-30T23:42:37.621Z] 506bd15cee9f: Pull complete [2021-06-30T23:42:37.897Z] 75a0a4a0db45: Pull complete [2021-06-30T23:42:42.207Z] 618dc40b7e24: Pull complete [2021-06-30T23:42:42.207Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T23:42:42.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T23:42:42.207Z] ---> a36622ca3599 [2021-06-30T23:42:42.207Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-30T23:42:44.190Z] ---> Running in f5920aa79d44 [2021-06-30T23:42:44.190Z] Removing intermediate container f5920aa79d44 [2021-06-30T23:42:44.190Z] ---> bcdb1752fb97 [2021-06-30T23:42:44.190Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:42:44.462Z] ---> Running in 5baf3c221f55 [2021-06-30T23:42:48.836Z] Removing intermediate container 5baf3c221f55 [2021-06-30T23:42:48.836Z] ---> 119de219d9a1 [2021-06-30T23:42:48.836Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T23:42:48.836Z] ---> Running in 5dc2ead0ec21 [2021-06-30T23:42:48.836Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:42:49.445Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:42:50.893Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-30T23:42:50.893Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-30T23:42:50.893Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-30T23:42:50.893Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-30T23:42:51.218Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T23:42:51.218Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-30T23:42:51.218Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-30T23:42:51.828Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-30T23:42:51.828Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-30T23:42:51.828Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-30T23:42:52.102Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-30T23:42:52.102Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-30T23:42:52.377Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-30T23:42:52.377Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T23:42:52.377Z] OK: 145 MiB in 53 packages [2021-06-30T23:42:53.816Z] Removing intermediate container 5dc2ead0ec21 [2021-06-30T23:42:53.816Z] ---> 2ddc3b8cc6b8 [2021-06-30T23:42:53.816Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-30T23:42:54.090Z] ---> Running in 151a1b7d2247 [2021-06-30T23:42:54.696Z] Removing intermediate container 151a1b7d2247 [2021-06-30T23:42:54.696Z] ---> 85c7566570a6 [2021-06-30T23:42:54.696Z] Step 7/8 : COPY . . [2021-06-30T23:42:55.679Z] ---> 1fdef6fb73f5 [2021-06-30T23:42:55.679Z] Step 8/8 : RUN go mod download [2021-06-30T23:42:55.679Z] ---> Running in cfd1300c3d43 [2021-06-30T23:43:24.087Z] Removing intermediate container cfd1300c3d43 [2021-06-30T23:43:24.087Z] ---> 7f33e02988e6 [2021-06-30T23:43:24.087Z] Successfully built 7f33e02988e6 [2021-06-30T23:43:24.087Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:24.442Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T23:43:24.442Z] . [Pipeline] withDockerContainer [2021-06-30T23:43:24.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-1063 does not seem to be running inside a container [2021-06-30T23:43:24.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 ******** -e ******** ci-base-image-arm64 cat [2021-06-30T23:43:26.421Z] $ docker top 921fb6d64300eff5661f90cc2dbd10cabd8420d711b9df88f3ce6ca84c692c8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:43:27.404Z] + go version [2021-06-30T23:43:27.405Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T23:43:27.429Z] $ docker stop --time=1 921fb6d64300eff5661f90cc2dbd10cabd8420d711b9df88f3ce6ca84c692c8e [2021-06-30T23:43:29.258Z] $ docker rm -f 921fb6d64300eff5661f90cc2dbd10cabd8420d711b9df88f3ce6ca84c692c8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:30.122Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T23:43:30.122Z] . [Pipeline] withDockerContainer [2021-06-30T23:43:30.407Z] prd-ubuntu18.04-docker-arm64-4c-16g-1063 does not seem to be running inside a container [2021-06-30T23:43:30.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/62 -v /w/workspace/device-modbus-go/62:/w/workspace/device-modbus-go/62:rw,z -v /w/workspace/device-modbus-go/62@tmp:/w/workspace/device-modbus-go/62@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 ******** -e ******** ci-base-image-arm64 cat [2021-06-30T23:43:32.033Z] $ docker top e2a7142e6081b2a8b5c3767fae7ef03c75d6b0032c93a9276e2d51b79c61264d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:43:32.978Z] + go mod tidy [Pipeline] sh [2021-06-30T23:43:34.257Z] + make test [2021-06-30T23:43:34.257Z] go mod tidy [2021-06-30T23:43:34.864Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-30T23:43:38.049Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-30T23:44:36.024Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-30T23:44:36.024Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.7% of statements [2021-06-30T23:44:36.024Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T23:45:08.441Z] gofmt -l . [2021-06-30T23:45:08.441Z] [ "`gofmt -l .`" = "" ] [2021-06-30T23:45:08.441Z] ./bin/test-attribution-txt.sh [2021-06-30T23:45:08.441Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-30T23:45:08.463Z] $ docker stop --time=1 e2a7142e6081b2a8b5c3767fae7ef03c75d6b0032c93a9276e2d51b79c61264d [2021-06-30T23:45:10.491Z] $ docker rm -f e2a7142e6081b2a8b5c3767fae7ef03c75d6b0032c93a9276e2d51b79c61264d [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:45:11.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T23:45:11.467Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T23:45:12.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T23:45:12.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T23:45:12.975Z] + ls -al . [2021-06-30T23:45:12.975Z] total 152 [2021-06-30T23:45:12.975Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 23:45 . [2021-06-30T23:45:12.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:41 .. [2021-06-30T23:45:12.975Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 23:41 .dockerignore [2021-06-30T23:45:12.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 23:41 .git [2021-06-30T23:45:12.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:41 .github [2021-06-30T23:45:12.975Z] -rw-rw-r-- 1 jenkins jenkins 338 Jun 30 23:41 .gitignore [2021-06-30T23:45:12.975Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jun 30 23:41 Attribution.txt [2021-06-30T23:45:12.975Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jun 30 23:41 CHANGELOG.md [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jun 30 23:41 Dockerfile [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 995 Jun 30 23:41 Dockerfile.build [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 30 23:41 Jenkinsfile [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 23:41 LICENSE [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 914 Jun 30 23:41 Makefile [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jun 30 23:41 README.md [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 23:38 VERSION [2021-06-30T23:45:12.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:41 bin [2021-06-30T23:45:12.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 23:41 cmd [2021-06-30T23:45:12.976Z] -rw-r--r-- 1 jenkins jenkins 22385 Jun 30 23:44 coverage.out [2021-06-30T23:45:12.976Z] -rw-r--r-- 1 jenkins jenkins 414 Jun 30 23:45 go.mod [2021-06-30T23:45:12.976Z] -rw-r--r-- 1 jenkins jenkins 21529 Jun 30 23:43 go.sum [2021-06-30T23:45:12.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 23:41 internal [2021-06-30T23:45:12.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:41 simulator [2021-06-30T23:45:12.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:41 snap [2021-06-30T23:45:12.976Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 30 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:45:13.327Z] + 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=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 --label arch=arm64 --label version=2.0.0 . [2021-06-30T23:45:13.600Z] Sending build context to Docker daemon 702kB [2021-06-30T23:45:13.878Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:45:13.878Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-30T23:45:13.878Z] ---> 7f33e02988e6 [2021-06-30T23:45:13.878Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:45:13.878Z] ---> Running in 95b14ef5c6cb [2021-06-30T23:45:16.523Z] Removing intermediate container 95b14ef5c6cb [2021-06-30T23:45:16.523Z] ---> 51df8f7bad38 [2021-06-30T23:45:16.523Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T23:45:16.523Z] ---> Running in 81847da7b0a5 [2021-06-30T23:45:17.513Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:45:18.949Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:45:19.923Z] OK: 145 MiB in 53 packages [2021-06-30T23:45:20.913Z] Removing intermediate container 81847da7b0a5 [2021-06-30T23:45:20.913Z] ---> f0d4c73409e6 [2021-06-30T23:45:20.913Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-30T23:45:20.913Z] ---> Running in d2ecfd75fcec [2021-06-30T23:45:21.509Z] Removing intermediate container d2ecfd75fcec [2021-06-30T23:45:21.509Z] ---> 0c5ba6d6d48e [2021-06-30T23:45:21.509Z] Step 6/22 : COPY . . [2021-06-30T23:45:22.490Z] ---> 473c6feb85a3 [2021-06-30T23:45:22.491Z] Step 7/22 : RUN go mod tidy [2021-06-30T23:45:22.767Z] ---> Running in e2d8e85dd4b4 [2021-06-30T23:45:25.408Z] Removing intermediate container e2d8e85dd4b4 [2021-06-30T23:45:25.408Z] ---> d508620d9cdf [2021-06-30T23:45:25.408Z] Step 8/22 : RUN go mod download [2021-06-30T23:45:25.408Z] ---> Running in 13763b158b3b [2021-06-30T23:45:28.029Z] Removing intermediate container 13763b158b3b [2021-06-30T23:45:28.029Z] ---> 17175f3ed11a [2021-06-30T23:45:28.029Z] Step 9/22 : RUN make build [2021-06-30T23:45:28.029Z] ---> Running in dbfc33dda7b8 [2021-06-30T23:45:29.009Z] go mod tidy [2021-06-30T23:45:29.634Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.0" -o cmd/device-modbus ./cmd [2021-06-30T23:46:07.335Z] Removing intermediate container dbfc33dda7b8 [2021-06-30T23:46:07.335Z] ---> 844338922088 [2021-06-30T23:46:07.335Z] Step 10/22 : FROM alpine:3.12 [2021-06-30T23:46:07.335Z] 3.12: Pulling from library/alpine [2021-06-30T23:46:07.335Z] d2f70382dc9a: Pulling fs layer [2021-06-30T23:46:07.335Z] d2f70382dc9a: Verifying Checksum [2021-06-30T23:46:07.335Z] d2f70382dc9a: Download complete [2021-06-30T23:46:07.335Z] d2f70382dc9a: Pull complete [2021-06-30T23:46:07.335Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T23:46:07.335Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T23:46:07.335Z] ---> c4fd0aeabfcf [2021-06-30T23:46:07.335Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-30T23:46:07.335Z] ---> Running in e708347741a2 [2021-06-30T23:46:07.928Z] Removing intermediate container e708347741a2 [2021-06-30T23:46:07.928Z] ---> f5b055631a62 [2021-06-30T23:46:07.928Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:46:07.928Z] ---> Running in b18e4015ec0a [2021-06-30T23:46:09.920Z] Removing intermediate container b18e4015ec0a [2021-06-30T23:46:09.920Z] ---> a7dd2d779415 [2021-06-30T23:46:09.920Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T23:46:09.920Z] ---> Running in 9653ed05ff91 [2021-06-30T23:46:11.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:46:11.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:46:15.050Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T23:46:15.050Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T23:46:15.050Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T23:46:15.050Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T23:46:15.050Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T23:46:15.050Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T23:46:15.050Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T23:46:15.050Z] OK: 8 MiB in 20 packages [2021-06-30T23:46:15.050Z] Removing intermediate container 9653ed05ff91 [2021-06-30T23:46:15.050Z] ---> f74786b5ae62 [2021-06-30T23:46:15.050Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-30T23:46:16.041Z] ---> 151c6725e124 [2021-06-30T23:46:16.041Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-30T23:46:16.645Z] ---> 74a710eb62aa [2021-06-30T23:46:16.645Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-30T23:46:17.633Z] ---> 1c772db2a68e [2021-06-30T23:46:17.633Z] Step 17/22 : EXPOSE 59901 [2021-06-30T23:46:17.633Z] ---> Running in 979d32e15562 [2021-06-30T23:46:18.238Z] Removing intermediate container 979d32e15562 [2021-06-30T23:46:18.238Z] ---> 314c2254a584 [2021-06-30T23:46:18.238Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-30T23:46:18.519Z] ---> Running in 1caaaef00d03 [2021-06-30T23:46:18.792Z] Removing intermediate container 1caaaef00d03 [2021-06-30T23:46:18.792Z] ---> fde5e6df0f5c [2021-06-30T23:46:18.792Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-30T23:46:19.066Z] ---> Running in 1529976d2f79 [2021-06-30T23:46:19.665Z] Removing intermediate container 1529976d2f79 [2021-06-30T23:46:19.665Z] ---> d623c0895511 [2021-06-30T23:46:19.665Z] Step 20/22 : LABEL arch=arm64 [2021-06-30T23:46:19.665Z] ---> Running in 335e171458c6 [2021-06-30T23:46:20.267Z] Removing intermediate container 335e171458c6 [2021-06-30T23:46:20.267Z] ---> aeabea8684d3 [2021-06-30T23:46:20.267Z] Step 21/22 : LABEL git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:46:20.267Z] ---> Running in 8829904da582 [2021-06-30T23:46:20.863Z] Removing intermediate container 8829904da582 [2021-06-30T23:46:20.863Z] ---> 3a133ed87123 [2021-06-30T23:46:20.863Z] Step 22/22 : LABEL version=2.0.0 [2021-06-30T23:46:20.863Z] ---> Running in 3a926056c5c9 [2021-06-30T23:46:21.458Z] Removing intermediate container 3a926056c5c9 [2021-06-30T23:46:21.458Z] ---> a2000cf75547 [2021-06-30T23:46:21.458Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-30T23:46:21.458Z] Successfully built a2000cf75547 [2021-06-30T23:46:21.458Z] 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-30T23:46:21.679Z] provisioning config files... [2021-06-30T23:46:21.702Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/62@tmp/config4030444868518303891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:46:22.076Z] ---> docker-login.sh [2021-06-30T23:46:22.076Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:46:22.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:46:22.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:46:22.624Z] Configure a credential helper to remove this warning. See [2021-06-30T23:46:22.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:46:22.624Z] [2021-06-30T23:46:22.624Z] Login Succeeded [2021-06-30T23:46:22.624Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:46:22.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:46:23.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:46:23.174Z] Configure a credential helper to remove this warning. See [2021-06-30T23:46:23.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:46:23.174Z] [2021-06-30T23:46:23.174Z] Login Succeeded [2021-06-30T23:46:23.174Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:46:23.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:46:23.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:46:23.770Z] Configure a credential helper to remove this warning. See [2021-06-30T23:46:23.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:46:23.770Z] [2021-06-30T23:46:23.770Z] Login Succeeded [2021-06-30T23:46:23.770Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:46:24.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:46:24.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:46:24.367Z] Configure a credential helper to remove this warning. See [2021-06-30T23:46:24.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:46:24.367Z] [2021-06-30T23:46:24.367Z] Login Succeeded [2021-06-30T23:46:24.367Z] docker.io [2021-06-30T23:46:24.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:46:25.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:46:25.237Z] Configure a credential helper to remove this warning. See [2021-06-30T23:46:25.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:46:25.237Z] [2021-06-30T23:46:25.237Z] Login Succeeded [2021-06-30T23:46:25.237Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:46:25.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:46:25.335Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-06-30T23:46:25.335Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:46:25.335Z] latest [2021-06-30T23:46:25.335Z] 2.0.0 [2021-06-30T23:46:25.335Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:46:25.335Z] master [2021-06-30T23:46:25.335Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:25.736Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:26.082Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:46:26.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-30T23:46:26.082Z] 35f270a09bee: Preparing [2021-06-30T23:46:26.082Z] 54ec8351d142: Preparing [2021-06-30T23:46:26.082Z] a86c30c0b111: Preparing [2021-06-30T23:46:26.082Z] 4b27729efcbf: Preparing [2021-06-30T23:46:26.082Z] 0699d0493ad5: Preparing [2021-06-30T23:46:26.082Z] 3fbe34a1663b: Preparing [2021-06-30T23:46:26.082Z] 3fbe34a1663b: Waiting [2021-06-30T23:46:26.360Z] 54ec8351d142: Pushed [2021-06-30T23:46:26.360Z] 35f270a09bee: Pushed [2021-06-30T23:46:26.360Z] 0699d0493ad5: Pushed [2021-06-30T23:46:26.634Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:46:26.906Z] 4b27729efcbf: Pushed [2021-06-30T23:46:29.523Z] a86c30c0b111: Pushed [2021-06-30T23:46:29.523Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1: digest: sha256:87fc14f164e473f684e22086eb22e5e45e29a5533a05be5feca772f585df6a68 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:29.879Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:30.226Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-30T23:46:30.226Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-30T23:46:30.226Z] 35f270a09bee: Preparing [2021-06-30T23:46:30.226Z] 54ec8351d142: Preparing [2021-06-30T23:46:30.226Z] a86c30c0b111: Preparing [2021-06-30T23:46:30.226Z] 4b27729efcbf: Preparing [2021-06-30T23:46:30.226Z] 0699d0493ad5: Preparing [2021-06-30T23:46:30.226Z] 3fbe34a1663b: Preparing [2021-06-30T23:46:30.226Z] 3fbe34a1663b: Waiting [2021-06-30T23:46:30.499Z] 0699d0493ad5: Layer already exists [2021-06-30T23:46:30.499Z] 54ec8351d142: Layer already exists [2021-06-30T23:46:30.499Z] 35f270a09bee: Layer already exists [2021-06-30T23:46:30.499Z] a86c30c0b111: Layer already exists [2021-06-30T23:46:30.499Z] 4b27729efcbf: Layer already exists [2021-06-30T23:46:30.499Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:46:30.773Z] latest: digest: sha256:87fc14f164e473f684e22086eb22e5e45e29a5533a05be5feca772f585df6a68 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:31.129Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:31.482Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.0 [2021-06-30T23:46:31.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-30T23:46:31.482Z] 35f270a09bee: Preparing [2021-06-30T23:46:31.482Z] 54ec8351d142: Preparing [2021-06-30T23:46:31.482Z] a86c30c0b111: Preparing [2021-06-30T23:46:31.482Z] 4b27729efcbf: Preparing [2021-06-30T23:46:31.482Z] 0699d0493ad5: Preparing [2021-06-30T23:46:31.482Z] 3fbe34a1663b: Preparing [2021-06-30T23:46:31.482Z] 3fbe34a1663b: Waiting [2021-06-30T23:46:31.482Z] 54ec8351d142: Layer already exists [2021-06-30T23:46:31.755Z] a86c30c0b111: Layer already exists [2021-06-30T23:46:31.755Z] 0699d0493ad5: Layer already exists [2021-06-30T23:46:31.755Z] 4b27729efcbf: Layer already exists [2021-06-30T23:46:31.755Z] 35f270a09bee: Layer already exists [2021-06-30T23:46:31.755Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:46:31.755Z] 2.0.0: digest: sha256:87fc14f164e473f684e22086eb22e5e45e29a5533a05be5feca772f585df6a68 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:32.111Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:32.490Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:46:32.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-30T23:46:32.490Z] 35f270a09bee: Preparing [2021-06-30T23:46:32.490Z] 54ec8351d142: Preparing [2021-06-30T23:46:32.490Z] a86c30c0b111: Preparing [2021-06-30T23:46:32.490Z] 4b27729efcbf: Preparing [2021-06-30T23:46:32.490Z] 0699d0493ad5: Preparing [2021-06-30T23:46:32.490Z] 3fbe34a1663b: Preparing [2021-06-30T23:46:32.490Z] 3fbe34a1663b: Waiting [2021-06-30T23:46:32.490Z] 35f270a09bee: Layer already exists [2021-06-30T23:46:32.490Z] a86c30c0b111: Layer already exists [2021-06-30T23:46:32.490Z] 0699d0493ad5: Layer already exists [2021-06-30T23:46:32.490Z] 54ec8351d142: Layer already exists [2021-06-30T23:46:32.490Z] 4b27729efcbf: Layer already exists [2021-06-30T23:46:32.762Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:46:32.762Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0: digest: sha256:87fc14f164e473f684e22086eb22e5e45e29a5533a05be5feca772f585df6a68 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:33.117Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:33.463Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-06-30T23:46:33.464Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-30T23:46:33.464Z] 35f270a09bee: Preparing [2021-06-30T23:46:33.464Z] 54ec8351d142: Preparing [2021-06-30T23:46:33.464Z] a86c30c0b111: Preparing [2021-06-30T23:46:33.464Z] 4b27729efcbf: Preparing [2021-06-30T23:46:33.464Z] 0699d0493ad5: Preparing [2021-06-30T23:46:33.464Z] 3fbe34a1663b: Preparing [2021-06-30T23:46:33.464Z] 3fbe34a1663b: Waiting [2021-06-30T23:46:33.464Z] 0699d0493ad5: Layer already exists [2021-06-30T23:46:33.464Z] 35f270a09bee: Layer already exists [2021-06-30T23:46:33.464Z] a86c30c0b111: Layer already exists [2021-06-30T23:46:33.464Z] 54ec8351d142: Layer already exists [2021-06-30T23:46:33.464Z] 4b27729efcbf: Layer already exists [2021-06-30T23:46:33.736Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:46:33.736Z] master: digest: sha256:87fc14f164e473f684e22086eb22e5e45e29a5533a05be5feca772f585df6a68 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:46:33.809Z] ===================================================== [Pipeline] echo [2021-06-30T23:46:33.827Z] taggedImages: [2021-06-30T23:46:33.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-06-30T23:46:33.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-30T23:46:33.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.0 [2021-06-30T23:46:33.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.0 [2021-06-30T23:46:33.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:46:38.510Z] ---> job-cost.sh [2021-06-30T23:46:38.510Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Cz0X [2021-06-30T23:47:17.497Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T23:48:58.588Z] lf-activate-venv(): INFO: Adding /tmp/venv-Cz0X/bin to PATH [2021-06-30T23:48:58.588Z] INFO: No Stack... [2021-06-30T23:48:58.588Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T23:48:58.588Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T23:48:58.932Z] + cat /w/workspace/device-modbus-go/62/archives/cost.csv [2021-06-30T23:48:58.933Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T23:48:58.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] [2021-06-30T23:48:59.008Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] did not exist. Created. [2021-06-30T23:48:59.008Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T23:48:59.387Z] /w/workspace/device-modbus-go/62@tmp/durable-6f7e0e02/script.sh: 1: /w/workspace/device-modbus-go/62@tmp/durable-6f7e0e02/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T23:48:59.734Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T23:48:59.757Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T23:48:59.917Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T23:48:59.934Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-62-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-30T23:49:00.511Z] provisioning config files... [2021-06-30T23:49:00.522Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1163180354552718449tmp [Pipeline] { [Pipeline] sh [2021-06-30T23:49:00.862Z] + set +x [2021-06-30T23:49:00.862Z] + bash -s -- [2021-06-30T23:49:00.862Z] + curl -s https://codecov.io/bash [2021-06-30T23:49:00.862Z] [2021-06-30T23:49:00.862Z] _____ _ [2021-06-30T23:49:00.862Z] / ____| | | [2021-06-30T23:49:00.862Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T23:49:00.862Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T23:49:00.862Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T23:49:00.862Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T23:49:00.862Z] Bash-1.0.3 [2021-06-30T23:49:00.862Z] [2021-06-30T23:49:00.862Z] [2021-06-30T23:49:00.862Z] ==> git version 2.24.4 found [2021-06-30T23:49:00.862Z] ==> 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-30T23:49:00.862Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T23:49:00.862Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T23:49:00.862Z] ==> Jenkins CI detected. [2021-06-30T23:49:00.862Z] project root: . [2021-06-30T23:49:00.862Z] --> token set from env [2021-06-30T23:49:00.862Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T23:49:00.862Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T23:49:00.862Z] ==> Python coveragepy not found [2021-06-30T23:49:00.862Z] ==> Searching for coverage reports in: [2021-06-30T23:49:00.862Z] + . [2021-06-30T23:49:00.862Z] -> Found 1 reports [2021-06-30T23:49:00.862Z] ==> Detecting git/mercurial file structure [2021-06-30T23:49:00.862Z] ==> Reading reports [2021-06-30T23:49:00.862Z] + ./coverage.out bytes=22385 [2021-06-30T23:49:00.862Z] ==> Appending adjustments [2021-06-30T23:49:00.862Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T23:49:01.127Z] + Found adjustments [2021-06-30T23:49:01.127Z] ==> Gzipping contents [2021-06-30T23:49:01.127Z] 4.0K /tmp/codecov.giLerh.gz [2021-06-30T23:49:01.127Z] ==> Uploading reports [2021-06-30T23:49:01.127Z] url: https://codecov.io [2021-06-30T23:49:01.127Z] query: branch=master&commit=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-30T23:49:01.127Z] -> Pinging Codecov [2021-06-30T23:49:01.127Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-30T23:49:01.701Z] -> Uploading to [2021-06-30T23:49:01.701Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/55DBCA73C666E3227836607328DD7E49/7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1/5b39846c-6d60-4e6f-baa6-62f77b5061c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T234901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7eafeb0a587c9a35938bf0343027dcd5777df4feb8826c16a95348cc24052c0f [2021-06-30T23:49:01.701Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T23:49:01.701Z] Dload Upload Total Spent Left Speed [2021-06-30T23:49:02.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4053 0 0 100 4053 0 10017 --:--:-- --:--:-- --:--:-- 10007 [2021-06-30T23:49:02.275Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] } [2021-06-30T23:49:02.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-30T23:49:02.609Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-30T23:49:02.622Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:02.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:02.930Z] [2021-06-30T23:49:02.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:03.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:03.258Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-30T23:49:03.258Z] 188c0c94c7c5: Pulling fs layer [2021-06-30T23:49:03.258Z] 0ef7d3d256c8: Pulling fs layer [2021-06-30T23:49:03.258Z] de9db76c5a1d: Pulling fs layer [2021-06-30T23:49:03.258Z] 0eba1c9be4d2: Pulling fs layer [2021-06-30T23:49:03.258Z] 0d57e429df01: Pulling fs layer [2021-06-30T23:49:03.258Z] 4e4be7b47b0d: Pulling fs layer [2021-06-30T23:49:03.258Z] e1f770b5df2f: Pulling fs layer [2021-06-30T23:49:03.258Z] 85a0685a4137: Pulling fs layer [2021-06-30T23:49:03.258Z] 0eba1c9be4d2: Waiting [2021-06-30T23:49:03.258Z] 0d57e429df01: Waiting [2021-06-30T23:49:03.258Z] 4e4be7b47b0d: Waiting [2021-06-30T23:49:03.258Z] e1f770b5df2f: Waiting [2021-06-30T23:49:03.258Z] 85a0685a4137: Waiting [2021-06-30T23:49:03.258Z] de9db76c5a1d: Verifying Checksum [2021-06-30T23:49:03.258Z] de9db76c5a1d: Download complete [2021-06-30T23:49:03.520Z] 0ef7d3d256c8: Verifying Checksum [2021-06-30T23:49:03.520Z] 0ef7d3d256c8: Download complete [2021-06-30T23:49:03.520Z] 0d57e429df01: Verifying Checksum [2021-06-30T23:49:03.520Z] 0d57e429df01: Download complete [2021-06-30T23:49:03.782Z] 4e4be7b47b0d: Verifying Checksum [2021-06-30T23:49:03.782Z] 4e4be7b47b0d: Download complete [2021-06-30T23:49:04.046Z] 188c0c94c7c5: Verifying Checksum [2021-06-30T23:49:04.046Z] 188c0c94c7c5: Download complete [2021-06-30T23:49:04.307Z] 188c0c94c7c5: Pull complete [2021-06-30T23:49:04.307Z] 0ef7d3d256c8: Pull complete [2021-06-30T23:49:04.569Z] de9db76c5a1d: Pull complete [2021-06-30T23:49:10.563Z] e1f770b5df2f: Verifying Checksum [2021-06-30T23:49:10.563Z] e1f770b5df2f: Download complete [2021-06-30T23:49:10.563Z] 0eba1c9be4d2: Verifying Checksum [2021-06-30T23:49:10.563Z] 0eba1c9be4d2: Download complete [2021-06-30T23:49:10.563Z] 85a0685a4137: Verifying Checksum [2021-06-30T23:49:10.563Z] 85a0685a4137: Download complete [2021-06-30T23:49:13.143Z] 0eba1c9be4d2: Pull complete [2021-06-30T23:49:13.143Z] 0d57e429df01: Pull complete [2021-06-30T23:49:13.409Z] 4e4be7b47b0d: Pull complete [2021-06-30T23:49:13.994Z] e1f770b5df2f: Pull complete [2021-06-30T23:49:17.317Z] 85a0685a4137: Pull complete [2021-06-30T23:49:17.317Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-30T23:49:17.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:17.317Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-30T23:49:17.397Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:49:17.436Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-30T23:49:20.167Z] $ docker top 3ae9a6c381f1af52d9b698aa62b3db83b891a601a23ea3524455efe7d0db8e41 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-30T23:49:20.274Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-30T23:49:20.581Z] + set -o pipefail [2021-06-30T23:49:20.581Z] + snyk monitor '--org=edgex-jenkins' [2021-06-30T23:49:25.916Z] [2021-06-30T23:49:25.916Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-06-30T23:49:25.916Z] [2021-06-30T23:49:25.916Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/509211ae-b1b3-4e44-8e6c-ee5623c7ff5b [2021-06-30T23:49:25.916Z] [2021-06-30T23:49:25.916Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-06-30T23:49:25.916Z] [2021-06-30T23:49:25.916Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-30T23:49:25.916Z] [2021-06-30T23:49:25.916Z] [Pipeline] } [2021-06-30T23:49:25.927Z] $ docker stop --time=1 3ae9a6c381f1af52d9b698aa62b3db83b891a601a23ea3524455efe7d0db8e41 [2021-06-30T23:49:27.990Z] $ docker rm -f 3ae9a6c381f1af52d9b698aa62b3db83b891a601a23ea3524455efe7d0db8e41 [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-30T23:49:29.004Z] + git log --format=format:%s -1 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:29.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:49:29.334Z] . [Pipeline] withDockerContainer [2021-06-30T23:49:29.424Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:49:29.461Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:49:29.814Z] $ docker top 56bf4e46e4aa259b898041358752872660b0478da55cc99c1774427b76b73a96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:49:29.927Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:49:30.238Z] + git semver [Pipeline] } [2021-06-30T23:49:30.251Z] $ docker stop --time=1 56bf4e46e4aa259b898041358752872660b0478da55cc99c1774427b76b73a96 [2021-06-30T23:49:31.443Z] $ docker rm -f 56bf4e46e4aa259b898041358752872660b0478da55cc99c1774427b76b73a96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:34.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:49:34.129Z] [2021-06-30T23:49:34.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:34.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:49:34.719Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-30T23:49:34.719Z] ab5ef0e58194: Pulling fs layer [2021-06-30T23:49:34.719Z] 9712f1f96733: Pulling fs layer [2021-06-30T23:49:34.719Z] 63f879dbbcfc: Pulling fs layer [2021-06-30T23:49:34.719Z] 0d9ebad4ef96: Pulling fs layer [2021-06-30T23:49:34.719Z] e9a5061849ea: Pulling fs layer [2021-06-30T23:49:34.719Z] d747dcd14b5f: Pulling fs layer [2021-06-30T23:49:34.719Z] 2de7ff778b66: Pulling fs layer [2021-06-30T23:49:34.719Z] 0d9ebad4ef96: Waiting [2021-06-30T23:49:34.719Z] e9a5061849ea: Waiting [2021-06-30T23:49:34.719Z] d747dcd14b5f: Waiting [2021-06-30T23:49:34.719Z] 2de7ff778b66: Waiting [2021-06-30T23:49:34.984Z] 9712f1f96733: Verifying Checksum [2021-06-30T23:49:34.984Z] 9712f1f96733: Download complete [2021-06-30T23:49:37.535Z] 63f879dbbcfc: Verifying Checksum [2021-06-30T23:49:37.535Z] 63f879dbbcfc: Download complete [2021-06-30T23:49:37.796Z] e9a5061849ea: Verifying Checksum [2021-06-30T23:49:37.796Z] e9a5061849ea: Download complete [2021-06-30T23:49:38.057Z] d747dcd14b5f: Verifying Checksum [2021-06-30T23:49:38.057Z] d747dcd14b5f: Download complete [2021-06-30T23:49:38.319Z] 2de7ff778b66: Verifying Checksum [2021-06-30T23:49:38.319Z] 2de7ff778b66: Download complete [2021-06-30T23:49:38.319Z] 0d9ebad4ef96: Verifying Checksum [2021-06-30T23:49:38.319Z] 0d9ebad4ef96: Download complete [2021-06-30T23:49:38.588Z] ab5ef0e58194: Verifying Checksum [2021-06-30T23:49:38.588Z] ab5ef0e58194: Download complete [2021-06-30T23:49:41.175Z] ab5ef0e58194: Pull complete [2021-06-30T23:49:41.175Z] 9712f1f96733: Pull complete [2021-06-30T23:49:41.761Z] 63f879dbbcfc: Pull complete [2021-06-30T23:49:45.097Z] 0d9ebad4ef96: Pull complete [2021-06-30T23:49:45.097Z] e9a5061849ea: Pull complete [2021-06-30T23:49:45.097Z] d747dcd14b5f: Pull complete [2021-06-30T23:49:46.075Z] 2de7ff778b66: Pull complete [2021-06-30T23:49:46.075Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-30T23:49:46.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:49:46.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-30T23:49:48.435Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:49:48.477Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-30T23:49:52.784Z] $ docker top 80abd535020fa93ba259270cf97b46d7dbe58993967a17671e0dd6c58a50347a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:49:52.884Z] provisioning config files... [2021-06-30T23:49:52.894Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7488370109730403450tmp [2021-06-30T23:49:52.907Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7995399556864565631tmp [2021-06-30T23:49:52.918Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1373635558117331660tmp [Pipeline] { [Pipeline] echo [2021-06-30T23:49:52.944Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:49:53.246Z] ---> sigul-configuration.sh [2021-06-30T23:49:53.246Z] gpg: directory `/root/.gnupg' created [2021-06-30T23:49:53.246Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-30T23:49:53.246Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-30T23:49:53.246Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-30T23:49:53.246Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-30T23:49:53.246Z] gpg: CAST5 encrypted data [2021-06-30T23:49:53.246Z] gpg: encrypted with 1 passphrase [2021-06-30T23:49:53.246Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-30T23:49:53.553Z] + mkdir /home/jenkins [2021-06-30T23:49:53.553Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-30T23:49:53.859Z] + 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-30T23:49:53.871Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:49:54.168Z] ---> sigul-install.sh [2021-06-30T23:49:59.500Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-30T23:49:59.805Z] + git tag --list [2021-06-30T23:49:59.805Z] 0.7.1 [2021-06-30T23:49:59.805Z] v1.0.0 [2021-06-30T23:49:59.805Z] v1.1.0 [2021-06-30T23:49:59.805Z] v1.1.1 [2021-06-30T23:49:59.805Z] v1.2.2 [2021-06-30T23:49:59.805Z] v1.3.0 [2021-06-30T23:49:59.805Z] v1.3.1 [2021-06-30T23:49:59.806Z] v1.3.1-dev.1 [2021-06-30T23:49:59.806Z] v1.3.1-dev.2 [2021-06-30T23:49:59.806Z] v1.3.1-dev.3 [2021-06-30T23:49:59.806Z] v1.3.1-dev.4 [2021-06-30T23:49:59.806Z] v1.3.1-dev.5 [2021-06-30T23:49:59.806Z] v1.3.1-dev.6 [2021-06-30T23:49:59.806Z] v1.3.1-dev.7 [2021-06-30T23:49:59.806Z] v1.3.1-dev.8 [2021-06-30T23:49:59.806Z] v1.3.2-dev.1 [2021-06-30T23:49:59.806Z] v1.3.2-dev.10 [2021-06-30T23:49:59.806Z] v1.3.2-dev.11 [2021-06-30T23:49:59.806Z] v1.3.2-dev.12 [2021-06-30T23:49:59.806Z] v1.3.2-dev.13 [2021-06-30T23:49:59.806Z] v1.3.2-dev.14 [2021-06-30T23:49:59.806Z] v1.3.2-dev.15 [2021-06-30T23:49:59.806Z] v1.3.2-dev.16 [2021-06-30T23:49:59.806Z] v1.3.2-dev.17 [2021-06-30T23:49:59.806Z] v1.3.2-dev.18 [2021-06-30T23:49:59.806Z] v1.3.2-dev.19 [2021-06-30T23:49:59.806Z] v1.3.2-dev.2 [2021-06-30T23:49:59.806Z] v1.3.2-dev.20 [2021-06-30T23:49:59.806Z] v1.3.2-dev.21 [2021-06-30T23:49:59.806Z] v1.3.2-dev.22 [2021-06-30T23:49:59.806Z] v1.3.2-dev.3 [2021-06-30T23:49:59.806Z] v1.3.2-dev.4 [2021-06-30T23:49:59.806Z] v1.3.2-dev.5 [2021-06-30T23:49:59.806Z] v1.3.2-dev.6 [2021-06-30T23:49:59.806Z] v1.3.2-dev.7 [2021-06-30T23:49:59.806Z] v1.3.2-dev.8 [2021-06-30T23:49:59.806Z] v1.3.2-dev.9 [2021-06-30T23:49:59.806Z] v2.0.0 [Pipeline] sh [2021-06-30T23:50:00.101Z] + lftools sign git-tag v2.0.0 [2021-06-30T23:50:00.675Z] Signing Git tag with Sigul... [2021-06-30T23:50:00.675Z] Signing v2.0.0 [Pipeline] echo [2021-06-30T23:50:01.259Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:01.556Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-30T23:50:01.564Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-30T23:50:01.595Z] $ docker stop --time=1 80abd535020fa93ba259270cf97b46d7dbe58993967a17671e0dd6c58a50347a [2021-06-30T23:50:03.721Z] $ docker rm -f 80abd535020fa93ba259270cf97b46d7dbe58993967a17671e0dd6c58a50347a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:04.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:50:04.356Z] . [Pipeline] withDockerContainer [2021-06-30T23:50:04.430Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:50:04.467Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:50:04.954Z] $ docker top 95cf90d00ba3ae86fe813dfc2e2c09497d30f4c0515c673641abf70a7702343f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:50:05.176Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:50:05.596Z] + git semver [Pipeline] } [2021-06-30T23:50:05.608Z] $ docker stop --time=1 95cf90d00ba3ae86fe813dfc2e2c09497d30f4c0515c673641abf70a7702343f [2021-06-30T23:50:06.802Z] $ docker rm -f 95cf90d00ba3ae86fe813dfc2e2c09497d30f4c0515c673641abf70a7702343f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:07.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:50:07.194Z] . [Pipeline] withDockerContainer [2021-06-30T23:50:07.279Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:50:07.320Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:50:07.677Z] $ docker top 943e37ae8fa39591a6d68f3e37f9418a4dd948b173e80635704fe7e584e36fff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:50:07.789Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:50:08.113Z] + git semver [Pipeline] } [2021-06-30T23:50:08.126Z] $ docker stop --time=1 943e37ae8fa39591a6d68f3e37f9418a4dd948b173e80635704fe7e584e36fff [2021-06-30T23:50:11.119Z] $ docker rm -f 943e37ae8fa39591a6d68f3e37f9418a4dd948b173e80635704fe7e584e36fff [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-30T23:50:12.075Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:12.639Z] ---> package-listing.sh [2021-06-30T23:50:12.639Z] ++ facter osfamily [2021-06-30T23:50:12.639Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T23:50:12.901Z] + OS_FAMILY=redhat [2021-06-30T23:50:12.901Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-06-30T23:50:12.901Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T23:50:12.901Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T23:50:12.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T23:50:12.901Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T23:50:12.901Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-30T23:50:12.901Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T23:50:12.901Z] + case "${OS_FAMILY}" in [2021-06-30T23:50:12.901Z] + sort [2021-06-30T23:50:12.901Z] + rpm -qa [2021-06-30T23:50:13.473Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T23:50:13.473Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T23:50:13.473Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T23:50:13.473Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-30T23:50:13.473Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-06-30T23:50:13.473Z] + 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-30T23:50:13.486Z] 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-30T23:50:13.775Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:14.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:14.341Z] [2021-06-30T23:50:14.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:14.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:14.654Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T23:50:14.654Z] df20fa9351a1: Pulling fs layer [2021-06-30T23:50:14.654Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T23:50:14.654Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T23:50:14.654Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T23:50:14.654Z] 93b61091891f: Pulling fs layer [2021-06-30T23:50:14.654Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T23:50:14.654Z] 5e14af77c1be: Pulling fs layer [2021-06-30T23:50:14.654Z] 01666e4c0597: Pulling fs layer [2021-06-30T23:50:14.654Z] aa168da1d23b: Pulling fs layer [2021-06-30T23:50:14.654Z] 93b9cdb0e59b: Waiting [2021-06-30T23:50:14.654Z] 5e14af77c1be: Waiting [2021-06-30T23:50:14.654Z] 01666e4c0597: Waiting [2021-06-30T23:50:14.654Z] aa168da1d23b: Waiting [2021-06-30T23:50:14.654Z] 46f8f816bc3b: Waiting [2021-06-30T23:50:14.654Z] 93b61091891f: Waiting [2021-06-30T23:50:14.654Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T23:50:14.654Z] 36b3adc4ff6f: Download complete [2021-06-30T23:50:14.931Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T23:50:14.931Z] 46f8f816bc3b: Download complete [2021-06-30T23:50:14.931Z] df20fa9351a1: Verifying Checksum [2021-06-30T23:50:14.931Z] df20fa9351a1: Download complete [2021-06-30T23:50:15.191Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T23:50:15.191Z] 93b9cdb0e59b: Download complete [2021-06-30T23:50:15.191Z] 93b61091891f: Verifying Checksum [2021-06-30T23:50:15.191Z] 93b61091891f: Download complete [2021-06-30T23:50:15.191Z] 5e14af77c1be: Verifying Checksum [2021-06-30T23:50:15.191Z] 5e14af77c1be: Download complete [2021-06-30T23:50:15.191Z] 01666e4c0597: Verifying Checksum [2021-06-30T23:50:15.191Z] 01666e4c0597: Download complete [2021-06-30T23:50:15.191Z] df20fa9351a1: Pull complete [2021-06-30T23:50:15.191Z] 36b3adc4ff6f: Pull complete [2021-06-30T23:50:15.768Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T23:50:15.768Z] 8ad3a11d3b57: Download complete [2021-06-30T23:50:16.366Z] 8ad3a11d3b57: Pull complete [2021-06-30T23:50:16.366Z] 46f8f816bc3b: Pull complete [2021-06-30T23:50:16.627Z] 93b61091891f: Pull complete [2021-06-30T23:50:16.887Z] 93b9cdb0e59b: Pull complete [2021-06-30T23:50:16.887Z] 5e14af77c1be: Pull complete [2021-06-30T23:50:16.887Z] 01666e4c0597: Pull complete [2021-06-30T23:50:17.829Z] aa168da1d23b: Verifying Checksum [2021-06-30T23:50:17.829Z] aa168da1d23b: Download complete [2021-06-30T23:50:22.081Z] aa168da1d23b: Pull complete [2021-06-30T23:50:22.081Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T23:50:22.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:22.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T23:50:22.161Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2021-06-30T23:50:22.200Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-30T23:50:26.544Z] $ docker top e9275bc29f85207c58c198816216f58de0926555b47aff8b4fb50a0f60b2c0a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:50:26.929Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T23:50:27.237Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T23:50:27.531Z] + ls /var/log/sa-host [2021-06-30T23:50:27.531Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T23:50:27.531Z] file_magic: OK [2021-06-30T23:50:27.531Z] HZ: Using current value: 100 [2021-06-30T23:50:27.531Z] file_header: OK [2021-06-30T23:50:27.531Z] 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-30T23:50:27.531Z] Statistics: [2021-06-30T23:50:27.531Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T23:50:27.531Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T23:50:27.531Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T23:50:27.531Z] file_magic: OK [2021-06-30T23:50:27.531Z] HZ: Using current value: 100 [2021-06-30T23:50:27.531Z] file_header: OK [2021-06-30T23:50:27.531Z] 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-30T23:50:27.531Z] Statistics: [2021-06-30T23:50:27.531Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T23:50:27.531Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:50:27.737Z] provisioning config files... [2021-06-30T23:50:27.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8318563703686750652tmp [Pipeline] { [Pipeline] echo [2021-06-30T23:50:27.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:28.071Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T23:50:28.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:28.460Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T23:50:28.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:28.769Z] ---> sudo-logs.sh [2021-06-30T23:50:28.769Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T23:50:28.801Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:29.101Z] ---> job-cost.sh [2021-06-30T23:50:29.101Z] lf-activate-venv: SKIPPING [2021-06-30T23:50:29.101Z] DEBUG: total: 0.18000000715255737 [2021-06-30T23:50:29.101Z] INFO: Retrieving Stack Cost... [2021-06-30T23:50:31.963Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T23:50:31.963Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T23:50:31.979Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:32.290Z] ---> logs-deploy.sh [2021-06-30T23:50:32.290Z] lf-activate-venv: SKIPPING [2021-06-30T23:50:32.290Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/62 [2021-06-30T23:50:32.290Z] INFO: archiving workspace using pattern(s): [2021-06-30T23:50:33.233Z] Archives upload complete. [2021-06-30T23:50:33.233Z] INFO: archiving logs to Nexus