Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from be36c6692f7cdd3de6d802e0c0482b73d353ae7a 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-ssh4990075304485914562.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4735613745269994198.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1199880578078675585.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7427404050509546475.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4369165448791270139.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15359 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 be36c6692f7cdd3de6d802e0c0482b73d353ae7a (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-ssh8051128227183672506.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 be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 Commit message: "Merge pull request #248 from lenny-intel/port" > git rev-list --no-walk b5230044bd4b19929753d210ee1690417a14801e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T17:58:27.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T17:58:27.553Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T17:58:27.581Z] ========================================================= [2021-05-20T17:58:27.581Z] EdgeX Global Pipelines Version Info [2021-05-20T17:58:27.581Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:28.998Z] ------------------- [2021-05-20T17:58:28.998Z] stable info: [2021-05-20T17:58:28.998Z] ------------------- [2021-05-20T17:58:28.998Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T17:58:28.998Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:28.998Z] Message: update stable to v1.0.192 [2021-05-20T17:58:29.575Z] ------------------- [2021-05-20T17:58:29.575Z] experimental info: [2021-05-20T17:58:29.575Z] ------------------- [2021-05-20T17:58:29.575Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:29.575Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:29.575Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T17:58:29.727Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-20T17:58:29.763Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-20T17:58:29.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T17:58:29.831Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T17:58:29.855Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T17:58:29.885Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T17:58:29.912Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T17:58:29.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T17:58:29.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T17:58:30.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T17:58:30.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T17:58:30.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-20T17:58:30.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T17:58:30.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T17:58:30.183Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:30.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:30.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:30.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:30.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T17:58:30.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-20T17:58:30.374Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T17:58:30.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T17:58:30.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T17:58:30.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T17:58:30.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T17:58:30.550Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T17:58:30.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-20T17:58:30.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-20T17:58:30.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-20T17:58:30.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] echo [2021-05-20T17:58:30.673Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be36c66 [Pipeline] echo [2021-05-20T17:58:30.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T17:58:30.772Z] provisioning config files... [2021-05-20T17:58:30.787Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2043348300557957571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:31.105Z] ---> docker-login.sh [2021-05-20T17:58:31.105Z] nexus3.edgexfoundry.org:10001 [2021-05-20T17:58:31.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:31.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:31.369Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:31.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:31.369Z] [2021-05-20T17:58:31.369Z] Login Succeeded [2021-05-20T17:58:31.369Z] nexus3.edgexfoundry.org:10002 [2021-05-20T17:58:31.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:31.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:31.369Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:31.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:31.369Z] [2021-05-20T17:58:31.369Z] Login Succeeded [2021-05-20T17:58:31.369Z] nexus3.edgexfoundry.org:10003 [2021-05-20T17:58:31.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:31.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:31.638Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:31.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:31.638Z] [2021-05-20T17:58:31.638Z] Login Succeeded [2021-05-20T17:58:31.638Z] nexus3.edgexfoundry.org:10004 [2021-05-20T17:58:31.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:31.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:31.638Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:31.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:31.638Z] [2021-05-20T17:58:31.638Z] Login Succeeded [2021-05-20T17:58:31.638Z] docker.io [2021-05-20T17:58:31.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:31.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:31.898Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:31.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:31.898Z] [2021-05-20T17:58:31.898Z] Login Succeeded [2021-05-20T17:58:31.898Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T17:58:31.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T17:58:32.384Z] + git log --format=format:%s -1 be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] echo [2021-05-20T17:58:32.422Z] GIT_COMMIT: be36c6692f7cdd3de6d802e0c0482b73d353ae7a, Commit Message: Merge pull request #248 from lenny-intel/port [Pipeline] echo [2021-05-20T17:58:32.439Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:33.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:33.028Z] [2021-05-20T17:58:33.028Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:33.349Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:33.349Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T17:58:33.349Z] 31603596830f: Pulling fs layer [2021-05-20T17:58:33.349Z] 54011a49482f: Pulling fs layer [2021-05-20T17:58:33.349Z] a6820b24f6d8: Pulling fs layer [2021-05-20T17:58:33.349Z] f581987b2513: Pulling fs layer [2021-05-20T17:58:33.349Z] f581987b2513: Waiting [2021-05-20T17:58:33.349Z] 54011a49482f: Verifying Checksum [2021-05-20T17:58:33.349Z] 54011a49482f: Download complete [2021-05-20T17:58:33.621Z] 31603596830f: Verifying Checksum [2021-05-20T17:58:33.621Z] 31603596830f: Download complete [2021-05-20T17:58:33.621Z] a6820b24f6d8: Verifying Checksum [2021-05-20T17:58:33.621Z] a6820b24f6d8: Download complete [2021-05-20T17:58:33.621Z] f581987b2513: Verifying Checksum [2021-05-20T17:58:33.621Z] f581987b2513: Download complete [2021-05-20T17:58:33.621Z] 31603596830f: Pull complete [2021-05-20T17:58:33.889Z] 54011a49482f: Pull complete [2021-05-20T17:58:34.465Z] a6820b24f6d8: Pull complete [2021-05-20T17:58:34.465Z] f581987b2513: Pull complete [2021-05-20T17:58:34.465Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T17:58:34.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:34.728Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T17:58:34.810Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T17:58:34.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T17:58:35.742Z] $ docker top e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T17:58:35.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:35.860Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:35.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:35.968Z] $ docker exec e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent [2021-05-20T17:58:36.086Z] SSH_AUTH_SOCK=/tmp/ssh-bNl57Dc12UGo/agent.13 [2021-05-20T17:58:36.086Z] SSH_AGENT_PID=20 [2021-05-20T17:58:36.096Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:36.200Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4121174420284044994.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4121174420284044994.key) [2021-05-20T17:58:36.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:36.524Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T17:58:36.543Z] $ docker exec --env ******** --env ******** e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent -k [2021-05-20T17:58:36.647Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:36.647Z] unset SSH_AGENT_PID; [2021-05-20T17:58:36.647Z] echo Agent pid 20 killed; [2021-05-20T17:58:36.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T17:58:36.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:36.736Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:36.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:36.842Z] $ docker exec e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent [2021-05-20T17:58:36.940Z] SSH_AUTH_SOCK=/tmp/ssh-deSxN4RM5GcW/agent.53 [2021-05-20T17:58:36.940Z] SSH_AGENT_PID=59 [2021-05-20T17:58:36.946Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:37.045Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6836332099474221641.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6836332099474221641.key) [2021-05-20T17:58:37.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:37.398Z] + git semver init [2021-05-20T17:58:37.398Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T17:58:37.398Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-20T17:58:37.398Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-20T17:58:37.398Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T17:58:37.398Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:37.398Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T17:58:37.398Z] # $SEMVER_BRANCH = master [2021-05-20T17:58:37.398Z] # $SEMVER_TEMP = /tmp/semver-617552014 [2021-05-20T17:58:37.398Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-20T17:58:37.662Z] # '/tmp/semver-617552014' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-20T17:58:37.662Z] # -> Force: false [2021-05-20T17:58:37.662Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-20T17:58:37.680Z] $ docker exec --env ******** --env ******** e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 ssh-agent -k [2021-05-20T17:58:37.772Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:37.774Z] unset SSH_AGENT_PID; [2021-05-20T17:58:37.774Z] echo Agent pid 59 killed; [2021-05-20T17:58:37.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T17:58:38.135Z] + git semver [Pipeline] } [2021-05-20T17:58:38.157Z] $ docker stop --time=1 e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 [2021-05-20T17:58:39.384Z] $ docker rm -f e3ed9762957a63652e0db6acf6364e1538ba23df778cbfdf00b9d4cdc3514c13 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T17:58:39.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T17:58:40.070Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T17:58:40.074Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-20T17:58:55.352Z] Still waiting to schedule task [2021-05-20T17:58:55.352Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T17:58:55.364Z] Still waiting to schedule task [2021-05-20T17:58:55.364Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15357’ [2021-05-20T18:00:29.734Z] Running on prd-centos7-docker-4c-2g-15364 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:00:29.753Z] Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout [2021-05-20T18:00:29.851Z] Selected Git installation does not exist. Using Default [2021-05-20T18:00:29.851Z] The recommended git tool is: NONE [2021-05-20T18:00:32.201Z] using credential edgex-jenkins-ssh [2021-05-20T18:00:32.229Z] Cloning the remote Git repository [2021-05-20T18:00:32.978Z] Avoid second fetch [2021-05-20T18:00:32.979Z] Checking out Revision be36c6692f7cdd3de6d802e0c0482b73d353ae7a (master) [2021-05-20T18:00:32.250Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-20T18:00:32.318Z] > git init /w/workspace/device-modbus-go/51 # timeout=10 [2021-05-20T18:00:32.348Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-20T18:00:32.348Z] > git --version # timeout=10 [2021-05-20T18:00:32.355Z] > git --version # 'git version 2.24.4' [2021-05-20T18:00:32.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:00:32.380Z] [INFO] Currently running in a labeled security context [2021-05-20T18:00:32.380Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T18:00:32.381Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/51@tmp/jenkins-gitclient-ssh2608874023974955764.key [2021-05-20T18:00:32.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:00:32.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-20T18:00:32.970Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:00:32.987Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:00:32.993Z] > git checkout -f be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 [2021-05-20T18:00:36.695Z] Commit message: "Merge pull request #248 from lenny-intel/port" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:00:37.688Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:00:38.019Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:00:38.322Z] + sudo service docker restart [2021-05-20T18:00:38.322Z] + true [2021-05-20T18:00:38.322Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:01:00.339Z] provisioning config files... [2021-05-20T18:01:00.354Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config5345948174525503774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:01:00.717Z] ---> docker-login.sh [2021-05-20T18:01:00.717Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:01:01.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:01.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:01.571Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:01.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:01.571Z] [2021-05-20T18:01:01.571Z] Login Succeeded [2021-05-20T18:01:01.571Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:01:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:01.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:01.849Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:01.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:01.849Z] [2021-05-20T18:01:01.849Z] Login Succeeded [2021-05-20T18:01:01.849Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:01:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:02.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:02.113Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:02.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:02.113Z] [2021-05-20T18:01:02.113Z] Login Succeeded [2021-05-20T18:01:02.113Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:01:02.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:02.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:02.113Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:02.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:02.113Z] [2021-05-20T18:01:02.113Z] Login Succeeded [2021-05-20T18:01:02.113Z] docker.io [2021-05-20T18:01:02.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:02.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:02.374Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:02.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:02.374Z] [2021-05-20T18:01:02.374Z] Login Succeeded [2021-05-20T18:01:02.374Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:01:02.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T18:01:02.560Z] ========================================================= [2021-05-20T18:01:02.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T18:01:02.560Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:01:02.875Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-20T18:01:02.875Z] Sending build context to Docker daemon 602.6kB [2021-05-20T18:01:02.875Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:01:02.875Z] Step 2/8 : FROM ${BASE} [2021-05-20T18:01:03.464Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T18:01:03.464Z] 540db60ca938: Pulling fs layer [2021-05-20T18:01:03.464Z] adcc1eea9eea: Pulling fs layer [2021-05-20T18:01:03.464Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T18:01:03.464Z] 0510c868ecb4: Pulling fs layer [2021-05-20T18:01:03.464Z] afea3b2eda06: Pulling fs layer [2021-05-20T18:01:03.464Z] 7809a108b3ef: Pulling fs layer [2021-05-20T18:01:03.464Z] f706445af74f: Pulling fs layer [2021-05-20T18:01:03.464Z] 0510c868ecb4: Waiting [2021-05-20T18:01:03.464Z] afea3b2eda06: Waiting [2021-05-20T18:01:03.464Z] 7809a108b3ef: Waiting [2021-05-20T18:01:03.464Z] f706445af74f: Waiting [2021-05-20T18:01:03.464Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T18:01:03.464Z] 4c4ab2625f07: Download complete [2021-05-20T18:01:03.464Z] adcc1eea9eea: Verifying Checksum [2021-05-20T18:01:03.464Z] adcc1eea9eea: Download complete [2021-05-20T18:01:03.464Z] afea3b2eda06: Verifying Checksum [2021-05-20T18:01:03.464Z] afea3b2eda06: Download complete [2021-05-20T18:01:03.464Z] 540db60ca938: Verifying Checksum [2021-05-20T18:01:03.464Z] 540db60ca938: Download complete [2021-05-20T18:01:03.464Z] 7809a108b3ef: Verifying Checksum [2021-05-20T18:01:03.464Z] 7809a108b3ef: Download complete [2021-05-20T18:01:03.737Z] 540db60ca938: Pull complete [2021-05-20T18:01:04.308Z] adcc1eea9eea: Pull complete [2021-05-20T18:01:04.568Z] 4c4ab2625f07: Pull complete [2021-05-20T18:01:05.141Z] f706445af74f: Verifying Checksum [2021-05-20T18:01:05.141Z] f706445af74f: Download complete [2021-05-20T18:01:05.720Z] 0510c868ecb4: Verifying Checksum [2021-05-20T18:01:05.720Z] 0510c868ecb4: Download complete [2021-05-20T18:01:09.062Z] 0510c868ecb4: Pull complete [2021-05-20T18:01:09.062Z] afea3b2eda06: Pull complete [2021-05-20T18:01:09.062Z] 7809a108b3ef: Pull complete [2021-05-20T18:01:10.482Z] f706445af74f: Pull complete [2021-05-20T18:01:10.482Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T18:01:10.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T18:01:10.482Z] ---> b068be0155e3 [2021-05-20T18:01:10.482Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-20T18:01:17.106Z] ---> Running in 4c99ad371013 [2021-05-20T18:01:17.106Z] Removing intermediate container 4c99ad371013 [2021-05-20T18:01:17.106Z] ---> 995fc4f66d05 [2021-05-20T18:01:17.106Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:01:17.106Z] ---> Running in 4dbe9e0e921b [2021-05-20T18:01:17.106Z] Removing intermediate container 4dbe9e0e921b [2021-05-20T18:01:17.106Z] ---> 8c9683417326 [2021-05-20T18:01:17.106Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T18:01:17.369Z] ---> Running in 8c1396eafd10 [2021-05-20T18:01:17.631Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:01:18.581Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:01:19.528Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T18:01:19.528Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T18:01:19.528Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T18:01:19.528Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:01:19.798Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:01:19.798Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T18:01:20.062Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:01:20.635Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T18:01:20.635Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T18:01:20.896Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T18:01:20.896Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T18:01:21.161Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T18:01:21.425Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:01:21.425Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:01:21.425Z] OK: 156 MiB in 53 packages [2021-05-20T18:01:21.996Z] Removing intermediate container 8c1396eafd10 [2021-05-20T18:01:21.996Z] ---> 38da66641cc8 [2021-05-20T18:01:21.996Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-20T18:01:21.996Z] ---> Running in aaa30949c0eb [2021-05-20T18:01:22.258Z] Removing intermediate container aaa30949c0eb [2021-05-20T18:01:22.258Z] ---> 3962e176a94c [2021-05-20T18:01:22.258Z] Step 7/8 : COPY . . [2021-05-20T18:01:22.542Z] ---> a3d28891eee0 [2021-05-20T18:01:22.542Z] Step 8/8 : RUN go mod download [2021-05-20T18:01:22.542Z] ---> Running in 6e9778ffaf66 [2021-05-20T18:01:37.490Z] Removing intermediate container 6e9778ffaf66 [2021-05-20T18:01:37.490Z] ---> dda849b9914f [2021-05-20T18:01:37.490Z] Successfully built dda849b9914f [2021-05-20T18:01:37.490Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:01:37.796Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:01:37.796Z] . [Pipeline] withDockerContainer [2021-05-20T18:01:37.876Z] prd-centos7-docker-4c-2g-15364 does not seem to be running inside a container [2021-05-20T18:01:37.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 ******** ci-base-image-x86_64 cat [2021-05-20T18:01:38.390Z] $ docker top 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:01:38.768Z] + go version [2021-05-20T18:01:38.768Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T18:01:38.780Z] $ docker stop --time=1 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 [2021-05-20T18:01:39.994Z] $ docker rm -f 78527a0540c8034146e98c9f4f7a5dea7e36c53c2c8c4ed61fac5f54daaf3843 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:01:40.549Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:01:40.549Z] . [Pipeline] withDockerContainer [2021-05-20T18:01:40.645Z] prd-centos7-docker-4c-2g-15364 does not seem to be running inside a container [2021-05-20T18:01:40.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 ******** ci-base-image-x86_64 cat [2021-05-20T18:01:41.072Z] $ docker top 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:01:41.464Z] + go mod tidy [Pipeline] sh [2021-05-20T18:01:42.024Z] + make test [2021-05-20T18:01:42.024Z] go mod tidy [2021-05-20T18:01:42.024Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T18:01:42.606Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-20T18:01:57.638Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-20T18:01:58.597Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2021-05-20T18:01:58.597Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:02:03.534Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15368 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:02:03.557Z] Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout [2021-05-20T18:02:03.795Z] Selected Git installation does not exist. Using Default [2021-05-20T18:02:03.795Z] The recommended git tool is: NONE [2021-05-20T18:02:05.223Z] gofmt -l . [2021-05-20T18:02:05.223Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:02:05.223Z] ./bin/test-attribution-txt.sh [2021-05-20T18:02:05.484Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T18:02:05.497Z] $ docker stop --time=1 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 [2021-05-20T18:02:07.261Z] $ docker rm -f 97186f722ab555f1cff9c288cb06fdf713f55752149e74b7fe20208caadfea64 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T18:02:07.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T18:02:07.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T18:02:09.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:02:09.410Z] + ls -al . [2021-05-20T18:02:09.410Z] total 112 [2021-05-20T18:02:09.410Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 20 18:02 . [2021-05-20T18:02:09.410Z] drwxrwxr-x. 4 jenkins jenkins 30 May 20 18:00 .. [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 20 18:00 Attribution.txt [2021-05-20T18:02:09.410Z] drwxrwxr-x. 2 jenkins jenkins 87 May 20 18:00 bin [2021-05-20T18:02:09.410Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 18:00 cmd [2021-05-20T18:02:09.410Z] -rw-r--r--. 1 jenkins jenkins 22385 May 20 18:01 coverage.out [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 1473 May 20 18:00 Dockerfile [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 995 May 20 18:00 Dockerfile.build [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 140 May 20 18:00 .dockerignore [2021-05-20T18:02:09.410Z] drwxrwxr-x. 8 jenkins jenkins 162 May 20 18:00 .git [2021-05-20T18:02:09.410Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 18:00 .github [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 338 May 20 18:00 .gitignore [2021-05-20T18:02:09.410Z] -rw-r--r--. 1 jenkins jenkins 413 May 20 18:02 go.mod [2021-05-20T18:02:09.410Z] -rw-r--r--. 1 jenkins jenkins 21834 May 20 18:01 go.sum [2021-05-20T18:02:09.410Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 18:00 internal [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 679 May 20 18:00 Jenkinsfile [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 18:00 LICENSE [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 914 May 20 18:00 Makefile [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 20 18:00 README.md [2021-05-20T18:02:09.410Z] drwxrwxr-x. 2 jenkins jenkins 52 May 20 18:00 simulator [2021-05-20T18:02:09.410Z] drwxrwxr-x. 4 jenkins jenkins 71 May 20 18:00 snap [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:02:09.410Z] -rw-rw-r--. 1 jenkins jenkins 229 May 20 18:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:09.720Z] + 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=be36c6692f7cdd3de6d802e0c0482b73d353ae7a --label arch=amd64 --label version=1.3.2-dev.12 . [2021-05-20T18:02:09.720Z] Sending build context to Docker daemon 625.7kB [2021-05-20T18:02:09.720Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:02:09.720Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-20T18:02:09.720Z] ---> dda849b9914f [2021-05-20T18:02:09.720Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:02:09.720Z] ---> Running in 52d4e2fdf6b4 [2021-05-20T18:02:09.773Z] using credential edgex-jenkins-ssh [2021-05-20T18:02:09.861Z] Cloning the remote Git repository [2021-05-20T18:02:10.293Z] Removing intermediate container 52d4e2fdf6b4 [2021-05-20T18:02:10.293Z] ---> 2b08b9d2817d [2021-05-20T18:02:10.293Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T18:02:10.293Z] ---> Running in 61044da06096 [2021-05-20T18:02:10.557Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:09.923Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-20T18:02:10.038Z] > git init /w/workspace/device-modbus-go/51 # timeout=10 [2021-05-20T18:02:10.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-20T18:02:10.156Z] > git --version # timeout=10 [2021-05-20T18:02:10.181Z] > git --version # 'git version 2.17.1' [2021-05-20T18:02:10.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:02:10.268Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:11.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-20T18:02:11.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:11.151Z] Avoid second fetch [2021-05-20T18:02:11.152Z] Checking out Revision be36c6692f7cdd3de6d802e0c0482b73d353ae7a (master) [2021-05-20T18:02:11.496Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:11.763Z] OK: 156 MiB in 53 packages [2021-05-20T18:02:12.027Z] Removing intermediate container 61044da06096 [2021-05-20T18:02:12.027Z] ---> b1d6e2572c1b [2021-05-20T18:02:12.027Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-20T18:02:12.027Z] ---> Running in 6364b519d5b6 [2021-05-20T18:02:12.285Z] Removing intermediate container 6364b519d5b6 [2021-05-20T18:02:12.285Z] ---> 31dc7952e442 [2021-05-20T18:02:12.285Z] Step 6/22 : COPY . . [2021-05-20T18:02:11.174Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:02:11.189Z] > git checkout -f be36c6692f7cdd3de6d802e0c0482b73d353ae7a # timeout=10 [2021-05-20T18:02:12.547Z] ---> 9e97f9911393 [2021-05-20T18:02:12.548Z] Step 7/22 : RUN go mod tidy [2021-05-20T18:02:12.548Z] ---> Running in 09cf5a23353d [2021-05-20T18:02:13.126Z] Removing intermediate container 09cf5a23353d [2021-05-20T18:02:13.126Z] ---> c9bbde96e3f7 [2021-05-20T18:02:13.126Z] Step 8/22 : RUN go mod download [2021-05-20T18:02:13.390Z] ---> Running in 0682af6eb543 [2021-05-20T18:02:13.959Z] Removing intermediate container 0682af6eb543 [2021-05-20T18:02:13.959Z] ---> a6ad99f380ca [2021-05-20T18:02:13.959Z] Step 9/22 : RUN make build [2021-05-20T18:02:13.959Z] ---> Running in 0ec578dd2ebe [2021-05-20T18:02:14.223Z] go mod tidy [2021-05-20T18:02:14.223Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.12" -o cmd/device-modbus ./cmd [2021-05-20T18:02:15.572Z] Commit message: "Merge pull request #248 from lenny-intel/port" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:02:16.840Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:17.356Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:17.724Z] + sudo service docker restart [2021-05-20T18:02:17.724Z] + true [2021-05-20T18:02:26.526Z] Removing intermediate container 0ec578dd2ebe [2021-05-20T18:02:26.526Z] ---> 6ca5e5dd1fcb [2021-05-20T18:02:26.526Z] Step 10/22 : FROM alpine:3.12 [2021-05-20T18:02:27.094Z] 3.12: Pulling from library/alpine [2021-05-20T18:02:27.094Z] 339de151aab4: Pulling fs layer [2021-05-20T18:02:27.353Z] 339de151aab4: Verifying Checksum [2021-05-20T18:02:27.353Z] 339de151aab4: Download complete [2021-05-20T18:02:27.353Z] 339de151aab4: Pull complete [2021-05-20T18:02:27.613Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:02:27.613Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:02:27.613Z] ---> 13621d1b12d4 [2021-05-20T18:02:27.613Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-20T18:02:27.613Z] ---> Running in 3c6b00858f5a [2021-05-20T18:02:27.613Z] Removing intermediate container 3c6b00858f5a [2021-05-20T18:02:27.613Z] ---> ecd526bca258 [2021-05-20T18:02:27.613Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:02:27.613Z] ---> Running in d9da43e6eded [2021-05-20T18:02:28.184Z] Removing intermediate container d9da43e6eded [2021-05-20T18:02:28.184Z] ---> 623a550f4746 [2021-05-20T18:02:28.184Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:02:28.184Z] ---> Running in c82a39f50765 [2021-05-20T18:02:28.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:29.827Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:31.737Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:02:31.737Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:02:31.737Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:02:32.308Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:02:33.250Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:02:33.822Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:02:33.822Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:02:33.822Z] OK: 8 MiB in 20 packages [2021-05-20T18:02:34.083Z] Removing intermediate container c82a39f50765 [2021-05-20T18:02:34.083Z] ---> b53b4becabf7 [2021-05-20T18:02:34.083Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-20T18:02:34.658Z] ---> d4ca654a6023 [2021-05-20T18:02:34.658Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-20T18:02:34.928Z] ---> 69ff71fe2e93 [2021-05-20T18:02:34.928Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-20T18:02:34.928Z] ---> e2bc2a516480 [2021-05-20T18:02:34.928Z] Step 17/22 : EXPOSE 59901 [2021-05-20T18:02:34.928Z] ---> Running in 8bd4ee5266c3 [2021-05-20T18:02:35.192Z] Removing intermediate container 8bd4ee5266c3 [2021-05-20T18:02:35.192Z] ---> 97bbb72f115c [2021-05-20T18:02:35.192Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-20T18:02:35.192Z] ---> Running in 1c5b998d4386 [2021-05-20T18:02:35.192Z] Removing intermediate container 1c5b998d4386 [2021-05-20T18:02:35.192Z] ---> fc06bf09afda [2021-05-20T18:02:35.192Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T18:02:35.192Z] ---> Running in bc8d9eaaaa6f [2021-05-20T18:02:35.457Z] Removing intermediate container bc8d9eaaaa6f [2021-05-20T18:02:35.457Z] ---> d9d0a0c70c75 [2021-05-20T18:02:35.457Z] Step 20/22 : LABEL arch=amd64 [2021-05-20T18:02:35.457Z] ---> Running in 4812d2975c67 [2021-05-20T18:02:35.457Z] Removing intermediate container 4812d2975c67 [2021-05-20T18:02:35.457Z] ---> 47c1e228a21f [2021-05-20T18:02:35.457Z] Step 21/22 : LABEL git_sha=be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:02:35.457Z] ---> Running in e82b88ef95cd [2021-05-20T18:02:35.719Z] Removing intermediate container e82b88ef95cd [2021-05-20T18:02:35.719Z] ---> 3b88ccce3d8c [2021-05-20T18:02:35.719Z] Step 22/22 : LABEL version=1.3.2-dev.12 [2021-05-20T18:02:35.719Z] ---> Running in 4718fedc1a04 [2021-05-20T18:02:35.719Z] Removing intermediate container 4718fedc1a04 [2021-05-20T18:02:35.719Z] ---> c9125cafeebc [2021-05-20T18:02:35.719Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-20T18:02:35.719Z] Successfully built c9125cafeebc [2021-05-20T18:02:35.719Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:02:35.909Z] provisioning config files... [2021-05-20T18:02:35.922Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config751983175993214154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:02:36.146Z] provisioning config files... [2021-05-20T18:02:36.171Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config8823329894096107531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:02:36.243Z] ---> docker-login.sh [2021-05-20T18:02:36.243Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:02:36.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:36.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:36.243Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:36.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:36.243Z] [2021-05-20T18:02:36.243Z] Login Succeeded [2021-05-20T18:02:36.243Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:02:36.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:36.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:36.243Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:36.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:36.243Z] [2021-05-20T18:02:36.243Z] Login Succeeded [2021-05-20T18:02:36.243Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:02:36.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:36.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:36.507Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:36.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:36.507Z] [2021-05-20T18:02:36.507Z] Login Succeeded [2021-05-20T18:02:36.507Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:02:36.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:36.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:36.507Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:36.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:36.507Z] [2021-05-20T18:02:36.507Z] Login Succeeded [2021-05-20T18:02:36.507Z] docker.io [2021-05-20T18:02:36.552Z] ---> docker-login.sh [2021-05-20T18:02:36.552Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:02:36.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:37.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:37.036Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:37.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:37.036Z] [2021-05-20T18:02:37.036Z] Login Succeeded [2021-05-20T18:02:37.036Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:02:37.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:02:37.116Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-05-20T18:02:37.116Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:02:37.116Z] latest [2021-05-20T18:02:37.116Z] 1.3.2-dev.12 [2021-05-20T18:02:37.116Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:02:37.116Z] master [2021-05-20T18:02:37.116Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:37.459Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:37.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:37.762Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:02:37.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-20T18:02:37.762Z] 04c009b71889: Preparing [2021-05-20T18:02:37.762Z] 25325208f082: Preparing [2021-05-20T18:02:37.762Z] 7de411f1ea54: Preparing [2021-05-20T18:02:37.762Z] adcf96d02222: Preparing [2021-05-20T18:02:37.762Z] b58ce3d5adab: Preparing [2021-05-20T18:02:37.762Z] 32f366d666a5: Preparing [2021-05-20T18:02:37.762Z] 32f366d666a5: Waiting [2021-05-20T18:02:37.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:37.824Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:37.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:37.824Z] [2021-05-20T18:02:37.824Z] Login Succeeded [2021-05-20T18:02:37.824Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:02:38.026Z] 04c009b71889: Pushed [2021-05-20T18:02:38.026Z] 25325208f082: Pushed [2021-05-20T18:02:38.026Z] 32f366d666a5: Layer already exists [2021-05-20T18:02:38.026Z] b58ce3d5adab: Pushed [2021-05-20T18:02:38.026Z] adcf96d02222: Pushed [2021-05-20T18:02:38.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:38.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:38.429Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:38.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:38.429Z] [2021-05-20T18:02:38.429Z] Login Succeeded [2021-05-20T18:02:38.429Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:02:38.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:38.969Z] 7de411f1ea54: Pushed [2021-05-20T18:02:38.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:38.980Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:38.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:38.980Z] [2021-05-20T18:02:38.980Z] Login Succeeded [2021-05-20T18:02:38.980Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:02:39.229Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:39.549Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:39.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:39.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:39.604Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:39.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:39.604Z] [2021-05-20T18:02:39.604Z] Login Succeeded [2021-05-20T18:02:39.604Z] docker.io [2021-05-20T18:02:39.866Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-20T18:02:39.867Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-20T18:02:39.867Z] 04c009b71889: Preparing [2021-05-20T18:02:39.867Z] 25325208f082: Preparing [2021-05-20T18:02:39.867Z] 7de411f1ea54: Preparing [2021-05-20T18:02:39.867Z] adcf96d02222: Preparing [2021-05-20T18:02:39.867Z] b58ce3d5adab: Preparing [2021-05-20T18:02:39.867Z] 32f366d666a5: Preparing [2021-05-20T18:02:39.867Z] 32f366d666a5: Waiting [2021-05-20T18:02:39.867Z] b58ce3d5adab: Layer already exists [2021-05-20T18:02:39.867Z] 04c009b71889: Layer already exists [2021-05-20T18:02:39.867Z] 25325208f082: Layer already exists [2021-05-20T18:02:39.867Z] adcf96d02222: Layer already exists [2021-05-20T18:02:39.867Z] 7de411f1ea54: Layer already exists [2021-05-20T18:02:39.867Z] 32f366d666a5: Layer already exists [2021-05-20T18:02:39.867Z] latest: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [2021-05-20T18:02:39.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:40.183Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:40.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:40.479Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:40.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:40.479Z] [2021-05-20T18:02:40.479Z] Login Succeeded [2021-05-20T18:02:40.479Z] ---> docker-login.sh ends [2021-05-20T18:02:40.482Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 [2021-05-20T18:02:40.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-20T18:02:40.482Z] 04c009b71889: Preparing [2021-05-20T18:02:40.482Z] 25325208f082: Preparing [2021-05-20T18:02:40.482Z] 7de411f1ea54: Preparing [2021-05-20T18:02:40.482Z] adcf96d02222: Preparing [2021-05-20T18:02:40.482Z] b58ce3d5adab: Preparing [2021-05-20T18:02:40.482Z] 32f366d666a5: Preparing [2021-05-20T18:02:40.482Z] 32f366d666a5: Waiting [2021-05-20T18:02:40.482Z] 7de411f1ea54: Layer already exists [2021-05-20T18:02:40.482Z] b58ce3d5adab: Layer already exists [2021-05-20T18:02:40.482Z] adcf96d02222: Layer already exists [2021-05-20T18:02:40.482Z] 25325208f082: Layer already exists [2021-05-20T18:02:40.482Z] 04c009b71889: Layer already exists [2021-05-20T18:02:40.482Z] 32f366d666a5: Layer already exists [2021-05-20T18:02:40.482Z] 1.3.2-dev.12: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-05-20T18:02:40.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-20T18:02:40.805Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-20T18:02:40.896Z] ========================================================= [2021-05-20T18:02:40.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T18:02:40.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:41.121Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:02:41.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-20T18:02:41.121Z] 04c009b71889: Preparing [2021-05-20T18:02:41.121Z] 25325208f082: Preparing [2021-05-20T18:02:41.121Z] 7de411f1ea54: Preparing [2021-05-20T18:02:41.121Z] adcf96d02222: Preparing [2021-05-20T18:02:41.121Z] b58ce3d5adab: Preparing [2021-05-20T18:02:41.121Z] 32f366d666a5: Preparing [2021-05-20T18:02:41.121Z] 32f366d666a5: Waiting [2021-05-20T18:02:41.121Z] 04c009b71889: Layer already exists [2021-05-20T18:02:41.121Z] adcf96d02222: Layer already exists [2021-05-20T18:02:41.121Z] b58ce3d5adab: Layer already exists [2021-05-20T18:02:41.121Z] 7de411f1ea54: Layer already exists [2021-05-20T18:02:41.121Z] 25325208f082: Layer already exists [2021-05-20T18:02:41.121Z] 32f366d666a5: Layer already exists [2021-05-20T18:02:41.121Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:41.258Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-20T18:02:41.430Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:41.552Z] Sending build context to Docker daemon 601.6kB [2021-05-20T18:02:41.738Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-05-20T18:02:41.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-05-20T18:02:41.739Z] 04c009b71889: Preparing [2021-05-20T18:02:41.739Z] 25325208f082: Preparing [2021-05-20T18:02:41.739Z] 7de411f1ea54: Preparing [2021-05-20T18:02:41.739Z] adcf96d02222: Preparing [2021-05-20T18:02:41.739Z] b58ce3d5adab: Preparing [2021-05-20T18:02:41.739Z] 32f366d666a5: Preparing [2021-05-20T18:02:41.739Z] 32f366d666a5: Waiting [2021-05-20T18:02:41.739Z] b58ce3d5adab: Layer already exists [2021-05-20T18:02:41.739Z] 25325208f082: Layer already exists [2021-05-20T18:02:41.739Z] 7de411f1ea54: Layer already exists [2021-05-20T18:02:41.739Z] 04c009b71889: Layer already exists [2021-05-20T18:02:41.739Z] adcf96d02222: Layer already exists [2021-05-20T18:02:41.739Z] 32f366d666a5: Layer already exists [2021-05-20T18:02:41.739Z] master: digest: sha256:6c9d3a21b8ae4298db029d11a68e3624ec4849361817754435d954aa6059fe05 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:02:41.821Z] ===================================================== [2021-05-20T18:02:41.831Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:02:41.831Z] Step 2/8 : FROM ${BASE} [2021-05-20T18:02:41.831Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T18:02:41.831Z] 595b0fe564bb: Pulling fs layer [2021-05-20T18:02:41.831Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T18:02:41.831Z] 316046926c0a: Pulling fs layer [2021-05-20T18:02:41.831Z] 4ebd0625c992: Pulling fs layer [2021-05-20T18:02:41.831Z] 207e8628e3a3: Pulling fs layer [2021-05-20T18:02:41.831Z] c791037a9be2: Pulling fs layer [2021-05-20T18:02:41.831Z] ffd874e62e21: Pulling fs layer [2021-05-20T18:02:41.831Z] 207e8628e3a3: Waiting [2021-05-20T18:02:41.831Z] c791037a9be2: Waiting [2021-05-20T18:02:41.831Z] ffd874e62e21: Waiting [2021-05-20T18:02:41.831Z] 4ebd0625c992: Waiting [2021-05-20T18:02:41.831Z] 316046926c0a: Verifying Checksum [2021-05-20T18:02:41.831Z] 316046926c0a: Download complete [2021-05-20T18:02:41.831Z] 7186ed65a4f7: Download complete [Pipeline] echo [2021-05-20T18:02:41.844Z] taggedImages: [2021-05-20T18:02:41.844Z] - nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:02:41.844Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-05-20T18:02:41.844Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.12 [2021-05-20T18:02:41.844Z] - nexus3.edgexfoundry.org:10004/device-modbus:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:02:41.844Z] - 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] } [2021-05-20T18:02:42.107Z] 207e8628e3a3: Verifying Checksum [2021-05-20T18:02:42.107Z] 207e8628e3a3: Download complete [2021-05-20T18:02:42.107Z] c791037a9be2: Download complete [2021-05-20T18:02:42.107Z] 595b0fe564bb: Verifying Checksum [2021-05-20T18:02:42.107Z] 595b0fe564bb: Download complete [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:02:42.577Z] ---> job-cost.sh [2021-05-20T18:02:42.577Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oakR [2021-05-20T18:02:42.708Z] 595b0fe564bb: Pull complete [2021-05-20T18:02:43.314Z] 7186ed65a4f7: Pull complete [2021-05-20T18:02:43.926Z] 316046926c0a: Pull complete [2021-05-20T18:02:44.206Z] ffd874e62e21: Verifying Checksum [2021-05-20T18:02:44.206Z] ffd874e62e21: Download complete [2021-05-20T18:02:45.656Z] 4ebd0625c992: Verifying Checksum [2021-05-20T18:02:45.656Z] 4ebd0625c992: Download complete [2021-05-20T18:02:54.819Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:02:55.844Z] 4ebd0625c992: Pull complete [2021-05-20T18:02:55.844Z] 207e8628e3a3: Pull complete [2021-05-20T18:02:56.118Z] c791037a9be2: Pull complete [2021-05-20T18:02:59.519Z] ffd874e62e21: Pull complete [2021-05-20T18:02:59.519Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T18:02:59.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T18:02:59.519Z] ---> cfc18b08335c [2021-05-20T18:02:59.519Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-20T18:03:01.497Z] ---> Running in 0da503d13783 [2021-05-20T18:03:02.156Z] Removing intermediate container 0da503d13783 [2021-05-20T18:03:02.156Z] ---> 46b132e86b56 [2021-05-20T18:03:02.156Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:03:02.156Z] ---> Running in 4c56a84b476d [2021-05-20T18:03:04.834Z] Removing intermediate container 4c56a84b476d [2021-05-20T18:03:04.834Z] ---> 0c6dbd41aa56 [2021-05-20T18:03:04.834Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T18:03:04.834Z] ---> Running in e93354233761 [2021-05-20T18:03:08.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:08.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:08.511Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T18:03:08.511Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T18:03:08.511Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T18:03:08.511Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:03:08.783Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:03:08.783Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T18:03:08.783Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:03:09.377Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T18:03:09.377Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T18:03:09.647Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T18:03:09.647Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T18:03:09.919Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T18:03:09.919Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:03:09.919Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:03:10.211Z] OK: 145 MiB in 53 packages [2021-05-20T18:03:11.649Z] Removing intermediate container e93354233761 [2021-05-20T18:03:11.649Z] ---> 26c932f00bc1 [2021-05-20T18:03:11.649Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-20T18:03:11.649Z] ---> Running in 9d16e03058e9 [2021-05-20T18:03:12.247Z] Removing intermediate container 9d16e03058e9 [2021-05-20T18:03:12.247Z] ---> 2a7144d69d83 [2021-05-20T18:03:12.247Z] Step 7/8 : COPY . . [2021-05-20T18:03:13.238Z] ---> 7ef91bccbcf9 [2021-05-20T18:03:13.238Z] Step 8/8 : RUN go mod download [2021-05-20T18:03:13.238Z] ---> Running in d0938baaf2c9 [2021-05-20T18:03:14.360Z] lf-activate-venv(): INFO: Adding /tmp/venv-oakR/bin to PATH [2021-05-20T18:03:14.360Z] INFO: No Stack... [2021-05-20T18:03:14.360Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:03:14.360Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:03:14.658Z] + cut -d, -f6 [2021-05-20T18:03:14.658Z] + cat /w/workspace/device-modbus-go/51/archives/cost.csv [Pipeline] lock [2021-05-20T18:03:14.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [2021-05-20T18:03:14.703Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] did not exist. Created. [2021-05-20T18:03:14.703Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:03:15.026Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T18:03:15.152Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:03:15.162Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T18:03:40.090Z] Removing intermediate container d0938baaf2c9 [2021-05-20T18:03:40.090Z] ---> cb49f5281f57 [2021-05-20T18:03:40.090Z] Successfully built cb49f5281f57 [2021-05-20T18:03:40.090Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:40.450Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:03:40.451Z] . [Pipeline] withDockerContainer [2021-05-20T18:03:40.703Z] prd-ubuntu18.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container [2021-05-20T18:03:40.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 ******** ci-base-image-arm64 cat [2021-05-20T18:03:42.387Z] $ docker top 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:03:43.341Z] + go version [2021-05-20T18:03:43.341Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T18:03:43.377Z] $ docker stop --time=1 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 [2021-05-20T18:03:45.154Z] $ docker rm -f 2aa0de2d0e4520a24ccfb36fec7e74cfeda675f93acfb27a39072c5afd4f9259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:45.853Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:03:45.853Z] . [Pipeline] withDockerContainer [2021-05-20T18:03:46.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container [2021-05-20T18:03:46.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@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 ******** ci-base-image-arm64 cat [2021-05-20T18:03:47.862Z] $ docker top 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:03:48.833Z] + go mod tidy [Pipeline] sh [2021-05-20T18:03:50.119Z] + make test [2021-05-20T18:03:50.119Z] go mod tidy [2021-05-20T18:03:50.721Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T18:03:52.158Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-20T18:04:48.738Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-20T18:04:48.738Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 47.7% of statements [2021-05-20T18:04:48.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:05:10.943Z] gofmt -l . [2021-05-20T18:05:10.943Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:05:10.943Z] ./bin/test-attribution-txt.sh [2021-05-20T18:05:12.934Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T18:05:13.247Z] $ docker stop --time=1 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 [2021-05-20T18:05:15.191Z] $ docker rm -f 296dafee9c316b4fbefe04a13346dd9777e7b23cffabb5b6e5abbbe6b875d132 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T18:05:16.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T18:05:16.074Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T18:05:16.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:05:17.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:05:17.428Z] + ls -al . [2021-05-20T18:05:17.428Z] total 144 [2021-05-20T18:05:17.428Z] drwxrwxr-x 9 jenkins jenkins 4096 May 20 18:05 . [2021-05-20T18:05:17.428Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 .. [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 18:02 .dockerignore [2021-05-20T18:05:17.428Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 18:02 .git [2021-05-20T18:05:17.428Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 .github [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 338 May 20 18:02 .gitignore [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 20 18:02 Attribution.txt [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 1473 May 20 18:02 Dockerfile [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 995 May 20 18:02 Dockerfile.build [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 679 May 20 18:02 Jenkinsfile [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 18:02 LICENSE [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 914 May 20 18:02 Makefile [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 20 18:02 README.md [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:05:17.428Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 bin [2021-05-20T18:05:17.428Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 cmd [2021-05-20T18:05:17.428Z] -rw-r--r-- 1 jenkins jenkins 22385 May 20 18:04 coverage.out [2021-05-20T18:05:17.428Z] -rw-r--r-- 1 jenkins jenkins 413 May 20 18:05 go.mod [2021-05-20T18:05:17.428Z] -rw-r--r-- 1 jenkins jenkins 21834 May 20 18:03 go.sum [2021-05-20T18:05:17.428Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 internal [2021-05-20T18:05:17.428Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 simulator [2021-05-20T18:05:17.428Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 snap [2021-05-20T18:05:17.428Z] -rw-rw-r-- 1 jenkins jenkins 229 May 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:17.776Z] + 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=be36c6692f7cdd3de6d802e0c0482b73d353ae7a --label arch=arm64 --label version=1.3.2-dev.12 . [2021-05-20T18:05:18.073Z] Sending build context to Docker daemon 624.6kB [2021-05-20T18:05:18.347Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:05:18.347Z] Step 2/22 : FROM ${BASE} AS builder [2021-05-20T18:05:18.347Z] ---> cb49f5281f57 [2021-05-20T18:05:18.347Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:05:18.622Z] ---> Running in 6547434eb360 [2021-05-20T18:05:21.252Z] Removing intermediate container 6547434eb360 [2021-05-20T18:05:21.252Z] ---> 6feaad68e267 [2021-05-20T18:05:21.252Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T18:05:21.252Z] ---> Running in 2241c895ce1e [2021-05-20T18:05:22.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:05:23.209Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:05:24.191Z] OK: 145 MiB in 53 packages [2021-05-20T18:05:25.623Z] Removing intermediate container 2241c895ce1e [2021-05-20T18:05:25.623Z] ---> fc48e8a8285c [2021-05-20T18:05:25.623Z] Step 5/22 : WORKDIR /device-modbus-go [2021-05-20T18:05:25.623Z] ---> Running in 66b0efe0c55c [2021-05-20T18:05:26.223Z] Removing intermediate container 66b0efe0c55c [2021-05-20T18:05:26.223Z] ---> a0061bd850ec [2021-05-20T18:05:26.223Z] Step 6/22 : COPY . . [2021-05-20T18:05:27.200Z] ---> c5a032b08e29 [2021-05-20T18:05:27.200Z] Step 7/22 : RUN go mod tidy [2021-05-20T18:05:27.472Z] ---> Running in a8f59b9a69fa [2021-05-20T18:05:30.862Z] Removing intermediate container a8f59b9a69fa [2021-05-20T18:05:30.862Z] ---> 458d2d2167a8 [2021-05-20T18:05:30.862Z] Step 8/22 : RUN go mod download [2021-05-20T18:05:30.862Z] ---> Running in 3bbed160965d [2021-05-20T18:05:33.483Z] Removing intermediate container 3bbed160965d [2021-05-20T18:05:33.483Z] ---> e9b90ed3f162 [2021-05-20T18:05:33.483Z] Step 9/22 : RUN make build [2021-05-20T18:05:33.483Z] ---> Running in 9009d145e388 [2021-05-20T18:05:34.916Z] go mod tidy [2021-05-20T18:05:35.192Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.12" -o cmd/device-modbus ./cmd [2021-05-20T18:06:14.230Z] Removing intermediate container 9009d145e388 [2021-05-20T18:06:14.230Z] ---> d83bca104223 [2021-05-20T18:06:14.230Z] Step 10/22 : FROM alpine:3.12 [2021-05-20T18:06:14.230Z] 3.12: Pulling from library/alpine [2021-05-20T18:06:14.230Z] d2f70382dc9a: Pulling fs layer [2021-05-20T18:06:14.230Z] d2f70382dc9a: Verifying Checksum [2021-05-20T18:06:14.230Z] d2f70382dc9a: Download complete [2021-05-20T18:06:14.507Z] d2f70382dc9a: Pull complete [2021-05-20T18:06:14.507Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:06:14.507Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:06:14.507Z] ---> 9852663dfa18 [2021-05-20T18:06:14.507Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-20T18:06:14.800Z] ---> Running in 28013b0dc559 [2021-05-20T18:06:15.397Z] Removing intermediate container 28013b0dc559 [2021-05-20T18:06:15.397Z] ---> 8b905745f4b0 [2021-05-20T18:06:15.397Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:06:15.674Z] ---> Running in 158e22e29385 [2021-05-20T18:06:17.669Z] Removing intermediate container 158e22e29385 [2021-05-20T18:06:17.669Z] ---> 65b3dca18a72 [2021-05-20T18:06:17.669Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:06:17.956Z] ---> Running in d97a6d392092 [2021-05-20T18:06:19.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:20.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:20.992Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:06:20.992Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:06:20.992Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:06:20.992Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:06:21.265Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:06:21.265Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:06:21.540Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:06:21.540Z] OK: 8 MiB in 20 packages [2021-05-20T18:06:22.977Z] Removing intermediate container d97a6d392092 [2021-05-20T18:06:22.977Z] ---> 6d81b9b016f0 [2021-05-20T18:06:22.977Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-05-20T18:06:23.959Z] ---> e76135f8a5c6 [2021-05-20T18:06:23.959Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-20T18:06:24.947Z] ---> f132a077955c [2021-05-20T18:06:24.947Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-20T18:06:25.555Z] ---> 986ccd294b86 [2021-05-20T18:06:25.555Z] Step 17/22 : EXPOSE 59901 [2021-05-20T18:06:25.829Z] ---> Running in 8919a4775cef [2021-05-20T18:06:26.101Z] Removing intermediate container 8919a4775cef [2021-05-20T18:06:26.101Z] ---> c549c96ab4fd [2021-05-20T18:06:26.101Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-05-20T18:06:26.377Z] ---> Running in 9a7c9a069092 [2021-05-20T18:06:26.972Z] Removing intermediate container 9a7c9a069092 [2021-05-20T18:06:26.972Z] ---> a17f0902b220 [2021-05-20T18:06:26.972Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T18:06:26.972Z] ---> Running in 6946dff29e54 [2021-05-20T18:06:27.569Z] Removing intermediate container 6946dff29e54 [2021-05-20T18:06:27.569Z] ---> 0f13413a2f63 [2021-05-20T18:06:27.569Z] Step 20/22 : LABEL arch=arm64 [2021-05-20T18:06:27.569Z] ---> Running in eea77daac90d [2021-05-20T18:06:28.166Z] Removing intermediate container eea77daac90d [2021-05-20T18:06:28.166Z] ---> f759c0c8d032 [2021-05-20T18:06:28.166Z] Step 21/22 : LABEL git_sha=be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:06:28.439Z] ---> Running in b51f758f8290 [2021-05-20T18:06:28.716Z] Removing intermediate container b51f758f8290 [2021-05-20T18:06:28.716Z] ---> 97a7731e16b2 [2021-05-20T18:06:28.716Z] Step 22/22 : LABEL version=1.3.2-dev.12 [2021-05-20T18:06:28.988Z] ---> Running in e95af344e264 [2021-05-20T18:06:29.260Z] Removing intermediate container e95af344e264 [2021-05-20T18:06:29.260Z] ---> ad66efb5e8d2 [2021-05-20T18:06:29.260Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-20T18:06:29.260Z] Successfully built ad66efb5e8d2 [2021-05-20T18:06:29.536Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:06:29.808Z] provisioning config files... [2021-05-20T18:06:29.830Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config177695839714021165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:06:30.253Z] ---> docker-login.sh [2021-05-20T18:06:30.253Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:06:30.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:06:30.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:06:30.569Z] Configure a credential helper to remove this warning. See [2021-05-20T18:06:30.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:06:30.569Z] [2021-05-20T18:06:30.569Z] Login Succeeded [2021-05-20T18:06:30.866Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:06:31.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:06:31.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:06:31.151Z] Configure a credential helper to remove this warning. See [2021-05-20T18:06:31.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:06:31.151Z] [2021-05-20T18:06:31.151Z] Login Succeeded [2021-05-20T18:06:31.425Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:06:31.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:06:31.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:06:31.971Z] Configure a credential helper to remove this warning. See [2021-05-20T18:06:31.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:06:31.971Z] [2021-05-20T18:06:31.971Z] Login Succeeded [2021-05-20T18:06:31.971Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:06:32.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:06:32.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:06:32.524Z] Configure a credential helper to remove this warning. See [2021-05-20T18:06:32.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:06:32.524Z] [2021-05-20T18:06:32.524Z] Login Succeeded [2021-05-20T18:06:32.524Z] docker.io [2021-05-20T18:06:32.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:06:33.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:06:33.400Z] Configure a credential helper to remove this warning. See [2021-05-20T18:06:33.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:06:33.400Z] [2021-05-20T18:06:33.400Z] Login Succeeded [2021-05-20T18:06:33.400Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:06:33.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:06:33.499Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-05-20T18:06:33.499Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:06:33.499Z] latest [2021-05-20T18:06:33.499Z] 1.3.2-dev.12 [2021-05-20T18:06:33.499Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:06:33.499Z] master [2021-05-20T18:06:33.499Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:33.896Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:34.247Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:06:34.247Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-20T18:06:34.247Z] e77dc53f975c: Preparing [2021-05-20T18:06:34.247Z] 7d3d40a20d44: Preparing [2021-05-20T18:06:34.247Z] 722f312b5041: Preparing [2021-05-20T18:06:34.247Z] 253e8cd18505: Preparing [2021-05-20T18:06:34.247Z] 9eeecb0cbeb6: Preparing [2021-05-20T18:06:34.247Z] 3fbe34a1663b: Preparing [2021-05-20T18:06:34.247Z] 3fbe34a1663b: Waiting [2021-05-20T18:06:34.527Z] 7d3d40a20d44: Pushed [2021-05-20T18:06:34.527Z] e77dc53f975c: Pushed [2021-05-20T18:06:34.802Z] 9eeecb0cbeb6: Pushed [2021-05-20T18:06:34.802Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:06:35.076Z] 253e8cd18505: Pushed [2021-05-20T18:06:37.697Z] 722f312b5041: Pushed [2021-05-20T18:06:37.697Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:38.058Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:38.424Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-20T18:06:38.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-20T18:06:38.424Z] e77dc53f975c: Preparing [2021-05-20T18:06:38.424Z] 7d3d40a20d44: Preparing [2021-05-20T18:06:38.424Z] 722f312b5041: Preparing [2021-05-20T18:06:38.424Z] 253e8cd18505: Preparing [2021-05-20T18:06:38.424Z] 9eeecb0cbeb6: Preparing [2021-05-20T18:06:38.424Z] 3fbe34a1663b: Preparing [2021-05-20T18:06:38.424Z] 3fbe34a1663b: Waiting [2021-05-20T18:06:38.697Z] 253e8cd18505: Layer already exists [2021-05-20T18:06:38.697Z] 722f312b5041: Layer already exists [2021-05-20T18:06:38.697Z] e77dc53f975c: Layer already exists [2021-05-20T18:06:38.697Z] 7d3d40a20d44: Layer already exists [2021-05-20T18:06:38.697Z] 9eeecb0cbeb6: Layer already exists [2021-05-20T18:06:38.697Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:06:38.697Z] latest: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:39.052Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:39.396Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 [2021-05-20T18:06:39.396Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-20T18:06:39.396Z] e77dc53f975c: Preparing [2021-05-20T18:06:39.396Z] 7d3d40a20d44: Preparing [2021-05-20T18:06:39.396Z] 722f312b5041: Preparing [2021-05-20T18:06:39.396Z] 253e8cd18505: Preparing [2021-05-20T18:06:39.396Z] 9eeecb0cbeb6: Preparing [2021-05-20T18:06:39.396Z] 3fbe34a1663b: Preparing [2021-05-20T18:06:39.396Z] 3fbe34a1663b: Waiting [2021-05-20T18:06:39.396Z] 9eeecb0cbeb6: Layer already exists [2021-05-20T18:06:39.396Z] e77dc53f975c: Layer already exists [2021-05-20T18:06:39.396Z] 7d3d40a20d44: Layer already exists [2021-05-20T18:06:39.396Z] 253e8cd18505: Layer already exists [2021-05-20T18:06:39.671Z] 722f312b5041: Layer already exists [2021-05-20T18:06:39.671Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:06:39.671Z] 1.3.2-dev.12: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:40.026Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:40.417Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:06:40.417Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-20T18:06:40.417Z] e77dc53f975c: Preparing [2021-05-20T18:06:40.417Z] 7d3d40a20d44: Preparing [2021-05-20T18:06:40.417Z] 722f312b5041: Preparing [2021-05-20T18:06:40.417Z] 253e8cd18505: Preparing [2021-05-20T18:06:40.417Z] 9eeecb0cbeb6: Preparing [2021-05-20T18:06:40.417Z] 3fbe34a1663b: Preparing [2021-05-20T18:06:40.417Z] 3fbe34a1663b: Waiting [2021-05-20T18:06:40.417Z] e77dc53f975c: Layer already exists [2021-05-20T18:06:40.417Z] 7d3d40a20d44: Layer already exists [2021-05-20T18:06:40.417Z] 722f312b5041: Layer already exists [2021-05-20T18:06:40.417Z] 253e8cd18505: Layer already exists [2021-05-20T18:06:40.417Z] 9eeecb0cbeb6: Layer already exists [2021-05-20T18:06:40.692Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:06:40.692Z] be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:41.046Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:41.398Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-05-20T18:06:41.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-05-20T18:06:41.398Z] e77dc53f975c: Preparing [2021-05-20T18:06:41.398Z] 7d3d40a20d44: Preparing [2021-05-20T18:06:41.398Z] 722f312b5041: Preparing [2021-05-20T18:06:41.398Z] 253e8cd18505: Preparing [2021-05-20T18:06:41.398Z] 9eeecb0cbeb6: Preparing [2021-05-20T18:06:41.398Z] 3fbe34a1663b: Preparing [2021-05-20T18:06:41.398Z] 3fbe34a1663b: Waiting [2021-05-20T18:06:41.673Z] e77dc53f975c: Layer already exists [2021-05-20T18:06:41.673Z] 722f312b5041: Layer already exists [2021-05-20T18:06:41.673Z] 7d3d40a20d44: Layer already exists [2021-05-20T18:06:41.673Z] 9eeecb0cbeb6: Layer already exists [2021-05-20T18:06:41.673Z] 253e8cd18505: Layer already exists [2021-05-20T18:06:41.673Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:06:41.945Z] master: digest: sha256:0386508fa7524054c8fae1db1a8abc7b6a0b3ce53b1ff3a10aef3714eff1f4dd size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:06:42.010Z] ===================================================== [Pipeline] echo [2021-05-20T18:06:42.026Z] taggedImages: [2021-05-20T18:06:42.026Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a [2021-05-20T18:06:42.026Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-05-20T18:06:42.026Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.12 [2021-05-20T18:06:42.026Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:be36c6692f7cdd3de6d802e0c0482b73d353ae7a-1.3.2-dev.12 [2021-05-20T18:06:42.026Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:06:42.504Z] ---> job-cost.sh [2021-05-20T18:06:42.504Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bpIj [2021-05-20T18:07:29.473Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:09:06.267Z] lf-activate-venv(): INFO: Adding /tmp/venv-bpIj/bin to PATH [2021-05-20T18:09:06.267Z] INFO: No Stack... [2021-05-20T18:09:06.267Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T18:09:06.267Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:09:06.616Z] + cut -d, -f6 [2021-05-20T18:09:06.616Z] + cat /w/workspace/device-modbus-go/51/archives/cost.csv [Pipeline] lock [2021-05-20T18:09:06.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [2021-05-20T18:09:06.693Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] did not exist. Created. [2021-05-20T18:09:06.693Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:09:07.058Z] /w/workspace/device-modbus-go/51@tmp/durable-0ca15d50/script.sh: 1: /w/workspace/device-modbus-go/51@tmp/durable-0ca15d50/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T18:09:07.406Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T18:09:07.437Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T18:09:07.596Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:09:07.610Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-20T18:09:08.441Z] provisioning config files... [2021-05-20T18:09:08.459Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7862109107889498660tmp [Pipeline] { [Pipeline] sh [2021-05-20T18:09:08.784Z] + set +x [2021-05-20T18:09:08.784Z] + curl -s https://codecov.io/bash [2021-05-20T18:09:08.784Z] + bash -s -- [2021-05-20T18:09:08.784Z] [2021-05-20T18:09:08.784Z] _____ _ [2021-05-20T18:09:08.784Z] / ____| | | [2021-05-20T18:09:08.784Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T18:09:08.784Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T18:09:08.784Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T18:09:08.784Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T18:09:08.784Z] Bash-1.0.2 [2021-05-20T18:09:08.784Z] [2021-05-20T18:09:08.784Z] [2021-05-20T18:09:08.784Z] ==> git version 2.24.4 found [2021-05-20T18:09:08.784Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-20T18:09:08.784Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T18:09:08.784Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T18:09:08.784Z] ==> Jenkins CI detected. [2021-05-20T18:09:08.784Z] project root: . [2021-05-20T18:09:08.784Z] --> token set from env [2021-05-20T18:09:08.784Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T18:09:08.784Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T18:09:08.784Z] ==> Python coveragepy not found [2021-05-20T18:09:08.784Z] ==> Searching for coverage reports in: [2021-05-20T18:09:08.784Z] + . [2021-05-20T18:09:08.784Z] -> Found 1 reports [2021-05-20T18:09:08.784Z] ==> Detecting git/mercurial file structure [2021-05-20T18:09:08.784Z] ==> Reading reports [2021-05-20T18:09:09.051Z] + ./coverage.out bytes=22385 [2021-05-20T18:09:09.051Z] ==> Appending adjustments [2021-05-20T18:09:09.051Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T18:09:09.051Z] + Found adjustments [2021-05-20T18:09:09.051Z] ==> Gzipping contents [2021-05-20T18:09:09.051Z] 4.0K /tmp/codecov.M08bHD.gz [2021-05-20T18:09:09.051Z] ==> Uploading reports [2021-05-20T18:09:09.051Z] url: https://codecov.io [2021-05-20T18:09:09.051Z] query: branch=master&commit=be36c6692f7cdd3de6d802e0c0482b73d353ae7a&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:09:09.051Z] -> Pinging Codecov [2021-05-20T18:09:09.051Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=be36c6692f7cdd3de6d802e0c0482b73d353ae7a&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:09:09.632Z] -> Uploading to [2021-05-20T18:09:09.632Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/55DBCA73C666E3227836607328DD7E49/be36c6692f7cdd3de6d802e0c0482b73d353ae7a/b25da70a-bea3-4a0e-bdee-c896c9dd63f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T180909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06ce2ef9a6f0f8c2d9ce07b164ceb626b1a94b920fe753ef589ce2a1521788ed [2021-05-20T18:09:09.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T18:09:09.632Z] Dload Upload Total Spent Left Speed [2021-05-20T18:09:09.893Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 10739 --:--:-- --:--:-- --:--:-- 10732 [2021-05-20T18:09:09.893Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] } [2021-05-20T18:09:09.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-20T18:09:10.303Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-20T18:09:10.325Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:10.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:09:10.639Z] [2021-05-20T18:09:10.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:10.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:09:10.969Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-20T18:09:10.969Z] 188c0c94c7c5: Pulling fs layer [2021-05-20T18:09:10.969Z] 0ef7d3d256c8: Pulling fs layer [2021-05-20T18:09:10.969Z] de9db76c5a1d: Pulling fs layer [2021-05-20T18:09:10.969Z] 0eba1c9be4d2: Pulling fs layer [2021-05-20T18:09:10.969Z] 0d57e429df01: Pulling fs layer [2021-05-20T18:09:10.969Z] 4e4be7b47b0d: Pulling fs layer [2021-05-20T18:09:10.969Z] e1f770b5df2f: Pulling fs layer [2021-05-20T18:09:10.969Z] 85a0685a4137: Pulling fs layer [2021-05-20T18:09:10.969Z] 0d57e429df01: Waiting [2021-05-20T18:09:10.969Z] 4e4be7b47b0d: Waiting [2021-05-20T18:09:10.969Z] e1f770b5df2f: Waiting [2021-05-20T18:09:10.969Z] 85a0685a4137: Waiting [2021-05-20T18:09:10.969Z] 0eba1c9be4d2: Waiting [2021-05-20T18:09:10.969Z] de9db76c5a1d: Verifying Checksum [2021-05-20T18:09:10.969Z] de9db76c5a1d: Download complete [2021-05-20T18:09:10.969Z] 0ef7d3d256c8: Verifying Checksum [2021-05-20T18:09:10.969Z] 0ef7d3d256c8: Download complete [2021-05-20T18:09:10.969Z] 0d57e429df01: Verifying Checksum [2021-05-20T18:09:10.969Z] 0d57e429df01: Download complete [2021-05-20T18:09:10.969Z] 4e4be7b47b0d: Verifying Checksum [2021-05-20T18:09:10.969Z] 4e4be7b47b0d: Download complete [2021-05-20T18:09:11.236Z] 188c0c94c7c5: Verifying Checksum [2021-05-20T18:09:11.236Z] 188c0c94c7c5: Download complete [2021-05-20T18:09:11.236Z] 188c0c94c7c5: Pull complete [2021-05-20T18:09:11.501Z] 0ef7d3d256c8: Pull complete [2021-05-20T18:09:11.501Z] de9db76c5a1d: Pull complete [2021-05-20T18:09:12.072Z] e1f770b5df2f: Verifying Checksum [2021-05-20T18:09:12.072Z] e1f770b5df2f: Download complete [2021-05-20T18:09:14.008Z] 0eba1c9be4d2: Verifying Checksum [2021-05-20T18:09:14.008Z] 0eba1c9be4d2: Download complete [2021-05-20T18:09:14.282Z] 85a0685a4137: Verifying Checksum [2021-05-20T18:09:14.282Z] 85a0685a4137: Download complete [2021-05-20T18:09:17.609Z] 0eba1c9be4d2: Pull complete [2021-05-20T18:09:17.609Z] 0d57e429df01: Pull complete [2021-05-20T18:09:17.609Z] 4e4be7b47b0d: Pull complete [2021-05-20T18:09:17.879Z] e1f770b5df2f: Pull complete [2021-05-20T18:09:21.220Z] 85a0685a4137: Pull complete [2021-05-20T18:09:21.220Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-20T18:09:21.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:09:21.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-20T18:09:21.296Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:09:21.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-20T18:09:23.771Z] $ docker top 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-20T18:09:23.868Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-20T18:09:24.164Z] + set -o pipefail [2021-05-20T18:09:24.164Z] + snyk monitor '--org=edgex-jenkins' [2021-05-20T18:09:42.330Z] [2021-05-20T18:09:42.330Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-20T18:09:42.330Z] [2021-05-20T18:09:42.330Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/43000e81-3f86-411f-94b6-42011bc4e304 [2021-05-20T18:09:42.330Z] [2021-05-20T18:09:42.330Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-20T18:09:42.330Z] [2021-05-20T18:09:42.330Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-20T18:09:42.330Z] [2021-05-20T18:09:42.330Z] [Pipeline] } [2021-05-20T18:09:42.343Z] $ docker stop --time=1 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d [2021-05-20T18:09:44.367Z] $ docker rm -f 09a6b6f3cd61ac6b9426bfbe134293f08c29c51a44a23ed31f407bf2cd83e23d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:09:45.369Z] + git log --format=format:%s -1 be36c6692f7cdd3de6d802e0c0482b73d353ae7a [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:45.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:09:45.679Z] . [Pipeline] withDockerContainer [2021-05-20T18:09:45.759Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:09:45.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:09:46.109Z] $ docker top 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:09:46.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:09:46.234Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:09:46.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:09:46.339Z] $ docker exec 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 ssh-agent [2021-05-20T18:09:46.427Z] SSH_AUTH_SOCK=/tmp/ssh-TBYYOPlxweae/agent.13 [2021-05-20T18:09:46.427Z] SSH_AGENT_PID=19 [2021-05-20T18:09:46.433Z] Running ssh-add (command line suppressed) [2021-05-20T18:09:46.529Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7978108705933862369.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7978108705933862369.key) [2021-05-20T18:09:46.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:09:46.843Z] + git semver tag [2021-05-20T18:09:46.843Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:09:46.843Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-20T18:09:46.843Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-20T18:09:46.843Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:09:46.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:09:46.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:09:46.843Z] # $SEMVER_BRANCH = master [2021-05-20T18:09:46.843Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-20T18:09:46.843Z] # be36c6692f7cdd3de6d802e0c0482b73d353ae7a HEAD [2021-05-20T18:09:46.843Z] # -> Force: false [2021-05-20T18:09:46.843Z] # 3235cfbc9799f86b3f9e9d8ee18c556be334c8d4 refs/tags/v1.3.2-dev.12 [Pipeline] } [2021-05-20T18:09:46.855Z] $ docker exec --env ******** --env ******** 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 ssh-agent -k [2021-05-20T18:09:46.944Z] unset SSH_AUTH_SOCK; [2021-05-20T18:09:46.944Z] unset SSH_AGENT_PID; [2021-05-20T18:09:46.944Z] echo Agent pid 19 killed; [2021-05-20T18:09:46.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:09:47.325Z] + git semver [Pipeline] } [2021-05-20T18:09:47.345Z] $ docker stop --time=1 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 [2021-05-20T18:09:48.530Z] $ docker rm -f 2dc3024df2dca5ccdfd461b35f08985b8f4ee2033fefad972cc00a3b08ba3701 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:48.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:09:48.989Z] [2021-05-20T18:09:48.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:49.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:09:49.306Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-20T18:09:49.306Z] ab5ef0e58194: Pulling fs layer [2021-05-20T18:09:49.306Z] 9712f1f96733: Pulling fs layer [2021-05-20T18:09:49.306Z] 63f879dbbcfc: Pulling fs layer [2021-05-20T18:09:49.306Z] 0d9ebad4ef96: Pulling fs layer [2021-05-20T18:09:49.306Z] e9a5061849ea: Pulling fs layer [2021-05-20T18:09:49.306Z] d747dcd14b5f: Pulling fs layer [2021-05-20T18:09:49.306Z] 2de7ff778b66: Pulling fs layer [2021-05-20T18:09:49.306Z] 0d9ebad4ef96: Waiting [2021-05-20T18:09:49.306Z] e9a5061849ea: Waiting [2021-05-20T18:09:49.306Z] d747dcd14b5f: Waiting [2021-05-20T18:09:49.306Z] 2de7ff778b66: Waiting [2021-05-20T18:09:49.306Z] 9712f1f96733: Download complete [2021-05-20T18:09:50.701Z] 63f879dbbcfc: Verifying Checksum [2021-05-20T18:09:50.701Z] 63f879dbbcfc: Download complete [2021-05-20T18:09:50.701Z] e9a5061849ea: Verifying Checksum [2021-05-20T18:09:50.701Z] e9a5061849ea: Download complete [2021-05-20T18:09:50.701Z] d747dcd14b5f: Download complete [2021-05-20T18:09:51.275Z] 2de7ff778b66: Verifying Checksum [2021-05-20T18:09:51.275Z] 2de7ff778b66: Download complete [2021-05-20T18:09:51.275Z] 0d9ebad4ef96: Verifying Checksum [2021-05-20T18:09:51.275Z] 0d9ebad4ef96: Download complete [2021-05-20T18:09:51.539Z] ab5ef0e58194: Verifying Checksum [2021-05-20T18:09:51.539Z] ab5ef0e58194: Download complete [2021-05-20T18:09:54.105Z] ab5ef0e58194: Pull complete [2021-05-20T18:09:54.105Z] 9712f1f96733: Pull complete [2021-05-20T18:09:54.693Z] 63f879dbbcfc: Pull complete [2021-05-20T18:09:58.013Z] 0d9ebad4ef96: Pull complete [2021-05-20T18:09:58.013Z] e9a5061849ea: Pull complete [2021-05-20T18:09:58.013Z] d747dcd14b5f: Pull complete [2021-05-20T18:09:58.587Z] 2de7ff778b66: Pull complete [2021-05-20T18:09:58.587Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-20T18:09:58.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:09:58.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-20T18:09:58.660Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:09:58.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-20T18:10:02.317Z] $ docker top a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:10:02.411Z] provisioning config files... [2021-05-20T18:10:02.420Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7318949684030569219tmp [2021-05-20T18:10:02.436Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2169849206268116585tmp [2021-05-20T18:10:02.456Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6866372107796277943tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:10:02.479Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:02.777Z] ---> sigul-configuration.sh [2021-05-20T18:10:02.777Z] gpg: directory `/root/.gnupg' created [2021-05-20T18:10:02.777Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-20T18:10:02.777Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-20T18:10:02.777Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-20T18:10:02.777Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-20T18:10:02.777Z] gpg: CAST5 encrypted data [2021-05-20T18:10:02.777Z] gpg: encrypted with 1 passphrase [2021-05-20T18:10:02.777Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-20T18:10:03.075Z] + mkdir /home/jenkins [2021-05-20T18:10:03.075Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-20T18:10:03.374Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-20T18:10:03.386Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:03.685Z] ---> sigul-install.sh [2021-05-20T18:10:18.612Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-20T18:10:18.906Z] + git tag --list [2021-05-20T18:10:18.906Z] 0.7.1 [2021-05-20T18:10:18.906Z] v1.0.0 [2021-05-20T18:10:18.906Z] v1.1.0 [2021-05-20T18:10:18.906Z] v1.1.1 [2021-05-20T18:10:18.906Z] v1.2.2 [2021-05-20T18:10:18.906Z] v1.3.0 [2021-05-20T18:10:18.906Z] v1.3.1 [2021-05-20T18:10:18.906Z] v1.3.1-dev.1 [2021-05-20T18:10:18.906Z] v1.3.1-dev.2 [2021-05-20T18:10:18.906Z] v1.3.1-dev.3 [2021-05-20T18:10:18.906Z] v1.3.1-dev.4 [2021-05-20T18:10:18.906Z] v1.3.1-dev.5 [2021-05-20T18:10:18.906Z] v1.3.1-dev.6 [2021-05-20T18:10:18.906Z] v1.3.1-dev.7 [2021-05-20T18:10:18.906Z] v1.3.1-dev.8 [2021-05-20T18:10:18.906Z] v1.3.2-dev.1 [2021-05-20T18:10:18.906Z] v1.3.2-dev.10 [2021-05-20T18:10:18.906Z] v1.3.2-dev.11 [2021-05-20T18:10:18.906Z] v1.3.2-dev.12 [2021-05-20T18:10:18.906Z] v1.3.2-dev.2 [2021-05-20T18:10:18.906Z] v1.3.2-dev.3 [2021-05-20T18:10:18.906Z] v1.3.2-dev.4 [2021-05-20T18:10:18.906Z] v1.3.2-dev.5 [2021-05-20T18:10:18.906Z] v1.3.2-dev.6 [2021-05-20T18:10:18.906Z] v1.3.2-dev.7 [2021-05-20T18:10:18.906Z] v1.3.2-dev.8 [2021-05-20T18:10:18.906Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-20T18:10:19.202Z] + lftools sign git-tag v1.3.2-dev.12 [2021-05-20T18:10:19.777Z] Signing Git tag with Sigul... [2021-05-20T18:10:19.777Z] Signing v1.3.2-dev.12 [Pipeline] echo [2021-05-20T18:10:20.728Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:21.031Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-20T18:10:21.040Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-20T18:10:21.070Z] $ docker stop --time=1 a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 [2021-05-20T18:10:22.534Z] $ docker rm -f a3bc6e1b97572fad4fb3b28a334dc50aeb03725b81b571d800e8bcbc1a33bb37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:23.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:10:23.141Z] . [Pipeline] withDockerContainer [2021-05-20T18:10:23.219Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:10:23.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:10:23.961Z] $ docker top fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:10:24.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:10:24.132Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:10:24.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:10:24.255Z] $ docker exec fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 ssh-agent [2021-05-20T18:10:24.359Z] SSH_AUTH_SOCK=/tmp/ssh-Y9SvJHbIgyLn/agent.14 [2021-05-20T18:10:24.359Z] SSH_AGENT_PID=20 [2021-05-20T18:10:24.364Z] Running ssh-add (command line suppressed) [2021-05-20T18:10:24.470Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8405206173233548793.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8405206173233548793.key) [2021-05-20T18:10:24.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:10:24.784Z] + git semver bump pre [2021-05-20T18:10:24.784Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:10:24.784Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-20T18:10:24.784Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-20T18:10:24.784Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:10:24.784Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:10:24.784Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:10:24.784Z] # $SEMVER_BRANCH = master [2021-05-20T18:10:24.784Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-20T18:10:24.784Z] 1.3.2-dev.13 [Pipeline] } [2021-05-20T18:10:24.797Z] $ docker exec --env ******** --env ******** fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 ssh-agent -k [2021-05-20T18:10:24.898Z] unset SSH_AUTH_SOCK; [2021-05-20T18:10:24.898Z] unset SSH_AGENT_PID; [2021-05-20T18:10:24.898Z] echo Agent pid 20 killed; [2021-05-20T18:10:24.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:10:25.243Z] + git semver [Pipeline] } [2021-05-20T18:10:25.261Z] $ docker stop --time=1 fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 [2021-05-20T18:10:26.452Z] $ docker rm -f fa42057dcc17dbce28d3f5f1f24cb3eaca6192bf5727d9f2027edefd4ada3ab0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:26.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:10:26.844Z] . [Pipeline] withDockerContainer [2021-05-20T18:10:26.935Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:10:26.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:10:27.334Z] $ docker top 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:10:27.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:10:27.477Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:10:27.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:10:27.590Z] $ docker exec 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c ssh-agent [2021-05-20T18:10:27.690Z] SSH_AUTH_SOCK=/tmp/ssh-kRYiQCynRWnG/agent.14 [2021-05-20T18:10:27.691Z] SSH_AGENT_PID=21 [2021-05-20T18:10:27.696Z] Running ssh-add (command line suppressed) [2021-05-20T18:10:27.793Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6607724132854727285.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6607724132854727285.key) [2021-05-20T18:10:27.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:10:28.116Z] + git semver push [2021-05-20T18:10:28.116Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:10:28.116Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-20T18:10:28.116Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-20T18:10:28.116Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:10:28.116Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:10:28.116Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:10:28.116Z] # $SEMVER_BRANCH = master [2021-05-20T18:10:28.116Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-20T18:10:32.366Z] $ docker exec --env ******** --env ******** 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c ssh-agent -k [2021-05-20T18:10:32.456Z] unset SSH_AUTH_SOCK; [2021-05-20T18:10:32.457Z] unset SSH_AGENT_PID; [2021-05-20T18:10:32.457Z] echo Agent pid 21 killed; [2021-05-20T18:10:32.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:10:32.810Z] + git semver [Pipeline] } [2021-05-20T18:10:32.831Z] $ docker stop --time=1 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c [2021-05-20T18:10:34.018Z] $ docker rm -f 58171db1b3711843cfbeb75fce1341b895f77d84750b488d844200db47c2524c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:35.250Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:35.835Z] ---> package-listing.sh [2021-05-20T18:10:35.835Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T18:10:35.835Z] ++ facter osfamily [2021-05-20T18:10:36.098Z] + OS_FAMILY=redhat [2021-05-20T18:10:36.099Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-20T18:10:36.099Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T18:10:36.099Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T18:10:36.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T18:10:36.099Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T18:10:36.099Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-20T18:10:36.099Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T18:10:36.099Z] + case "${OS_FAMILY}" in [2021-05-20T18:10:36.099Z] + rpm -qa [2021-05-20T18:10:36.099Z] + sort [2021-05-20T18:10:36.672Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T18:10:36.672Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T18:10:36.672Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T18:10:36.672Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-20T18:10:36.672Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-20T18:10:36.672Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-05-20T18:10:36.686Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T18:10:36.974Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:37.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:10:37.555Z] [2021-05-20T18:10:37.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:37.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:10:37.879Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T18:10:37.879Z] df20fa9351a1: Pulling fs layer [2021-05-20T18:10:37.879Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T18:10:37.879Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T18:10:37.879Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T18:10:37.879Z] 93b61091891f: Pulling fs layer [2021-05-20T18:10:37.879Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T18:10:37.879Z] 5e14af77c1be: Pulling fs layer [2021-05-20T18:10:37.879Z] 01666e4c0597: Pulling fs layer [2021-05-20T18:10:37.879Z] aa168da1d23b: Pulling fs layer [2021-05-20T18:10:37.879Z] 46f8f816bc3b: Waiting [2021-05-20T18:10:37.879Z] 93b61091891f: Waiting [2021-05-20T18:10:37.879Z] 93b9cdb0e59b: Waiting [2021-05-20T18:10:37.879Z] 5e14af77c1be: Waiting [2021-05-20T18:10:37.879Z] 01666e4c0597: Waiting [2021-05-20T18:10:37.879Z] aa168da1d23b: Waiting [2021-05-20T18:10:37.879Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T18:10:37.879Z] 36b3adc4ff6f: Download complete [2021-05-20T18:10:37.879Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T18:10:37.879Z] 46f8f816bc3b: Download complete [2021-05-20T18:10:37.879Z] df20fa9351a1: Verifying Checksum [2021-05-20T18:10:37.879Z] df20fa9351a1: Download complete [2021-05-20T18:10:37.879Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T18:10:37.879Z] 93b9cdb0e59b: Download complete [2021-05-20T18:10:38.144Z] 5e14af77c1be: Verifying Checksum [2021-05-20T18:10:38.144Z] 5e14af77c1be: Download complete [2021-05-20T18:10:38.144Z] 01666e4c0597: Verifying Checksum [2021-05-20T18:10:38.144Z] 01666e4c0597: Download complete [2021-05-20T18:10:38.144Z] 93b61091891f: Verifying Checksum [2021-05-20T18:10:38.144Z] 93b61091891f: Download complete [2021-05-20T18:10:38.144Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T18:10:38.144Z] 8ad3a11d3b57: Download complete [2021-05-20T18:10:38.144Z] df20fa9351a1: Pull complete [2021-05-20T18:10:38.405Z] 36b3adc4ff6f: Pull complete [2021-05-20T18:10:38.979Z] 8ad3a11d3b57: Pull complete [2021-05-20T18:10:38.979Z] 46f8f816bc3b: Pull complete [2021-05-20T18:10:39.239Z] 93b61091891f: Pull complete [2021-05-20T18:10:39.239Z] 93b9cdb0e59b: Pull complete [2021-05-20T18:10:39.499Z] 5e14af77c1be: Pull complete [2021-05-20T18:10:39.499Z] 01666e4c0597: Pull complete [2021-05-20T18:10:41.411Z] aa168da1d23b: Verifying Checksum [2021-05-20T18:10:41.411Z] aa168da1d23b: Download complete [2021-05-20T18:10:45.671Z] aa168da1d23b: Pull complete [2021-05-20T18:10:45.671Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T18:10:45.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:10:45.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T18:10:45.772Z] prd-centos7-docker-4c-2g-15359 does not seem to be running inside a container [2021-05-20T18:10:45.832Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T18:10:47.773Z] $ docker top eb606f3677f519265997e4b0e24a4247208e2f384c69d704fc76964893bfc0de -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:10:48.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T18:10:48.431Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T18:10:48.725Z] + ls /var/log/sa-host [2021-05-20T18:10:48.725Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T18:10:48.725Z] file_magic: OK [2021-05-20T18:10:48.725Z] HZ: Using current value: 100 [2021-05-20T18:10:48.725Z] file_header: OK [2021-05-20T18:10:48.725Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T18:10:48.725Z] Statistics: [2021-05-20T18:10:48.725Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:10:48.725Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T18:10:48.725Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T18:10:48.725Z] file_magic: OK [2021-05-20T18:10:48.725Z] HZ: Using current value: 100 [2021-05-20T18:10:48.725Z] file_header: OK [2021-05-20T18:10:48.725Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T18:10:48.725Z] Statistics: [2021-05-20T18:10:48.725Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:10:48.725Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:10:49.412Z] provisioning config files... [2021-05-20T18:10:49.445Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config48330279822970987tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:10:49.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:49.766Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T18:10:49.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T18:10:49.801Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:50.105Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T18:10:50.115Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:50.413Z] ---> sudo-logs.sh [2021-05-20T18:10:50.413Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T18:10:50.448Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:50.740Z] ---> job-cost.sh [2021-05-20T18:10:50.740Z] lf-activate-venv: SKIPPING [2021-05-20T18:10:50.740Z] DEBUG: total: 0.18000000715255737 [2021-05-20T18:10:50.740Z] INFO: Retrieving Stack Cost... [2021-05-20T18:10:52.125Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:10:52.385Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T18:10:52.398Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:10:52.701Z] ---> logs-deploy.sh [2021-05-20T18:10:52.701Z] lf-activate-venv: SKIPPING [2021-05-20T18:10:52.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/51 [2021-05-20T18:10:52.701Z] INFO: archiving workspace using pattern(s): [2021-05-20T18:10:53.646Z] Archives upload complete. [2021-05-20T18:10:53.646Z] INFO: archiving logs to Nexus