Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8e345b2c8db5a4141178efc0b5671f2e94e7380 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-ssh3528561009253114575.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-ssh9004420105584703553.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 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-ssh755542757495757605.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 # timeout=10 Commit message: "Merge pull request #351 from ernestojeda/fix-archives-does-not-exist" > 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-ssh2493032726577574651.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-ssh5261753208852876687.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 ‘prd-centos7-docker-4c-2g-1868’ Running on prd-centos7-docker-4c-2g-1871 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-ssh139797353955868441.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 c8e345b2c8db5a4141178efc0b5671f2e94e7380 (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 c8e345b2c8db5a4141178efc0b5671f2e94e7380 # timeout=10 Commit message: "feat: supply string type (#262)" > git rev-list --no-walk 5a20fccc8043608f734de85e0db6a7c46f2827fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-03T09:09:30.864Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-03T09:09:30.969Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-03T09:09:30.997Z] ========================================================= [2021-08-03T09:09:30.997Z] EdgeX Global Pipelines Version Info [2021-08-03T09:09:30.997Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:09:32.369Z] ------------------- [2021-08-03T09:09:32.369Z] stable info: [2021-08-03T09:09:32.369Z] ------------------- [2021-08-03T09:09:32.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-03T09:09:32.369Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-03T09:09:32.369Z] Message: update stable to v1.0.203 [2021-08-03T09:09:32.963Z] ------------------- [2021-08-03T09:09:32.963Z] experimental info: [2021-08-03T09:09:32.963Z] ------------------- [2021-08-03T09:09:32.963Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-03T09:09:32.963Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-03T09:09:32.963Z] Message: update experimental to v1.0.203 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-03T09:09:33.107Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-08-03T09:09:33.132Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-08-03T09:09:33.156Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-03T09:09:33.179Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-03T09:09:33.202Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-03T09:09:33.225Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-03T09:09:33.248Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-03T09:09:33.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-03T09:09:33.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-03T09:09:33.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-03T09:09:33.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-03T09:09:33.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-03T09:09:33.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-08-03T09:09:33.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-03T09:09:33.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-03T09:09:33.471Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-03T09:09:33.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-03T09:09:33.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-03T09:09:33.535Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-03T09:09:33.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-03T09:09:33.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-08-03T09:09:33.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-03T09:09:33.622Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-03T09:09:33.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-03T09:09:33.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-03T09:09:33.687Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-03T09:09:33.710Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-03T09:09:33.734Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-03T09:09:33.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-03T09:09:33.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-03T09:09:33.823Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] echo [2021-08-03T09:09:33.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8e345b [Pipeline] echo [2021-08-03T09:09:33.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:09:35.375Z] provisioning config files... [2021-08-03T09:09:35.395Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config947533790528890991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:09:35.734Z] ---> docker-login.sh [2021-08-03T09:09:35.735Z] nexus3.edgexfoundry.org:10001 [2021-08-03T09:09:35.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:09:36.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:09:36.001Z] Configure a credential helper to remove this warning. See [2021-08-03T09:09:36.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:09:36.001Z] [2021-08-03T09:09:36.001Z] Login Succeeded [2021-08-03T09:09:36.001Z] nexus3.edgexfoundry.org:10002 [2021-08-03T09:09:36.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:09:36.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:09:36.272Z] Configure a credential helper to remove this warning. See [2021-08-03T09:09:36.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:09:36.272Z] [2021-08-03T09:09:36.272Z] Login Succeeded [2021-08-03T09:09:36.272Z] nexus3.edgexfoundry.org:10003 [2021-08-03T09:09:36.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:09:36.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:09:36.272Z] Configure a credential helper to remove this warning. See [2021-08-03T09:09:36.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:09:36.272Z] [2021-08-03T09:09:36.272Z] Login Succeeded [2021-08-03T09:09:36.272Z] nexus3.edgexfoundry.org:10004 [2021-08-03T09:09:36.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:09:36.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:09:36.542Z] Configure a credential helper to remove this warning. See [2021-08-03T09:09:36.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:09:36.542Z] [2021-08-03T09:09:36.542Z] Login Succeeded [2021-08-03T09:09:36.542Z] docker.io [2021-08-03T09:09:36.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:09:36.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:09:36.809Z] Configure a credential helper to remove this warning. See [2021-08-03T09:09:36.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:09:36.809Z] [2021-08-03T09:09:36.809Z] Login Succeeded [2021-08-03T09:09:36.809Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T09:09:36.823Z] 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-08-03T09:09:37.370Z] + git log --format=format:%s -1 c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] echo [2021-08-03T09:09:37.431Z] GIT_COMMIT: c8e345b2c8db5a4141178efc0b5671f2e94e7380, Commit Message: feat: supply string type (#262) [Pipeline] echo [2021-08-03T09:09:37.444Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:09:38.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:09:38.756Z] [2021-08-03T09:09:38.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:09:39.100Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:09:39.100Z] latest: Pulling from edgex-devops/git-semver [2021-08-03T09:09:39.100Z] 31603596830f: Pulling fs layer [2021-08-03T09:09:39.100Z] d4622e32a9a9: Pulling fs layer [2021-08-03T09:09:39.100Z] 1030fce36090: Pulling fs layer [2021-08-03T09:09:39.100Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-03T09:09:39.100Z] 6c6cb7e1b49b: Waiting [2021-08-03T09:09:39.100Z] d4622e32a9a9: Verifying Checksum [2021-08-03T09:09:39.100Z] d4622e32a9a9: Download complete [2021-08-03T09:09:39.367Z] 31603596830f: Verifying Checksum [2021-08-03T09:09:39.367Z] 31603596830f: Download complete [2021-08-03T09:09:39.367Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-03T09:09:39.367Z] 6c6cb7e1b49b: Download complete [2021-08-03T09:09:39.637Z] 31603596830f: Pull complete [2021-08-03T09:09:39.637Z] d4622e32a9a9: Pull complete [2021-08-03T09:09:39.637Z] 1030fce36090: Verifying Checksum [2021-08-03T09:09:39.637Z] 1030fce36090: Download complete [2021-08-03T09:09:40.232Z] 1030fce36090: Pull complete [2021-08-03T09:09:40.500Z] 6c6cb7e1b49b: Pull complete [2021-08-03T09:09:40.500Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-03T09:09:40.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:09:40.500Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-03T09:09:40.605Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:09:40.676Z] $ 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-08-03T09:09:41.621Z] $ docker top 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-03T09:09:41.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T09:09:41.770Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T09:09:41.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T09:09:41.906Z] $ docker exec 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 ssh-agent [2021-08-03T09:09:42.030Z] SSH_AUTH_SOCK=/tmp/ssh-DDWczwnbfL7C/agent.14 [2021-08-03T09:09:42.030Z] SSH_AGENT_PID=21 [2021-08-03T09:09:42.042Z] Running ssh-add (command line suppressed) [2021-08-03T09:09:42.162Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9085957584851056819.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9085957584851056819.key) [2021-08-03T09:09:42.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T09:09:42.516Z] + git tag --points-at HEAD [Pipeline] } [2021-08-03T09:09:42.539Z] $ docker exec --env ******** --env ******** 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 ssh-agent -k [2021-08-03T09:09:42.641Z] unset SSH_AUTH_SOCK; [2021-08-03T09:09:42.642Z] unset SSH_AGENT_PID; [2021-08-03T09:09:42.642Z] echo Agent pid 21 killed; [2021-08-03T09:09:42.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-03T09:09:42.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T09:09:42.704Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T09:09:42.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T09:09:42.845Z] $ docker exec 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 ssh-agent [2021-08-03T09:09:42.975Z] SSH_AUTH_SOCK=/tmp/ssh-L1s3GNUzqioW/agent.54 [2021-08-03T09:09:42.975Z] SSH_AGENT_PID=60 [2021-08-03T09:09:42.985Z] Running ssh-add (command line suppressed) [2021-08-03T09:09:43.084Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5767270886591180142.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5767270886591180142.key) [2021-08-03T09:09:43.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T09:09:43.423Z] + git semver init [2021-08-03T09:09:43.423Z] # -> Open(): unable to determine branch for HEAD [2021-08-03T09:09:43.423Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-03T09:09:43.423Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:09:43.423Z] # $SEMVER_REMOTE_NAME = origin [2021-08-03T09:09:43.423Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-03T09:09:43.423Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-03T09:09:43.423Z] # $SEMVER_BRANCH = main [2021-08-03T09:09:43.423Z] # $SEMVER_TEMP = /tmp/semver-592258892 [2021-08-03T09:09:43.423Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-08-03T09:09:44.013Z] # '/tmp/semver-592258892' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-08-03T09:09:44.013Z] # -> Force: false [2021-08-03T09:09:44.013Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-08-03T09:09:44.030Z] $ docker exec --env ******** --env ******** 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 ssh-agent -k [2021-08-03T09:09:44.140Z] unset SSH_AUTH_SOCK; [2021-08-03T09:09:44.140Z] unset SSH_AGENT_PID; [2021-08-03T09:09:44.140Z] echo Agent pid 60 killed; [2021-08-03T09:09:44.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T09:09:44.530Z] + git semver [Pipeline] } [2021-08-03T09:09:44.548Z] $ docker stop --time=1 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 [2021-08-03T09:09:45.799Z] $ docker rm -f 0cd9d20133473bda1c7011bff0ceff2662c5ee7bd7093bba3cc0bd034fa72da5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-03T09:09:46.198Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-03T09:09:46.530Z] Stashed 1 file(s) [Pipeline] echo [2021-08-03T09:09:46.537Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [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-08-03T09:10:01.790Z] Still waiting to schedule task [2021-08-03T09:10:01.791Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-03T09:10:01.793Z] Still waiting to schedule task [2021-08-03T09:10:01.794Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1869’ is offline [2021-08-03T09:12:00.639Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1872 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-08-03T09:12:00.660Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2021-08-03T09:12:01.131Z] Selected Git installation does not exist. Using Default [2021-08-03T09:12:01.131Z] The recommended git tool is: NONE [2021-08-03T09:12:06.768Z] using credential edgex-jenkins-ssh [2021-08-03T09:12:06.786Z] Cloning the remote Git repository [2021-08-03T09:12:06.838Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-08-03T09:12:06.966Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2021-08-03T09:12:07.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-08-03T09:12:07.058Z] > git --version # timeout=10 [2021-08-03T09:12:07.080Z] > git --version # 'git version 2.17.1' [2021-08-03T09:12:07.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-03T09:12:07.155Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T09:12:08.019Z] Avoid second fetch [2021-08-03T09:12:08.020Z] Checking out Revision c8e345b2c8db5a4141178efc0b5671f2e94e7380 (main) [2021-08-03T09:12:07.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-08-03T09:12:07.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T09:12:08.037Z] > git config core.sparsecheckout # timeout=10 [2021-08-03T09:12:08.054Z] > git checkout -f c8e345b2c8db5a4141178efc0b5671f2e94e7380 # timeout=10 [2021-08-03T09:12:10.211Z] Running on prd-centos7-docker-4c-2g-1873 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-08-03T09:12:10.231Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2021-08-03T09:12:10.346Z] Selected Git installation does not exist. Using Default [2021-08-03T09:12:10.346Z] The recommended git tool is: NONE [2021-08-03T09:12:12.359Z] Commit message: "feat: supply string type (#262)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:12:12.960Z] provisioning config files... [2021-08-03T09:12:12.990Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5143639340298541919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:12:13.300Z] using credential edgex-jenkins-ssh [2021-08-03T09:12:13.323Z] Cloning the remote Git repository [2021-08-03T09:12:13.571Z] ---> docker-login.sh [2021-08-03T09:12:13.571Z] nexus3.edgexfoundry.org:10001 [2021-08-03T09:12:13.343Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-08-03T09:12:13.411Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2021-08-03T09:12:13.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-08-03T09:12:13.441Z] > git --version # timeout=10 [2021-08-03T09:12:13.453Z] > git --version # 'git version 2.24.4' [2021-08-03T09:12:13.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-03T09:12:13.479Z] [INFO] Currently running in a labeled security context [2021-08-03T09:12:13.479Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-03T09:12:13.479Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/4@tmp/jenkins-gitclient-ssh3625504717979762392.key [2021-08-03T09:12:13.488Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T09:12:14.052Z] Avoid second fetch [2021-08-03T09:12:14.053Z] Checking out Revision c8e345b2c8db5a4141178efc0b5671f2e94e7380 (main) [2021-08-03T09:12:14.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:14.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:14.774Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:14.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:14.774Z] [2021-08-03T09:12:14.774Z] Login Succeeded [2021-08-03T09:12:14.774Z] nexus3.edgexfoundry.org:10002 [2021-08-03T09:12:14.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-08-03T09:12:14.035Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T09:12:14.059Z] > git config core.sparsecheckout # timeout=10 [2021-08-03T09:12:14.067Z] > git checkout -f c8e345b2c8db5a4141178efc0b5671f2e94e7380 # timeout=10 [2021-08-03T09:12:15.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:15.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:15.325Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:15.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:15.325Z] [2021-08-03T09:12:15.325Z] Login Succeeded [2021-08-03T09:12:15.325Z] nexus3.edgexfoundry.org:10003 [2021-08-03T09:12:15.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:15.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:15.875Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:15.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:15.875Z] [2021-08-03T09:12:15.875Z] Login Succeeded [2021-08-03T09:12:15.875Z] nexus3.edgexfoundry.org:10004 [2021-08-03T09:12:16.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:16.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:16.423Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:16.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:16.423Z] [2021-08-03T09:12:16.423Z] Login Succeeded [2021-08-03T09:12:16.423Z] docker.io [2021-08-03T09:12:16.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:17.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:17.296Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:17.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:17.296Z] [2021-08-03T09:12:17.296Z] Login Succeeded [2021-08-03T09:12:17.296Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T09:12:17.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-03T09:12:19.121Z] ========================================================= [2021-08-03T09:12:19.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-03T09:12:19.122Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:12:19.330Z] Commit message: "feat: supply string type (#262)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:12:19.694Z] provisioning config files... [2021-08-03T09:12:19.711Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config2680163536775132831tmp [2021-08-03T09:12:19.720Z] + 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 . [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:12:20.016Z] Sending build context to Docker daemon 632.8kB [2021-08-03T09:12:20.144Z] ---> docker-login.sh [2021-08-03T09:12:20.144Z] nexus3.edgexfoundry.org:10001 [2021-08-03T09:12:20.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:20.290Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T09:12:20.290Z] Step 2/8 : FROM ${BASE} [2021-08-03T09:12:20.290Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-03T09:12:20.290Z] 595b0fe564bb: Pulling fs layer [2021-08-03T09:12:20.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:20.412Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:20.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:20.412Z] [2021-08-03T09:12:20.412Z] Login Succeeded [2021-08-03T09:12:20.412Z] nexus3.edgexfoundry.org:10002 [2021-08-03T09:12:20.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:20.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:20.412Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:20.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:20.412Z] [2021-08-03T09:12:20.412Z] Login Succeeded [2021-08-03T09:12:20.412Z] nexus3.edgexfoundry.org:10003 [2021-08-03T09:12:20.565Z] 24495759ef45: Pulling fs layer [2021-08-03T09:12:20.565Z] d148012ef14d: Pulling fs layer [2021-08-03T09:12:20.565Z] e90a11edd702: Pulling fs layer [2021-08-03T09:12:20.565Z] d77568369979: Pulling fs layer [2021-08-03T09:12:20.565Z] 02195dbdac53: Pulling fs layer [2021-08-03T09:12:20.565Z] 2b1b35aa2570: Pulling fs layer [2021-08-03T09:12:20.565Z] 2c1f732e5b09: Pulling fs layer [2021-08-03T09:12:20.565Z] 02195dbdac53: Waiting [2021-08-03T09:12:20.565Z] 2b1b35aa2570: Waiting [2021-08-03T09:12:20.565Z] 2c1f732e5b09: Waiting [2021-08-03T09:12:20.565Z] e90a11edd702: Waiting [2021-08-03T09:12:20.565Z] d77568369979: Waiting [2021-08-03T09:12:20.565Z] d148012ef14d: Verifying Checksum [2021-08-03T09:12:20.565Z] d148012ef14d: Download complete [2021-08-03T09:12:20.565Z] 24495759ef45: Verifying Checksum [2021-08-03T09:12:20.565Z] 24495759ef45: Download complete [2021-08-03T09:12:20.565Z] d77568369979: Verifying Checksum [2021-08-03T09:12:20.565Z] d77568369979: Download complete [2021-08-03T09:12:20.565Z] 595b0fe564bb: Verifying Checksum [2021-08-03T09:12:20.565Z] 595b0fe564bb: Download complete [2021-08-03T09:12:20.565Z] 02195dbdac53: Verifying Checksum [2021-08-03T09:12:20.565Z] 02195dbdac53: Download complete [2021-08-03T09:12:20.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:20.840Z] 2b1b35aa2570: Verifying Checksum [2021-08-03T09:12:20.840Z] 2b1b35aa2570: Download complete [2021-08-03T09:12:21.113Z] 595b0fe564bb: Pull complete [2021-08-03T09:12:21.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:21.640Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:21.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:21.640Z] [2021-08-03T09:12:21.640Z] Login Succeeded [2021-08-03T09:12:21.640Z] nexus3.edgexfoundry.org:10004 [2021-08-03T09:12:21.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:21.715Z] 24495759ef45: Pull complete [2021-08-03T09:12:21.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:21.907Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:21.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:21.908Z] [2021-08-03T09:12:21.908Z] Login Succeeded [2021-08-03T09:12:21.908Z] docker.io [2021-08-03T09:12:21.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:12:22.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:12:22.174Z] Configure a credential helper to remove this warning. See [2021-08-03T09:12:22.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:12:22.174Z] [2021-08-03T09:12:22.174Z] Login Succeeded [2021-08-03T09:12:22.174Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T09:12:22.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-08-03T09:12:22.317Z] d148012ef14d: Pull complete [Pipeline] echo [2021-08-03T09:12:22.412Z] ========================================================= [2021-08-03T09:12:22.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-03T09:12:22.412Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:12:22.738Z] + 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-08-03T09:12:22.738Z] Sending build context to Docker daemon 633.9kB [2021-08-03T09:12:22.738Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T09:12:22.738Z] Step 2/8 : FROM ${BASE} [2021-08-03T09:12:23.003Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-03T09:12:23.003Z] 540db60ca938: Pulling fs layer [2021-08-03T09:12:23.003Z] adcc1eea9eea: Pulling fs layer [2021-08-03T09:12:23.003Z] 4c4ab2625f07: Pulling fs layer [2021-08-03T09:12:23.003Z] db62176df00c: Pulling fs layer [2021-08-03T09:12:23.003Z] 3b30891b0d05: Pulling fs layer [2021-08-03T09:12:23.003Z] 444f5516b4c7: Pulling fs layer [2021-08-03T09:12:23.003Z] 90b9b1106a8b: Pulling fs layer [2021-08-03T09:12:23.003Z] 0383d17a5b7e: Pulling fs layer [2021-08-03T09:12:23.003Z] c82ef313ddc5: Pulling fs layer [2021-08-03T09:12:23.003Z] db62176df00c: Waiting [2021-08-03T09:12:23.003Z] 3b30891b0d05: Waiting [2021-08-03T09:12:23.003Z] 444f5516b4c7: Waiting [2021-08-03T09:12:23.003Z] 90b9b1106a8b: Waiting [2021-08-03T09:12:23.003Z] 0383d17a5b7e: Waiting [2021-08-03T09:12:23.003Z] c82ef313ddc5: Waiting [2021-08-03T09:12:23.003Z] 4c4ab2625f07: Verifying Checksum [2021-08-03T09:12:23.003Z] 4c4ab2625f07: Download complete [2021-08-03T09:12:23.003Z] adcc1eea9eea: Verifying Checksum [2021-08-03T09:12:23.003Z] adcc1eea9eea: Download complete [2021-08-03T09:12:23.003Z] 3b30891b0d05: Verifying Checksum [2021-08-03T09:12:23.003Z] 3b30891b0d05: Download complete [2021-08-03T09:12:23.003Z] 444f5516b4c7: Verifying Checksum [2021-08-03T09:12:23.003Z] 444f5516b4c7: Download complete [2021-08-03T09:12:23.273Z] 90b9b1106a8b: Verifying Checksum [2021-08-03T09:12:23.273Z] 90b9b1106a8b: Download complete [2021-08-03T09:12:23.273Z] 540db60ca938: Verifying Checksum [2021-08-03T09:12:23.273Z] 540db60ca938: Download complete [2021-08-03T09:12:23.545Z] 540db60ca938: Pull complete [2021-08-03T09:12:23.545Z] adcc1eea9eea: Pull complete [2021-08-03T09:12:23.813Z] 4c4ab2625f07: Pull complete [2021-08-03T09:12:23.813Z] 0383d17a5b7e: Verifying Checksum [2021-08-03T09:12:23.813Z] 0383d17a5b7e: Download complete [2021-08-03T09:12:25.725Z] 2c1f732e5b09: Verifying Checksum [2021-08-03T09:12:25.725Z] 2c1f732e5b09: Download complete [2021-08-03T09:12:26.317Z] e90a11edd702: Verifying Checksum [2021-08-03T09:12:26.317Z] e90a11edd702: Download complete [2021-08-03T09:12:29.152Z] c82ef313ddc5: Verifying Checksum [2021-08-03T09:12:29.152Z] c82ef313ddc5: Download complete [2021-08-03T09:12:29.749Z] db62176df00c: Verifying Checksum [2021-08-03T09:12:29.749Z] db62176df00c: Download complete [2021-08-03T09:12:33.125Z] db62176df00c: Pull complete [2021-08-03T09:12:33.125Z] 3b30891b0d05: Pull complete [2021-08-03T09:12:33.125Z] 444f5516b4c7: Pull complete [2021-08-03T09:12:33.125Z] 90b9b1106a8b: Pull complete [2021-08-03T09:12:33.125Z] 0383d17a5b7e: Pull complete [2021-08-03T09:12:35.100Z] c82ef313ddc5: Pull complete [2021-08-03T09:12:35.100Z] Digest: sha256:3eb3d6350589afc32301fc0b898c8a62550fd4a320e6d69c5ccab6db48ea93d4 [2021-08-03T09:12:35.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-03T09:12:35.100Z] ---> 4508b0543a43 [2021-08-03T09:12:35.100Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-08-03T09:12:36.488Z] e90a11edd702: Pull complete [2021-08-03T09:12:36.488Z] d77568369979: Pull complete [2021-08-03T09:12:36.488Z] 02195dbdac53: Pull complete [2021-08-03T09:12:37.087Z] 2b1b35aa2570: Pull complete [2021-08-03T09:12:37.680Z] ---> Running in ed4dc7469075 [2021-08-03T09:12:37.680Z] Removing intermediate container ed4dc7469075 [2021-08-03T09:12:37.680Z] ---> 17dcf324c77c [2021-08-03T09:12:37.680Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:12:37.680Z] ---> Running in 4035d79c57aa [2021-08-03T09:12:37.946Z] Removing intermediate container 4035d79c57aa [2021-08-03T09:12:37.946Z] ---> 464047c6d65f [2021-08-03T09:12:37.946Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-03T09:12:37.946Z] ---> Running in 1cf2b12f8c4f [2021-08-03T09:12:38.217Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-03T09:12:39.176Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-03T09:12:39.443Z] (1/7) Installing openssh-keygen (8.4_p1-r3) [2021-08-03T09:12:39.713Z] (2/7) Installing libedit (20191231.3.1-r1) [2021-08-03T09:12:39.713Z] (3/7) Installing openssh-client (8.4_p1-r3) [2021-08-03T09:12:39.980Z] (4/7) Installing openssh-sftp-server (8.4_p1-r3) [2021-08-03T09:12:39.980Z] (5/7) Installing openssh-server-common (8.4_p1-r3) [2021-08-03T09:12:40.247Z] (6/7) Installing openssh-server (8.4_p1-r3) [2021-08-03T09:12:40.247Z] (7/7) Installing openssh (8.4_p1-r3) [2021-08-03T09:12:40.513Z] Executing busybox-1.32.1-r6.trigger [2021-08-03T09:12:40.513Z] OK: 224 MiB in 59 packages [2021-08-03T09:12:40.783Z] Removing intermediate container 1cf2b12f8c4f [2021-08-03T09:12:40.783Z] ---> 0e5f8627b457 [2021-08-03T09:12:40.783Z] Step 6/8 : WORKDIR /device-modbus-go [2021-08-03T09:12:40.783Z] ---> Running in 05e3dfeba2f6 [2021-08-03T09:12:40.783Z] Removing intermediate container 05e3dfeba2f6 [2021-08-03T09:12:40.783Z] ---> 79f527421c9f [2021-08-03T09:12:40.783Z] Step 7/8 : COPY . . [2021-08-03T09:12:41.057Z] ---> bb16d937cc86 [2021-08-03T09:12:41.057Z] Step 8/8 : RUN go mod download [2021-08-03T09:12:41.057Z] ---> Running in 3d4bc054db8e [2021-08-03T09:12:42.505Z] 2c1f732e5b09: Pull complete [2021-08-03T09:12:42.505Z] Digest: sha256:28bf673c29b435c7a745567d5b62fe0c6cb5f21a2a07afb8b83a2b3b340898b5 [2021-08-03T09:12:42.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-03T09:12:42.505Z] ---> 88ecf2bb1f95 [2021-08-03T09:12:42.505Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-08-03T09:12:45.134Z] ---> Running in 10b27e2fb7dc [2021-08-03T09:12:45.409Z] Removing intermediate container 10b27e2fb7dc [2021-08-03T09:12:45.409Z] ---> 9732be12320a [2021-08-03T09:12:45.409Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:12:45.409Z] ---> Running in 07e130425a39 [2021-08-03T09:12:48.042Z] Removing intermediate container 07e130425a39 [2021-08-03T09:12:48.042Z] ---> 5a80404cd905 [2021-08-03T09:12:48.042Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-03T09:12:48.042Z] ---> Running in 39a6412de0de [2021-08-03T09:12:49.025Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-03T09:12:50.001Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-03T09:12:50.603Z] (1/7) Installing openssh-keygen (8.4_p1-r3) [2021-08-03T09:12:50.892Z] (2/7) Installing libedit (20191231.3.1-r1) [2021-08-03T09:12:50.892Z] (3/7) Installing openssh-client (8.4_p1-r3) [2021-08-03T09:12:51.134Z] Removing intermediate container 3d4bc054db8e [2021-08-03T09:12:51.134Z] ---> 944329ab9509 [2021-08-03T09:12:51.134Z] Successfully built 944329ab9509 [2021-08-03T09:12:51.134Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:12:51.164Z] (4/7) Installing openssh-sftp-server (8.4_p1-r3) [2021-08-03T09:12:51.438Z] (5/7) Installing openssh-server-common (8.4_p1-r3) [2021-08-03T09:12:51.438Z] (6/7) Installing openssh-server (8.4_p1-r3) [2021-08-03T09:12:51.438Z] (7/7) Installing openssh (8.4_p1-r3) [2021-08-03T09:12:51.458Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-03T09:12:51.458Z] . [Pipeline] withDockerContainer [2021-08-03T09:12:51.556Z] prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container [2021-08-03T09:12:51.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:12:51.721Z] Executing busybox-1.32.1-r6.trigger [2021-08-03T09:12:51.721Z] OK: 224 MiB in 59 packages [2021-08-03T09:12:52.024Z] $ docker top 7ae5c10ebb5eca8001be2e689be9ecfb32b1171014edbee431ebd00995d34b41 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T09:12:52.428Z] + go version [2021-08-03T09:12:52.428Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-03T09:12:52.442Z] $ docker stop --time=1 7ae5c10ebb5eca8001be2e689be9ecfb32b1171014edbee431ebd00995d34b41 [2021-08-03T09:12:53.178Z] Removing intermediate container 39a6412de0de [2021-08-03T09:12:53.178Z] ---> a6d66ab77323 [2021-08-03T09:12:53.178Z] Step 6/8 : WORKDIR /device-modbus-go [2021-08-03T09:12:53.178Z] ---> Running in eb75d5963c92 [2021-08-03T09:12:53.630Z] $ docker rm -f 7ae5c10ebb5eca8001be2e689be9ecfb32b1171014edbee431ebd00995d34b41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-03T09:12:53.777Z] Removing intermediate container eb75d5963c92 [2021-08-03T09:12:53.777Z] ---> a02789d0f3cf [2021-08-03T09:12:53.778Z] Step 7/8 : COPY . . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:12:54.189Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-03T09:12:54.189Z] . [Pipeline] withDockerContainer [2021-08-03T09:12:54.281Z] prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container [2021-08-03T09:12:54.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:12:54.694Z] $ docker top 48e7a7a4c84d621fc2422bb069e10e9c497a85050004c3b994878a533fcd5fd7 -eo pid,comm [2021-08-03T09:12:54.757Z] ---> 13b5c08f4f25 [2021-08-03T09:12:54.757Z] Step 8/8 : RUN go mod download [Pipeline] { [Pipeline] sh [2021-08-03T09:12:55.032Z] ---> Running in 116dc73766c9 [2021-08-03T09:12:55.095Z] + go mod tidy [Pipeline] sh [2021-08-03T09:12:55.680Z] + make test [2021-08-03T09:12:55.680Z] go mod tidy [2021-08-03T09:12:55.680Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-03T09:12:56.275Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-08-03T09:13:11.371Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-08-03T09:13:12.347Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.6% of statements [2021-08-03T09:13:12.347Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-03T09:13:19.046Z] gofmt -l . [2021-08-03T09:13:19.046Z] [ "`gofmt -l .`" = "" ] [2021-08-03T09:13:19.046Z] ./bin/test-attribution-txt.sh [2021-08-03T09:13:19.046Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-03T09:13:19.059Z] $ docker stop --time=1 48e7a7a4c84d621fc2422bb069e10e9c497a85050004c3b994878a533fcd5fd7 [2021-08-03T09:13:20.610Z] $ docker rm -f 48e7a7a4c84d621fc2422bb069e10e9c497a85050004c3b994878a533fcd5fd7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-03T09:13:21.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-03T09:13:21.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-08-03T09:13:21.853Z] Removing intermediate container 116dc73766c9 [2021-08-03T09:13:21.853Z] ---> 8c574bafdf09 [2021-08-03T09:13:21.853Z] Successfully built 8c574bafdf09 [2021-08-03T09:13:21.853Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:25.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-03T09:13:25.668Z] + docker inspect -f . ci-base-image-arm64 [2021-08-03T09:13:25.669Z] . [Pipeline] withDockerContainer [2021-08-03T09:13:25.903Z] + ls -al . [2021-08-03T09:13:25.903Z] total 120 [2021-08-03T09:13:25.903Z] drwxrwxr-x. 9 jenkins jenkins 4096 Aug 3 09:13 . [2021-08-03T09:13:25.903Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 3 09:12 .. [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 7707 Aug 3 09:12 Attribution.txt [2021-08-03T09:13:25.903Z] drwxrwxr-x. 2 jenkins jenkins 87 Aug 3 09:12 bin [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 6038 Aug 3 09:12 CHANGELOG.md [2021-08-03T09:13:25.903Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 3 09:12 cmd [2021-08-03T09:13:25.903Z] -rw-r--r--. 1 jenkins jenkins 23727 Aug 3 09:13 coverage.out [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 1473 Aug 3 09:12 Dockerfile [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 995 Aug 3 09:12 Dockerfile.build [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 3 09:12 .dockerignore [2021-08-03T09:13:25.903Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 3 09:12 .git [2021-08-03T09:13:25.903Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 3 09:12 .github [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 338 Aug 3 09:12 .gitignore [2021-08-03T09:13:25.903Z] -rw-r--r--. 1 jenkins jenkins 414 Aug 3 09:13 go.mod [2021-08-03T09:13:25.903Z] -rw-r--r--. 1 jenkins jenkins 21529 Aug 3 09:12 go.sum [2021-08-03T09:13:25.903Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 3 09:12 internal [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 679 Aug 3 09:12 Jenkinsfile [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 3 09:12 LICENSE [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 914 Aug 3 09:12 Makefile [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 2891 Aug 3 09:12 README.md [2021-08-03T09:13:25.903Z] drwxrwxr-x. 2 jenkins jenkins 52 Aug 3 09:12 simulator [2021-08-03T09:13:25.903Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 3 09:12 snap [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 3 09:09 VERSION [2021-08-03T09:13:25.903Z] -rw-rw-r--. 1 jenkins jenkins 229 Aug 3 09:12 version.go [2021-08-03T09:13:25.941Z] prd-ubuntu18.04-docker-arm64-4c-16g-1872 does not seem to be running inside a container [2021-08-03T09:13:26.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:13:27.725Z] $ docker top 6dca47d21523fef5b32e4756770327cec85da2ff67a3d15853c5fb0cf19ab985 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:28.466Z] + 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=c8e345b2c8db5a4141178efc0b5671f2e94e7380 --label arch=amd64 --label version=2.0.1-dev.3 . [2021-08-03T09:13:28.466Z] Sending build context to Docker daemon 658.4kB [2021-08-03T09:13:28.466Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T09:13:28.466Z] Step 2/22 : FROM ${BASE} AS builder [2021-08-03T09:13:28.466Z] ---> 944329ab9509 [2021-08-03T09:13:28.466Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:13:28.466Z] ---> Running in 138f765e60a2 [2021-08-03T09:13:28.737Z] + go version [2021-08-03T09:13:28.737Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-03T09:13:28.755Z] $ docker stop --time=1 6dca47d21523fef5b32e4756770327cec85da2ff67a3d15853c5fb0cf19ab985 [2021-08-03T09:13:29.065Z] Removing intermediate container 138f765e60a2 [2021-08-03T09:13:29.065Z] ---> 226b67b7e1c0 [2021-08-03T09:13:29.065Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-03T09:13:29.065Z] ---> Running in b611ddfed6b0 [2021-08-03T09:13:29.331Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-03T09:13:30.294Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-03T09:13:30.567Z] OK: 224 MiB in 59 packages [2021-08-03T09:13:30.658Z] $ docker rm -f 6dca47d21523fef5b32e4756770327cec85da2ff67a3d15853c5fb0cf19ab985 [2021-08-03T09:13:30.836Z] Removing intermediate container b611ddfed6b0 [2021-08-03T09:13:30.836Z] ---> 9553b141a0b7 [2021-08-03T09:13:30.836Z] Step 5/22 : WORKDIR /device-modbus-go [2021-08-03T09:13:30.836Z] ---> Running in 6aba9ac644dc [2021-08-03T09:13:30.836Z] Removing intermediate container 6aba9ac644dc [2021-08-03T09:13:30.836Z] ---> 192ca1766788 [2021-08-03T09:13:30.836Z] Step 6/22 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-08-03T09:13:31.101Z] ---> 63d07b03c4ae [2021-08-03T09:13:31.102Z] Step 7/22 : RUN go mod tidy [2021-08-03T09:13:31.102Z] ---> Running in 0f3fb32147de [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:31.445Z] + docker inspect -f . ci-base-image-arm64 [2021-08-03T09:13:31.445Z] . [Pipeline] withDockerContainer [2021-08-03T09:13:31.692Z] Removing intermediate container 0f3fb32147de [2021-08-03T09:13:31.692Z] ---> 3d69a0772376 [2021-08-03T09:13:31.692Z] Step 8/22 : RUN go mod download [2021-08-03T09:13:31.692Z] ---> Running in d581d0b211da [2021-08-03T09:13:31.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-1872 does not seem to be running inside a container [2021-08-03T09:13:31.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:13:32.282Z] Removing intermediate container d581d0b211da [2021-08-03T09:13:32.282Z] ---> dd1e695d3c9c [2021-08-03T09:13:32.282Z] Step 9/22 : RUN make build [2021-08-03T09:13:32.282Z] ---> Running in b254e435ddb4 [2021-08-03T09:13:32.557Z] go mod tidy [2021-08-03T09:13:32.828Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.3" -o cmd/device-modbus ./cmd [2021-08-03T09:13:33.456Z] $ docker top 09df04f80cfd107111a7869efdb51b09207f88d3d967f85b4c9b5cefc634e8e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T09:13:34.398Z] + go mod tidy [Pipeline] sh [2021-08-03T09:13:35.650Z] + make test [2021-08-03T09:13:35.650Z] go mod tidy [2021-08-03T09:13:35.923Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-03T09:13:36.899Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-08-03T09:13:45.848Z] Removing intermediate container b254e435ddb4 [2021-08-03T09:13:45.848Z] ---> ef38b2ff05ee [2021-08-03T09:13:45.848Z] Step 10/22 : FROM alpine:3.12 [2021-08-03T09:13:45.848Z] 3.12: Pulling from library/alpine [2021-08-03T09:13:45.848Z] 339de151aab4: Pulling fs layer [2021-08-03T09:13:45.848Z] 339de151aab4: Verifying Checksum [2021-08-03T09:13:45.848Z] 339de151aab4: Download complete [2021-08-03T09:13:45.848Z] 339de151aab4: Pull complete [2021-08-03T09:13:45.848Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-03T09:13:45.848Z] Status: Downloaded newer image for alpine:3.12 [2021-08-03T09:13:45.848Z] ---> 13621d1b12d4 [2021-08-03T09:13:45.848Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-08-03T09:13:45.848Z] ---> Running in ef61d0eb9edb [2021-08-03T09:13:45.848Z] Removing intermediate container ef61d0eb9edb [2021-08-03T09:13:45.848Z] ---> f855e6c4fc57 [2021-08-03T09:13:45.848Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:13:45.848Z] ---> Running in d176024387b4 [2021-08-03T09:13:45.848Z] Removing intermediate container d176024387b4 [2021-08-03T09:13:45.848Z] ---> 9136d2c38a6d [2021-08-03T09:13:45.848Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-03T09:13:45.848Z] ---> Running in e9d328738e9a [2021-08-03T09:13:46.115Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-03T09:13:46.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-03T09:13:47.280Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-03T09:13:47.280Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-03T09:13:47.280Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-03T09:13:47.280Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-03T09:13:48.244Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-03T09:13:48.244Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-03T09:13:48.244Z] Executing busybox-1.31.1-r20.trigger [2021-08-03T09:13:48.244Z] OK: 8 MiB in 20 packages [2021-08-03T09:13:48.512Z] Removing intermediate container e9d328738e9a [2021-08-03T09:13:48.512Z] ---> f167dd4ee8ac [2021-08-03T09:13:48.512Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-08-03T09:13:49.098Z] ---> 4a8ce57f4f8f [2021-08-03T09:13:49.098Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-08-03T09:13:49.098Z] ---> ac280ff21160 [2021-08-03T09:13:49.098Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-08-03T09:13:49.098Z] ---> a88138f7755a [2021-08-03T09:13:49.098Z] Step 17/22 : EXPOSE 59901 [2021-08-03T09:13:49.372Z] ---> Running in 2b0977ec941b [2021-08-03T09:13:49.372Z] Removing intermediate container 2b0977ec941b [2021-08-03T09:13:49.372Z] ---> 86a3ce4b1ba3 [2021-08-03T09:13:49.372Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-08-03T09:13:49.372Z] ---> Running in 29329bba0d40 [2021-08-03T09:13:49.372Z] Removing intermediate container 29329bba0d40 [2021-08-03T09:13:49.372Z] ---> 5fdc902fe2a7 [2021-08-03T09:13:49.372Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-03T09:13:49.372Z] ---> Running in eb96bda83d29 [2021-08-03T09:13:49.641Z] Removing intermediate container eb96bda83d29 [2021-08-03T09:13:49.641Z] ---> c2163625eb1a [2021-08-03T09:13:49.641Z] Step 20/22 : LABEL arch=amd64 [2021-08-03T09:13:49.641Z] ---> Running in 0f69e2e5e18c [2021-08-03T09:13:49.641Z] Removing intermediate container 0f69e2e5e18c [2021-08-03T09:13:49.641Z] ---> 430f2a782b09 [2021-08-03T09:13:49.641Z] Step 21/22 : LABEL git_sha=c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:13:49.641Z] ---> Running in c4980330ca40 [2021-08-03T09:13:49.909Z] Removing intermediate container c4980330ca40 [2021-08-03T09:13:49.909Z] ---> 49b70c8de232 [2021-08-03T09:13:49.909Z] Step 22/22 : LABEL version=2.0.1-dev.3 [2021-08-03T09:13:49.909Z] ---> Running in 1e39de0bc0ed [2021-08-03T09:13:49.909Z] Removing intermediate container 1e39de0bc0ed [2021-08-03T09:13:49.909Z] ---> 20bbb8d1f62f [2021-08-03T09:13:49.909Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-03T09:13:49.909Z] Successfully built 20bbb8d1f62f [2021-08-03T09:13:49.909Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:13:50.142Z] provisioning config files... [2021-08-03T09:13:50.157Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config7833193390307162551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:13:50.500Z] ---> docker-login.sh [2021-08-03T09:13:50.500Z] nexus3.edgexfoundry.org:10001 [2021-08-03T09:13:50.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:13:50.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:13:50.500Z] Configure a credential helper to remove this warning. See [2021-08-03T09:13:50.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:13:50.500Z] [2021-08-03T09:13:50.500Z] Login Succeeded [2021-08-03T09:13:50.500Z] nexus3.edgexfoundry.org:10002 [2021-08-03T09:13:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:13:50.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:13:50.767Z] Configure a credential helper to remove this warning. See [2021-08-03T09:13:50.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:13:50.767Z] [2021-08-03T09:13:50.767Z] Login Succeeded [2021-08-03T09:13:50.767Z] nexus3.edgexfoundry.org:10003 [2021-08-03T09:13:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:13:50.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:13:50.767Z] Configure a credential helper to remove this warning. See [2021-08-03T09:13:50.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:13:50.768Z] [2021-08-03T09:13:50.768Z] Login Succeeded [2021-08-03T09:13:51.036Z] nexus3.edgexfoundry.org:10004 [2021-08-03T09:13:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:13:51.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:13:51.036Z] Configure a credential helper to remove this warning. See [2021-08-03T09:13:51.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:13:51.036Z] [2021-08-03T09:13:51.036Z] Login Succeeded [2021-08-03T09:13:51.036Z] docker.io [2021-08-03T09:13:51.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:13:51.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:13:51.571Z] Configure a credential helper to remove this warning. See [2021-08-03T09:13:51.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:13:51.571Z] [2021-08-03T09:13:51.571Z] Login Succeeded [2021-08-03T09:13:51.571Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T09:13:51.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-03T09:13:51.652Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-08-03T09:13:51.653Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:13:51.653Z] latest [2021-08-03T09:13:51.653Z] 2.0.1-dev.3 [2021-08-03T09:13:51.653Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:13:51.653Z] main [2021-08-03T09:13:51.653Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:52.029Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:52.355Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:13:52.355Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-03T09:13:52.355Z] 0480cf1f7f6e: Preparing [2021-08-03T09:13:52.355Z] 923c55e900d9: Preparing [2021-08-03T09:13:52.355Z] f49c98ea6492: Preparing [2021-08-03T09:13:52.355Z] e98563023347: Preparing [2021-08-03T09:13:52.355Z] e865abd577a2: Preparing [2021-08-03T09:13:52.355Z] 32f366d666a5: Preparing [2021-08-03T09:13:52.355Z] 32f366d666a5: Waiting [2021-08-03T09:13:52.623Z] 0480cf1f7f6e: Pushed [2021-08-03T09:13:52.891Z] 32f366d666a5: Layer already exists [2021-08-03T09:13:52.891Z] 923c55e900d9: Pushed [2021-08-03T09:13:52.891Z] e98563023347: Pushed [2021-08-03T09:13:52.891Z] e865abd577a2: Pushed [2021-08-03T09:13:53.854Z] f49c98ea6492: Pushed [2021-08-03T09:13:53.854Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380: digest: sha256:12b73c961da1950994487da01c45478a75630304396145f77c50cbcddd47a528 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:54.179Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:54.495Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-08-03T09:13:54.495Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-03T09:13:54.495Z] 0480cf1f7f6e: Preparing [2021-08-03T09:13:54.495Z] 923c55e900d9: Preparing [2021-08-03T09:13:54.495Z] f49c98ea6492: Preparing [2021-08-03T09:13:54.495Z] e98563023347: Preparing [2021-08-03T09:13:54.495Z] e865abd577a2: Preparing [2021-08-03T09:13:54.495Z] 32f366d666a5: Preparing [2021-08-03T09:13:54.495Z] 32f366d666a5: Waiting [2021-08-03T09:13:54.495Z] 0480cf1f7f6e: Layer already exists [2021-08-03T09:13:54.495Z] f49c98ea6492: Layer already exists [2021-08-03T09:13:54.495Z] e98563023347: Layer already exists [2021-08-03T09:13:54.495Z] 923c55e900d9: Layer already exists [2021-08-03T09:13:54.495Z] e865abd577a2: Layer already exists [2021-08-03T09:13:54.495Z] 32f366d666a5: Layer already exists [2021-08-03T09:13:54.495Z] latest: digest: sha256:12b73c961da1950994487da01c45478a75630304396145f77c50cbcddd47a528 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:54.817Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:55.137Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.3 [2021-08-03T09:13:55.137Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-03T09:13:55.137Z] 0480cf1f7f6e: Preparing [2021-08-03T09:13:55.137Z] 923c55e900d9: Preparing [2021-08-03T09:13:55.137Z] f49c98ea6492: Preparing [2021-08-03T09:13:55.137Z] e98563023347: Preparing [2021-08-03T09:13:55.137Z] e865abd577a2: Preparing [2021-08-03T09:13:55.137Z] 32f366d666a5: Preparing [2021-08-03T09:13:55.137Z] 32f366d666a5: Waiting [2021-08-03T09:13:55.137Z] f49c98ea6492: Layer already exists [2021-08-03T09:13:55.137Z] e98563023347: Layer already exists [2021-08-03T09:13:55.137Z] e865abd577a2: Layer already exists [2021-08-03T09:13:55.137Z] 923c55e900d9: Layer already exists [2021-08-03T09:13:55.137Z] 0480cf1f7f6e: Layer already exists [2021-08-03T09:13:55.137Z] 32f366d666a5: Layer already exists [2021-08-03T09:13:55.137Z] 2.0.1-dev.3: digest: sha256:12b73c961da1950994487da01c45478a75630304396145f77c50cbcddd47a528 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:55.459Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:55.774Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:13:55.774Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-03T09:13:55.774Z] 0480cf1f7f6e: Preparing [2021-08-03T09:13:55.774Z] 923c55e900d9: Preparing [2021-08-03T09:13:55.774Z] f49c98ea6492: Preparing [2021-08-03T09:13:55.774Z] e98563023347: Preparing [2021-08-03T09:13:55.774Z] e865abd577a2: Preparing [2021-08-03T09:13:55.774Z] 32f366d666a5: Preparing [2021-08-03T09:13:55.774Z] 32f366d666a5: Waiting [2021-08-03T09:13:55.774Z] e865abd577a2: Layer already exists [2021-08-03T09:13:55.774Z] f49c98ea6492: Layer already exists [2021-08-03T09:13:55.774Z] 0480cf1f7f6e: Layer already exists [2021-08-03T09:13:55.774Z] 923c55e900d9: Layer already exists [2021-08-03T09:13:55.774Z] e98563023347: Layer already exists [2021-08-03T09:13:55.774Z] 32f366d666a5: Layer already exists [2021-08-03T09:13:55.774Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3: digest: sha256:12b73c961da1950994487da01c45478a75630304396145f77c50cbcddd47a528 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:56.099Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:56.416Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-08-03T09:13:56.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-03T09:13:56.416Z] 0480cf1f7f6e: Preparing [2021-08-03T09:13:56.416Z] 923c55e900d9: Preparing [2021-08-03T09:13:56.416Z] f49c98ea6492: Preparing [2021-08-03T09:13:56.416Z] e98563023347: Preparing [2021-08-03T09:13:56.416Z] e865abd577a2: Preparing [2021-08-03T09:13:56.416Z] 32f366d666a5: Preparing [2021-08-03T09:13:56.416Z] 32f366d666a5: Waiting [2021-08-03T09:13:56.416Z] f49c98ea6492: Layer already exists [2021-08-03T09:13:56.416Z] e98563023347: Layer already exists [2021-08-03T09:13:56.416Z] 923c55e900d9: Layer already exists [2021-08-03T09:13:56.416Z] e865abd577a2: Layer already exists [2021-08-03T09:13:56.416Z] 32f366d666a5: Layer already exists [2021-08-03T09:13:57.379Z] 0480cf1f7f6e: Layer already exists [2021-08-03T09:13:57.379Z] main: digest: sha256:12b73c961da1950994487da01c45478a75630304396145f77c50cbcddd47a528 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-03T09:13:57.445Z] ===================================================== [Pipeline] echo [2021-08-03T09:13:57.464Z] taggedImages: [2021-08-03T09:13:57.464Z] - nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:13:57.464Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-08-03T09:13:57.464Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.3 [2021-08-03T09:13:57.464Z] - nexus3.edgexfoundry.org:10004/device-modbus:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:13:57.464Z] - 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-08-03T09:13:58.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:13:58.066Z] [2021-08-03T09:13:58.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:13:58.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:13:58.398Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-03T09:13:58.398Z] b4d181a07f80: Pulling fs layer [2021-08-03T09:13:58.398Z] a1111a8f2ec3: Pulling fs layer [2021-08-03T09:13:58.398Z] ed53099fbce6: Pulling fs layer [2021-08-03T09:13:58.398Z] dc539afda2c1: Pulling fs layer [2021-08-03T09:13:58.398Z] 77bc0d833cb6: Pulling fs layer [2021-08-03T09:13:58.398Z] 9065ff56babe: Pulling fs layer [2021-08-03T09:13:58.398Z] d287ab97295c: Pulling fs layer [2021-08-03T09:13:58.398Z] dc539afda2c1: Waiting [2021-08-03T09:13:58.398Z] 77bc0d833cb6: Waiting [2021-08-03T09:13:58.398Z] 9065ff56babe: Waiting [2021-08-03T09:13:58.398Z] d287ab97295c: Waiting [2021-08-03T09:13:58.665Z] a1111a8f2ec3: Verifying Checksum [2021-08-03T09:13:58.665Z] a1111a8f2ec3: Download complete [2021-08-03T09:13:58.665Z] dc539afda2c1: Verifying Checksum [2021-08-03T09:13:58.665Z] dc539afda2c1: Download complete [2021-08-03T09:13:58.930Z] 77bc0d833cb6: Verifying Checksum [2021-08-03T09:13:58.930Z] 77bc0d833cb6: Download complete [2021-08-03T09:13:58.930Z] 9065ff56babe: Verifying Checksum [2021-08-03T09:13:58.930Z] 9065ff56babe: Download complete [2021-08-03T09:13:59.198Z] ed53099fbce6: Verifying Checksum [2021-08-03T09:13:59.198Z] ed53099fbce6: Download complete [2021-08-03T09:13:59.793Z] b4d181a07f80: Verifying Checksum [2021-08-03T09:13:59.793Z] b4d181a07f80: Download complete [2021-08-03T09:14:00.772Z] b4d181a07f80: Pull complete [2021-08-03T09:14:01.043Z] a1111a8f2ec3: Pull complete [2021-08-03T09:14:01.635Z] ed53099fbce6: Pull complete [2021-08-03T09:14:01.635Z] dc539afda2c1: Pull complete [2021-08-03T09:14:01.903Z] 77bc0d833cb6: Pull complete [2021-08-03T09:14:01.903Z] 9065ff56babe: Pull complete [2021-08-03T09:14:03.305Z] d287ab97295c: Verifying Checksum [2021-08-03T09:14:03.306Z] d287ab97295c: Download complete [2021-08-03T09:14:07.604Z] d287ab97295c: Pull complete [2021-08-03T09:14:07.605Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-03T09:14:07.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:14:07.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-03T09:14:07.701Z] prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container [2021-08-03T09:14:07.763Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:14:10.442Z] $ docker top 27fe420d63cfce76f187c7b72cbb4e6016d947c5a991e1c35e0e79d963f0611b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:14:10.946Z] ---> job-cost.sh [2021-08-03T09:14:10.946Z] lf-activate-venv: SKIPPING [2021-08-03T09:14:10.946Z] INFO: No Stack... [2021-08-03T09:14:11.919Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-03T09:14:12.186Z] INFO: Archiving Costs [Pipeline] sh [2021-08-03T09:14:12.501Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2021-08-03T09:14:12.501Z] + cut -d, -f6 [Pipeline] lock [2021-08-03T09:14:12.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [2021-08-03T09:14:12.565Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] did not exist. Created. [2021-08-03T09:14:12.565Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-03T09:14:12.901Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-03T09:14:12.951Z] Stashed 1 file(s) [Pipeline] } [2021-08-03T09:14:12.966Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-03T09:14:12.998Z] $ docker stop --time=1 27fe420d63cfce76f187c7b72cbb4e6016d947c5a991e1c35e0e79d963f0611b [2021-08-03T09:14:14.143Z] $ docker rm -f 27fe420d63cfce76f187c7b72cbb4e6016d947c5a991e1c35e0e79d963f0611b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-03T09:14:33.533Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-08-03T09:14:33.533Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 46.6% of statements [2021-08-03T09:14:33.533Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-03T09:14:55.794Z] gofmt -l . [2021-08-03T09:14:55.794Z] [ "`gofmt -l .`" = "" ] [2021-08-03T09:14:55.794Z] ./bin/test-attribution-txt.sh [2021-08-03T09:14:55.794Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-03T09:14:55.811Z] $ docker stop --time=1 09df04f80cfd107111a7869efdb51b09207f88d3d967f85b4c9b5cefc634e8e3 [2021-08-03T09:14:57.847Z] $ docker rm -f 09df04f80cfd107111a7869efdb51b09207f88d3d967f85b4c9b5cefc634e8e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-03T09:14:58.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-03T09:14:58.742Z] Warning: overwriting stash ‘coverage-report’ [2021-08-03T09:14:59.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-03T09:15:01.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-03T09:15:02.071Z] + ls -al . [2021-08-03T09:15:02.071Z] total 152 [2021-08-03T09:15:02.071Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 09:14 . [2021-08-03T09:15:02.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 09:12 .. [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 09:12 .dockerignore [2021-08-03T09:15:02.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 09:12 .git [2021-08-03T09:15:02.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 09:12 .github [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 338 Aug 3 09:12 .gitignore [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 7707 Aug 3 09:12 Attribution.txt [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 6038 Aug 3 09:12 CHANGELOG.md [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 1473 Aug 3 09:12 Dockerfile [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 995 Aug 3 09:12 Dockerfile.build [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 679 Aug 3 09:12 Jenkinsfile [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 3 09:12 LICENSE [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 914 Aug 3 09:12 Makefile [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 2891 Aug 3 09:12 README.md [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 3 09:09 VERSION [2021-08-03T09:15:02.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 09:12 bin [2021-08-03T09:15:02.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 09:12 cmd [2021-08-03T09:15:02.071Z] -rw-r--r-- 1 jenkins jenkins 23727 Aug 3 09:14 coverage.out [2021-08-03T09:15:02.071Z] -rw-r--r-- 1 jenkins jenkins 414 Aug 3 09:14 go.mod [2021-08-03T09:15:02.071Z] -rw-r--r-- 1 jenkins jenkins 21529 Aug 3 09:13 go.sum [2021-08-03T09:15:02.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 09:12 internal [2021-08-03T09:15:02.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 09:12 simulator [2021-08-03T09:15:02.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 09:12 snap [2021-08-03T09:15:02.071Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 3 09:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:15:02.441Z] + 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=c8e345b2c8db5a4141178efc0b5671f2e94e7380 --label arch=arm64 --label version=2.0.1-dev.3 . [2021-08-03T09:15:02.722Z] Sending build context to Docker daemon 657.4kB [2021-08-03T09:15:02.722Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T09:15:02.722Z] Step 2/22 : FROM ${BASE} AS builder [2021-08-03T09:15:02.722Z] ---> 8c574bafdf09 [2021-08-03T09:15:02.722Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:15:03.003Z] ---> Running in de0771ba3ef3 [2021-08-03T09:15:05.643Z] Removing intermediate container de0771ba3ef3 [2021-08-03T09:15:05.643Z] ---> e001a64c060d [2021-08-03T09:15:05.643Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-03T09:15:05.643Z] ---> Running in e772bf34492d [2021-08-03T09:15:06.622Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-03T09:15:07.610Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-03T09:15:08.207Z] OK: 224 MiB in 59 packages [2021-08-03T09:15:09.646Z] Removing intermediate container e772bf34492d [2021-08-03T09:15:09.646Z] ---> fbfa640bc894 [2021-08-03T09:15:09.646Z] Step 5/22 : WORKDIR /device-modbus-go [2021-08-03T09:15:09.646Z] ---> Running in a5de1be3feaf [2021-08-03T09:15:10.244Z] Removing intermediate container a5de1be3feaf [2021-08-03T09:15:10.244Z] ---> a62cc198c2d8 [2021-08-03T09:15:10.244Z] Step 6/22 : COPY . . [2021-08-03T09:15:11.244Z] ---> de19a8905c83 [2021-08-03T09:15:11.244Z] Step 7/22 : RUN go mod tidy [2021-08-03T09:15:11.521Z] ---> Running in af35b6673bab [2021-08-03T09:15:14.155Z] Removing intermediate container af35b6673bab [2021-08-03T09:15:14.155Z] ---> ba04a45e0745 [2021-08-03T09:15:14.155Z] Step 8/22 : RUN go mod download [2021-08-03T09:15:14.428Z] ---> Running in 6273db4fee4c [2021-08-03T09:15:17.051Z] Removing intermediate container 6273db4fee4c [2021-08-03T09:15:17.051Z] ---> 42841fc20f18 [2021-08-03T09:15:17.051Z] Step 9/22 : RUN make build [2021-08-03T09:15:17.051Z] ---> Running in 6e0edd0e6ef7 [2021-08-03T09:15:18.033Z] go mod tidy [2021-08-03T09:15:18.637Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.3" -o cmd/device-modbus ./cmd [2021-08-03T09:15:57.952Z] Removing intermediate container 6e0edd0e6ef7 [2021-08-03T09:15:57.952Z] ---> 89a6b1cfb12b [2021-08-03T09:15:57.952Z] Step 10/22 : FROM alpine:3.12 [2021-08-03T09:15:57.952Z] 3.12: Pulling from library/alpine [2021-08-03T09:15:57.952Z] d2f70382dc9a: Pulling fs layer [2021-08-03T09:15:57.952Z] d2f70382dc9a: Verifying Checksum [2021-08-03T09:15:57.952Z] d2f70382dc9a: Pull complete [2021-08-03T09:15:57.952Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-03T09:15:57.952Z] Status: Downloaded newer image for alpine:3.12 [2021-08-03T09:15:57.952Z] ---> c4fd0aeabfcf [2021-08-03T09:15:57.952Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-08-03T09:15:57.952Z] ---> Running in c5b971a7fcba [2021-08-03T09:15:57.952Z] Removing intermediate container c5b971a7fcba [2021-08-03T09:15:57.952Z] ---> be2d50a854ad [2021-08-03T09:15:57.952Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-03T09:15:57.953Z] ---> Running in 4281182c4513 [2021-08-03T09:15:58.222Z] Removing intermediate container 4281182c4513 [2021-08-03T09:15:58.222Z] ---> 77329d7ac70c [2021-08-03T09:15:58.222Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-03T09:15:58.497Z] ---> Running in bf601c28424a [2021-08-03T09:15:59.939Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-03T09:16:00.211Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-03T09:16:01.183Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-03T09:16:01.184Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-03T09:16:01.184Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-03T09:16:01.184Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-03T09:16:01.459Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-03T09:16:01.459Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-03T09:16:01.733Z] Executing busybox-1.31.1-r20.trigger [2021-08-03T09:16:01.733Z] OK: 8 MiB in 20 packages [2021-08-03T09:16:02.715Z] Removing intermediate container bf601c28424a [2021-08-03T09:16:02.715Z] ---> 459cadbbfb3a [2021-08-03T09:16:02.715Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-08-03T09:16:04.148Z] ---> 278a443c902a [2021-08-03T09:16:04.148Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-08-03T09:16:04.741Z] ---> ecb6016fbf57 [2021-08-03T09:16:04.741Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-08-03T09:16:05.719Z] ---> 14b246eb64ff [2021-08-03T09:16:05.719Z] Step 17/22 : EXPOSE 59901 [2021-08-03T09:16:05.719Z] ---> Running in 1ca8c027ad49 [2021-08-03T09:16:05.988Z] Removing intermediate container 1ca8c027ad49 [2021-08-03T09:16:05.988Z] ---> 6429f926f3cd [2021-08-03T09:16:05.988Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-08-03T09:16:06.258Z] ---> Running in dbf9c411bb3a [2021-08-03T09:16:06.528Z] Removing intermediate container dbf9c411bb3a [2021-08-03T09:16:06.528Z] ---> 499f0e168a4d [2021-08-03T09:16:06.528Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-03T09:16:06.799Z] ---> Running in 478aa609bd11 [2021-08-03T09:16:07.392Z] Removing intermediate container 478aa609bd11 [2021-08-03T09:16:07.392Z] ---> a6e94ee573ed [2021-08-03T09:16:07.392Z] Step 20/22 : LABEL arch=arm64 [2021-08-03T09:16:07.392Z] ---> Running in ce3088f7f5db [2021-08-03T09:16:07.668Z] Removing intermediate container ce3088f7f5db [2021-08-03T09:16:07.668Z] ---> 9343864730c7 [2021-08-03T09:16:07.668Z] Step 21/22 : LABEL git_sha=c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:16:07.939Z] ---> Running in 33cd74bc85c2 [2021-08-03T09:16:08.534Z] Removing intermediate container 33cd74bc85c2 [2021-08-03T09:16:08.534Z] ---> bd68aae7e743 [2021-08-03T09:16:08.534Z] Step 22/22 : LABEL version=2.0.1-dev.3 [2021-08-03T09:16:08.534Z] ---> Running in 0795bb655db2 [2021-08-03T09:16:09.129Z] Removing intermediate container 0795bb655db2 [2021-08-03T09:16:09.129Z] ---> 968f7d597736 [2021-08-03T09:16:09.129Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-03T09:16:09.129Z] Successfully built 968f7d597736 [2021-08-03T09:16:09.129Z] 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-08-03T09:16:09.387Z] provisioning config files... [2021-08-03T09:16:09.411Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config3740229575906147583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:16:09.776Z] ---> docker-login.sh [2021-08-03T09:16:09.776Z] nexus3.edgexfoundry.org:10001 [2021-08-03T09:16:10.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:16:10.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:16:10.049Z] Configure a credential helper to remove this warning. See [2021-08-03T09:16:10.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:16:10.049Z] [2021-08-03T09:16:10.049Z] Login Succeeded [2021-08-03T09:16:10.049Z] nexus3.edgexfoundry.org:10002 [2021-08-03T09:16:10.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:16:10.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:16:10.643Z] Configure a credential helper to remove this warning. See [2021-08-03T09:16:10.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:16:10.643Z] [2021-08-03T09:16:10.643Z] Login Succeeded [2021-08-03T09:16:10.643Z] nexus3.edgexfoundry.org:10003 [2021-08-03T09:16:10.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:16:11.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:16:11.191Z] Configure a credential helper to remove this warning. See [2021-08-03T09:16:11.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:16:11.191Z] [2021-08-03T09:16:11.191Z] Login Succeeded [2021-08-03T09:16:11.191Z] nexus3.edgexfoundry.org:10004 [2021-08-03T09:16:11.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:16:11.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:16:11.739Z] Configure a credential helper to remove this warning. See [2021-08-03T09:16:11.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:16:11.739Z] [2021-08-03T09:16:11.739Z] Login Succeeded [2021-08-03T09:16:11.739Z] docker.io [2021-08-03T09:16:12.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T09:16:12.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T09:16:12.286Z] Configure a credential helper to remove this warning. See [2021-08-03T09:16:12.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T09:16:12.286Z] [2021-08-03T09:16:12.286Z] Login Succeeded [2021-08-03T09:16:12.286Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T09:16:12.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-03T09:16:12.385Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-08-03T09:16:12.385Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:16:12.385Z] latest [2021-08-03T09:16:12.385Z] 2.0.1-dev.3 [2021-08-03T09:16:12.385Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:16:12.385Z] main [2021-08-03T09:16:12.385Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:12.782Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:13.132Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:16:13.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-03T09:16:13.132Z] 4eafd2122c03: Preparing [2021-08-03T09:16:13.132Z] 08d23af489ec: Preparing [2021-08-03T09:16:13.132Z] cc8be69a0280: Preparing [2021-08-03T09:16:13.132Z] 197a2f7fda1b: Preparing [2021-08-03T09:16:13.132Z] bd5c06e2b443: Preparing [2021-08-03T09:16:13.132Z] 3fbe34a1663b: Preparing [2021-08-03T09:16:13.132Z] 3fbe34a1663b: Waiting [2021-08-03T09:16:13.404Z] 08d23af489ec: Pushed [2021-08-03T09:16:13.404Z] 4eafd2122c03: Pushed [2021-08-03T09:16:13.404Z] bd5c06e2b443: Pushed [2021-08-03T09:16:13.682Z] 3fbe34a1663b: Layer already exists [2021-08-03T09:16:14.278Z] 197a2f7fda1b: Pushed [2021-08-03T09:16:16.249Z] cc8be69a0280: Pushed [2021-08-03T09:16:16.520Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380: digest: sha256:560859114de23929bd39ba9178b4ac5b9a3ff29be4e3ad2f7bc3c1de670584a2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:16.869Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:17.210Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-08-03T09:16:17.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-03T09:16:17.210Z] 4eafd2122c03: Preparing [2021-08-03T09:16:17.210Z] 08d23af489ec: Preparing [2021-08-03T09:16:17.210Z] cc8be69a0280: Preparing [2021-08-03T09:16:17.210Z] 197a2f7fda1b: Preparing [2021-08-03T09:16:17.210Z] bd5c06e2b443: Preparing [2021-08-03T09:16:17.210Z] 3fbe34a1663b: Preparing [2021-08-03T09:16:17.210Z] 3fbe34a1663b: Waiting [2021-08-03T09:16:17.481Z] cc8be69a0280: Layer already exists [2021-08-03T09:16:17.481Z] 4eafd2122c03: Layer already exists [2021-08-03T09:16:17.481Z] 197a2f7fda1b: Layer already exists [2021-08-03T09:16:17.481Z] 08d23af489ec: Layer already exists [2021-08-03T09:16:17.481Z] bd5c06e2b443: Layer already exists [2021-08-03T09:16:17.481Z] 3fbe34a1663b: Layer already exists [2021-08-03T09:16:17.481Z] latest: digest: sha256:560859114de23929bd39ba9178b4ac5b9a3ff29be4e3ad2f7bc3c1de670584a2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:17.831Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:18.170Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.3 [2021-08-03T09:16:18.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-03T09:16:18.170Z] 4eafd2122c03: Preparing [2021-08-03T09:16:18.170Z] 08d23af489ec: Preparing [2021-08-03T09:16:18.170Z] cc8be69a0280: Preparing [2021-08-03T09:16:18.170Z] 197a2f7fda1b: Preparing [2021-08-03T09:16:18.170Z] bd5c06e2b443: Preparing [2021-08-03T09:16:18.170Z] 3fbe34a1663b: Preparing [2021-08-03T09:16:18.170Z] 3fbe34a1663b: Waiting [2021-08-03T09:16:18.170Z] 197a2f7fda1b: Layer already exists [2021-08-03T09:16:18.170Z] 08d23af489ec: Layer already exists [2021-08-03T09:16:18.170Z] 4eafd2122c03: Layer already exists [2021-08-03T09:16:18.170Z] bd5c06e2b443: Layer already exists [2021-08-03T09:16:18.444Z] cc8be69a0280: Layer already exists [2021-08-03T09:16:18.444Z] 3fbe34a1663b: Layer already exists [2021-08-03T09:16:18.444Z] 2.0.1-dev.3: digest: sha256:560859114de23929bd39ba9178b4ac5b9a3ff29be4e3ad2f7bc3c1de670584a2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:18.798Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:19.134Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:16:19.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-03T09:16:19.134Z] 4eafd2122c03: Preparing [2021-08-03T09:16:19.134Z] 08d23af489ec: Preparing [2021-08-03T09:16:19.134Z] cc8be69a0280: Preparing [2021-08-03T09:16:19.134Z] 197a2f7fda1b: Preparing [2021-08-03T09:16:19.134Z] bd5c06e2b443: Preparing [2021-08-03T09:16:19.134Z] 3fbe34a1663b: Preparing [2021-08-03T09:16:19.134Z] 3fbe34a1663b: Waiting [2021-08-03T09:16:19.405Z] 08d23af489ec: Layer already exists [2021-08-03T09:16:19.405Z] bd5c06e2b443: Layer already exists [2021-08-03T09:16:19.405Z] 4eafd2122c03: Layer already exists [2021-08-03T09:16:19.405Z] 197a2f7fda1b: Layer already exists [2021-08-03T09:16:19.405Z] cc8be69a0280: Layer already exists [2021-08-03T09:16:19.405Z] 3fbe34a1663b: Layer already exists [2021-08-03T09:16:19.405Z] c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3: digest: sha256:560859114de23929bd39ba9178b4ac5b9a3ff29be4e3ad2f7bc3c1de670584a2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:19.749Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:20.091Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-08-03T09:16:20.091Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-03T09:16:20.091Z] 4eafd2122c03: Preparing [2021-08-03T09:16:20.091Z] 08d23af489ec: Preparing [2021-08-03T09:16:20.091Z] cc8be69a0280: Preparing [2021-08-03T09:16:20.091Z] 197a2f7fda1b: Preparing [2021-08-03T09:16:20.091Z] bd5c06e2b443: Preparing [2021-08-03T09:16:20.091Z] 3fbe34a1663b: Preparing [2021-08-03T09:16:20.091Z] 3fbe34a1663b: Waiting [2021-08-03T09:16:20.362Z] bd5c06e2b443: Layer already exists [2021-08-03T09:16:20.362Z] 197a2f7fda1b: Layer already exists [2021-08-03T09:16:20.362Z] 08d23af489ec: Layer already exists [2021-08-03T09:16:20.362Z] 4eafd2122c03: Layer already exists [2021-08-03T09:16:20.362Z] cc8be69a0280: Layer already exists [2021-08-03T09:16:20.362Z] 3fbe34a1663b: Layer already exists [2021-08-03T09:16:20.362Z] main: digest: sha256:560859114de23929bd39ba9178b4ac5b9a3ff29be4e3ad2f7bc3c1de670584a2 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-03T09:16:20.436Z] ===================================================== [Pipeline] echo [2021-08-03T09:16:20.454Z] taggedImages: [2021-08-03T09:16:20.454Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380 [2021-08-03T09:16:20.454Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-08-03T09:16:20.454Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.3 [2021-08-03T09:16:20.454Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c8e345b2c8db5a4141178efc0b5671f2e94e7380-2.0.1-dev.3 [2021-08-03T09:16:20.454Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:20.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T09:16:20.947Z] [2021-08-03T09:16:20.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:21.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T09:16:21.843Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-03T09:16:21.843Z] 448f6bf000e3: Pulling fs layer [2021-08-03T09:16:21.843Z] f757da607395: Pulling fs layer [2021-08-03T09:16:21.843Z] 05883995daec: Pulling fs layer [2021-08-03T09:16:21.843Z] 8603b9c90790: Pulling fs layer [2021-08-03T09:16:21.843Z] 1560dd03e051: Pulling fs layer [2021-08-03T09:16:21.843Z] 27f5ce0e4adf: Pulling fs layer [2021-08-03T09:16:21.843Z] c2d8d7efcc4b: Pulling fs layer [2021-08-03T09:16:21.843Z] 1560dd03e051: Waiting [2021-08-03T09:16:21.843Z] 27f5ce0e4adf: Waiting [2021-08-03T09:16:21.843Z] c2d8d7efcc4b: Waiting [2021-08-03T09:16:21.843Z] 8603b9c90790: Waiting [2021-08-03T09:16:22.131Z] f757da607395: Verifying Checksum [2021-08-03T09:16:22.131Z] f757da607395: Download complete [2021-08-03T09:16:22.131Z] 8603b9c90790: Verifying Checksum [2021-08-03T09:16:22.131Z] 8603b9c90790: Download complete [2021-08-03T09:16:22.406Z] 1560dd03e051: Verifying Checksum [2021-08-03T09:16:22.406Z] 1560dd03e051: Download complete [2021-08-03T09:16:22.406Z] 27f5ce0e4adf: Verifying Checksum [2021-08-03T09:16:22.406Z] 27f5ce0e4adf: Download complete [2021-08-03T09:16:22.406Z] 05883995daec: Download complete [2021-08-03T09:16:23.838Z] 448f6bf000e3: Download complete [2021-08-03T09:16:26.453Z] c2d8d7efcc4b: Verifying Checksum [2021-08-03T09:16:26.453Z] c2d8d7efcc4b: Download complete [2021-08-03T09:16:27.048Z] 448f6bf000e3: Pull complete [2021-08-03T09:16:27.652Z] f757da607395: Pull complete [2021-08-03T09:16:29.089Z] 05883995daec: Pull complete [2021-08-03T09:16:29.364Z] 8603b9c90790: Pull complete [2021-08-03T09:16:30.349Z] 1560dd03e051: Pull complete [2021-08-03T09:16:30.623Z] 27f5ce0e4adf: Pull complete [2021-08-03T09:16:45.732Z] c2d8d7efcc4b: Pull complete [2021-08-03T09:16:45.732Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-03T09:16:45.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T09:16:45.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-03T09:16:45.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-1872 does not seem to be running inside a container [2021-08-03T09:16:46.071Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-08-03T09:16:49.308Z] $ docker top d99c784475ae6d2bbeda32ef764a6ca34f9e8ffe114054402f57cea055ccc0b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:16:50.338Z] ---> job-cost.sh [2021-08-03T09:16:50.338Z] lf-activate-venv: SKIPPING [2021-08-03T09:16:50.338Z] INFO: No Stack... [2021-08-03T09:16:51.785Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-03T09:16:51.785Z] INFO: Archiving Costs [Pipeline] sh [2021-08-03T09:16:52.451Z] + cut -d, -f6 [2021-08-03T09:16:52.451Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [Pipeline] lock [2021-08-03T09:16:52.514Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [2021-08-03T09:16:52.538Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] did not exist. Created. [2021-08-03T09:16:52.539Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-03T09:16:53.231Z] /w/workspace/device-modbus-go/4@tmp/durable-262f8022/script.sh: 1: /w/workspace/device-modbus-go/4@tmp/durable-262f8022/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-03T09:16:53.899Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-03T09:16:53.934Z] Warning: overwriting stash ‘stack-cost’ [2021-08-03T09:16:53.981Z] Stashed 1 file(s) [Pipeline] } [2021-08-03T09:16:54.000Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-03T09:16:54.026Z] $ docker stop --time=1 d99c784475ae6d2bbeda32ef764a6ca34f9e8ffe114054402f57cea055ccc0b6 [2021-08-03T09:16:55.739Z] $ docker rm -f d99c784475ae6d2bbeda32ef764a6ca34f9e8ffe114054402f57cea055ccc0b6 [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-08-03T09:16:56.639Z] provisioning config files... [2021-08-03T09:16:56.658Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2870027613943171551tmp [Pipeline] { [Pipeline] sh [2021-08-03T09:16:57.002Z] + set +x [2021-08-03T09:16:57.002Z] + curl -s https://codecov.io/bash [2021-08-03T09:16:57.002Z] + bash -s -- [2021-08-03T09:16:57.002Z] [2021-08-03T09:16:57.002Z] _____ _ [2021-08-03T09:16:57.002Z] / ____| | | [2021-08-03T09:16:57.002Z] | | ___ __| | ___ ___ _____ __ [2021-08-03T09:16:57.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-03T09:16:57.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-03T09:16:57.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-03T09:16:57.002Z] Bash-1.0.6 [2021-08-03T09:16:57.002Z] [2021-08-03T09:16:57.002Z] [2021-08-03T09:16:57.002Z] ==> git version 2.24.4 found [2021-08-03T09:16:57.002Z] ==> 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-08-03T09:16:57.002Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-03T09:16:57.002Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-03T09:16:57.272Z] ==> Jenkins CI detected. [2021-08-03T09:16:57.272Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:16:57.272Z] project root: . [2021-08-03T09:16:57.272Z] --> token set from env [2021-08-03T09:16:57.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-03T09:16:57.272Z] ==> Running gcov in . (disable via -X gcov) [2021-08-03T09:16:57.272Z] ==> Python coveragepy not found [2021-08-03T09:16:57.272Z] ==> Searching for coverage reports in: [2021-08-03T09:16:57.272Z] + . [2021-08-03T09:16:57.272Z] -> Found 1 reports [2021-08-03T09:16:57.272Z] ==> Detecting git/mercurial file structure [2021-08-03T09:16:57.272Z] ==> Reading reports [2021-08-03T09:16:57.272Z] + ./coverage.out bytes=23727 [2021-08-03T09:16:57.272Z] ==> Appending adjustments [2021-08-03T09:16:57.272Z] https://docs.codecov.io/docs/fixing-reports [2021-08-03T09:16:57.272Z] + Found adjustments [2021-08-03T09:16:57.272Z] ==> Gzipping contents [2021-08-03T09:16:57.272Z] 4.0K /tmp/codecov.oT6pGf.gz [2021-08-03T09:16:57.272Z] ==> Uploading reports [2021-08-03T09:16:57.272Z] url: https://codecov.io [2021-08-03T09:16:57.272Z] query: branch=main&commit=c8e345b2c8db5a4141178efc0b5671f2e94e7380&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-03T09:16:57.272Z] -> Pinging Codecov [2021-08-03T09:16:57.272Z] 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=c8e345b2c8db5a4141178efc0b5671f2e94e7380&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-03T09:16:57.858Z] -> Uploading to [2021-08-03T09:16:57.858Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-03/55DBCA73C666E3227836607328DD7E49/c8e345b2c8db5a4141178efc0b5671f2e94e7380/a2b0e0cf-e6c4-4967-8690-f4053505a0fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210803T091657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46aec7b244c5298e2f034c6647da06ea1843042395d1a3a697d58a876337d40e [2021-08-03T09:16:57.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-03T09:16:57.858Z] Dload Upload Total Spent Left Speed [2021-08-03T09:16:58.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 11126 --:--:-- --:--:-- --:--:-- 11116 [2021-08-03T09:16:58.125Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] } [2021-08-03T09:16:58.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-03T09:16:58.507Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-03T09:16:58.533Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:58.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-03T09:16:58.864Z] [2021-08-03T09:16:58.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:16:59.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-03T09:16:59.202Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-03T09:16:59.202Z] 188c0c94c7c5: Pulling fs layer [2021-08-03T09:16:59.202Z] 0ef7d3d256c8: Pulling fs layer [2021-08-03T09:16:59.202Z] de9db76c5a1d: Pulling fs layer [2021-08-03T09:16:59.202Z] 0eba1c9be4d2: Pulling fs layer [2021-08-03T09:16:59.202Z] 0d57e429df01: Pulling fs layer [2021-08-03T09:16:59.202Z] 4e4be7b47b0d: Pulling fs layer [2021-08-03T09:16:59.202Z] e1f770b5df2f: Pulling fs layer [2021-08-03T09:16:59.202Z] 85a0685a4137: Pulling fs layer [2021-08-03T09:16:59.202Z] 0d57e429df01: Waiting [2021-08-03T09:16:59.202Z] 4e4be7b47b0d: Waiting [2021-08-03T09:16:59.202Z] e1f770b5df2f: Waiting [2021-08-03T09:16:59.202Z] 85a0685a4137: Waiting [2021-08-03T09:16:59.202Z] 0eba1c9be4d2: Waiting [2021-08-03T09:16:59.202Z] de9db76c5a1d: Verifying Checksum [2021-08-03T09:16:59.202Z] de9db76c5a1d: Download complete [2021-08-03T09:16:59.202Z] 0ef7d3d256c8: Verifying Checksum [2021-08-03T09:16:59.202Z] 0ef7d3d256c8: Download complete [2021-08-03T09:16:59.468Z] 0d57e429df01: Verifying Checksum [2021-08-03T09:16:59.468Z] 0d57e429df01: Download complete [2021-08-03T09:16:59.468Z] 4e4be7b47b0d: Verifying Checksum [2021-08-03T09:16:59.468Z] 4e4be7b47b0d: Download complete [2021-08-03T09:16:59.468Z] 188c0c94c7c5: Verifying Checksum [2021-08-03T09:16:59.468Z] 188c0c94c7c5: Download complete [2021-08-03T09:16:59.738Z] 188c0c94c7c5: Pull complete [2021-08-03T09:16:59.738Z] 0ef7d3d256c8: Pull complete [2021-08-03T09:17:00.006Z] de9db76c5a1d: Pull complete [2021-08-03T09:17:00.972Z] e1f770b5df2f: Verifying Checksum [2021-08-03T09:17:00.972Z] e1f770b5df2f: Download complete [2021-08-03T09:17:04.343Z] 0eba1c9be4d2: Verifying Checksum [2021-08-03T09:17:04.343Z] 0eba1c9be4d2: Download complete [2021-08-03T09:17:04.934Z] 85a0685a4137: Verifying Checksum [2021-08-03T09:17:04.934Z] 85a0685a4137: Download complete [2021-08-03T09:17:07.535Z] 0eba1c9be4d2: Pull complete [2021-08-03T09:17:07.535Z] 0d57e429df01: Pull complete [2021-08-03T09:17:07.535Z] 4e4be7b47b0d: Pull complete [2021-08-03T09:17:07.801Z] e1f770b5df2f: Pull complete [2021-08-03T09:17:11.179Z] 85a0685a4137: Pull complete [2021-08-03T09:17:11.179Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-03T09:17:11.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-03T09:17:11.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-03T09:17:11.300Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:17:11.360Z] $ 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-08-03T09:17:13.982Z] $ docker top 79af9861a53e862a9b8ff1385ed8405e8059b56f1dcffff748817b9c2a08935f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-03T09:17:14.094Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-03T09:17:14.409Z] + set -o pipefail [2021-08-03T09:17:14.409Z] + snyk monitor '--org=edgex-jenkins' [2021-08-03T09:17:22.632Z] [2021-08-03T09:17:22.632Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-08-03T09:17:22.632Z] [2021-08-03T09:17:22.632Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ebe23f03-ebc3-4f97-99cf-5dfebd52ac9c [2021-08-03T09:17:22.632Z] [2021-08-03T09:17:22.632Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-08-03T09:17:22.632Z] [2021-08-03T09:17:22.632Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-03T09:17:22.632Z] [2021-08-03T09:17:23.216Z] [Pipeline] } [2021-08-03T09:17:23.233Z] $ docker stop --time=1 79af9861a53e862a9b8ff1385ed8405e8059b56f1dcffff748817b9c2a08935f [2021-08-03T09:17:25.333Z] $ docker rm -f 79af9861a53e862a9b8ff1385ed8405e8059b56f1dcffff748817b9c2a08935f [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-08-03T09:17:26.444Z] + git log --format=format:%s -1 c8e345b2c8db5a4141178efc0b5671f2e94e7380 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:17:26.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:17:26.770Z] . [Pipeline] withDockerContainer [2021-08-03T09:17:26.864Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:17:26.915Z] $ 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-08-03T09:17:27.295Z] $ docker top 0ff6fedb047236faa791de31b9164051bd06111b3df08299e54270f5b457212d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-03T09:17:27.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T09:17:27.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T09:17:29.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T09:17:29.228Z] $ docker exec 0ff6fedb047236faa791de31b9164051bd06111b3df08299e54270f5b457212d ssh-agent [2021-08-03T09:17:29.359Z] SSH_AUTH_SOCK=/tmp/ssh-VxpZ5iWj5c7c/agent.14 [2021-08-03T09:17:29.359Z] SSH_AGENT_PID=21 [2021-08-03T09:17:29.372Z] Running ssh-add (command line suppressed) [2021-08-03T09:17:29.465Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2091798713144733240.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2091798713144733240.key) [2021-08-03T09:17:29.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T09:17:29.817Z] + git semver tag [2021-08-03T09:17:29.817Z] # -> Open(): unable to determine branch for HEAD [2021-08-03T09:17:29.817Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-03T09:17:29.817Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:17:29.817Z] # $SEMVER_REMOTE_NAME = origin [2021-08-03T09:17:29.817Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-03T09:17:29.817Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-03T09:17:29.817Z] # $SEMVER_BRANCH = main [2021-08-03T09:17:29.817Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-08-03T09:17:29.817Z] # c8e345b2c8db5a4141178efc0b5671f2e94e7380 HEAD [2021-08-03T09:17:29.817Z] # -> Force: false [2021-08-03T09:17:29.817Z] # 696e6b6d642c8ccc26581123fcb83f733c2dc1de refs/tags/v2.0.1-dev.3 [Pipeline] } [2021-08-03T09:17:29.830Z] $ docker exec --env ******** --env ******** 0ff6fedb047236faa791de31b9164051bd06111b3df08299e54270f5b457212d ssh-agent -k [2021-08-03T09:17:29.924Z] unset SSH_AUTH_SOCK; [2021-08-03T09:17:29.925Z] unset SSH_AGENT_PID; [2021-08-03T09:17:29.925Z] echo Agent pid 21 killed; [2021-08-03T09:17:29.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T09:17:30.318Z] + git semver [Pipeline] } [2021-08-03T09:17:30.339Z] $ docker stop --time=1 0ff6fedb047236faa791de31b9164051bd06111b3df08299e54270f5b457212d [2021-08-03T09:17:31.553Z] $ docker rm -f 0ff6fedb047236faa791de31b9164051bd06111b3df08299e54270f5b457212d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:17:32.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-03T09:17:32.040Z] [2021-08-03T09:17:32.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:17:32.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-03T09:17:32.378Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-03T09:17:32.378Z] ab5ef0e58194: Pulling fs layer [2021-08-03T09:17:32.378Z] 9712f1f96733: Pulling fs layer [2021-08-03T09:17:32.378Z] 63f879dbbcfc: Pulling fs layer [2021-08-03T09:17:32.378Z] 0d9ebad4ef96: Pulling fs layer [2021-08-03T09:17:32.378Z] e9a5061849ea: Pulling fs layer [2021-08-03T09:17:32.378Z] d747dcd14b5f: Pulling fs layer [2021-08-03T09:17:32.378Z] 2de7ff778b66: Pulling fs layer [2021-08-03T09:17:32.378Z] e9a5061849ea: Waiting [2021-08-03T09:17:32.378Z] d747dcd14b5f: Waiting [2021-08-03T09:17:32.378Z] 2de7ff778b66: Waiting [2021-08-03T09:17:32.378Z] 0d9ebad4ef96: Waiting [2021-08-03T09:17:32.378Z] 9712f1f96733: Verifying Checksum [2021-08-03T09:17:32.378Z] 9712f1f96733: Download complete [2021-08-03T09:17:34.325Z] 63f879dbbcfc: Verifying Checksum [2021-08-03T09:17:34.325Z] 63f879dbbcfc: Download complete [2021-08-03T09:17:34.593Z] e9a5061849ea: Download complete [2021-08-03T09:17:34.593Z] d747dcd14b5f: Verifying Checksum [2021-08-03T09:17:34.593Z] d747dcd14b5f: Download complete [2021-08-03T09:17:35.176Z] 2de7ff778b66: Verifying Checksum [2021-08-03T09:17:35.176Z] 2de7ff778b66: Download complete [2021-08-03T09:17:35.176Z] 0d9ebad4ef96: Verifying Checksum [2021-08-03T09:17:35.176Z] 0d9ebad4ef96: Download complete [2021-08-03T09:17:36.138Z] ab5ef0e58194: Verifying Checksum [2021-08-03T09:17:36.138Z] ab5ef0e58194: Download complete [2021-08-03T09:17:38.741Z] ab5ef0e58194: Pull complete [2021-08-03T09:17:38.741Z] 9712f1f96733: Pull complete [2021-08-03T09:17:39.332Z] 63f879dbbcfc: Pull complete [2021-08-03T09:17:42.733Z] 0d9ebad4ef96: Pull complete [2021-08-03T09:17:43.000Z] e9a5061849ea: Pull complete [2021-08-03T09:17:43.269Z] d747dcd14b5f: Pull complete [2021-08-03T09:17:44.234Z] 2de7ff778b66: Pull complete [2021-08-03T09:17:44.234Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-03T09:17:44.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-03T09:17:44.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-03T09:17:44.339Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:17:44.398Z] $ 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-08-03T09:17:48.090Z] $ docker top 42095fcaaf25c2984e1d2d34008286bd6e212d573c3499d29fd837815485c299 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:17:48.204Z] provisioning config files... [2021-08-03T09:17:48.221Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7779565393009242459tmp [2021-08-03T09:17:48.250Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4260676228046973477tmp [2021-08-03T09:17:48.270Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4569620484563965192tmp [Pipeline] { [Pipeline] echo [2021-08-03T09:17:48.302Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:17:48.615Z] ---> sigul-configuration.sh [2021-08-03T09:17:48.615Z] gpg: directory `/root/.gnupg' created [2021-08-03T09:17:48.615Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-03T09:17:48.615Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-03T09:17:48.615Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-03T09:17:48.615Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-03T09:17:48.615Z] gpg: CAST5 encrypted data [2021-08-03T09:17:48.615Z] gpg: encrypted with 1 passphrase [2021-08-03T09:17:48.615Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-03T09:17:48.931Z] + mkdir /home/jenkins [2021-08-03T09:17:48.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-03T09:17:49.248Z] + 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-08-03T09:17:49.263Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:17:49.574Z] ---> sigul-install.sh [2021-08-03T09:17:49.574Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-03T09:17:49.890Z] + git tag --list [2021-08-03T09:17:49.890Z] 0.7.1 [2021-08-03T09:17:49.890Z] v1.0.0 [2021-08-03T09:17:49.890Z] v1.1.0 [2021-08-03T09:17:49.890Z] v1.1.1 [2021-08-03T09:17:49.890Z] v1.2.2 [2021-08-03T09:17:49.890Z] v1.3.0 [2021-08-03T09:17:49.890Z] v1.3.1 [2021-08-03T09:17:49.890Z] v2.0.0 [2021-08-03T09:17:49.890Z] v2.0.1-dev.1 [2021-08-03T09:17:49.890Z] v2.0.1-dev.2 [2021-08-03T09:17:49.890Z] v2.0.1-dev.3 [Pipeline] sh [2021-08-03T09:17:50.210Z] + lftools sign git-tag v2.0.1-dev.3 [2021-08-03T09:17:50.820Z] Signing Git tag with Sigul... [2021-08-03T09:17:50.820Z] Signing v2.0.1-dev.3 [Pipeline] echo [2021-08-03T09:17:52.249Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:17:52.560Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-03T09:17:52.573Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-03T09:17:52.607Z] $ docker stop --time=1 42095fcaaf25c2984e1d2d34008286bd6e212d573c3499d29fd837815485c299 [2021-08-03T09:17:53.839Z] $ docker rm -f 42095fcaaf25c2984e1d2d34008286bd6e212d573c3499d29fd837815485c299 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:17:54.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:17:54.510Z] . [Pipeline] withDockerContainer [2021-08-03T09:17:54.607Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:17:54.669Z] $ 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-08-03T09:17:55.058Z] $ docker top 901ed3c8b011aadb2781f971cc161457762f7b452305fc8e0dc114883ec910a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-03T09:17:55.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T09:17:55.221Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T09:17:55.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T09:17:55.364Z] $ docker exec 901ed3c8b011aadb2781f971cc161457762f7b452305fc8e0dc114883ec910a6 ssh-agent [2021-08-03T09:17:55.512Z] SSH_AUTH_SOCK=/tmp/ssh-q8PbpKnbQQ6V/agent.14 [2021-08-03T09:17:55.512Z] SSH_AGENT_PID=21 [2021-08-03T09:17:55.522Z] Running ssh-add (command line suppressed) [2021-08-03T09:17:55.629Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8299235566902265059.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8299235566902265059.key) [2021-08-03T09:17:55.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T09:17:55.974Z] + git semver bump pre [2021-08-03T09:17:55.974Z] # -> Open(): unable to determine branch for HEAD [2021-08-03T09:17:55.974Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-03T09:17:55.974Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:17:55.974Z] # $SEMVER_REMOTE_NAME = origin [2021-08-03T09:17:55.974Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-03T09:17:55.974Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-03T09:17:55.974Z] # $SEMVER_BRANCH = main [2021-08-03T09:17:55.974Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-08-03T09:17:55.974Z] 2.0.1-dev.4 [Pipeline] } [2021-08-03T09:17:55.991Z] $ docker exec --env ******** --env ******** 901ed3c8b011aadb2781f971cc161457762f7b452305fc8e0dc114883ec910a6 ssh-agent -k [2021-08-03T09:17:56.092Z] unset SSH_AUTH_SOCK; [2021-08-03T09:17:56.092Z] unset SSH_AGENT_PID; [2021-08-03T09:17:56.092Z] echo Agent pid 21 killed; [2021-08-03T09:17:56.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T09:17:56.471Z] + git semver [Pipeline] } [2021-08-03T09:17:56.490Z] $ docker stop --time=1 901ed3c8b011aadb2781f971cc161457762f7b452305fc8e0dc114883ec910a6 [2021-08-03T09:17:57.697Z] $ docker rm -f 901ed3c8b011aadb2781f971cc161457762f7b452305fc8e0dc114883ec910a6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:17:58.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T09:17:58.117Z] . [Pipeline] withDockerContainer [2021-08-03T09:17:58.203Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:17:58.271Z] $ 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-08-03T09:17:58.762Z] $ docker top 84d067466be6d745520d491d577d1445f116f9808f3886628e8753ecf90c7bfb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-03T09:17:59.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T09:17:59.041Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T09:17:59.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T09:17:59.256Z] $ docker exec 84d067466be6d745520d491d577d1445f116f9808f3886628e8753ecf90c7bfb ssh-agent [2021-08-03T09:17:59.420Z] SSH_AUTH_SOCK=/tmp/ssh-W3qsjfY4RYr8/agent.12 [2021-08-03T09:17:59.420Z] SSH_AGENT_PID=18 [2021-08-03T09:17:59.428Z] Running ssh-add (command line suppressed) [2021-08-03T09:17:59.520Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2459744231825548559.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2459744231825548559.key) [2021-08-03T09:17:59.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T09:17:59.857Z] + git semver push [2021-08-03T09:17:59.857Z] # -> Open(): unable to determine branch for HEAD [2021-08-03T09:17:59.857Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-03T09:17:59.857Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:17:59.857Z] # $SEMVER_REMOTE_NAME = origin [2021-08-03T09:17:59.857Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-03T09:17:59.857Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-03T09:17:59.857Z] # $SEMVER_BRANCH = main [2021-08-03T09:17:59.857Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-08-03T09:18:05.218Z] $ docker exec --env ******** --env ******** 84d067466be6d745520d491d577d1445f116f9808f3886628e8753ecf90c7bfb ssh-agent -k [2021-08-03T09:18:05.337Z] unset SSH_AUTH_SOCK; [2021-08-03T09:18:05.337Z] unset SSH_AGENT_PID; [2021-08-03T09:18:05.337Z] echo Agent pid 18 killed; [2021-08-03T09:18:05.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T09:18:05.733Z] + git semver [Pipeline] } [2021-08-03T09:18:05.754Z] $ docker stop --time=1 84d067466be6d745520d491d577d1445f116f9808f3886628e8753ecf90c7bfb [2021-08-03T09:18:07.009Z] $ docker rm -f 84d067466be6d745520d491d577d1445f116f9808f3886628e8753ecf90c7bfb [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] sh [2021-08-03T09:18:08.126Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:08.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:09.062Z] ---> package-listing.sh [2021-08-03T09:18:09.062Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-03T09:18:09.062Z] ++ facter osfamily [2021-08-03T09:18:09.329Z] + OS_FAMILY=redhat [2021-08-03T09:18:09.329Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-08-03T09:18:09.329Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-03T09:18:09.329Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-03T09:18:09.329Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-03T09:18:09.329Z] + PACKAGES=/tmp/packages_start.txt [2021-08-03T09:18:09.329Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-08-03T09:18:09.329Z] + PACKAGES=/tmp/packages_end.txt [2021-08-03T09:18:09.329Z] + case "${OS_FAMILY}" in [2021-08-03T09:18:09.329Z] + rpm -qa [2021-08-03T09:18:09.329Z] + sort [2021-08-03T09:18:09.912Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-03T09:18:09.912Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-03T09:18:09.912Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-03T09:18:09.912Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-08-03T09:18:09.912Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-08-03T09:18:09.912Z] + 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-08-03T09:18:09.930Z] 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-08-03T09:18:10.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:18:10.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:18:10.832Z] [2021-08-03T09:18:10.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T09:18:11.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:18:11.166Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-03T09:18:11.166Z] b4d181a07f80: Pulling fs layer [2021-08-03T09:18:11.166Z] a1111a8f2ec3: Pulling fs layer [2021-08-03T09:18:11.166Z] ed53099fbce6: Pulling fs layer [2021-08-03T09:18:11.166Z] dc539afda2c1: Pulling fs layer [2021-08-03T09:18:11.166Z] 77bc0d833cb6: Pulling fs layer [2021-08-03T09:18:11.166Z] 9065ff56babe: Pulling fs layer [2021-08-03T09:18:11.166Z] d287ab97295c: Pulling fs layer [2021-08-03T09:18:11.166Z] 77bc0d833cb6: Waiting [2021-08-03T09:18:11.166Z] 9065ff56babe: Waiting [2021-08-03T09:18:11.166Z] d287ab97295c: Waiting [2021-08-03T09:18:11.166Z] dc539afda2c1: Waiting [2021-08-03T09:18:11.434Z] a1111a8f2ec3: Verifying Checksum [2021-08-03T09:18:11.434Z] a1111a8f2ec3: Download complete [2021-08-03T09:18:11.434Z] dc539afda2c1: Verifying Checksum [2021-08-03T09:18:11.434Z] dc539afda2c1: Download complete [2021-08-03T09:18:11.701Z] 77bc0d833cb6: Verifying Checksum [2021-08-03T09:18:11.701Z] 77bc0d833cb6: Download complete [2021-08-03T09:18:11.701Z] 9065ff56babe: Verifying Checksum [2021-08-03T09:18:11.701Z] 9065ff56babe: Download complete [2021-08-03T09:18:11.968Z] ed53099fbce6: Verifying Checksum [2021-08-03T09:18:11.968Z] ed53099fbce6: Download complete [2021-08-03T09:18:12.560Z] b4d181a07f80: Verifying Checksum [2021-08-03T09:18:12.560Z] b4d181a07f80: Download complete [2021-08-03T09:18:13.528Z] b4d181a07f80: Pull complete [2021-08-03T09:18:13.810Z] a1111a8f2ec3: Pull complete [2021-08-03T09:18:14.775Z] ed53099fbce6: Pull complete [2021-08-03T09:18:14.775Z] dc539afda2c1: Pull complete [2021-08-03T09:18:14.775Z] 77bc0d833cb6: Pull complete [2021-08-03T09:18:15.041Z] 9065ff56babe: Pull complete [2021-08-03T09:18:16.013Z] d287ab97295c: Verifying Checksum [2021-08-03T09:18:16.013Z] d287ab97295c: Download complete [2021-08-03T09:18:21.385Z] d287ab97295c: Pull complete [2021-08-03T09:18:21.385Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-03T09:18:21.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T09:18:21.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-03T09:18:21.473Z] prd-centos7-docker-4c-2g-1871 does not seem to be running inside a container [2021-08-03T09:18:21.523Z] $ 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-08-03T09:18:24.194Z] $ docker top 261fcf29e2212c3fd2e726ff87d6a6c5c9392105129b8f8383ce7901db291550 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T09:18:24.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-03T09:18:24.923Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-03T09:18:25.236Z] + ls /var/log/sa-host [2021-08-03T09:18:25.236Z] + sadf -c /var/log/sa-host/sa03 [2021-08-03T09:18:25.236Z] file_magic: OK [2021-08-03T09:18:25.236Z] HZ: Using current value: 100 [2021-08-03T09:18:25.236Z] file_header: OK [2021-08-03T09:18:25.236Z] 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-08-03T09:18:25.236Z] Statistics: [2021-08-03T09:18:25.236Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-03T09:18:25.236Z] File successfully converted to sysstat format version 12.0.3 [2021-08-03T09:18:25.236Z] + sadf -c /var/log/sa-host/sa05 [2021-08-03T09:18:25.236Z] file_magic: OK [2021-08-03T09:18:25.236Z] HZ: Using current value: 100 [2021-08-03T09:18:25.236Z] file_header: OK [2021-08-03T09:18:25.236Z] 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-08-03T09:18:25.236Z] Statistics: [2021-08-03T09:18:25.236Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-03T09:18:25.236Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T09:18:25.462Z] provisioning config files... [2021-08-03T09:18:25.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6514831030587508342tmp [Pipeline] { [Pipeline] echo [2021-08-03T09:18:25.516Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:25.830Z] ---> create-netrc.sh [Pipeline] } [2021-08-03T09:18:25.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:26.235Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-03T09:18:26.251Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:26.560Z] ---> sudo-logs.sh [2021-08-03T09:18:26.560Z] Archiving 'sudo' log.. [2021-08-03T09:18:26.560Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1871.vexxhost.local: Name or service not known [2021-08-03T09:18:26.560Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1871.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-03T09:18:26.601Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:26.913Z] ---> job-cost.sh [2021-08-03T09:18:26.913Z] lf-activate-venv: SKIPPING [2021-08-03T09:18:26.913Z] DEBUG: total: 0.18000000715255737 [2021-08-03T09:18:26.913Z] INFO: Retrieving Stack Cost... [2021-08-03T09:18:27.496Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-03T09:18:28.084Z] INFO: Archiving Costs [Pipeline] echo [2021-08-03T09:18:28.102Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T09:18:28.413Z] ---> logs-deploy.sh [2021-08-03T09:18:28.413Z] lf-activate-venv: SKIPPING [2021-08-03T09:18:28.413Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/4 [2021-08-03T09:18:28.413Z] INFO: archiving workspace using pattern(s): [2021-08-03T09:18:28.997Z] Archives upload complete. [2021-08-03T09:18:29.264Z] INFO: archiving logs to Nexus