Pull request #245 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 0417c27bc42751275eca1d2e2d2fb8432ab2a3da+0f1f12442b5a26a09c65592d000175cd200ff215 (a721ad2730731aae720307b733844ca380af09dc) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh500489035185863744.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6992200369543738659.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 9d0281235b943b7ad605f650702698f9078b2862 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/PR-245/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3174212182788694222.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh812098210894599480.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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/PR-245/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7647807975398048590.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6409 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh1173114747939442399.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh5366018319809869669.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 0417c27bc42751275eca1d2e2d2fb8432ab2a3da Merge succeeded, producing 0417c27bc42751275eca1d2e2d2fb8432ab2a3da Checking out Revision 0417c27bc42751275eca1d2e2d2fb8432ab2a3da (PR-245) > git config core.sparsecheckout # timeout=10 > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh6637613282088918565.key > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 Commit message: "refactor: Added go mod tidy to Docker and Makefile" > git rev-list --no-walk be50c87ee3780249b9e06d1c58151055c6ed1577 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T16:53:30.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T16:53:30.629Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T16:53:30.656Z] ========================================================= [2021-05-18T16:53:30.656Z] EdgeX Global Pipelines Version Info [2021-05-18T16:53:30.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:53:32.099Z] ------------------- [2021-05-18T16:53:32.099Z] stable info: [2021-05-18T16:53:32.099Z] ------------------- [2021-05-18T16:53:32.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T16:53:32.099Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T16:53:32.099Z] Message: update stable to v1.0.192 [2021-05-18T16:53:32.675Z] ------------------- [2021-05-18T16:53:32.675Z] experimental info: [2021-05-18T16:53:32.675Z] ------------------- [2021-05-18T16:53:32.675Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T16:53:32.675Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T16:53:32.675Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T16:53:32.803Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-18T16:53:32.826Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-18T16:53:32.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T16:53:32.872Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T16:53:32.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T16:53:32.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T16:53:32.946Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T16:53:32.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T16:53:32.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T16:53:33.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T16:53:33.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T16:53:33.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-18T16:53:33.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T16:53:33.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T16:53:33.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T16:53:33.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T16:53:33.205Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T16:53:33.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T16:53:33.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T16:53:33.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-18T16:53:33.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T16:53:33.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T16:53:33.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T16:53:33.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T16:53:33.405Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T16:53:33.430Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T16:53:33.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo [2021-05-18T16:53:33.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo [2021-05-18T16:53:33.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo [2021-05-18T16:53:33.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [Pipeline] echo [2021-05-18T16:53:33.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0417c27 [Pipeline] echo [2021-05-18T16:53:33.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T16:53:33.717Z] provisioning config files... [2021-05-18T16:53:33.763Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/config3071012517574112062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:53:34.085Z] ---> docker-login.sh [2021-05-18T16:53:34.085Z] nexus3.edgexfoundry.org:10001 [2021-05-18T16:53:34.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:53:34.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:53:34.348Z] Configure a credential helper to remove this warning. See [2021-05-18T16:53:34.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:53:34.348Z] [2021-05-18T16:53:34.348Z] Login Succeeded [2021-05-18T16:53:34.348Z] nexus3.edgexfoundry.org:10002 [2021-05-18T16:53:34.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:53:34.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:53:34.348Z] Configure a credential helper to remove this warning. See [2021-05-18T16:53:34.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:53:34.348Z] [2021-05-18T16:53:34.348Z] Login Succeeded [2021-05-18T16:53:34.348Z] nexus3.edgexfoundry.org:10003 [2021-05-18T16:53:34.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:53:34.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:53:34.611Z] Configure a credential helper to remove this warning. See [2021-05-18T16:53:34.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:53:34.611Z] [2021-05-18T16:53:34.611Z] Login Succeeded [2021-05-18T16:53:34.611Z] nexus3.edgexfoundry.org:10004 [2021-05-18T16:53:34.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:53:34.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:53:34.611Z] Configure a credential helper to remove this warning. See [2021-05-18T16:53:34.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:53:34.611Z] [2021-05-18T16:53:34.611Z] Login Succeeded [2021-05-18T16:53:34.611Z] docker.io [2021-05-18T16:53:34.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:53:34.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:53:34.880Z] Configure a credential helper to remove this warning. See [2021-05-18T16:53:34.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:53:34.880Z] [2021-05-18T16:53:34.880Z] Login Succeeded [2021-05-18T16:53:34.889Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T16:53:34.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T16:53:35.411Z] + git log --format=format:%s -1 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [Pipeline] echo [2021-05-18T16:53:35.445Z] GIT_COMMIT: 0417c27bc42751275eca1d2e2d2fb8432ab2a3da, Commit Message: refactor: Added go mod tidy to Docker and Makefile [Pipeline] echo [2021-05-18T16:53:35.460Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:53:36.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:53:36.824Z] [2021-05-18T16:53:36.824Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:53:37.150Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:53:37.150Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T16:53:37.150Z] 31603596830f: Pulling fs layer [2021-05-18T16:53:37.150Z] 54011a49482f: Pulling fs layer [2021-05-18T16:53:37.150Z] a6820b24f6d8: Pulling fs layer [2021-05-18T16:53:37.150Z] f581987b2513: Pulling fs layer [2021-05-18T16:53:37.150Z] f581987b2513: Waiting [2021-05-18T16:53:37.150Z] 54011a49482f: Download complete [2021-05-18T16:53:37.150Z] 31603596830f: Verifying Checksum [2021-05-18T16:53:37.150Z] 31603596830f: Download complete [2021-05-18T16:53:37.415Z] a6820b24f6d8: Verifying Checksum [2021-05-18T16:53:37.415Z] a6820b24f6d8: Download complete [2021-05-18T16:53:37.415Z] f581987b2513: Verifying Checksum [2021-05-18T16:53:37.415Z] f581987b2513: Download complete [2021-05-18T16:53:37.415Z] 31603596830f: Pull complete [2021-05-18T16:53:37.415Z] 54011a49482f: Pull complete [2021-05-18T16:53:37.999Z] a6820b24f6d8: Pull complete [2021-05-18T16:53:38.260Z] f581987b2513: Pull complete [2021-05-18T16:53:38.260Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T16:53:38.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:53:38.260Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T16:53:38.351Z] prd-centos7-docker-4c-2g-6409 does not seem to be running inside a container [2021-05-18T16:53:38.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-245 -v /w/workspace/xfoundry_device-modbus-go_PR-245:/w/workspace/xfoundry_device-modbus-go_PR-245:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-245@tmp:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T16:53:39.321Z] $ docker top e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T16:53:39.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T16:53:39.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T16:53:39.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T16:53:39.557Z] $ docker exec e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 ssh-agent [2021-05-18T16:53:39.670Z] SSH_AUTH_SOCK=/tmp/ssh-vgl86nzdXRDs/agent.14 [2021-05-18T16:53:39.670Z] SSH_AGENT_PID=21 [2021-05-18T16:53:39.676Z] Running ssh-add (command line suppressed) [2021-05-18T16:53:39.770Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_8472033924245338463.key (/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_8472033924245338463.key) [2021-05-18T16:53:39.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T16:53:40.099Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T16:53:40.114Z] $ docker exec --env ******** --env ******** e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 ssh-agent -k [2021-05-18T16:53:40.215Z] unset SSH_AUTH_SOCK; [2021-05-18T16:53:40.215Z] unset SSH_AGENT_PID; [2021-05-18T16:53:40.215Z] echo Agent pid 21 killed; [2021-05-18T16:53:40.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T16:53:40.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T16:53:40.268Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T16:53:40.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T16:53:40.390Z] $ docker exec e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 ssh-agent [2021-05-18T16:53:40.501Z] SSH_AUTH_SOCK=/tmp/ssh-PpHixycKEunl/agent.55 [2021-05-18T16:53:40.501Z] SSH_AGENT_PID=62 [2021-05-18T16:53:40.506Z] Running ssh-add (command line suppressed) [2021-05-18T16:53:40.605Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_1628206227164320522.key (/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_1628206227164320522.key) [2021-05-18T16:53:40.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T16:53:40.920Z] + git semver init [2021-05-18T16:53:40.920Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T16:53:40.920Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-245/.git [2021-05-18T16:53:40.920Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-245 [2021-05-18T16:53:40.920Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T16:53:40.920Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T16:53:40.920Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T16:53:40.920Z] # $SEMVER_BRANCH = PR-245 [2021-05-18T16:53:40.920Z] # $SEMVER_TEMP = /tmp/semver-657270437 [2021-05-18T16:53:40.920Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-18T16:53:41.183Z] # '/tmp/semver-657270437' -> '/w/workspace/xfoundry_device-modbus-go_PR-245/.semver' [2021-05-18T16:53:41.183Z] # -> Force: false [2021-05-18T16:53:41.183Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-245/.semver [Pipeline] } [2021-05-18T16:53:41.197Z] $ docker exec --env ******** --env ******** e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 ssh-agent -k [2021-05-18T16:53:41.296Z] unset SSH_AUTH_SOCK; [2021-05-18T16:53:41.297Z] unset SSH_AGENT_PID; [2021-05-18T16:53:41.297Z] echo Agent pid 62 killed; [2021-05-18T16:53:41.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T16:53:41.649Z] + git semver [Pipeline] } [2021-05-18T16:53:41.667Z] $ docker stop --time=1 e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 [2021-05-18T16:53:42.914Z] $ docker rm -f e8d0440bb66a508f6e8cfc0e29f79767a98b59f0a18546563a117c611558c607 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T16:53:43.294Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T16:53:43.561Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T16:53:43.566Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-18T16:53:58.839Z] Still waiting to schedule task [2021-05-18T16:53:58.839Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-18T16:53:58.843Z] Still waiting to schedule task [2021-05-18T16:53:58.843Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-18T16:56:16.972Z] Running on prd-centos7-docker-4c-2g-6548 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] ws [2021-05-18T16:56:16.994Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2021-05-18T16:56:17.102Z] Selected Git installation does not exist. Using Default [2021-05-18T16:56:17.102Z] The recommended git tool is: NONE [2021-05-18T16:56:19.877Z] using credential edgex-jenkins-ssh [2021-05-18T16:56:19.917Z] Cloning the remote Git repository [2021-05-18T16:56:19.947Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T16:56:20.014Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2021-05-18T16:56:20.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T16:56:20.038Z] > git --version # timeout=10 [2021-05-18T16:56:20.044Z] > git --version # 'git version 2.24.4' [2021-05-18T16:56:20.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:56:20.073Z] [INFO] Currently running in a labeled security context [2021-05-18T16:56:20.073Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:56:20.073Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/4@tmp/jenkins-gitclient-ssh5376314825069051677.key [2021-05-18T16:56:20.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T16:56:21.199Z] Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [2021-05-18T16:56:21.275Z] Merge succeeded, producing 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [2021-05-18T16:56:21.276Z] Checking out Revision 0417c27bc42751275eca1d2e2d2fb8432ab2a3da (PR-245) [2021-05-18T16:56:20.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T16:56:20.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T16:56:20.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T16:56:20.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T16:56:20.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:56:20.755Z] [INFO] Currently running in a labeled security context [2021-05-18T16:56:20.755Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:56:20.755Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/4@tmp/jenkins-gitclient-ssh5091536517299745640.key [2021-05-18T16:56:20.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T16:56:21.205Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T16:56:21.214Z] > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 [2021-05-18T16:56:21.239Z] > git remote # timeout=10 [2021-05-18T16:56:21.244Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T16:56:21.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:56:21.253Z] [INFO] Currently running in a labeled security context [2021-05-18T16:56:21.253Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:56:21.253Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/4@tmp/jenkins-gitclient-ssh3632121623434668520.key [2021-05-18T16:56:21.258Z] > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [2021-05-18T16:56:21.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T16:56:21.278Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T16:56:21.300Z] > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 [2021-05-18T16:56:24.859Z] Commit message: "refactor: Added go mod tidy to Docker and Makefile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T16:56:25.955Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T16:56:26.293Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T16:56:26.594Z] + sudo service docker restart [2021-05-18T16:56:26.594Z] + true [2021-05-18T16:56:26.594Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T16:56:44.781Z] provisioning config files... [2021-05-18T16:56:44.796Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5631643025527531808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:56:45.147Z] ---> docker-login.sh [2021-05-18T16:56:45.147Z] nexus3.edgexfoundry.org:10001 [2021-05-18T16:56:45.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:56:45.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:56:45.676Z] Configure a credential helper to remove this warning. See [2021-05-18T16:56:45.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:56:45.676Z] [2021-05-18T16:56:45.676Z] Login Succeeded [2021-05-18T16:56:45.676Z] nexus3.edgexfoundry.org:10002 [2021-05-18T16:56:45.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:56:45.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:56:45.676Z] Configure a credential helper to remove this warning. See [2021-05-18T16:56:45.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:56:45.676Z] [2021-05-18T16:56:45.676Z] Login Succeeded [2021-05-18T16:56:45.676Z] nexus3.edgexfoundry.org:10003 [2021-05-18T16:56:45.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:56:45.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:56:45.940Z] Configure a credential helper to remove this warning. See [2021-05-18T16:56:45.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:56:45.940Z] [2021-05-18T16:56:45.940Z] Login Succeeded [2021-05-18T16:56:45.940Z] nexus3.edgexfoundry.org:10004 [2021-05-18T16:56:45.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:56:45.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:56:45.940Z] Configure a credential helper to remove this warning. See [2021-05-18T16:56:45.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:56:45.940Z] [2021-05-18T16:56:45.940Z] Login Succeeded [2021-05-18T16:56:45.940Z] docker.io [2021-05-18T16:56:46.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:56:46.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:56:46.466Z] Configure a credential helper to remove this warning. See [2021-05-18T16:56:46.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:56:46.466Z] [2021-05-18T16:56:46.466Z] Login Succeeded [2021-05-18T16:56:46.466Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T16:56:46.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T16:56:46.649Z] ========================================================= [2021-05-18T16:56:46.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T16:56:46.649Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:56:46.970Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-18T16:56:46.970Z] Sending build context to Docker daemon 624.6kB [2021-05-18T16:56:46.970Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T16:56:46.970Z] Step 2/8 : FROM ${BASE} [2021-05-18T16:56:46.970Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T16:56:46.970Z] 540db60ca938: Pulling fs layer [2021-05-18T16:56:46.970Z] adcc1eea9eea: Pulling fs layer [2021-05-18T16:56:46.970Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T16:56:46.970Z] 0510c868ecb4: Pulling fs layer [2021-05-18T16:56:46.970Z] afea3b2eda06: Pulling fs layer [2021-05-18T16:56:46.970Z] 7809a108b3ef: Pulling fs layer [2021-05-18T16:56:46.970Z] f706445af74f: Pulling fs layer [2021-05-18T16:56:46.970Z] 0510c868ecb4: Waiting [2021-05-18T16:56:46.970Z] afea3b2eda06: Waiting [2021-05-18T16:56:46.970Z] 7809a108b3ef: Waiting [2021-05-18T16:56:46.970Z] f706445af74f: Waiting [2021-05-18T16:56:47.233Z] 4c4ab2625f07: Verifying Checksum [2021-05-18T16:56:47.233Z] 4c4ab2625f07: Download complete [2021-05-18T16:56:47.233Z] adcc1eea9eea: Verifying Checksum [2021-05-18T16:56:47.233Z] adcc1eea9eea: Download complete [2021-05-18T16:56:47.233Z] afea3b2eda06: Verifying Checksum [2021-05-18T16:56:47.233Z] afea3b2eda06: Download complete [2021-05-18T16:56:47.233Z] 540db60ca938: Verifying Checksum [2021-05-18T16:56:47.233Z] 540db60ca938: Download complete [2021-05-18T16:56:47.233Z] 7809a108b3ef: Verifying Checksum [2021-05-18T16:56:47.233Z] 7809a108b3ef: Download complete [2021-05-18T16:56:47.233Z] 540db60ca938: Pull complete [2021-05-18T16:56:47.498Z] adcc1eea9eea: Pull complete [2021-05-18T16:56:47.759Z] 4c4ab2625f07: Pull complete [2021-05-18T16:56:48.704Z] f706445af74f: Verifying Checksum [2021-05-18T16:56:48.704Z] f706445af74f: Download complete [2021-05-18T16:56:49.278Z] 0510c868ecb4: Verifying Checksum [2021-05-18T16:56:49.278Z] 0510c868ecb4: Download complete [2021-05-18T16:56:52.599Z] 0510c868ecb4: Pull complete [2021-05-18T16:56:52.599Z] afea3b2eda06: Pull complete [2021-05-18T16:56:52.599Z] 7809a108b3ef: Pull complete [2021-05-18T16:56:54.009Z] f706445af74f: Pull complete [2021-05-18T16:56:54.009Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T16:56:54.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T16:56:54.009Z] ---> b068be0155e3 [2021-05-18T16:56:54.009Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T16:56:59.320Z] ---> Running in 113b3fd5700b [2021-05-18T16:56:59.320Z] Removing intermediate container 113b3fd5700b [2021-05-18T16:56:59.320Z] ---> 2bca0b33afe1 [2021-05-18T16:56:59.320Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T16:56:59.320Z] ---> Running in df5de6248d4c [2021-05-18T16:56:59.896Z] Removing intermediate container df5de6248d4c [2021-05-18T16:56:59.896Z] ---> d5f680243b86 [2021-05-18T16:56:59.896Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T16:57:00.163Z] ---> Running in 617706b6ac53 [2021-05-18T16:57:00.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T16:57:01.369Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T16:57:01.631Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T16:57:01.631Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T16:57:01.893Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T16:57:01.893Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T16:57:01.893Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T16:57:02.154Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T16:57:02.154Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T16:57:02.415Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T16:57:02.675Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T16:57:02.675Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T16:57:03.247Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T16:57:03.247Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T16:57:03.507Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T16:57:03.507Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T16:57:03.507Z] OK: 156 MiB in 53 packages [2021-05-18T16:57:06.828Z] Removing intermediate container 617706b6ac53 [2021-05-18T16:57:06.828Z] ---> 5c2cc715547e [2021-05-18T16:57:06.828Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-18T16:57:06.828Z] ---> Running in a8c38cd85d36 [2021-05-18T16:57:08.214Z] Removing intermediate container a8c38cd85d36 [2021-05-18T16:57:08.214Z] ---> 5a866375b639 [2021-05-18T16:57:08.214Z] Step 7/8 : COPY . . [2021-05-18T16:57:10.128Z] ---> bfc37d37f877 [2021-05-18T16:57:10.128Z] Step 8/8 : RUN go mod download [2021-05-18T16:57:10.128Z] ---> Running in 1f8bf6f2dfc0 [2021-05-18T16:57:11.515Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-18T16:57:11.778Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:57:12.784Z] ---> job-cost.sh [2021-05-18T16:57:12.784Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Q7aa [2021-05-18T16:57:25.091Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T16:57:37.383Z] lf-activate-venv(): INFO: Adding /tmp/venv-Q7aa/bin to PATH [2021-05-18T16:57:37.383Z] INFO: No Stack... [2021-05-18T16:57:38.329Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T16:57:38.903Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T16:57:39.213Z] + cut -d, -f6 [2021-05-18T16:57:39.213Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [Pipeline] lock [2021-05-18T16:57:39.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [2021-05-18T16:57:39.268Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] did not exist. Created. [2021-05-18T16:57:39.268Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T16:57:39.602Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T16:57:39.886Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T16:57:39.898Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T16:57:40.249Z] Failed in branch amd64 [2021-05-18T19:12:41.589Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14817 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] ws [2021-05-18T19:12:41.610Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2021-05-18T19:12:41.841Z] Selected Git installation does not exist. Using Default [2021-05-18T19:12:41.841Z] The recommended git tool is: NONE [2021-05-18T19:12:48.063Z] using credential edgex-jenkins-ssh [2021-05-18T19:12:48.089Z] Cloning the remote Git repository [2021-05-18T19:12:48.167Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T19:12:48.298Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2021-05-18T19:12:48.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T19:12:48.407Z] > git --version # timeout=10 [2021-05-18T19:12:48.482Z] > git --version # 'git version 2.17.1' [2021-05-18T19:12:48.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:12:48.633Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T19:12:49.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T19:12:49.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T19:12:49.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-18T19:12:49.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-18T19:12:49.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:12:49.637Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T19:12:50.235Z] Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [2021-05-18T19:12:50.504Z] Merge succeeded, producing 0417c27bc42751275eca1d2e2d2fb8432ab2a3da [2021-05-18T19:12:50.505Z] Checking out Revision 0417c27bc42751275eca1d2e2d2fb8432ab2a3da (PR-245) [2021-05-18T19:12:50.268Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T19:12:50.293Z] > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 [2021-05-18T19:12:50.396Z] > git remote # timeout=10 [2021-05-18T19:12:50.425Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T19:12:50.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:12:50.456Z] > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [2021-05-18T19:12:50.486Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T19:12:50.524Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T19:12:50.539Z] > git checkout -f 0417c27bc42751275eca1d2e2d2fb8432ab2a3da # timeout=10 [2021-05-18T19:12:54.832Z] Commit message: "refactor: Added go mod tidy to Docker and Makefile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T19:12:56.296Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T19:12:56.813Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T19:12:57.166Z] + sudo service docker restart+ [2021-05-18T19:12:57.166Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T19:13:15.557Z] provisioning config files... [2021-05-18T19:13:15.588Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config8920484666541023521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:13:15.992Z] ---> docker-login.sh [2021-05-18T19:13:15.992Z] nexus3.edgexfoundry.org:10001 [2021-05-18T19:13:16.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:13:17.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:13:17.592Z] Configure a credential helper to remove this warning. See [2021-05-18T19:13:17.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:13:17.592Z] [2021-05-18T19:13:17.592Z] Login Succeeded [2021-05-18T19:13:17.592Z] nexus3.edgexfoundry.org:10002 [2021-05-18T19:13:17.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:13:18.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:13:18.145Z] Configure a credential helper to remove this warning. See [2021-05-18T19:13:18.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:13:18.145Z] [2021-05-18T19:13:18.145Z] Login Succeeded [2021-05-18T19:13:18.145Z] nexus3.edgexfoundry.org:10003 [2021-05-18T19:13:18.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:13:18.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:13:18.719Z] Configure a credential helper to remove this warning. See [2021-05-18T19:13:18.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:13:18.719Z] [2021-05-18T19:13:18.719Z] Login Succeeded [2021-05-18T19:13:18.719Z] nexus3.edgexfoundry.org:10004 [2021-05-18T19:13:19.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:13:19.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:13:19.320Z] Configure a credential helper to remove this warning. See [2021-05-18T19:13:19.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:13:19.320Z] [2021-05-18T19:13:19.320Z] Login Succeeded [2021-05-18T19:13:19.320Z] docker.io [2021-05-18T19:13:19.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:13:20.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:13:20.200Z] Configure a credential helper to remove this warning. See [2021-05-18T19:13:20.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:13:20.200Z] [2021-05-18T19:13:20.200Z] Login Succeeded [2021-05-18T19:13:20.200Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T19:13:20.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T19:13:20.561Z] ========================================================= [2021-05-18T19:13:20.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T19:13:20.561Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:13:20.911Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-18T19:13:21.514Z] Sending build context to Docker daemon 623.6kB [2021-05-18T19:13:21.514Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T19:13:21.514Z] Step 2/8 : FROM ${BASE} [2021-05-18T19:13:21.514Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T19:13:21.514Z] 595b0fe564bb: Pulling fs layer [2021-05-18T19:13:21.514Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T19:13:21.514Z] 316046926c0a: Pulling fs layer [2021-05-18T19:13:21.514Z] 4ebd0625c992: Pulling fs layer [2021-05-18T19:13:21.514Z] 207e8628e3a3: Pulling fs layer [2021-05-18T19:13:21.514Z] c791037a9be2: Pulling fs layer [2021-05-18T19:13:21.514Z] ffd874e62e21: Pulling fs layer [2021-05-18T19:13:21.514Z] 4ebd0625c992: Waiting [2021-05-18T19:13:21.514Z] 207e8628e3a3: Waiting [2021-05-18T19:13:21.514Z] c791037a9be2: Waiting [2021-05-18T19:13:21.514Z] ffd874e62e21: Waiting [2021-05-18T19:13:21.794Z] 316046926c0a: Verifying Checksum [2021-05-18T19:13:21.794Z] 316046926c0a: Download complete [2021-05-18T19:13:21.794Z] 7186ed65a4f7: Verifying Checksum [2021-05-18T19:13:21.794Z] 7186ed65a4f7: Download complete [2021-05-18T19:13:21.794Z] 207e8628e3a3: Verifying Checksum [2021-05-18T19:13:21.794Z] 207e8628e3a3: Download complete [2021-05-18T19:13:21.794Z] c791037a9be2: Verifying Checksum [2021-05-18T19:13:21.794Z] c791037a9be2: Download complete [2021-05-18T19:13:21.794Z] 595b0fe564bb: Download complete [2021-05-18T19:13:22.398Z] 595b0fe564bb: Pull complete [2021-05-18T19:13:23.392Z] 7186ed65a4f7: Pull complete [2021-05-18T19:13:23.668Z] 316046926c0a: Pull complete [2021-05-18T19:13:23.945Z] ffd874e62e21: Verifying Checksum [2021-05-18T19:13:23.945Z] ffd874e62e21: Download complete [2021-05-18T19:13:25.386Z] 4ebd0625c992: Verifying Checksum [2021-05-18T19:13:25.386Z] 4ebd0625c992: Download complete [2021-05-18T19:13:35.555Z] 4ebd0625c992: Pull complete [2021-05-18T19:13:35.555Z] 207e8628e3a3: Pull complete [2021-05-18T19:13:35.835Z] c791037a9be2: Pull complete [2021-05-18T19:13:39.230Z] ffd874e62e21: Pull complete [2021-05-18T19:13:39.230Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T19:13:39.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T19:13:39.230Z] ---> cfc18b08335c [2021-05-18T19:13:39.230Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T19:13:41.893Z] ---> Running in 1324c7a33b4c [2021-05-18T19:13:42.499Z] Removing intermediate container 1324c7a33b4c [2021-05-18T19:13:42.499Z] ---> 6735be0dd498 [2021-05-18T19:13:42.499Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T19:13:42.499Z] ---> Running in 44224ab96e1e [2021-05-18T19:13:45.125Z] Removing intermediate container 44224ab96e1e [2021-05-18T19:13:45.125Z] ---> c8e52c20e1c5 [2021-05-18T19:13:45.125Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T19:13:45.125Z] ---> Running in 1abfa9c34290 [2021-05-18T19:13:46.097Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T19:13:47.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T19:13:48.114Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T19:13:48.114Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T19:13:48.386Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T19:13:48.386Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T19:13:48.386Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T19:13:48.660Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T19:13:48.660Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T19:13:48.934Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T19:13:49.209Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T19:13:49.209Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T19:13:49.209Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T19:13:49.482Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T19:13:49.482Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T19:13:49.482Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T19:13:49.757Z] OK: 145 MiB in 53 packages [2021-05-18T19:13:51.204Z] Removing intermediate container 1abfa9c34290 [2021-05-18T19:13:51.204Z] ---> d4fa73bc6c46 [2021-05-18T19:13:51.204Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-18T19:13:51.204Z] ---> Running in 220692d44c5b [2021-05-18T19:13:51.805Z] Removing intermediate container 220692d44c5b [2021-05-18T19:13:51.805Z] ---> b47d545096ba [2021-05-18T19:13:51.805Z] Step 7/8 : COPY . . [2021-05-18T19:13:53.245Z] ---> f92d13ed62c0 [2021-05-18T19:13:53.245Z] Step 8/8 : RUN go mod download [2021-05-18T19:13:53.245Z] ---> Running in 1bcff9f46669 [2021-05-18T19:13:55.226Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-18T19:13:55.823Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:13:56.632Z] ---> job-cost.sh [2021-05-18T19:13:56.632Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aj6f [2021-05-18T19:14:43.636Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T19:16:35.473Z] lf-activate-venv(): INFO: Adding /tmp/venv-aj6f/bin to PATH [2021-05-18T19:16:35.473Z] INFO: No Stack... [2021-05-18T19:16:35.473Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T19:16:35.746Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T19:16:36.093Z] + cut -d, -f6 [2021-05-18T19:16:36.093Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [Pipeline] lock [2021-05-18T19:16:36.162Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [2021-05-18T19:16:36.177Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] did not exist. Created. [2021-05-18T19:16:36.177Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T19:16:36.548Z] /w/workspace/device-modbus-go/4@tmp/durable-01fa49e9/script.sh: 1: /w/workspace/device-modbus-go/4@tmp/durable-01fa49e9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T19:16:36.900Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T19:16:36.922Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T19:16:37.626Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T19:16:37.667Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T19:16:37.963Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:39.547Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:40.114Z] ---> package-listing.sh [2021-05-18T19:16:40.115Z] ++ facter osfamily [2021-05-18T19:16:40.115Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T19:16:40.379Z] + OS_FAMILY=redhat [2021-05-18T19:16:40.379Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-245 [2021-05-18T19:16:40.379Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T19:16:40.379Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T19:16:40.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T19:16:40.379Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T19:16:40.379Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-245 ']' [2021-05-18T19:16:40.379Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T19:16:40.379Z] + case "${OS_FAMILY}" in [2021-05-18T19:16:40.379Z] + rpm -qa [2021-05-18T19:16:40.379Z] + sort [2021-05-18T19:16:40.953Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T19:16:40.953Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T19:16:40.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T19:16:40.953Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-245 ']' [2021-05-18T19:16:40.953Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-245/archives/ [2021-05-18T19:16:40.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-245/archives/ [Pipeline] echo [2021-05-18T19:16:40.966Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-18T19:16:41.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:16:41.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:16:41.818Z] [2021-05-18T19:16:41.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:16:42.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:16:42.134Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T19:16:42.134Z] df20fa9351a1: Pulling fs layer [2021-05-18T19:16:42.134Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T19:16:42.134Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T19:16:42.134Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T19:16:42.134Z] 93b61091891f: Pulling fs layer [2021-05-18T19:16:42.134Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T19:16:42.134Z] 5e14af77c1be: Pulling fs layer [2021-05-18T19:16:42.134Z] 01666e4c0597: Pulling fs layer [2021-05-18T19:16:42.134Z] aa168da1d23b: Pulling fs layer [2021-05-18T19:16:42.134Z] 46f8f816bc3b: Waiting [2021-05-18T19:16:42.134Z] 93b61091891f: Waiting [2021-05-18T19:16:42.134Z] 93b9cdb0e59b: Waiting [2021-05-18T19:16:42.134Z] 5e14af77c1be: Waiting [2021-05-18T19:16:42.134Z] 01666e4c0597: Waiting [2021-05-18T19:16:42.134Z] aa168da1d23b: Waiting [2021-05-18T19:16:42.134Z] 36b3adc4ff6f: Verifying Checksum [2021-05-18T19:16:42.134Z] 36b3adc4ff6f: Download complete [2021-05-18T19:16:42.134Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T19:16:42.134Z] 46f8f816bc3b: Download complete [2021-05-18T19:16:42.134Z] df20fa9351a1: Verifying Checksum [2021-05-18T19:16:42.134Z] df20fa9351a1: Download complete [2021-05-18T19:16:42.134Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T19:16:42.134Z] 93b9cdb0e59b: Download complete [2021-05-18T19:16:42.134Z] 5e14af77c1be: Verifying Checksum [2021-05-18T19:16:42.134Z] 5e14af77c1be: Download complete [2021-05-18T19:16:42.134Z] 93b61091891f: Verifying Checksum [2021-05-18T19:16:42.134Z] 93b61091891f: Download complete [2021-05-18T19:16:42.134Z] 01666e4c0597: Verifying Checksum [2021-05-18T19:16:42.134Z] 01666e4c0597: Download complete [2021-05-18T19:16:42.403Z] df20fa9351a1: Pull complete [2021-05-18T19:16:42.403Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T19:16:42.403Z] 8ad3a11d3b57: Download complete [2021-05-18T19:16:42.403Z] 36b3adc4ff6f: Pull complete [2021-05-18T19:16:42.979Z] 8ad3a11d3b57: Pull complete [2021-05-18T19:16:43.246Z] 46f8f816bc3b: Pull complete [2021-05-18T19:16:43.508Z] 93b61091891f: Pull complete [2021-05-18T19:16:43.508Z] 93b9cdb0e59b: Pull complete [2021-05-18T19:16:43.771Z] 5e14af77c1be: Pull complete [2021-05-18T19:16:43.771Z] 01666e4c0597: Pull complete [2021-05-18T19:16:43.771Z] aa168da1d23b: Verifying Checksum [2021-05-18T19:16:43.771Z] aa168da1d23b: Download complete [2021-05-18T19:16:48.022Z] aa168da1d23b: Pull complete [2021-05-18T19:16:48.022Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T19:16:48.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:16:48.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T19:16:48.094Z] prd-centos7-docker-4c-2g-6409 does not seem to be running inside a container [2021-05-18T19:16:48.131Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-245 -v /w/workspace/xfoundry_device-modbus-go_PR-245:/w/workspace/xfoundry_device-modbus-go_PR-245:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-245@tmp:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-18T19:16:50.335Z] $ docker top b926acad11ce37b00065d37c3b5db668e09f8d61021164e2fc846ade4bab7830 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T19:16:50.728Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T19:16:51.021Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T19:16:51.326Z] + ls /var/log/sa-host [2021-05-18T19:16:51.326Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T19:16:51.326Z] file_magic: OK [2021-05-18T19:16:51.326Z] HZ: Using current value: 100 [2021-05-18T19:16:51.326Z] file_header: OK [2021-05-18T19:16:51.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-18T19:16:51.326Z] Statistics: [2021-05-18T19:16:51.326Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T19:16:51.326Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T19:16:51.326Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T19:16:51.326Z] file_magic: OK [2021-05-18T19:16:51.326Z] HZ: Using current value: 100 [2021-05-18T19:16:51.326Z] file_header: OK [2021-05-18T19:16:51.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-18T19:16:51.326Z] Statistics: [2021-05-18T19:16:51.326Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T19:16:51.326Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T19:16:51.526Z] provisioning config files... [2021-05-18T19:16:51.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/config3852678833903746337tmp [Pipeline] { [Pipeline] echo [2021-05-18T19:16:51.561Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:51.855Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T19:16:51.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T19:16:51.893Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:52.192Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T19:16:52.203Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:52.498Z] ---> sudo-logs.sh [2021-05-18T19:16:52.498Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T19:16:52.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:52.837Z] ---> job-cost.sh [2021-05-18T19:16:52.837Z] lf-activate-venv: SKIPPING [2021-05-18T19:16:52.837Z] DEBUG: total: 0.18000000715255737 [2021-05-18T19:16:52.837Z] INFO: Retrieving Stack Cost... [2021-05-18T19:16:53.414Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T19:16:53.986Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T19:16:54.000Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:16:54.301Z] ---> logs-deploy.sh [2021-05-18T19:16:54.301Z] lf-activate-venv: SKIPPING [2021-05-18T19:16:54.301Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-245/4 [2021-05-18T19:16:54.301Z] INFO: archiving workspace using pattern(s): [2021-05-18T19:16:55.257Z] Archives upload complete. [2021-05-18T19:16:55.257Z] INFO: archiving logs to Nexus