Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e1dcefe05451e99782283e97402c84988ce0a6d8 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6403442884861569734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6561456124687442020.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2649638911576553841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1996397144835106651.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7226281958252615668.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-492 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh2792462861499245006.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 e1dcefe05451e99782283e97402c84988ce0a6d8 (master) > 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 e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" > git rev-list --no-walk 23b2ace20fc3a54731961acf7f402a3079c58c8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-04T03:09:54.627Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-04T03:09:54.729Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-04T03:09:54.758Z] ========================================================= [2021-06-04T03:09:54.758Z] EdgeX Global Pipelines Version Info [2021-06-04T03:09:54.758Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:09:56.197Z] ------------------- [2021-06-04T03:09:56.197Z] stable info: [2021-06-04T03:09:56.197Z] ------------------- [2021-06-04T03:09:56.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-04T03:09:56.197Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-04T03:09:56.197Z] Message: update stable to v1.0.193 [2021-06-04T03:09:56.777Z] ------------------- [2021-06-04T03:09:56.777Z] experimental info: [2021-06-04T03:09:56.777Z] ------------------- [2021-06-04T03:09:56.777Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-04T03:09:56.777Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-04T03:09:56.777Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-04T03:09:56.902Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-04T03:09:56.928Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-04T03:09:56.950Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-04T03:09:56.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-04T03:09:56.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-04T03:09:57.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-04T03:09:57.041Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-04T03:09:57.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-04T03:09:57.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-04T03:09:57.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-04T03:09:57.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-04T03:09:57.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-04T03:09:57.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-04T03:09:57.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-04T03:09:57.270Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-04T03:09:57.294Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-04T03:09:57.317Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-04T03:09:57.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-04T03:09:57.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-04T03:09:57.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-04T03:09:57.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-04T03:09:57.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-04T03:09:57.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-04T03:09:57.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-04T03:09:57.555Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-04T03:09:57.579Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-04T03:09:57.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-04T03:09:57.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-04T03:09:57.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-04T03:09:57.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] echo [2021-06-04T03:09:57.703Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1dcefe [Pipeline] echo [2021-06-04T03:09:57.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:09:57.806Z] provisioning config files... [2021-06-04T03:09:57.822Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3614439096130413997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:09:58.166Z] ---> docker-login.sh [2021-06-04T03:09:58.166Z] nexus3.edgexfoundry.org:10001 [2021-06-04T03:09:58.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:09:58.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:09:58.434Z] Configure a credential helper to remove this warning. See [2021-06-04T03:09:58.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:09:58.434Z] [2021-06-04T03:09:58.434Z] Login Succeeded [2021-06-04T03:09:58.434Z] nexus3.edgexfoundry.org:10002 [2021-06-04T03:09:58.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:09:58.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:09:58.696Z] Configure a credential helper to remove this warning. See [2021-06-04T03:09:58.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:09:58.696Z] [2021-06-04T03:09:58.696Z] Login Succeeded [2021-06-04T03:09:58.696Z] nexus3.edgexfoundry.org:10003 [2021-06-04T03:09:58.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:09:58.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:09:58.696Z] Configure a credential helper to remove this warning. See [2021-06-04T03:09:58.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:09:58.696Z] [2021-06-04T03:09:58.696Z] Login Succeeded [2021-06-04T03:09:58.696Z] nexus3.edgexfoundry.org:10004 [2021-06-04T03:09:58.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:09:58.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:09:58.958Z] Configure a credential helper to remove this warning. See [2021-06-04T03:09:58.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:09:58.958Z] [2021-06-04T03:09:58.958Z] Login Succeeded [2021-06-04T03:09:58.958Z] docker.io [2021-06-04T03:09:58.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:09:59.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:09:59.220Z] Configure a credential helper to remove this warning. See [2021-06-04T03:09:59.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:09:59.220Z] [2021-06-04T03:09:59.220Z] Login Succeeded [2021-06-04T03:09:59.220Z] ---> docker-login.sh ends [Pipeline] } [2021-06-04T03:09:59.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-04T03:09:59.723Z] + git log --format=format:%s -1 e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] echo [2021-06-04T03:09:59.760Z] GIT_COMMIT: e1dcefe05451e99782283e97402c84988ce0a6d8, Commit Message: Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path [Pipeline] echo [2021-06-04T03:09:59.775Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:10:00.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:10:00.364Z] [2021-06-04T03:10:00.364Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:10:00.675Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:10:00.949Z] latest: Pulling from edgex-devops/git-semver [2021-06-04T03:10:00.949Z] 31603596830f: Pulling fs layer [2021-06-04T03:10:00.949Z] 54011a49482f: Pulling fs layer [2021-06-04T03:10:00.949Z] a6820b24f6d8: Pulling fs layer [2021-06-04T03:10:00.949Z] f581987b2513: Pulling fs layer [2021-06-04T03:10:00.949Z] f581987b2513: Waiting [2021-06-04T03:10:00.949Z] 54011a49482f: Verifying Checksum [2021-06-04T03:10:00.949Z] 54011a49482f: Download complete [2021-06-04T03:10:00.949Z] 31603596830f: Verifying Checksum [2021-06-04T03:10:00.949Z] 31603596830f: Download complete [2021-06-04T03:10:00.949Z] f581987b2513: Verifying Checksum [2021-06-04T03:10:00.949Z] f581987b2513: Download complete [2021-06-04T03:10:00.949Z] a6820b24f6d8: Verifying Checksum [2021-06-04T03:10:00.949Z] a6820b24f6d8: Download complete [2021-06-04T03:10:01.213Z] 31603596830f: Pull complete [2021-06-04T03:10:01.213Z] 54011a49482f: Pull complete [2021-06-04T03:10:01.785Z] a6820b24f6d8: Pull complete [2021-06-04T03:10:02.056Z] f581987b2513: Pull complete [2021-06-04T03:10:02.056Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-04T03:10:02.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:10:02.056Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-04T03:10:02.154Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:10:02.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-04T03:10:03.369Z] $ docker top ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-04T03:10:03.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-04T03:10:03.498Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-04T03:10:03.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-04T03:10:03.616Z] $ docker exec ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent [2021-06-04T03:10:03.729Z] SSH_AUTH_SOCK=/tmp/ssh-H5MAYXNlEsB2/agent.13 [2021-06-04T03:10:03.729Z] SSH_AGENT_PID=20 [2021-06-04T03:10:03.737Z] Running ssh-add (command line suppressed) [2021-06-04T03:10:03.829Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5079025012704383824.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5079025012704383824.key) [2021-06-04T03:10:03.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-04T03:10:04.151Z] + git tag --points-at HEAD [Pipeline] } [2021-06-04T03:10:04.161Z] $ docker exec --env ******** --env ******** ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent -k [2021-06-04T03:10:04.259Z] unset SSH_AUTH_SOCK; [2021-06-04T03:10:04.259Z] unset SSH_AGENT_PID; [2021-06-04T03:10:04.259Z] echo Agent pid 20 killed; [2021-06-04T03:10:04.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-04T03:10:04.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-04T03:10:04.320Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-04T03:10:04.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-04T03:10:04.431Z] $ docker exec ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent [2021-06-04T03:10:04.543Z] SSH_AUTH_SOCK=/tmp/ssh-Yt5i6J7gi7G3/agent.52 [2021-06-04T03:10:04.543Z] SSH_AGENT_PID=58 [2021-06-04T03:10:04.549Z] Running ssh-add (command line suppressed) [2021-06-04T03:10:04.637Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3451043459623476610.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3451043459623476610.key) [2021-06-04T03:10:04.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-04T03:10:04.960Z] + git semver init [2021-06-04T03:10:04.960Z] # -> Open(): unable to determine branch for HEAD [2021-06-04T03:10:04.960Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-04T03:10:04.960Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-04T03:10:04.960Z] # $SEMVER_REMOTE_NAME = origin [2021-06-04T03:10:04.960Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-04T03:10:04.960Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-04T03:10:04.960Z] # $SEMVER_BRANCH = master [2021-06-04T03:10:04.960Z] # $SEMVER_TEMP = /tmp/semver-613136619 [2021-06-04T03:10:04.960Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-04T03:10:05.908Z] # '/tmp/semver-613136619' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-06-04T03:10:05.908Z] # -> Force: false [2021-06-04T03:10:05.908Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-04T03:10:05.916Z] $ docker exec --env ******** --env ******** ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 ssh-agent -k [2021-06-04T03:10:06.014Z] unset SSH_AUTH_SOCK; [2021-06-04T03:10:06.014Z] unset SSH_AGENT_PID; [2021-06-04T03:10:06.014Z] echo Agent pid 58 killed; [2021-06-04T03:10:06.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-04T03:10:06.375Z] + git semver [Pipeline] } [2021-06-04T03:10:06.386Z] $ docker stop --time=1 ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 [2021-06-04T03:10:07.624Z] $ docker rm -f ba0bc8b0e46954014cf8895d7210c534326677b929874498132cc1802b5954d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-04T03:10:07.996Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-04T03:10:08.256Z] Stashed 1 file(s) [Pipeline] echo [2021-06-04T03:10:08.259Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-04T03:10:23.513Z] Still waiting to schedule task [2021-06-04T03:10:23.513Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-04T03:10:23.513Z] Still waiting to schedule task [2021-06-04T03:10:23.514Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ [2021-06-04T03:12:17.412Z] Running on prd-centos7-docker-4c-2g-495 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-04T03:12:17.434Z] Running in /w/workspace/device-modbus-go/53 [Pipeline] { [Pipeline] checkout [2021-06-04T03:12:17.551Z] Selected Git installation does not exist. Using Default [2021-06-04T03:12:17.551Z] The recommended git tool is: NONE [2021-06-04T03:12:20.125Z] using credential edgex-jenkins-ssh [2021-06-04T03:12:20.142Z] Cloning the remote Git repository [2021-06-04T03:12:20.157Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-04T03:12:20.219Z] > git init /w/workspace/device-modbus-go/53 # timeout=10 [2021-06-04T03:12:20.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-04T03:12:20.249Z] > git --version # timeout=10 [2021-06-04T03:12:20.258Z] > git --version # 'git version 2.24.4' [2021-06-04T03:12:20.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-04T03:12:20.305Z] [INFO] Currently running in a labeled security context [2021-06-04T03:12:20.306Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-04T03:12:20.306Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/53@tmp/jenkins-gitclient-ssh6705937710623702542.key [2021-06-04T03:12:20.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-04T03:12:21.826Z] Avoid second fetch [2021-06-04T03:12:21.827Z] Checking out Revision e1dcefe05451e99782283e97402c84988ce0a6d8 (master) [2021-06-04T03:12:21.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-04T03:12:21.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-04T03:12:21.837Z] > git config core.sparsecheckout # timeout=10 [2021-06-04T03:12:21.843Z] > git checkout -f e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 [2021-06-04T03:12:25.467Z] Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-04T03:12:26.451Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-04T03:12:27.040Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-04T03:12:27.342Z] + sudo service docker restart [2021-06-04T03:12:27.342Z] + true [2021-06-04T03:12:27.342Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:12:49.353Z] provisioning config files... [2021-06-04T03:12:49.368Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config3669157966302195080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:12:49.702Z] ---> docker-login.sh [2021-06-04T03:12:49.702Z] nexus3.edgexfoundry.org:10001 [2021-06-04T03:12:50.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:12:50.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:12:50.942Z] Configure a credential helper to remove this warning. See [2021-06-04T03:12:50.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:12:50.942Z] [2021-06-04T03:12:50.942Z] Login Succeeded [2021-06-04T03:12:50.942Z] nexus3.edgexfoundry.org:10002 [2021-06-04T03:12:50.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:12:50.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:12:50.942Z] Configure a credential helper to remove this warning. See [2021-06-04T03:12:50.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:12:50.942Z] [2021-06-04T03:12:50.942Z] Login Succeeded [2021-06-04T03:12:50.942Z] nexus3.edgexfoundry.org:10003 [2021-06-04T03:12:51.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:12:51.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:12:51.203Z] Configure a credential helper to remove this warning. See [2021-06-04T03:12:51.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:12:51.203Z] [2021-06-04T03:12:51.203Z] Login Succeeded [2021-06-04T03:12:51.203Z] nexus3.edgexfoundry.org:10004 [2021-06-04T03:12:51.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:12:51.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:12:51.203Z] Configure a credential helper to remove this warning. See [2021-06-04T03:12:51.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:12:51.203Z] [2021-06-04T03:12:51.203Z] Login Succeeded [2021-06-04T03:12:51.203Z] docker.io [2021-06-04T03:12:51.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:12:51.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:12:51.728Z] Configure a credential helper to remove this warning. See [2021-06-04T03:12:51.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:12:51.728Z] [2021-06-04T03:12:51.728Z] Login Succeeded [2021-06-04T03:12:51.728Z] ---> docker-login.sh ends [Pipeline] } [2021-06-04T03:12:51.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-04T03:12:51.919Z] ========================================================= [2021-06-04T03:12:51.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-04T03:12:51.919Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:12:52.242Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-04T03:12:52.242Z] Sending build context to Docker daemon 617.5kB [2021-06-04T03:12:52.242Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-04T03:12:52.242Z] Step 2/8 : FROM ${BASE} [2021-06-04T03:12:52.826Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-04T03:12:52.826Z] 540db60ca938: Pulling fs layer [2021-06-04T03:12:52.826Z] adcc1eea9eea: Pulling fs layer [2021-06-04T03:12:52.826Z] 4c4ab2625f07: Pulling fs layer [2021-06-04T03:12:52.826Z] 0510c868ecb4: Pulling fs layer [2021-06-04T03:12:52.826Z] afea3b2eda06: Pulling fs layer [2021-06-04T03:12:52.826Z] 7809a108b3ef: Pulling fs layer [2021-06-04T03:12:52.826Z] f706445af74f: Pulling fs layer [2021-06-04T03:12:52.826Z] 0510c868ecb4: Waiting [2021-06-04T03:12:52.826Z] afea3b2eda06: Waiting [2021-06-04T03:12:52.826Z] 7809a108b3ef: Waiting [2021-06-04T03:12:52.826Z] f706445af74f: Waiting [2021-06-04T03:12:52.826Z] 4c4ab2625f07: Verifying Checksum [2021-06-04T03:12:52.826Z] 4c4ab2625f07: Download complete [2021-06-04T03:12:52.826Z] adcc1eea9eea: Download complete [2021-06-04T03:12:52.826Z] afea3b2eda06: Verifying Checksum [2021-06-04T03:12:52.826Z] afea3b2eda06: Download complete [2021-06-04T03:12:52.826Z] 540db60ca938: Verifying Checksum [2021-06-04T03:12:52.826Z] 540db60ca938: Download complete [2021-06-04T03:12:52.826Z] 7809a108b3ef: Verifying Checksum [2021-06-04T03:12:52.826Z] 7809a108b3ef: Download complete [2021-06-04T03:12:53.089Z] 540db60ca938: Pull complete [2021-06-04T03:12:53.664Z] adcc1eea9eea: Pull complete [2021-06-04T03:12:53.926Z] 4c4ab2625f07: Pull complete [2021-06-04T03:12:54.499Z] f706445af74f: Verifying Checksum [2021-06-04T03:12:54.499Z] f706445af74f: Download complete [2021-06-04T03:12:55.075Z] 0510c868ecb4: Verifying Checksum [2021-06-04T03:12:55.075Z] 0510c868ecb4: Download complete [2021-06-04T03:13:00.419Z] 0510c868ecb4: Pull complete [2021-06-04T03:13:00.419Z] afea3b2eda06: Pull complete [2021-06-04T03:13:00.419Z] 7809a108b3ef: Pull complete [2021-06-04T03:13:02.353Z] f706445af74f: Pull complete [2021-06-04T03:13:02.353Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-04T03:13:02.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-04T03:13:02.353Z] ---> b068be0155e3 [2021-06-04T03:13:02.353Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-04T03:13:14.309Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-498 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-04T03:13:14.328Z] Running in /w/workspace/device-modbus-go/53 [Pipeline] { [Pipeline] checkout [2021-06-04T03:13:14.574Z] Selected Git installation does not exist. Using Default [2021-06-04T03:13:14.575Z] The recommended git tool is: NONE [2021-06-04T03:13:19.818Z] using credential edgex-jenkins-ssh [2021-06-04T03:13:19.840Z] Cloning the remote Git repository [2021-06-04T03:13:19.974Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-04T03:13:20.097Z] > git init /w/workspace/device-modbus-go/53 # timeout=10 [2021-06-04T03:13:20.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-04T03:13:20.205Z] > git --version # timeout=10 [2021-06-04T03:13:20.240Z] > git --version # 'git version 2.17.1' [2021-06-04T03:13:20.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-04T03:13:20.322Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-04T03:13:21.226Z] Avoid second fetch [2021-06-04T03:13:21.226Z] Checking out Revision e1dcefe05451e99782283e97402c84988ce0a6d8 (master) [2021-06-04T03:13:21.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-04T03:13:21.199Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-04T03:13:21.241Z] > git config core.sparsecheckout # timeout=10 [2021-06-04T03:13:21.268Z] > git checkout -f e1dcefe05451e99782283e97402c84988ce0a6d8 # timeout=10 [2021-06-04T03:13:25.527Z] Commit message: "Merge pull request #255 from jim-wang-intel/remove-retry-config-update-secret-path" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-04T03:13:26.824Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-04T03:13:27.262Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-04T03:13:27.689Z] + sudo service docker restart [2021-06-04T03:13:27.689Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:13:46.129Z] provisioning config files... [2021-06-04T03:13:46.159Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config2907999344462428408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:13:46.544Z] ---> docker-login.sh [2021-06-04T03:13:46.545Z] nexus3.edgexfoundry.org:10001 [2021-06-04T03:13:47.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:13:47.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:13:47.757Z] Configure a credential helper to remove this warning. See [2021-06-04T03:13:47.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:13:47.757Z] [2021-06-04T03:13:47.757Z] Login Succeeded [2021-06-04T03:13:47.757Z] nexus3.edgexfoundry.org:10002 [2021-06-04T03:13:48.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:13:48.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:13:48.327Z] Configure a credential helper to remove this warning. See [2021-06-04T03:13:48.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:13:48.327Z] [2021-06-04T03:13:48.327Z] Login Succeeded [2021-06-04T03:13:48.327Z] nexus3.edgexfoundry.org:10003 [2021-06-04T03:13:48.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:13:48.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:13:48.887Z] Configure a credential helper to remove this warning. See [2021-06-04T03:13:48.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:13:48.887Z] [2021-06-04T03:13:48.887Z] Login Succeeded [2021-06-04T03:13:48.887Z] nexus3.edgexfoundry.org:10004 [2021-06-04T03:13:49.123Z] ---> Running in 5b686d3eefcb [2021-06-04T03:13:49.123Z] Removing intermediate container 5b686d3eefcb [2021-06-04T03:13:49.123Z] ---> f54e6d51ab59 [2021-06-04T03:13:49.123Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:13:49.123Z] ---> Running in ddfac63af90f [2021-06-04T03:13:49.123Z] Removing intermediate container ddfac63af90f [2021-06-04T03:13:49.123Z] ---> ecefde36e3c5 [2021-06-04T03:13:49.123Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-04T03:13:49.123Z] ---> Running in 6dacb915a3ac [2021-06-04T03:13:49.123Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-04T03:13:49.123Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-04T03:13:49.123Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-04T03:13:49.123Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-04T03:13:49.123Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-04T03:13:49.123Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-04T03:13:49.123Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-04T03:13:49.123Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-04T03:13:49.123Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-04T03:13:49.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:13:49.392Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-04T03:13:49.392Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-04T03:13:49.392Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-04T03:13:49.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:13:49.440Z] Configure a credential helper to remove this warning. See [2021-06-04T03:13:49.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:13:49.440Z] [2021-06-04T03:13:49.440Z] Login Succeeded [2021-06-04T03:13:49.440Z] docker.io [2021-06-04T03:13:49.655Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-04T03:13:49.655Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-04T03:13:49.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:13:49.915Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-04T03:13:49.915Z] Executing busybox-1.32.1-r6.trigger [2021-06-04T03:13:49.915Z] OK: 156 MiB in 53 packages [2021-06-04T03:13:50.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:13:50.327Z] Configure a credential helper to remove this warning. See [2021-06-04T03:13:50.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:13:50.327Z] [2021-06-04T03:13:50.327Z] Login Succeeded [2021-06-04T03:13:50.327Z] ---> docker-login.sh ends [Pipeline] } [2021-06-04T03:13:50.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-04T03:13:50.671Z] ========================================================= [2021-06-04T03:13:50.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-04T03:13:50.671Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:13:51.018Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-04T03:13:51.297Z] Sending build context to Docker daemon 616.4kB [2021-06-04T03:13:51.297Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-04T03:13:51.297Z] Step 2/8 : FROM ${BASE} [2021-06-04T03:13:51.575Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-04T03:13:51.575Z] 595b0fe564bb: Pulling fs layer [2021-06-04T03:13:51.575Z] 7186ed65a4f7: Pulling fs layer [2021-06-04T03:13:51.575Z] 316046926c0a: Pulling fs layer [2021-06-04T03:13:51.575Z] 4ebd0625c992: Pulling fs layer [2021-06-04T03:13:51.575Z] 207e8628e3a3: Pulling fs layer [2021-06-04T03:13:51.575Z] c791037a9be2: Pulling fs layer [2021-06-04T03:13:51.575Z] ffd874e62e21: Pulling fs layer [2021-06-04T03:13:51.575Z] c791037a9be2: Waiting [2021-06-04T03:13:51.575Z] ffd874e62e21: Waiting [2021-06-04T03:13:51.575Z] 4ebd0625c992: Waiting [2021-06-04T03:13:51.575Z] 207e8628e3a3: Waiting [2021-06-04T03:13:51.575Z] 316046926c0a: Verifying Checksum [2021-06-04T03:13:51.575Z] 316046926c0a: Download complete [2021-06-04T03:13:51.575Z] 7186ed65a4f7: Download complete [2021-06-04T03:13:51.854Z] 207e8628e3a3: Verifying Checksum [2021-06-04T03:13:51.854Z] 207e8628e3a3: Download complete [2021-06-04T03:13:51.854Z] c791037a9be2: Download complete [2021-06-04T03:13:51.854Z] 595b0fe564bb: Download complete [2021-06-04T03:13:52.459Z] 595b0fe564bb: Pull complete [2021-06-04T03:13:53.077Z] 7186ed65a4f7: Pull complete [2021-06-04T03:13:53.219Z] Removing intermediate container 6dacb915a3ac [2021-06-04T03:13:53.219Z] ---> 6289c5e39a56 [2021-06-04T03:13:53.219Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-04T03:13:53.360Z] 316046926c0a: Pull complete [2021-06-04T03:13:53.639Z] ffd874e62e21: Verifying Checksum [2021-06-04T03:13:53.639Z] ffd874e62e21: Download complete [2021-06-04T03:13:53.800Z] ---> Running in 9e7c7cc8c673 [2021-06-04T03:13:54.394Z] Removing intermediate container 9e7c7cc8c673 [2021-06-04T03:13:54.394Z] ---> 3e8261115c24 [2021-06-04T03:13:54.394Z] Step 7/8 : COPY . . [2021-06-04T03:13:55.096Z] 4ebd0625c992: Verifying Checksum [2021-06-04T03:13:55.096Z] 4ebd0625c992: Download complete [2021-06-04T03:13:57.707Z] ---> 319ee62dfb1e [2021-06-04T03:13:57.707Z] Step 8/8 : RUN go mod download [2021-06-04T03:13:57.707Z] ---> Running in a3eac0d7b2b0 [2021-06-04T03:14:05.289Z] 4ebd0625c992: Pull complete [2021-06-04T03:14:05.564Z] 207e8628e3a3: Pull complete [2021-06-04T03:14:06.164Z] c791037a9be2: Pull complete [2021-06-04T03:14:09.547Z] ffd874e62e21: Pull complete [2021-06-04T03:14:09.547Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-04T03:14:09.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-04T03:14:09.547Z] ---> cfc18b08335c [2021-06-04T03:14:09.547Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-04T03:14:11.539Z] ---> Running in b3d7f30dfee6 [2021-06-04T03:14:11.814Z] Removing intermediate container b3d7f30dfee6 [2021-06-04T03:14:11.815Z] ---> 651166c0c816 [2021-06-04T03:14:11.815Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:14:12.089Z] ---> Running in 65fe715c5aa9 [2021-06-04T03:14:14.728Z] Removing intermediate container 65fe715c5aa9 [2021-06-04T03:14:14.728Z] ---> 022626c6df5e [2021-06-04T03:14:14.728Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-04T03:14:14.728Z] ---> Running in a2200ac159ae [2021-06-04T03:14:15.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-04T03:14:16.713Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-04T03:14:18.151Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-04T03:14:18.151Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-04T03:14:18.743Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-04T03:14:18.744Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-04T03:14:18.744Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-04T03:14:19.334Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-04T03:14:19.334Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-04T03:14:21.297Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-04T03:14:21.567Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-04T03:14:21.567Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-04T03:14:22.159Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-04T03:14:22.608Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-04T03:14:22.608Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-04T03:14:22.889Z] Executing busybox-1.32.1-r6.trigger [2021-06-04T03:14:22.889Z] OK: 145 MiB in 53 packages [2021-06-04T03:14:24.380Z] Removing intermediate container a2200ac159ae [2021-06-04T03:14:24.381Z] ---> 3055a811440a [2021-06-04T03:14:24.381Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-04T03:14:24.653Z] ---> Running in fef9cf967816 [2021-06-04T03:14:25.249Z] Removing intermediate container fef9cf967816 [2021-06-04T03:14:25.249Z] ---> df726daa9086 [2021-06-04T03:14:25.249Z] Step 7/8 : COPY . . [2021-06-04T03:14:26.277Z] ---> 553c49a4b6c0 [2021-06-04T03:14:26.277Z] Step 8/8 : RUN go mod download [2021-06-04T03:14:26.277Z] ---> Running in 793d13ae4db6 [2021-06-04T03:14:53.062Z] Removing intermediate container 793d13ae4db6 [2021-06-04T03:14:53.062Z] ---> 0e41387bf58a [2021-06-04T03:14:53.062Z] Successfully built 0e41387bf58a [2021-06-04T03:14:53.062Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:14:53.406Z] + docker inspect -f . ci-base-image-arm64 [2021-06-04T03:14:53.406Z] . [Pipeline] withDockerContainer [2021-06-04T03:14:53.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-498 does not seem to be running inside a container [2021-06-04T03:14:53.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-04T03:14:55.365Z] $ docker top 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-04T03:14:56.331Z] + go version [2021-06-04T03:14:56.331Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-04T03:14:56.346Z] $ docker stop --time=1 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc [2021-06-04T03:14:58.233Z] $ docker rm -f 155f43e000217b2484a645f4b9cc24abcc2a8fa37c581def97310cf19f09e9fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:14:58.997Z] + docker inspect -f . ci-base-image-arm64 [2021-06-04T03:14:58.997Z] . [Pipeline] withDockerContainer [2021-06-04T03:14:59.258Z] prd-ubuntu18.04-docker-arm64-4c-16g-498 does not seem to be running inside a container [2021-06-04T03:14:59.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-04T03:15:00.917Z] $ docker top bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-04T03:15:01.877Z] + go mod tidy [Pipeline] sh [2021-06-04T03:15:03.162Z] + make test [2021-06-04T03:15:03.162Z] go mod tidy [2021-06-04T03:15:03.762Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-04T03:15:04.745Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-04T03:15:05.509Z] Removing intermediate container a3eac0d7b2b0 [2021-06-04T03:15:05.509Z] ---> 8d9aee4d7573 [2021-06-04T03:15:05.509Z] Successfully built 8d9aee4d7573 [2021-06-04T03:15:05.509Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:15:06.129Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-04T03:15:06.129Z] . [Pipeline] withDockerContainer [2021-06-04T03:15:06.213Z] prd-centos7-docker-4c-2g-495 does not seem to be running inside a container [2021-06-04T03:15:06.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-04T03:15:07.846Z] $ docker top 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-04T03:15:08.284Z] + go version [2021-06-04T03:15:08.284Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-04T03:15:08.296Z] $ docker stop --time=1 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b [2021-06-04T03:15:09.914Z] $ docker rm -f 67712889ba81adcdcea5aea0de1185e0aa61f2de87bc44bf601f3b1c4ec9831b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:15:10.549Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-04T03:15:10.549Z] . [Pipeline] withDockerContainer [2021-06-04T03:15:10.665Z] prd-centos7-docker-4c-2g-495 does not seem to be running inside a container [2021-06-04T03:15:10.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-04T03:15:11.827Z] $ docker top 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-04T03:15:12.236Z] + go mod tidy [Pipeline] sh [2021-06-04T03:15:12.807Z] + make test [2021-06-04T03:15:12.807Z] go mod tidy [2021-06-04T03:15:13.083Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-04T03:15:13.666Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-04T03:15:35.770Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-04T03:15:37.745Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements [2021-06-04T03:15:38.009Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-04T03:15:48.065Z] gofmt -l . [2021-06-04T03:15:48.065Z] [ "`gofmt -l .`" = "" ] [2021-06-04T03:15:48.065Z] ./bin/test-attribution-txt.sh [2021-06-04T03:15:48.333Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-04T03:15:48.609Z] $ docker stop --time=1 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e [2021-06-04T03:15:54.339Z] $ docker rm -f 67512e385f472904fba94aec6762a3e2087d89b09ebd952d893a22f1bc66385e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-04T03:15:54.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-04T03:15:55.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-04T03:15:56.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-04T03:15:56.506Z] + ls -al . [2021-06-04T03:15:56.506Z] total 112 [2021-06-04T03:15:56.506Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 4 03:15 . [2021-06-04T03:15:56.506Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 4 03:12 .. [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jun 4 03:12 Attribution.txt [2021-06-04T03:15:56.506Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 4 03:12 bin [2021-06-04T03:15:56.506Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 4 03:12 cmd [2021-06-04T03:15:56.506Z] -rw-r--r--. 1 jenkins jenkins 22385 Jun 4 03:15 coverage.out [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jun 4 03:12 Dockerfile [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 995 Jun 4 03:12 Dockerfile.build [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 4 03:12 .dockerignore [2021-06-04T03:15:56.506Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 4 03:12 .git [2021-06-04T03:15:56.506Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 4 03:12 .github [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 338 Jun 4 03:12 .gitignore [2021-06-04T03:15:56.506Z] -rw-r--r--. 1 jenkins jenkins 413 Jun 4 03:15 go.mod [2021-06-04T03:15:56.506Z] -rw-r--r--. 1 jenkins jenkins 21412 Jun 4 03:15 go.sum [2021-06-04T03:15:56.506Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 4 03:12 internal [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 679 Jun 4 03:12 Jenkinsfile [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 4 03:12 LICENSE [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 914 Jun 4 03:12 Makefile [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jun 4 03:12 README.md [2021-06-04T03:15:56.506Z] drwxrwxr-x. 2 jenkins jenkins 52 Jun 4 03:12 simulator [2021-06-04T03:15:56.506Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 4 03:12 snap [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 4 03:10 VERSION [2021-06-04T03:15:56.506Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 4 03:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:15:56.813Z] + 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=e1dcefe05451e99782283e97402c84988ce0a6d8 --label arch=amd64 --label version=1.3.2-dev.14 . [2021-06-04T03:15:56.813Z] Sending build context to Docker daemon 640.5kB [2021-06-04T03:15:56.813Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-04T03:15:56.813Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-04T03:15:56.813Z] ---> 8d9aee4d7573 [2021-06-04T03:15:56.813Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:15:57.768Z] ---> Running in 34c6677c729e [2021-06-04T03:15:59.156Z] Removing intermediate container 34c6677c729e [2021-06-04T03:15:59.157Z] ---> 2ee7a34903c4 [2021-06-04T03:15:59.157Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-04T03:15:59.416Z] ---> Running in 0756d0fc4cba [2021-06-04T03:16:00.006Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-04T03:16:00.966Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-04T03:16:01.229Z] OK: 156 MiB in 53 packages [2021-06-04T03:16:01.449Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-04T03:16:01.449Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.044s coverage: 47.7% of statements [2021-06-04T03:16:01.449Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-04T03:16:02.184Z] Removing intermediate container 0756d0fc4cba [2021-06-04T03:16:02.184Z] ---> 7264ef4cd42a [2021-06-04T03:16:02.184Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-04T03:16:02.452Z] ---> Running in 9caa1521317c [2021-06-04T03:16:02.714Z] Removing intermediate container 9caa1521317c [2021-06-04T03:16:02.714Z] ---> 7bb7f7cb98ea [2021-06-04T03:16:02.714Z] Step 6/22 : COPY . . [2021-06-04T03:16:04.108Z] ---> 119e23107ae7 [2021-06-04T03:16:04.108Z] Step 7/22 : RUN go mod tidy [2021-06-04T03:16:04.372Z] ---> Running in 76e18b5ab905 [2021-06-04T03:16:07.689Z] Removing intermediate container 76e18b5ab905 [2021-06-04T03:16:07.689Z] ---> ed933a345627 [2021-06-04T03:16:07.689Z] Step 8/22 : RUN go mod download [2021-06-04T03:16:07.949Z] ---> Running in 9f2b92b3c643 [2021-06-04T03:16:09.347Z] Removing intermediate container 9f2b92b3c643 [2021-06-04T03:16:09.348Z] ---> bb4c96ef7506 [2021-06-04T03:16:09.348Z] Step 9/22 : RUN make build [2021-06-04T03:16:09.608Z] ---> Running in cbadab1e5041 [2021-06-04T03:16:10.569Z] go mod tidy [2021-06-04T03:16:10.569Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.14" -o cmd/device-modbus ./cmd [2021-06-04T03:16:19.829Z] gofmt -l . [2021-06-04T03:16:19.829Z] [ "`gofmt -l .`" = "" ] [2021-06-04T03:16:19.829Z] ./bin/test-attribution-txt.sh [2021-06-04T03:16:21.283Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-04T03:16:21.569Z] $ docker stop --time=1 bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 [2021-06-04T03:16:23.703Z] $ docker rm -f bb93099fc99dc11a6d035878796711c25a424ec17e840e6ad83e0dddac52d6c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-04T03:16:24.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-04T03:16:24.628Z] Warning: overwriting stash ‘coverage-report’ [2021-06-04T03:16:25.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-04T03:16:25.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-04T03:16:25.995Z] + ls -al . [2021-06-04T03:16:25.995Z] total 144 [2021-06-04T03:16:25.995Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 4 03:16 . [2021-06-04T03:16:25.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:13 .. [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 4 03:13 .dockerignore [2021-06-04T03:16:25.995Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 03:13 .git [2021-06-04T03:16:25.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 .github [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 338 Jun 4 03:13 .gitignore [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jun 4 03:13 Attribution.txt [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jun 4 03:13 Dockerfile [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 995 Jun 4 03:13 Dockerfile.build [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 4 03:13 Jenkinsfile [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 4 03:13 LICENSE [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 914 Jun 4 03:13 Makefile [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jun 4 03:13 README.md [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 4 03:10 VERSION [2021-06-04T03:16:25.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 bin [2021-06-04T03:16:25.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:13 cmd [2021-06-04T03:16:25.995Z] -rw-r--r-- 1 jenkins jenkins 22385 Jun 4 03:15 coverage.out [2021-06-04T03:16:25.995Z] -rw-r--r-- 1 jenkins jenkins 413 Jun 4 03:16 go.mod [2021-06-04T03:16:25.995Z] -rw-r--r-- 1 jenkins jenkins 21412 Jun 4 03:15 go.sum [2021-06-04T03:16:25.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:13 internal [2021-06-04T03:16:25.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:13 simulator [2021-06-04T03:16:25.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:13 snap [2021-06-04T03:16:25.995Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 4 03:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:26.353Z] + 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=e1dcefe05451e99782283e97402c84988ce0a6d8 --label arch=arm64 --label version=1.3.2-dev.14 . [2021-06-04T03:16:26.630Z] Sending build context to Docker daemon 639.5kB [2021-06-04T03:16:26.902Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-04T03:16:26.903Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-04T03:16:26.903Z] ---> 0e41387bf58a [2021-06-04T03:16:26.903Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:16:27.177Z] ---> Running in 839521caaa26 [2021-06-04T03:16:29.152Z] Removing intermediate container 839521caaa26 [2021-06-04T03:16:29.152Z] ---> 888f695821e2 [2021-06-04T03:16:29.152Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-04T03:16:29.424Z] ---> Running in 3aa601ac133c [2021-06-04T03:16:30.855Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-04T03:16:31.444Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-04T03:16:32.421Z] OK: 145 MiB in 53 packages [2021-06-04T03:16:33.395Z] Removing intermediate container 3aa601ac133c [2021-06-04T03:16:33.395Z] ---> d02d61afa54f [2021-06-04T03:16:33.395Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-04T03:16:33.395Z] ---> Running in d078aa6bf4a8 [2021-06-04T03:16:33.991Z] Removing intermediate container d078aa6bf4a8 [2021-06-04T03:16:33.991Z] ---> 6763417852c3 [2021-06-04T03:16:33.991Z] Step 6/22 : COPY . . [2021-06-04T03:16:34.967Z] ---> eaa205558d8e [2021-06-04T03:16:34.967Z] Step 7/22 : RUN go mod tidy [2021-06-04T03:16:35.240Z] ---> Running in b90bb2365c25 [2021-06-04T03:16:37.274Z] Removing intermediate container cbadab1e5041 [2021-06-04T03:16:37.274Z] ---> 05141c253e67 [2021-06-04T03:16:37.274Z] Step 10/22 : FROM alpine:3.12 [2021-06-04T03:16:37.274Z] 3.12: Pulling from library/alpine [2021-06-04T03:16:37.274Z] 339de151aab4: Pulling fs layer [2021-06-04T03:16:37.274Z] 339de151aab4: Verifying Checksum [2021-06-04T03:16:37.274Z] 339de151aab4: Download complete [2021-06-04T03:16:37.274Z] 339de151aab4: Pull complete [2021-06-04T03:16:37.274Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-04T03:16:37.274Z] Status: Downloaded newer image for alpine:3.12 [2021-06-04T03:16:37.274Z] ---> 13621d1b12d4 [2021-06-04T03:16:37.274Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-04T03:16:37.534Z] ---> Running in d1d0f34e56ac [2021-06-04T03:16:37.795Z] Removing intermediate container d1d0f34e56ac [2021-06-04T03:16:37.795Z] ---> d2340add7ded [2021-06-04T03:16:37.795Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:16:37.855Z] Removing intermediate container b90bb2365c25 [2021-06-04T03:16:37.855Z] ---> 8f32bce5893f [2021-06-04T03:16:37.855Z] Step 8/22 : RUN go mod download [2021-06-04T03:16:37.855Z] ---> Running in fe810286b980 [2021-06-04T03:16:38.055Z] ---> Running in 31babe2a92d8 [2021-06-04T03:16:39.443Z] Removing intermediate container 31babe2a92d8 [2021-06-04T03:16:39.443Z] ---> 3bcf8ec5dd06 [2021-06-04T03:16:39.443Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-04T03:16:39.704Z] ---> Running in b41a223842c7 [2021-06-04T03:16:40.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-04T03:16:40.486Z] Removing intermediate container fe810286b980 [2021-06-04T03:16:40.486Z] ---> 9fab13d0ffaf [2021-06-04T03:16:40.486Z] Step 9/22 : RUN make build [2021-06-04T03:16:40.486Z] ---> Running in 73c1a475e012 [2021-06-04T03:16:40.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-04T03:16:41.423Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-04T03:16:41.423Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-04T03:16:41.690Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-04T03:16:41.922Z] go mod tidy [2021-06-04T03:16:41.950Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-04T03:16:42.197Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.14" -o cmd/device-modbus ./cmd [2021-06-04T03:16:42.209Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-04T03:16:42.783Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-04T03:16:42.783Z] Executing busybox-1.31.1-r20.trigger [2021-06-04T03:16:42.783Z] OK: 8 MiB in 20 packages [2021-06-04T03:16:44.191Z] Removing intermediate container b41a223842c7 [2021-06-04T03:16:44.191Z] ---> 1a02b9d54b40 [2021-06-04T03:16:44.191Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-04T03:16:45.574Z] ---> 2bf833dc0f33 [2021-06-04T03:16:45.574Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-04T03:16:46.145Z] ---> 3d03139b749c [2021-06-04T03:16:46.145Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-04T03:16:46.718Z] ---> c7305c9e691d [2021-06-04T03:16:46.719Z] Step 17/22 : EXPOSE 59901 [2021-06-04T03:16:46.719Z] ---> Running in 1d9a6dbd26c4 [2021-06-04T03:16:47.290Z] Removing intermediate container 1d9a6dbd26c4 [2021-06-04T03:16:47.290Z] ---> a461340a5b26 [2021-06-04T03:16:47.291Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-04T03:16:47.291Z] ---> Running in 03ca5bda718e [2021-06-04T03:16:47.860Z] Removing intermediate container 03ca5bda718e [2021-06-04T03:16:47.860Z] ---> b140be9df1d3 [2021-06-04T03:16:47.860Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-04T03:16:48.121Z] ---> Running in e90492e27e5b [2021-06-04T03:16:48.381Z] Removing intermediate container e90492e27e5b [2021-06-04T03:16:48.381Z] ---> 85f4eeffa3e5 [2021-06-04T03:16:48.381Z] Step 20/22 : LABEL arch=amd64 [2021-06-04T03:16:48.641Z] ---> Running in cfb728b170c1 [2021-06-04T03:16:48.901Z] Removing intermediate container cfb728b170c1 [2021-06-04T03:16:48.901Z] ---> c175dc8f475a [2021-06-04T03:16:48.901Z] Step 21/22 : LABEL git_sha=e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:16:49.161Z] ---> Running in 7a8e34de1d9a [2021-06-04T03:16:49.422Z] Removing intermediate container 7a8e34de1d9a [2021-06-04T03:16:49.422Z] ---> 0798e6551e17 [2021-06-04T03:16:49.422Z] Step 22/22 : LABEL version=1.3.2-dev.14 [2021-06-04T03:16:49.995Z] ---> Running in ddd70efe12d6 [2021-06-04T03:16:50.256Z] Removing intermediate container ddd70efe12d6 [2021-06-04T03:16:50.256Z] ---> f942bdd89175 [2021-06-04T03:16:50.256Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-04T03:16:50.256Z] Successfully built f942bdd89175 [2021-06-04T03:16:50.256Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:16:50.439Z] provisioning config files... [2021-06-04T03:16:50.454Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config3255584661347633139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:16:50.777Z] ---> docker-login.sh [2021-06-04T03:16:50.777Z] nexus3.edgexfoundry.org:10001 [2021-06-04T03:16:50.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:16:50.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:16:50.777Z] Configure a credential helper to remove this warning. See [2021-06-04T03:16:50.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:16:50.777Z] [2021-06-04T03:16:50.777Z] Login Succeeded [2021-06-04T03:16:50.777Z] nexus3.edgexfoundry.org:10002 [2021-06-04T03:16:50.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:16:51.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:16:51.044Z] Configure a credential helper to remove this warning. See [2021-06-04T03:16:51.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:16:51.044Z] [2021-06-04T03:16:51.044Z] Login Succeeded [2021-06-04T03:16:51.044Z] nexus3.edgexfoundry.org:10003 [2021-06-04T03:16:51.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:16:51.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:16:51.044Z] Configure a credential helper to remove this warning. See [2021-06-04T03:16:51.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:16:51.044Z] [2021-06-04T03:16:51.044Z] Login Succeeded [2021-06-04T03:16:51.044Z] nexus3.edgexfoundry.org:10004 [2021-06-04T03:16:51.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:16:51.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:16:51.305Z] Configure a credential helper to remove this warning. See [2021-06-04T03:16:51.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:16:51.305Z] [2021-06-04T03:16:51.305Z] Login Succeeded [2021-06-04T03:16:51.305Z] docker.io [2021-06-04T03:16:51.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:16:51.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:16:51.566Z] Configure a credential helper to remove this warning. See [2021-06-04T03:16:51.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:16:51.566Z] [2021-06-04T03:16:51.566Z] Login Succeeded [2021-06-04T03:16:51.566Z] ---> docker-login.sh ends [Pipeline] } [2021-06-04T03:16:51.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-04T03:16:51.660Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-06-04T03:16:51.660Z] e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:16:51.660Z] latest [2021-06-04T03:16:51.660Z] 1.3.2-dev.14 [2021-06-04T03:16:51.660Z] e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:16:51.660Z] master [2021-06-04T03:16:51.660Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:52.007Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:52.307Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:16:52.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-04T03:16:52.307Z] 078bfe0863bd: Preparing [2021-06-04T03:16:52.307Z] e426af966845: Preparing [2021-06-04T03:16:52.307Z] c1fc0b034d0f: Preparing [2021-06-04T03:16:52.307Z] ceb170023ee8: Preparing [2021-06-04T03:16:52.307Z] e8221a9c4574: Preparing [2021-06-04T03:16:52.307Z] 32f366d666a5: Preparing [2021-06-04T03:16:52.307Z] 32f366d666a5: Waiting [2021-06-04T03:16:52.581Z] 078bfe0863bd: Pushed [2021-06-04T03:16:52.581Z] e8221a9c4574: Pushed [2021-06-04T03:16:52.581Z] ceb170023ee8: Pushed [2021-06-04T03:16:52.581Z] e426af966845: Pushed [2021-06-04T03:16:52.846Z] 32f366d666a5: Layer already exists [2021-06-04T03:16:53.791Z] c1fc0b034d0f: Pushed [2021-06-04T03:16:53.791Z] e1dcefe05451e99782283e97402c84988ce0a6d8: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:54.098Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:54.397Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-04T03:16:54.397Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-04T03:16:54.398Z] 078bfe0863bd: Preparing [2021-06-04T03:16:54.398Z] e426af966845: Preparing [2021-06-04T03:16:54.398Z] c1fc0b034d0f: Preparing [2021-06-04T03:16:54.398Z] ceb170023ee8: Preparing [2021-06-04T03:16:54.398Z] e8221a9c4574: Preparing [2021-06-04T03:16:54.398Z] 32f366d666a5: Preparing [2021-06-04T03:16:54.398Z] 32f366d666a5: Waiting [2021-06-04T03:16:54.398Z] 078bfe0863bd: Layer already exists [2021-06-04T03:16:54.398Z] ceb170023ee8: Layer already exists [2021-06-04T03:16:54.398Z] e426af966845: Layer already exists [2021-06-04T03:16:54.398Z] e8221a9c4574: Layer already exists [2021-06-04T03:16:54.398Z] c1fc0b034d0f: Layer already exists [2021-06-04T03:16:54.398Z] 32f366d666a5: Layer already exists [2021-06-04T03:16:54.398Z] latest: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:54.705Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:55.001Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 [2021-06-04T03:16:55.001Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-04T03:16:55.001Z] 078bfe0863bd: Preparing [2021-06-04T03:16:55.001Z] e426af966845: Preparing [2021-06-04T03:16:55.001Z] c1fc0b034d0f: Preparing [2021-06-04T03:16:55.001Z] ceb170023ee8: Preparing [2021-06-04T03:16:55.001Z] e8221a9c4574: Preparing [2021-06-04T03:16:55.001Z] 32f366d666a5: Preparing [2021-06-04T03:16:55.001Z] 32f366d666a5: Waiting [2021-06-04T03:16:55.001Z] c1fc0b034d0f: Layer already exists [2021-06-04T03:16:55.001Z] 078bfe0863bd: Layer already exists [2021-06-04T03:16:55.001Z] ceb170023ee8: Layer already exists [2021-06-04T03:16:55.001Z] e426af966845: Layer already exists [2021-06-04T03:16:55.001Z] e8221a9c4574: Layer already exists [2021-06-04T03:16:55.001Z] 32f366d666a5: Layer already exists [2021-06-04T03:16:55.001Z] 1.3.2-dev.14: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:55.308Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:55.607Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:16:55.607Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-04T03:16:55.607Z] 078bfe0863bd: Preparing [2021-06-04T03:16:55.607Z] e426af966845: Preparing [2021-06-04T03:16:55.607Z] c1fc0b034d0f: Preparing [2021-06-04T03:16:55.607Z] ceb170023ee8: Preparing [2021-06-04T03:16:55.607Z] e8221a9c4574: Preparing [2021-06-04T03:16:55.607Z] 32f366d666a5: Preparing [2021-06-04T03:16:55.607Z] 32f366d666a5: Waiting [2021-06-04T03:16:55.607Z] 078bfe0863bd: Layer already exists [2021-06-04T03:16:55.607Z] e8221a9c4574: Layer already exists [2021-06-04T03:16:55.607Z] c1fc0b034d0f: Layer already exists [2021-06-04T03:16:55.607Z] e426af966845: Layer already exists [2021-06-04T03:16:55.607Z] ceb170023ee8: Layer already exists [2021-06-04T03:16:55.607Z] 32f366d666a5: Layer already exists [2021-06-04T03:16:55.607Z] e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:55.909Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:16:56.208Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-06-04T03:16:56.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-04T03:16:56.208Z] 078bfe0863bd: Preparing [2021-06-04T03:16:56.208Z] e426af966845: Preparing [2021-06-04T03:16:56.208Z] c1fc0b034d0f: Preparing [2021-06-04T03:16:56.208Z] ceb170023ee8: Preparing [2021-06-04T03:16:56.208Z] e8221a9c4574: Preparing [2021-06-04T03:16:56.208Z] 32f366d666a5: Preparing [2021-06-04T03:16:56.208Z] 32f366d666a5: Waiting [2021-06-04T03:16:56.208Z] ceb170023ee8: Layer already exists [2021-06-04T03:16:56.208Z] e426af966845: Layer already exists [2021-06-04T03:16:56.208Z] 078bfe0863bd: Layer already exists [2021-06-04T03:16:56.208Z] c1fc0b034d0f: Layer already exists [2021-06-04T03:16:56.208Z] e8221a9c4574: Layer already exists [2021-06-04T03:16:56.208Z] 32f366d666a5: Layer already exists [2021-06-04T03:16:56.208Z] master: digest: sha256:3447869976215dbab4a49b9ef4882b4819488f3546cd91347aedbde790a989d7 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-04T03:16:56.265Z] ===================================================== [Pipeline] echo [2021-06-04T03:16:56.281Z] taggedImages: [2021-06-04T03:16:56.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:16:56.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-04T03:16:56.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.14 [2021-06-04T03:16:56.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:16:56.281Z] - nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:16:56.890Z] ---> job-cost.sh [2021-06-04T03:16:56.890Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jEeG [2021-06-04T03:17:19.396Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-04T03:17:21.218Z] Removing intermediate container 73c1a475e012 [2021-06-04T03:17:21.218Z] ---> 24db258172e6 [2021-06-04T03:17:21.218Z] Step 10/22 : FROM alpine:3.12 [2021-06-04T03:17:21.218Z] 3.12: Pulling from library/alpine [2021-06-04T03:17:21.218Z] d2f70382dc9a: Pulling fs layer [2021-06-04T03:17:21.218Z] d2f70382dc9a: Verifying Checksum [2021-06-04T03:17:21.218Z] d2f70382dc9a: Download complete [2021-06-04T03:17:21.218Z] d2f70382dc9a: Pull complete [2021-06-04T03:17:21.218Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-04T03:17:21.218Z] Status: Downloaded newer image for alpine:3.12 [2021-06-04T03:17:21.218Z] ---> 9852663dfa18 [2021-06-04T03:17:21.218Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-04T03:17:21.218Z] ---> Running in d1d5fa1e36f4 [2021-06-04T03:17:21.218Z] Removing intermediate container d1d5fa1e36f4 [2021-06-04T03:17:21.218Z] ---> d0f15998c46b [2021-06-04T03:17:21.218Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-04T03:17:21.218Z] ---> Running in 33b1f458fdf3 [2021-06-04T03:17:21.218Z] Removing intermediate container 33b1f458fdf3 [2021-06-04T03:17:21.218Z] ---> f872091b0e5f [2021-06-04T03:17:21.218Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-04T03:17:21.491Z] ---> Running in c83323497ca5 [2021-06-04T03:17:22.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-04T03:17:23.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-04T03:17:24.112Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-04T03:17:24.112Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-04T03:17:24.112Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-04T03:17:24.112Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-04T03:17:24.383Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-04T03:17:24.653Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-04T03:17:24.653Z] Executing busybox-1.31.1-r20.trigger [2021-06-04T03:17:24.653Z] OK: 8 MiB in 20 packages [2021-06-04T03:17:26.088Z] Removing intermediate container c83323497ca5 [2021-06-04T03:17:26.088Z] ---> 3a209aa415c9 [2021-06-04T03:17:26.088Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-04T03:17:27.071Z] ---> d9738c24a284 [2021-06-04T03:17:27.072Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-04T03:17:27.670Z] ---> 6dc16ef93149 [2021-06-04T03:17:27.670Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-04T03:17:28.650Z] ---> 5b81983db342 [2021-06-04T03:17:28.650Z] Step 17/22 : EXPOSE 59901 [2021-06-04T03:17:28.650Z] ---> Running in b971fb1e1972 [2021-06-04T03:17:28.922Z] Removing intermediate container b971fb1e1972 [2021-06-04T03:17:28.922Z] ---> ae12f249a88b [2021-06-04T03:17:28.922Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-04T03:17:29.197Z] ---> Running in c2681fe33bae [2021-06-04T03:17:29.794Z] Removing intermediate container c2681fe33bae [2021-06-04T03:17:29.794Z] ---> 9937c67b0577 [2021-06-04T03:17:29.794Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-04T03:17:29.794Z] ---> Running in 99115aaf9632 [2021-06-04T03:17:30.389Z] Removing intermediate container 99115aaf9632 [2021-06-04T03:17:30.389Z] ---> 0dcc961026fa [2021-06-04T03:17:30.389Z] Step 20/22 : LABEL arch=arm64 [2021-06-04T03:17:30.389Z] ---> Running in 076be61c93b6 [2021-06-04T03:17:30.985Z] Removing intermediate container 076be61c93b6 [2021-06-04T03:17:30.985Z] ---> cfee4f567a61 [2021-06-04T03:17:30.985Z] Step 21/22 : LABEL git_sha=e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:17:30.985Z] ---> Running in 7570a804edbf [2021-06-04T03:17:31.578Z] Removing intermediate container 7570a804edbf [2021-06-04T03:17:31.578Z] ---> dc3aa3130fd9 [2021-06-04T03:17:31.578Z] Step 22/22 : LABEL version=1.3.2-dev.14 [2021-06-04T03:17:31.578Z] ---> Running in 98fbe9845d1f [2021-06-04T03:17:32.177Z] Removing intermediate container 98fbe9845d1f [2021-06-04T03:17:32.177Z] ---> a13c899834aa [2021-06-04T03:17:32.177Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-04T03:17:32.177Z] Successfully built a13c899834aa [2021-06-04T03:17:32.177Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:17:32.417Z] provisioning config files... [2021-06-04T03:17:32.436Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config8007017974521159816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:17:32.800Z] ---> docker-login.sh [2021-06-04T03:17:32.800Z] nexus3.edgexfoundry.org:10001 [2021-06-04T03:17:33.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:17:33.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:17:33.077Z] Configure a credential helper to remove this warning. See [2021-06-04T03:17:33.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:17:33.077Z] [2021-06-04T03:17:33.077Z] Login Succeeded [2021-06-04T03:17:33.077Z] nexus3.edgexfoundry.org:10002 [2021-06-04T03:17:33.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:17:33.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:17:33.684Z] Configure a credential helper to remove this warning. See [2021-06-04T03:17:33.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:17:33.684Z] [2021-06-04T03:17:33.684Z] Login Succeeded [2021-06-04T03:17:33.684Z] nexus3.edgexfoundry.org:10003 [2021-06-04T03:17:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:17:34.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:17:34.234Z] Configure a credential helper to remove this warning. See [2021-06-04T03:17:34.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:17:34.234Z] [2021-06-04T03:17:34.234Z] Login Succeeded [2021-06-04T03:17:34.234Z] nexus3.edgexfoundry.org:10004 [2021-06-04T03:17:34.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:17:34.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:17:34.781Z] Configure a credential helper to remove this warning. See [2021-06-04T03:17:34.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:17:34.781Z] [2021-06-04T03:17:34.781Z] Login Succeeded [2021-06-04T03:17:34.781Z] docker.io [2021-06-04T03:17:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-04T03:17:35.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-04T03:17:35.670Z] Configure a credential helper to remove this warning. See [2021-06-04T03:17:35.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-04T03:17:35.670Z] [2021-06-04T03:17:35.670Z] Login Succeeded [2021-06-04T03:17:35.670Z] ---> docker-login.sh ends [Pipeline] } [2021-06-04T03:17:35.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-04T03:17:35.758Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-06-04T03:17:35.758Z] e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:17:35.758Z] latest [2021-06-04T03:17:35.758Z] 1.3.2-dev.14 [2021-06-04T03:17:35.758Z] e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:17:35.758Z] master [2021-06-04T03:17:35.758Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:36.154Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:36.514Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:17:36.514Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-04T03:17:36.514Z] 26eaf42af5bb: Preparing [2021-06-04T03:17:36.514Z] eb82a64de7cf: Preparing [2021-06-04T03:17:36.514Z] a6dd8e436f71: Preparing [2021-06-04T03:17:36.514Z] cf9aab020786: Preparing [2021-06-04T03:17:36.514Z] 56649db353ba: Preparing [2021-06-04T03:17:36.514Z] 3fbe34a1663b: Preparing [2021-06-04T03:17:36.514Z] 3fbe34a1663b: Waiting [2021-06-04T03:17:36.800Z] 26eaf42af5bb: Pushed [2021-06-04T03:17:36.800Z] 56649db353ba: Pushed [2021-06-04T03:17:36.800Z] eb82a64de7cf: Pushed [2021-06-04T03:17:36.800Z] 3fbe34a1663b: Layer already exists [2021-06-04T03:17:37.393Z] cf9aab020786: Pushed [2021-06-04T03:17:39.362Z] a6dd8e436f71: Pushed [2021-06-04T03:17:39.633Z] e1dcefe05451e99782283e97402c84988ce0a6d8: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:39.991Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:40.343Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-04T03:17:40.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-04T03:17:40.343Z] 26eaf42af5bb: Preparing [2021-06-04T03:17:40.343Z] eb82a64de7cf: Preparing [2021-06-04T03:17:40.343Z] a6dd8e436f71: Preparing [2021-06-04T03:17:40.343Z] cf9aab020786: Preparing [2021-06-04T03:17:40.343Z] 56649db353ba: Preparing [2021-06-04T03:17:40.343Z] 3fbe34a1663b: Preparing [2021-06-04T03:17:40.343Z] 3fbe34a1663b: Waiting [2021-06-04T03:17:40.343Z] a6dd8e436f71: Layer already exists [2021-06-04T03:17:40.343Z] cf9aab020786: Layer already exists [2021-06-04T03:17:40.343Z] 56649db353ba: Layer already exists [2021-06-04T03:17:40.343Z] 26eaf42af5bb: Layer already exists [2021-06-04T03:17:40.616Z] eb82a64de7cf: Layer already exists [2021-06-04T03:17:40.616Z] 3fbe34a1663b: Layer already exists [2021-06-04T03:17:40.616Z] latest: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:40.967Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:41.308Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 [2021-06-04T03:17:41.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-04T03:17:41.308Z] 26eaf42af5bb: Preparing [2021-06-04T03:17:41.308Z] eb82a64de7cf: Preparing [2021-06-04T03:17:41.308Z] a6dd8e436f71: Preparing [2021-06-04T03:17:41.308Z] cf9aab020786: Preparing [2021-06-04T03:17:41.308Z] 56649db353ba: Preparing [2021-06-04T03:17:41.308Z] 3fbe34a1663b: Preparing [2021-06-04T03:17:41.308Z] 3fbe34a1663b: Waiting [2021-06-04T03:17:41.308Z] 26eaf42af5bb: Layer already exists [2021-06-04T03:17:41.308Z] 56649db353ba: Layer already exists [2021-06-04T03:17:41.308Z] eb82a64de7cf: Layer already exists [2021-06-04T03:17:41.308Z] cf9aab020786: Layer already exists [2021-06-04T03:17:41.580Z] a6dd8e436f71: Layer already exists [2021-06-04T03:17:41.580Z] 3fbe34a1663b: Layer already exists [2021-06-04T03:17:41.580Z] 1.3.2-dev.14: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:41.925Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:42.268Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:17:42.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-04T03:17:42.268Z] 26eaf42af5bb: Preparing [2021-06-04T03:17:42.268Z] eb82a64de7cf: Preparing [2021-06-04T03:17:42.268Z] a6dd8e436f71: Preparing [2021-06-04T03:17:42.268Z] cf9aab020786: Preparing [2021-06-04T03:17:42.268Z] 56649db353ba: Preparing [2021-06-04T03:17:42.268Z] 3fbe34a1663b: Preparing [2021-06-04T03:17:42.268Z] 3fbe34a1663b: Waiting [2021-06-04T03:17:42.268Z] a6dd8e436f71: Layer already exists [2021-06-04T03:17:42.268Z] eb82a64de7cf: Layer already exists [2021-06-04T03:17:42.268Z] 26eaf42af5bb: Layer already exists [2021-06-04T03:17:42.268Z] 56649db353ba: Layer already exists [2021-06-04T03:17:42.268Z] cf9aab020786: Layer already exists [2021-06-04T03:17:42.540Z] 3fbe34a1663b: Layer already exists [2021-06-04T03:17:42.540Z] e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:42.891Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:17:43.239Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-06-04T03:17:43.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-04T03:17:43.239Z] 26eaf42af5bb: Preparing [2021-06-04T03:17:43.239Z] eb82a64de7cf: Preparing [2021-06-04T03:17:43.239Z] a6dd8e436f71: Preparing [2021-06-04T03:17:43.239Z] cf9aab020786: Preparing [2021-06-04T03:17:43.239Z] 56649db353ba: Preparing [2021-06-04T03:17:43.239Z] 3fbe34a1663b: Preparing [2021-06-04T03:17:43.239Z] 3fbe34a1663b: Waiting [2021-06-04T03:17:43.239Z] 56649db353ba: Layer already exists [2021-06-04T03:17:43.512Z] cf9aab020786: Layer already exists [2021-06-04T03:17:43.512Z] a6dd8e436f71: Layer already exists [2021-06-04T03:17:43.512Z] eb82a64de7cf: Layer already exists [2021-06-04T03:17:43.512Z] 26eaf42af5bb: Layer already exists [2021-06-04T03:17:43.512Z] 3fbe34a1663b: Layer already exists [2021-06-04T03:17:43.512Z] master: digest: sha256:6453455b850db6680dc3ab81311fe0c7c9806ef8e1583e30d4fe44982cd7a502 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-04T03:17:43.580Z] ===================================================== [Pipeline] echo [2021-06-04T03:17:43.596Z] taggedImages: [2021-06-04T03:17:43.596Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8 [2021-06-04T03:17:43.596Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-04T03:17:43.596Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.14 [2021-06-04T03:17:43.596Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e1dcefe05451e99782283e97402c84988ce0a6d8-1.3.2-dev.14 [2021-06-04T03:17:43.596Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:17:44.074Z] ---> job-cost.sh [2021-06-04T03:17:44.074Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EQrG [2021-06-04T03:17:51.529Z] lf-activate-venv(): INFO: Adding /tmp/venv-jEeG/bin to PATH [2021-06-04T03:17:51.529Z] INFO: No Stack... [2021-06-04T03:17:51.529Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-04T03:17:51.529Z] INFO: Archiving Costs [Pipeline] sh [2021-06-04T03:17:51.825Z] + cat /w/workspace/device-modbus-go/53/archives/cost.csv [2021-06-04T03:17:51.825Z] + cut -d, -f6 [Pipeline] lock [2021-06-04T03:17:51.855Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [2021-06-04T03:17:51.865Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] did not exist. Created. [2021-06-04T03:17:51.865Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-04T03:17:52.195Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-04T03:17:52.251Z] Stashed 1 file(s) [Pipeline] } [2021-06-04T03:17:52.269Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-04T03:18:23.087Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-04T03:19:44.831Z] lf-activate-venv(): INFO: Adding /tmp/venv-EQrG/bin to PATH [2021-06-04T03:19:44.831Z] INFO: No Stack... [2021-06-04T03:19:45.807Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-04T03:19:46.080Z] INFO: Archiving Costs [Pipeline] sh [2021-06-04T03:19:46.421Z] + cat /w/workspace/device-modbus-go/53/archives/cost.csv [2021-06-04T03:19:46.421Z] + cut -d, -f6 [Pipeline] lock [2021-06-04T03:19:46.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [2021-06-04T03:19:46.496Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] did not exist. Created. [2021-06-04T03:19:46.496Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-04T03:19:46.870Z] /w/workspace/device-modbus-go/53@tmp/durable-47dcc7e7/script.sh: 1: /w/workspace/device-modbus-go/53@tmp/durable-47dcc7e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-04T03:19:47.213Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-04T03:19:47.245Z] Warning: overwriting stash ‘stack-cost’ [2021-06-04T03:19:47.399Z] Stashed 1 file(s) [Pipeline] } [2021-06-04T03:19:47.418Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-53-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-04T03:19:47.994Z] provisioning config files... [2021-06-04T03:19:48.003Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3049917470505960170tmp [Pipeline] { [Pipeline] sh [2021-06-04T03:19:48.342Z] + set +x [2021-06-04T03:19:48.342Z] + curl -s https://codecov.io/bash [2021-06-04T03:19:48.342Z] + bash -s -- [2021-06-04T03:19:48.342Z] [2021-06-04T03:19:48.342Z] _____ _ [2021-06-04T03:19:48.342Z] / ____| | | [2021-06-04T03:19:48.342Z] | | ___ __| | ___ ___ _____ __ [2021-06-04T03:19:48.342Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-04T03:19:48.342Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-04T03:19:48.342Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-04T03:19:48.342Z] Bash-1.0.3 [2021-06-04T03:19:48.342Z] [2021-06-04T03:19:48.342Z] [2021-06-04T03:19:48.342Z] ==> git version 2.24.4 found [2021-06-04T03:19:48.342Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-04T03:19:48.342Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-04T03:19:48.342Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-04T03:19:48.342Z] ==> Jenkins CI detected. [2021-06-04T03:19:48.342Z] project root: . [2021-06-04T03:19:48.342Z] --> token set from env [2021-06-04T03:19:48.342Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-04T03:19:48.342Z] ==> Running gcov in . (disable via -X gcov) [2021-06-04T03:19:48.342Z] ==> Python coveragepy not found [2021-06-04T03:19:48.342Z] ==> Searching for coverage reports in: [2021-06-04T03:19:48.342Z] + . [2021-06-04T03:19:48.342Z] -> Found 1 reports [2021-06-04T03:19:48.342Z] ==> Detecting git/mercurial file structure [2021-06-04T03:19:48.342Z] ==> Reading reports [2021-06-04T03:19:48.607Z] + ./coverage.out bytes=22385 [2021-06-04T03:19:48.607Z] ==> Appending adjustments [2021-06-04T03:19:48.607Z] https://docs.codecov.io/docs/fixing-reports [2021-06-04T03:19:48.607Z] + Found adjustments [2021-06-04T03:19:48.607Z] ==> Gzipping contents [2021-06-04T03:19:48.607Z] 4.0K /tmp/codecov.SZnCcG.gz [2021-06-04T03:19:48.607Z] ==> Uploading reports [2021-06-04T03:19:48.607Z] url: https://codecov.io [2021-06-04T03:19:48.607Z] query: branch=master&commit=e1dcefe05451e99782283e97402c84988ce0a6d8&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-04T03:19:48.607Z] -> Pinging Codecov [2021-06-04T03:19:48.607Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=e1dcefe05451e99782283e97402c84988ce0a6d8&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-04T03:19:48.870Z] -> Uploading to [2021-06-04T03:19:48.870Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-04/55DBCA73C666E3227836607328DD7E49/e1dcefe05451e99782283e97402c84988ce0a6d8/5c3a4f05-70ca-4ff8-952f-bb04d3f95986.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210604%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210604T031948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4a7a2bc09ad14a4f6458c446f6b3d5e9ded4840544c4f6660e5ed596b540a51 [2021-06-04T03:19:48.870Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-04T03:19:48.870Z] Dload Upload Total Spent Left Speed [2021-06-04T03:19:49.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3892 0 0 100 3892 0 10220 --:--:-- --:--:-- --:--:-- 10242 [2021-06-04T03:19:49.448Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] } [2021-06-04T03:19:49.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-04T03:19:49.772Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-04T03:19:49.796Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:19:50.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-04T03:19:50.188Z] [2021-06-04T03:19:50.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:19:50.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-04T03:19:50.507Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-04T03:19:50.507Z] 188c0c94c7c5: Pulling fs layer [2021-06-04T03:19:50.507Z] 0ef7d3d256c8: Pulling fs layer [2021-06-04T03:19:50.507Z] de9db76c5a1d: Pulling fs layer [2021-06-04T03:19:50.507Z] 0eba1c9be4d2: Pulling fs layer [2021-06-04T03:19:50.507Z] 0d57e429df01: Pulling fs layer [2021-06-04T03:19:50.507Z] 4e4be7b47b0d: Pulling fs layer [2021-06-04T03:19:50.507Z] e1f770b5df2f: Pulling fs layer [2021-06-04T03:19:50.507Z] 85a0685a4137: Pulling fs layer [2021-06-04T03:19:50.507Z] 0eba1c9be4d2: Waiting [2021-06-04T03:19:50.507Z] 0d57e429df01: Waiting [2021-06-04T03:19:50.507Z] 4e4be7b47b0d: Waiting [2021-06-04T03:19:50.507Z] e1f770b5df2f: Waiting [2021-06-04T03:19:50.507Z] 85a0685a4137: Waiting [2021-06-04T03:19:50.507Z] de9db76c5a1d: Verifying Checksum [2021-06-04T03:19:50.507Z] de9db76c5a1d: Download complete [2021-06-04T03:19:50.507Z] 0ef7d3d256c8: Verifying Checksum [2021-06-04T03:19:50.507Z] 0ef7d3d256c8: Download complete [2021-06-04T03:19:50.507Z] 0d57e429df01: Verifying Checksum [2021-06-04T03:19:50.507Z] 0d57e429df01: Download complete [2021-06-04T03:19:50.507Z] 4e4be7b47b0d: Verifying Checksum [2021-06-04T03:19:50.507Z] 4e4be7b47b0d: Download complete [2021-06-04T03:19:50.507Z] 188c0c94c7c5: Verifying Checksum [2021-06-04T03:19:50.507Z] 188c0c94c7c5: Download complete [2021-06-04T03:19:50.774Z] 188c0c94c7c5: Pull complete [2021-06-04T03:19:51.039Z] 0ef7d3d256c8: Pull complete [2021-06-04T03:19:51.039Z] de9db76c5a1d: Pull complete [2021-06-04T03:19:51.984Z] e1f770b5df2f: Verifying Checksum [2021-06-04T03:19:51.984Z] e1f770b5df2f: Download complete [2021-06-04T03:19:53.904Z] 0eba1c9be4d2: Verifying Checksum [2021-06-04T03:19:53.904Z] 0eba1c9be4d2: Download complete [2021-06-04T03:19:53.904Z] 85a0685a4137: Verifying Checksum [2021-06-04T03:19:53.904Z] 85a0685a4137: Download complete [2021-06-04T03:19:57.240Z] 0eba1c9be4d2: Pull complete [2021-06-04T03:19:57.240Z] 0d57e429df01: Pull complete [2021-06-04T03:19:57.240Z] 4e4be7b47b0d: Pull complete [2021-06-04T03:19:57.240Z] e1f770b5df2f: Pull complete [2021-06-04T03:20:00.592Z] 85a0685a4137: Pull complete [2021-06-04T03:20:00.592Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-04T03:20:00.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-04T03:20:00.592Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-04T03:20:00.671Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:20:00.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-04T03:20:03.390Z] $ docker top 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-04T03:20:03.494Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-04T03:20:03.789Z] + set -o pipefail [2021-06-04T03:20:03.789Z] + snyk monitor '--org=edgex-jenkins' [2021-06-04T03:20:10.397Z] [2021-06-04T03:20:10.397Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-06-04T03:20:10.397Z] [2021-06-04T03:20:10.397Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/06ab30e3-f1b1-440c-bb86-4127975ebee1 [2021-06-04T03:20:10.397Z] [2021-06-04T03:20:10.397Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-06-04T03:20:10.397Z] [2021-06-04T03:20:10.397Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-04T03:20:10.397Z] [2021-06-04T03:20:10.397Z] [Pipeline] } [2021-06-04T03:20:10.405Z] $ docker stop --time=1 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 [2021-06-04T03:20:12.735Z] $ docker rm -f 9df4442d6696506c0d9ebd9527a3a90976d671a014faf4fd7dee5a07c01c9da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-04T03:20:13.836Z] + git log --format=format:%s -1 e1dcefe05451e99782283e97402c84988ce0a6d8 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:14.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:20:14.195Z] . [Pipeline] withDockerContainer [2021-06-04T03:20:14.275Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:20:14.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-04T03:20:14.660Z] $ docker top 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-04T03:20:14.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-04T03:20:14.799Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-04T03:20:14.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-04T03:20:14.911Z] $ docker exec 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a ssh-agent [2021-06-04T03:20:15.032Z] SSH_AUTH_SOCK=/tmp/ssh-7ofG81uqa4Gj/agent.14 [2021-06-04T03:20:15.032Z] SSH_AGENT_PID=20 [2021-06-04T03:20:15.038Z] Running ssh-add (command line suppressed) [2021-06-04T03:20:15.136Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_46750075014572951.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_46750075014572951.key) [2021-06-04T03:20:15.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-04T03:20:15.488Z] + git semver tag [2021-06-04T03:20:15.488Z] # -> Open(): unable to determine branch for HEAD [2021-06-04T03:20:15.488Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-04T03:20:15.488Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-04T03:20:15.488Z] # $SEMVER_REMOTE_NAME = origin [2021-06-04T03:20:15.488Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-04T03:20:15.488Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-04T03:20:15.488Z] # $SEMVER_BRANCH = master [2021-06-04T03:20:15.488Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-04T03:20:15.488Z] # e1dcefe05451e99782283e97402c84988ce0a6d8 HEAD [2021-06-04T03:20:15.488Z] # -> Force: false [2021-06-04T03:20:15.488Z] # f7cb93881a049fc43a3fb83c3e78e5067a54c6f2 refs/tags/v1.3.2-dev.14 [Pipeline] } [2021-06-04T03:20:15.495Z] $ docker exec --env ******** --env ******** 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a ssh-agent -k [2021-06-04T03:20:15.592Z] unset SSH_AUTH_SOCK; [2021-06-04T03:20:15.592Z] unset SSH_AGENT_PID; [2021-06-04T03:20:15.592Z] echo Agent pid 20 killed; [2021-06-04T03:20:15.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-04T03:20:15.966Z] + git semver [Pipeline] } [2021-06-04T03:20:15.976Z] $ docker stop --time=1 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a [2021-06-04T03:20:17.163Z] $ docker rm -f 868eb56c87a6dbe4c3567231ebd9577c6a532a249577049572b2bc9f8d445f4a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:17.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-04T03:20:17.617Z] [2021-06-04T03:20:17.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:17.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-04T03:20:17.927Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-04T03:20:17.927Z] ab5ef0e58194: Pulling fs layer [2021-06-04T03:20:17.927Z] 9712f1f96733: Pulling fs layer [2021-06-04T03:20:17.927Z] 63f879dbbcfc: Pulling fs layer [2021-06-04T03:20:17.927Z] 0d9ebad4ef96: Pulling fs layer [2021-06-04T03:20:17.927Z] e9a5061849ea: Pulling fs layer [2021-06-04T03:20:17.927Z] d747dcd14b5f: Pulling fs layer [2021-06-04T03:20:17.927Z] 2de7ff778b66: Pulling fs layer [2021-06-04T03:20:17.927Z] 0d9ebad4ef96: Waiting [2021-06-04T03:20:17.927Z] e9a5061849ea: Waiting [2021-06-04T03:20:17.927Z] d747dcd14b5f: Waiting [2021-06-04T03:20:17.927Z] 2de7ff778b66: Waiting [2021-06-04T03:20:17.927Z] 9712f1f96733: Verifying Checksum [2021-06-04T03:20:17.927Z] 9712f1f96733: Download complete [2021-06-04T03:20:19.319Z] 63f879dbbcfc: Verifying Checksum [2021-06-04T03:20:19.319Z] 63f879dbbcfc: Download complete [2021-06-04T03:20:19.581Z] e9a5061849ea: Verifying Checksum [2021-06-04T03:20:19.581Z] e9a5061849ea: Download complete [2021-06-04T03:20:19.581Z] d747dcd14b5f: Verifying Checksum [2021-06-04T03:20:19.581Z] d747dcd14b5f: Download complete [2021-06-04T03:20:19.843Z] 2de7ff778b66: Verifying Checksum [2021-06-04T03:20:19.843Z] 2de7ff778b66: Download complete [2021-06-04T03:20:20.103Z] 0d9ebad4ef96: Verifying Checksum [2021-06-04T03:20:20.103Z] 0d9ebad4ef96: Download complete [2021-06-04T03:20:20.369Z] ab5ef0e58194: Download complete [2021-06-04T03:20:23.006Z] ab5ef0e58194: Pull complete [2021-06-04T03:20:23.006Z] 9712f1f96733: Pull complete [2021-06-04T03:20:23.282Z] 63f879dbbcfc: Pull complete [2021-06-04T03:20:26.604Z] 0d9ebad4ef96: Pull complete [2021-06-04T03:20:26.604Z] e9a5061849ea: Pull complete [2021-06-04T03:20:26.604Z] d747dcd14b5f: Pull complete [2021-06-04T03:20:27.551Z] 2de7ff778b66: Pull complete [2021-06-04T03:20:27.551Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-04T03:20:27.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-04T03:20:27.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-04T03:20:27.647Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:20:27.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-04T03:20:31.593Z] $ docker top 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:20:31.695Z] provisioning config files... [2021-06-04T03:20:31.704Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5772354953629123536tmp [2021-06-04T03:20:31.716Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2623519938782105077tmp [2021-06-04T03:20:31.728Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2248287063091401386tmp [Pipeline] { [Pipeline] echo [2021-06-04T03:20:31.749Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:20:32.044Z] ---> sigul-configuration.sh [2021-06-04T03:20:32.044Z] gpg: directory `/root/.gnupg' created [2021-06-04T03:20:32.044Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-04T03:20:32.044Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-04T03:20:32.044Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-04T03:20:32.044Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-04T03:20:32.044Z] gpg: CAST5 encrypted data [2021-06-04T03:20:32.044Z] gpg: encrypted with 1 passphrase [2021-06-04T03:20:32.044Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-04T03:20:32.346Z] + mkdir /home/jenkins [2021-06-04T03:20:32.346Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-04T03:20:32.642Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-06-04T03:20:32.655Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:20:32.973Z] ---> sigul-install.sh [2021-06-04T03:20:38.268Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-04T03:20:38.589Z] + git tag --list [2021-06-04T03:20:38.589Z] 0.7.1 [2021-06-04T03:20:38.589Z] v1.0.0 [2021-06-04T03:20:38.589Z] v1.1.0 [2021-06-04T03:20:38.589Z] v1.1.1 [2021-06-04T03:20:38.589Z] v1.2.2 [2021-06-04T03:20:38.589Z] v1.3.0 [2021-06-04T03:20:38.589Z] v1.3.1 [2021-06-04T03:20:38.589Z] v1.3.1-dev.1 [2021-06-04T03:20:38.589Z] v1.3.1-dev.2 [2021-06-04T03:20:38.589Z] v1.3.1-dev.3 [2021-06-04T03:20:38.589Z] v1.3.1-dev.4 [2021-06-04T03:20:38.589Z] v1.3.1-dev.5 [2021-06-04T03:20:38.589Z] v1.3.1-dev.6 [2021-06-04T03:20:38.589Z] v1.3.1-dev.7 [2021-06-04T03:20:38.589Z] v1.3.1-dev.8 [2021-06-04T03:20:38.589Z] v1.3.2-dev.1 [2021-06-04T03:20:38.589Z] v1.3.2-dev.10 [2021-06-04T03:20:38.589Z] v1.3.2-dev.11 [2021-06-04T03:20:38.589Z] v1.3.2-dev.12 [2021-06-04T03:20:38.589Z] v1.3.2-dev.13 [2021-06-04T03:20:38.589Z] v1.3.2-dev.14 [2021-06-04T03:20:38.589Z] v1.3.2-dev.2 [2021-06-04T03:20:38.589Z] v1.3.2-dev.3 [2021-06-04T03:20:38.589Z] v1.3.2-dev.4 [2021-06-04T03:20:38.589Z] v1.3.2-dev.5 [2021-06-04T03:20:38.589Z] v1.3.2-dev.6 [2021-06-04T03:20:38.589Z] v1.3.2-dev.7 [2021-06-04T03:20:38.589Z] v1.3.2-dev.8 [2021-06-04T03:20:38.589Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-04T03:20:38.885Z] + lftools sign git-tag v1.3.2-dev.14 [2021-06-04T03:20:39.460Z] Signing Git tag with Sigul... [2021-06-04T03:20:39.460Z] Signing v1.3.2-dev.14 [Pipeline] echo [2021-06-04T03:20:40.040Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:20:40.337Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-04T03:20:40.345Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-04T03:20:40.369Z] $ docker stop --time=1 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 [2021-06-04T03:20:41.824Z] $ docker rm -f 8e8ef3d131a5277c0013425b222258ebfbaaa20e42d22f1c82781ad2cc582b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:42.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:20:42.484Z] . [Pipeline] withDockerContainer [2021-06-04T03:20:42.554Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:20:42.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-04T03:20:42.940Z] $ docker top 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-04T03:20:43.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-04T03:20:43.069Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-04T03:20:43.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-04T03:20:43.173Z] $ docker exec 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d ssh-agent [2021-06-04T03:20:43.280Z] SSH_AUTH_SOCK=/tmp/ssh-XHCCrPlOQifA/agent.14 [2021-06-04T03:20:43.280Z] SSH_AGENT_PID=20 [2021-06-04T03:20:43.286Z] Running ssh-add (command line suppressed) [2021-06-04T03:20:43.392Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3949240927958488722.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3949240927958488722.key) [2021-06-04T03:20:43.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-04T03:20:43.709Z] + git semver bump pre [2021-06-04T03:20:43.709Z] # -> Open(): unable to determine branch for HEAD [2021-06-04T03:20:43.709Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-04T03:20:43.709Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-04T03:20:43.709Z] # $SEMVER_REMOTE_NAME = origin [2021-06-04T03:20:43.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-04T03:20:43.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-04T03:20:43.709Z] # $SEMVER_BRANCH = master [2021-06-04T03:20:43.709Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-04T03:20:43.709Z] 1.3.2-dev.15 [Pipeline] } [2021-06-04T03:20:43.715Z] $ docker exec --env ******** --env ******** 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d ssh-agent -k [2021-06-04T03:20:43.810Z] unset SSH_AUTH_SOCK; [2021-06-04T03:20:43.811Z] unset SSH_AGENT_PID; [2021-06-04T03:20:43.811Z] echo Agent pid 20 killed; [2021-06-04T03:20:43.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-04T03:20:44.163Z] + git semver [Pipeline] } [2021-06-04T03:20:44.174Z] $ docker stop --time=1 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d [2021-06-04T03:20:45.417Z] $ docker rm -f 5fb568447f0eba79c61dc30b86f53e58b99c0d91f6b2ea691d4f0ae90a08667d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:45.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-04T03:20:45.801Z] . [Pipeline] withDockerContainer [2021-06-04T03:20:45.872Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:20:45.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-04T03:20:46.252Z] $ docker top 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-04T03:20:46.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-04T03:20:46.378Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-04T03:20:46.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-04T03:20:46.486Z] $ docker exec 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d ssh-agent [2021-06-04T03:20:46.633Z] SSH_AUTH_SOCK=/tmp/ssh-AnWWyUL2e2BM/agent.15 [2021-06-04T03:20:46.633Z] SSH_AGENT_PID=22 [2021-06-04T03:20:46.639Z] Running ssh-add (command line suppressed) [2021-06-04T03:20:46.735Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6432548859928912456.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6432548859928912456.key) [2021-06-04T03:20:46.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-04T03:20:47.055Z] + git semver push [2021-06-04T03:20:47.055Z] # -> Open(): unable to determine branch for HEAD [2021-06-04T03:20:47.055Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-04T03:20:47.055Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-04T03:20:47.055Z] # $SEMVER_REMOTE_NAME = origin [2021-06-04T03:20:47.055Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-04T03:20:47.055Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-04T03:20:47.055Z] # $SEMVER_BRANCH = master [2021-06-04T03:20:47.055Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-04T03:20:52.353Z] $ docker exec --env ******** --env ******** 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d ssh-agent -k [2021-06-04T03:20:52.450Z] unset SSH_AUTH_SOCK; [2021-06-04T03:20:52.451Z] unset SSH_AGENT_PID; [2021-06-04T03:20:52.451Z] echo Agent pid 22 killed; [2021-06-04T03:20:52.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-04T03:20:52.801Z] + git semver [Pipeline] } [2021-06-04T03:20:52.817Z] $ docker stop --time=1 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d [2021-06-04T03:20:54.002Z] $ docker rm -f 1117e971c25826cb9d6e696c5b8f7e6d8f3cc01ebdcb31404b6159a403717d8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:20:54.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:20:55.486Z] ---> package-listing.sh [2021-06-04T03:20:55.486Z] ++ facter osfamily [2021-06-04T03:20:55.486Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-04T03:20:55.757Z] + OS_FAMILY=redhat [2021-06-04T03:20:55.757Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-06-04T03:20:55.757Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-04T03:20:55.757Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-04T03:20:55.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-04T03:20:55.757Z] + PACKAGES=/tmp/packages_start.txt [2021-06-04T03:20:55.757Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-04T03:20:55.757Z] + PACKAGES=/tmp/packages_end.txt [2021-06-04T03:20:55.757Z] + case "${OS_FAMILY}" in [2021-06-04T03:20:55.757Z] + sort [2021-06-04T03:20:55.757Z] + rpm -qa [2021-06-04T03:20:56.331Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-04T03:20:56.331Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-04T03:20:56.331Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-04T03:20:56.331Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-04T03:20:56.331Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-06-04T03:20:56.331Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-06-04T03:20:56.343Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-04T03:20:56.632Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:57.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-04T03:20:57.197Z] [2021-06-04T03:20:57.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-04T03:20:57.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-04T03:20:57.507Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-04T03:20:57.507Z] df20fa9351a1: Pulling fs layer [2021-06-04T03:20:57.507Z] 36b3adc4ff6f: Pulling fs layer [2021-06-04T03:20:57.507Z] 8ad3a11d3b57: Pulling fs layer [2021-06-04T03:20:57.507Z] 46f8f816bc3b: Pulling fs layer [2021-06-04T03:20:57.507Z] 93b61091891f: Pulling fs layer [2021-06-04T03:20:57.507Z] 93b9cdb0e59b: Pulling fs layer [2021-06-04T03:20:57.507Z] 5e14af77c1be: Pulling fs layer [2021-06-04T03:20:57.507Z] 01666e4c0597: Pulling fs layer [2021-06-04T03:20:57.507Z] aa168da1d23b: Pulling fs layer [2021-06-04T03:20:57.507Z] 93b9cdb0e59b: Waiting [2021-06-04T03:20:57.507Z] 5e14af77c1be: Waiting [2021-06-04T03:20:57.507Z] 01666e4c0597: Waiting [2021-06-04T03:20:57.507Z] aa168da1d23b: Waiting [2021-06-04T03:20:57.507Z] 46f8f816bc3b: Waiting [2021-06-04T03:20:57.507Z] 93b61091891f: Waiting [2021-06-04T03:20:57.507Z] 36b3adc4ff6f: Verifying Checksum [2021-06-04T03:20:57.507Z] 36b3adc4ff6f: Download complete [2021-06-04T03:20:57.507Z] 46f8f816bc3b: Verifying Checksum [2021-06-04T03:20:57.507Z] 46f8f816bc3b: Download complete [2021-06-04T03:20:57.507Z] df20fa9351a1: Verifying Checksum [2021-06-04T03:20:57.507Z] df20fa9351a1: Download complete [2021-06-04T03:20:57.773Z] 93b9cdb0e59b: Verifying Checksum [2021-06-04T03:20:57.773Z] 93b9cdb0e59b: Download complete [2021-06-04T03:20:57.773Z] 5e14af77c1be: Verifying Checksum [2021-06-04T03:20:57.773Z] 5e14af77c1be: Download complete [2021-06-04T03:20:57.773Z] 01666e4c0597: Verifying Checksum [2021-06-04T03:20:57.773Z] 01666e4c0597: Download complete [2021-06-04T03:20:57.773Z] 93b61091891f: Verifying Checksum [2021-06-04T03:20:57.773Z] 93b61091891f: Download complete [2021-06-04T03:20:57.773Z] 8ad3a11d3b57: Verifying Checksum [2021-06-04T03:20:57.773Z] 8ad3a11d3b57: Download complete [2021-06-04T03:20:57.773Z] df20fa9351a1: Pull complete [2021-06-04T03:20:58.040Z] 36b3adc4ff6f: Pull complete [2021-06-04T03:20:58.636Z] 8ad3a11d3b57: Pull complete [2021-06-04T03:20:58.636Z] 46f8f816bc3b: Pull complete [2021-06-04T03:20:58.906Z] 93b61091891f: Pull complete [2021-06-04T03:20:58.906Z] 93b9cdb0e59b: Pull complete [2021-06-04T03:20:58.906Z] 5e14af77c1be: Pull complete [2021-06-04T03:20:59.169Z] 01666e4c0597: Pull complete [2021-06-04T03:20:59.749Z] aa168da1d23b: Verifying Checksum [2021-06-04T03:20:59.749Z] aa168da1d23b: Download complete [2021-06-04T03:21:03.993Z] aa168da1d23b: Pull complete [2021-06-04T03:21:03.994Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-04T03:21:03.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-04T03:21:03.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-04T03:21:04.067Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-04T03:21:04.103Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-04T03:21:07.772Z] $ docker top 9f86fff6af9abeaf48b5770ea96a644da55df437e9b6711394c88783955024ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-04T03:21:08.162Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-04T03:21:08.463Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-04T03:21:08.763Z] + ls /var/log/sa-host [2021-06-04T03:21:08.763Z] + sadf -c /var/log/sa-host/sa04 [2021-06-04T03:21:08.763Z] file_magic: OK [2021-06-04T03:21:08.763Z] HZ: Using current value: 100 [2021-06-04T03:21:08.764Z] file_header: OK [2021-06-04T03:21:08.764Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-04T03:21:08.764Z] Statistics: [2021-06-04T03:21:08.764Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-04T03:21:08.764Z] File successfully converted to sysstat format version 12.2.1 [2021-06-04T03:21:08.764Z] + sadf -c /var/log/sa-host/sa05 [2021-06-04T03:21:08.764Z] file_magic: OK [2021-06-04T03:21:08.764Z] HZ: Using current value: 100 [2021-06-04T03:21:08.764Z] file_header: OK [2021-06-04T03:21:08.764Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-04T03:21:08.764Z] Statistics: [2021-06-04T03:21:08.764Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-04T03:21:08.764Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-04T03:21:08.940Z] provisioning config files... [2021-06-04T03:21:08.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1396636967396660104tmp [Pipeline] { [Pipeline] echo [2021-06-04T03:21:09.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:21:09.469Z] ---> create-netrc.sh [Pipeline] } [2021-06-04T03:21:09.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:21:09.929Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-04T03:21:09.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:21:10.262Z] ---> sudo-logs.sh [2021-06-04T03:21:10.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-04T03:21:10.291Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:21:10.581Z] ---> job-cost.sh [2021-06-04T03:21:10.581Z] lf-activate-venv: SKIPPING [2021-06-04T03:21:10.581Z] DEBUG: total: 0.18000000715255737 [2021-06-04T03:21:10.581Z] INFO: Retrieving Stack Cost... [2021-06-04T03:21:11.524Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-04T03:21:11.784Z] INFO: Archiving Costs [Pipeline] echo [2021-06-04T03:21:11.798Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-04T03:21:12.102Z] ---> logs-deploy.sh [2021-06-04T03:21:12.102Z] lf-activate-venv: SKIPPING [2021-06-04T03:21:12.102Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/53 [2021-06-04T03:21:12.102Z] INFO: archiving workspace using pattern(s): [2021-06-04T03:21:13.051Z] Archives upload complete. [2021-06-04T03:21:13.051Z] INFO: archiving logs to Nexus