Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84f9f35e34861a9df1f963446ebe383a81eb0395 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6037146767069459584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8136292075394434262.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7625091543492837242.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6621221552038064370.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2673938875353538151.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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-452 in /w/workspace/gexfoundry_device-modbus-go_main [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 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh5559042978211231616.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 Checking out Revision 84f9f35e34861a9df1f963446ebe383a81eb0395 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9f35e34861a9df1f963446ebe383a81eb0395 # timeout=10 Commit message: "Merge pull request #275 from weichou1229/update-doc" > git rev-list --no-walk 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-29T08:14:11.243Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-29T08:14:11.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-29T08:14:11.395Z] ========================================================= [2021-07-29T08:14:11.395Z] EdgeX Global Pipelines Version Info [2021-07-29T08:14:11.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:14:12.700Z] ------------------- [2021-07-29T08:14:12.700Z] stable info: [2021-07-29T08:14:12.700Z] ------------------- [2021-07-29T08:14:12.700Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-29T08:14:12.700Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T08:14:12.700Z] Message: update stable to v1.0.197 [2021-07-29T08:14:13.286Z] ------------------- [2021-07-29T08:14:13.286Z] experimental info: [2021-07-29T08:14:13.286Z] ------------------- [2021-07-29T08:14:13.286Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-29T08:14:13.286Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T08:14:13.286Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-29T08:14:13.480Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-07-29T08:14:13.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-07-29T08:14:13.524Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-29T08:14:13.546Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-29T08:14:13.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-29T08:14:13.590Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-29T08:14:13.612Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-29T08:14:13.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-29T08:14:13.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-29T08:14:13.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-29T08:14:13.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-29T08:14:13.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-07-29T08:14:13.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-29T08:14:13.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-29T08:14:13.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T08:14:13.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T08:14:13.836Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T08:14:13.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T08:14:13.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-29T08:14:13.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-29T08:14:13.937Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-29T08:14:13.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-29T08:14:13.987Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-29T08:14:14.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-29T08:14:14.039Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-29T08:14:14.070Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-29T08:14:14.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-29T08:14:14.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-29T08:14:14.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-29T08:14:14.174Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] echo [2021-07-29T08:14:14.197Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84f9f35 [Pipeline] echo [2021-07-29T08:14:14.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:14:14.300Z] provisioning config files... [2021-07-29T08:14:14.322Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3843811152739678351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:14:14.664Z] ---> docker-login.sh [2021-07-29T08:14:14.664Z] nexus3.edgexfoundry.org:10001 [2021-07-29T08:14:14.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:14:14.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:14:14.931Z] Configure a credential helper to remove this warning. See [2021-07-29T08:14:14.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:14:14.931Z] [2021-07-29T08:14:14.931Z] Login Succeeded [2021-07-29T08:14:14.931Z] nexus3.edgexfoundry.org:10002 [2021-07-29T08:14:14.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:14:15.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:14:15.197Z] Configure a credential helper to remove this warning. See [2021-07-29T08:14:15.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:14:15.197Z] [2021-07-29T08:14:15.197Z] Login Succeeded [2021-07-29T08:14:15.197Z] nexus3.edgexfoundry.org:10003 [2021-07-29T08:14:15.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:14:15.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:14:15.197Z] Configure a credential helper to remove this warning. See [2021-07-29T08:14:15.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:14:15.197Z] [2021-07-29T08:14:15.197Z] Login Succeeded [2021-07-29T08:14:15.197Z] nexus3.edgexfoundry.org:10004 [2021-07-29T08:14:15.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:14:15.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:14:15.463Z] Configure a credential helper to remove this warning. See [2021-07-29T08:14:15.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:14:15.463Z] [2021-07-29T08:14:15.463Z] Login Succeeded [2021-07-29T08:14:15.463Z] docker.io [2021-07-29T08:14:15.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:14:16.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:14:16.052Z] Configure a credential helper to remove this warning. See [2021-07-29T08:14:16.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:14:16.052Z] [2021-07-29T08:14:16.052Z] Login Succeeded [2021-07-29T08:14:16.052Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T08:14:16.068Z] 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-07-29T08:14:16.596Z] + git log --format=format:%s -1 84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] echo [2021-07-29T08:14:16.665Z] GIT_COMMIT: 84f9f35e34861a9df1f963446ebe383a81eb0395, Commit Message: Merge pull request #275 from weichou1229/update-doc [Pipeline] echo [2021-07-29T08:14:16.680Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:14:17.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:14:17.657Z] [2021-07-29T08:14:17.657Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:14:17.998Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:14:17.998Z] latest: Pulling from edgex-devops/git-semver [2021-07-29T08:14:17.998Z] 31603596830f: Pulling fs layer [2021-07-29T08:14:17.998Z] b6dc333f4379: Pulling fs layer [2021-07-29T08:14:17.998Z] 3d9ef1400e77: Pulling fs layer [2021-07-29T08:14:17.998Z] fd332fbdc1db: Pulling fs layer [2021-07-29T08:14:17.998Z] fd332fbdc1db: Waiting [2021-07-29T08:14:18.268Z] b6dc333f4379: Verifying Checksum [2021-07-29T08:14:18.268Z] b6dc333f4379: Download complete [2021-07-29T08:14:18.268Z] 31603596830f: Verifying Checksum [2021-07-29T08:14:18.268Z] 31603596830f: Download complete [2021-07-29T08:14:18.537Z] 31603596830f: Pull complete [2021-07-29T08:14:18.537Z] b6dc333f4379: Pull complete [2021-07-29T08:14:18.537Z] fd332fbdc1db: Verifying Checksum [2021-07-29T08:14:18.537Z] fd332fbdc1db: Download complete [2021-07-29T08:14:18.804Z] 3d9ef1400e77: Download complete [2021-07-29T08:14:19.387Z] 3d9ef1400e77: Pull complete [2021-07-29T08:14:19.387Z] fd332fbdc1db: Pull complete [2021-07-29T08:14:19.653Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-29T08:14:19.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:14:19.653Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-29T08:14:19.749Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:14:19.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T08:14:20.681Z] $ docker top 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T08:14:20.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T08:14:20.807Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T08:14:20.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T08:14:20.915Z] $ docker exec 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f ssh-agent [2021-07-29T08:14:21.035Z] SSH_AUTH_SOCK=/tmp/ssh-CBULYDK7GLKL/agent.14 [2021-07-29T08:14:21.035Z] SSH_AGENT_PID=20 [2021-07-29T08:14:21.046Z] Running ssh-add (command line suppressed) [2021-07-29T08:14:21.139Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4451013815410783351.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4451013815410783351.key) [2021-07-29T08:14:21.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T08:14:21.478Z] + git tag --points-at HEAD [Pipeline] } [2021-07-29T08:14:21.495Z] $ docker exec --env ******** --env ******** 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f ssh-agent -k [2021-07-29T08:14:21.590Z] unset SSH_AUTH_SOCK; [2021-07-29T08:14:21.590Z] unset SSH_AGENT_PID; [2021-07-29T08:14:21.590Z] echo Agent pid 20 killed; [2021-07-29T08:14:21.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-29T08:14:21.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T08:14:21.646Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T08:14:21.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T08:14:21.757Z] $ docker exec 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f ssh-agent [2021-07-29T08:14:21.866Z] SSH_AUTH_SOCK=/tmp/ssh-ZxcOInM8DnpI/agent.53 [2021-07-29T08:14:21.866Z] SSH_AGENT_PID=60 [2021-07-29T08:14:21.876Z] Running ssh-add (command line suppressed) [2021-07-29T08:14:21.963Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2303448402483877689.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2303448402483877689.key) [2021-07-29T08:14:21.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T08:14:22.300Z] + git semver init [2021-07-29T08:14:22.300Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T08:14:22.300Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-29T08:14:22.300Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:14:22.300Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T08:14:22.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T08:14:22.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T08:14:22.300Z] # $SEMVER_BRANCH = main [2021-07-29T08:14:22.300Z] # $SEMVER_TEMP = /tmp/semver-026518736 [2021-07-29T08:14:22.300Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-07-29T08:14:22.568Z] # '/tmp/semver-026518736' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-07-29T08:14:22.568Z] # -> Force: false [2021-07-29T08:14:22.568Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-07-29T08:14:22.579Z] $ docker exec --env ******** --env ******** 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f ssh-agent -k [2021-07-29T08:14:22.683Z] unset SSH_AUTH_SOCK; [2021-07-29T08:14:22.683Z] unset SSH_AGENT_PID; [2021-07-29T08:14:22.683Z] echo Agent pid 60 killed; [2021-07-29T08:14:22.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T08:14:23.055Z] + git semver [Pipeline] } [2021-07-29T08:14:23.072Z] $ docker stop --time=1 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f [2021-07-29T08:14:24.280Z] $ docker rm -f 078da4acbbd28dd18254d4f530d3c3aac98d1e5572e61c29aacb2d2455ac330f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T08:14:24.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-29T08:14:25.004Z] Stashed 1 file(s) [Pipeline] echo [2021-07-29T08:14:25.008Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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-07-29T08:14:40.349Z] Still waiting to schedule task [2021-07-29T08:14:40.350Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-452’ [2021-07-29T08:14:40.352Z] Still waiting to schedule task [2021-07-29T08:14:40.352Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-29T08:16:48.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-453 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-29T08:16:48.549Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-07-29T08:16:48.829Z] Selected Git installation does not exist. Using Default [2021-07-29T08:16:48.830Z] The recommended git tool is: NONE [2021-07-29T08:16:54.450Z] using credential edgex-jenkins-ssh [2021-07-29T08:16:54.468Z] Cloning the remote Git repository [2021-07-29T08:16:54.524Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-29T08:16:54.635Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-07-29T08:16:54.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-29T08:16:54.702Z] > git --version # timeout=10 [2021-07-29T08:16:54.716Z] > git --version # 'git version 2.17.1' [2021-07-29T08:16:54.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T08:16:54.796Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T08:16:55.580Z] Avoid second fetch [2021-07-29T08:16:55.581Z] Checking out Revision 84f9f35e34861a9df1f963446ebe383a81eb0395 (main) [2021-07-29T08:16:55.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-29T08:16:55.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T08:16:55.605Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T08:16:55.629Z] > git checkout -f 84f9f35e34861a9df1f963446ebe383a81eb0395 # timeout=10 [2021-07-29T08:16:59.987Z] Commit message: "Merge pull request #275 from weichou1229/update-doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:17:00.569Z] provisioning config files... [2021-07-29T08:17:00.629Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2075177450227897880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:17:01.200Z] ---> docker-login.sh [2021-07-29T08:17:01.200Z] nexus3.edgexfoundry.org:10001 [2021-07-29T08:17:01.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:02.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:02.409Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:02.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:02.409Z] [2021-07-29T08:17:02.409Z] Login Succeeded [2021-07-29T08:17:02.409Z] nexus3.edgexfoundry.org:10002 [2021-07-29T08:17:02.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:02.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:02.963Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:02.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:02.963Z] [2021-07-29T08:17:02.963Z] Login Succeeded [2021-07-29T08:17:02.963Z] nexus3.edgexfoundry.org:10003 [2021-07-29T08:17:03.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:03.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:03.515Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:03.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:03.515Z] [2021-07-29T08:17:03.515Z] Login Succeeded [2021-07-29T08:17:03.515Z] nexus3.edgexfoundry.org:10004 [2021-07-29T08:17:03.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:04.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:04.069Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:04.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:04.069Z] [2021-07-29T08:17:04.069Z] Login Succeeded [2021-07-29T08:17:04.069Z] docker.io [2021-07-29T08:17:04.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:04.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:04.948Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:04.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:04.948Z] [2021-07-29T08:17:04.948Z] Login Succeeded [2021-07-29T08:17:04.948Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T08:17:05.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T08:17:05.531Z] ========================================================= [2021-07-29T08:17:05.531Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-29T08:17:05.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:17:05.919Z] + 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-07-29T08:17:06.197Z] Sending build context to Docker daemon 622.1kB [2021-07-29T08:17:06.197Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T08:17:06.197Z] Step 2/8 : FROM ${BASE} [2021-07-29T08:17:06.477Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-29T08:17:06.477Z] 595b0fe564bb: Pulling fs layer [2021-07-29T08:17:06.477Z] 24495759ef45: Pulling fs layer [2021-07-29T08:17:06.477Z] d148012ef14d: Pulling fs layer [2021-07-29T08:17:06.477Z] cb65c68fc2e2: Pulling fs layer [2021-07-29T08:17:06.477Z] 093eec477d81: Pulling fs layer [2021-07-29T08:17:06.477Z] a6d5b2bbb924: Pulling fs layer [2021-07-29T08:17:06.477Z] 2446dc1eb7d3: Pulling fs layer [2021-07-29T08:17:06.477Z] 596795e73e0f: Pulling fs layer [2021-07-29T08:17:06.477Z] cb65c68fc2e2: Waiting [2021-07-29T08:17:06.477Z] 093eec477d81: Waiting [2021-07-29T08:17:06.477Z] a6d5b2bbb924: Waiting [2021-07-29T08:17:06.477Z] 2446dc1eb7d3: Waiting [2021-07-29T08:17:06.477Z] 596795e73e0f: Waiting [2021-07-29T08:17:06.762Z] d148012ef14d: Verifying Checksum [2021-07-29T08:17:06.762Z] d148012ef14d: Download complete [2021-07-29T08:17:06.762Z] 24495759ef45: Verifying Checksum [2021-07-29T08:17:06.762Z] 24495759ef45: Download complete [2021-07-29T08:17:06.762Z] 093eec477d81: Download complete [2021-07-29T08:17:06.762Z] a6d5b2bbb924: Verifying Checksum [2021-07-29T08:17:06.762Z] a6d5b2bbb924: Download complete [2021-07-29T08:17:06.762Z] 595b0fe564bb: Verifying Checksum [2021-07-29T08:17:06.762Z] 595b0fe564bb: Download complete [2021-07-29T08:17:06.762Z] 2446dc1eb7d3: Download complete [2021-07-29T08:17:07.364Z] 595b0fe564bb: Pull complete [2021-07-29T08:17:07.553Z] Running on prd-centos7-docker-4c-2g-454 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-29T08:17:07.569Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-07-29T08:17:07.679Z] Selected Git installation does not exist. Using Default [2021-07-29T08:17:07.679Z] The recommended git tool is: NONE [2021-07-29T08:17:07.970Z] 24495759ef45: Pull complete [2021-07-29T08:17:08.575Z] d148012ef14d: Pull complete [2021-07-29T08:17:10.408Z] using credential edgex-jenkins-ssh [2021-07-29T08:17:10.426Z] Cloning the remote Git repository [2021-07-29T08:17:10.595Z] 596795e73e0f: Verifying Checksum [2021-07-29T08:17:10.596Z] 596795e73e0f: Download complete [2021-07-29T08:17:09.966Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-29T08:17:10.040Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-07-29T08:17:10.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-29T08:17:10.070Z] > git --version # timeout=10 [2021-07-29T08:17:10.077Z] > git --version # 'git version 2.24.4' [2021-07-29T08:17:10.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T08:17:10.107Z] [INFO] Currently running in a labeled security context [2021-07-29T08:17:10.107Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T08:17:10.107Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh6822076996502240083.key [2021-07-29T08:17:10.119Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T08:17:11.199Z] Avoid second fetch [2021-07-29T08:17:11.199Z] Checking out Revision 84f9f35e34861a9df1f963446ebe383a81eb0395 (main) [2021-07-29T08:17:11.201Z] cb65c68fc2e2: Verifying Checksum [2021-07-29T08:17:11.201Z] cb65c68fc2e2: Download complete [2021-07-29T08:17:10.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-29T08:17:10.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T08:17:10.761Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T08:17:10.771Z] > git checkout -f 84f9f35e34861a9df1f963446ebe383a81eb0395 # timeout=10 [2021-07-29T08:17:14.752Z] Commit message: "Merge pull request #275 from weichou1229/update-doc" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:17:15.128Z] provisioning config files... [2021-07-29T08:17:15.148Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8923641598855001390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:17:15.567Z] ---> docker-login.sh [2021-07-29T08:17:15.567Z] nexus3.edgexfoundry.org:10001 [2021-07-29T08:17:15.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:15.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:15.837Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:15.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:15.837Z] [2021-07-29T08:17:15.837Z] Login Succeeded [2021-07-29T08:17:15.837Z] nexus3.edgexfoundry.org:10002 [2021-07-29T08:17:15.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:15.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:15.837Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:15.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:15.837Z] [2021-07-29T08:17:15.837Z] Login Succeeded [2021-07-29T08:17:15.837Z] nexus3.edgexfoundry.org:10003 [2021-07-29T08:17:15.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:16.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:16.114Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:16.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:16.114Z] [2021-07-29T08:17:16.114Z] Login Succeeded [2021-07-29T08:17:16.114Z] nexus3.edgexfoundry.org:10004 [2021-07-29T08:17:16.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:16.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:16.114Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:16.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:16.114Z] [2021-07-29T08:17:16.114Z] Login Succeeded [2021-07-29T08:17:16.114Z] docker.io [2021-07-29T08:17:16.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:17:16.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:17:16.645Z] Configure a credential helper to remove this warning. See [2021-07-29T08:17:16.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:17:16.645Z] [2021-07-29T08:17:16.645Z] Login Succeeded [2021-07-29T08:17:16.645Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T08:17:16.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T08:17:16.872Z] ========================================================= [2021-07-29T08:17:16.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-29T08:17:16.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:17:17.194Z] + 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-07-29T08:17:17.194Z] Sending build context to Docker daemon 623.1kB [2021-07-29T08:17:17.194Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T08:17:17.194Z] Step 2/8 : FROM ${BASE} [2021-07-29T08:17:17.466Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-29T08:17:17.466Z] 540db60ca938: Pulling fs layer [2021-07-29T08:17:17.466Z] adcc1eea9eea: Pulling fs layer [2021-07-29T08:17:17.466Z] 4c4ab2625f07: Pulling fs layer [2021-07-29T08:17:17.466Z] 0773c198feca: Pulling fs layer [2021-07-29T08:17:17.466Z] 345f892a5656: Pulling fs layer [2021-07-29T08:17:17.466Z] 4796506630df: Pulling fs layer [2021-07-29T08:17:17.466Z] cc55df3e53f1: Pulling fs layer [2021-07-29T08:17:17.466Z] 4d027b6c602c: Pulling fs layer [2021-07-29T08:17:17.466Z] 449e75d2c14e: Pulling fs layer [2021-07-29T08:17:17.466Z] 0773c198feca: Waiting [2021-07-29T08:17:17.466Z] 345f892a5656: Waiting [2021-07-29T08:17:17.466Z] 4796506630df: Waiting [2021-07-29T08:17:17.466Z] cc55df3e53f1: Waiting [2021-07-29T08:17:17.466Z] 4d027b6c602c: Waiting [2021-07-29T08:17:17.466Z] 449e75d2c14e: Waiting [2021-07-29T08:17:17.466Z] 4c4ab2625f07: Download complete [2021-07-29T08:17:17.466Z] adcc1eea9eea: Verifying Checksum [2021-07-29T08:17:17.466Z] adcc1eea9eea: Download complete [2021-07-29T08:17:17.466Z] 345f892a5656: Verifying Checksum [2021-07-29T08:17:17.466Z] 345f892a5656: Download complete [2021-07-29T08:17:17.466Z] 4796506630df: Verifying Checksum [2021-07-29T08:17:17.466Z] 4796506630df: Download complete [2021-07-29T08:17:17.466Z] cc55df3e53f1: Verifying Checksum [2021-07-29T08:17:17.466Z] cc55df3e53f1: Download complete [2021-07-29T08:17:17.466Z] 540db60ca938: Verifying Checksum [2021-07-29T08:17:17.466Z] 540db60ca938: Download complete [2021-07-29T08:17:17.737Z] 540db60ca938: Pull complete [2021-07-29T08:17:18.002Z] adcc1eea9eea: Pull complete [2021-07-29T08:17:18.002Z] 4c4ab2625f07: Pull complete [2021-07-29T08:17:18.267Z] 4d027b6c602c: Verifying Checksum [2021-07-29T08:17:18.267Z] 4d027b6c602c: Download complete [2021-07-29T08:17:20.852Z] 449e75d2c14e: Verifying Checksum [2021-07-29T08:17:20.852Z] 449e75d2c14e: Download complete [2021-07-29T08:17:21.402Z] cb65c68fc2e2: Pull complete [2021-07-29T08:17:21.691Z] 093eec477d81: Pull complete [2021-07-29T08:17:21.970Z] a6d5b2bbb924: Pull complete [2021-07-29T08:17:22.251Z] 2446dc1eb7d3: Pull complete [2021-07-29T08:17:22.791Z] 0773c198feca: Verifying Checksum [2021-07-29T08:17:22.791Z] 0773c198feca: Download complete [2021-07-29T08:17:26.151Z] 0773c198feca: Pull complete [2021-07-29T08:17:26.151Z] 345f892a5656: Pull complete [2021-07-29T08:17:26.151Z] 4796506630df: Pull complete [2021-07-29T08:17:26.151Z] cc55df3e53f1: Pull complete [2021-07-29T08:17:26.151Z] 4d027b6c602c: Pull complete [2021-07-29T08:17:26.609Z] 596795e73e0f: Pull complete [2021-07-29T08:17:26.610Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-29T08:17:26.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-29T08:17:26.610Z] ---> d9e956139c92 [2021-07-29T08:17:26.610Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-29T08:17:27.595Z] 449e75d2c14e: Pull complete [2021-07-29T08:17:27.595Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-29T08:17:27.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-29T08:17:27.595Z] ---> 0d28375d9b5b [2021-07-29T08:17:27.595Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-29T08:17:28.591Z] ---> Running in 4bb64d926f7b [2021-07-29T08:17:29.188Z] Removing intermediate container 4bb64d926f7b [2021-07-29T08:17:29.188Z] ---> 4e2aa72d0bc3 [2021-07-29T08:17:29.188Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:17:29.188Z] ---> Running in 378864600c6c [2021-07-29T08:17:29.542Z] ---> Running in 886c4eac69ff [2021-07-29T08:17:29.542Z] Removing intermediate container 886c4eac69ff [2021-07-29T08:17:29.542Z] ---> d482a7f248a0 [2021-07-29T08:17:29.542Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:17:29.542Z] ---> Running in 8c1fd87c8fcd [2021-07-29T08:17:29.813Z] Removing intermediate container 8c1fd87c8fcd [2021-07-29T08:17:29.813Z] ---> a26d05eb71f6 [2021-07-29T08:17:29.813Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-29T08:17:30.093Z] ---> Running in 63de03e4b123 [2021-07-29T08:17:30.369Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T08:17:31.325Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T08:17:31.821Z] Removing intermediate container 378864600c6c [2021-07-29T08:17:31.821Z] ---> 80b5867d64f0 [2021-07-29T08:17:31.821Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-29T08:17:31.821Z] ---> Running in 4b38e306108e [2021-07-29T08:17:31.912Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-29T08:17:32.178Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-29T08:17:32.178Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-29T08:17:32.444Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-29T08:17:32.444Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-29T08:17:32.710Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-29T08:17:32.710Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-29T08:17:32.808Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T08:17:34.657Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-29T08:17:34.658Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-29T08:17:34.658Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-29T08:17:34.780Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T08:17:35.239Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-29T08:17:35.819Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-29T08:17:36.085Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-29T08:17:36.085Z] Executing busybox-1.32.1-r6.trigger [2021-07-29T08:17:36.085Z] OK: 156 MiB in 53 packages [2021-07-29T08:17:36.670Z] Removing intermediate container 63de03e4b123 [2021-07-29T08:17:36.670Z] ---> f10d5acdc29e [2021-07-29T08:17:36.670Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-29T08:17:36.670Z] ---> Running in 5df161034ba7 [2021-07-29T08:17:36.670Z] Removing intermediate container 5df161034ba7 [2021-07-29T08:17:36.670Z] ---> bc70ef42ff34 [2021-07-29T08:17:36.670Z] Step 7/8 : COPY . . [2021-07-29T08:17:36.939Z] ---> d47f97597ccb [2021-07-29T08:17:36.939Z] Step 8/8 : RUN go mod download [2021-07-29T08:17:36.939Z] ---> Running in b13cc9817a77 [2021-07-29T08:17:37.409Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-29T08:17:37.409Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-29T08:17:37.409Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-29T08:17:37.409Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-29T08:17:37.409Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-29T08:17:37.685Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-29T08:17:37.957Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-29T08:17:39.404Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-29T08:17:39.404Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-29T08:17:39.404Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-29T08:17:40.000Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-29T08:17:40.000Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-29T08:17:40.600Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-29T08:17:40.600Z] Executing busybox-1.32.1-r6.trigger [2021-07-29T08:17:40.600Z] OK: 145 MiB in 53 packages [2021-07-29T08:17:42.044Z] Removing intermediate container 4b38e306108e [2021-07-29T08:17:42.044Z] ---> 81481addf180 [2021-07-29T08:17:42.044Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-29T08:17:42.319Z] ---> Running in 4fc1616651aa [2021-07-29T08:17:42.919Z] Removing intermediate container 4fc1616651aa [2021-07-29T08:17:42.919Z] ---> 25b77db95e78 [2021-07-29T08:17:42.919Z] Step 7/8 : COPY . . [2021-07-29T08:17:43.904Z] ---> e3d98c6a9f59 [2021-07-29T08:17:43.904Z] Step 8/8 : RUN go mod download [2021-07-29T08:17:44.181Z] ---> Running in 19a557d71282 [2021-07-29T08:17:51.933Z] Removing intermediate container b13cc9817a77 [2021-07-29T08:17:51.933Z] ---> f89fb21d9c47 [2021-07-29T08:17:51.933Z] Successfully built f89fb21d9c47 [2021-07-29T08:17:51.933Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:17:52.263Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T08:17:52.263Z] . [Pipeline] withDockerContainer [2021-07-29T08:17:52.353Z] prd-centos7-docker-4c-2g-454 does not seem to be running inside a container [2021-07-29T08:17:52.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-29T08:17:52.813Z] $ docker top 8ea8955e5c09c8278f72c4ab2a6f4233b6726d65e70e84afee9a03337d4c172e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T08:17:53.205Z] + go version [2021-07-29T08:17:53.205Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-29T08:17:53.217Z] $ docker stop --time=1 8ea8955e5c09c8278f72c4ab2a6f4233b6726d65e70e84afee9a03337d4c172e [2021-07-29T08:17:54.412Z] $ docker rm -f 8ea8955e5c09c8278f72c4ab2a6f4233b6726d65e70e84afee9a03337d4c172e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:17:54.939Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T08:17:54.939Z] . [Pipeline] withDockerContainer [2021-07-29T08:17:55.031Z] prd-centos7-docker-4c-2g-454 does not seem to be running inside a container [2021-07-29T08:17:55.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-29T08:17:55.428Z] $ docker top f9a49b71914b5664313ed2b88e01ab2552a91d74d02d39ea5f5463dd57b1df24 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T08:17:55.822Z] + go mod tidy [Pipeline] sh [2021-07-29T08:17:56.410Z] + make test [2021-07-29T08:17:56.411Z] go mod tidy [2021-07-29T08:17:56.411Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T08:17:57.002Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-07-29T08:18:11.004Z] Removing intermediate container 19a557d71282 [2021-07-29T08:18:11.004Z] ---> 0c095b21d03d [2021-07-29T08:18:11.004Z] Successfully built 0c095b21d03d [2021-07-29T08:18:11.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:11.353Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T08:18:11.353Z] . [Pipeline] withDockerContainer [2021-07-29T08:18:11.626Z] prd-ubuntu18.04-docker-arm64-4c-16g-453 does not seem to be running inside a container [2021-07-29T08:18:11.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-29T08:18:12.119Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-29T08:18:12.391Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 47.7% of statements [2021-07-29T08:18:12.391Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-29T08:18:13.440Z] $ docker top f9ac7b4ca587a5eab8d196cbf204a5751dac39c1d37e82bfa6b623c35b9ba9dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T08:18:14.445Z] + go version [2021-07-29T08:18:14.445Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-29T08:18:14.470Z] $ docker stop --time=1 f9ac7b4ca587a5eab8d196cbf204a5751dac39c1d37e82bfa6b623c35b9ba9dc [2021-07-29T08:18:16.365Z] $ docker rm -f f9ac7b4ca587a5eab8d196cbf204a5751dac39c1d37e82bfa6b623c35b9ba9dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:17.216Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T08:18:17.216Z] . [Pipeline] withDockerContainer [2021-07-29T08:18:17.478Z] prd-ubuntu18.04-docker-arm64-4c-16g-453 does not seem to be running inside a container [2021-07-29T08:18:17.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-29T08:18:19.055Z] gofmt -l . [2021-07-29T08:18:19.055Z] [ "`gofmt -l .`" = "" ] [2021-07-29T08:18:19.055Z] ./bin/test-attribution-txt.sh [2021-07-29T08:18:19.160Z] $ docker top e17549ebdba9f7c4deebc9902aa765047724a727f3845e7c26233b41cb62b6f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T08:18:19.643Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T08:18:19.657Z] $ docker stop --time=1 f9a49b71914b5664313ed2b88e01ab2552a91d74d02d39ea5f5463dd57b1df24 [2021-07-29T08:18:20.099Z] + go mod tidy [2021-07-29T08:18:21.112Z] $ docker rm -f f9a49b71914b5664313ed2b88e01ab2552a91d74d02d39ea5f5463dd57b1df24 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-07-29T08:18:21.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T08:18:21.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-07-29T08:18:21.917Z] + make test [2021-07-29T08:18:21.918Z] go mod tidy [2021-07-29T08:18:22.543Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T08:18:23.540Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] sh [2021-07-29T08:18:24.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T08:18:24.795Z] + ls -al . [2021-07-29T08:18:24.796Z] total 120 [2021-07-29T08:18:24.796Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 29 08:18 . [2021-07-29T08:18:24.796Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 08:17 .. [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jul 29 08:17 Attribution.txt [2021-07-29T08:18:24.796Z] drwxrwxr-x. 2 jenkins jenkins 87 Jul 29 08:17 bin [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jul 29 08:17 CHANGELOG.md [2021-07-29T08:18:24.796Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 29 08:17 cmd [2021-07-29T08:18:24.796Z] -rw-r--r--. 1 jenkins jenkins 22385 Jul 29 08:18 coverage.out [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jul 29 08:17 Dockerfile [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 995 Jul 29 08:17 Dockerfile.build [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 29 08:17 .dockerignore [2021-07-29T08:18:24.796Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 29 08:17 .git [2021-07-29T08:18:24.796Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 29 08:17 .github [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 338 Jul 29 08:17 .gitignore [2021-07-29T08:18:24.796Z] -rw-r--r--. 1 jenkins jenkins 414 Jul 29 08:18 go.mod [2021-07-29T08:18:24.796Z] -rw-r--r--. 1 jenkins jenkins 21529 Jul 29 08:17 go.sum [2021-07-29T08:18:24.796Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 29 08:17 internal [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 679 Jul 29 08:17 Jenkinsfile [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 29 08:17 LICENSE [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 914 Jul 29 08:17 Makefile [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 2893 Jul 29 08:17 README.md [2021-07-29T08:18:24.796Z] drwxrwxr-x. 2 jenkins jenkins 52 Jul 29 08:17 simulator [2021-07-29T08:18:24.796Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 29 08:17 snap [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 29 08:14 VERSION [2021-07-29T08:18:24.796Z] -rw-rw-r--. 1 jenkins jenkins 229 Jul 29 08:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:25.130Z] + 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=84f9f35e34861a9df1f963446ebe383a81eb0395 --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-29T08:18:25.130Z] Sending build context to Docker daemon 646.1kB [2021-07-29T08:18:25.130Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T08:18:25.130Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-29T08:18:25.130Z] ---> f89fb21d9c47 [2021-07-29T08:18:25.130Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:18:25.130Z] ---> Running in ba12beaab7f1 [2021-07-29T08:18:25.905Z] Removing intermediate container ba12beaab7f1 [2021-07-29T08:18:25.905Z] ---> 21fe04517d9e [2021-07-29T08:18:25.905Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-29T08:18:25.905Z] ---> Running in fe64f5be3209 [2021-07-29T08:18:25.905Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T08:18:27.308Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T08:18:27.574Z] OK: 156 MiB in 53 packages [2021-07-29T08:18:27.842Z] Removing intermediate container fe64f5be3209 [2021-07-29T08:18:27.842Z] ---> c04e596e5aad [2021-07-29T08:18:27.842Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-29T08:18:27.842Z] ---> Running in bb271abdf884 [2021-07-29T08:18:28.108Z] Removing intermediate container bb271abdf884 [2021-07-29T08:18:28.108Z] ---> 3f3091d9f308 [2021-07-29T08:18:28.108Z] Step 6/22 : COPY . . [2021-07-29T08:18:28.373Z] ---> afa6a360a2fd [2021-07-29T08:18:28.373Z] Step 7/22 : RUN go mod tidy [2021-07-29T08:18:28.373Z] ---> Running in 5ab2b2ef0dcd [2021-07-29T08:18:28.957Z] Removing intermediate container 5ab2b2ef0dcd [2021-07-29T08:18:28.957Z] ---> ed352620f4b1 [2021-07-29T08:18:28.957Z] Step 8/22 : RUN go mod download [2021-07-29T08:18:28.957Z] ---> Running in b4483aea477b [2021-07-29T08:18:29.544Z] Removing intermediate container b4483aea477b [2021-07-29T08:18:29.544Z] ---> 5faafa849638 [2021-07-29T08:18:29.544Z] Step 9/22 : RUN make build [2021-07-29T08:18:29.544Z] ---> Running in 0042d0ddc268 [2021-07-29T08:18:29.822Z] go mod tidy [2021-07-29T08:18:29.822Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.1" -o cmd/device-modbus ./cmd [2021-07-29T08:18:42.184Z] Removing intermediate container 0042d0ddc268 [2021-07-29T08:18:42.184Z] ---> ea77ab2fcb03 [2021-07-29T08:18:42.184Z] Step 10/22 : FROM alpine:3.12 [2021-07-29T08:18:42.184Z] 3.12: Pulling from library/alpine [2021-07-29T08:18:42.184Z] 339de151aab4: Pulling fs layer [2021-07-29T08:18:42.184Z] 339de151aab4: Verifying Checksum [2021-07-29T08:18:42.184Z] 339de151aab4: Download complete [2021-07-29T08:18:42.184Z] 339de151aab4: Pull complete [2021-07-29T08:18:42.184Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-29T08:18:42.184Z] Status: Downloaded newer image for alpine:3.12 [2021-07-29T08:18:42.184Z] ---> 13621d1b12d4 [2021-07-29T08:18:42.184Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-29T08:18:42.184Z] ---> Running in 672c2c7d3d9c [2021-07-29T08:18:42.184Z] Removing intermediate container 672c2c7d3d9c [2021-07-29T08:18:42.184Z] ---> 0f3b0bb0bdda [2021-07-29T08:18:42.184Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:18:42.184Z] ---> Running in b275220c80fc [2021-07-29T08:18:42.184Z] Removing intermediate container b275220c80fc [2021-07-29T08:18:42.184Z] ---> 0874c3f0edf9 [2021-07-29T08:18:42.184Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-29T08:18:42.184Z] ---> Running in 620c4185075b [2021-07-29T08:18:42.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-29T08:18:43.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-29T08:18:43.613Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-29T08:18:43.613Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-29T08:18:43.613Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-29T08:18:43.613Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-29T08:18:44.571Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-29T08:18:44.836Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-29T08:18:44.836Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T08:18:44.836Z] OK: 8 MiB in 20 packages [2021-07-29T08:18:45.101Z] Removing intermediate container 620c4185075b [2021-07-29T08:18:45.101Z] ---> daa053c629c4 [2021-07-29T08:18:45.101Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-29T08:18:45.366Z] ---> d5beb6477598 [2021-07-29T08:18:45.366Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-29T08:18:45.631Z] ---> 76b8c4f4543a [2021-07-29T08:18:45.631Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-29T08:18:45.631Z] ---> d95e35491208 [2021-07-29T08:18:45.631Z] Step 17/22 : EXPOSE 59901 [2021-07-29T08:18:45.631Z] ---> Running in 4bf39eb6c45d [2021-07-29T08:18:45.896Z] Removing intermediate container 4bf39eb6c45d [2021-07-29T08:18:45.896Z] ---> a72b3cd09a80 [2021-07-29T08:18:45.896Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-29T08:18:45.896Z] ---> Running in e97e544db637 [2021-07-29T08:18:45.896Z] Removing intermediate container e97e544db637 [2021-07-29T08:18:45.896Z] ---> c85702f9fac1 [2021-07-29T08:18:45.896Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T08:18:45.896Z] ---> Running in b73afc398096 [2021-07-29T08:18:45.896Z] Removing intermediate container b73afc398096 [2021-07-29T08:18:45.896Z] ---> 6732576c658c [2021-07-29T08:18:45.896Z] Step 20/22 : LABEL arch=amd64 [2021-07-29T08:18:46.161Z] ---> Running in 5542a4daef44 [2021-07-29T08:18:46.161Z] Removing intermediate container 5542a4daef44 [2021-07-29T08:18:46.161Z] ---> 296131581b09 [2021-07-29T08:18:46.161Z] Step 21/22 : LABEL git_sha=84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:18:46.161Z] ---> Running in 1b8090473d39 [2021-07-29T08:18:46.161Z] Removing intermediate container 1b8090473d39 [2021-07-29T08:18:46.161Z] ---> 5b8d0ed6918c [2021-07-29T08:18:46.161Z] Step 22/22 : LABEL version=2.0.1-dev.1 [2021-07-29T08:18:46.161Z] ---> Running in 55b78487c3da [2021-07-29T08:18:46.427Z] Removing intermediate container 55b78487c3da [2021-07-29T08:18:46.427Z] ---> 32da8736e984 [2021-07-29T08:18:46.427Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-07-29T08:18:46.427Z] Successfully built 32da8736e984 [2021-07-29T08:18:46.427Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:18:46.686Z] provisioning config files... [2021-07-29T08:18:46.705Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config5613918029180300692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:18:47.039Z] ---> docker-login.sh [2021-07-29T08:18:47.039Z] nexus3.edgexfoundry.org:10001 [2021-07-29T08:18:47.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:18:47.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:18:47.039Z] Configure a credential helper to remove this warning. See [2021-07-29T08:18:47.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:18:47.039Z] [2021-07-29T08:18:47.039Z] Login Succeeded [2021-07-29T08:18:47.039Z] nexus3.edgexfoundry.org:10002 [2021-07-29T08:18:47.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:18:47.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:18:47.306Z] Configure a credential helper to remove this warning. See [2021-07-29T08:18:47.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:18:47.306Z] [2021-07-29T08:18:47.306Z] Login Succeeded [2021-07-29T08:18:47.306Z] nexus3.edgexfoundry.org:10003 [2021-07-29T08:18:47.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:18:47.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:18:47.574Z] Configure a credential helper to remove this warning. See [2021-07-29T08:18:47.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:18:47.574Z] [2021-07-29T08:18:47.574Z] Login Succeeded [2021-07-29T08:18:47.574Z] nexus3.edgexfoundry.org:10004 [2021-07-29T08:18:47.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:18:47.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:18:47.839Z] Configure a credential helper to remove this warning. See [2021-07-29T08:18:47.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:18:47.839Z] [2021-07-29T08:18:47.839Z] Login Succeeded [2021-07-29T08:18:47.839Z] docker.io [2021-07-29T08:18:47.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:18:48.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:18:48.104Z] Configure a credential helper to remove this warning. See [2021-07-29T08:18:48.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:18:48.104Z] [2021-07-29T08:18:48.104Z] Login Succeeded [2021-07-29T08:18:48.104Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T08:18:48.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T08:18:48.185Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-07-29T08:18:48.185Z] 84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:18:48.185Z] latest [2021-07-29T08:18:48.185Z] 2.0.1-dev.1 [2021-07-29T08:18:48.185Z] 84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:18:48.185Z] main [2021-07-29T08:18:48.185Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:48.551Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:48.875Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:18:48.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-29T08:18:48.875Z] 9f616201b08d: Preparing [2021-07-29T08:18:48.875Z] 068767dd776e: Preparing [2021-07-29T08:18:48.875Z] 168168737a60: Preparing [2021-07-29T08:18:48.875Z] 99c1d0353caa: Preparing [2021-07-29T08:18:48.875Z] 7138739b7355: Preparing [2021-07-29T08:18:48.875Z] 32f366d666a5: Preparing [2021-07-29T08:18:48.875Z] 32f366d666a5: Waiting [2021-07-29T08:18:49.462Z] 9f616201b08d: Pushed [2021-07-29T08:18:49.462Z] 32f366d666a5: Layer already exists [2021-07-29T08:18:49.732Z] 7138739b7355: Pushed [2021-07-29T08:18:49.732Z] 068767dd776e: Pushed [2021-07-29T08:18:49.732Z] 99c1d0353caa: Pushed [2021-07-29T08:18:51.136Z] 168168737a60: Pushed [2021-07-29T08:18:51.402Z] 84f9f35e34861a9df1f963446ebe383a81eb0395: digest: sha256:c6a6eca7aca0df5052d033c41181514095b7997f7052343cb62672d2ba4c3c8c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:51.719Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:52.038Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-29T08:18:52.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-29T08:18:52.038Z] 9f616201b08d: Preparing [2021-07-29T08:18:52.038Z] 068767dd776e: Preparing [2021-07-29T08:18:52.038Z] 168168737a60: Preparing [2021-07-29T08:18:52.038Z] 99c1d0353caa: Preparing [2021-07-29T08:18:52.038Z] 7138739b7355: Preparing [2021-07-29T08:18:52.038Z] 32f366d666a5: Preparing [2021-07-29T08:18:52.038Z] 32f366d666a5: Waiting [2021-07-29T08:18:52.038Z] 7138739b7355: Layer already exists [2021-07-29T08:18:52.038Z] 9f616201b08d: Layer already exists [2021-07-29T08:18:52.038Z] 168168737a60: Layer already exists [2021-07-29T08:18:52.038Z] 068767dd776e: Layer already exists [2021-07-29T08:18:52.038Z] 99c1d0353caa: Layer already exists [2021-07-29T08:18:52.038Z] 32f366d666a5: Layer already exists [2021-07-29T08:18:52.304Z] latest: digest: sha256:c6a6eca7aca0df5052d033c41181514095b7997f7052343cb62672d2ba4c3c8c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:52.621Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:52.933Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [2021-07-29T08:18:52.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-29T08:18:52.933Z] 9f616201b08d: Preparing [2021-07-29T08:18:52.933Z] 068767dd776e: Preparing [2021-07-29T08:18:52.933Z] 168168737a60: Preparing [2021-07-29T08:18:52.933Z] 99c1d0353caa: Preparing [2021-07-29T08:18:52.933Z] 7138739b7355: Preparing [2021-07-29T08:18:52.933Z] 32f366d666a5: Preparing [2021-07-29T08:18:52.933Z] 32f366d666a5: Waiting [2021-07-29T08:18:52.933Z] 068767dd776e: Layer already exists [2021-07-29T08:18:52.933Z] 168168737a60: Layer already exists [2021-07-29T08:18:52.933Z] 99c1d0353caa: Layer already exists [2021-07-29T08:18:52.933Z] 7138739b7355: Layer already exists [2021-07-29T08:18:52.933Z] 9f616201b08d: Layer already exists [2021-07-29T08:18:52.933Z] 32f366d666a5: Layer already exists [2021-07-29T08:18:53.198Z] 2.0.1-dev.1: digest: sha256:c6a6eca7aca0df5052d033c41181514095b7997f7052343cb62672d2ba4c3c8c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:53.529Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:53.842Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:18:53.842Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-29T08:18:53.842Z] 9f616201b08d: Preparing [2021-07-29T08:18:53.842Z] 068767dd776e: Preparing [2021-07-29T08:18:53.842Z] 168168737a60: Preparing [2021-07-29T08:18:53.842Z] 99c1d0353caa: Preparing [2021-07-29T08:18:53.842Z] 7138739b7355: Preparing [2021-07-29T08:18:53.842Z] 32f366d666a5: Preparing [2021-07-29T08:18:53.842Z] 32f366d666a5: Waiting [2021-07-29T08:18:53.842Z] 99c1d0353caa: Layer already exists [2021-07-29T08:18:53.842Z] 068767dd776e: Layer already exists [2021-07-29T08:18:53.842Z] 9f616201b08d: Layer already exists [2021-07-29T08:18:53.842Z] 7138739b7355: Layer already exists [2021-07-29T08:18:53.842Z] 168168737a60: Layer already exists [2021-07-29T08:18:53.842Z] 32f366d666a5: Layer already exists [2021-07-29T08:18:54.108Z] 84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1: digest: sha256:c6a6eca7aca0df5052d033c41181514095b7997f7052343cb62672d2ba4c3c8c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:54.703Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:55.023Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-07-29T08:18:55.023Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-29T08:18:55.023Z] 9f616201b08d: Preparing [2021-07-29T08:18:55.023Z] 068767dd776e: Preparing [2021-07-29T08:18:55.023Z] 168168737a60: Preparing [2021-07-29T08:18:55.023Z] 99c1d0353caa: Preparing [2021-07-29T08:18:55.023Z] 7138739b7355: Preparing [2021-07-29T08:18:55.023Z] 32f366d666a5: Preparing [2021-07-29T08:18:55.023Z] 32f366d666a5: Waiting [2021-07-29T08:18:55.023Z] 068767dd776e: Layer already exists [2021-07-29T08:18:55.023Z] 99c1d0353caa: Layer already exists [2021-07-29T08:18:55.023Z] 7138739b7355: Layer already exists [2021-07-29T08:18:55.023Z] 9f616201b08d: Layer already exists [2021-07-29T08:18:55.023Z] 168168737a60: Layer already exists [2021-07-29T08:18:55.023Z] 32f366d666a5: Layer already exists [2021-07-29T08:18:55.289Z] main: digest: sha256:c6a6eca7aca0df5052d033c41181514095b7997f7052343cb62672d2ba4c3c8c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T08:18:55.351Z] ===================================================== [Pipeline] echo [2021-07-29T08:18:55.370Z] taggedImages: [2021-07-29T08:18:55.371Z] - nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:18:55.371Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-29T08:18:55.371Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [2021-07-29T08:18:55.371Z] - nexus3.edgexfoundry.org:10004/device-modbus:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:18:55.371Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:56.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:18:56.068Z] [2021-07-29T08:18:56.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:18:56.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:18:56.396Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T08:18:56.396Z] b4d181a07f80: Pulling fs layer [2021-07-29T08:18:56.396Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T08:18:56.396Z] ed53099fbce6: Pulling fs layer [2021-07-29T08:18:56.396Z] dc539afda2c1: Pulling fs layer [2021-07-29T08:18:56.396Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T08:18:56.396Z] 9065ff56babe: Pulling fs layer [2021-07-29T08:18:56.396Z] d287ab97295c: Pulling fs layer [2021-07-29T08:18:56.396Z] dc539afda2c1: Waiting [2021-07-29T08:18:56.396Z] 77bc0d833cb6: Waiting [2021-07-29T08:18:56.396Z] 9065ff56babe: Waiting [2021-07-29T08:18:56.396Z] d287ab97295c: Waiting [2021-07-29T08:18:56.974Z] a1111a8f2ec3: Download complete [2021-07-29T08:18:56.974Z] dc539afda2c1: Verifying Checksum [2021-07-29T08:18:56.974Z] dc539afda2c1: Download complete [2021-07-29T08:18:57.556Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T08:18:57.556Z] 77bc0d833cb6: Download complete [2021-07-29T08:18:57.556Z] 9065ff56babe: Verifying Checksum [2021-07-29T08:18:57.556Z] 9065ff56babe: Download complete [2021-07-29T08:18:57.820Z] ed53099fbce6: Verifying Checksum [2021-07-29T08:18:57.820Z] ed53099fbce6: Download complete [2021-07-29T08:18:59.223Z] b4d181a07f80: Verifying Checksum [2021-07-29T08:18:59.223Z] b4d181a07f80: Download complete [2021-07-29T08:19:00.199Z] b4d181a07f80: Pull complete [2021-07-29T08:19:00.465Z] a1111a8f2ec3: Pull complete [2021-07-29T08:19:01.057Z] ed53099fbce6: Pull complete [2021-07-29T08:19:01.057Z] dc539afda2c1: Pull complete [2021-07-29T08:19:01.325Z] 77bc0d833cb6: Pull complete [2021-07-29T08:19:01.325Z] 9065ff56babe: Pull complete [2021-07-29T08:19:04.671Z] d287ab97295c: Verifying Checksum [2021-07-29T08:19:04.671Z] d287ab97295c: Download complete [2021-07-29T08:19:08.972Z] d287ab97295c: Pull complete [2021-07-29T08:19:08.972Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T08:19:08.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:19:08.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T08:19:09.068Z] prd-centos7-docker-4c-2g-454 does not seem to be running inside a container [2021-07-29T08:19:09.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T08:19:11.418Z] $ docker top ea63fd6c1166aee7882c031553b02f0611538bd46cbb4a6e94b2e21148a55e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:19:12.005Z] ---> job-cost.sh [2021-07-29T08:19:12.005Z] lf-activate-venv: SKIPPING [2021-07-29T08:19:12.005Z] INFO: No Stack... [2021-07-29T08:19:12.962Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T08:19:13.228Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T08:19:13.549Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2021-07-29T08:19:13.549Z] + cut -d, -f6 [Pipeline] lock [2021-07-29T08:19:13.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [2021-07-29T08:19:13.596Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] did not exist. Created. [2021-07-29T08:19:13.596Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T08:19:13.928Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-29T08:19:13.970Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T08:19:13.979Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T08:19:14.001Z] $ docker stop --time=1 ea63fd6c1166aee7882c031553b02f0611538bd46cbb4a6e94b2e21148a55e93 [2021-07-29T08:19:15.139Z] $ docker rm -f ea63fd6c1166aee7882c031553b02f0611538bd46cbb4a6e94b2e21148a55e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-29T08:19:20.168Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-29T08:19:20.168Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.047s coverage: 47.7% of statements [2021-07-29T08:19:20.168Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-29T08:19:42.407Z] gofmt -l . [2021-07-29T08:19:42.407Z] [ "`gofmt -l .`" = "" ] [2021-07-29T08:19:42.407Z] ./bin/test-attribution-txt.sh [2021-07-29T08:19:42.407Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T08:19:43.032Z] $ docker stop --time=1 e17549ebdba9f7c4deebc9902aa765047724a727f3845e7c26233b41cb62b6f0 [2021-07-29T08:19:45.045Z] $ docker rm -f e17549ebdba9f7c4deebc9902aa765047724a727f3845e7c26233b41cb62b6f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T08:19:45.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T08:19:45.880Z] Warning: overwriting stash ‘coverage-report’ [2021-07-29T08:19:46.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-29T08:19:46.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T08:19:47.263Z] + ls -al . [2021-07-29T08:19:47.263Z] total 152 [2021-07-29T08:19:47.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 08:19 . [2021-07-29T08:19:47.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 08:16 .. [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 08:16 .dockerignore [2021-07-29T08:19:47.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 08:16 .git [2021-07-29T08:19:47.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 08:16 .github [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 338 Jul 29 08:16 .gitignore [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jul 29 08:16 Attribution.txt [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jul 29 08:16 CHANGELOG.md [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jul 29 08:16 Dockerfile [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 995 Jul 29 08:16 Dockerfile.build [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 679 Jul 29 08:16 Jenkinsfile [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 29 08:16 LICENSE [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 914 Jul 29 08:16 Makefile [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 2893 Jul 29 08:16 README.md [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 29 08:14 VERSION [2021-07-29T08:19:47.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 08:16 bin [2021-07-29T08:19:47.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 08:16 cmd [2021-07-29T08:19:47.263Z] -rw-r--r-- 1 jenkins jenkins 22385 Jul 29 08:19 coverage.out [2021-07-29T08:19:47.263Z] -rw-r--r-- 1 jenkins jenkins 414 Jul 29 08:19 go.mod [2021-07-29T08:19:47.263Z] -rw-r--r-- 1 jenkins jenkins 21529 Jul 29 08:18 go.sum [2021-07-29T08:19:47.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 08:16 internal [2021-07-29T08:19:47.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 08:16 simulator [2021-07-29T08:19:47.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 08:16 snap [2021-07-29T08:19:47.263Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 29 08:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:19:47.612Z] + 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=84f9f35e34861a9df1f963446ebe383a81eb0395 --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-29T08:19:47.883Z] Sending build context to Docker daemon 645.1kB [2021-07-29T08:19:47.883Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T08:19:47.883Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-29T08:19:47.883Z] ---> 0c095b21d03d [2021-07-29T08:19:47.883Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:19:48.163Z] ---> Running in c30054c1e151 [2021-07-29T08:19:50.790Z] Removing intermediate container c30054c1e151 [2021-07-29T08:19:50.790Z] ---> d7dcf939419f [2021-07-29T08:19:50.790Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-29T08:19:50.790Z] ---> Running in eeda862ec73b [2021-07-29T08:19:51.775Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T08:19:52.755Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T08:19:53.734Z] OK: 145 MiB in 53 packages [2021-07-29T08:19:54.714Z] Removing intermediate container eeda862ec73b [2021-07-29T08:19:54.714Z] ---> 03b0b807e4b6 [2021-07-29T08:19:54.714Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-29T08:19:54.987Z] ---> Running in c7b793cd62e8 [2021-07-29T08:19:55.582Z] Removing intermediate container c7b793cd62e8 [2021-07-29T08:19:55.582Z] ---> 35cccff51670 [2021-07-29T08:19:55.582Z] Step 6/22 : COPY . . [2021-07-29T08:19:56.563Z] ---> 145ec2c9fe6c [2021-07-29T08:19:56.563Z] Step 7/22 : RUN go mod tidy [2021-07-29T08:19:56.563Z] ---> Running in d628e9f20d0e [2021-07-29T08:19:59.189Z] Removing intermediate container d628e9f20d0e [2021-07-29T08:19:59.189Z] ---> ec8cdca41bd6 [2021-07-29T08:19:59.189Z] Step 8/22 : RUN go mod download [2021-07-29T08:19:59.464Z] ---> Running in 69b33e27d0ef [2021-07-29T08:20:02.089Z] Removing intermediate container 69b33e27d0ef [2021-07-29T08:20:02.089Z] ---> 11dd2d35e732 [2021-07-29T08:20:02.089Z] Step 9/22 : RUN make build [2021-07-29T08:20:02.089Z] ---> Running in c4541e7a0366 [2021-07-29T08:20:03.164Z] go mod tidy [2021-07-29T08:20:03.801Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.1" -o cmd/device-modbus ./cmd [2021-07-29T08:20:42.870Z] Removing intermediate container c4541e7a0366 [2021-07-29T08:20:42.870Z] ---> 203798c57ad3 [2021-07-29T08:20:42.870Z] Step 10/22 : FROM alpine:3.12 [2021-07-29T08:20:42.870Z] 3.12: Pulling from library/alpine [2021-07-29T08:20:42.870Z] d2f70382dc9a: Pulling fs layer [2021-07-29T08:20:42.870Z] d2f70382dc9a: Verifying Checksum [2021-07-29T08:20:42.870Z] d2f70382dc9a: Download complete [2021-07-29T08:20:42.870Z] d2f70382dc9a: Pull complete [2021-07-29T08:20:42.870Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-29T08:20:42.870Z] Status: Downloaded newer image for alpine:3.12 [2021-07-29T08:20:42.870Z] ---> c4fd0aeabfcf [2021-07-29T08:20:42.870Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-29T08:20:42.870Z] ---> Running in a54b68f89a0f [2021-07-29T08:20:42.870Z] Removing intermediate container a54b68f89a0f [2021-07-29T08:20:42.870Z] ---> 9fe42516d877 [2021-07-29T08:20:42.870Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T08:20:42.870Z] ---> Running in 819c2c98d5ea [2021-07-29T08:20:43.146Z] Removing intermediate container 819c2c98d5ea [2021-07-29T08:20:43.147Z] ---> 2b3762a6a06c [2021-07-29T08:20:43.147Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-29T08:20:43.147Z] ---> Running in b85366aa11c5 [2021-07-29T08:20:44.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-29T08:20:45.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-29T08:20:45.771Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-29T08:20:45.771Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-29T08:20:46.045Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-29T08:20:46.045Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-29T08:20:46.323Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-29T08:20:46.323Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-29T08:20:46.323Z] Executing busybox-1.31.1-r20.trigger [2021-07-29T08:20:46.323Z] OK: 8 MiB in 20 packages [2021-07-29T08:20:47.773Z] Removing intermediate container b85366aa11c5 [2021-07-29T08:20:47.773Z] ---> 607efec8d403 [2021-07-29T08:20:47.773Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-29T08:20:48.756Z] ---> b66cf2f65948 [2021-07-29T08:20:48.756Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-29T08:20:49.741Z] ---> 512c89c4b74e [2021-07-29T08:20:49.741Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-29T08:20:50.721Z] ---> d0b59f509cf0 [2021-07-29T08:20:50.721Z] Step 17/22 : EXPOSE 59901 [2021-07-29T08:20:50.721Z] ---> Running in 264f64731964 [2021-07-29T08:20:51.319Z] Removing intermediate container 264f64731964 [2021-07-29T08:20:51.320Z] ---> d899582695ee [2021-07-29T08:20:51.320Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-29T08:20:51.320Z] ---> Running in 4052f41094b0 [2021-07-29T08:20:51.919Z] Removing intermediate container 4052f41094b0 [2021-07-29T08:20:51.919Z] ---> 1905516d808d [2021-07-29T08:20:51.919Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T08:20:51.919Z] ---> Running in 8275945d83f3 [2021-07-29T08:20:52.521Z] Removing intermediate container 8275945d83f3 [2021-07-29T08:20:52.521Z] ---> fb2c6fa17a0e [2021-07-29T08:20:52.521Z] Step 20/22 : LABEL arch=arm64 [2021-07-29T08:20:52.521Z] ---> Running in ba680416a60e [2021-07-29T08:20:53.118Z] Removing intermediate container ba680416a60e [2021-07-29T08:20:53.118Z] ---> 65eca3532a4c [2021-07-29T08:20:53.118Z] Step 21/22 : LABEL git_sha=84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:20:53.118Z] ---> Running in a713bda2c952 [2021-07-29T08:20:53.712Z] Removing intermediate container a713bda2c952 [2021-07-29T08:20:53.712Z] ---> 2156e0478cc0 [2021-07-29T08:20:53.712Z] Step 22/22 : LABEL version=2.0.1-dev.1 [2021-07-29T08:20:53.983Z] ---> Running in 2ed60cab29d5 [2021-07-29T08:20:54.260Z] Removing intermediate container 2ed60cab29d5 [2021-07-29T08:20:54.260Z] ---> 30915f51c4a3 [2021-07-29T08:20:54.260Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-29T08:20:54.260Z] Successfully built 30915f51c4a3 [2021-07-29T08:20:54.260Z] 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-07-29T08:20:54.511Z] provisioning config files... [2021-07-29T08:20:54.533Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8210671098228695662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:20:54.905Z] ---> docker-login.sh [2021-07-29T08:20:54.906Z] nexus3.edgexfoundry.org:10001 [2021-07-29T08:20:55.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:20:55.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:20:55.451Z] Configure a credential helper to remove this warning. See [2021-07-29T08:20:55.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:20:55.451Z] [2021-07-29T08:20:55.451Z] Login Succeeded [2021-07-29T08:20:55.451Z] nexus3.edgexfoundry.org:10002 [2021-07-29T08:20:55.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:20:55.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:20:55.998Z] Configure a credential helper to remove this warning. See [2021-07-29T08:20:55.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:20:55.998Z] [2021-07-29T08:20:55.998Z] Login Succeeded [2021-07-29T08:20:55.998Z] nexus3.edgexfoundry.org:10003 [2021-07-29T08:20:56.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:20:56.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:20:56.545Z] Configure a credential helper to remove this warning. See [2021-07-29T08:20:56.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:20:56.545Z] [2021-07-29T08:20:56.545Z] Login Succeeded [2021-07-29T08:20:56.545Z] nexus3.edgexfoundry.org:10004 [2021-07-29T08:20:56.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:20:57.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:20:57.120Z] Configure a credential helper to remove this warning. See [2021-07-29T08:20:57.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:20:57.120Z] [2021-07-29T08:20:57.120Z] Login Succeeded [2021-07-29T08:20:57.120Z] docker.io [2021-07-29T08:20:57.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T08:20:57.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T08:20:57.664Z] Configure a credential helper to remove this warning. See [2021-07-29T08:20:57.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T08:20:57.664Z] [2021-07-29T08:20:57.664Z] Login Succeeded [2021-07-29T08:20:57.664Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T08:20:57.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T08:20:57.755Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-07-29T08:20:57.755Z] 84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:20:57.755Z] latest [2021-07-29T08:20:57.755Z] 2.0.1-dev.1 [2021-07-29T08:20:57.755Z] 84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:20:57.755Z] main [2021-07-29T08:20:57.755Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:20:58.135Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:20:58.471Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:20:58.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-29T08:20:58.471Z] 1c37126e9b8e: Preparing [2021-07-29T08:20:58.471Z] 0156f1861f16: Preparing [2021-07-29T08:20:58.471Z] 2f4c049d2fb7: Preparing [2021-07-29T08:20:58.471Z] 81e213ef576e: Preparing [2021-07-29T08:20:58.471Z] 2a68a2c0c771: Preparing [2021-07-29T08:20:58.471Z] 3fbe34a1663b: Preparing [2021-07-29T08:20:58.471Z] 3fbe34a1663b: Waiting [2021-07-29T08:20:59.074Z] 0156f1861f16: Pushed [2021-07-29T08:20:59.074Z] 1c37126e9b8e: Pushed [2021-07-29T08:20:59.074Z] 2a68a2c0c771: Pushed [2021-07-29T08:20:59.074Z] 3fbe34a1663b: Layer already exists [2021-07-29T08:20:59.347Z] 81e213ef576e: Pushed [2021-07-29T08:21:01.957Z] 2f4c049d2fb7: Pushed [2021-07-29T08:21:01.957Z] 84f9f35e34861a9df1f963446ebe383a81eb0395: digest: sha256:c96fd53d83cc0b69729a558f220d6f08e793e7c8195fd1c76d5a760d9fcc3197 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:02.313Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:02.654Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-29T08:21:02.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-29T08:21:02.654Z] 1c37126e9b8e: Preparing [2021-07-29T08:21:02.654Z] 0156f1861f16: Preparing [2021-07-29T08:21:02.654Z] 2f4c049d2fb7: Preparing [2021-07-29T08:21:02.654Z] 81e213ef576e: Preparing [2021-07-29T08:21:02.654Z] 2a68a2c0c771: Preparing [2021-07-29T08:21:02.654Z] 3fbe34a1663b: Preparing [2021-07-29T08:21:02.654Z] 3fbe34a1663b: Waiting [2021-07-29T08:21:02.654Z] 2f4c049d2fb7: Layer already exists [2021-07-29T08:21:02.654Z] 0156f1861f16: Layer already exists [2021-07-29T08:21:02.654Z] 1c37126e9b8e: Layer already exists [2021-07-29T08:21:02.654Z] 81e213ef576e: Layer already exists [2021-07-29T08:21:02.924Z] 2a68a2c0c771: Layer already exists [2021-07-29T08:21:02.924Z] 3fbe34a1663b: Layer already exists [2021-07-29T08:21:02.924Z] latest: digest: sha256:c96fd53d83cc0b69729a558f220d6f08e793e7c8195fd1c76d5a760d9fcc3197 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:03.268Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:03.604Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [2021-07-29T08:21:03.604Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-29T08:21:03.604Z] 1c37126e9b8e: Preparing [2021-07-29T08:21:03.604Z] 0156f1861f16: Preparing [2021-07-29T08:21:03.604Z] 2f4c049d2fb7: Preparing [2021-07-29T08:21:03.604Z] 81e213ef576e: Preparing [2021-07-29T08:21:03.604Z] 2a68a2c0c771: Preparing [2021-07-29T08:21:03.604Z] 3fbe34a1663b: Preparing [2021-07-29T08:21:03.604Z] 3fbe34a1663b: Waiting [2021-07-29T08:21:03.604Z] 0156f1861f16: Layer already exists [2021-07-29T08:21:03.604Z] 81e213ef576e: Layer already exists [2021-07-29T08:21:03.604Z] 2f4c049d2fb7: Layer already exists [2021-07-29T08:21:03.604Z] 1c37126e9b8e: Layer already exists [2021-07-29T08:21:03.604Z] 2a68a2c0c771: Layer already exists [2021-07-29T08:21:03.876Z] 3fbe34a1663b: Layer already exists [2021-07-29T08:21:03.876Z] 2.0.1-dev.1: digest: sha256:c96fd53d83cc0b69729a558f220d6f08e793e7c8195fd1c76d5a760d9fcc3197 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:04.223Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:04.562Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:21:04.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-29T08:21:04.562Z] 1c37126e9b8e: Preparing [2021-07-29T08:21:04.562Z] 0156f1861f16: Preparing [2021-07-29T08:21:04.562Z] 2f4c049d2fb7: Preparing [2021-07-29T08:21:04.562Z] 81e213ef576e: Preparing [2021-07-29T08:21:04.562Z] 2a68a2c0c771: Preparing [2021-07-29T08:21:04.562Z] 3fbe34a1663b: Preparing [2021-07-29T08:21:04.562Z] 3fbe34a1663b: Waiting [2021-07-29T08:21:04.562Z] 2a68a2c0c771: Layer already exists [2021-07-29T08:21:04.562Z] 2f4c049d2fb7: Layer already exists [2021-07-29T08:21:04.562Z] 81e213ef576e: Layer already exists [2021-07-29T08:21:04.834Z] 0156f1861f16: Layer already exists [2021-07-29T08:21:04.834Z] 1c37126e9b8e: Layer already exists [2021-07-29T08:21:04.834Z] 3fbe34a1663b: Layer already exists [2021-07-29T08:21:04.834Z] 84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1: digest: sha256:c96fd53d83cc0b69729a558f220d6f08e793e7c8195fd1c76d5a760d9fcc3197 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:05.178Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:05.515Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-07-29T08:21:05.515Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-29T08:21:05.515Z] 1c37126e9b8e: Preparing [2021-07-29T08:21:05.515Z] 0156f1861f16: Preparing [2021-07-29T08:21:05.515Z] 2f4c049d2fb7: Preparing [2021-07-29T08:21:05.515Z] 81e213ef576e: Preparing [2021-07-29T08:21:05.515Z] 2a68a2c0c771: Preparing [2021-07-29T08:21:05.515Z] 3fbe34a1663b: Preparing [2021-07-29T08:21:05.515Z] 3fbe34a1663b: Waiting [2021-07-29T08:21:05.786Z] 1c37126e9b8e: Layer already exists [2021-07-29T08:21:05.786Z] 0156f1861f16: Layer already exists [2021-07-29T08:21:05.786Z] 81e213ef576e: Layer already exists [2021-07-29T08:21:05.786Z] 2a68a2c0c771: Layer already exists [2021-07-29T08:21:05.786Z] 2f4c049d2fb7: Layer already exists [2021-07-29T08:21:05.786Z] 3fbe34a1663b: Layer already exists [2021-07-29T08:21:05.786Z] main: digest: sha256:c96fd53d83cc0b69729a558f220d6f08e793e7c8195fd1c76d5a760d9fcc3197 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T08:21:05.855Z] ===================================================== [Pipeline] echo [2021-07-29T08:21:05.871Z] taggedImages: [2021-07-29T08:21:05.871Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395 [2021-07-29T08:21:05.871Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-29T08:21:05.872Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [2021-07-29T08:21:05.872Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:84f9f35e34861a9df1f963446ebe383a81eb0395-2.0.1-dev.1 [2021-07-29T08:21:05.872Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:06.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T08:21:06.332Z] [2021-07-29T08:21:06.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:06.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T08:21:07.228Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-29T08:21:07.228Z] 448f6bf000e3: Pulling fs layer [2021-07-29T08:21:07.228Z] f757da607395: Pulling fs layer [2021-07-29T08:21:07.228Z] 05883995daec: Pulling fs layer [2021-07-29T08:21:07.228Z] 8603b9c90790: Pulling fs layer [2021-07-29T08:21:07.228Z] 1560dd03e051: Pulling fs layer [2021-07-29T08:21:07.228Z] 8603b9c90790: Waiting [2021-07-29T08:21:07.228Z] 27f5ce0e4adf: Pulling fs layer [2021-07-29T08:21:07.228Z] 1560dd03e051: Waiting [2021-07-29T08:21:07.228Z] c2d8d7efcc4b: Pulling fs layer [2021-07-29T08:21:07.228Z] 27f5ce0e4adf: Waiting [2021-07-29T08:21:07.228Z] c2d8d7efcc4b: Waiting [2021-07-29T08:21:07.502Z] f757da607395: Verifying Checksum [2021-07-29T08:21:07.502Z] f757da607395: Download complete [2021-07-29T08:21:07.502Z] 8603b9c90790: Verifying Checksum [2021-07-29T08:21:07.502Z] 8603b9c90790: Download complete [2021-07-29T08:21:07.778Z] 1560dd03e051: Verifying Checksum [2021-07-29T08:21:07.778Z] 1560dd03e051: Download complete [2021-07-29T08:21:07.778Z] 27f5ce0e4adf: Download complete [2021-07-29T08:21:08.052Z] 05883995daec: Verifying Checksum [2021-07-29T08:21:08.052Z] 05883995daec: Download complete [2021-07-29T08:21:09.492Z] 448f6bf000e3: Verifying Checksum [2021-07-29T08:21:09.492Z] 448f6bf000e3: Download complete [2021-07-29T08:21:12.897Z] c2d8d7efcc4b: Verifying Checksum [2021-07-29T08:21:12.897Z] c2d8d7efcc4b: Download complete [2021-07-29T08:21:12.897Z] 448f6bf000e3: Pull complete [2021-07-29T08:21:13.497Z] f757da607395: Pull complete [2021-07-29T08:21:14.939Z] 05883995daec: Pull complete [2021-07-29T08:21:15.537Z] 8603b9c90790: Pull complete [2021-07-29T08:21:16.516Z] 1560dd03e051: Pull complete [2021-07-29T08:21:16.790Z] 27f5ce0e4adf: Pull complete [2021-07-29T08:21:31.885Z] c2d8d7efcc4b: Pull complete [2021-07-29T08:21:31.885Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-29T08:21:31.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T08:21:31.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-29T08:21:32.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-453 does not seem to be running inside a container [2021-07-29T08:21:32.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-29T08:21:35.604Z] $ docker top da0ba64e89af2a9f805920c25b0a4b8615ca79cf6891d775585103eec89c1743 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:21:36.611Z] ---> job-cost.sh [2021-07-29T08:21:36.611Z] lf-activate-venv: SKIPPING [2021-07-29T08:21:36.611Z] INFO: No Stack... [2021-07-29T08:21:37.588Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-29T08:21:38.178Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T08:21:38.838Z] + cut -d, -f6 [2021-07-29T08:21:38.838Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2021-07-29T08:21:38.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [2021-07-29T08:21:38.907Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] did not exist. Created. [2021-07-29T08:21:38.908Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T08:21:39.592Z] /w/workspace/device-modbus-go/2@tmp/durable-90dff6db/script.sh: 1: /w/workspace/device-modbus-go/2@tmp/durable-90dff6db/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-29T08:21:40.258Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-29T08:21:40.291Z] Warning: overwriting stash ‘stack-cost’ [2021-07-29T08:21:40.336Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T08:21:40.349Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T08:21:40.407Z] $ docker stop --time=1 da0ba64e89af2a9f805920c25b0a4b8615ca79cf6891d775585103eec89c1743 [2021-07-29T08:21:42.081Z] $ docker rm -f da0ba64e89af2a9f805920c25b0a4b8615ca79cf6891d775585103eec89c1743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-07-29T08:21:43.093Z] provisioning config files... [2021-07-29T08:21:43.111Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1717237199803171555tmp [Pipeline] { [Pipeline] sh [2021-07-29T08:21:43.447Z] + set +x [2021-07-29T08:21:43.447Z] + curl -s https://codecov.io/bash [2021-07-29T08:21:43.447Z] + bash -s -- [2021-07-29T08:21:43.447Z] [2021-07-29T08:21:43.447Z] _____ _ [2021-07-29T08:21:43.447Z] / ____| | | [2021-07-29T08:21:43.447Z] | | ___ __| | ___ ___ _____ __ [2021-07-29T08:21:43.447Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-29T08:21:43.447Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-29T08:21:43.447Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-29T08:21:43.447Z] Bash-1.0.6 [2021-07-29T08:21:43.447Z] [2021-07-29T08:21:43.447Z] [2021-07-29T08:21:43.447Z] ==> git version 2.24.4 found [2021-07-29T08:21:43.447Z] ==> 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-07-29T08:21:43.447Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-29T08:21:43.447Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-29T08:21:43.447Z] ==> Jenkins CI detected. [2021-07-29T08:21:43.447Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:21:43.447Z] project root: . [2021-07-29T08:21:43.715Z] --> token set from env [2021-07-29T08:21:43.715Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-29T08:21:43.715Z] ==> Running gcov in . (disable via -X gcov) [2021-07-29T08:21:43.715Z] ==> Python coveragepy not found [2021-07-29T08:21:43.715Z] ==> Searching for coverage reports in: [2021-07-29T08:21:43.715Z] + . [2021-07-29T08:21:43.715Z] -> Found 1 reports [2021-07-29T08:21:43.715Z] ==> Detecting git/mercurial file structure [2021-07-29T08:21:43.715Z] ==> Reading reports [2021-07-29T08:21:43.715Z] + ./coverage.out bytes=22385 [2021-07-29T08:21:43.715Z] ==> Appending adjustments [2021-07-29T08:21:43.715Z] https://docs.codecov.io/docs/fixing-reports [2021-07-29T08:21:43.715Z] + Found adjustments [2021-07-29T08:21:43.715Z] ==> Gzipping contents [2021-07-29T08:21:43.715Z] 4.0K /tmp/codecov.VYYd9N.gz [2021-07-29T08:21:43.715Z] ==> Uploading reports [2021-07-29T08:21:43.715Z] url: https://codecov.io [2021-07-29T08:21:43.715Z] query: branch=main&commit=84f9f35e34861a9df1f963446ebe383a81eb0395&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-29T08:21:43.715Z] -> Pinging Codecov [2021-07-29T08:21:43.715Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=84f9f35e34861a9df1f963446ebe383a81eb0395&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-29T08:21:44.299Z] -> Uploading to [2021-07-29T08:21:44.299Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-29/55DBCA73C666E3227836607328DD7E49/84f9f35e34861a9df1f963446ebe383a81eb0395/eeb0d0ca-0c4b-4f3d-9d4a-ec8e485ed0db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210729%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210729T082143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e83dd514b797ca0c77f4a99bcfa4034da1b711eca1e76a1daecb1b76dea2d136 [2021-07-29T08:21:44.299Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-29T08:21:44.299Z] Dload Upload Total Spent Left Speed [2021-07-29T08:21:44.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3860 0 0 100 3860 0 8762 --:--:-- --:--:-- --:--:-- 8752 100 3860 0 0 100 3860 0 8759 --:--:-- --:--:-- --:--:-- 8752 [2021-07-29T08:21:44.567Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] } [2021-07-29T08:21:44.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-29T08:21:45.370Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-29T08:21:45.403Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:45.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T08:21:45.724Z] [2021-07-29T08:21:45.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:21:46.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T08:21:46.073Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-29T08:21:46.073Z] 188c0c94c7c5: Pulling fs layer [2021-07-29T08:21:46.073Z] 0ef7d3d256c8: Pulling fs layer [2021-07-29T08:21:46.073Z] de9db76c5a1d: Pulling fs layer [2021-07-29T08:21:46.073Z] 0eba1c9be4d2: Pulling fs layer [2021-07-29T08:21:46.073Z] 0d57e429df01: Pulling fs layer [2021-07-29T08:21:46.073Z] 4e4be7b47b0d: Pulling fs layer [2021-07-29T08:21:46.073Z] e1f770b5df2f: Pulling fs layer [2021-07-29T08:21:46.073Z] 85a0685a4137: Pulling fs layer [2021-07-29T08:21:46.073Z] 0eba1c9be4d2: Waiting [2021-07-29T08:21:46.073Z] 0d57e429df01: Waiting [2021-07-29T08:21:46.073Z] 4e4be7b47b0d: Waiting [2021-07-29T08:21:46.073Z] e1f770b5df2f: Waiting [2021-07-29T08:21:46.073Z] 85a0685a4137: Waiting [2021-07-29T08:21:46.073Z] de9db76c5a1d: Download complete [2021-07-29T08:21:46.338Z] 0ef7d3d256c8: Verifying Checksum [2021-07-29T08:21:46.338Z] 0ef7d3d256c8: Download complete [2021-07-29T08:21:46.338Z] 0d57e429df01: Verifying Checksum [2021-07-29T08:21:46.338Z] 0d57e429df01: Download complete [2021-07-29T08:21:46.338Z] 4e4be7b47b0d: Verifying Checksum [2021-07-29T08:21:46.338Z] 4e4be7b47b0d: Download complete [2021-07-29T08:21:46.638Z] 188c0c94c7c5: Verifying Checksum [2021-07-29T08:21:46.638Z] 188c0c94c7c5: Download complete [2021-07-29T08:21:46.638Z] 188c0c94c7c5: Pull complete [2021-07-29T08:21:46.906Z] 0ef7d3d256c8: Pull complete [2021-07-29T08:21:46.906Z] de9db76c5a1d: Pull complete [2021-07-29T08:21:50.252Z] e1f770b5df2f: Verifying Checksum [2021-07-29T08:21:50.252Z] e1f770b5df2f: Download complete [2021-07-29T08:21:54.514Z] 0eba1c9be4d2: Verifying Checksum [2021-07-29T08:21:54.514Z] 0eba1c9be4d2: Download complete [2021-07-29T08:21:55.104Z] 85a0685a4137: Verifying Checksum [2021-07-29T08:21:55.104Z] 85a0685a4137: Download complete [2021-07-29T08:21:57.067Z] 0eba1c9be4d2: Pull complete [2021-07-29T08:21:57.067Z] 0d57e429df01: Pull complete [2021-07-29T08:21:57.067Z] 4e4be7b47b0d: Pull complete [2021-07-29T08:21:57.652Z] e1f770b5df2f: Pull complete [2021-07-29T08:22:01.017Z] 85a0685a4137: Pull complete [2021-07-29T08:22:01.017Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-29T08:22:01.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T08:22:01.017Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-29T08:22:01.115Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:22:01.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-29T08:22:03.316Z] $ docker top 196f892b7af97d334ab0bb3dee54e8cf9109e01f76e7d463d70de692ac50d5f7 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-29T08:22:03.429Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-29T08:22:03.739Z] + set -o pipefail [2021-07-29T08:22:03.739Z] + snyk monitor '--org=edgex-jenkins' [2021-07-29T08:22:13.840Z] [2021-07-29T08:22:13.840Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-07-29T08:22:13.840Z] [2021-07-29T08:22:13.840Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/126dafc0-b759-4f8e-a043-2db98d3dc08c [2021-07-29T08:22:13.840Z] [2021-07-29T08:22:13.840Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-07-29T08:22:13.840Z] [2021-07-29T08:22:13.840Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-29T08:22:13.840Z] [2021-07-29T08:22:13.840Z] [Pipeline] } [2021-07-29T08:22:13.854Z] $ docker stop --time=1 196f892b7af97d334ab0bb3dee54e8cf9109e01f76e7d463d70de692ac50d5f7 [2021-07-29T08:22:15.927Z] $ docker rm -f 196f892b7af97d334ab0bb3dee54e8cf9109e01f76e7d463d70de692ac50d5f7 [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-07-29T08:22:17.080Z] + git log --format=format:%s -1 84f9f35e34861a9df1f963446ebe383a81eb0395 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:17.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:22:17.405Z] . [Pipeline] withDockerContainer [2021-07-29T08:22:17.497Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:22:17.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T08:22:17.968Z] $ docker top 3e7446cc4198f66e92507383aec7757219ee14f38fc57598272ce92f7e7436d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T08:22:18.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T08:22:18.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T08:22:18.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T08:22:18.218Z] $ docker exec 3e7446cc4198f66e92507383aec7757219ee14f38fc57598272ce92f7e7436d7 ssh-agent [2021-07-29T08:22:18.328Z] SSH_AUTH_SOCK=/tmp/ssh-HdpHSvUPeg74/agent.14 [2021-07-29T08:22:18.328Z] SSH_AGENT_PID=20 [2021-07-29T08:22:18.338Z] Running ssh-add (command line suppressed) [2021-07-29T08:22:18.432Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5880797432104376945.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5880797432104376945.key) [2021-07-29T08:22:18.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T08:22:18.796Z] + git semver tag [2021-07-29T08:22:18.796Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T08:22:18.796Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-29T08:22:18.796Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:22:18.796Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T08:22:18.796Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T08:22:18.796Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T08:22:18.796Z] # $SEMVER_BRANCH = main [2021-07-29T08:22:18.796Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-07-29T08:22:18.796Z] # 84f9f35e34861a9df1f963446ebe383a81eb0395 HEAD [2021-07-29T08:22:18.796Z] # -> Force: false [2021-07-29T08:22:18.796Z] # ec30937b1c1dc3f9d08e4535b7c7a8e11a6d14d6 refs/tags/v2.0.1-dev.1 [Pipeline] } [2021-07-29T08:22:18.807Z] $ docker exec --env ******** --env ******** 3e7446cc4198f66e92507383aec7757219ee14f38fc57598272ce92f7e7436d7 ssh-agent -k [2021-07-29T08:22:18.912Z] unset SSH_AUTH_SOCK; [2021-07-29T08:22:18.912Z] unset SSH_AGENT_PID; [2021-07-29T08:22:18.912Z] echo Agent pid 20 killed; [2021-07-29T08:22:18.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T08:22:19.286Z] + git semver [Pipeline] } [2021-07-29T08:22:19.303Z] $ docker stop --time=1 3e7446cc4198f66e92507383aec7757219ee14f38fc57598272ce92f7e7436d7 [2021-07-29T08:22:20.504Z] $ docker rm -f 3e7446cc4198f66e92507383aec7757219ee14f38fc57598272ce92f7e7436d7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:21.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T08:22:21.002Z] [2021-07-29T08:22:21.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:21.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T08:22:21.332Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-29T08:22:21.332Z] ab5ef0e58194: Pulling fs layer [2021-07-29T08:22:21.332Z] 9712f1f96733: Pulling fs layer [2021-07-29T08:22:21.332Z] 63f879dbbcfc: Pulling fs layer [2021-07-29T08:22:21.332Z] 0d9ebad4ef96: Pulling fs layer [2021-07-29T08:22:21.332Z] e9a5061849ea: Pulling fs layer [2021-07-29T08:22:21.332Z] d747dcd14b5f: Pulling fs layer [2021-07-29T08:22:21.332Z] 2de7ff778b66: Pulling fs layer [2021-07-29T08:22:21.332Z] 0d9ebad4ef96: Waiting [2021-07-29T08:22:21.332Z] e9a5061849ea: Waiting [2021-07-29T08:22:21.332Z] d747dcd14b5f: Waiting [2021-07-29T08:22:21.332Z] 2de7ff778b66: Waiting [2021-07-29T08:22:21.332Z] 9712f1f96733: Verifying Checksum [2021-07-29T08:22:21.332Z] 9712f1f96733: Download complete [2021-07-29T08:22:24.666Z] 63f879dbbcfc: Verifying Checksum [2021-07-29T08:22:24.667Z] 63f879dbbcfc: Download complete [2021-07-29T08:22:24.667Z] e9a5061849ea: Verifying Checksum [2021-07-29T08:22:24.667Z] e9a5061849ea: Download complete [2021-07-29T08:22:24.667Z] d747dcd14b5f: Verifying Checksum [2021-07-29T08:22:24.667Z] d747dcd14b5f: Download complete [2021-07-29T08:22:25.250Z] 2de7ff778b66: Verifying Checksum [2021-07-29T08:22:25.250Z] 2de7ff778b66: Download complete [2021-07-29T08:22:25.525Z] ab5ef0e58194: Verifying Checksum [2021-07-29T08:22:25.525Z] ab5ef0e58194: Download complete [2021-07-29T08:22:25.525Z] 0d9ebad4ef96: Verifying Checksum [2021-07-29T08:22:25.525Z] 0d9ebad4ef96: Download complete [2021-07-29T08:22:28.163Z] ab5ef0e58194: Pull complete [2021-07-29T08:22:28.163Z] 9712f1f96733: Pull complete [2021-07-29T08:22:28.757Z] 63f879dbbcfc: Pull complete [2021-07-29T08:22:32.159Z] 0d9ebad4ef96: Pull complete [2021-07-29T08:22:32.160Z] e9a5061849ea: Pull complete [2021-07-29T08:22:32.160Z] d747dcd14b5f: Pull complete [2021-07-29T08:22:33.117Z] 2de7ff778b66: Pull complete [2021-07-29T08:22:33.117Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-29T08:22:33.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T08:22:33.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-29T08:22:33.201Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:22:33.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-29T08:22:36.018Z] $ docker top 5ddc726d9902de16c4fbfe952d74d959e6c2ac3f522a8e1962d88aaa13f0ea7a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:22:36.133Z] provisioning config files... [2021-07-29T08:22:36.150Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4391402262415955451tmp [2021-07-29T08:22:36.173Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2058629881292807957tmp [2021-07-29T08:22:36.192Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4599601849823391506tmp [Pipeline] { [Pipeline] echo [2021-07-29T08:22:36.220Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:22:36.535Z] ---> sigul-configuration.sh [2021-07-29T08:22:36.535Z] gpg: directory `/root/.gnupg' created [2021-07-29T08:22:36.535Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-29T08:22:36.535Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-29T08:22:36.535Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-29T08:22:36.535Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-29T08:22:36.535Z] gpg: CAST5 encrypted data [2021-07-29T08:22:36.535Z] gpg: encrypted with 1 passphrase [2021-07-29T08:22:36.535Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-29T08:22:36.850Z] + mkdir /home/jenkins [2021-07-29T08:22:36.851Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-29T08:22:37.209Z] + 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-07-29T08:22:37.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:22:37.534Z] ---> sigul-install.sh [2021-07-29T08:22:37.534Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-29T08:22:37.853Z] + git tag --list [2021-07-29T08:22:37.853Z] 0.7.1 [2021-07-29T08:22:37.853Z] v1.0.0 [2021-07-29T08:22:37.853Z] v1.1.0 [2021-07-29T08:22:37.853Z] v1.1.1 [2021-07-29T08:22:37.853Z] v1.2.2 [2021-07-29T08:22:37.853Z] v1.3.0 [2021-07-29T08:22:37.853Z] v1.3.1 [2021-07-29T08:22:37.853Z] v2.0.0 [2021-07-29T08:22:37.853Z] v2.0.1-dev.1 [Pipeline] sh [2021-07-29T08:22:38.171Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-29T08:22:38.754Z] Signing Git tag with Sigul... [2021-07-29T08:22:38.754Z] Signing v2.0.1-dev.1 [Pipeline] echo [2021-07-29T08:22:39.729Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:22:40.039Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-29T08:22:40.050Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-29T08:22:40.076Z] $ docker stop --time=1 5ddc726d9902de16c4fbfe952d74d959e6c2ac3f522a8e1962d88aaa13f0ea7a [2021-07-29T08:22:41.277Z] $ docker rm -f 5ddc726d9902de16c4fbfe952d74d959e6c2ac3f522a8e1962d88aaa13f0ea7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:41.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:22:41.924Z] . [Pipeline] withDockerContainer [2021-07-29T08:22:42.013Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:22:42.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T08:22:42.424Z] $ docker top edf57f1e104ac7c954fb99efa51bb00ae7db240e944323901e14102cdf10d6c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T08:22:42.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T08:22:42.572Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T08:22:42.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T08:22:42.696Z] $ docker exec edf57f1e104ac7c954fb99efa51bb00ae7db240e944323901e14102cdf10d6c3 ssh-agent [2021-07-29T08:22:42.816Z] SSH_AUTH_SOCK=/tmp/ssh-Kux4BY1Jv1LJ/agent.14 [2021-07-29T08:22:42.816Z] SSH_AGENT_PID=21 [2021-07-29T08:22:42.824Z] Running ssh-add (command line suppressed) [2021-07-29T08:22:42.911Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8560144787215619089.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8560144787215619089.key) [2021-07-29T08:22:42.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T08:22:43.252Z] + git semver bump pre [2021-07-29T08:22:43.252Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T08:22:43.252Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-29T08:22:43.252Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:22:43.252Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T08:22:43.252Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T08:22:43.252Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T08:22:43.252Z] # $SEMVER_BRANCH = main [2021-07-29T08:22:43.252Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-07-29T08:22:43.252Z] 2.0.1-dev.2 [Pipeline] } [2021-07-29T08:22:43.265Z] $ docker exec --env ******** --env ******** edf57f1e104ac7c954fb99efa51bb00ae7db240e944323901e14102cdf10d6c3 ssh-agent -k [2021-07-29T08:22:43.362Z] unset SSH_AUTH_SOCK; [2021-07-29T08:22:43.362Z] unset SSH_AGENT_PID; [2021-07-29T08:22:43.362Z] echo Agent pid 21 killed; [2021-07-29T08:22:43.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T08:22:43.732Z] + git semver [Pipeline] } [2021-07-29T08:22:43.750Z] $ docker stop --time=1 edf57f1e104ac7c954fb99efa51bb00ae7db240e944323901e14102cdf10d6c3 [2021-07-29T08:22:44.938Z] $ docker rm -f edf57f1e104ac7c954fb99efa51bb00ae7db240e944323901e14102cdf10d6c3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:45.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T08:22:45.357Z] . [Pipeline] withDockerContainer [2021-07-29T08:22:45.734Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:22:46.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T08:22:46.533Z] $ docker top ff9197d4e878f3790827d8b5ef311dbdedb3dd079910c249d53aa7991d213095 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T08:22:46.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T08:22:46.666Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T08:22:46.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T08:22:46.788Z] $ docker exec ff9197d4e878f3790827d8b5ef311dbdedb3dd079910c249d53aa7991d213095 ssh-agent [2021-07-29T08:22:46.924Z] SSH_AUTH_SOCK=/tmp/ssh-mdVPHp84A1RV/agent.15 [2021-07-29T08:22:46.924Z] SSH_AGENT_PID=22 [2021-07-29T08:22:46.934Z] Running ssh-add (command line suppressed) [2021-07-29T08:22:47.034Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6528251507086912373.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6528251507086912373.key) [2021-07-29T08:22:47.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T08:22:47.377Z] + git semver push [2021-07-29T08:22:47.377Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T08:22:47.377Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-29T08:22:47.377Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:22:47.377Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T08:22:47.377Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T08:22:47.377Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T08:22:47.377Z] # $SEMVER_BRANCH = main [2021-07-29T08:22:47.377Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-07-29T08:22:52.755Z] $ docker exec --env ******** --env ******** ff9197d4e878f3790827d8b5ef311dbdedb3dd079910c249d53aa7991d213095 ssh-agent -k [2021-07-29T08:22:52.862Z] unset SSH_AUTH_SOCK; [2021-07-29T08:22:52.862Z] unset SSH_AGENT_PID; [2021-07-29T08:22:52.862Z] echo Agent pid 22 killed; [2021-07-29T08:22:52.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T08:22:53.231Z] + git semver [Pipeline] } [2021-07-29T08:22:53.249Z] $ docker stop --time=1 ff9197d4e878f3790827d8b5ef311dbdedb3dd079910c249d53aa7991d213095 [2021-07-29T08:22:54.448Z] $ docker rm -f ff9197d4e878f3790827d8b5ef311dbdedb3dd079910c249d53aa7991d213095 [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-07-29T08:22:55.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:22:56.162Z] ---> package-listing.sh [2021-07-29T08:22:56.162Z] ++ facter osfamily [2021-07-29T08:22:56.162Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-29T08:22:56.428Z] + OS_FAMILY=redhat [2021-07-29T08:22:56.428Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-07-29T08:22:56.428Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-29T08:22:56.428Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-29T08:22:56.428Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-29T08:22:56.428Z] + PACKAGES=/tmp/packages_start.txt [2021-07-29T08:22:56.428Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-29T08:22:56.428Z] + PACKAGES=/tmp/packages_end.txt [2021-07-29T08:22:56.428Z] + case "${OS_FAMILY}" in [2021-07-29T08:22:56.428Z] + sort [2021-07-29T08:22:56.428Z] + rpm -qa [2021-07-29T08:22:57.009Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-29T08:22:57.009Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-29T08:22:57.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-29T08:22:57.009Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-29T08:22:57.009Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-07-29T08:22:57.009Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2021-07-29T08:22:57.025Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-29T08:22:57.321Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:57.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:22:57.906Z] [2021-07-29T08:22:57.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T08:22:58.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:22:58.236Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T08:22:58.236Z] b4d181a07f80: Pulling fs layer [2021-07-29T08:22:58.236Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T08:22:58.236Z] ed53099fbce6: Pulling fs layer [2021-07-29T08:22:58.236Z] dc539afda2c1: Pulling fs layer [2021-07-29T08:22:58.236Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T08:22:58.236Z] 9065ff56babe: Pulling fs layer [2021-07-29T08:22:58.236Z] d287ab97295c: Pulling fs layer [2021-07-29T08:22:58.236Z] dc539afda2c1: Waiting [2021-07-29T08:22:58.236Z] 77bc0d833cb6: Waiting [2021-07-29T08:22:58.236Z] 9065ff56babe: Waiting [2021-07-29T08:22:58.236Z] d287ab97295c: Waiting [2021-07-29T08:22:58.502Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T08:22:58.502Z] a1111a8f2ec3: Download complete [2021-07-29T08:22:58.502Z] dc539afda2c1: Verifying Checksum [2021-07-29T08:22:58.502Z] dc539afda2c1: Download complete [2021-07-29T08:22:58.769Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T08:22:58.769Z] 77bc0d833cb6: Download complete [2021-07-29T08:22:58.769Z] 9065ff56babe: Verifying Checksum [2021-07-29T08:22:58.769Z] 9065ff56babe: Download complete [2021-07-29T08:22:59.034Z] ed53099fbce6: Verifying Checksum [2021-07-29T08:22:59.034Z] ed53099fbce6: Download complete [2021-07-29T08:22:59.616Z] b4d181a07f80: Verifying Checksum [2021-07-29T08:22:59.616Z] b4d181a07f80: Download complete [2021-07-29T08:23:00.581Z] b4d181a07f80: Pull complete [2021-07-29T08:23:00.862Z] a1111a8f2ec3: Pull complete [2021-07-29T08:23:01.461Z] ed53099fbce6: Pull complete [2021-07-29T08:23:01.461Z] dc539afda2c1: Pull complete [2021-07-29T08:23:01.728Z] 77bc0d833cb6: Pull complete [2021-07-29T08:23:01.728Z] 9065ff56babe: Pull complete [2021-07-29T08:23:03.137Z] d287ab97295c: Verifying Checksum [2021-07-29T08:23:03.137Z] d287ab97295c: Download complete [2021-07-29T08:23:07.411Z] d287ab97295c: Pull complete [2021-07-29T08:23:07.411Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T08:23:07.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T08:23:07.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T08:23:07.501Z] prd-centos7-docker-4c-2g-452 does not seem to be running inside a container [2021-07-29T08:23:07.558Z] $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T08:23:09.435Z] $ docker top a514488e98eaa0b0167d6f8226e032efa593581e90a58652025b383a9c5b4aa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T08:23:09.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-29T08:23:10.149Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-29T08:23:10.464Z] + ls /var/log/sa-host [2021-07-29T08:23:10.464Z] + sadf -c /var/log/sa-host/sa05 [2021-07-29T08:23:10.464Z] file_magic: OK [2021-07-29T08:23:10.464Z] HZ: Using current value: 100 [2021-07-29T08:23:10.464Z] file_header: OK [2021-07-29T08:23:10.464Z] 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-07-29T08:23:10.464Z] Statistics: [2021-07-29T08:23:10.464Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T08:23:10.464Z] File successfully converted to sysstat format version 12.0.3 [2021-07-29T08:23:10.464Z] + sadf -c /var/log/sa-host/sa29 [2021-07-29T08:23:10.464Z] file_magic: OK [2021-07-29T08:23:10.464Z] HZ: Using current value: 100 [2021-07-29T08:23:10.464Z] file_header: OK [2021-07-29T08:23:10.464Z] 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-07-29T08:23:10.464Z] Statistics: [2021-07-29T08:23:10.464Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T08:23:10.464Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T08:23:11.110Z] provisioning config files... [2021-07-29T08:23:11.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5562149091885583083tmp [Pipeline] { [Pipeline] echo [2021-07-29T08:23:11.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:23:11.465Z] ---> create-netrc.sh [Pipeline] } [2021-07-29T08:23:11.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:23:11.880Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-29T08:23:11.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:23:12.211Z] ---> sudo-logs.sh [2021-07-29T08:23:12.211Z] Archiving 'sudo' log.. [2021-07-29T08:23:12.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-452.vexxhost.local: Name or service not known [2021-07-29T08:23:12.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-452.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-29T08:23:12.248Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:23:12.559Z] ---> job-cost.sh [2021-07-29T08:23:12.559Z] lf-activate-venv: SKIPPING [2021-07-29T08:23:12.559Z] DEBUG: total: 0.18000000715255737 [2021-07-29T08:23:12.559Z] INFO: Retrieving Stack Cost... [2021-07-29T08:23:13.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T08:23:13.513Z] INFO: Archiving Costs [Pipeline] echo [2021-07-29T08:23:13.530Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T08:23:13.841Z] ---> logs-deploy.sh [2021-07-29T08:23:13.842Z] lf-activate-venv: SKIPPING [2021-07-29T08:23:13.842Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/2 [2021-07-29T08:23:13.842Z] INFO: archiving workspace using pattern(s): [2021-07-29T08:23:14.422Z] Archives upload complete. [2021-07-29T08:23:14.689Z] INFO: archiving logs to Nexus