Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec5780f49cc8d227830b26f24a2b43a0b649d736 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15059518567491979066.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12916479930026698371.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10117076803649910115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh69697950093687233.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11301470866120036225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1657 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh4643526424384682646.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 ec5780f49cc8d227830b26f24a2b43a0b649d736 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 Commit message: "Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-17T06:08:10.212Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-17T06:08:10.253Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-17T06:08:10.266Z] ========================================================= [2022-01-17T06:08:10.266Z] EdgeX Global Pipelines Version Info [2022-01-17T06:08:10.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:08:11.429Z] ------------------- [2022-01-17T06:08:11.429Z] stable info: [2022-01-17T06:08:11.429Z] ------------------- [2022-01-17T06:08:11.429Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-17T06:08:11.429Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T06:08:11.429Z] Message: update stable to v1.0.219 [2022-01-17T06:08:12.004Z] ------------------- [2022-01-17T06:08:12.004Z] experimental info: [2022-01-17T06:08:12.004Z] ------------------- [2022-01-17T06:08:12.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-17T06:08:12.004Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T06:08:12.004Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-17T06:08:12.124Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-01-17T06:08:12.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-01-17T06:08:12.142Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-17T06:08:12.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-17T06:08:12.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-17T06:08:12.177Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-17T06:08:12.189Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-17T06:08:12.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-17T06:08:12.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-17T06:08:12.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-17T06:08:12.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-17T06:08:12.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-01-17T06:08:12.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-17T06:08:12.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-17T06:08:12.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T06:08:12.297Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T06:08:12.318Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T06:08:12.336Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T06:08:12.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-17T06:08:12.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-17T06:08:12.376Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-17T06:08:12.390Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-17T06:08:12.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-17T06:08:12.417Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-17T06:08:12.430Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-17T06:08:12.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-17T06:08:12.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-17T06:08:12.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-17T06:08:12.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-17T06:08:12.492Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo [2022-01-17T06:08:12.507Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec5780f [Pipeline] echo [2022-01-17T06:08:12.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:08:12.565Z] provisioning config files... [2022-01-17T06:08:12.578Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7414521355989463124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:08:12.884Z] ---> docker-login.sh [2022-01-17T06:08:12.884Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:08:12.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:13.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:13.147Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:13.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:13.147Z] [2022-01-17T06:08:13.147Z] Login Succeeded [2022-01-17T06:08:13.147Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:08:13.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:13.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:13.147Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:13.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:13.147Z] [2022-01-17T06:08:13.147Z] Login Succeeded [2022-01-17T06:08:13.147Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:08:13.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:13.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:13.410Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:13.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:13.410Z] [2022-01-17T06:08:13.410Z] Login Succeeded [2022-01-17T06:08:13.410Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:08:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:13.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:13.410Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:13.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:13.410Z] [2022-01-17T06:08:13.410Z] Login Succeeded [2022-01-17T06:08:13.410Z] docker.io [2022-01-17T06:08:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:13.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:13.980Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:13.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:13.980Z] [2022-01-17T06:08:13.980Z] Login Succeeded [2022-01-17T06:08:13.980Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:08:13.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-17T06:08:14.369Z] + git rev-list -1 --merges ec5780f49cc8d227830b26f24a2b43a0b649d736~1..ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo [2022-01-17T06:08:14.396Z] -----------> git rev-list -1 --merges ec5780f49cc8d227830b26f24a2b43a0b649d736~1..ec5780f49cc8d227830b26f24a2b43a0b649d736 ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:08:14.396Z] ec5780f49cc8d227830b26f24a2b43a0b649d736 [false] [Pipeline] sh [2022-01-17T06:08:14.685Z] + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo [2022-01-17T06:08:14.708Z] ========================================================= [2022-01-17T06:08:14.708Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-17T06:08:14.708Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:08:15.051Z] + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo [2022-01-17T06:08:15.065Z] [semverPrep] GIT_COMMIT: ec5780f49cc8d227830b26f24a2b43a0b649d736, Commit Message: Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo [2022-01-17T06:08:15.076Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-17T06:08:15.503Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:08:15.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-17T06:08:15.503Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-17T06:08:15.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-17T06:08:15.503Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-17T06:08:15.503Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-17T06:08:15.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:08:15.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:08:15.944Z] [2022-01-17T06:08:15.944Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:08:16.259Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:08:16.259Z] latest: Pulling from edgex-devops/git-semver [2022-01-17T06:08:16.259Z] a0d0a0d46f8b: Pulling fs layer [2022-01-17T06:08:16.259Z] 3e5f54012d9b: Pulling fs layer [2022-01-17T06:08:16.259Z] 4c7163046ea9: Pulling fs layer [2022-01-17T06:08:16.259Z] 0c2d73faf560: Pulling fs layer [2022-01-17T06:08:16.259Z] 0c2d73faf560: Waiting [2022-01-17T06:08:16.259Z] 3e5f54012d9b: Verifying Checksum [2022-01-17T06:08:16.259Z] 3e5f54012d9b: Download complete [2022-01-17T06:08:16.259Z] a0d0a0d46f8b: Verifying Checksum [2022-01-17T06:08:16.259Z] a0d0a0d46f8b: Download complete [2022-01-17T06:08:16.259Z] 4c7163046ea9: Verifying Checksum [2022-01-17T06:08:16.259Z] 4c7163046ea9: Download complete [2022-01-17T06:08:16.259Z] 0c2d73faf560: Verifying Checksum [2022-01-17T06:08:16.259Z] 0c2d73faf560: Download complete [2022-01-17T06:08:16.522Z] a0d0a0d46f8b: Pull complete [2022-01-17T06:08:16.522Z] 3e5f54012d9b: Pull complete [2022-01-17T06:08:16.787Z] 4c7163046ea9: Pull complete [2022-01-17T06:08:17.052Z] 0c2d73faf560: Pull complete [2022-01-17T06:08:17.052Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-17T06:08:17.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:08:17.052Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-17T06:08:17.133Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:08:17.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:08:17.827Z] $ docker top 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:08:17.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:08:17.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:08:18.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:08:18.055Z] $ docker exec 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent [2022-01-17T06:08:18.157Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBPnMO/agent.13 [2022-01-17T06:08:18.157Z] SSH_AGENT_PID=19 [2022-01-17T06:08:18.166Z] Running ssh-add (command line suppressed) [2022-01-17T06:08:18.272Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7980124141622096220.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7980124141622096220.key) [2022-01-17T06:08:18.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:08:18.580Z] + git tag --points-at HEAD [Pipeline] } [2022-01-17T06:08:18.600Z] $ docker exec --env ******** --env ******** 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent -k [2022-01-17T06:08:18.696Z] unset SSH_AUTH_SOCK; [2022-01-17T06:08:18.696Z] unset SSH_AGENT_PID; [2022-01-17T06:08:18.696Z] echo Agent pid 19 killed; [2022-01-17T06:08:18.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-17T06:08:18.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:08:18.730Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:08:18.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:08:18.841Z] $ docker exec 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent [2022-01-17T06:08:18.929Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkKOlko/agent.52 [2022-01-17T06:08:18.929Z] SSH_AGENT_PID=58 [2022-01-17T06:08:18.935Z] Running ssh-add (command line suppressed) [2022-01-17T06:08:19.030Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4877081450837625328.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4877081450837625328.key) [2022-01-17T06:08:19.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:08:19.341Z] + git semver init [2022-01-17T06:08:19.341Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:08:19.341Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-17T06:08:19.341Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:08:19.341Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:08:19.341Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:08:19.341Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:08:19.341Z] # $SEMVER_BRANCH = main [2022-01-17T06:08:19.341Z] # $SEMVER_TEMP = /tmp/semver-688121995 [2022-01-17T06:08:19.341Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-01-17T06:08:20.284Z] # '/tmp/semver-688121995' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-01-17T06:08:20.284Z] # -> Force: false [2022-01-17T06:08:20.285Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-17T06:08:20.298Z] $ docker exec --env ******** --env ******** 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent -k [2022-01-17T06:08:20.399Z] unset SSH_AUTH_SOCK; [2022-01-17T06:08:20.400Z] unset SSH_AGENT_PID; [2022-01-17T06:08:20.400Z] echo Agent pid 58 killed; [2022-01-17T06:08:20.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:08:20.723Z] + git semver [Pipeline] } [2022-01-17T06:08:20.737Z] $ docker stop --time=1 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 [2022-01-17T06:08:21.964Z] $ docker rm -f 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:08:22.322Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-17T06:08:22.565Z] Stashed 1 file(s) [Pipeline] echo [2022-01-17T06:08:22.569Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:08:22.728Z] provisioning config files... [2022-01-17T06:08:22.739Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1199495081108584654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:08:23.054Z] ---> docker-login.sh [2022-01-17T06:08:23.054Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:08:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:23.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:23.054Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:23.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:23.054Z] [2022-01-17T06:08:23.054Z] Login Succeeded [2022-01-17T06:08:23.054Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:08:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:23.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:23.054Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:23.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:23.054Z] [2022-01-17T06:08:23.054Z] Login Succeeded [2022-01-17T06:08:23.054Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:08:23.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:23.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:23.316Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:23.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:23.316Z] [2022-01-17T06:08:23.316Z] Login Succeeded [2022-01-17T06:08:23.316Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:08:23.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:23.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:23.316Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:23.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:23.316Z] [2022-01-17T06:08:23.316Z] Login Succeeded [2022-01-17T06:08:23.316Z] docker.io [2022-01-17T06:08:23.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:08:23.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:08:23.837Z] Configure a credential helper to remove this warning. See [2022-01-17T06:08:23.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:08:23.837Z] [2022-01-17T06:08:23.837Z] Login Succeeded [2022-01-17T06:08:23.837Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:08:23.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T06:08:23.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:08:23.922Z] ========================================================= [2022-01-17T06:08:23.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-17T06:08:23.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:08:24.323Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-17T06:08:24.323Z] Sending build context to Docker daemon 5.677MB [2022-01-17T06:08:24.323Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:08:24.323Z] Step 2/9 : FROM ${BASE} AS builder [2022-01-17T06:08:24.323Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-17T06:08:24.323Z] 59bf1c3509f3: Pulling fs layer [2022-01-17T06:08:24.323Z] 666ba61612fd: Pulling fs layer [2022-01-17T06:08:24.323Z] 8ed8ca486205: Pulling fs layer [2022-01-17T06:08:24.323Z] 4fe6c5a15a65: Pulling fs layer [2022-01-17T06:08:24.323Z] 22a0e8bec74d: Pulling fs layer [2022-01-17T06:08:24.323Z] f965cba54748: Pulling fs layer [2022-01-17T06:08:24.323Z] 861ffc35075e: Pulling fs layer [2022-01-17T06:08:24.323Z] 4b385c91608e: Pulling fs layer [2022-01-17T06:08:24.323Z] 560528eb2ebb: Pulling fs layer [2022-01-17T06:08:24.323Z] 4fe6c5a15a65: Waiting [2022-01-17T06:08:24.323Z] 22a0e8bec74d: Waiting [2022-01-17T06:08:24.323Z] f965cba54748: Waiting [2022-01-17T06:08:24.323Z] 861ffc35075e: Waiting [2022-01-17T06:08:24.323Z] 4b385c91608e: Waiting [2022-01-17T06:08:24.323Z] 560528eb2ebb: Waiting [2022-01-17T06:08:24.323Z] 8ed8ca486205: Verifying Checksum [2022-01-17T06:08:24.323Z] 8ed8ca486205: Download complete [2022-01-17T06:08:24.323Z] 666ba61612fd: Verifying Checksum [2022-01-17T06:08:24.323Z] 666ba61612fd: Download complete [2022-01-17T06:08:24.595Z] 22a0e8bec74d: Verifying Checksum [2022-01-17T06:08:24.595Z] 22a0e8bec74d: Download complete [2022-01-17T06:08:24.595Z] f965cba54748: Verifying Checksum [2022-01-17T06:08:24.595Z] f965cba54748: Download complete [2022-01-17T06:08:24.595Z] 59bf1c3509f3: Download complete [2022-01-17T06:08:24.595Z] 861ffc35075e: Verifying Checksum [2022-01-17T06:08:24.595Z] 861ffc35075e: Download complete [2022-01-17T06:08:24.595Z] 4b385c91608e: Verifying Checksum [2022-01-17T06:08:24.595Z] 4b385c91608e: Download complete [2022-01-17T06:08:24.859Z] 59bf1c3509f3: Pull complete [2022-01-17T06:08:25.133Z] 4fe6c5a15a65: Verifying Checksum [2022-01-17T06:08:25.133Z] 4fe6c5a15a65: Download complete [2022-01-17T06:08:25.133Z] 666ba61612fd: Pull complete [2022-01-17T06:08:25.133Z] 560528eb2ebb: Verifying Checksum [2022-01-17T06:08:25.133Z] 560528eb2ebb: Download complete [2022-01-17T06:08:25.133Z] 8ed8ca486205: Pull complete [2022-01-17T06:08:29.360Z] 4fe6c5a15a65: Pull complete [2022-01-17T06:08:29.360Z] 22a0e8bec74d: Pull complete [2022-01-17T06:08:29.360Z] f965cba54748: Pull complete [2022-01-17T06:08:29.360Z] 861ffc35075e: Pull complete [2022-01-17T06:08:29.628Z] 4b385c91608e: Pull complete [2022-01-17T06:08:32.180Z] 560528eb2ebb: Pull complete [2022-01-17T06:08:32.180Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-17T06:08:32.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-17T06:08:32.180Z] ---> dd4a08f94e63 [2022-01-17T06:08:32.180Z] Step 3/9 : ARG MAKE='make build' [2022-01-17T06:08:34.101Z] ---> Running in 828dc3d98be6 [2022-01-17T06:08:34.101Z] Removing intermediate container 828dc3d98be6 [2022-01-17T06:08:34.101Z] ---> bd6a5c19f203 [2022-01-17T06:08:34.101Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:08:34.101Z] ---> Running in dc4745c4ccff [2022-01-17T06:08:34.360Z] Removing intermediate container dc4745c4ccff [2022-01-17T06:08:34.360Z] ---> 553f1426fec9 [2022-01-17T06:08:34.360Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-17T06:08:34.360Z] ---> Running in 22b6c106a779 [2022-01-17T06:08:34.621Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:08:35.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:08:36.134Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T06:08:36.134Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-17T06:08:36.134Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T06:08:36.395Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T06:08:36.395Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-17T06:08:36.395Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-17T06:08:36.660Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-17T06:08:36.660Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-17T06:08:36.660Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T06:08:36.660Z] OK: 226 MiB in 60 packages [2022-01-17T06:08:36.921Z] Removing intermediate container 22b6c106a779 [2022-01-17T06:08:36.921Z] ---> 1c418b641a69 [2022-01-17T06:08:36.921Z] Step 6/9 : WORKDIR /device-modbus-go [2022-01-17T06:08:37.183Z] ---> Running in d4eddc41bd25 [2022-01-17T06:08:37.183Z] Removing intermediate container d4eddc41bd25 [2022-01-17T06:08:37.183Z] ---> 1addf04ebea8 [2022-01-17T06:08:37.183Z] Step 7/9 : COPY . . [2022-01-17T06:08:37.447Z] ---> 5ea601a86536 [2022-01-17T06:08:37.447Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:08:37.447Z] ---> Running in ef7f3a1cc8f5 [2022-01-17T06:08:37.684Z] Still waiting to schedule task [2022-01-17T06:08:37.684Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-17T06:09:09.583Z] Removing intermediate container ef7f3a1cc8f5 [2022-01-17T06:09:09.583Z] ---> 48955be04b0a [2022-01-17T06:09:09.583Z] Step 9/9 : RUN ${MAKE} [2022-01-17T06:09:09.583Z] ---> Running in 0f7dbb497bcb [2022-01-17T06:09:09.583Z] noop [2022-01-17T06:09:09.583Z] Removing intermediate container 0f7dbb497bcb [2022-01-17T06:09:09.583Z] ---> 28f6950e69e7 [2022-01-17T06:09:09.583Z] Successfully built 28f6950e69e7 [2022-01-17T06:09:09.583Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:09.901Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T06:09:09.901Z] . [Pipeline] withDockerContainer [2022-01-17T06:09:09.975Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:09:10.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-17T06:09:10.409Z] $ docker top 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:09:10.794Z] + go version [2022-01-17T06:09:10.795Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-17T06:09:10.809Z] $ docker stop --time=1 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 [2022-01-17T06:09:12.008Z] $ docker rm -f 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:12.432Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T06:09:12.432Z] . [Pipeline] withDockerContainer [2022-01-17T06:09:12.505Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:09:12.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-17T06:09:12.956Z] $ docker top 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T06:09:13.347Z] + make test [2022-01-17T06:09:13.347Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T06:09:13.608Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-17T06:09:31.805Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-17T06:09:31.805Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements [2022-01-17T06:09:31.805Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T06:09:35.135Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T06:09:35.135Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T06:09:35.135Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T06:09:35.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T06:09:35.736Z] $ docker stop --time=1 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e [2022-01-17T06:09:37.251Z] $ docker rm -f 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:09:37.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T06:09:37.729Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-17T06:09:38.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T06:09:39.027Z] + ls -al . [2022-01-17T06:09:39.027Z] total 152 [2022-01-17T06:09:39.027Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:09 . [2022-01-17T06:09:39.027Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 06:08 .. [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 8010 Jan 17 06:08 Attribution.txt [2022-01-17T06:09:39.027Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 06:08 bin [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jan 17 06:08 CHANGELOG.md [2022-01-17T06:09:39.027Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 06:08 cmd [2022-01-17T06:09:39.027Z] -rw-r--r--. 1 jenkins jenkins 23727 Jan 17 06:09 coverage.out [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 1523 Jan 17 06:08 Dockerfile [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 17 06:08 .dockerignore [2022-01-17T06:09:39.027Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 06:08 .git [2022-01-17T06:09:39.027Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 06:08 .github [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 331 Jan 17 06:08 .gitignore [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 300 Jan 17 06:08 go.mod [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 49511 Jan 17 06:08 go.sum [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 06:08 GOVERNANCE.md [2022-01-17T06:09:39.027Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 06:08 internal [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 17 06:08 Jenkinsfile [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 06:08 LICENSE [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 1009 Jan 17 06:08 Makefile [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 622 Jan 17 06:08 OWNERS.md [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 3488 Jan 17 06:08 README.md [2022-01-17T06:09:39.027Z] drwx------. 3 jenkins jenkins 57 Jan 17 06:08 .semver [2022-01-17T06:09:39.027Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 17 06:08 simulator [2022-01-17T06:09:39.027Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 17 06:08 snap [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 06:08 VERSION [2022-01-17T06:09:39.027Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 17 06:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:39.327Z] + 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=ec5780f49cc8d227830b26f24a2b43a0b649d736 --label arch=amd64 --label version=2.2.0-dev.3 . [2022-01-17T06:09:39.328Z] Sending build context to Docker daemon 5.702MB [2022-01-17T06:09:39.328Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:09:39.328Z] Step 2/22 : FROM ${BASE} AS builder [2022-01-17T06:09:39.328Z] ---> 28f6950e69e7 [2022-01-17T06:09:39.328Z] Step 3/22 : ARG MAKE='make build' [2022-01-17T06:09:39.328Z] ---> Running in a12564854a41 [2022-01-17T06:09:39.593Z] Removing intermediate container a12564854a41 [2022-01-17T06:09:39.593Z] ---> 6ee2a600e6cb [2022-01-17T06:09:39.593Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:09:39.593Z] ---> Running in 71d2ae373b38 [2022-01-17T06:09:40.173Z] Removing intermediate container 71d2ae373b38 [2022-01-17T06:09:40.173Z] ---> e1f784009de4 [2022-01-17T06:09:40.173Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-17T06:09:40.173Z] ---> Running in c6d9e9a26f8c [2022-01-17T06:09:40.438Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:41.014Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:41.587Z] OK: 226 MiB in 60 packages [2022-01-17T06:09:41.847Z] Removing intermediate container c6d9e9a26f8c [2022-01-17T06:09:41.847Z] ---> 83ba35c8d170 [2022-01-17T06:09:41.847Z] Step 6/22 : WORKDIR /device-modbus-go [2022-01-17T06:09:41.848Z] ---> Running in 276b2c4e6b04 [2022-01-17T06:09:41.848Z] Removing intermediate container 276b2c4e6b04 [2022-01-17T06:09:41.848Z] ---> ce7471d760da [2022-01-17T06:09:41.848Z] Step 7/22 : COPY . . [2022-01-17T06:09:42.113Z] ---> f39e0239d926 [2022-01-17T06:09:42.113Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:09:42.113Z] ---> Running in 854ee28e7f47 [2022-01-17T06:09:42.685Z] Removing intermediate container 854ee28e7f47 [2022-01-17T06:09:42.685Z] ---> 7e0d98b96fb5 [2022-01-17T06:09:42.685Z] Step 9/22 : RUN ${MAKE} [2022-01-17T06:09:42.685Z] ---> Running in 0014c92a482e [2022-01-17T06:09:42.952Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.3" -o cmd/device-modbus ./cmd [2022-01-17T06:09:55.232Z] Removing intermediate container 0014c92a482e [2022-01-17T06:09:55.232Z] ---> 8a610325f439 [2022-01-17T06:09:55.232Z] Step 10/22 : FROM alpine:3.14 [2022-01-17T06:09:55.492Z] 3.14: Pulling from library/alpine [2022-01-17T06:09:55.752Z] 97518928ae5f: Pulling fs layer [2022-01-17T06:09:56.011Z] 97518928ae5f: Verifying Checksum [2022-01-17T06:09:56.011Z] 97518928ae5f: Download complete [2022-01-17T06:09:56.011Z] 97518928ae5f: Pull complete [2022-01-17T06:09:56.011Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T06:09:56.275Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T06:09:56.275Z] ---> 0a97eee8041e [2022-01-17T06:09:56.275Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-17T06:09:56.275Z] ---> Running in f73b04d8fff6 [2022-01-17T06:09:56.275Z] Removing intermediate container f73b04d8fff6 [2022-01-17T06:09:56.275Z] ---> b5d0dcc0ae8f [2022-01-17T06:09:56.275Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:09:56.275Z] ---> Running in 4900bcd74b69 [2022-01-17T06:09:56.848Z] Removing intermediate container 4900bcd74b69 [2022-01-17T06:09:56.848Z] ---> 39e152bc7d4f [2022-01-17T06:09:56.848Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T06:09:56.848Z] ---> Running in 0b7e06e5c644 [2022-01-17T06:09:57.111Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:58.054Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:58.315Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T06:09:58.315Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T06:09:58.576Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T06:09:58.576Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T06:09:58.576Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T06:09:58.843Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T06:09:58.843Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T06:09:58.843Z] OK: 8 MiB in 20 packages [2022-01-17T06:09:59.106Z] Removing intermediate container 0b7e06e5c644 [2022-01-17T06:09:59.106Z] ---> 6ebcbe147c47 [2022-01-17T06:09:59.106Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-01-17T06:09:59.368Z] ---> a943bde39bd6 [2022-01-17T06:09:59.368Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-17T06:09:59.630Z] ---> d203050f646b [2022-01-17T06:09:59.630Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-17T06:09:59.890Z] ---> a43467a7ff80 [2022-01-17T06:09:59.890Z] Step 17/22 : EXPOSE 59901 [2022-01-17T06:09:59.890Z] ---> Running in 363438de1d84 [2022-01-17T06:09:59.890Z] Removing intermediate container 363438de1d84 [2022-01-17T06:09:59.890Z] ---> 2ca11febee92 [2022-01-17T06:09:59.890Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-01-17T06:09:59.890Z] ---> Running in 528546887d5a [2022-01-17T06:10:00.158Z] Removing intermediate container 528546887d5a [2022-01-17T06:10:00.158Z] ---> 2be53fbd1a3f [2022-01-17T06:10:00.158Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-17T06:10:00.158Z] ---> Running in 4dd8ee08e174 [2022-01-17T06:10:00.158Z] Removing intermediate container 4dd8ee08e174 [2022-01-17T06:10:00.158Z] ---> b2509af2607e [2022-01-17T06:10:00.158Z] Step 20/22 : LABEL arch=amd64 [2022-01-17T06:10:00.158Z] ---> Running in 879bbed1021d [2022-01-17T06:10:00.158Z] Removing intermediate container 879bbed1021d [2022-01-17T06:10:00.158Z] ---> 00b142013077 [2022-01-17T06:10:00.158Z] Step 21/22 : LABEL git_sha=ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:10:00.158Z] ---> Running in e99bb8b2009c [2022-01-17T06:10:00.418Z] Removing intermediate container e99bb8b2009c [2022-01-17T06:10:00.418Z] ---> 3c4cb4dc1e65 [2022-01-17T06:10:00.418Z] Step 22/22 : LABEL version=2.2.0-dev.3 [2022-01-17T06:10:00.418Z] ---> Running in e837ba3c3226 [2022-01-17T06:10:00.418Z] Removing intermediate container e837ba3c3226 [2022-01-17T06:10:00.418Z] ---> 7f58d5d270ee [2022-01-17T06:10:00.418Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T06:10:00.418Z] Successfully built 7f58d5d270ee [2022-01-17T06:10:00.418Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:10:00.505Z] provisioning config files... [2022-01-17T06:10:00.515Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5356736432339140238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:10:00.812Z] ---> docker-login.sh [2022-01-17T06:10:00.812Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:10:00.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:00.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:00.812Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:00.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:00.812Z] [2022-01-17T06:10:00.812Z] Login Succeeded [2022-01-17T06:10:00.812Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:10:00.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:01.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:01.072Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:01.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:01.072Z] [2022-01-17T06:10:01.072Z] Login Succeeded [2022-01-17T06:10:01.072Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:10:01.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:01.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:01.072Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:01.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:01.072Z] [2022-01-17T06:10:01.073Z] Login Succeeded [2022-01-17T06:10:01.073Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:10:01.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:01.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:01.073Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:01.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:01.073Z] [2022-01-17T06:10:01.073Z] Login Succeeded [2022-01-17T06:10:01.073Z] docker.io [2022-01-17T06:10:01.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:01.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:01.592Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:01.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:01.592Z] [2022-01-17T06:10:01.592Z] Login Succeeded [2022-01-17T06:10:01.592Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:10:01.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:10:01.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:10:01.652Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-01-17T06:10:01.652Z] ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:10:01.652Z] latest [2022-01-17T06:10:01.652Z] 2.2.0-dev.3 [2022-01-17T06:10:01.652Z] ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:10:01.652Z] main [2022-01-17T06:10:01.652Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:01.978Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:02.285Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:10:02.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-17T06:10:02.286Z] 2be72bfaf543: Preparing [2022-01-17T06:10:02.286Z] ac6a77e9c742: Preparing [2022-01-17T06:10:02.286Z] e7247eab2867: Preparing [2022-01-17T06:10:02.286Z] 8801f8871662: Preparing [2022-01-17T06:10:02.286Z] bd3ff94871bc: Preparing [2022-01-17T06:10:02.286Z] 1a058d5342cc: Preparing [2022-01-17T06:10:02.286Z] 1a058d5342cc: Waiting [2022-01-17T06:10:02.547Z] bd3ff94871bc: Pushed [2022-01-17T06:10:02.547Z] 2be72bfaf543: Pushed [2022-01-17T06:10:02.547Z] 1a058d5342cc: Layer already exists [2022-01-17T06:10:02.547Z] ac6a77e9c742: Pushed [2022-01-17T06:10:02.547Z] 8801f8871662: Pushed [2022-01-17T06:10:03.488Z] e7247eab2867: Pushed [2022-01-17T06:10:03.488Z] ec5780f49cc8d227830b26f24a2b43a0b649d736: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:03.790Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:04.081Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-17T06:10:04.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-17T06:10:04.081Z] 2be72bfaf543: Preparing [2022-01-17T06:10:04.081Z] ac6a77e9c742: Preparing [2022-01-17T06:10:04.081Z] e7247eab2867: Preparing [2022-01-17T06:10:04.081Z] 8801f8871662: Preparing [2022-01-17T06:10:04.081Z] bd3ff94871bc: Preparing [2022-01-17T06:10:04.081Z] 1a058d5342cc: Preparing [2022-01-17T06:10:04.081Z] 1a058d5342cc: Waiting [2022-01-17T06:10:04.081Z] bd3ff94871bc: Layer already exists [2022-01-17T06:10:04.081Z] 8801f8871662: Layer already exists [2022-01-17T06:10:04.081Z] ac6a77e9c742: Layer already exists [2022-01-17T06:10:04.081Z] e7247eab2867: Layer already exists [2022-01-17T06:10:04.081Z] 2be72bfaf543: Layer already exists [2022-01-17T06:10:04.081Z] 1a058d5342cc: Layer already exists [2022-01-17T06:10:04.081Z] latest: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:04.374Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:04.671Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 [2022-01-17T06:10:04.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-17T06:10:04.671Z] 2be72bfaf543: Preparing [2022-01-17T06:10:04.671Z] ac6a77e9c742: Preparing [2022-01-17T06:10:04.671Z] e7247eab2867: Preparing [2022-01-17T06:10:04.671Z] 8801f8871662: Preparing [2022-01-17T06:10:04.671Z] bd3ff94871bc: Preparing [2022-01-17T06:10:04.671Z] 1a058d5342cc: Preparing [2022-01-17T06:10:04.671Z] 1a058d5342cc: Waiting [2022-01-17T06:10:04.671Z] 8801f8871662: Layer already exists [2022-01-17T06:10:04.671Z] e7247eab2867: Layer already exists [2022-01-17T06:10:04.671Z] 2be72bfaf543: Layer already exists [2022-01-17T06:10:04.671Z] bd3ff94871bc: Layer already exists [2022-01-17T06:10:04.671Z] ac6a77e9c742: Layer already exists [2022-01-17T06:10:04.671Z] 1a058d5342cc: Layer already exists [2022-01-17T06:10:04.671Z] 2.2.0-dev.3: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:04.970Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:05.262Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:10:05.804Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1658 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-01-17T06:10:05.816Z] Running in /w/workspace/device-modbus-go/20 [Pipeline] { [Pipeline] checkout [2022-01-17T06:10:06.059Z] Selected Git installation does not exist. Using Default [2022-01-17T06:10:06.060Z] The recommended git tool is: NONE [2022-01-17T06:10:10.446Z] using credential edgex-jenkins-ssh [2022-01-17T06:10:10.463Z] Cloning the remote Git repository [2022-01-17T06:10:10.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-17T06:10:10.551Z] 2be72bfaf543: Preparing [2022-01-17T06:10:10.551Z] ac6a77e9c742: Preparing [2022-01-17T06:10:10.551Z] e7247eab2867: Preparing [2022-01-17T06:10:10.551Z] 8801f8871662: Preparing [2022-01-17T06:10:10.551Z] bd3ff94871bc: Preparing [2022-01-17T06:10:10.551Z] 1a058d5342cc: Preparing [2022-01-17T06:10:10.551Z] 1a058d5342cc: Waiting [2022-01-17T06:10:10.551Z] 2be72bfaf543: Layer already exists [2022-01-17T06:10:10.551Z] 8801f8871662: Layer already exists [2022-01-17T06:10:10.551Z] e7247eab2867: Layer already exists [2022-01-17T06:10:10.551Z] bd3ff94871bc: Layer already exists [2022-01-17T06:10:10.551Z] ac6a77e9c742: Layer already exists [2022-01-17T06:10:10.551Z] 1a058d5342cc: Layer already exists [2022-01-17T06:10:10.551Z] ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:10.850Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:10.518Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-01-17T06:10:10.594Z] > git init /w/workspace/device-modbus-go/20 # timeout=10 [2022-01-17T06:10:10.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-01-17T06:10:10.677Z] > git --version # timeout=10 [2022-01-17T06:10:10.698Z] > git --version # 'git version 2.17.1' [2022-01-17T06:10:10.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-17T06:10:10.783Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T06:10:11.147Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-01-17T06:10:11.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-17T06:10:11.147Z] 2be72bfaf543: Preparing [2022-01-17T06:10:11.147Z] ac6a77e9c742: Preparing [2022-01-17T06:10:11.147Z] e7247eab2867: Preparing [2022-01-17T06:10:11.147Z] 8801f8871662: Preparing [2022-01-17T06:10:11.147Z] bd3ff94871bc: Preparing [2022-01-17T06:10:11.147Z] 1a058d5342cc: Preparing [2022-01-17T06:10:11.147Z] 1a058d5342cc: Waiting [2022-01-17T06:10:11.147Z] e7247eab2867: Layer already exists [2022-01-17T06:10:11.147Z] bd3ff94871bc: Layer already exists [2022-01-17T06:10:11.147Z] 8801f8871662: Layer already exists [2022-01-17T06:10:11.147Z] 2be72bfaf543: Layer already exists [2022-01-17T06:10:11.147Z] ac6a77e9c742: Layer already exists [2022-01-17T06:10:11.147Z] 1a058d5342cc: Layer already exists [2022-01-17T06:10:11.147Z] main: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:10:11.190Z] ===================================================== [Pipeline] echo [2022-01-17T06:10:11.200Z] taggedImages: [2022-01-17T06:10:11.200Z] - nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:10:11.200Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-17T06:10:11.200Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 [2022-01-17T06:10:11.200Z] - nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:10:11.200Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:11.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:10:11.856Z] [2022-01-17T06:10:11.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2022-01-17T06:10:11.910Z] Avoid second fetch [2022-01-17T06:10:11.911Z] Checking out Revision ec5780f49cc8d227830b26f24a2b43a0b649d736 (main) [Pipeline] sh [2022-01-17T06:10:11.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-01-17T06:10:11.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T06:10:11.933Z] > git config core.sparsecheckout # timeout=10 [2022-01-17T06:10:11.948Z] > git checkout -f ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 [2022-01-17T06:10:12.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:10:12.270Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-17T06:10:12.270Z] b4d181a07f80: Pulling fs layer [2022-01-17T06:10:12.270Z] a1111a8f2ec3: Pulling fs layer [2022-01-17T06:10:12.270Z] ed53099fbce6: Pulling fs layer [2022-01-17T06:10:12.270Z] dc539afda2c1: Pulling fs layer [2022-01-17T06:10:12.270Z] 77bc0d833cb6: Pulling fs layer [2022-01-17T06:10:12.270Z] 9065ff56babe: Pulling fs layer [2022-01-17T06:10:12.270Z] d287ab97295c: Pulling fs layer [2022-01-17T06:10:12.270Z] dc539afda2c1: Waiting [2022-01-17T06:10:12.270Z] 77bc0d833cb6: Waiting [2022-01-17T06:10:12.270Z] 9065ff56babe: Waiting [2022-01-17T06:10:12.270Z] d287ab97295c: Waiting [2022-01-17T06:10:12.270Z] a1111a8f2ec3: Verifying Checksum [2022-01-17T06:10:12.270Z] a1111a8f2ec3: Download complete [2022-01-17T06:10:12.270Z] dc539afda2c1: Verifying Checksum [2022-01-17T06:10:12.270Z] dc539afda2c1: Download complete [2022-01-17T06:10:12.270Z] ed53099fbce6: Verifying Checksum [2022-01-17T06:10:12.270Z] ed53099fbce6: Download complete [2022-01-17T06:10:12.270Z] 9065ff56babe: Verifying Checksum [2022-01-17T06:10:12.270Z] 9065ff56babe: Download complete [2022-01-17T06:10:12.535Z] b4d181a07f80: Verifying Checksum [2022-01-17T06:10:12.535Z] b4d181a07f80: Download complete [2022-01-17T06:10:12.535Z] 77bc0d833cb6: Verifying Checksum [2022-01-17T06:10:12.535Z] 77bc0d833cb6: Download complete [2022-01-17T06:10:13.114Z] d287ab97295c: Verifying Checksum [2022-01-17T06:10:13.114Z] d287ab97295c: Download complete [2022-01-17T06:10:14.070Z] b4d181a07f80: Pull complete [2022-01-17T06:10:14.070Z] a1111a8f2ec3: Pull complete [2022-01-17T06:10:14.643Z] ed53099fbce6: Pull complete [2022-01-17T06:10:14.643Z] dc539afda2c1: Pull complete [2022-01-17T06:10:14.902Z] 77bc0d833cb6: Pull complete [2022-01-17T06:10:14.902Z] 9065ff56babe: Pull complete [2022-01-17T06:10:16.080Z] Commit message: "Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [2022-01-17T06:10:16.334Z] [2022-01-17T06:10:16.334Z] GitHub has been notified of this commit’s build result [2022-01-17T06:10:16.334Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:10:16.887Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-17T06:10:16.887Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T06:10:16.888Z] Dload Upload Total Spent Left Speed [2022-01-17T06:10:16.888Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-01-17T06:10:17.410Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-17T06:10:17.750Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-17T06:10:17.750Z] + sudo tee /etc/docker/daemon.new [2022-01-17T06:10:17.750Z] { [2022-01-17T06:10:17.750Z] "registry-mirrors": [ [2022-01-17T06:10:17.750Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-17T06:10:17.750Z] ], [2022-01-17T06:10:17.750Z] "bip": "10.250.0.254/24", [2022-01-17T06:10:17.750Z] "hosts": [ [2022-01-17T06:10:17.750Z] "tcp://0.0.0.0:5555", [2022-01-17T06:10:17.750Z] "unix:///var/run/docker.sock" [2022-01-17T06:10:17.750Z] ], [2022-01-17T06:10:17.750Z] "mtu": 1458, [2022-01-17T06:10:17.750Z] "selinux-enabled": true, [2022-01-17T06:10:17.750Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-17T06:10:17.750Z] } [Pipeline] sh [2022-01-17T06:10:18.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-17T06:10:18.464Z] + sudo service docker restart [2022-01-17T06:10:20.220Z] d287ab97295c: Pull complete [2022-01-17T06:10:20.220Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-17T06:10:20.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:10:20.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-17T06:10:20.296Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:10:20.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-17T06:10:22.953Z] $ docker top ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:10:23.389Z] ---> job-cost.sh [2022-01-17T06:10:23.389Z] lf-activate-venv: SKIPPING [2022-01-17T06:10:23.389Z] INFO: No Stack... [2022-01-17T06:10:23.649Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T06:10:23.908Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T06:10:24.200Z] + cut -d, -f6 [2022-01-17T06:10:24.200Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock [2022-01-17T06:10:24.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [2022-01-17T06:10:24.222Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] did not exist. Created. [2022-01-17T06:10:24.222Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T06:10:24.527Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-17T06:10:24.558Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T06:10:24.564Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T06:10:24.586Z] $ docker stop --time=1 ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d [2022-01-17T06:10:25.722Z] $ docker rm -f ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:10:36.860Z] provisioning config files... [2022-01-17T06:10:36.884Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/20@tmp/config5819261096795933490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:10:37.240Z] ---> docker-login.sh [2022-01-17T06:10:37.240Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:10:37.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:38.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:38.117Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:38.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:38.117Z] [2022-01-17T06:10:38.117Z] Login Succeeded [2022-01-17T06:10:38.117Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:10:38.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:38.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:38.391Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:38.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:38.391Z] [2022-01-17T06:10:38.391Z] Login Succeeded [2022-01-17T06:10:38.391Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:10:38.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:38.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:38.998Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:38.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:38.998Z] [2022-01-17T06:10:38.998Z] Login Succeeded [2022-01-17T06:10:38.998Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:10:39.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:39.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:39.274Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:39.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:39.274Z] [2022-01-17T06:10:39.274Z] Login Succeeded [2022-01-17T06:10:39.274Z] docker.io [2022-01-17T06:10:39.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:10:40.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:10:40.142Z] Configure a credential helper to remove this warning. See [2022-01-17T06:10:40.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:10:40.142Z] [2022-01-17T06:10:40.142Z] Login Succeeded [2022-01-17T06:10:40.142Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:10:40.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T06:10:40.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:10:40.700Z] ========================================================= [2022-01-17T06:10:40.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-17T06:10:40.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:41.046Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-17T06:10:41.322Z] Sending build context to Docker daemon 2.969MB [2022-01-17T06:10:41.322Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:10:41.322Z] Step 2/9 : FROM ${BASE} AS builder [2022-01-17T06:10:41.594Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-17T06:10:41.594Z] 9b3977197b4f: Pulling fs layer [2022-01-17T06:10:41.594Z] 1a89e8eeedd5: Pulling fs layer [2022-01-17T06:10:41.594Z] 94645a83ff95: Pulling fs layer [2022-01-17T06:10:41.594Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-17T06:10:41.594Z] 0c92f367c5e7: Pulling fs layer [2022-01-17T06:10:41.594Z] 4b8299f9d1f4: Pulling fs layer [2022-01-17T06:10:41.594Z] 9a6b49a46696: Pulling fs layer [2022-01-17T06:10:41.594Z] cf05db05a679: Pulling fs layer [2022-01-17T06:10:41.594Z] 3f3a8bcf1eab: Waiting [2022-01-17T06:10:41.594Z] 4b8299f9d1f4: Waiting [2022-01-17T06:10:41.594Z] 0c92f367c5e7: Waiting [2022-01-17T06:10:41.594Z] 9a6b49a46696: Waiting [2022-01-17T06:10:41.594Z] cf05db05a679: Waiting [2022-01-17T06:10:41.594Z] 94645a83ff95: Verifying Checksum [2022-01-17T06:10:41.594Z] 94645a83ff95: Download complete [2022-01-17T06:10:41.594Z] 1a89e8eeedd5: Verifying Checksum [2022-01-17T06:10:41.594Z] 1a89e8eeedd5: Download complete [2022-01-17T06:10:41.594Z] 0c92f367c5e7: Verifying Checksum [2022-01-17T06:10:41.594Z] 0c92f367c5e7: Download complete [2022-01-17T06:10:41.594Z] 4b8299f9d1f4: Verifying Checksum [2022-01-17T06:10:41.594Z] 4b8299f9d1f4: Download complete [2022-01-17T06:10:41.594Z] 9b3977197b4f: Verifying Checksum [2022-01-17T06:10:41.594Z] 9a6b49a46696: Verifying Checksum [2022-01-17T06:10:41.594Z] 9b3977197b4f: Download complete [2022-01-17T06:10:41.594Z] 9a6b49a46696: Download complete [2022-01-17T06:10:42.578Z] 9b3977197b4f: Pull complete [2022-01-17T06:10:42.854Z] 1a89e8eeedd5: Pull complete [2022-01-17T06:10:43.465Z] 94645a83ff95: Pull complete [2022-01-17T06:10:43.465Z] cf05db05a679: Verifying Checksum [2022-01-17T06:10:43.465Z] cf05db05a679: Download complete [2022-01-17T06:10:44.058Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-17T06:10:44.059Z] 3f3a8bcf1eab: Download complete [2022-01-17T06:10:56.452Z] 3f3a8bcf1eab: Pull complete [2022-01-17T06:10:56.452Z] 0c92f367c5e7: Pull complete [2022-01-17T06:10:56.452Z] 4b8299f9d1f4: Pull complete [2022-01-17T06:10:56.452Z] 9a6b49a46696: Pull complete [2022-01-17T06:11:03.172Z] cf05db05a679: Pull complete [2022-01-17T06:11:03.172Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-17T06:11:03.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-17T06:11:03.172Z] ---> 0ccda1f7e2ee [2022-01-17T06:11:03.172Z] Step 3/9 : ARG MAKE='make build' [2022-01-17T06:11:04.156Z] ---> Running in 4619918c3ca2 [2022-01-17T06:11:04.752Z] Removing intermediate container 4619918c3ca2 [2022-01-17T06:11:04.752Z] ---> 537b9ad0dbf2 [2022-01-17T06:11:04.752Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:11:04.752Z] ---> Running in bca1d3d986ca [2022-01-17T06:11:06.738Z] Removing intermediate container bca1d3d986ca [2022-01-17T06:11:06.738Z] ---> d68f0a8f81a9 [2022-01-17T06:11:06.738Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-17T06:11:06.738Z] ---> Running in 6266af8c21fe [2022-01-17T06:11:07.729Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:11:08.321Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:11:09.291Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T06:11:09.291Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-17T06:11:09.291Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T06:11:09.563Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T06:11:09.834Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-17T06:11:09.834Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-17T06:11:09.834Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-17T06:11:10.105Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-17T06:11:10.105Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T06:11:10.105Z] OK: 226 MiB in 60 packages [2022-01-17T06:11:11.083Z] Removing intermediate container 6266af8c21fe [2022-01-17T06:11:11.083Z] ---> 44e1707a5dc7 [2022-01-17T06:11:11.083Z] Step 6/9 : WORKDIR /device-modbus-go [2022-01-17T06:11:11.356Z] ---> Running in 9d96b62d57d9 [2022-01-17T06:11:11.630Z] Removing intermediate container 9d96b62d57d9 [2022-01-17T06:11:11.630Z] ---> b806654471a8 [2022-01-17T06:11:11.630Z] Step 7/9 : COPY . . [2022-01-17T06:11:12.609Z] ---> a1d216828751 [2022-01-17T06:11:12.609Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:11:12.609Z] ---> Running in 018895a782d6 [2022-01-17T06:12:34.369Z] Removing intermediate container 018895a782d6 [2022-01-17T06:12:34.369Z] ---> 997370040465 [2022-01-17T06:12:34.369Z] Step 9/9 : RUN ${MAKE} [2022-01-17T06:12:34.369Z] ---> Running in 0573e78cc9b1 [2022-01-17T06:12:34.369Z] noop [2022-01-17T06:12:34.369Z] Removing intermediate container 0573e78cc9b1 [2022-01-17T06:12:34.369Z] ---> 80753f10d014 [2022-01-17T06:12:34.369Z] Successfully built 80753f10d014 [2022-01-17T06:12:34.369Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:12:34.717Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T06:12:34.718Z] . [Pipeline] withDockerContainer [2022-01-17T06:12:34.948Z] prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container [2022-01-17T06:12:35.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-17T06:12:36.329Z] $ docker top d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:12:37.233Z] + go version [2022-01-17T06:12:37.233Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-17T06:12:37.254Z] $ docker stop --time=1 d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 [2022-01-17T06:12:38.850Z] $ docker rm -f d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:12:39.445Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T06:12:39.445Z] . [Pipeline] withDockerContainer [2022-01-17T06:12:39.668Z] prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container [2022-01-17T06:12:39.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-17T06:12:41.031Z] $ docker top 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T06:12:41.939Z] + make test [2022-01-17T06:12:41.939Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T06:12:42.920Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-17T06:13:29.950Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-17T06:13:32.580Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2022-01-17T06:13:32.580Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T06:13:54.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T06:13:54.751Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T06:13:54.751Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T06:13:54.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T06:13:54.792Z] $ docker stop --time=1 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 [2022-01-17T06:13:56.544Z] $ docker rm -f 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:13:57.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T06:13:57.405Z] Warning: overwriting stash ‘coverage-report’ [2022-01-17T06:13:57.902Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:13:58.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T06:13:58.656Z] + ls -al . [2022-01-17T06:13:58.657Z] total 184 [2022-01-17T06:13:58.657Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 06:13 . [2022-01-17T06:13:58.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:10 .. [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 06:10 .dockerignore [2022-01-17T06:13:58.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:10 .git [2022-01-17T06:13:58.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 .github [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 06:10 .gitignore [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jan 17 06:10 Attribution.txt [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jan 17 06:10 CHANGELOG.md [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 1523 Jan 17 06:10 Dockerfile [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:10 GOVERNANCE.md [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 17 06:10 Jenkinsfile [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:10 LICENSE [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jan 17 06:10 Makefile [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 06:10 OWNERS.md [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 06:10 README.md [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 06:08 VERSION [2022-01-17T06:13:58.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 bin [2022-01-17T06:13:58.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:10 cmd [2022-01-17T06:13:58.657Z] -rw-r--r-- 1 jenkins jenkins 23727 Jan 17 06:13 coverage.out [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 300 Jan 17 06:10 go.mod [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 49511 Jan 17 06:10 go.sum [2022-01-17T06:13:58.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:10 internal [2022-01-17T06:13:58.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 simulator [2022-01-17T06:13:58.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:10 snap [2022-01-17T06:13:58.657Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 06:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:13:58.994Z] + 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=ec5780f49cc8d227830b26f24a2b43a0b649d736 --label arch=arm64 --label version=2.2.0-dev.3 . [2022-01-17T06:13:59.264Z] Sending build context to Docker daemon 2.993MB [2022-01-17T06:13:59.264Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:13:59.264Z] Step 2/22 : FROM ${BASE} AS builder [2022-01-17T06:13:59.264Z] ---> 80753f10d014 [2022-01-17T06:13:59.264Z] Step 3/22 : ARG MAKE='make build' [2022-01-17T06:13:59.535Z] ---> Running in 7d495fd28ca8 [2022-01-17T06:13:59.806Z] Removing intermediate container 7d495fd28ca8 [2022-01-17T06:13:59.806Z] ---> cd23ddf4958d [2022-01-17T06:13:59.806Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:13:59.806Z] ---> Running in d285ecc47a32 [2022-01-17T06:14:01.778Z] Removing intermediate container d285ecc47a32 [2022-01-17T06:14:01.778Z] ---> f2011fc64f10 [2022-01-17T06:14:01.778Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-17T06:14:01.778Z] ---> Running in e4df961a3315 [2022-01-17T06:14:02.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:14:03.356Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:14:04.338Z] OK: 226 MiB in 60 packages [2022-01-17T06:14:04.928Z] Removing intermediate container e4df961a3315 [2022-01-17T06:14:04.928Z] ---> acd92ddf8482 [2022-01-17T06:14:04.928Z] Step 6/22 : WORKDIR /device-modbus-go [2022-01-17T06:14:05.200Z] ---> Running in ffc027ac11cb [2022-01-17T06:14:05.472Z] Removing intermediate container ffc027ac11cb [2022-01-17T06:14:05.472Z] ---> 4b8b27c87fdd [2022-01-17T06:14:05.472Z] Step 7/22 : COPY . . [2022-01-17T06:14:06.448Z] ---> c7b0d7151dde [2022-01-17T06:14:06.448Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:14:06.448Z] ---> Running in eb9b456b866b [2022-01-17T06:14:08.416Z] Removing intermediate container eb9b456b866b [2022-01-17T06:14:08.416Z] ---> 25634ad88056 [2022-01-17T06:14:08.416Z] Step 9/22 : RUN ${MAKE} [2022-01-17T06:14:08.416Z] ---> Running in f5a259ecfce6 [2022-01-17T06:14:09.853Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.3" -o cmd/device-modbus ./cmd [2022-01-17T06:14:48.882Z] Removing intermediate container f5a259ecfce6 [2022-01-17T06:14:48.882Z] ---> 13bac76c0cc0 [2022-01-17T06:14:48.882Z] Step 10/22 : FROM alpine:3.14 [2022-01-17T06:14:49.155Z] 3.14: Pulling from library/alpine [2022-01-17T06:14:49.155Z] be307f383ecc: Pulling fs layer [2022-01-17T06:14:49.427Z] be307f383ecc: Verifying Checksum [2022-01-17T06:14:49.427Z] be307f383ecc: Download complete [2022-01-17T06:14:50.022Z] be307f383ecc: Pull complete [2022-01-17T06:14:50.022Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T06:14:50.022Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T06:14:50.022Z] ---> 5b8b7b635229 [2022-01-17T06:14:50.023Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-17T06:14:50.295Z] ---> Running in 303272a571b5 [2022-01-17T06:14:50.569Z] Removing intermediate container 303272a571b5 [2022-01-17T06:14:50.569Z] ---> fa9acfe9a92b [2022-01-17T06:14:50.569Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:14:50.569Z] ---> Running in 77ba34021e03 [2022-01-17T06:14:52.539Z] Removing intermediate container 77ba34021e03 [2022-01-17T06:14:52.539Z] ---> 0cdc8a81dbbc [2022-01-17T06:14:52.539Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T06:14:52.539Z] ---> Running in baf88f87c2c1 [2022-01-17T06:14:53.519Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:14:54.115Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:14:55.092Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T06:14:55.092Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T06:14:55.092Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T06:14:55.364Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T06:14:55.364Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T06:14:55.637Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T06:14:55.637Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T06:14:55.637Z] OK: 8 MiB in 20 packages [2022-01-17T06:14:56.617Z] Removing intermediate container baf88f87c2c1 [2022-01-17T06:14:56.617Z] ---> 349be117367d [2022-01-17T06:14:56.617Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-01-17T06:14:57.594Z] ---> 42e80ed8426d [2022-01-17T06:14:57.594Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-17T06:14:58.196Z] ---> 5a21109d5c70 [2022-01-17T06:14:58.196Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-17T06:14:59.175Z] ---> e186ac70192c [2022-01-17T06:14:59.176Z] Step 17/22 : EXPOSE 59901 [2022-01-17T06:14:59.176Z] ---> Running in dceb8840ca73 [2022-01-17T06:14:59.451Z] Removing intermediate container dceb8840ca73 [2022-01-17T06:14:59.451Z] ---> 004d7212eaa1 [2022-01-17T06:14:59.451Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-01-17T06:14:59.451Z] ---> Running in 5970535cac02 [2022-01-17T06:15:00.049Z] Removing intermediate container 5970535cac02 [2022-01-17T06:15:00.049Z] ---> 2f76940e6b52 [2022-01-17T06:15:00.049Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-17T06:15:00.049Z] ---> Running in cb018a27fd56 [2022-01-17T06:15:00.323Z] Removing intermediate container cb018a27fd56 [2022-01-17T06:15:00.323Z] ---> afb936254520 [2022-01-17T06:15:00.323Z] Step 20/22 : LABEL arch=arm64 [2022-01-17T06:15:00.323Z] ---> Running in 68fe23607f99 [2022-01-17T06:15:00.921Z] Removing intermediate container 68fe23607f99 [2022-01-17T06:15:00.921Z] ---> 9deea8771ed6 [2022-01-17T06:15:00.921Z] Step 21/22 : LABEL git_sha=ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:15:00.921Z] ---> Running in a7438caafa2b [2022-01-17T06:15:01.199Z] Removing intermediate container a7438caafa2b [2022-01-17T06:15:01.199Z] ---> c5cb8a4ce227 [2022-01-17T06:15:01.199Z] Step 22/22 : LABEL version=2.2.0-dev.3 [2022-01-17T06:15:01.472Z] ---> Running in 82ea9366b905 [2022-01-17T06:15:01.745Z] Removing intermediate container 82ea9366b905 [2022-01-17T06:15:01.745Z] ---> 2d9e91ec5a05 [2022-01-17T06:15:01.745Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T06:15:01.745Z] Successfully built 2d9e91ec5a05 [2022-01-17T06:15:01.745Z] 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 [2022-01-17T06:15:01.850Z] provisioning config files... [2022-01-17T06:15:01.870Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/20@tmp/config8105777492568524927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:15:02.226Z] ---> docker-login.sh [2022-01-17T06:15:02.226Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:15:02.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:15:02.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:15:02.500Z] Configure a credential helper to remove this warning. See [2022-01-17T06:15:02.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:15:02.500Z] [2022-01-17T06:15:02.500Z] Login Succeeded [2022-01-17T06:15:02.500Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:15:03.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:15:03.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:15:03.093Z] Configure a credential helper to remove this warning. See [2022-01-17T06:15:03.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:15:03.093Z] [2022-01-17T06:15:03.093Z] Login Succeeded [2022-01-17T06:15:03.093Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:15:03.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:15:03.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:15:03.638Z] Configure a credential helper to remove this warning. See [2022-01-17T06:15:03.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:15:03.638Z] [2022-01-17T06:15:03.638Z] Login Succeeded [2022-01-17T06:15:03.638Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:15:03.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:15:03.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:15:03.913Z] Configure a credential helper to remove this warning. See [2022-01-17T06:15:03.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:15:03.913Z] [2022-01-17T06:15:03.913Z] Login Succeeded [2022-01-17T06:15:03.913Z] docker.io [2022-01-17T06:15:04.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:15:04.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:15:04.781Z] Configure a credential helper to remove this warning. See [2022-01-17T06:15:04.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:15:04.781Z] [2022-01-17T06:15:04.781Z] Login Succeeded [2022-01-17T06:15:04.781Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:15:04.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:15:04.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:15:04.863Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-01-17T06:15:04.863Z] ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:15:04.863Z] latest [2022-01-17T06:15:04.863Z] 2.2.0-dev.3 [2022-01-17T06:15:04.863Z] ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:15:04.863Z] main [2022-01-17T06:15:04.863Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:05.230Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:05.584Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:15:05.584Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-17T06:15:05.584Z] 34484cfd727a: Preparing [2022-01-17T06:15:05.584Z] 47fd270dd0b2: Preparing [2022-01-17T06:15:05.584Z] 26eb0fc89cfb: Preparing [2022-01-17T06:15:05.584Z] 862e74b1008e: Preparing [2022-01-17T06:15:05.584Z] 80decb9b2860: Preparing [2022-01-17T06:15:05.584Z] 62170e181a92: Preparing [2022-01-17T06:15:05.584Z] 62170e181a92: Waiting [2022-01-17T06:15:05.876Z] 80decb9b2860: Pushed [2022-01-17T06:15:05.876Z] 47fd270dd0b2: Pushed [2022-01-17T06:15:05.876Z] 34484cfd727a: Pushed [2022-01-17T06:15:05.876Z] 62170e181a92: Layer already exists [2022-01-17T06:15:06.475Z] 862e74b1008e: Pushed [2022-01-17T06:15:08.449Z] 26eb0fc89cfb: Pushed [2022-01-17T06:15:08.722Z] ec5780f49cc8d227830b26f24a2b43a0b649d736: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:09.073Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:09.418Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-17T06:15:09.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-17T06:15:09.418Z] 34484cfd727a: Preparing [2022-01-17T06:15:09.418Z] 47fd270dd0b2: Preparing [2022-01-17T06:15:09.418Z] 26eb0fc89cfb: Preparing [2022-01-17T06:15:09.418Z] 862e74b1008e: Preparing [2022-01-17T06:15:09.418Z] 80decb9b2860: Preparing [2022-01-17T06:15:09.418Z] 62170e181a92: Preparing [2022-01-17T06:15:09.418Z] 62170e181a92: Waiting [2022-01-17T06:15:09.418Z] 47fd270dd0b2: Layer already exists [2022-01-17T06:15:09.418Z] 34484cfd727a: Layer already exists [2022-01-17T06:15:09.418Z] 80decb9b2860: Layer already exists [2022-01-17T06:15:09.418Z] 26eb0fc89cfb: Layer already exists [2022-01-17T06:15:09.418Z] 862e74b1008e: Layer already exists [2022-01-17T06:15:09.418Z] 62170e181a92: Layer already exists [2022-01-17T06:15:09.693Z] latest: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:10.045Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:10.383Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 [2022-01-17T06:15:10.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-17T06:15:10.384Z] 34484cfd727a: Preparing [2022-01-17T06:15:10.384Z] 47fd270dd0b2: Preparing [2022-01-17T06:15:10.384Z] 26eb0fc89cfb: Preparing [2022-01-17T06:15:10.384Z] 862e74b1008e: Preparing [2022-01-17T06:15:10.384Z] 80decb9b2860: Preparing [2022-01-17T06:15:10.384Z] 62170e181a92: Preparing [2022-01-17T06:15:10.384Z] 62170e181a92: Waiting [2022-01-17T06:15:10.384Z] 34484cfd727a: Layer already exists [2022-01-17T06:15:10.384Z] 47fd270dd0b2: Layer already exists [2022-01-17T06:15:10.384Z] 862e74b1008e: Layer already exists [2022-01-17T06:15:10.384Z] 80decb9b2860: Layer already exists [2022-01-17T06:15:10.384Z] 26eb0fc89cfb: Layer already exists [2022-01-17T06:15:10.657Z] 62170e181a92: Layer already exists [2022-01-17T06:15:10.657Z] 2.2.0-dev.3: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:11.010Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:11.362Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:15:11.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-17T06:15:11.362Z] 34484cfd727a: Preparing [2022-01-17T06:15:11.362Z] 47fd270dd0b2: Preparing [2022-01-17T06:15:11.362Z] 26eb0fc89cfb: Preparing [2022-01-17T06:15:11.362Z] 862e74b1008e: Preparing [2022-01-17T06:15:11.362Z] 80decb9b2860: Preparing [2022-01-17T06:15:11.362Z] 62170e181a92: Preparing [2022-01-17T06:15:11.362Z] 62170e181a92: Waiting [2022-01-17T06:15:11.362Z] 26eb0fc89cfb: Layer already exists [2022-01-17T06:15:11.362Z] 862e74b1008e: Layer already exists [2022-01-17T06:15:11.362Z] 34484cfd727a: Layer already exists [2022-01-17T06:15:11.362Z] 80decb9b2860: Layer already exists [2022-01-17T06:15:11.362Z] 47fd270dd0b2: Layer already exists [2022-01-17T06:15:11.362Z] 62170e181a92: Layer already exists [2022-01-17T06:15:11.635Z] ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:11.985Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:12.330Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-01-17T06:15:12.330Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-17T06:15:12.330Z] 34484cfd727a: Preparing [2022-01-17T06:15:12.330Z] 47fd270dd0b2: Preparing [2022-01-17T06:15:12.330Z] 26eb0fc89cfb: Preparing [2022-01-17T06:15:12.330Z] 862e74b1008e: Preparing [2022-01-17T06:15:12.330Z] 80decb9b2860: Preparing [2022-01-17T06:15:12.330Z] 62170e181a92: Preparing [2022-01-17T06:15:12.330Z] 62170e181a92: Waiting [2022-01-17T06:15:12.330Z] 34484cfd727a: Layer already exists [2022-01-17T06:15:12.330Z] 26eb0fc89cfb: Layer already exists [2022-01-17T06:15:12.330Z] 80decb9b2860: Layer already exists [2022-01-17T06:15:12.330Z] 862e74b1008e: Layer already exists [2022-01-17T06:15:12.330Z] 47fd270dd0b2: Layer already exists [2022-01-17T06:15:12.330Z] 62170e181a92: Layer already exists [2022-01-17T06:15:12.602Z] main: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:15:12.651Z] ===================================================== [Pipeline] echo [2022-01-17T06:15:12.661Z] taggedImages: [2022-01-17T06:15:12.661Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 [2022-01-17T06:15:12.661Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-17T06:15:12.661Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 [2022-01-17T06:15:12.661Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [2022-01-17T06:15:12.661Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:13.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:15:13.026Z] [2022-01-17T06:15:13.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:13.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:15:13.375Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-17T06:15:13.375Z] 448f6bf000e3: Pulling fs layer [2022-01-17T06:15:13.375Z] f757da607395: Pulling fs layer [2022-01-17T06:15:13.375Z] 05883995daec: Pulling fs layer [2022-01-17T06:15:13.375Z] 8603b9c90790: Pulling fs layer [2022-01-17T06:15:13.375Z] 1560dd03e051: Pulling fs layer [2022-01-17T06:15:13.376Z] 27f5ce0e4adf: Pulling fs layer [2022-01-17T06:15:13.376Z] c2d8d7efcc4b: Pulling fs layer [2022-01-17T06:15:13.376Z] 1560dd03e051: Waiting [2022-01-17T06:15:13.376Z] 27f5ce0e4adf: Waiting [2022-01-17T06:15:13.376Z] c2d8d7efcc4b: Waiting [2022-01-17T06:15:13.376Z] 8603b9c90790: Waiting [2022-01-17T06:15:13.648Z] f757da607395: Download complete [2022-01-17T06:15:13.648Z] 8603b9c90790: Verifying Checksum [2022-01-17T06:15:13.648Z] 8603b9c90790: Download complete [2022-01-17T06:15:13.648Z] 1560dd03e051: Verifying Checksum [2022-01-17T06:15:13.648Z] 1560dd03e051: Download complete [2022-01-17T06:15:13.648Z] 27f5ce0e4adf: Verifying Checksum [2022-01-17T06:15:13.648Z] 27f5ce0e4adf: Download complete [2022-01-17T06:15:13.923Z] 05883995daec: Verifying Checksum [2022-01-17T06:15:13.923Z] 05883995daec: Download complete [2022-01-17T06:15:14.197Z] 448f6bf000e3: Verifying Checksum [2022-01-17T06:15:14.197Z] 448f6bf000e3: Download complete [2022-01-17T06:15:16.821Z] c2d8d7efcc4b: Verifying Checksum [2022-01-17T06:15:16.821Z] c2d8d7efcc4b: Download complete [2022-01-17T06:15:17.799Z] 448f6bf000e3: Pull complete [2022-01-17T06:15:18.393Z] f757da607395: Pull complete [2022-01-17T06:15:19.836Z] 05883995daec: Pull complete [2022-01-17T06:15:20.113Z] 8603b9c90790: Pull complete [2022-01-17T06:15:21.108Z] 1560dd03e051: Pull complete [2022-01-17T06:15:21.382Z] 27f5ce0e4adf: Pull complete [2022-01-17T06:15:36.468Z] c2d8d7efcc4b: Pull complete [2022-01-17T06:15:36.468Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-17T06:15:36.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:15:36.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-17T06:15:36.709Z] prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container [2022-01-17T06:15:36.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-17T06:15:39.601Z] $ docker top 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:15:40.528Z] ---> job-cost.sh [2022-01-17T06:15:40.528Z] lf-activate-venv: SKIPPING [2022-01-17T06:15:40.528Z] INFO: No Stack... [2022-01-17T06:15:40.801Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-17T06:15:41.074Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T06:15:41.737Z] + cut -d, -f6 [2022-01-17T06:15:41.737Z] + cat /w/workspace/device-modbus-go/20/archives/cost.csv [Pipeline] lock [2022-01-17T06:15:41.804Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [2022-01-17T06:15:41.813Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] did not exist. Created. [2022-01-17T06:15:41.813Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T06:15:42.480Z] /w/workspace/device-modbus-go/20@tmp/durable-28c61684/script.sh: 1: /w/workspace/device-modbus-go/20@tmp/durable-28c61684/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-17T06:15:43.151Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-17T06:15:43.171Z] Warning: overwriting stash ‘stack-cost’ [2022-01-17T06:15:43.217Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T06:15:43.227Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T06:15:43.241Z] $ docker stop --time=1 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 [2022-01-17T06:15:44.774Z] $ docker rm -f 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-17T06:15:45.311Z] provisioning config files... [2022-01-17T06:15:45.322Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5964834368183194369tmp [Pipeline] { [Pipeline] sh [2022-01-17T06:15:45.630Z] + set +x [2022-01-17T06:15:45.630Z] + curl -s https://codecov.io/bash [2022-01-17T06:15:45.630Z] + bash -s -- [2022-01-17T06:15:45.630Z] [2022-01-17T06:15:45.630Z] _____ _ [2022-01-17T06:15:45.630Z] / ____| | | [2022-01-17T06:15:45.630Z] | | ___ __| | ___ ___ _____ __ [2022-01-17T06:15:45.630Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-17T06:15:45.630Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-17T06:15:45.630Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-17T06:15:45.630Z] Bash-1.0.6 [2022-01-17T06:15:45.630Z] [2022-01-17T06:15:45.630Z] [2022-01-17T06:15:45.630Z] ==> git version 2.24.4 found [2022-01-17T06:15:45.630Z] ==> 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 [2022-01-17T06:15:45.630Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-17T06:15:45.630Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-17T06:15:45.630Z] ==> Jenkins CI detected. [2022-01-17T06:15:45.630Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:15:45.630Z] project root: . [2022-01-17T06:15:45.630Z] --> token set from env [2022-01-17T06:15:45.630Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-17T06:15:45.892Z] ==> Running gcov in . (disable via -X gcov) [2022-01-17T06:15:45.892Z] ==> Python coveragepy not found [2022-01-17T06:15:45.892Z] ==> Searching for coverage reports in: [2022-01-17T06:15:45.892Z] + . [2022-01-17T06:15:45.892Z] -> Found 1 reports [2022-01-17T06:15:45.892Z] ==> Detecting git/mercurial file structure [2022-01-17T06:15:45.892Z] ==> Reading reports [2022-01-17T06:15:45.892Z] + ./coverage.out bytes=23727 [2022-01-17T06:15:45.892Z] ==> Appending adjustments [2022-01-17T06:15:45.892Z] https://docs.codecov.io/docs/fixing-reports [2022-01-17T06:15:45.892Z] + Found adjustments [2022-01-17T06:15:45.892Z] ==> Gzipping contents [2022-01-17T06:15:45.892Z] 4.0K /tmp/codecov.DzUpvo.gz [2022-01-17T06:15:45.892Z] ==> Uploading reports [2022-01-17T06:15:45.892Z] url: https://codecov.io [2022-01-17T06:15:45.892Z] query: branch=main&commit=ec5780f49cc8d227830b26f24a2b43a0b649d736&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T06:15:45.892Z] -> Pinging Codecov [2022-01-17T06:15:45.893Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=ec5780f49cc8d227830b26f24a2b43a0b649d736&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T06:15:46.464Z] -> Uploading to [2022-01-17T06:15:46.464Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-17/55DBCA73C666E3227836607328DD7E49/ec5780f49cc8d227830b26f24a2b43a0b649d736/bc8ec7ef-ed9e-40e1-b1d5-4bb4c38dfc26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T061546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2563f240f70bce445204ba1625bdb6ec475fb01bbd89f6ff27c585d05ac0578 [2022-01-17T06:15:46.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T06:15:46.464Z] Dload Upload Total Spent Left Speed [2022-01-17T06:15:46.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3991 0 0 100 3991 0 11381 --:--:-- --:--:-- --:--:-- 11402 [2022-01-17T06:15:46.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] } [2022-01-17T06:15:46.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-17T06:15:47.006Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-17T06:15:47.025Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:47.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:15:47.329Z] [2022-01-17T06:15:47.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:15:47.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:15:47.632Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-17T06:15:47.632Z] 188c0c94c7c5: Pulling fs layer [2022-01-17T06:15:47.632Z] 0ef7d3d256c8: Pulling fs layer [2022-01-17T06:15:47.632Z] de9db76c5a1d: Pulling fs layer [2022-01-17T06:15:47.632Z] 0eba1c9be4d2: Pulling fs layer [2022-01-17T06:15:47.632Z] 0d57e429df01: Pulling fs layer [2022-01-17T06:15:47.632Z] 4e4be7b47b0d: Pulling fs layer [2022-01-17T06:15:47.632Z] e1f770b5df2f: Pulling fs layer [2022-01-17T06:15:47.632Z] 85a0685a4137: Pulling fs layer [2022-01-17T06:15:47.632Z] 0eba1c9be4d2: Waiting [2022-01-17T06:15:47.632Z] 0d57e429df01: Waiting [2022-01-17T06:15:47.632Z] 4e4be7b47b0d: Waiting [2022-01-17T06:15:47.632Z] e1f770b5df2f: Waiting [2022-01-17T06:15:47.632Z] 85a0685a4137: Waiting [2022-01-17T06:15:47.632Z] de9db76c5a1d: Verifying Checksum [2022-01-17T06:15:47.632Z] de9db76c5a1d: Download complete [2022-01-17T06:15:47.632Z] 0ef7d3d256c8: Verifying Checksum [2022-01-17T06:15:47.632Z] 0ef7d3d256c8: Download complete [2022-01-17T06:15:47.633Z] 0d57e429df01: Verifying Checksum [2022-01-17T06:15:47.633Z] 0d57e429df01: Download complete [2022-01-17T06:15:47.633Z] 4e4be7b47b0d: Verifying Checksum [2022-01-17T06:15:47.633Z] 4e4be7b47b0d: Download complete [2022-01-17T06:15:47.633Z] 188c0c94c7c5: Verifying Checksum [2022-01-17T06:15:47.633Z] 188c0c94c7c5: Download complete [2022-01-17T06:15:47.903Z] e1f770b5df2f: Verifying Checksum [2022-01-17T06:15:47.903Z] e1f770b5df2f: Download complete [2022-01-17T06:15:48.181Z] 0eba1c9be4d2: Verifying Checksum [2022-01-17T06:15:48.181Z] 0eba1c9be4d2: Download complete [2022-01-17T06:15:48.181Z] 188c0c94c7c5: Pull complete [2022-01-17T06:15:48.441Z] 0ef7d3d256c8: Pull complete [2022-01-17T06:15:48.441Z] 85a0685a4137: Verifying Checksum [2022-01-17T06:15:48.441Z] 85a0685a4137: Download complete [2022-01-17T06:15:48.441Z] de9db76c5a1d: Pull complete [2022-01-17T06:15:52.695Z] 0eba1c9be4d2: Pull complete [2022-01-17T06:15:52.696Z] 0d57e429df01: Pull complete [2022-01-17T06:15:52.696Z] 4e4be7b47b0d: Pull complete [2022-01-17T06:15:52.696Z] e1f770b5df2f: Pull complete [2022-01-17T06:15:56.031Z] 85a0685a4137: Pull complete [2022-01-17T06:15:56.031Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-17T06:15:56.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:15:56.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-17T06:15:56.097Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:15:56.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-17T06:15:58.281Z] $ docker top 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-17T06:15:58.361Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-17T06:15:58.652Z] + set -o pipefail [2022-01-17T06:15:58.652Z] + snyk monitor '--org=edgex-jenkins' [2022-01-17T06:16:05.242Z] [2022-01-17T06:16:05.242Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-01-17T06:16:05.242Z] [2022-01-17T06:16:05.242Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/01b98780-f587-4dba-a26f-4a1d3affc58b [2022-01-17T06:16:05.242Z] [2022-01-17T06:16:05.242Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-01-17T06:16:05.242Z] [2022-01-17T06:16:05.242Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-17T06:16:05.242Z] [2022-01-17T06:16:05.242Z] [Pipeline] } [2022-01-17T06:16:05.256Z] $ docker stop --time=1 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 [2022-01-17T06:16:07.253Z] $ docker rm -f 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 [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 [2022-01-17T06:16:07.959Z] + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] sh [2022-01-17T06:16:08.254Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:16:08.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:08.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:16:08.553Z] . [Pipeline] withDockerContainer [2022-01-17T06:16:08.615Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:16:08.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:16:09.004Z] $ docker top e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:16:09.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:16:09.110Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:16:09.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:16:09.216Z] $ docker exec e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 ssh-agent [2022-01-17T06:16:09.310Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlfpaAh/agent.14 [2022-01-17T06:16:09.310Z] SSH_AGENT_PID=20 [2022-01-17T06:16:09.316Z] Running ssh-add (command line suppressed) [2022-01-17T06:16:09.405Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_734224827250270050.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_734224827250270050.key) [2022-01-17T06:16:09.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:16:09.709Z] + git semver tag [2022-01-17T06:16:09.709Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:16:09.709Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-17T06:16:09.709Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:16:09.709Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:16:09.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:16:09.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:16:09.709Z] # $SEMVER_BRANCH = main [2022-01-17T06:16:09.709Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-17T06:16:09.709Z] # ec5780f49cc8d227830b26f24a2b43a0b649d736 HEAD [2022-01-17T06:16:09.709Z] # -> Force: false [2022-01-17T06:16:09.709Z] # a4921505bcec55636fa3eb1d825a065d6bc93ee0 refs/tags/v2.2.0-dev.3 [Pipeline] } [2022-01-17T06:16:09.720Z] $ docker exec --env ******** --env ******** e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 ssh-agent -k [2022-01-17T06:16:09.812Z] unset SSH_AUTH_SOCK; [2022-01-17T06:16:09.813Z] unset SSH_AGENT_PID; [2022-01-17T06:16:09.813Z] echo Agent pid 20 killed; [2022-01-17T06:16:09.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:16:10.134Z] + git semver [Pipeline] } [2022-01-17T06:16:10.150Z] $ docker stop --time=1 e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 [2022-01-17T06:16:11.321Z] $ docker rm -f e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:11.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:16:11.703Z] [2022-01-17T06:16:11.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:12.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:16:12.012Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-17T06:16:12.012Z] ab5ef0e58194: Pulling fs layer [2022-01-17T06:16:12.012Z] 9712f1f96733: Pulling fs layer [2022-01-17T06:16:12.012Z] 63f879dbbcfc: Pulling fs layer [2022-01-17T06:16:12.012Z] 0d9ebad4ef96: Pulling fs layer [2022-01-17T06:16:12.012Z] e9a5061849ea: Pulling fs layer [2022-01-17T06:16:12.012Z] d747dcd14b5f: Pulling fs layer [2022-01-17T06:16:12.012Z] 2de7ff778b66: Pulling fs layer [2022-01-17T06:16:12.012Z] e9a5061849ea: Waiting [2022-01-17T06:16:12.012Z] d747dcd14b5f: Waiting [2022-01-17T06:16:12.012Z] 2de7ff778b66: Waiting [2022-01-17T06:16:12.012Z] 0d9ebad4ef96: Waiting [2022-01-17T06:16:12.012Z] 9712f1f96733: Verifying Checksum [2022-01-17T06:16:12.012Z] 9712f1f96733: Download complete [2022-01-17T06:16:12.281Z] 63f879dbbcfc: Verifying Checksum [2022-01-17T06:16:12.281Z] 63f879dbbcfc: Download complete [2022-01-17T06:16:12.545Z] ab5ef0e58194: Verifying Checksum [2022-01-17T06:16:12.545Z] ab5ef0e58194: Download complete [2022-01-17T06:16:12.545Z] 0d9ebad4ef96: Verifying Checksum [2022-01-17T06:16:12.545Z] 0d9ebad4ef96: Download complete [2022-01-17T06:16:12.545Z] d747dcd14b5f: Verifying Checksum [2022-01-17T06:16:12.545Z] d747dcd14b5f: Download complete [2022-01-17T06:16:12.545Z] e9a5061849ea: Verifying Checksum [2022-01-17T06:16:12.545Z] e9a5061849ea: Download complete [2022-01-17T06:16:12.819Z] 2de7ff778b66: Verifying Checksum [2022-01-17T06:16:12.819Z] 2de7ff778b66: Download complete [2022-01-17T06:16:15.406Z] ab5ef0e58194: Pull complete [2022-01-17T06:16:15.406Z] 9712f1f96733: Pull complete [2022-01-17T06:16:16.344Z] 63f879dbbcfc: Pull complete [2022-01-17T06:16:20.583Z] 0d9ebad4ef96: Pull complete [2022-01-17T06:16:20.583Z] e9a5061849ea: Pull complete [2022-01-17T06:16:20.583Z] d747dcd14b5f: Pull complete [2022-01-17T06:16:21.973Z] 2de7ff778b66: Pull complete [2022-01-17T06:16:21.973Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-17T06:16:21.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:16:21.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-17T06:16:22.036Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:16:22.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-17T06:16:25.765Z] $ docker top 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:16:25.848Z] provisioning config files... [2022-01-17T06:16:25.855Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4613371107313230900tmp [2022-01-17T06:16:25.867Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6844096728167985531tmp [2022-01-17T06:16:25.876Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3067089927600362160tmp [Pipeline] { [Pipeline] echo [2022-01-17T06:16:25.890Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:26.182Z] ---> sigul-configuration.sh [2022-01-17T06:16:26.182Z] gpg: directory `/root/.gnupg' created [2022-01-17T06:16:26.182Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-17T06:16:26.182Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-17T06:16:26.182Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-17T06:16:26.182Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-17T06:16:26.182Z] gpg: CAST5 encrypted data [2022-01-17T06:16:26.182Z] gpg: encrypted with 1 passphrase [2022-01-17T06:16:26.182Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-17T06:16:26.472Z] + mkdir /home/jenkins [2022-01-17T06:16:26.472Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-17T06:16:26.766Z] + 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 [2022-01-17T06:16:26.775Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:27.073Z] ---> sigul-install.sh [2022-01-17T06:16:27.073Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-17T06:16:27.361Z] + git tag --list [2022-01-17T06:16:27.362Z] 0.7.1 [2022-01-17T06:16:27.362Z] v1.0.0 [2022-01-17T06:16:27.362Z] v1.1.0 [2022-01-17T06:16:27.362Z] v1.1.1 [2022-01-17T06:16:27.362Z] v1.2.2 [2022-01-17T06:16:27.362Z] v1.3.0 [2022-01-17T06:16:27.362Z] v1.3.1 [2022-01-17T06:16:27.362Z] v2.0.0 [2022-01-17T06:16:27.362Z] v2.0.1-dev.1 [2022-01-17T06:16:27.362Z] v2.0.1-dev.10 [2022-01-17T06:16:27.362Z] v2.0.1-dev.11 [2022-01-17T06:16:27.362Z] v2.0.1-dev.12 [2022-01-17T06:16:27.362Z] v2.0.1-dev.2 [2022-01-17T06:16:27.362Z] v2.0.1-dev.3 [2022-01-17T06:16:27.362Z] v2.0.1-dev.4 [2022-01-17T06:16:27.362Z] v2.0.1-dev.5 [2022-01-17T06:16:27.362Z] v2.0.1-dev.6 [2022-01-17T06:16:27.362Z] v2.0.1-dev.7 [2022-01-17T06:16:27.362Z] v2.0.1-dev.8 [2022-01-17T06:16:27.362Z] v2.0.1-dev.9 [2022-01-17T06:16:27.362Z] v2.1.0 [2022-01-17T06:16:27.362Z] v2.2.0-dev.1 [2022-01-17T06:16:27.362Z] v2.2.0-dev.2 [2022-01-17T06:16:27.362Z] v2.2.0-dev.3 [Pipeline] sh [2022-01-17T06:16:27.663Z] + lftools sign git-tag v2.2.0-dev.3 [2022-01-17T06:16:28.236Z] Signing Git tag with Sigul... [2022-01-17T06:16:28.236Z] Signing v2.2.0-dev.3 [Pipeline] echo [2022-01-17T06:16:28.506Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:28.799Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-17T06:16:28.808Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-17T06:16:28.841Z] $ docker stop --time=1 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 [2022-01-17T06:16:30.058Z] $ docker rm -f 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-17T06:16:30.478Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:16:30.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:30.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:16:30.777Z] . [Pipeline] withDockerContainer [2022-01-17T06:16:30.836Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:16:30.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:16:31.187Z] $ docker top 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:16:31.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:16:31.274Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:16:31.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:16:31.374Z] $ docker exec 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 ssh-agent [2022-01-17T06:16:31.462Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKEEOoA/agent.14 [2022-01-17T06:16:31.462Z] SSH_AGENT_PID=20 [2022-01-17T06:16:31.467Z] Running ssh-add (command line suppressed) [2022-01-17T06:16:31.558Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7687455043771800562.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7687455043771800562.key) [2022-01-17T06:16:31.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:16:31.855Z] + git semver bump pre [2022-01-17T06:16:31.856Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:16:31.856Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-17T06:16:31.856Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:16:31.856Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:16:31.856Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:16:31.856Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:16:31.856Z] # $SEMVER_BRANCH = main [2022-01-17T06:16:31.856Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-17T06:16:31.856Z] 2.2.0-dev.4 [Pipeline] } [2022-01-17T06:16:31.868Z] $ docker exec --env ******** --env ******** 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 ssh-agent -k [2022-01-17T06:16:31.941Z] unset SSH_AUTH_SOCK; [2022-01-17T06:16:31.941Z] unset SSH_AGENT_PID; [2022-01-17T06:16:31.941Z] echo Agent pid 20 killed; [2022-01-17T06:16:31.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:16:32.264Z] + git semver [Pipeline] } [2022-01-17T06:16:32.282Z] $ docker stop --time=1 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 [2022-01-17T06:16:33.464Z] $ docker rm -f 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:16:33.813Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:16:33.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:34.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:16:34.106Z] . [Pipeline] withDockerContainer [2022-01-17T06:16:34.168Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:16:34.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:16:34.546Z] $ docker top 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:16:34.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:16:34.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:16:34.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:16:34.736Z] $ docker exec 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 ssh-agent [2022-01-17T06:16:34.833Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnCPheG/agent.14 [2022-01-17T06:16:34.833Z] SSH_AGENT_PID=21 [2022-01-17T06:16:34.838Z] Running ssh-add (command line suppressed) [2022-01-17T06:16:34.932Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2514242537053642857.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2514242537053642857.key) [2022-01-17T06:16:34.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:16:35.234Z] + git semver push [2022-01-17T06:16:35.234Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:16:35.234Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-17T06:16:35.234Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:16:35.234Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:16:35.234Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:16:35.234Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:16:35.234Z] # $SEMVER_BRANCH = main [2022-01-17T06:16:35.234Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-17T06:16:37.161Z] $ docker exec --env ******** --env ******** 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 ssh-agent -k [2022-01-17T06:16:37.262Z] unset SSH_AUTH_SOCK; [2022-01-17T06:16:37.262Z] unset SSH_AGENT_PID; [2022-01-17T06:16:37.262Z] echo Agent pid 21 killed; [2022-01-17T06:16:37.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:16:37.688Z] + git semver [Pipeline] } [2022-01-17T06:16:37.726Z] $ docker stop --time=1 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 [2022-01-17T06:16:38.916Z] $ docker rm -f 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-17T06:16:39.521Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [2022-01-17T06:16:39.522Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-17T06:16:39.522Z] total 8 [2022-01-17T06:16:39.522Z] drwxr-xr-x. 3 root root 34 Jan 17 06:10 . [2022-01-17T06:16:39.522Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 06:16 .. [2022-01-17T06:16:39.522Z] drwxr-xr-x. 2 root root 6 Jan 17 06:10 cost [2022-01-17T06:16:39.522Z] -rw-r--r--. 1 root root 86 Jan 17 06:10 cost.csv [2022-01-17T06:16:39.522Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-17T06:16:39.522Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-17T06:16:39.522Z] total 8 [2022-01-17T06:16:39.522Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 06:10 . [2022-01-17T06:16:39.522Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 06:16 .. [2022-01-17T06:16:39.522Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 06:10 cost [2022-01-17T06:16:39.522Z] -rw-r--r--. 1 jenkins jenkins 86 Jan 17 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:39.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:40.386Z] ---> package-listing.sh [2022-01-17T06:16:40.386Z] ++ facter osfamily [2022-01-17T06:16:40.386Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-17T06:16:40.647Z] + OS_FAMILY=redhat [2022-01-17T06:16:40.647Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-01-17T06:16:40.647Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-17T06:16:40.647Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-17T06:16:40.647Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-17T06:16:40.647Z] + PACKAGES=/tmp/packages_start.txt [2022-01-17T06:16:40.647Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-17T06:16:40.647Z] + PACKAGES=/tmp/packages_end.txt [2022-01-17T06:16:40.647Z] + case "${OS_FAMILY}" in [2022-01-17T06:16:40.647Z] + sort [2022-01-17T06:16:40.647Z] + rpm -qa [2022-01-17T06:16:41.218Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-17T06:16:41.218Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-17T06:16:41.218Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-17T06:16:41.218Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-17T06:16:41.218Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-01-17T06:16:41.218Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-01-17T06:16:41.230Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-17T06:16:41.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:42.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:16:42.074Z] . [Pipeline] withDockerContainer [2022-01-17T06:16:42.134Z] prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container [2022-01-17T06:16:42.167Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-17T06:16:42.359Z] $ docker top 8565067637f3b2e5ea9e294a245e0b140177c94e8dc191c4afd5a818a72a25cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:16:42.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-17T06:16:43.002Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-17T06:16:43.293Z] + ls /var/log/sa-host [2022-01-17T06:16:43.293Z] + sadf -c /var/log/sa-host/sa17 [2022-01-17T06:16:43.293Z] file_magic: OK [2022-01-17T06:16:43.293Z] HZ: Using current value: 100 [2022-01-17T06:16:43.293Z] file_header: OK [2022-01-17T06:16:43.293Z] 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 [2022-01-17T06:16:43.293Z] Statistics: [2022-01-17T06:16:43.293Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-17T06:16:43.293Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:16:43.545Z] provisioning config files... [2022-01-17T06:16:43.556Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5155832891042976075tmp [Pipeline] { [Pipeline] echo [2022-01-17T06:16:43.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:43.860Z] ---> create-netrc.sh [Pipeline] } [2022-01-17T06:16:43.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:44.203Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-17T06:16:44.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:44.498Z] ---> sudo-logs.sh [2022-01-17T06:16:44.498Z] Archiving 'sudo' log.. [2022-01-17T06:16:44.498Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1657.novalocal: Name or service not known [2022-01-17T06:16:44.498Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1657.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-17T06:16:44.524Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:44.818Z] ---> job-cost.sh [2022-01-17T06:16:44.819Z] lf-activate-venv: SKIPPING [2022-01-17T06:16:44.819Z] DEBUG: total: 0.05999999865889549 [2022-01-17T06:16:44.819Z] INFO: Retrieving Stack Cost... [2022-01-17T06:16:45.078Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T06:16:45.649Z] INFO: Archiving Costs [Pipeline] echo [2022-01-17T06:16:45.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:16:45.952Z] ---> logs-deploy.sh [2022-01-17T06:16:45.953Z] lf-activate-venv: SKIPPING [2022-01-17T06:16:45.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/20 [2022-01-17T06:16:45.953Z] INFO: archiving workspace using pattern(s): [2022-01-17T06:16:46.524Z] Archives upload complete. [2022-01-17T06:16:46.783Z] INFO: archiving logs to Nexus