Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a20fccc8043608f734de85e0db6a7c46f2827fe 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-ssh4714633313989651501.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh3243789851120632937.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh1935041463667675653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh4573966864565086690.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-ssh4751919545410627171.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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1107 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 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-ssh2798415463952993031.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5a20fccc8043608f734de85e0db6a7c46f2827fe (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a20fccc8043608f734de85e0db6a7c46f2827fe # timeout=10 Commit message: "Merge pull request #276 from soda480/US1908" > git rev-list --no-walk 84f9f35e34861a9df1f963446ebe383a81eb0395 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T22:37:35.712Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T22:37:35.802Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T22:37:35.830Z] ========================================================= [2021-07-30T22:37:35.830Z] EdgeX Global Pipelines Version Info [2021-07-30T22:37:35.830Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:37:37.062Z] ------------------- [2021-07-30T22:37:37.062Z] stable info: [2021-07-30T22:37:37.062Z] ------------------- [2021-07-30T22:37:37.062Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T22:37:37.062Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:37:37.062Z] Message: update stable to v1.0.199 [2021-07-30T22:37:37.645Z] ------------------- [2021-07-30T22:37:37.645Z] experimental info: [2021-07-30T22:37:37.645Z] ------------------- [2021-07-30T22:37:37.645Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T22:37:37.645Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:37:37.645Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T22:37:37.775Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-07-30T22:37:37.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-07-30T22:37:37.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T22:37:37.844Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T22:37:37.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T22:37:37.889Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T22:37:37.912Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T22:37:37.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T22:37:37.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-30T22:37:37.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T22:37:38.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T22:37:38.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T22:37:38.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-07-30T22:37:38.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T22:37:38.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T22:37:38.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:37:38.148Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:37:38.171Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:37:38.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:37:38.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T22:37:38.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-30T22:37:38.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-30T22:37:38.285Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-30T22:37:38.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T22:37:38.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T22:37:38.354Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T22:37:38.377Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T22:37:38.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-30T22:37:38.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-30T22:37:38.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-30T22:37:38.472Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] echo [2021-07-30T22:37:38.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a20fcc [Pipeline] echo [2021-07-30T22:37:38.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:37:38.615Z] provisioning config files... [2021-07-30T22:37:38.635Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1051274225521073982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:37:38.987Z] ---> docker-login.sh [2021-07-30T22:37:38.987Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:37:38.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:39.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:39.259Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:39.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:39.259Z] [2021-07-30T22:37:39.259Z] Login Succeeded [2021-07-30T22:37:39.259Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:37:39.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:39.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:39.259Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:39.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:39.259Z] [2021-07-30T22:37:39.259Z] Login Succeeded [2021-07-30T22:37:39.528Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:37:39.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:39.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:39.801Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:39.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:39.801Z] [2021-07-30T22:37:39.801Z] Login Succeeded [2021-07-30T22:37:39.801Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:37:39.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:40.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:40.069Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:40.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:40.069Z] [2021-07-30T22:37:40.069Z] Login Succeeded [2021-07-30T22:37:40.069Z] docker.io [2021-07-30T22:37:40.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:40.334Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:40.334Z] [2021-07-30T22:37:40.334Z] Login Succeeded [2021-07-30T22:37:40.334Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:37:40.349Z] 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-30T22:37:40.907Z] + git log --format=format:%s -1 5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] echo [2021-07-30T22:37:40.971Z] GIT_COMMIT: 5a20fccc8043608f734de85e0db6a7c46f2827fe, Commit Message: Merge pull request #276 from soda480/US1908 [Pipeline] echo [2021-07-30T22:37:40.992Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:37:41.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:37:41.618Z] [2021-07-30T22:37:41.618Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:37:41.954Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:37:41.954Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T22:37:41.954Z] 31603596830f: Pulling fs layer [2021-07-30T22:37:41.954Z] b6dc333f4379: Pulling fs layer [2021-07-30T22:37:41.954Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T22:37:41.954Z] fd332fbdc1db: Pulling fs layer [2021-07-30T22:37:41.954Z] fd332fbdc1db: Waiting [2021-07-30T22:37:41.954Z] b6dc333f4379: Verifying Checksum [2021-07-30T22:37:41.954Z] b6dc333f4379: Download complete [2021-07-30T22:37:42.220Z] 31603596830f: Verifying Checksum [2021-07-30T22:37:42.220Z] 31603596830f: Download complete [2021-07-30T22:37:42.220Z] fd332fbdc1db: Verifying Checksum [2021-07-30T22:37:42.220Z] fd332fbdc1db: Download complete [2021-07-30T22:37:42.487Z] 31603596830f: Pull complete [2021-07-30T22:37:42.487Z] b6dc333f4379: Pull complete [2021-07-30T22:37:42.487Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T22:37:42.487Z] 3d9ef1400e77: Download complete [2021-07-30T22:37:43.083Z] 3d9ef1400e77: Pull complete [2021-07-30T22:37:43.350Z] fd332fbdc1db: Pull complete [2021-07-30T22:37:43.350Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T22:37:43.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:37:43.350Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T22:37:43.443Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:37:43.502Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:37:44.333Z] $ docker top f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:37:44.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:37:44.464Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:37:44.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:37:44.590Z] $ docker exec f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c ssh-agent [2021-07-30T22:37:44.712Z] SSH_AUTH_SOCK=/tmp/ssh-SBdaNtpFtfBj/agent.15 [2021-07-30T22:37:44.712Z] SSH_AGENT_PID=22 [2021-07-30T22:37:44.750Z] Running ssh-add (command line suppressed) [2021-07-30T22:37:44.849Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_189097258412846342.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_189097258412846342.key) [2021-07-30T22:37:44.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:37:45.185Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T22:37:45.206Z] $ docker exec --env ******** --env ******** f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c ssh-agent -k [2021-07-30T22:37:45.301Z] unset SSH_AUTH_SOCK; [2021-07-30T22:37:45.301Z] unset SSH_AGENT_PID; [2021-07-30T22:37:45.301Z] echo Agent pid 22 killed; [2021-07-30T22:37:45.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T22:37:45.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:37:45.372Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:37:45.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:37:45.487Z] $ docker exec f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c ssh-agent [2021-07-30T22:37:45.597Z] SSH_AUTH_SOCK=/tmp/ssh-oUy3haygooWY/agent.55 [2021-07-30T22:37:45.597Z] SSH_AGENT_PID=62 [2021-07-30T22:37:45.606Z] Running ssh-add (command line suppressed) [2021-07-30T22:37:45.706Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5103219925283831513.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5103219925283831513.key) [2021-07-30T22:37:45.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:37:46.049Z] + git semver init [2021-07-30T22:37:46.049Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:37:46.049Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-30T22:37:46.049Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:37:46.049Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:37:46.049Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:37:46.049Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:37:46.049Z] # $SEMVER_BRANCH = main [2021-07-30T22:37:46.049Z] # $SEMVER_TEMP = /tmp/semver-380401046 [2021-07-30T22:37:46.049Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-07-30T22:37:46.636Z] # '/tmp/semver-380401046' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-07-30T22:37:46.636Z] # -> Force: false [2021-07-30T22:37:46.636Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-07-30T22:37:46.651Z] $ docker exec --env ******** --env ******** f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c ssh-agent -k [2021-07-30T22:37:46.751Z] unset SSH_AUTH_SOCK; [2021-07-30T22:37:46.752Z] unset SSH_AGENT_PID; [2021-07-30T22:37:46.752Z] echo Agent pid 62 killed; [2021-07-30T22:37:46.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:37:47.114Z] + git semver [Pipeline] } [2021-07-30T22:37:47.135Z] $ docker stop --time=1 f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c [2021-07-30T22:37:48.374Z] $ docker rm -f f89011aea24e8931aaa3f9b04ceef33f6c3954cb55b96ed3608d706d1a6d7a7c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:37:48.756Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T22:37:49.305Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T22:37:49.308Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.2 [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-30T22:38:04.520Z] Still waiting to schedule task [2021-07-30T22:38:04.520Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T22:38:04.521Z] ‘prd-centos7-docker-4c-2g-1100’ is offline [2021-07-30T22:38:04.521Z] ‘prd-centos7-docker-4c-2g-1110’ is offline [2021-07-30T22:38:04.521Z] ‘prd-centos7-docker-4c-2g-1112’ is offline [2021-07-30T22:38:04.521Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1106’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T22:38:04.523Z] Still waiting to schedule task [2021-07-30T22:38:04.523Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:04.523Z] ‘prd-centos7-docker-4c-2g-1100’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:04.523Z] ‘prd-centos7-docker-4c-2g-1110’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:04.523Z] ‘prd-centos7-docker-4c-2g-1112’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:04.524Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1106’ is offline [2021-07-30T22:39:07.731Z] Running on prd-centos7-docker-4c-2g-1117 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:39:07.749Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2021-07-30T22:39:07.899Z] Selected Git installation does not exist. Using Default [2021-07-30T22:39:07.899Z] The recommended git tool is: NONE [2021-07-30T22:39:11.146Z] using credential edgex-jenkins-ssh [2021-07-30T22:39:11.169Z] Cloning the remote Git repository [2021-07-30T22:39:11.143Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-30T22:39:11.953Z] Avoid second fetch [2021-07-30T22:39:11.954Z] Checking out Revision 5a20fccc8043608f734de85e0db6a7c46f2827fe (main) [2021-07-30T22:39:11.226Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2021-07-30T22:39:11.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-30T22:39:11.266Z] > git --version # timeout=10 [2021-07-30T22:39:11.275Z] > git --version # 'git version 2.24.4' [2021-07-30T22:39:11.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:39:11.304Z] [INFO] Currently running in a labeled security context [2021-07-30T22:39:11.304Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T22:39:11.304Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/3@tmp/jenkins-gitclient-ssh6145821056484113218.key [2021-07-30T22:39:11.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:11.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-30T22:39:11.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:11.960Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:39:11.971Z] > git checkout -f 5a20fccc8043608f734de85e0db6a7c46f2827fe # timeout=10 [2021-07-30T22:39:15.936Z] Commit message: "Merge pull request #276 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:39:16.330Z] provisioning config files... [2021-07-30T22:39:16.356Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5787139392148848966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:39:16.800Z] ---> docker-login.sh [2021-07-30T22:39:16.801Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:39:16.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:17.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:17.080Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:17.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:17.080Z] [2021-07-30T22:39:17.080Z] Login Succeeded [2021-07-30T22:39:17.080Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:39:17.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:17.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:17.080Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:17.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:17.080Z] [2021-07-30T22:39:17.080Z] Login Succeeded [2021-07-30T22:39:17.080Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:39:17.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:17.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:17.357Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:17.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:17.357Z] [2021-07-30T22:39:17.357Z] Login Succeeded [2021-07-30T22:39:17.357Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:39:17.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:17.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:17.627Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:17.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:17.627Z] [2021-07-30T22:39:17.627Z] Login Succeeded [2021-07-30T22:39:17.627Z] docker.io [2021-07-30T22:39:17.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:17.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:17.907Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:17.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:17.907Z] [2021-07-30T22:39:17.907Z] Login Succeeded [2021-07-30T22:39:17.907Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:39:17.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:39:18.490Z] ========================================================= [2021-07-30T22:39:18.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T22:39:18.490Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:18.895Z] + 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-30T22:39:18.896Z] Sending build context to Docker daemon 626.7kB [2021-07-30T22:39:18.896Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:39:18.896Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:39:20.310Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T22:39:20.310Z] 540db60ca938: Pulling fs layer [2021-07-30T22:39:20.310Z] adcc1eea9eea: Pulling fs layer [2021-07-30T22:39:20.310Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T22:39:20.310Z] 0773c198feca: Pulling fs layer [2021-07-30T22:39:20.310Z] 345f892a5656: Pulling fs layer [2021-07-30T22:39:20.310Z] 4796506630df: Pulling fs layer [2021-07-30T22:39:20.310Z] cc55df3e53f1: Pulling fs layer [2021-07-30T22:39:20.310Z] 4d027b6c602c: Pulling fs layer [2021-07-30T22:39:20.310Z] 449e75d2c14e: Pulling fs layer [2021-07-30T22:39:20.310Z] 4796506630df: Waiting [2021-07-30T22:39:20.310Z] cc55df3e53f1: Waiting [2021-07-30T22:39:20.310Z] 4d027b6c602c: Waiting [2021-07-30T22:39:20.310Z] 449e75d2c14e: Waiting [2021-07-30T22:39:20.310Z] 0773c198feca: Waiting [2021-07-30T22:39:20.310Z] 345f892a5656: Waiting [2021-07-30T22:39:20.310Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T22:39:20.310Z] 4c4ab2625f07: Download complete [2021-07-30T22:39:20.310Z] adcc1eea9eea: Verifying Checksum [2021-07-30T22:39:20.310Z] adcc1eea9eea: Download complete [2021-07-30T22:39:20.310Z] 345f892a5656: Verifying Checksum [2021-07-30T22:39:20.310Z] 345f892a5656: Download complete [2021-07-30T22:39:20.310Z] 4796506630df: Verifying Checksum [2021-07-30T22:39:20.310Z] 4796506630df: Download complete [2021-07-30T22:39:20.310Z] cc55df3e53f1: Verifying Checksum [2021-07-30T22:39:20.310Z] cc55df3e53f1: Download complete [2021-07-30T22:39:20.581Z] 540db60ca938: Verifying Checksum [2021-07-30T22:39:20.582Z] 540db60ca938: Download complete [2021-07-30T22:39:20.582Z] 540db60ca938: Pull complete [2021-07-30T22:39:20.848Z] adcc1eea9eea: Pull complete [2021-07-30T22:39:20.848Z] 4c4ab2625f07: Pull complete [2021-07-30T22:39:21.116Z] 4d027b6c602c: Verifying Checksum [2021-07-30T22:39:21.116Z] 4d027b6c602c: Download complete [2021-07-30T22:39:27.783Z] 449e75d2c14e: Verifying Checksum [2021-07-30T22:39:27.783Z] 449e75d2c14e: Download complete [2021-07-30T22:39:28.378Z] 0773c198feca: Verifying Checksum [2021-07-30T22:39:28.378Z] 0773c198feca: Download complete [2021-07-30T22:39:31.798Z] 0773c198feca: Pull complete [2021-07-30T22:39:32.073Z] 345f892a5656: Pull complete [2021-07-30T22:39:32.073Z] 4796506630df: Pull complete [2021-07-30T22:39:32.073Z] cc55df3e53f1: Pull complete [2021-07-30T22:39:32.342Z] 4d027b6c602c: Pull complete [2021-07-30T22:39:34.329Z] 449e75d2c14e: Pull complete [2021-07-30T22:39:34.329Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T22:39:34.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T22:39:34.329Z] ---> 0d28375d9b5b [2021-07-30T22:39:34.329Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-30T22:39:35.789Z] ---> Running in d7489dc2eda5 [2021-07-30T22:39:35.789Z] Removing intermediate container d7489dc2eda5 [2021-07-30T22:39:35.789Z] ---> 7c6b51248973 [2021-07-30T22:39:35.789Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:39:35.789Z] ---> Running in 491174c314f1 [2021-07-30T22:39:36.059Z] Removing intermediate container 491174c314f1 [2021-07-30T22:39:36.059Z] ---> b8aa52505d77 [2021-07-30T22:39:36.059Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:39:36.331Z] ---> Running in 31aa17b6715f [2021-07-30T22:39:36.601Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:38.012Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:38.596Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-30T22:39:38.862Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-30T22:39:38.862Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-30T22:39:38.862Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:39:39.129Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:39:39.129Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-30T22:39:39.129Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:39:40.089Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-30T22:39:40.089Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-30T22:39:40.089Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-30T22:39:40.355Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-30T22:39:40.940Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-30T22:39:40.940Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:39:41.207Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:39:41.207Z] OK: 156 MiB in 53 packages [2021-07-30T22:39:41.473Z] Removing intermediate container 31aa17b6715f [2021-07-30T22:39:41.473Z] ---> 976bfaec08a1 [2021-07-30T22:39:41.473Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-30T22:39:41.473Z] ---> Running in d6a91aadcf9b [2021-07-30T22:39:41.740Z] Removing intermediate container d6a91aadcf9b [2021-07-30T22:39:41.740Z] ---> 5397663ccf89 [2021-07-30T22:39:41.740Z] Step 7/8 : COPY . . [2021-07-30T22:39:42.010Z] ---> 250e125dc9d5 [2021-07-30T22:39:42.010Z] Step 8/8 : RUN go mod download [2021-07-30T22:39:42.010Z] ---> Running in 5dc7a23194a5 [2021-07-30T22:39:54.341Z] Removing intermediate container 5dc7a23194a5 [2021-07-30T22:39:54.341Z] ---> 1398ce7c8a3d [2021-07-30T22:39:54.341Z] Successfully built 1398ce7c8a3d [2021-07-30T22:39:54.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:54.683Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:39:54.683Z] . [Pipeline] withDockerContainer [2021-07-30T22:39:54.781Z] prd-centos7-docker-4c-2g-1117 does not seem to be running inside a container [2021-07-30T22:39:54.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:39:55.213Z] $ docker top 402b0d229c68e7cc3572fac912bab0916681d5ea61633a16738813ea25c3b86e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:39:55.644Z] + go version [2021-07-30T22:39:55.644Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T22:39:55.659Z] $ docker stop --time=1 402b0d229c68e7cc3572fac912bab0916681d5ea61633a16738813ea25c3b86e [2021-07-30T22:39:56.852Z] $ docker rm -f 402b0d229c68e7cc3572fac912bab0916681d5ea61633a16738813ea25c3b86e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:57.419Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:39:57.419Z] . [Pipeline] withDockerContainer [2021-07-30T22:39:57.512Z] prd-centos7-docker-4c-2g-1117 does not seem to be running inside a container [2021-07-30T22:39:57.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:39:58.008Z] $ docker top 351d3ade6149b9f4bd6325f07dbd56995c93545d24d9360f0c955bdd4428f545 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:39:58.422Z] + go mod tidy [Pipeline] sh [2021-07-30T22:39:59.081Z] + make test [2021-07-30T22:39:59.081Z] go mod tidy [2021-07-30T22:39:59.081Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-30T22:39:59.679Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-07-30T22:40:14.770Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-30T22:40:14.770Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2021-07-30T22:40:14.770Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:40:23.053Z] gofmt -l . [2021-07-30T22:40:23.053Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:40:23.053Z] ./bin/test-attribution-txt.sh [2021-07-30T22:40:23.053Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:40:23.066Z] $ docker stop --time=1 351d3ade6149b9f4bd6325f07dbd56995c93545d24d9360f0c955bdd4428f545 [2021-07-30T22:40:24.591Z] $ docker rm -f 351d3ade6149b9f4bd6325f07dbd56995c93545d24d9360f0c955bdd4428f545 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:40:25.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:40:25.297Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T22:40:30.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:40:31.105Z] + ls -al . [2021-07-30T22:40:31.105Z] total 120 [2021-07-30T22:40:31.105Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 30 22:40 . [2021-07-30T22:40:31.105Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 22:39 .. [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jul 30 22:39 Attribution.txt [2021-07-30T22:40:31.105Z] drwxrwxr-x. 2 jenkins jenkins 87 Jul 30 22:39 bin [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jul 30 22:39 CHANGELOG.md [2021-07-30T22:40:31.105Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 22:39 cmd [2021-07-30T22:40:31.105Z] -rw-r--r--. 1 jenkins jenkins 22385 Jul 30 22:40 coverage.out [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jul 30 22:39 Dockerfile [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 995 Jul 30 22:39 Dockerfile.build [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 30 22:39 .dockerignore [2021-07-30T22:40:31.105Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 30 22:39 .git [2021-07-30T22:40:31.105Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 22:39 .github [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 338 Jul 30 22:39 .gitignore [2021-07-30T22:40:31.105Z] -rw-r--r--. 1 jenkins jenkins 414 Jul 30 22:40 go.mod [2021-07-30T22:40:31.105Z] -rw-r--r--. 1 jenkins jenkins 21529 Jul 30 22:39 go.sum [2021-07-30T22:40:31.105Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 30 22:39 internal [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 679 Jul 30 22:39 Jenkinsfile [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 22:39 LICENSE [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 914 Jul 30 22:39 Makefile [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 2891 Jul 30 22:39 README.md [2021-07-30T22:40:31.105Z] drwxrwxr-x. 2 jenkins jenkins 52 Jul 30 22:39 simulator [2021-07-30T22:40:31.105Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 22:39 snap [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 30 22:37 VERSION [2021-07-30T22:40:31.105Z] -rw-rw-r--. 1 jenkins jenkins 229 Jul 30 22:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:31.430Z] + 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=5a20fccc8043608f734de85e0db6a7c46f2827fe --label arch=amd64 --label version=2.0.1-dev.2 . [2021-07-30T22:40:31.430Z] Sending build context to Docker daemon 649.7kB [2021-07-30T22:40:31.430Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:40:31.430Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-30T22:40:31.430Z] ---> 1398ce7c8a3d [2021-07-30T22:40:31.430Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:40:31.430Z] ---> Running in f63f16d844e2 [2021-07-30T22:40:32.030Z] Removing intermediate container f63f16d844e2 [2021-07-30T22:40:32.030Z] ---> 9223b001ad3f [2021-07-30T22:40:32.030Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:40:32.030Z] ---> Running in 5adb3b0ad492 [2021-07-30T22:40:32.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:33.258Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:33.527Z] OK: 156 MiB in 53 packages [2021-07-30T22:40:33.794Z] Removing intermediate container 5adb3b0ad492 [2021-07-30T22:40:33.794Z] ---> d0c555098cbc [2021-07-30T22:40:33.794Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-30T22:40:33.794Z] ---> Running in 5b0f24188afa [2021-07-30T22:40:34.062Z] Removing intermediate container 5b0f24188afa [2021-07-30T22:40:34.062Z] ---> 1d102c79ce5d [2021-07-30T22:40:34.062Z] Step 6/22 : COPY . . [2021-07-30T22:40:34.062Z] ---> 1042163f7cec [2021-07-30T22:40:34.062Z] Step 7/22 : RUN go mod tidy [2021-07-30T22:40:34.062Z] ---> Running in a72351d5a874 [2021-07-30T22:40:35.033Z] Removing intermediate container a72351d5a874 [2021-07-30T22:40:35.033Z] ---> 43ae9b839788 [2021-07-30T22:40:35.033Z] Step 8/22 : RUN go mod download [2021-07-30T22:40:35.033Z] ---> Running in 32047c1232d2 [2021-07-30T22:40:35.301Z] Removing intermediate container 32047c1232d2 [2021-07-30T22:40:35.301Z] ---> 684ee3e127fd [2021-07-30T22:40:35.301Z] Step 9/22 : RUN make build [2021-07-30T22:40:35.301Z] ---> Running in d5484505c4c2 [2021-07-30T22:40:35.578Z] go mod tidy [2021-07-30T22:40:35.850Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.2" -o cmd/device-modbus ./cmd [2021-07-30T22:40:48.241Z] Removing intermediate container d5484505c4c2 [2021-07-30T22:40:48.241Z] ---> 4b85bfdd2594 [2021-07-30T22:40:48.241Z] Step 10/22 : FROM alpine:3.12 [2021-07-30T22:40:48.241Z] 3.12: Pulling from library/alpine [2021-07-30T22:40:48.241Z] 339de151aab4: Pulling fs layer [2021-07-30T22:40:48.241Z] 339de151aab4: Verifying Checksum [2021-07-30T22:40:48.241Z] 339de151aab4: Download complete [2021-07-30T22:40:48.241Z] 339de151aab4: Pull complete [2021-07-30T22:40:48.241Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:40:48.532Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:40:48.532Z] ---> 13621d1b12d4 [2021-07-30T22:40:48.532Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-30T22:40:48.532Z] ---> Running in de26d20cea58 [2021-07-30T22:40:48.532Z] Removing intermediate container de26d20cea58 [2021-07-30T22:40:48.532Z] ---> d683bd22127c [2021-07-30T22:40:48.532Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:40:48.532Z] ---> Running in 6ce39e442e53 [2021-07-30T22:40:49.121Z] Removing intermediate container 6ce39e442e53 [2021-07-30T22:40:49.121Z] ---> a552236abb06 [2021-07-30T22:40:49.121Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:40:49.121Z] ---> Running in c55b36e068e9 [2021-07-30T22:40:49.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:49.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:50.243Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:40:50.509Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:40:50.509Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:40:50.509Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:40:51.468Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:40:51.468Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:40:51.468Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:40:51.468Z] OK: 8 MiB in 20 packages [2021-07-30T22:40:52.053Z] Removing intermediate container c55b36e068e9 [2021-07-30T22:40:52.053Z] ---> 53ef150c72a4 [2021-07-30T22:40:52.053Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-30T22:40:52.322Z] ---> 838c53b29777 [2021-07-30T22:40:52.322Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-30T22:40:52.322Z] ---> 9b9c0d4bab53 [2021-07-30T22:40:52.322Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-30T22:40:52.588Z] ---> 5447d36e203b [2021-07-30T22:40:52.588Z] Step 17/22 : EXPOSE 59901 [2021-07-30T22:40:52.588Z] ---> Running in 59b49eb8b786 [2021-07-30T22:40:52.588Z] Removing intermediate container 59b49eb8b786 [2021-07-30T22:40:52.588Z] ---> 70106a920697 [2021-07-30T22:40:52.588Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-30T22:40:52.854Z] ---> Running in 68e1e89f1d9f [2021-07-30T22:40:52.854Z] Removing intermediate container 68e1e89f1d9f [2021-07-30T22:40:52.854Z] ---> f442983617ea [2021-07-30T22:40:52.854Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:40:52.854Z] ---> Running in cfeee86aba9c [2021-07-30T22:40:52.854Z] Removing intermediate container cfeee86aba9c [2021-07-30T22:40:52.854Z] ---> b6e4dd6ba63d [2021-07-30T22:40:52.854Z] Step 20/22 : LABEL arch=amd64 [2021-07-30T22:40:53.127Z] ---> Running in e9556b2743db [2021-07-30T22:40:53.127Z] Removing intermediate container e9556b2743db [2021-07-30T22:40:53.127Z] ---> 6d11db030a77 [2021-07-30T22:40:53.127Z] Step 21/22 : LABEL git_sha=5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:40:53.127Z] ---> Running in e794bdf9c39a [2021-07-30T22:40:53.127Z] Removing intermediate container e794bdf9c39a [2021-07-30T22:40:53.127Z] ---> a94cad002410 [2021-07-30T22:40:53.127Z] Step 22/22 : LABEL version=2.0.1-dev.2 [2021-07-30T22:40:53.127Z] ---> Running in c8ca6f9536c1 [2021-07-30T22:40:53.393Z] Removing intermediate container c8ca6f9536c1 [2021-07-30T22:40:53.393Z] ---> dd4a8a82920b [2021-07-30T22:40:53.393Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-30T22:40:53.393Z] Successfully built dd4a8a82920b [2021-07-30T22:40:53.393Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:40:53.570Z] provisioning config files... [2021-07-30T22:40:53.588Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config4374579310896718247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:40:53.938Z] ---> docker-login.sh [2021-07-30T22:40:53.938Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:40:53.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:53.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:53.938Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:53.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:53.938Z] [2021-07-30T22:40:53.938Z] Login Succeeded [2021-07-30T22:40:53.938Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:40:53.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:54.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:54.521Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:54.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:54.521Z] [2021-07-30T22:40:54.521Z] Login Succeeded [2021-07-30T22:40:54.521Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:40:54.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:54.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:54.521Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:54.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:54.521Z] [2021-07-30T22:40:54.521Z] Login Succeeded [2021-07-30T22:40:54.521Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:40:54.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:54.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:54.787Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:54.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:54.787Z] [2021-07-30T22:40:54.787Z] Login Succeeded [2021-07-30T22:40:54.787Z] docker.io [2021-07-30T22:40:54.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:55.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:55.056Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:55.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:55.056Z] [2021-07-30T22:40:55.056Z] Login Succeeded [2021-07-30T22:40:55.056Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:40:55.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:40:55.146Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-07-30T22:40:55.146Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:40:55.146Z] latest [2021-07-30T22:40:55.146Z] 2.0.1-dev.2 [2021-07-30T22:40:55.146Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:40:55.146Z] main [2021-07-30T22:40:55.146Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:55.532Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:55.885Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:40:55.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-30T22:40:55.885Z] 1bc5f2b2bfe0: Preparing [2021-07-30T22:40:55.885Z] 1ae5112cc2f8: Preparing [2021-07-30T22:40:55.885Z] 4724bc69dd37: Preparing [2021-07-30T22:40:55.885Z] ca0706d6ba43: Preparing [2021-07-30T22:40:55.885Z] 5a2f295d687f: Preparing [2021-07-30T22:40:55.885Z] 32f366d666a5: Preparing [2021-07-30T22:40:55.885Z] 32f366d666a5: Waiting [2021-07-30T22:40:56.845Z] 1bc5f2b2bfe0: Pushed [2021-07-30T22:40:56.845Z] 32f366d666a5: Layer already exists [2021-07-30T22:40:56.845Z] 5a2f295d687f: Pushed [2021-07-30T22:40:56.845Z] ca0706d6ba43: Pushed [2021-07-30T22:40:56.845Z] 1ae5112cc2f8: Pushed [2021-07-30T22:40:57.808Z] 4724bc69dd37: Pushed [2021-07-30T22:40:57.809Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe: digest: sha256:b1ca647738d33d132f9c7dce6d47de563a58ad581a79797dce869f3ff31c1e41 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:58.151Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:58.484Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-30T22:40:58.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-30T22:40:58.484Z] 1bc5f2b2bfe0: Preparing [2021-07-30T22:40:58.484Z] 1ae5112cc2f8: Preparing [2021-07-30T22:40:58.484Z] 4724bc69dd37: Preparing [2021-07-30T22:40:58.484Z] ca0706d6ba43: Preparing [2021-07-30T22:40:58.484Z] 5a2f295d687f: Preparing [2021-07-30T22:40:58.484Z] 32f366d666a5: Preparing [2021-07-30T22:40:58.484Z] 32f366d666a5: Waiting [2021-07-30T22:40:58.484Z] ca0706d6ba43: Layer already exists [2021-07-30T22:40:58.484Z] 1bc5f2b2bfe0: Layer already exists [2021-07-30T22:40:58.484Z] 1ae5112cc2f8: Layer already exists [2021-07-30T22:40:58.484Z] 5a2f295d687f: Layer already exists [2021-07-30T22:40:58.484Z] 4724bc69dd37: Layer already exists [2021-07-30T22:40:58.484Z] 32f366d666a5: Layer already exists [2021-07-30T22:40:58.750Z] latest: digest: sha256:b1ca647738d33d132f9c7dce6d47de563a58ad581a79797dce869f3ff31c1e41 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:59.076Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:59.404Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.2 [2021-07-30T22:40:59.404Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-30T22:40:59.404Z] 1bc5f2b2bfe0: Preparing [2021-07-30T22:40:59.404Z] 1ae5112cc2f8: Preparing [2021-07-30T22:40:59.404Z] 4724bc69dd37: Preparing [2021-07-30T22:40:59.404Z] ca0706d6ba43: Preparing [2021-07-30T22:40:59.404Z] 5a2f295d687f: Preparing [2021-07-30T22:40:59.404Z] 32f366d666a5: Preparing [2021-07-30T22:40:59.404Z] 32f366d666a5: Waiting [2021-07-30T22:40:59.404Z] 1bc5f2b2bfe0: Layer already exists [2021-07-30T22:40:59.404Z] 4724bc69dd37: Layer already exists [2021-07-30T22:40:59.404Z] 5a2f295d687f: Layer already exists [2021-07-30T22:40:59.404Z] 1ae5112cc2f8: Layer already exists [2021-07-30T22:40:59.404Z] ca0706d6ba43: Layer already exists [2021-07-30T22:40:59.404Z] 32f366d666a5: Layer already exists [2021-07-30T22:40:59.404Z] 2.0.1-dev.2: digest: sha256:b1ca647738d33d132f9c7dce6d47de563a58ad581a79797dce869f3ff31c1e41 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:59.736Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:00.074Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:41:00.075Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-30T22:41:00.075Z] 1bc5f2b2bfe0: Preparing [2021-07-30T22:41:00.075Z] 1ae5112cc2f8: Preparing [2021-07-30T22:41:00.075Z] 4724bc69dd37: Preparing [2021-07-30T22:41:00.075Z] ca0706d6ba43: Preparing [2021-07-30T22:41:00.075Z] 5a2f295d687f: Preparing [2021-07-30T22:41:00.075Z] 32f366d666a5: Preparing [2021-07-30T22:41:00.075Z] 32f366d666a5: Waiting [2021-07-30T22:41:00.075Z] ca0706d6ba43: Layer already exists [2021-07-30T22:41:00.075Z] 4724bc69dd37: Layer already exists [2021-07-30T22:41:00.075Z] 5a2f295d687f: Layer already exists [2021-07-30T22:41:00.075Z] 1ae5112cc2f8: Layer already exists [2021-07-30T22:41:00.075Z] 1bc5f2b2bfe0: Layer already exists [2021-07-30T22:41:00.075Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:00.075Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2: digest: sha256:b1ca647738d33d132f9c7dce6d47de563a58ad581a79797dce869f3ff31c1e41 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:00.427Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:00.821Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-07-30T22:41:00.821Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-30T22:41:00.821Z] 1bc5f2b2bfe0: Preparing [2021-07-30T22:41:00.821Z] 1ae5112cc2f8: Preparing [2021-07-30T22:41:00.821Z] 4724bc69dd37: Preparing [2021-07-30T22:41:00.821Z] ca0706d6ba43: Preparing [2021-07-30T22:41:00.821Z] 5a2f295d687f: Preparing [2021-07-30T22:41:00.821Z] 32f366d666a5: Preparing [2021-07-30T22:41:00.821Z] 32f366d666a5: Waiting [2021-07-30T22:41:00.821Z] 4724bc69dd37: Layer already exists [2021-07-30T22:41:00.821Z] ca0706d6ba43: Layer already exists [2021-07-30T22:41:00.821Z] 1bc5f2b2bfe0: Layer already exists [2021-07-30T22:41:00.821Z] 1ae5112cc2f8: Layer already exists [2021-07-30T22:41:00.821Z] 5a2f295d687f: Layer already exists [2021-07-30T22:41:00.821Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:00.821Z] main: digest: sha256:b1ca647738d33d132f9c7dce6d47de563a58ad581a79797dce869f3ff31c1e41 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:41:00.882Z] ===================================================== [Pipeline] echo [2021-07-30T22:41:00.898Z] taggedImages: [2021-07-30T22:41:00.898Z] - nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:41:00.898Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-30T22:41:00.898Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.2 [2021-07-30T22:41:00.898Z] - nexus3.edgexfoundry.org:10004/device-modbus:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:41:00.898Z] - 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-30T22:41:01.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:41:01.500Z] [2021-07-30T22:41:01.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:01.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:41:01.857Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:41:01.857Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:41:01.857Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:41:01.857Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:41:01.857Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:41:01.857Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:41:01.857Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:41:01.857Z] d287ab97295c: Pulling fs layer [2021-07-30T22:41:01.857Z] dc539afda2c1: Waiting [2021-07-30T22:41:01.857Z] 77bc0d833cb6: Waiting [2021-07-30T22:41:01.857Z] 9065ff56babe: Waiting [2021-07-30T22:41:01.857Z] d287ab97295c: Waiting [2021-07-30T22:41:02.127Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:41:02.127Z] a1111a8f2ec3: Download complete [2021-07-30T22:41:02.395Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:41:02.395Z] dc539afda2c1: Download complete [2021-07-30T22:41:02.395Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:41:02.395Z] ed53099fbce6: Download complete [2021-07-30T22:41:02.662Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:41:02.662Z] 9065ff56babe: Download complete [2021-07-30T22:41:02.662Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:41:02.662Z] 77bc0d833cb6: Download complete [2021-07-30T22:41:03.626Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:41:03.626Z] b4d181a07f80: Download complete [2021-07-30T22:41:04.601Z] b4d181a07f80: Pull complete [2021-07-30T22:41:04.602Z] a1111a8f2ec3: Pull complete [2021-07-30T22:41:05.195Z] ed53099fbce6: Pull complete [2021-07-30T22:41:05.195Z] dc539afda2c1: Pull complete [2021-07-30T22:41:05.464Z] 77bc0d833cb6: Pull complete [2021-07-30T22:41:05.464Z] 9065ff56babe: Pull complete [2021-07-30T22:41:08.066Z] d287ab97295c: Verifying Checksum [2021-07-30T22:41:08.066Z] d287ab97295c: Download complete [2021-07-30T22:41:12.369Z] d287ab97295c: Pull complete [2021-07-30T22:41:12.369Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:41:12.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:41:12.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:41:12.522Z] prd-centos7-docker-4c-2g-1117 does not seem to be running inside a container [2021-07-30T22:41:12.600Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:41:15.391Z] $ docker top 4c94f062b303d57aba3a175fe325b66776187889829ff5813ef06e1052b852df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:41:15.897Z] ---> job-cost.sh [2021-07-30T22:41:15.897Z] lf-activate-venv: SKIPPING [2021-07-30T22:41:15.897Z] INFO: No Stack... [2021-07-30T22:41:17.306Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:41:17.573Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:41:17.899Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2021-07-30T22:41:17.899Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T22:41:17.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [2021-07-30T22:41:17.969Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] did not exist. Created. [2021-07-30T22:41:17.969Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:41:18.358Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T22:41:18.409Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:41:18.422Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:41:18.456Z] $ docker stop --time=1 4c94f062b303d57aba3a175fe325b66776187889829ff5813ef06e1052b852df [2021-07-30T22:41:19.661Z] $ docker rm -f 4c94f062b303d57aba3a175fe325b66776187889829ff5813ef06e1052b852df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-30T22:41:20.709Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1120 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:41:20.728Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2021-07-30T22:41:21.017Z] Selected Git installation does not exist. Using Default [2021-07-30T22:41:21.017Z] The recommended git tool is: NONE [2021-07-30T22:41:28.906Z] using credential edgex-jenkins-ssh [2021-07-30T22:41:28.928Z] Cloning the remote Git repository [2021-07-30T22:41:29.009Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-30T22:41:29.205Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2021-07-30T22:41:29.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-30T22:41:29.319Z] > git --version # timeout=10 [2021-07-30T22:41:29.342Z] > git --version # 'git version 2.17.1' [2021-07-30T22:41:29.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:41:29.454Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:41:30.727Z] Avoid second fetch [2021-07-30T22:41:30.728Z] Checking out Revision 5a20fccc8043608f734de85e0db6a7c46f2827fe (main) [2021-07-30T22:41:30.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-30T22:41:30.707Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:41:30.755Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:41:30.780Z] > git checkout -f 5a20fccc8043608f734de85e0db6a7c46f2827fe # timeout=10 [2021-07-30T22:41:35.298Z] Commit message: "Merge pull request #276 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:41:35.668Z] provisioning config files... [2021-07-30T22:41:35.707Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config2873966455272909295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:41:36.297Z] ---> docker-login.sh [2021-07-30T22:41:36.297Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:41:36.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:37.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:37.505Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:37.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:37.505Z] [2021-07-30T22:41:37.505Z] Login Succeeded [2021-07-30T22:41:37.505Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:41:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:38.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:38.058Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:38.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:38.058Z] [2021-07-30T22:41:38.058Z] Login Succeeded [2021-07-30T22:41:38.058Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:41:38.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:38.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:38.668Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:38.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:38.668Z] [2021-07-30T22:41:38.668Z] Login Succeeded [2021-07-30T22:41:38.668Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:41:39.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:39.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:39.279Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:39.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:39.279Z] [2021-07-30T22:41:39.279Z] Login Succeeded [2021-07-30T22:41:39.279Z] docker.io [2021-07-30T22:41:39.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:40.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:40.160Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:40.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:40.160Z] [2021-07-30T22:41:40.160Z] Login Succeeded [2021-07-30T22:41:40.160Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:41:40.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:41:40.613Z] ========================================================= [2021-07-30T22:41:40.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T22:41:40.613Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:40.995Z] + 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-30T22:41:41.282Z] Sending build context to Docker daemon 625.7kB [2021-07-30T22:41:41.283Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:41:41.283Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:41:41.561Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T22:41:41.561Z] 595b0fe564bb: Pulling fs layer [2021-07-30T22:41:41.561Z] 24495759ef45: Pulling fs layer [2021-07-30T22:41:41.561Z] d148012ef14d: Pulling fs layer [2021-07-30T22:41:41.561Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T22:41:41.561Z] 093eec477d81: Pulling fs layer [2021-07-30T22:41:41.561Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T22:41:41.561Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T22:41:41.561Z] 596795e73e0f: Pulling fs layer [2021-07-30T22:41:41.561Z] a6d5b2bbb924: Waiting [2021-07-30T22:41:41.561Z] 2446dc1eb7d3: Waiting [2021-07-30T22:41:41.561Z] 596795e73e0f: Waiting [2021-07-30T22:41:41.561Z] cb65c68fc2e2: Waiting [2021-07-30T22:41:41.561Z] 093eec477d81: Waiting [2021-07-30T22:41:41.842Z] d148012ef14d: Verifying Checksum [2021-07-30T22:41:41.842Z] d148012ef14d: Download complete [2021-07-30T22:41:41.842Z] 24495759ef45: Verifying Checksum [2021-07-30T22:41:41.842Z] 24495759ef45: Download complete [2021-07-30T22:41:41.842Z] 093eec477d81: Download complete [2021-07-30T22:41:41.842Z] a6d5b2bbb924: Download complete [2021-07-30T22:41:41.842Z] 595b0fe564bb: Verifying Checksum [2021-07-30T22:41:41.842Z] 595b0fe564bb: Download complete [2021-07-30T22:41:41.842Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T22:41:41.842Z] 2446dc1eb7d3: Download complete [2021-07-30T22:41:43.004Z] 595b0fe564bb: Pull complete [2021-07-30T22:41:44.032Z] 24495759ef45: Pull complete [2021-07-30T22:41:44.645Z] d148012ef14d: Pull complete [2021-07-30T22:41:44.927Z] 596795e73e0f: Verifying Checksum [2021-07-30T22:41:44.927Z] 596795e73e0f: Download complete [2021-07-30T22:41:45.948Z] cb65c68fc2e2: Download complete [2021-07-30T22:41:56.198Z] cb65c68fc2e2: Pull complete [2021-07-30T22:41:56.954Z] 093eec477d81: Pull complete [2021-07-30T22:41:57.549Z] a6d5b2bbb924: Pull complete [2021-07-30T22:41:57.843Z] 2446dc1eb7d3: Pull complete [2021-07-30T22:42:02.161Z] 596795e73e0f: Pull complete [2021-07-30T22:42:02.162Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T22:42:02.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T22:42:02.162Z] ---> d9e956139c92 [2021-07-30T22:42:02.162Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-30T22:42:04.800Z] ---> Running in f27e916a72be [2021-07-30T22:42:05.077Z] Removing intermediate container f27e916a72be [2021-07-30T22:42:05.077Z] ---> 472bd4d99f4b [2021-07-30T22:42:05.077Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:42:05.077Z] ---> Running in f4d5e2a8f532 [2021-07-30T22:42:07.700Z] Removing intermediate container f4d5e2a8f532 [2021-07-30T22:42:07.700Z] ---> 1eb39919d5a9 [2021-07-30T22:42:07.700Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:42:07.700Z] ---> Running in 6775064dee98 [2021-07-30T22:42:09.147Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:42:10.129Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:42:10.731Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-30T22:42:11.003Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-30T22:42:11.003Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-30T22:42:11.003Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:42:11.275Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:42:11.275Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-30T22:42:11.275Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:42:11.879Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-30T22:42:11.879Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-30T22:42:12.160Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-30T22:42:12.160Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-30T22:42:12.160Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-30T22:42:12.448Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:42:12.448Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:42:12.448Z] OK: 145 MiB in 53 packages [2021-07-30T22:42:14.473Z] Removing intermediate container 6775064dee98 [2021-07-30T22:42:14.473Z] ---> 1fd72f23f898 [2021-07-30T22:42:14.473Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-30T22:42:14.749Z] ---> Running in 841a20c80810 [2021-07-30T22:42:15.344Z] Removing intermediate container 841a20c80810 [2021-07-30T22:42:15.344Z] ---> eaa2701cc4d9 [2021-07-30T22:42:15.344Z] Step 7/8 : COPY . . [2021-07-30T22:42:16.329Z] ---> 54038f93daa2 [2021-07-30T22:42:16.329Z] Step 8/8 : RUN go mod download [2021-07-30T22:42:16.329Z] ---> Running in 13ea7d54da9d [2021-07-30T22:42:48.736Z] Removing intermediate container 13ea7d54da9d [2021-07-30T22:42:48.736Z] ---> 55cac0fa0b88 [2021-07-30T22:42:48.736Z] Successfully built 55cac0fa0b88 [2021-07-30T22:42:48.736Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:42:49.113Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:42:49.113Z] . [Pipeline] withDockerContainer [2021-07-30T22:42:49.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-1120 does not seem to be running inside a container [2021-07-30T22:42:49.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:42:51.692Z] $ docker top 7cd65cccc573425628ec067e8a47eba8de16cf330e5f23780d190cd50a00766a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:42:52.788Z] + go version [2021-07-30T22:42:52.788Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T22:42:52.822Z] $ docker stop --time=1 7cd65cccc573425628ec067e8a47eba8de16cf330e5f23780d190cd50a00766a [2021-07-30T22:42:54.873Z] $ docker rm -f 7cd65cccc573425628ec067e8a47eba8de16cf330e5f23780d190cd50a00766a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:42:55.798Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:42:55.798Z] . [Pipeline] withDockerContainer [2021-07-30T22:42:56.123Z] prd-ubuntu18.04-docker-arm64-4c-16g-1120 does not seem to be running inside a container [2021-07-30T22:42:56.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:42:58.136Z] $ docker top ef2ff514e6efb4de80b147e2864641a8d522771458da54f5bb424c154830c81d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:42:59.208Z] + go mod tidy [Pipeline] sh [2021-07-30T22:43:00.910Z] + make test [2021-07-30T22:43:00.910Z] go mod tidy [2021-07-30T22:43:01.529Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-30T22:43:03.025Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-07-30T22:44:11.258Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-30T22:44:11.258Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 47.7% of statements [2021-07-30T22:44:11.258Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:44:38.135Z] gofmt -l . [2021-07-30T22:44:38.135Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:44:38.135Z] ./bin/test-attribution-txt.sh [2021-07-30T22:44:38.135Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:44:38.168Z] $ docker stop --time=1 ef2ff514e6efb4de80b147e2864641a8d522771458da54f5bb424c154830c81d [2021-07-30T22:44:40.241Z] $ docker rm -f ef2ff514e6efb4de80b147e2864641a8d522771458da54f5bb424c154830c81d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:44:41.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:44:41.213Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T22:44:41.865Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T22:44:42.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:44:42.797Z] + ls -al . [2021-07-30T22:44:42.798Z] total 152 [2021-07-30T22:44:42.798Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 22:44 . [2021-07-30T22:44:42.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:41 .. [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 22:41 .dockerignore [2021-07-30T22:44:42.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 22:41 .git [2021-07-30T22:44:42.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:41 .github [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 338 Jul 30 22:41 .gitignore [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jul 30 22:41 Attribution.txt [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jul 30 22:41 CHANGELOG.md [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jul 30 22:41 Dockerfile [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 995 Jul 30 22:41 Dockerfile.build [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 679 Jul 30 22:41 Jenkinsfile [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 22:41 LICENSE [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 914 Jul 30 22:41 Makefile [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 2891 Jul 30 22:41 README.md [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 30 22:37 VERSION [2021-07-30T22:44:42.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:41 bin [2021-07-30T22:44:42.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:41 cmd [2021-07-30T22:44:42.798Z] -rw-r--r-- 1 jenkins jenkins 22385 Jul 30 22:44 coverage.out [2021-07-30T22:44:42.798Z] -rw-r--r-- 1 jenkins jenkins 414 Jul 30 22:44 go.mod [2021-07-30T22:44:42.798Z] -rw-r--r-- 1 jenkins jenkins 21529 Jul 30 22:42 go.sum [2021-07-30T22:44:42.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:41 internal [2021-07-30T22:44:42.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:41 simulator [2021-07-30T22:44:42.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:41 snap [2021-07-30T22:44:42.798Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 30 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:44:43.157Z] + 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=5a20fccc8043608f734de85e0db6a7c46f2827fe --label arch=arm64 --label version=2.0.1-dev.2 . [2021-07-30T22:44:43.433Z] Sending build context to Docker daemon 648.7kB [2021-07-30T22:44:43.709Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:44:43.709Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-30T22:44:43.709Z] ---> 55cac0fa0b88 [2021-07-30T22:44:43.709Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:44:43.709Z] ---> Running in 76e10fdf7b7b [2021-07-30T22:44:46.353Z] Removing intermediate container 76e10fdf7b7b [2021-07-30T22:44:46.353Z] ---> 44f85b825eac [2021-07-30T22:44:46.353Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:44:46.353Z] ---> Running in b8c399d5b1b1 [2021-07-30T22:44:47.805Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:44:48.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:44:49.379Z] OK: 145 MiB in 53 packages [2021-07-30T22:44:50.845Z] Removing intermediate container b8c399d5b1b1 [2021-07-30T22:44:50.845Z] ---> 0a6d28da23c5 [2021-07-30T22:44:50.845Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-30T22:44:50.845Z] ---> Running in 2600ca76956d [2021-07-30T22:44:51.459Z] Removing intermediate container 2600ca76956d [2021-07-30T22:44:51.459Z] ---> bae6cb768d32 [2021-07-30T22:44:51.459Z] Step 6/22 : COPY . . [2021-07-30T22:44:52.457Z] ---> df3da9993c6f [2021-07-30T22:44:52.457Z] Step 7/22 : RUN go mod tidy [2021-07-30T22:44:52.735Z] ---> Running in c9b73e7687cb [2021-07-30T22:44:56.164Z] Removing intermediate container c9b73e7687cb [2021-07-30T22:44:56.164Z] ---> 1ec11d39da2c [2021-07-30T22:44:56.164Z] Step 8/22 : RUN go mod download [2021-07-30T22:44:56.448Z] ---> Running in 140cac0c5c1d [2021-07-30T22:44:59.092Z] Removing intermediate container 140cac0c5c1d [2021-07-30T22:44:59.092Z] ---> 37a216fb7d2e [2021-07-30T22:44:59.092Z] Step 9/22 : RUN make build [2021-07-30T22:44:59.370Z] ---> Running in 01c1fd19e587 [2021-07-30T22:45:00.807Z] go mod tidy [2021-07-30T22:45:01.091Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.2" -o cmd/device-modbus ./cmd [2021-07-30T22:45:48.211Z] Removing intermediate container 01c1fd19e587 [2021-07-30T22:45:48.211Z] ---> 608828c9dc45 [2021-07-30T22:45:48.211Z] Step 10/22 : FROM alpine:3.12 [2021-07-30T22:45:48.211Z] 3.12: Pulling from library/alpine [2021-07-30T22:45:48.211Z] d2f70382dc9a: Pulling fs layer [2021-07-30T22:45:48.211Z] d2f70382dc9a: Verifying Checksum [2021-07-30T22:45:48.211Z] d2f70382dc9a: Download complete [2021-07-30T22:45:48.211Z] d2f70382dc9a: Pull complete [2021-07-30T22:45:48.211Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:45:48.211Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:45:48.211Z] ---> c4fd0aeabfcf [2021-07-30T22:45:48.211Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-30T22:45:48.211Z] ---> Running in 19067b92280f [2021-07-30T22:45:48.211Z] Removing intermediate container 19067b92280f [2021-07-30T22:45:48.211Z] ---> 78d3dcb7ad89 [2021-07-30T22:45:48.211Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:45:48.211Z] ---> Running in 63be504c122c [2021-07-30T22:45:48.211Z] Removing intermediate container 63be504c122c [2021-07-30T22:45:48.211Z] ---> e56ae886f1e6 [2021-07-30T22:45:48.211Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:45:48.489Z] ---> Running in b24e6af837d0 [2021-07-30T22:45:49.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:45:50.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:45:51.540Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:45:51.819Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:45:51.819Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:45:52.099Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:45:52.099Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:45:52.378Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:45:52.378Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:45:52.378Z] OK: 8 MiB in 20 packages [2021-07-30T22:45:54.400Z] Removing intermediate container b24e6af837d0 [2021-07-30T22:45:54.400Z] ---> 21efbe429fbf [2021-07-30T22:45:54.400Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-30T22:45:55.851Z] ---> 7db082a317b9 [2021-07-30T22:45:55.851Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-30T22:45:56.840Z] ---> 5104e42cf53e [2021-07-30T22:45:56.840Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-30T22:45:57.830Z] ---> 4940a2975f6e [2021-07-30T22:45:57.830Z] Step 17/22 : EXPOSE 59901 [2021-07-30T22:45:57.830Z] ---> Running in ad263145232f [2021-07-30T22:45:58.431Z] Removing intermediate container ad263145232f [2021-07-30T22:45:58.432Z] ---> f9724632c611 [2021-07-30T22:45:58.432Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-30T22:45:58.710Z] ---> Running in 98031222bbb2 [2021-07-30T22:45:59.314Z] Removing intermediate container 98031222bbb2 [2021-07-30T22:45:59.314Z] ---> b89d6a33b2bd [2021-07-30T22:45:59.314Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:45:59.314Z] ---> Running in d09d60189ab0 [2021-07-30T22:45:59.924Z] Removing intermediate container d09d60189ab0 [2021-07-30T22:45:59.924Z] ---> 42fd6a9b1958 [2021-07-30T22:45:59.924Z] Step 20/22 : LABEL arch=arm64 [2021-07-30T22:46:00.203Z] ---> Running in 39fe54b6e7c8 [2021-07-30T22:46:00.807Z] Removing intermediate container 39fe54b6e7c8 [2021-07-30T22:46:00.807Z] ---> e82b35912a77 [2021-07-30T22:46:00.807Z] Step 21/22 : LABEL git_sha=5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:46:01.084Z] ---> Running in 5c09ed17d22c [2021-07-30T22:46:01.692Z] Removing intermediate container 5c09ed17d22c [2021-07-30T22:46:01.693Z] ---> 21f7d77c4e0e [2021-07-30T22:46:01.693Z] Step 22/22 : LABEL version=2.0.1-dev.2 [2021-07-30T22:46:01.693Z] ---> Running in 239ba570be12 [2021-07-30T22:46:02.295Z] Removing intermediate container 239ba570be12 [2021-07-30T22:46:02.295Z] ---> b3de7f81e35b [2021-07-30T22:46:02.295Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-30T22:46:02.295Z] Successfully built b3de7f81e35b [2021-07-30T22:46:02.295Z] 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-30T22:46:02.548Z] provisioning config files... [2021-07-30T22:46:02.571Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config6911293384921731552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:46:02.943Z] ---> docker-login.sh [2021-07-30T22:46:02.943Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:46:03.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:46:03.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:46:03.493Z] Configure a credential helper to remove this warning. See [2021-07-30T22:46:03.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:46:03.493Z] [2021-07-30T22:46:03.493Z] Login Succeeded [2021-07-30T22:46:03.493Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:46:04.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:46:04.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:46:04.091Z] Configure a credential helper to remove this warning. See [2021-07-30T22:46:04.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:46:04.091Z] [2021-07-30T22:46:04.091Z] Login Succeeded [2021-07-30T22:46:04.091Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:46:04.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:46:04.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:46:04.690Z] Configure a credential helper to remove this warning. See [2021-07-30T22:46:04.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:46:04.690Z] [2021-07-30T22:46:04.690Z] Login Succeeded [2021-07-30T22:46:04.690Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:46:05.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:46:05.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:46:05.565Z] Configure a credential helper to remove this warning. See [2021-07-30T22:46:05.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:46:05.565Z] [2021-07-30T22:46:05.565Z] Login Succeeded [2021-07-30T22:46:05.565Z] docker.io [2021-07-30T22:46:05.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:46:06.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:46:06.447Z] Configure a credential helper to remove this warning. See [2021-07-30T22:46:06.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:46:06.447Z] [2021-07-30T22:46:06.447Z] Login Succeeded [2021-07-30T22:46:06.447Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:46:06.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:46:06.537Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-07-30T22:46:06.537Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:46:06.537Z] latest [2021-07-30T22:46:06.537Z] 2.0.1-dev.2 [2021-07-30T22:46:06.537Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:46:06.537Z] main [2021-07-30T22:46:06.537Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:06.935Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:07.297Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:46:07.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-30T22:46:07.297Z] c05ea2d13f13: Preparing [2021-07-30T22:46:07.297Z] dcc22acfeb84: Preparing [2021-07-30T22:46:07.297Z] 9aa9c1e29873: Preparing [2021-07-30T22:46:07.297Z] ded9a019fec9: Preparing [2021-07-30T22:46:07.297Z] 07184b27c588: Preparing [2021-07-30T22:46:07.297Z] 3fbe34a1663b: Preparing [2021-07-30T22:46:07.297Z] 3fbe34a1663b: Waiting [2021-07-30T22:46:07.905Z] dcc22acfeb84: Pushed [2021-07-30T22:46:07.905Z] c05ea2d13f13: Pushed [2021-07-30T22:46:07.905Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:46:07.905Z] 07184b27c588: Pushed [2021-07-30T22:46:08.515Z] ded9a019fec9: Pushed [2021-07-30T22:46:11.160Z] 9aa9c1e29873: Pushed [2021-07-30T22:46:11.433Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe: digest: sha256:62f861239cd226de6128a4df6d47a1aefcf4edc04a568c9113899ff54b42cc49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:11.791Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:12.139Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-30T22:46:12.139Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-30T22:46:12.139Z] c05ea2d13f13: Preparing [2021-07-30T22:46:12.139Z] dcc22acfeb84: Preparing [2021-07-30T22:46:12.139Z] 9aa9c1e29873: Preparing [2021-07-30T22:46:12.139Z] ded9a019fec9: Preparing [2021-07-30T22:46:12.139Z] 07184b27c588: Preparing [2021-07-30T22:46:12.139Z] 3fbe34a1663b: Preparing [2021-07-30T22:46:12.139Z] 3fbe34a1663b: Waiting [2021-07-30T22:46:12.420Z] dcc22acfeb84: Layer already exists [2021-07-30T22:46:12.420Z] c05ea2d13f13: Layer already exists [2021-07-30T22:46:12.420Z] 07184b27c588: Layer already exists [2021-07-30T22:46:12.420Z] 9aa9c1e29873: Layer already exists [2021-07-30T22:46:12.420Z] ded9a019fec9: Layer already exists [2021-07-30T22:46:12.420Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:46:12.420Z] latest: digest: sha256:62f861239cd226de6128a4df6d47a1aefcf4edc04a568c9113899ff54b42cc49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:12.779Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:13.128Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.2 [2021-07-30T22:46:13.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-30T22:46:13.128Z] c05ea2d13f13: Preparing [2021-07-30T22:46:13.128Z] dcc22acfeb84: Preparing [2021-07-30T22:46:13.128Z] 9aa9c1e29873: Preparing [2021-07-30T22:46:13.128Z] ded9a019fec9: Preparing [2021-07-30T22:46:13.128Z] 07184b27c588: Preparing [2021-07-30T22:46:13.128Z] 3fbe34a1663b: Preparing [2021-07-30T22:46:13.128Z] 3fbe34a1663b: Waiting [2021-07-30T22:46:13.403Z] 9aa9c1e29873: Layer already exists [2021-07-30T22:46:13.403Z] dcc22acfeb84: Layer already exists [2021-07-30T22:46:13.403Z] 07184b27c588: Layer already exists [2021-07-30T22:46:13.403Z] ded9a019fec9: Layer already exists [2021-07-30T22:46:13.403Z] c05ea2d13f13: Layer already exists [2021-07-30T22:46:13.403Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:46:13.403Z] 2.0.1-dev.2: digest: sha256:62f861239cd226de6128a4df6d47a1aefcf4edc04a568c9113899ff54b42cc49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:13.791Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:14.149Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:46:14.149Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-30T22:46:14.149Z] c05ea2d13f13: Preparing [2021-07-30T22:46:14.149Z] dcc22acfeb84: Preparing [2021-07-30T22:46:14.149Z] 9aa9c1e29873: Preparing [2021-07-30T22:46:14.149Z] ded9a019fec9: Preparing [2021-07-30T22:46:14.149Z] 07184b27c588: Preparing [2021-07-30T22:46:14.149Z] 3fbe34a1663b: Preparing [2021-07-30T22:46:14.149Z] 3fbe34a1663b: Waiting [2021-07-30T22:46:14.427Z] 9aa9c1e29873: Layer already exists [2021-07-30T22:46:14.427Z] 07184b27c588: Layer already exists [2021-07-30T22:46:14.427Z] c05ea2d13f13: Layer already exists [2021-07-30T22:46:14.427Z] dcc22acfeb84: Layer already exists [2021-07-30T22:46:14.427Z] ded9a019fec9: Layer already exists [2021-07-30T22:46:14.427Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:46:14.427Z] 5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2: digest: sha256:62f861239cd226de6128a4df6d47a1aefcf4edc04a568c9113899ff54b42cc49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:14.790Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:15.153Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-07-30T22:46:15.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-30T22:46:15.153Z] c05ea2d13f13: Preparing [2021-07-30T22:46:15.153Z] dcc22acfeb84: Preparing [2021-07-30T22:46:15.153Z] 9aa9c1e29873: Preparing [2021-07-30T22:46:15.153Z] ded9a019fec9: Preparing [2021-07-30T22:46:15.153Z] 07184b27c588: Preparing [2021-07-30T22:46:15.153Z] 3fbe34a1663b: Preparing [2021-07-30T22:46:15.153Z] 3fbe34a1663b: Waiting [2021-07-30T22:46:15.427Z] 9aa9c1e29873: Layer already exists [2021-07-30T22:46:15.427Z] c05ea2d13f13: Layer already exists [2021-07-30T22:46:15.427Z] dcc22acfeb84: Layer already exists [2021-07-30T22:46:15.427Z] ded9a019fec9: Layer already exists [2021-07-30T22:46:15.427Z] 07184b27c588: Layer already exists [2021-07-30T22:46:15.427Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:46:15.427Z] main: digest: sha256:62f861239cd226de6128a4df6d47a1aefcf4edc04a568c9113899ff54b42cc49 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:46:15.495Z] ===================================================== [Pipeline] echo [2021-07-30T22:46:15.510Z] taggedImages: [2021-07-30T22:46:15.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe [2021-07-30T22:46:15.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-30T22:46:15.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.2 [2021-07-30T22:46:15.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:5a20fccc8043608f734de85e0db6a7c46f2827fe-2.0.1-dev.2 [2021-07-30T22:46:15.510Z] - 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-30T22:46:16.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:46:16.286Z] [2021-07-30T22:46:16.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:16.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:46:16.935Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T22:46:16.935Z] 448f6bf000e3: Pulling fs layer [2021-07-30T22:46:16.935Z] f757da607395: Pulling fs layer [2021-07-30T22:46:16.935Z] 05883995daec: Pulling fs layer [2021-07-30T22:46:16.935Z] 8603b9c90790: Pulling fs layer [2021-07-30T22:46:16.935Z] 1560dd03e051: Pulling fs layer [2021-07-30T22:46:16.935Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T22:46:16.935Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T22:46:16.935Z] 1560dd03e051: Waiting [2021-07-30T22:46:16.935Z] 27f5ce0e4adf: Waiting [2021-07-30T22:46:16.935Z] c2d8d7efcc4b: Waiting [2021-07-30T22:46:16.935Z] 8603b9c90790: Waiting [2021-07-30T22:46:17.215Z] f757da607395: Verifying Checksum [2021-07-30T22:46:17.215Z] f757da607395: Download complete [2021-07-30T22:46:17.215Z] 8603b9c90790: Download complete [2021-07-30T22:46:17.492Z] 1560dd03e051: Verifying Checksum [2021-07-30T22:46:17.492Z] 1560dd03e051: Download complete [2021-07-30T22:46:17.492Z] 27f5ce0e4adf: Download complete [2021-07-30T22:46:17.492Z] 05883995daec: Verifying Checksum [2021-07-30T22:46:17.492Z] 05883995daec: Download complete [2021-07-30T22:46:18.115Z] 448f6bf000e3: Verifying Checksum [2021-07-30T22:46:18.115Z] 448f6bf000e3: Download complete [2021-07-30T22:46:21.541Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T22:46:21.541Z] c2d8d7efcc4b: Download complete [2021-07-30T22:46:22.141Z] 448f6bf000e3: Pull complete [2021-07-30T22:46:22.748Z] f757da607395: Pull complete [2021-07-30T22:46:24.749Z] 05883995daec: Pull complete [2021-07-30T22:46:24.749Z] 8603b9c90790: Pull complete [2021-07-30T22:46:26.194Z] 1560dd03e051: Pull complete [2021-07-30T22:46:26.471Z] 27f5ce0e4adf: Pull complete [2021-07-30T22:46:41.632Z] c2d8d7efcc4b: Pull complete [2021-07-30T22:46:41.632Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T22:46:41.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:46:41.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T22:46:41.938Z] prd-ubuntu18.04-docker-arm64-4c-16g-1120 does not seem to be running inside a container [2021-07-30T22:46:42.056Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-30T22:46:46.346Z] $ docker top e32a59d8008fed006b7c398ea7fa56097484cb50b0f77c8ec77d33c723651e87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:46:47.309Z] ---> job-cost.sh [2021-07-30T22:46:47.309Z] lf-activate-venv: SKIPPING [2021-07-30T22:46:47.309Z] INFO: No Stack... [2021-07-30T22:46:47.905Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T22:46:48.558Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:46:49.237Z] + + catcut /w/workspace/device-modbus-go/3/archives/cost.csv -d, [2021-07-30T22:46:49.237Z] -f6 [Pipeline] lock [2021-07-30T22:46:49.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [2021-07-30T22:46:49.338Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] did not exist. Created. [2021-07-30T22:46:49.338Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:46:50.036Z] /w/workspace/device-modbus-go/3@tmp/durable-6b6be2c7/script.sh: 1: /w/workspace/device-modbus-go/3@tmp/durable-6b6be2c7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T22:46:50.789Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T22:46:50.828Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T22:46:50.905Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:46:50.953Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:46:50.998Z] $ docker stop --time=1 e32a59d8008fed006b7c398ea7fa56097484cb50b0f77c8ec77d33c723651e87 [2021-07-30T22:46:52.685Z] $ docker rm -f e32a59d8008fed006b7c398ea7fa56097484cb50b0f77c8ec77d33c723651e87 [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-30T22:46:53.591Z] provisioning config files... [2021-07-30T22:46:53.615Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7414951099141370310tmp [Pipeline] { [Pipeline] sh [2021-07-30T22:46:53.974Z] + set +x [2021-07-30T22:46:53.974Z] + curl -s https://codecov.io/bash [2021-07-30T22:46:53.974Z] + bash -s -- [2021-07-30T22:46:53.974Z] [2021-07-30T22:46:53.974Z] _____ _ [2021-07-30T22:46:53.974Z] / ____| | | [2021-07-30T22:46:53.974Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T22:46:53.974Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T22:46:53.974Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T22:46:53.974Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T22:46:53.974Z] Bash-1.0.6 [2021-07-30T22:46:53.974Z] [2021-07-30T22:46:53.974Z] [2021-07-30T22:46:53.974Z] ==> git version 2.24.4 found [2021-07-30T22:46:53.974Z] ==> 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-30T22:46:53.974Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T22:46:53.974Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T22:46:53.974Z] ==> Jenkins CI detected. [2021-07-30T22:46:53.974Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:46:53.974Z] project root: . [2021-07-30T22:46:53.974Z] --> token set from env [2021-07-30T22:46:53.974Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T22:46:53.974Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T22:46:53.974Z] ==> Python coveragepy not found [2021-07-30T22:46:53.974Z] ==> Searching for coverage reports in: [2021-07-30T22:46:53.974Z] + . [2021-07-30T22:46:54.248Z] -> Found 1 reports [2021-07-30T22:46:54.248Z] ==> Detecting git/mercurial file structure [2021-07-30T22:46:54.248Z] ==> Reading reports [2021-07-30T22:46:54.248Z] + ./coverage.out bytes=22385 [2021-07-30T22:46:54.248Z] ==> Appending adjustments [2021-07-30T22:46:54.248Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T22:46:54.248Z] + Found adjustments [2021-07-30T22:46:54.248Z] ==> Gzipping contents [2021-07-30T22:46:54.248Z] 4.0K /tmp/codecov.qNuYO7.gz [2021-07-30T22:46:54.248Z] ==> Uploading reports [2021-07-30T22:46:54.248Z] url: https://codecov.io [2021-07-30T22:46:54.248Z] query: branch=main&commit=5a20fccc8043608f734de85e0db6a7c46f2827fe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:46:54.248Z] -> Pinging Codecov [2021-07-30T22:46:54.248Z] 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=5a20fccc8043608f734de85e0db6a7c46f2827fe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:46:54.835Z] -> Uploading to [2021-07-30T22:46:54.835Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/55DBCA73C666E3227836607328DD7E49/5a20fccc8043608f734de85e0db6a7c46f2827fe/73d33ebe-4ee0-4581-b89d-0fdc7aa5c491.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T224654Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f04ccaba5b10a4e77b6bc450e9b8da0ce3b1b3b5371c00246d0d03278ea2b4d3 [2021-07-30T22:46:54.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T22:46:54.835Z] Dload Upload Total Spent Left Speed [2021-07-30T22:46:55.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3860 0 0 100 3860 0 11287 --:--:-- --:--:-- --:--:-- 11319 [2021-07-30T22:46:55.103Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] } [2021-07-30T22:46:55.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-30T22:46:55.551Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-30T22:46:55.584Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:55.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:46:55.910Z] [2021-07-30T22:46:55.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:56.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:46:56.262Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-30T22:46:56.262Z] 188c0c94c7c5: Pulling fs layer [2021-07-30T22:46:56.262Z] 0ef7d3d256c8: Pulling fs layer [2021-07-30T22:46:56.262Z] de9db76c5a1d: Pulling fs layer [2021-07-30T22:46:56.262Z] 0eba1c9be4d2: Pulling fs layer [2021-07-30T22:46:56.262Z] 0d57e429df01: Pulling fs layer [2021-07-30T22:46:56.262Z] 4e4be7b47b0d: Pulling fs layer [2021-07-30T22:46:56.262Z] e1f770b5df2f: Pulling fs layer [2021-07-30T22:46:56.262Z] 85a0685a4137: Pulling fs layer [2021-07-30T22:46:56.262Z] 0d57e429df01: Waiting [2021-07-30T22:46:56.262Z] 4e4be7b47b0d: Waiting [2021-07-30T22:46:56.262Z] e1f770b5df2f: Waiting [2021-07-30T22:46:56.262Z] 85a0685a4137: Waiting [2021-07-30T22:46:56.262Z] 0eba1c9be4d2: Waiting [2021-07-30T22:46:56.263Z] de9db76c5a1d: Verifying Checksum [2021-07-30T22:46:56.263Z] de9db76c5a1d: Download complete [2021-07-30T22:46:56.263Z] 0ef7d3d256c8: Download complete [2021-07-30T22:46:56.531Z] 0d57e429df01: Verifying Checksum [2021-07-30T22:46:56.531Z] 0d57e429df01: Download complete [2021-07-30T22:46:56.531Z] 4e4be7b47b0d: Verifying Checksum [2021-07-30T22:46:56.531Z] 4e4be7b47b0d: Download complete [2021-07-30T22:46:56.531Z] 188c0c94c7c5: Verifying Checksum [2021-07-30T22:46:56.531Z] 188c0c94c7c5: Download complete [2021-07-30T22:46:56.814Z] 188c0c94c7c5: Pull complete [2021-07-30T22:46:56.814Z] 0ef7d3d256c8: Pull complete [2021-07-30T22:46:57.080Z] de9db76c5a1d: Pull complete [2021-07-30T22:46:58.035Z] e1f770b5df2f: Verifying Checksum [2021-07-30T22:46:58.035Z] e1f770b5df2f: Download complete [2021-07-30T22:47:02.296Z] 0eba1c9be4d2: Verifying Checksum [2021-07-30T22:47:02.296Z] 0eba1c9be4d2: Download complete [2021-07-30T22:47:02.296Z] 85a0685a4137: Verifying Checksum [2021-07-30T22:47:02.296Z] 85a0685a4137: Download complete [2021-07-30T22:47:04.921Z] 0eba1c9be4d2: Pull complete [2021-07-30T22:47:04.921Z] 0d57e429df01: Pull complete [2021-07-30T22:47:05.189Z] 4e4be7b47b0d: Pull complete [2021-07-30T22:47:05.461Z] e1f770b5df2f: Pull complete [2021-07-30T22:47:08.836Z] 85a0685a4137: Pull complete [2021-07-30T22:47:08.836Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-30T22:47:08.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:47:08.836Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-30T22:47:09.142Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:47:09.210Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-30T22:47:11.364Z] $ docker top 32526855f96186082a2f17c99c950f099a3a3540b74c7996b60d1de00e8c4ee9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-30T22:47:11.472Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-30T22:47:11.786Z] + set -o pipefail [2021-07-30T22:47:11.786Z] + snyk monitor '--org=edgex-jenkins' [2021-07-30T22:47:19.993Z] [2021-07-30T22:47:19.993Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-07-30T22:47:19.993Z] [2021-07-30T22:47:19.993Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6bd0fc53-2c73-4502-ad0e-af0c0ceef3ec [2021-07-30T22:47:19.993Z] [2021-07-30T22:47:19.993Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-07-30T22:47:19.993Z] [2021-07-30T22:47:19.993Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-30T22:47:19.993Z] [2021-07-30T22:47:19.993Z] [Pipeline] } [2021-07-30T22:47:20.013Z] $ docker stop --time=1 32526855f96186082a2f17c99c950f099a3a3540b74c7996b60d1de00e8c4ee9 [2021-07-30T22:47:21.986Z] $ docker rm -f 32526855f96186082a2f17c99c950f099a3a3540b74c7996b60d1de00e8c4ee9 [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-30T22:47:23.205Z] + git log --format=format:%s -1 5a20fccc8043608f734de85e0db6a7c46f2827fe [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:23.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:47:23.536Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:23.624Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:47:23.687Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:47:24.088Z] $ docker top 3afb73502c7c402bc926bc890016e502ab4aed09b8d066c27c097a8955e85910 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:47:24.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:47:24.221Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:47:24.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:47:24.349Z] $ docker exec 3afb73502c7c402bc926bc890016e502ab4aed09b8d066c27c097a8955e85910 ssh-agent [2021-07-30T22:47:24.472Z] SSH_AUTH_SOCK=/tmp/ssh-av3K0wZgNqP2/agent.15 [2021-07-30T22:47:24.472Z] SSH_AGENT_PID=21 [2021-07-30T22:47:24.493Z] Running ssh-add (command line suppressed) [2021-07-30T22:47:24.594Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3056199110131470057.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3056199110131470057.key) [2021-07-30T22:47:24.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:47:24.951Z] + git semver tag [2021-07-30T22:47:24.951Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:47:24.951Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-30T22:47:24.951Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:47:24.951Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:47:24.951Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:47:24.951Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:47:24.951Z] # $SEMVER_BRANCH = main [2021-07-30T22:47:24.951Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-07-30T22:47:24.951Z] # 5a20fccc8043608f734de85e0db6a7c46f2827fe HEAD [2021-07-30T22:47:24.951Z] # -> Force: false [2021-07-30T22:47:24.951Z] # 4018bc9ef58e012236d30e9c0a4a8b9c3537ec6a refs/tags/v2.0.1-dev.2 [Pipeline] } [2021-07-30T22:47:24.965Z] $ docker exec --env ******** --env ******** 3afb73502c7c402bc926bc890016e502ab4aed09b8d066c27c097a8955e85910 ssh-agent -k [2021-07-30T22:47:25.055Z] unset SSH_AUTH_SOCK; [2021-07-30T22:47:25.055Z] unset SSH_AGENT_PID; [2021-07-30T22:47:25.055Z] echo Agent pid 21 killed; [2021-07-30T22:47:25.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:47:25.440Z] + git semver [Pipeline] } [2021-07-30T22:47:25.459Z] $ docker stop --time=1 3afb73502c7c402bc926bc890016e502ab4aed09b8d066c27c097a8955e85910 [2021-07-30T22:47:26.669Z] $ docker rm -f 3afb73502c7c402bc926bc890016e502ab4aed09b8d066c27c097a8955e85910 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:27.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:47:27.135Z] [2021-07-30T22:47:27.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:27.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:47:27.467Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-30T22:47:27.467Z] ab5ef0e58194: Pulling fs layer [2021-07-30T22:47:27.467Z] 9712f1f96733: Pulling fs layer [2021-07-30T22:47:27.467Z] 63f879dbbcfc: Pulling fs layer [2021-07-30T22:47:27.467Z] 0d9ebad4ef96: Pulling fs layer [2021-07-30T22:47:27.468Z] e9a5061849ea: Pulling fs layer [2021-07-30T22:47:27.468Z] d747dcd14b5f: Pulling fs layer [2021-07-30T22:47:27.468Z] 2de7ff778b66: Pulling fs layer [2021-07-30T22:47:27.468Z] 0d9ebad4ef96: Waiting [2021-07-30T22:47:27.468Z] e9a5061849ea: Waiting [2021-07-30T22:47:27.468Z] d747dcd14b5f: Waiting [2021-07-30T22:47:27.468Z] 2de7ff778b66: Waiting [2021-07-30T22:47:27.468Z] 9712f1f96733: Verifying Checksum [2021-07-30T22:47:27.468Z] 9712f1f96733: Download complete [2021-07-30T22:47:29.404Z] 63f879dbbcfc: Verifying Checksum [2021-07-30T22:47:29.404Z] 63f879dbbcfc: Download complete [2021-07-30T22:47:29.672Z] e9a5061849ea: Verifying Checksum [2021-07-30T22:47:29.672Z] e9a5061849ea: Download complete [2021-07-30T22:47:29.672Z] d747dcd14b5f: Verifying Checksum [2021-07-30T22:47:29.672Z] d747dcd14b5f: Download complete [2021-07-30T22:47:30.255Z] 2de7ff778b66: Verifying Checksum [2021-07-30T22:47:30.255Z] 2de7ff778b66: Download complete [2021-07-30T22:47:30.837Z] 0d9ebad4ef96: Verifying Checksum [2021-07-30T22:47:30.837Z] 0d9ebad4ef96: Download complete [2021-07-30T22:47:31.419Z] ab5ef0e58194: Verifying Checksum [2021-07-30T22:47:31.419Z] ab5ef0e58194: Download complete [2021-07-30T22:47:34.018Z] ab5ef0e58194: Pull complete [2021-07-30T22:47:34.018Z] 9712f1f96733: Pull complete [2021-07-30T22:47:34.610Z] 63f879dbbcfc: Pull complete [2021-07-30T22:47:37.979Z] 0d9ebad4ef96: Pull complete [2021-07-30T22:47:38.251Z] e9a5061849ea: Pull complete [2021-07-30T22:47:38.251Z] d747dcd14b5f: Pull complete [2021-07-30T22:47:39.225Z] 2de7ff778b66: Pull complete [2021-07-30T22:47:39.225Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-30T22:47:39.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:47:39.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-30T22:47:39.322Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:47:39.387Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-30T22:47:42.610Z] $ docker top 1d6011502bdf24cc4ba0b575ce505389bec9be7630c73340573ed4062bc96101 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:47:42.712Z] provisioning config files... [2021-07-30T22:47:42.726Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3745487691999586778tmp [2021-07-30T22:47:42.752Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2188661245532694695tmp [2021-07-30T22:47:42.774Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1697048611663844644tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:47:42.805Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:43.166Z] ---> sigul-configuration.sh [2021-07-30T22:47:43.166Z] gpg: directory `/root/.gnupg' created [2021-07-30T22:47:43.166Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-30T22:47:43.166Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-30T22:47:43.166Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-30T22:47:43.166Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-30T22:47:43.166Z] gpg: CAST5 encrypted data [2021-07-30T22:47:43.166Z] gpg: encrypted with 1 passphrase [2021-07-30T22:47:43.166Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-30T22:47:43.479Z] + mkdir /home/jenkins [2021-07-30T22:47:43.479Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-30T22:47:43.802Z] + 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-30T22:47:43.815Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:44.123Z] ---> sigul-install.sh [2021-07-30T22:47:44.123Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-30T22:47:44.440Z] + git tag --list [2021-07-30T22:47:44.440Z] 0.7.1 [2021-07-30T22:47:44.440Z] v1.0.0 [2021-07-30T22:47:44.440Z] v1.1.0 [2021-07-30T22:47:44.440Z] v1.1.1 [2021-07-30T22:47:44.440Z] v1.2.2 [2021-07-30T22:47:44.440Z] v1.3.0 [2021-07-30T22:47:44.440Z] v1.3.1 [2021-07-30T22:47:44.440Z] v2.0.0 [2021-07-30T22:47:44.440Z] v2.0.1-dev.1 [2021-07-30T22:47:44.440Z] v2.0.1-dev.2 [Pipeline] sh [2021-07-30T22:47:44.775Z] + lftools sign git-tag v2.0.1-dev.2 [2021-07-30T22:47:45.450Z] Signing Git tag with Sigul... [2021-07-30T22:47:45.450Z] Signing v2.0.1-dev.2 [Pipeline] echo [2021-07-30T22:47:46.148Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:46.478Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-30T22:47:46.490Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-30T22:47:46.521Z] $ docker stop --time=1 1d6011502bdf24cc4ba0b575ce505389bec9be7630c73340573ed4062bc96101 [2021-07-30T22:47:47.720Z] $ docker rm -f 1d6011502bdf24cc4ba0b575ce505389bec9be7630c73340573ed4062bc96101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:48.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:47:48.364Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:48.448Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:47:48.509Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:47:48.847Z] $ docker top 819f3b37d614b6c1ee1805ec0f085843f4bc492bc0b1922175715730a51f4905 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:47:48.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:47:48.966Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:47:49.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:47:49.079Z] $ docker exec 819f3b37d614b6c1ee1805ec0f085843f4bc492bc0b1922175715730a51f4905 ssh-agent [2021-07-30T22:47:49.193Z] SSH_AUTH_SOCK=/tmp/ssh-TPc1Hpwv2KCz/agent.15 [2021-07-30T22:47:49.193Z] SSH_AGENT_PID=22 [2021-07-30T22:47:49.201Z] Running ssh-add (command line suppressed) [2021-07-30T22:47:49.294Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2557359150668051330.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2557359150668051330.key) [2021-07-30T22:47:49.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:47:49.634Z] + git semver bump pre [2021-07-30T22:47:49.634Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:47:49.634Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-30T22:47:49.634Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:47:49.634Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:47:49.634Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:47:49.634Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:47:49.634Z] # $SEMVER_BRANCH = main [2021-07-30T22:47:49.634Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-07-30T22:47:49.634Z] 2.0.1-dev.3 [Pipeline] } [2021-07-30T22:47:49.654Z] $ docker exec --env ******** --env ******** 819f3b37d614b6c1ee1805ec0f085843f4bc492bc0b1922175715730a51f4905 ssh-agent -k [2021-07-30T22:47:49.745Z] unset SSH_AUTH_SOCK; [2021-07-30T22:47:49.745Z] unset SSH_AGENT_PID; [2021-07-30T22:47:49.746Z] echo Agent pid 22 killed; [2021-07-30T22:47:49.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:47:50.117Z] + git semver [Pipeline] } [2021-07-30T22:47:50.137Z] $ docker stop --time=1 819f3b37d614b6c1ee1805ec0f085843f4bc492bc0b1922175715730a51f4905 [2021-07-30T22:47:52.519Z] $ docker rm -f 819f3b37d614b6c1ee1805ec0f085843f4bc492bc0b1922175715730a51f4905 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:52.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:47:52.991Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:53.072Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:47:53.134Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:47:53.538Z] $ docker top c0b313638f18688e4d968d78cf7ce6ddb0dcd8651de990b7c217a2baaa14935b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:47:53.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:47:53.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:47:53.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:47:53.788Z] $ docker exec c0b313638f18688e4d968d78cf7ce6ddb0dcd8651de990b7c217a2baaa14935b ssh-agent [2021-07-30T22:47:53.916Z] SSH_AUTH_SOCK=/tmp/ssh-tspexP5pUJcq/agent.15 [2021-07-30T22:47:53.916Z] SSH_AGENT_PID=21 [2021-07-30T22:47:53.926Z] Running ssh-add (command line suppressed) [2021-07-30T22:47:54.023Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3404821321241740533.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3404821321241740533.key) [2021-07-30T22:47:54.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:47:54.363Z] + git semver push [2021-07-30T22:47:54.363Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:47:54.363Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-30T22:47:54.363Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:47:54.363Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:47:54.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:47:54.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:47:54.363Z] # $SEMVER_BRANCH = main [2021-07-30T22:47:54.363Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-07-30T22:47:59.716Z] $ docker exec --env ******** --env ******** c0b313638f18688e4d968d78cf7ce6ddb0dcd8651de990b7c217a2baaa14935b ssh-agent -k [2021-07-30T22:47:59.818Z] unset SSH_AUTH_SOCK; [2021-07-30T22:47:59.818Z] unset SSH_AGENT_PID; [2021-07-30T22:47:59.818Z] echo Agent pid 21 killed; [2021-07-30T22:47:59.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:48:00.183Z] + git semver [Pipeline] } [2021-07-30T22:48:00.203Z] $ docker stop --time=1 c0b313638f18688e4d968d78cf7ce6ddb0dcd8651de990b7c217a2baaa14935b [2021-07-30T22:48:01.395Z] $ docker rm -f c0b313638f18688e4d968d78cf7ce6ddb0dcd8651de990b7c217a2baaa14935b [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-30T22:48:02.446Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:03.048Z] ---> package-listing.sh [2021-07-30T22:48:03.048Z] ++ facter osfamily [2021-07-30T22:48:03.048Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T22:48:03.315Z] + OS_FAMILY=redhat [2021-07-30T22:48:03.315Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-07-30T22:48:03.315Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T22:48:03.315Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T22:48:03.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T22:48:03.315Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T22:48:03.315Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-30T22:48:03.315Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T22:48:03.315Z] + case "${OS_FAMILY}" in [2021-07-30T22:48:03.315Z] + rpm -qa [2021-07-30T22:48:03.315Z] + sort [2021-07-30T22:48:03.905Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T22:48:03.905Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T22:48:03.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T22:48:03.905Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-30T22:48:03.905Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-07-30T22:48:03.905Z] + 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-30T22:48:03.921Z] 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-30T22:48:04.226Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:04.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:04.817Z] [2021-07-30T22:48:04.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:05.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:05.148Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:48:05.148Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:48:05.148Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:48:05.148Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:48:05.148Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:48:05.148Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:48:05.148Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:48:05.148Z] d287ab97295c: Pulling fs layer [2021-07-30T22:48:05.148Z] 77bc0d833cb6: Waiting [2021-07-30T22:48:05.148Z] 9065ff56babe: Waiting [2021-07-30T22:48:05.148Z] d287ab97295c: Waiting [2021-07-30T22:48:05.148Z] dc539afda2c1: Waiting [2021-07-30T22:48:05.411Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:48:05.411Z] a1111a8f2ec3: Download complete [2021-07-30T22:48:05.411Z] dc539afda2c1: Download complete [2021-07-30T22:48:05.676Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:48:05.676Z] 77bc0d833cb6: Download complete [2021-07-30T22:48:05.676Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:48:05.676Z] 9065ff56babe: Download complete [2021-07-30T22:48:06.253Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:48:06.253Z] ed53099fbce6: Download complete [2021-07-30T22:48:07.696Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:48:07.696Z] b4d181a07f80: Download complete [2021-07-30T22:48:08.655Z] b4d181a07f80: Pull complete [2021-07-30T22:48:08.655Z] a1111a8f2ec3: Pull complete [2021-07-30T22:48:09.242Z] ed53099fbce6: Pull complete [2021-07-30T22:48:09.242Z] dc539afda2c1: Pull complete [2021-07-30T22:48:09.509Z] 77bc0d833cb6: Pull complete [2021-07-30T22:48:09.509Z] 9065ff56babe: Pull complete [2021-07-30T22:48:11.450Z] d287ab97295c: Verifying Checksum [2021-07-30T22:48:11.450Z] d287ab97295c: Download complete [2021-07-30T22:48:15.722Z] d287ab97295c: Pull complete [2021-07-30T22:48:15.722Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:48:15.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:15.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:48:16.017Z] prd-centos7-docker-4c-2g-1107 does not seem to be running inside a container [2021-07-30T22:48:16.279Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:48:18.675Z] $ docker top 7415c99e10c6cb8abee4128c80a5e24f820df83444ba66828da70b5943188862 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:48:19.069Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T22:48:19.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T22:48:19.714Z] + ls /var/log/sa-host [2021-07-30T22:48:19.714Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T22:48:19.714Z] file_magic: OK [2021-07-30T22:48:19.714Z] HZ: Using current value: 100 [2021-07-30T22:48:19.714Z] file_header: OK [2021-07-30T22:48:19.714Z] 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-30T22:48:19.714Z] Statistics: [2021-07-30T22:48:19.714Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:48:19.714Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T22:48:19.714Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T22:48:19.714Z] file_magic: OK [2021-07-30T22:48:19.714Z] HZ: Using current value: 100 [2021-07-30T22:48:19.714Z] file_header: OK [2021-07-30T22:48:19.714Z] 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-30T22:48:19.714Z] Statistics: [2021-07-30T22:48:19.714Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:48:19.714Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:48:19.924Z] provisioning config files... [2021-07-30T22:48:19.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config528579691088624168tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:48:19.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:20.285Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T22:48:20.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:20.687Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T22:48:20.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:21.221Z] ---> sudo-logs.sh [2021-07-30T22:48:21.221Z] Archiving 'sudo' log.. [2021-07-30T22:48:21.221Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1107.vexxhost.local: Name or service not known [2021-07-30T22:48:21.221Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1107.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T22:48:21.261Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:21.579Z] ---> job-cost.sh [2021-07-30T22:48:21.579Z] lf-activate-venv: SKIPPING [2021-07-30T22:48:21.579Z] DEBUG: total: 0.18000000715255737 [2021-07-30T22:48:21.579Z] INFO: Retrieving Stack Cost... [2021-07-30T22:48:22.537Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:48:22.537Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T22:48:22.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:22.874Z] ---> logs-deploy.sh [2021-07-30T22:48:22.874Z] lf-activate-venv: SKIPPING [2021-07-30T22:48:22.874Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/3 [2021-07-30T22:48:22.874Z] INFO: archiving workspace using pattern(s): [2021-07-30T22:48:23.456Z] Archives upload complete. [2021-07-30T22:48:23.723Z] INFO: archiving logs to Nexus