Pull request #229 opened 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-virtual-go Obtained Jenkinsfile from 71ebc22b183d4544eb00b68d9dd7fdb056a612e0+7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (6bd3f903e12caf3e2e4b03e8cb2e347c83148dd0) Running in Durability level: MAX_SURVIVABILITY 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-ssh488746409363715408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5508252578393453680.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-229/workspace@libs/edgex-global-pipelines # timeout=10 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-virtual-go/branches/PR-229/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4540189507171476144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-virtual-go/branches/PR-229/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh837892867255194506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh20643797981252865.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-229/workspace@libs/lf-pipelines # timeout=10 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-virtual-go/branches/PR-229/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5930831161256573476.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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-virtual 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: false 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-1255 in /w/workspace/foundry_device-virtual-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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/foundry_device-virtual-go_PR-229@tmp/jenkins-gitclient-ssh6735646088819579506.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 into PR head commit 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 Merge succeeded, producing 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 Checking out Revision 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 (PR-229) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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/foundry_device-virtual-go_PR-229@tmp/jenkins-gitclient-ssh3826861295945133891.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # 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/foundry_device-virtual-go_PR-229@tmp/jenkins-gitclient-ssh2604639176338614512.key > git merge 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # timeout=10 Commit message: "build: update to latest SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T19:01:12.424Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T19:01:12.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T19:01:12.846Z] ========================================================= [2021-06-24T19:01:12.846Z] EdgeX Global Pipelines Version Info [2021-06-24T19:01:12.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:01:14.386Z] ------------------- [2021-06-24T19:01:14.386Z] stable info: [2021-06-24T19:01:14.386Z] ------------------- [2021-06-24T19:01:14.386Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T19:01:14.386Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T19:01:14.386Z] Message: update stable to v1.0.195 [2021-06-24T19:01:16.330Z] ------------------- [2021-06-24T19:01:16.330Z] experimental info: [2021-06-24T19:01:16.330Z] ------------------- [2021-06-24T19:01:16.330Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T19:01:16.330Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T19:01:16.330Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T19:01:16.694Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-24T19:01:16.773Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-24T19:01:18.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T19:01:19.009Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T19:01:19.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T19:01:19.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T19:01:19.213Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T19:01:19.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T19:01:19.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-24T19:01:19.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T19:01:19.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T19:01:19.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-24T19:01:19.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T19:01:19.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T19:01:19.768Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T19:01:19.848Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T19:01:19.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:01:19.978Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:01:20.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T19:01:20.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T19:01:20.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-24T19:01:20.265Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-24T19:01:20.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T19:01:20.421Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T19:01:20.492Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T19:01:20.563Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T19:01:20.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2021-06-24T19:01:20.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2021-06-24T19:01:20.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2021-06-24T19:01:20.835Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [Pipeline] echo [2021-06-24T19:01:20.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71ebc22 [Pipeline] echo [2021-06-24T19:01:20.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T19:01:21.138Z] provisioning config files... [2021-06-24T19:01:21.164Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-229@tmp/config3289033629179488738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:01:21.551Z] ---> docker-login.sh [2021-06-24T19:01:21.551Z] nexus3.edgexfoundry.org:10001 [2021-06-24T19:01:21.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:01:21.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:01:21.813Z] Configure a credential helper to remove this warning. See [2021-06-24T19:01:21.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:01:21.813Z] [2021-06-24T19:01:21.813Z] Login Succeeded [2021-06-24T19:01:21.813Z] nexus3.edgexfoundry.org:10002 [2021-06-24T19:01:21.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:01:22.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:01:22.076Z] Configure a credential helper to remove this warning. See [2021-06-24T19:01:22.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:01:22.076Z] [2021-06-24T19:01:22.076Z] Login Succeeded [2021-06-24T19:01:22.076Z] nexus3.edgexfoundry.org:10003 [2021-06-24T19:01:22.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:01:22.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:01:22.076Z] Configure a credential helper to remove this warning. See [2021-06-24T19:01:22.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:01:22.076Z] [2021-06-24T19:01:22.076Z] Login Succeeded [2021-06-24T19:01:22.076Z] nexus3.edgexfoundry.org:10004 [2021-06-24T19:01:22.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:01:22.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:01:22.339Z] Configure a credential helper to remove this warning. See [2021-06-24T19:01:22.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:01:22.339Z] [2021-06-24T19:01:22.339Z] Login Succeeded [2021-06-24T19:01:22.339Z] docker.io [2021-06-24T19:01:22.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:01:22.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:01:22.601Z] Configure a credential helper to remove this warning. See [2021-06-24T19:01:22.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:01:22.601Z] [2021-06-24T19:01:22.601Z] Login Succeeded [2021-06-24T19:01:22.601Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T19:01:22.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:01:23.566Z] + git log --format=format:%s -1 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [Pipeline] echo [2021-06-24T19:01:23.632Z] GIT_COMMIT: 71ebc22b183d4544eb00b68d9dd7fdb056a612e0, Commit Message: build: update to latest SDK [Pipeline] echo [2021-06-24T19:01:23.676Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:01:26.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:01:26.848Z] [2021-06-24T19:01:26.848Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:01:27.211Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:01:27.211Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T19:01:27.211Z] 31603596830f: Pulling fs layer [2021-06-24T19:01:27.211Z] 54011a49482f: Pulling fs layer [2021-06-24T19:01:27.211Z] a6820b24f6d8: Pulling fs layer [2021-06-24T19:01:27.211Z] f581987b2513: Pulling fs layer [2021-06-24T19:01:27.211Z] f581987b2513: Waiting [2021-06-24T19:01:27.211Z] 54011a49482f: Verifying Checksum [2021-06-24T19:01:27.211Z] 54011a49482f: Download complete [2021-06-24T19:01:27.475Z] 31603596830f: Verifying Checksum [2021-06-24T19:01:27.475Z] 31603596830f: Download complete [2021-06-24T19:01:27.475Z] f581987b2513: Verifying Checksum [2021-06-24T19:01:27.475Z] f581987b2513: Download complete [2021-06-24T19:01:27.475Z] 31603596830f: Pull complete [2021-06-24T19:01:27.475Z] a6820b24f6d8: Verifying Checksum [2021-06-24T19:01:27.475Z] a6820b24f6d8: Download complete [2021-06-24T19:01:27.749Z] 54011a49482f: Pull complete [2021-06-24T19:01:28.329Z] a6820b24f6d8: Pull complete [2021-06-24T19:01:28.593Z] f581987b2513: Pull complete [2021-06-24T19:01:28.593Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T19:01:28.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:01:28.593Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T19:01:28.726Z] prd-centos7-docker-4c-2g-1255 does not seem to be running inside a container [2021-06-24T19:01:28.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-229 -v /w/workspace/foundry_device-virtual-go_PR-229:/w/workspace/foundry_device-virtual-go_PR-229:rw,z -v /w/workspace/foundry_device-virtual-go_PR-229@tmp:/w/workspace/foundry_device-virtual-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T19:01:29.718Z] $ docker top 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T19:01:29.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T19:01:29.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T19:01:30.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T19:01:30.060Z] $ docker exec 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 ssh-agent [2021-06-24T19:01:30.163Z] SSH_AUTH_SOCK=/tmp/ssh-fbwMXbH66tj9/agent.14 [2021-06-24T19:01:30.163Z] SSH_AGENT_PID=21 [2021-06-24T19:01:30.172Z] Running ssh-add (command line suppressed) [2021-06-24T19:01:30.258Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-229@tmp/private_key_8361884149357252852.key (/w/workspace/foundry_device-virtual-go_PR-229@tmp/private_key_8361884149357252852.key) [2021-06-24T19:01:30.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T19:01:30.636Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T19:01:30.654Z] $ docker exec --env ******** --env ******** 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 ssh-agent -k [2021-06-24T19:01:30.750Z] unset SSH_AUTH_SOCK; [2021-06-24T19:01:30.750Z] unset SSH_AGENT_PID; [2021-06-24T19:01:30.750Z] echo Agent pid 21 killed; [2021-06-24T19:01:30.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T19:01:30.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T19:01:30.887Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T19:01:30.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T19:01:30.997Z] $ docker exec 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 ssh-agent [2021-06-24T19:01:31.096Z] SSH_AUTH_SOCK=/tmp/ssh-RWDurc1BLC6j/agent.54 [2021-06-24T19:01:31.096Z] SSH_AGENT_PID=60 [2021-06-24T19:01:31.101Z] Running ssh-add (command line suppressed) [2021-06-24T19:01:31.191Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-229@tmp/private_key_8596456265401796811.key (/w/workspace/foundry_device-virtual-go_PR-229@tmp/private_key_8596456265401796811.key) [2021-06-24T19:01:31.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T19:01:31.564Z] + git semver init [2021-06-24T19:01:31.564Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T19:01:31.564Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-229/.git [2021-06-24T19:01:31.564Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-229 [2021-06-24T19:01:31.564Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T19:01:31.564Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T19:01:31.564Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T19:01:31.564Z] # $SEMVER_BRANCH = PR-229 [2021-06-24T19:01:31.565Z] # $SEMVER_TEMP = /tmp/semver-448579466 [2021-06-24T19:01:31.565Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-24T19:01:32.524Z] # '/tmp/semver-448579466' -> '/w/workspace/foundry_device-virtual-go_PR-229/.semver' [2021-06-24T19:01:32.524Z] # -> Force: false [2021-06-24T19:01:32.524Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-229/.semver [Pipeline] } [2021-06-24T19:01:32.541Z] $ docker exec --env ******** --env ******** 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 ssh-agent -k [2021-06-24T19:01:32.634Z] unset SSH_AUTH_SOCK; [2021-06-24T19:01:32.635Z] unset SSH_AGENT_PID; [2021-06-24T19:01:32.635Z] echo Agent pid 60 killed; [2021-06-24T19:01:32.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T19:01:33.115Z] + git semver [Pipeline] } [2021-06-24T19:01:33.147Z] $ docker stop --time=1 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 [2021-06-24T19:01:34.419Z] $ docker rm -f 7c15faf46e0d49276112206a88878432f1a88255ade7da7d3c4b28e31553b160 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:01:34.891Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T19:01:35.266Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T19:01:35.290Z] [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-06-24T19:01:50.899Z] Still waiting to schedule task [2021-06-24T19:01:50.900Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T19:01:50.927Z] Still waiting to schedule task [2021-06-24T19:01:50.927Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-24T19:03:51.745Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1256 in /w/workspace/foundry_device-virtual-go_PR-229 [Pipeline] { [Pipeline] ws [2021-06-24T19:03:51.812Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T19:03:52.083Z] The recommended git tool is: git [2021-06-24T19:03:59.887Z] using credential edgex-jenkins-ssh [2021-06-24T19:03:59.919Z] Cloning the remote Git repository [2021-06-24T19:03:59.967Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:00.082Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-24T19:04:00.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:00.156Z] > git --version # timeout=10 [2021-06-24T19:04:00.172Z] > git --version # 'git version 2.17.1' [2021-06-24T19:04:00.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:00.278Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:04:01.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T19:04:01.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:04:01.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T19:04:01.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:01.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:02.009Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T19:04:03.583Z] Merging remotes/origin/master commit 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 into PR head commit 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:04:03.601Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:04:03.625Z] > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # timeout=10 [2021-06-24T19:04:03.697Z] > git remote # timeout=10 [2021-06-24T19:04:03.713Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T19:04:03.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:03.750Z] > git merge 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 [2021-06-24T19:04:03.784Z] Merge succeeded, producing 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:04:03.786Z] Checking out Revision 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 (PR-229) [2021-06-24T19:04:03.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T19:04:03.791Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:04:03.805Z] > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # timeout=10 [2021-06-24T19:04:08.006Z] Commit message: "build: update to latest SDK" [2021-06-24T19:04:08.059Z] > git --version # timeout=10 [2021-06-24T19:04:08.069Z] > git --version # 'git version 2.17.1' [2021-06-24T19:04:08.079Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:04:09.912Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:04:10.336Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:04:10.697Z] + true [2021-06-24T19:04:10.697Z] + sudo service docker restart [2021-06-24T19:04:18.299Z] Running on prd-centos7-docker-4c-2g-1257 in /w/workspace/foundry_device-virtual-go_PR-229 [Pipeline] { [Pipeline] ws [2021-06-24T19:04:18.354Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T19:04:18.499Z] The recommended git tool is: git [2021-06-24T19:04:23.093Z] using credential edgex-jenkins-ssh [2021-06-24T19:04:23.110Z] Cloning the remote Git repository [2021-06-24T19:04:23.143Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:23.213Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-24T19:04:23.245Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:23.246Z] > git --version # timeout=10 [2021-06-24T19:04:23.265Z] > git --version # 'git version 2.24.4' [2021-06-24T19:04:23.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:23.291Z] [INFO] Currently running in a labeled security context [2021-06-24T19:04:23.291Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:04:23.291Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5018436227030669180.key [2021-06-24T19:04:23.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:04:24.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T19:04:24.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:04:24.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T19:04:24.582Z] Merging remotes/origin/master commit 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 into PR head commit 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:04:24.685Z] Merge succeeded, producing 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:04:24.686Z] Checking out Revision 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 (PR-229) [2021-06-24T19:04:24.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T19:04:24.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:24.131Z] [INFO] Currently running in a labeled security context [2021-06-24T19:04:24.132Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:04:24.132Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5326927885060714559.key [2021-06-24T19:04:24.143Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T19:04:24.590Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:04:24.599Z] > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # timeout=10 [2021-06-24T19:04:24.627Z] > git remote # timeout=10 [2021-06-24T19:04:24.634Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T19:04:24.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:04:24.644Z] [INFO] Currently running in a labeled security context [2021-06-24T19:04:24.644Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:04:24.644Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh196281881415607268.key [2021-06-24T19:04:24.652Z] > git merge 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 [2021-06-24T19:04:24.669Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T19:04:24.685Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:04:24.701Z] > git checkout -f 71ebc22b183d4544eb00b68d9dd7fdb056a612e0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T19:04:30.080Z] provisioning config files... [2021-06-24T19:04:30.108Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config648520085169691100tmp [2021-06-24T19:04:30.140Z] Commit message: "build: update to latest SDK" [Pipeline] { [Pipeline] libraryResource [2021-06-24T19:04:30.161Z] > git --version # timeout=10 [2021-06-24T19:04:30.176Z] > git --version # 'git version 2.24.4' [2021-06-24T19:04:30.183Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] sh [2021-06-24T19:04:30.534Z] ---> docker-login.sh [2021-06-24T19:04:30.534Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:04:31.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:31.340Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:04:31.687Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:04:31.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:31.741Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:31.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:31.741Z] [2021-06-24T19:04:31.741Z] Login Succeeded [2021-06-24T19:04:31.741Z] nexus3.edgexfoundry.org:10002 [2021-06-24T19:04:32.012Z] + sudo service docker restart [2021-06-24T19:04:32.012Z] + true [2021-06-24T19:04:32.013Z] Redirecting to /bin/systemctl restart docker.service [2021-06-24T19:04:32.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:32.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:32.290Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:32.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:32.290Z] [2021-06-24T19:04:32.290Z] Login Succeeded [2021-06-24T19:04:32.290Z] nexus3.edgexfoundry.org:10003 [2021-06-24T19:04:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:32.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:32.839Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:32.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:32.839Z] [2021-06-24T19:04:32.839Z] Login Succeeded [2021-06-24T19:04:32.839Z] nexus3.edgexfoundry.org:10004 [2021-06-24T19:04:33.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:33.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:33.398Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:33.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:33.398Z] [2021-06-24T19:04:33.398Z] Login Succeeded [2021-06-24T19:04:33.398Z] docker.io [2021-06-24T19:04:33.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:34.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:34.269Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:34.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:34.269Z] [2021-06-24T19:04:34.269Z] Login Succeeded [2021-06-24T19:04:34.269Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T19:04:34.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T19:04:34.928Z] ========================================================= [2021-06-24T19:04:34.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T19:04:34.928Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:04:35.370Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-24T19:04:35.983Z] Sending build context to Docker daemon 8.628MB [2021-06-24T19:04:35.983Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:04:35.983Z] Step 2/8 : FROM ${BASE} [2021-06-24T19:04:36.268Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T19:04:36.268Z] 595b0fe564bb: Pulling fs layer [2021-06-24T19:04:36.268Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T19:04:36.268Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T19:04:36.268Z] ba82ee9f976e: Pulling fs layer [2021-06-24T19:04:36.268Z] 506bd15cee9f: Pulling fs layer [2021-06-24T19:04:36.268Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T19:04:36.268Z] 618dc40b7e24: Pulling fs layer [2021-06-24T19:04:36.268Z] 506bd15cee9f: Waiting [2021-06-24T19:04:36.268Z] 618dc40b7e24: Waiting [2021-06-24T19:04:36.268Z] 75a0a4a0db45: Waiting [2021-06-24T19:04:36.268Z] ba82ee9f976e: Waiting [2021-06-24T19:04:36.268Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T19:04:36.268Z] 5b7225fbf94c: Download complete [2021-06-24T19:04:36.268Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T19:04:36.268Z] 3088b5b3c5c0: Download complete [2021-06-24T19:04:36.268Z] 506bd15cee9f: Verifying Checksum [2021-06-24T19:04:36.268Z] 506bd15cee9f: Download complete [2021-06-24T19:04:36.268Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T19:04:36.268Z] 75a0a4a0db45: Download complete [2021-06-24T19:04:36.268Z] 595b0fe564bb: Verifying Checksum [2021-06-24T19:04:36.268Z] 595b0fe564bb: Download complete [2021-06-24T19:04:36.877Z] 595b0fe564bb: Pull complete [2021-06-24T19:04:37.477Z] 3088b5b3c5c0: Pull complete [2021-06-24T19:04:37.753Z] 5b7225fbf94c: Pull complete [2021-06-24T19:04:38.743Z] 618dc40b7e24: Verifying Checksum [2021-06-24T19:04:38.743Z] 618dc40b7e24: Download complete [2021-06-24T19:04:40.193Z] ba82ee9f976e: Verifying Checksum [2021-06-24T19:04:40.193Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T19:04:50.291Z] provisioning config files... [2021-06-24T19:04:50.308Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config904409785318030097tmp [Pipeline] { [2021-06-24T19:04:50.361Z] ba82ee9f976e: Pull complete [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:04:50.638Z] 506bd15cee9f: Pull complete [2021-06-24T19:04:50.695Z] ---> docker-login.sh [2021-06-24T19:04:50.696Z] nexus3.edgexfoundry.org:10001 [2021-06-24T19:04:50.916Z] 75a0a4a0db45: Pull complete [2021-06-24T19:04:50.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:50.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:50.967Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:50.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:50.967Z] [2021-06-24T19:04:50.967Z] Login Succeeded [2021-06-24T19:04:50.967Z] nexus3.edgexfoundry.org:10002 [2021-06-24T19:04:50.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:50.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:50.967Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:50.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:50.967Z] [2021-06-24T19:04:50.967Z] Login Succeeded [2021-06-24T19:04:50.967Z] nexus3.edgexfoundry.org:10003 [2021-06-24T19:04:51.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:51.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:51.232Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:51.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:51.232Z] [2021-06-24T19:04:51.232Z] Login Succeeded [2021-06-24T19:04:51.232Z] nexus3.edgexfoundry.org:10004 [2021-06-24T19:04:51.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:51.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:51.495Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:51.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:51.495Z] [2021-06-24T19:04:51.495Z] Login Succeeded [2021-06-24T19:04:51.495Z] docker.io [2021-06-24T19:04:51.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T19:04:51.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T19:04:51.761Z] Configure a credential helper to remove this warning. See [2021-06-24T19:04:51.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T19:04:51.761Z] [2021-06-24T19:04:51.761Z] Login Succeeded [2021-06-24T19:04:51.761Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T19:04:51.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-06-24T19:04:57.149Z] 618dc40b7e24: Pull complete [2021-06-24T19:04:57.149Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T19:04:57.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T19:04:57.149Z] ---> a36622ca3599 [2021-06-24T19:04:57.149Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T19:04:57.149Z] ---> Running in 474b61831694 [2021-06-24T19:04:57.149Z] Removing intermediate container 474b61831694 [2021-06-24T19:04:57.149Z] ---> 319612d978dd [2021-06-24T19:04:57.149Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:04:57.149Z] ---> Running in 0418c2c9b4ff [Pipeline] unstash [Pipeline] echo [2021-06-24T19:04:57.317Z] ========================================================= [2021-06-24T19:04:57.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T19:04:57.317Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:04:57.683Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-24T19:04:57.683Z] Sending build context to Docker daemon 8.629MB [2021-06-24T19:04:57.683Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:04:57.683Z] Step 2/8 : FROM ${BASE} [2021-06-24T19:04:57.949Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T19:04:57.949Z] 540db60ca938: Pulling fs layer [2021-06-24T19:04:57.949Z] adcc1eea9eea: Pulling fs layer [2021-06-24T19:04:57.949Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T19:04:57.949Z] 0510c868ecb4: Pulling fs layer [2021-06-24T19:04:57.949Z] afea3b2eda06: Pulling fs layer [2021-06-24T19:04:57.949Z] 7809a108b3ef: Pulling fs layer [2021-06-24T19:04:57.949Z] f706445af74f: Pulling fs layer [2021-06-24T19:04:57.949Z] 0510c868ecb4: Waiting [2021-06-24T19:04:57.949Z] afea3b2eda06: Waiting [2021-06-24T19:04:57.949Z] 7809a108b3ef: Waiting [2021-06-24T19:04:57.949Z] f706445af74f: Waiting [2021-06-24T19:04:57.949Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T19:04:57.949Z] 4c4ab2625f07: Download complete [2021-06-24T19:04:57.949Z] adcc1eea9eea: Verifying Checksum [2021-06-24T19:04:57.949Z] adcc1eea9eea: Download complete [2021-06-24T19:04:57.949Z] afea3b2eda06: Verifying Checksum [2021-06-24T19:04:57.949Z] afea3b2eda06: Download complete [2021-06-24T19:04:57.949Z] 7809a108b3ef: Verifying Checksum [2021-06-24T19:04:57.949Z] 7809a108b3ef: Download complete [2021-06-24T19:04:57.949Z] 540db60ca938: Verifying Checksum [2021-06-24T19:04:57.949Z] 540db60ca938: Download complete [2021-06-24T19:04:58.216Z] 540db60ca938: Pull complete [2021-06-24T19:04:58.482Z] adcc1eea9eea: Pull complete [2021-06-24T19:04:58.482Z] 4c4ab2625f07: Pull complete [2021-06-24T19:04:59.442Z] f706445af74f: Verifying Checksum [2021-06-24T19:04:59.442Z] f706445af74f: Download complete [2021-06-24T19:04:59.715Z] 0510c868ecb4: Verifying Checksum [2021-06-24T19:04:59.715Z] 0510c868ecb4: Download complete [2021-06-24T19:04:59.840Z] Removing intermediate container 0418c2c9b4ff [2021-06-24T19:04:59.840Z] ---> 45508737ba37 [2021-06-24T19:04:59.840Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T19:04:59.840Z] ---> Running in e3b5101c4ce3 [2021-06-24T19:05:00.837Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T19:05:01.821Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T19:05:02.415Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T19:05:02.415Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T19:05:02.688Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T19:05:02.688Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T19:05:02.688Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T19:05:02.960Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T19:05:02.960Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T19:05:03.081Z] 0510c868ecb4: Pull complete [2021-06-24T19:05:03.081Z] afea3b2eda06: Pull complete [2021-06-24T19:05:03.081Z] 7809a108b3ef: Pull complete [2021-06-24T19:05:03.558Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T19:05:03.558Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T19:05:03.558Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T19:05:03.558Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T19:05:03.830Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T19:05:03.830Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T19:05:04.107Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T19:05:04.107Z] OK: 145 MiB in 53 packages [2021-06-24T19:05:04.492Z] f706445af74f: Pull complete [2021-06-24T19:05:04.492Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T19:05:04.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T19:05:04.492Z] ---> b068be0155e3 [2021-06-24T19:05:04.492Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T19:05:05.542Z] Removing intermediate container e3b5101c4ce3 [2021-06-24T19:05:05.542Z] ---> 2cb0d2021c58 [2021-06-24T19:05:05.542Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-24T19:05:05.542Z] ---> Running in 1dc913356ee8 [2021-06-24T19:05:06.140Z] Removing intermediate container 1dc913356ee8 [2021-06-24T19:05:06.140Z] ---> ef5362e2d721 [2021-06-24T19:05:06.140Z] Step 7/8 : COPY . . [2021-06-24T19:05:10.759Z] ---> 0c573d45cc1e [2021-06-24T19:05:10.759Z] Step 8/8 : RUN go mod download [2021-06-24T19:05:10.759Z] ---> Running in af0cf443fc01 [2021-06-24T19:05:10.759Z] ---> Running in f524904a908e [2021-06-24T19:05:10.760Z] Removing intermediate container f524904a908e [2021-06-24T19:05:10.760Z] ---> 56d6fee0ef65 [2021-06-24T19:05:10.760Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:05:10.760Z] ---> Running in ca5bc9208a81 [2021-06-24T19:05:10.760Z] Removing intermediate container ca5bc9208a81 [2021-06-24T19:05:10.760Z] ---> 722961731e60 [2021-06-24T19:05:10.760Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T19:05:10.760Z] ---> Running in 388db100de88 [2021-06-24T19:05:10.760Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T19:05:10.760Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T19:05:11.020Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T19:05:11.020Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T19:05:11.282Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T19:05:11.282Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T19:05:11.282Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T19:05:11.562Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T19:05:11.562Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T19:05:11.824Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T19:05:11.824Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T19:05:12.086Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T19:05:12.086Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T19:05:12.350Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T19:05:12.350Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T19:05:12.350Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T19:05:12.350Z] OK: 156 MiB in 53 packages [2021-06-24T19:05:12.929Z] Removing intermediate container 388db100de88 [2021-06-24T19:05:12.929Z] ---> dfefd7a2e43d [2021-06-24T19:05:12.929Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-24T19:05:12.929Z] ---> Running in 2fc3b3c8d8a4 [2021-06-24T19:05:12.929Z] Removing intermediate container 2fc3b3c8d8a4 [2021-06-24T19:05:12.929Z] ---> af73685afdeb [2021-06-24T19:05:12.929Z] Step 7/8 : COPY . . [2021-06-24T19:05:13.198Z] ---> a8c8ca564e34 [2021-06-24T19:05:13.198Z] Step 8/8 : RUN go mod download [2021-06-24T19:05:13.198Z] ---> Running in 579b2f4a712f [2021-06-24T19:05:25.033Z] Removing intermediate container 579b2f4a712f [2021-06-24T19:05:25.033Z] ---> bd2a29d37dad [2021-06-24T19:05:25.033Z] Successfully built bd2a29d37dad [2021-06-24T19:05:25.033Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:05:25.384Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T19:05:25.384Z] . [Pipeline] withDockerContainer [2021-06-24T19:05:25.493Z] prd-centos7-docker-4c-2g-1257 does not seem to be running inside a container [2021-06-24T19:05:25.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat [2021-06-24T19:05:25.918Z] $ docker top 7431bb28f721e9a987c09c4ccd731e1e76c69ba1bb8575f6bfe617da80de4582 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:05:26.367Z] + go version [2021-06-24T19:05:26.367Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T19:05:26.400Z] $ docker stop --time=1 7431bb28f721e9a987c09c4ccd731e1e76c69ba1bb8575f6bfe617da80de4582 [2021-06-24T19:05:27.600Z] $ docker rm -f 7431bb28f721e9a987c09c4ccd731e1e76c69ba1bb8575f6bfe617da80de4582 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:05:28.416Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T19:05:28.416Z] . [Pipeline] withDockerContainer [2021-06-24T19:05:28.524Z] prd-centos7-docker-4c-2g-1257 does not seem to be running inside a container [2021-06-24T19:05:28.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat [2021-06-24T19:05:28.959Z] $ docker top 87e75b15e6d38befd0972d41ffc108c6a9f36c35fca48ea2faa77a648ffb68cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:05:29.487Z] + go mod tidy [Pipeline] sh [2021-06-24T19:05:30.073Z] + make test [2021-06-24T19:05:30.073Z] go mod tidy [2021-06-24T19:05:30.073Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T19:05:30.652Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-24T19:05:36.070Z] Removing intermediate container af0cf443fc01 [2021-06-24T19:05:36.070Z] ---> 3c882b135af6 [2021-06-24T19:05:36.070Z] Successfully built 3c882b135af6 [2021-06-24T19:05:36.070Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:05:36.442Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T19:05:36.442Z] . [Pipeline] withDockerContainer [2021-06-24T19:05:36.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-1256 does not seem to be running inside a container [2021-06-24T19:05:36.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2021-06-24T19:05:38.320Z] $ docker top bb9806ae31e35bfe2738460a6650037d1e6e7cb4e4d1caf0475be54e26bdc310 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:05:41.445Z] + go version [2021-06-24T19:05:41.445Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T19:05:41.484Z] $ docker stop --time=1 bb9806ae31e35bfe2738460a6650037d1e6e7cb4e4d1caf0475be54e26bdc310 [2021-06-24T19:05:43.296Z] $ docker rm -f bb9806ae31e35bfe2738460a6650037d1e6e7cb4e4d1caf0475be54e26bdc310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:05:44.365Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T19:05:44.366Z] . [Pipeline] withDockerContainer [2021-06-24T19:05:44.649Z] prd-ubuntu18.04-docker-arm64-4c-16g-1256 does not seem to be running inside a container [2021-06-24T19:05:44.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2021-06-24T19:05:46.322Z] $ docker top af2445289166c655703c2d17911515df678b8b7e99659279ec4a34d33e882894 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:05:47.375Z] + go mod tidy [Pipeline] sh [2021-06-24T19:05:48.734Z] + make test [2021-06-24T19:05:48.734Z] go mod tidy [2021-06-24T19:05:49.337Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T19:05:49.532Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-24T19:05:49.532Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.257s coverage: 63.8% of statements [2021-06-24T19:05:49.532Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T19:05:50.324Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-24T19:05:57.727Z] gofmt -l . [2021-06-24T19:05:57.727Z] [ "`gofmt -l .`" = "" ] [2021-06-24T19:05:57.727Z] ./bin/test-attribution-txt.sh [2021-06-24T19:05:57.727Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T19:05:57.816Z] $ docker stop --time=1 87e75b15e6d38befd0972d41ffc108c6a9f36c35fca48ea2faa77a648ffb68cd [2021-06-24T19:05:59.260Z] $ docker rm -f 87e75b15e6d38befd0972d41ffc108c6a9f36c35fca48ea2faa77a648ffb68cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:05:59.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T19:06:00.061Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T19:06:07.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T19:06:07.930Z] + ls -al . [2021-06-24T19:06:07.930Z] total 132 [2021-06-24T19:06:07.930Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 24 19:05 . [2021-06-24T19:06:07.930Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 24 19:04 .. [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 24 19:04 Attribution.txt [2021-06-24T19:06:07.930Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 19:04 bin [2021-06-24T19:06:07.930Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 24 19:04 cmd [2021-06-24T19:06:07.930Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 24 19:05 coverage.out [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 24 19:04 Dockerfile [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 24 19:04 Dockerfile.build [2021-06-24T19:06:07.930Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 19:04 .git [2021-06-24T19:06:07.930Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 19:04 .github [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 24 19:04 .gitignore [2021-06-24T19:06:07.930Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 24 19:05 go.mod [2021-06-24T19:06:07.930Z] -rw-r--r--. 1 jenkins jenkins 23126 Jun 24 19:05 go.sum [2021-06-24T19:06:07.930Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 24 19:04 internal [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 24 19:04 Jenkinsfile [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 24 19:04 LICENSE [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 24 19:04 Makefile [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 24 19:04 README.md [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 19:01 VERSION [2021-06-24T19:06:07.930Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 24 19:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:06:08.285Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=71ebc22b183d4544eb00b68d9dd7fdb056a612e0 --label arch=amd64 --label version=0.0.0 . [2021-06-24T19:06:08.285Z] Sending build context to Docker daemon 8.701MB [2021-06-24T19:06:08.285Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:06:08.285Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-24T19:06:08.285Z] ---> bd2a29d37dad [2021-06-24T19:06:08.285Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-24T19:06:08.285Z] ---> Running in ea77f25eea56 [2021-06-24T19:06:08.596Z] Removing intermediate container ea77f25eea56 [2021-06-24T19:06:08.596Z] ---> a1e0272b7f26 [2021-06-24T19:06:08.596Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-24T19:06:08.596Z] ---> Running in 81986af1945b [2021-06-24T19:06:08.596Z] Removing intermediate container 81986af1945b [2021-06-24T19:06:08.596Z] ---> 1f527897c001 [2021-06-24T19:06:08.596Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-24T19:06:08.596Z] ---> Running in 9bdd72427ecd [2021-06-24T19:06:08.862Z] Removing intermediate container 9bdd72427ecd [2021-06-24T19:06:08.862Z] ---> 03121c2e4940 [2021-06-24T19:06:08.862Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:06:08.862Z] ---> Running in af372ed905b3 [2021-06-24T19:06:09.127Z] Removing intermediate container af372ed905b3 [2021-06-24T19:06:09.127Z] ---> 488a2701d433 [2021-06-24T19:06:09.127Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-24T19:06:09.400Z] ---> Running in ed7b63e5eb98 [2021-06-24T19:06:09.673Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T19:06:10.633Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T19:06:11.233Z] OK: 156 MiB in 53 packages [2021-06-24T19:06:11.521Z] Removing intermediate container ed7b63e5eb98 [2021-06-24T19:06:11.521Z] ---> bd8e2e1c7e97 [2021-06-24T19:06:11.521Z] Step 8/26 : COPY . . [2021-06-24T19:06:11.795Z] ---> 2087f1a2f898 [2021-06-24T19:06:11.796Z] Step 9/26 : RUN go mod tidy [2021-06-24T19:06:11.796Z] ---> Running in ee95d88faea9 [2021-06-24T19:06:12.789Z] Removing intermediate container ee95d88faea9 [2021-06-24T19:06:12.789Z] ---> 259f67a7d293 [2021-06-24T19:06:12.789Z] Step 10/26 : RUN go mod download [2021-06-24T19:06:12.789Z] ---> Running in 4d99573fc795 [2021-06-24T19:06:13.060Z] Removing intermediate container 4d99573fc795 [2021-06-24T19:06:13.060Z] ---> 1f1ebc5c583a [2021-06-24T19:06:13.060Z] Step 11/26 : ARG MAKE='make build' [2021-06-24T19:06:13.060Z] ---> Running in 391a9618daa3 [2021-06-24T19:06:13.060Z] Removing intermediate container 391a9618daa3 [2021-06-24T19:06:13.060Z] ---> d341710c1af1 [2021-06-24T19:06:13.060Z] Step 12/26 : RUN $MAKE [2021-06-24T19:06:13.325Z] ---> Running in 289b8058441f [2021-06-24T19:06:13.325Z] go mod tidy [2021-06-24T19:06:13.594Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-24T19:06:32.009Z] Removing intermediate container 289b8058441f [2021-06-24T19:06:32.009Z] ---> 9683e863f31d [2021-06-24T19:06:32.009Z] Step 13/26 : FROM alpine:3.12 [2021-06-24T19:06:32.009Z] 3.12: Pulling from library/alpine [2021-06-24T19:06:32.009Z] 339de151aab4: Pulling fs layer [2021-06-24T19:06:32.009Z] 339de151aab4: Verifying Checksum [2021-06-24T19:06:32.009Z] 339de151aab4: Download complete [2021-06-24T19:06:32.009Z] 339de151aab4: Pull complete [2021-06-24T19:06:32.009Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T19:06:32.009Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T19:06:32.009Z] ---> 13621d1b12d4 [2021-06-24T19:06:32.009Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-24T19:06:32.009Z] ---> Running in df13d97de679 [2021-06-24T19:06:32.009Z] Removing intermediate container df13d97de679 [2021-06-24T19:06:32.009Z] ---> ea026d071b95 [2021-06-24T19:06:32.009Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:06:32.009Z] ---> Running in b5e7625dd479 [2021-06-24T19:06:32.009Z] Removing intermediate container b5e7625dd479 [2021-06-24T19:06:32.009Z] ---> fea676e3e14b [2021-06-24T19:06:32.009Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T19:06:32.009Z] ---> Running in 0f2d4a9fce57 [2021-06-24T19:06:32.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T19:06:32.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T19:06:32.592Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T19:06:32.592Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T19:06:32.854Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T19:06:32.854Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T19:06:33.853Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T19:06:33.853Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T19:06:33.853Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T19:06:33.853Z] OK: 8 MiB in 20 packages [2021-06-24T19:06:34.469Z] Removing intermediate container 0f2d4a9fce57 [2021-06-24T19:06:34.469Z] ---> b86484c107d1 [2021-06-24T19:06:34.469Z] Step 17/26 : WORKDIR / [2021-06-24T19:06:34.469Z] ---> Running in d3dbf95dc0b5 [2021-06-24T19:06:34.469Z] Removing intermediate container d3dbf95dc0b5 [2021-06-24T19:06:34.469Z] ---> a6b73a8937aa [2021-06-24T19:06:34.469Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-24T19:06:34.748Z] ---> beae9ddc030a [2021-06-24T19:06:34.748Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-24T19:06:35.016Z] ---> 7ea2e6dd4c5e [2021-06-24T19:06:35.016Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-24T19:06:35.971Z] ---> 5741b4b628cb [2021-06-24T19:06:35.971Z] Step 21/26 : EXPOSE 59900 [2021-06-24T19:06:35.971Z] ---> Running in b6380cd13b0c [2021-06-24T19:06:36.249Z] Removing intermediate container b6380cd13b0c [2021-06-24T19:06:36.249Z] ---> 94d375ae5ff5 [2021-06-24T19:06:36.249Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-24T19:06:36.249Z] ---> Running in d3426ea7277e [2021-06-24T19:06:36.249Z] Removing intermediate container d3426ea7277e [2021-06-24T19:06:36.249Z] ---> e2db32bbf628 [2021-06-24T19:06:36.249Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T19:06:36.249Z] ---> Running in 654baf26a7aa [2021-06-24T19:06:36.517Z] Removing intermediate container 654baf26a7aa [2021-06-24T19:06:36.517Z] ---> 99b60c8adf4e [2021-06-24T19:06:36.517Z] Step 24/26 : LABEL arch=amd64 [2021-06-24T19:06:36.517Z] ---> Running in 06f496249e30 [2021-06-24T19:06:36.781Z] Removing intermediate container 06f496249e30 [2021-06-24T19:06:36.781Z] ---> 6d9fba6cebcd [2021-06-24T19:06:36.781Z] Step 25/26 : LABEL git_sha=71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:06:36.781Z] ---> Running in 6a4f3b1fbb84 [2021-06-24T19:06:36.781Z] Removing intermediate container 6a4f3b1fbb84 [2021-06-24T19:06:36.781Z] ---> 2ba3700e7bcb [2021-06-24T19:06:36.781Z] Step 26/26 : LABEL version=0.0.0 [2021-06-24T19:06:36.781Z] ---> Running in 88208ef96c6a [2021-06-24T19:06:37.043Z] Removing intermediate container 88208ef96c6a [2021-06-24T19:06:37.043Z] ---> 50ddf0550372 [2021-06-24T19:06:37.043Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-24T19:06:37.043Z] Successfully built 50ddf0550372 [2021-06-24T19:06:37.043Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:06:38.239Z] ---> job-cost.sh [2021-06-24T19:06:38.240Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nYAa [2021-06-24T19:06:49.948Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T19:07:03.766Z] lf-activate-venv(): INFO: Adding /tmp/venv-nYAa/bin to PATH [2021-06-24T19:07:03.766Z] INFO: No Stack... [2021-06-24T19:07:03.806Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-24T19:07:03.806Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.646s coverage: 63.8% of statements [2021-06-24T19:07:03.806Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T19:07:04.745Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T19:07:05.353Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T19:07:05.736Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-24T19:07:05.736Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T19:07:05.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [2021-06-24T19:07:05.798Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] did not exist. Created. [2021-06-24T19:07:05.798Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T19:07:06.281Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T19:07:06.381Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T19:07:06.400Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T19:07:19.240Z] gofmt -l . [2021-06-24T19:07:19.240Z] [ "`gofmt -l .`" = "" ] [2021-06-24T19:07:19.240Z] ./bin/test-attribution-txt.sh [2021-06-24T19:07:21.469Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T19:07:21.825Z] $ docker stop --time=1 af2445289166c655703c2d17911515df678b8b7e99659279ec4a34d33e882894 [2021-06-24T19:07:23.717Z] $ docker rm -f af2445289166c655703c2d17911515df678b8b7e99659279ec4a34d33e882894 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:07:24.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T19:07:24.702Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T19:07:25.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:07:28.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T19:07:28.659Z] + ls -al . [2021-06-24T19:07:28.659Z] total 156 [2021-06-24T19:07:28.659Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 24 19:07 . [2021-06-24T19:07:28.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 19:04 .. [2021-06-24T19:07:28.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 19:04 .git [2021-06-24T19:07:28.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 19:04 .github [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 24 19:04 .gitignore [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 24 19:04 Attribution.txt [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 24 19:04 Dockerfile [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 24 19:04 Dockerfile.build [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 24 19:04 Jenkinsfile [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 24 19:04 LICENSE [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 24 19:04 Makefile [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 24 19:04 README.md [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 19:01 VERSION [2021-06-24T19:07:28.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 19:04 bin [2021-06-24T19:07:28.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 19:04 cmd [2021-06-24T19:07:28.659Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 24 19:06 coverage.out [2021-06-24T19:07:28.659Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 24 19:07 go.mod [2021-06-24T19:07:28.659Z] -rw-r--r-- 1 jenkins jenkins 23126 Jun 24 19:05 go.sum [2021-06-24T19:07:28.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 19:04 internal [2021-06-24T19:07:28.659Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 24 19:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:07:29.048Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=71ebc22b183d4544eb00b68d9dd7fdb056a612e0 --label arch=arm64 --label version=0.0.0 . [2021-06-24T19:07:29.652Z] Sending build context to Docker daemon 8.7MB [2021-06-24T19:07:29.652Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:07:29.652Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-24T19:07:29.652Z] ---> 3c882b135af6 [2021-06-24T19:07:29.652Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-24T19:07:29.652Z] ---> Running in 0b92f7de003c [2021-06-24T19:07:30.252Z] Removing intermediate container 0b92f7de003c [2021-06-24T19:07:30.252Z] ---> e400313b21ba [2021-06-24T19:07:30.252Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-24T19:07:30.530Z] ---> Running in 728d704e876c [2021-06-24T19:07:30.805Z] Removing intermediate container 728d704e876c [2021-06-24T19:07:30.805Z] ---> 77db515010fc [2021-06-24T19:07:30.805Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-24T19:07:31.080Z] ---> Running in 48559bfa7d59 [2021-06-24T19:07:31.358Z] Removing intermediate container 48559bfa7d59 [2021-06-24T19:07:31.358Z] ---> 7ca423a9a3c3 [2021-06-24T19:07:31.358Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:07:31.630Z] ---> Running in 83b8481bad67 [2021-06-24T19:07:33.616Z] Removing intermediate container 83b8481bad67 [2021-06-24T19:07:33.616Z] ---> 1d778174c639 [2021-06-24T19:07:33.616Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-24T19:07:33.616Z] ---> Running in edc541e8d036 [2021-06-24T19:07:35.066Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T19:07:37.273Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T19:07:37.274Z] OK: 145 MiB in 53 packages [2021-06-24T19:07:37.546Z] Removing intermediate container edc541e8d036 [2021-06-24T19:07:37.546Z] ---> 17a92536cf97 [2021-06-24T19:07:37.546Z] Step 8/26 : COPY . . [2021-06-24T19:07:39.013Z] ---> 16d2c566f1e4 [2021-06-24T19:07:39.013Z] Step 9/26 : RUN go mod tidy [2021-06-24T19:07:39.013Z] ---> Running in 8324d011ec68 [2021-06-24T19:07:41.650Z] Removing intermediate container 8324d011ec68 [2021-06-24T19:07:41.650Z] ---> 054d8f6d5aa7 [2021-06-24T19:07:41.650Z] Step 10/26 : RUN go mod download [2021-06-24T19:07:41.650Z] ---> Running in e979bd3cfe8f [2021-06-24T19:07:44.281Z] Removing intermediate container e979bd3cfe8f [2021-06-24T19:07:44.281Z] ---> f6670acc9437 [2021-06-24T19:07:44.281Z] Step 11/26 : ARG MAKE='make build' [2021-06-24T19:07:44.281Z] ---> Running in 2efb82d4b095 [2021-06-24T19:07:44.568Z] Removing intermediate container 2efb82d4b095 [2021-06-24T19:07:44.568Z] ---> f87cd4861bb4 [2021-06-24T19:07:44.568Z] Step 12/26 : RUN $MAKE [2021-06-24T19:07:44.852Z] ---> Running in e136a0ec79da [2021-06-24T19:07:46.296Z] go mod tidy [2021-06-24T19:07:46.570Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-24T19:08:40.080Z] Removing intermediate container e136a0ec79da [2021-06-24T19:08:40.080Z] ---> d1f0f4f250a5 [2021-06-24T19:08:40.080Z] Step 13/26 : FROM alpine:3.12 [2021-06-24T19:08:40.080Z] 3.12: Pulling from library/alpine [2021-06-24T19:08:40.080Z] d2f70382dc9a: Pulling fs layer [2021-06-24T19:08:40.080Z] d2f70382dc9a: Verifying Checksum [2021-06-24T19:08:40.080Z] d2f70382dc9a: Download complete [2021-06-24T19:08:40.080Z] d2f70382dc9a: Pull complete [2021-06-24T19:08:40.080Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T19:08:40.080Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T19:08:40.080Z] ---> c4fd0aeabfcf [2021-06-24T19:08:40.080Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-24T19:08:40.080Z] ---> Running in 17d39992f172 [2021-06-24T19:08:40.080Z] Removing intermediate container 17d39992f172 [2021-06-24T19:08:40.080Z] ---> a289fee96a97 [2021-06-24T19:08:40.080Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T19:08:40.080Z] ---> Running in af6aeb042f80 [2021-06-24T19:08:40.362Z] Removing intermediate container af6aeb042f80 [2021-06-24T19:08:40.362Z] ---> 657e6bcb4efd [2021-06-24T19:08:40.362Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T19:08:40.362Z] ---> Running in e9c505263667 [2021-06-24T19:08:41.827Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T19:08:42.425Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T19:08:43.407Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T19:08:43.407Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T19:08:43.407Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T19:08:43.687Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T19:08:43.687Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T19:08:43.964Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T19:08:43.964Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T19:08:43.964Z] OK: 8 MiB in 20 packages [2021-06-24T19:08:48.370Z] Removing intermediate container e9c505263667 [2021-06-24T19:08:48.370Z] ---> 8e61e391bf7a [2021-06-24T19:08:48.370Z] Step 17/26 : WORKDIR / [2021-06-24T19:08:48.370Z] ---> Running in 6ab71f4b85bc [2021-06-24T19:08:48.370Z] Removing intermediate container 6ab71f4b85bc [2021-06-24T19:08:48.370Z] ---> 3fea668e12d7 [2021-06-24T19:08:48.370Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-24T19:08:48.370Z] ---> 4d0fa598f79d [2021-06-24T19:08:48.370Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-24T19:08:48.370Z] ---> f4e6e797c832 [2021-06-24T19:08:48.370Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-24T19:08:48.985Z] ---> ee575deb9f79 [2021-06-24T19:08:48.985Z] Step 21/26 : EXPOSE 59900 [2021-06-24T19:08:48.985Z] ---> Running in f3368e258b74 [2021-06-24T19:08:49.583Z] Removing intermediate container f3368e258b74 [2021-06-24T19:08:49.583Z] ---> c662ffe94b34 [2021-06-24T19:08:49.583Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-24T19:08:49.583Z] ---> Running in 2c37bbcb217e [2021-06-24T19:08:50.193Z] Removing intermediate container 2c37bbcb217e [2021-06-24T19:08:50.193Z] ---> e6af9bf62359 [2021-06-24T19:08:50.193Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T19:08:50.193Z] ---> Running in 9ab339a3c714 [2021-06-24T19:08:50.797Z] Removing intermediate container 9ab339a3c714 [2021-06-24T19:08:50.797Z] ---> 3612bf4d0d64 [2021-06-24T19:08:50.797Z] Step 24/26 : LABEL arch=arm64 [2021-06-24T19:08:50.797Z] ---> Running in 3878b0c81632 [2021-06-24T19:08:51.398Z] Removing intermediate container 3878b0c81632 [2021-06-24T19:08:51.398Z] ---> 551dd71aad86 [2021-06-24T19:08:51.398Z] Step 25/26 : LABEL git_sha=71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [2021-06-24T19:08:51.398Z] ---> Running in c126bbf19ec5 [2021-06-24T19:08:54.661Z] Removing intermediate container c126bbf19ec5 [2021-06-24T19:08:54.661Z] ---> 1af3aed983dd [2021-06-24T19:08:54.661Z] Step 26/26 : LABEL version=0.0.0 [2021-06-24T19:08:54.661Z] ---> Running in 8b1ca5c146e1 [2021-06-24T19:08:54.661Z] Removing intermediate container 8b1ca5c146e1 [2021-06-24T19:08:54.661Z] ---> 2db3d871ccc5 [2021-06-24T19:08:54.661Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-24T19:08:54.661Z] Successfully built 2db3d871ccc5 [2021-06-24T19:08:54.661Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:08:55.506Z] ---> job-cost.sh [2021-06-24T19:08:55.506Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-h2Pl [2021-06-24T19:09:37.637Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T19:11:01.402Z] lf-activate-venv(): INFO: Adding /tmp/venv-h2Pl/bin to PATH [2021-06-24T19:11:01.402Z] INFO: No Stack... [2021-06-24T19:11:01.402Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T19:11:01.402Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T19:11:01.773Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-24T19:11:01.773Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T19:11:01.876Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [2021-06-24T19:11:01.883Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] did not exist. Created. [2021-06-24T19:11:01.883Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T19:11:02.331Z] /w/workspace/device-virtual-go/1@tmp/durable-0e0e8a4c/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-0e0e8a4c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T19:11:02.710Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T19:11:02.783Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T19:11:02.944Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T19:11:02.994Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-229-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-24T19:11:06.426Z] provisioning config files... [2021-06-24T19:11:06.436Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-229@tmp/config4746359431315147748tmp [Pipeline] { [Pipeline] sh [2021-06-24T19:11:06.802Z] + set +x [2021-06-24T19:11:06.802Z] + curl -s https://codecov.io/bash [2021-06-24T19:11:06.802Z] + bash -s -- [2021-06-24T19:11:06.802Z] [2021-06-24T19:11:06.802Z] _____ _ [2021-06-24T19:11:06.802Z] / ____| | | [2021-06-24T19:11:06.802Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T19:11:06.802Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T19:11:06.802Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T19:11:06.802Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T19:11:06.802Z] Bash-1.0.3 [2021-06-24T19:11:06.802Z] [2021-06-24T19:11:06.802Z] [2021-06-24T19:11:06.802Z] ==> git version 2.24.4 found [2021-06-24T19:11:06.802Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-24T19:11:06.802Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T19:11:06.802Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T19:11:06.802Z] ==> Jenkins CI detected. [2021-06-24T19:11:06.802Z] project root: . [2021-06-24T19:11:06.802Z] --> token set from env [2021-06-24T19:11:06.802Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T19:11:06.802Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T19:11:06.802Z] ==> Python coveragepy not found [2021-06-24T19:11:06.802Z] ==> Searching for coverage reports in: [2021-06-24T19:11:06.802Z] + . [2021-06-24T19:11:06.802Z] -> Found 1 reports [2021-06-24T19:11:06.802Z] ==> Detecting git/mercurial file structure [2021-06-24T19:11:07.069Z] ==> Reading reports [2021-06-24T19:11:07.069Z] + ./coverage.out bytes=47257 [2021-06-24T19:11:07.069Z] ==> Appending adjustments [2021-06-24T19:11:07.069Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T19:11:07.069Z] + Found adjustments [2021-06-24T19:11:07.069Z] ==> Gzipping contents [2021-06-24T19:11:07.069Z] 8.0K /tmp/codecov.DP4PVf.gz [2021-06-24T19:11:07.069Z] ==> Uploading reports [2021-06-24T19:11:07.069Z] url: https://codecov.io [2021-06-24T19:11:07.069Z] query: branch=PR-229&commit=71ebc22b183d4544eb00b68d9dd7fdb056a612e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2021-06-24T19:11:07.069Z] -> Pinging Codecov [2021-06-24T19:11:07.069Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-229&commit=71ebc22b183d4544eb00b68d9dd7fdb056a612e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2021-06-24T19:11:07.642Z] -> Uploading to [2021-06-24T19:11:07.643Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/5E52B4B073DB2E39498172D8E973AA87/71ebc22b183d4544eb00b68d9dd7fdb056a612e0/32fc4beb-6b87-4e67-9fd5-9d1a12f173d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T191107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ad70c5b4465189f7905c083fe2492a58e7edb8636d8289f83c3d056cbcebb16 [2021-06-24T19:11:07.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T19:11:07.643Z] Dload Upload Total Spent Left Speed [2021-06-24T19:11:07.904Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5780 0 0 100 5780 0 14340 --:--:-- --:--:-- --:--:-- 14378 [2021-06-24T19:11:07.904Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/71ebc22b183d4544eb00b68d9dd7fdb056a612e0 [Pipeline] } [2021-06-24T19:11:07.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:11.393Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:12.042Z] ---> package-listing.sh [2021-06-24T19:11:12.042Z] ++ facter osfamily [2021-06-24T19:11:12.042Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T19:11:12.308Z] + OS_FAMILY=redhat [2021-06-24T19:11:12.308Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-229 [2021-06-24T19:11:12.308Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T19:11:12.308Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T19:11:12.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T19:11:12.308Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T19:11:12.308Z] + '[' /w/workspace/foundry_device-virtual-go_PR-229 ']' [2021-06-24T19:11:12.308Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T19:11:12.308Z] + case "${OS_FAMILY}" in [2021-06-24T19:11:12.308Z] + rpm -qa [2021-06-24T19:11:12.308Z] + sort [2021-06-24T19:11:12.882Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T19:11:12.882Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T19:11:12.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T19:11:12.882Z] + '[' /w/workspace/foundry_device-virtual-go_PR-229 ']' [2021-06-24T19:11:12.882Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-229/archives/ [2021-06-24T19:11:12.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-229/archives/ [Pipeline] echo [2021-06-24T19:11:12.910Z] 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/foundry_device-virtual-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T19:11:16.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:11:16.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:11:16.453Z] [2021-06-24T19:11:16.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:11:16.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:11:16.829Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T19:11:16.829Z] df20fa9351a1: Pulling fs layer [2021-06-24T19:11:16.829Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T19:11:16.829Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T19:11:16.829Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T19:11:16.829Z] 93b61091891f: Pulling fs layer [2021-06-24T19:11:16.829Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T19:11:16.829Z] 5e14af77c1be: Pulling fs layer [2021-06-24T19:11:16.829Z] 01666e4c0597: Pulling fs layer [2021-06-24T19:11:16.829Z] aa168da1d23b: Pulling fs layer [2021-06-24T19:11:16.829Z] 93b61091891f: Waiting [2021-06-24T19:11:16.829Z] 93b9cdb0e59b: Waiting [2021-06-24T19:11:16.829Z] 5e14af77c1be: Waiting [2021-06-24T19:11:16.829Z] 01666e4c0597: Waiting [2021-06-24T19:11:16.829Z] aa168da1d23b: Waiting [2021-06-24T19:11:16.829Z] 46f8f816bc3b: Waiting [2021-06-24T19:11:16.829Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T19:11:16.829Z] 36b3adc4ff6f: Download complete [2021-06-24T19:11:16.829Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T19:11:16.829Z] 46f8f816bc3b: Download complete [2021-06-24T19:11:16.829Z] df20fa9351a1: Verifying Checksum [2021-06-24T19:11:16.829Z] df20fa9351a1: Download complete [2021-06-24T19:11:16.829Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T19:11:16.829Z] 93b9cdb0e59b: Download complete [2021-06-24T19:11:17.102Z] 5e14af77c1be: Verifying Checksum [2021-06-24T19:11:17.102Z] 5e14af77c1be: Download complete [2021-06-24T19:11:17.102Z] 93b61091891f: Verifying Checksum [2021-06-24T19:11:17.102Z] 93b61091891f: Download complete [2021-06-24T19:11:17.102Z] 01666e4c0597: Verifying Checksum [2021-06-24T19:11:17.102Z] 01666e4c0597: Download complete [2021-06-24T19:11:17.102Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T19:11:17.102Z] 8ad3a11d3b57: Download complete [2021-06-24T19:11:17.102Z] df20fa9351a1: Pull complete [2021-06-24T19:11:17.388Z] 36b3adc4ff6f: Pull complete [2021-06-24T19:11:17.974Z] 8ad3a11d3b57: Pull complete [2021-06-24T19:11:17.974Z] 46f8f816bc3b: Pull complete [2021-06-24T19:11:18.245Z] 93b61091891f: Pull complete [2021-06-24T19:11:18.245Z] 93b9cdb0e59b: Pull complete [2021-06-24T19:11:18.505Z] 5e14af77c1be: Pull complete [2021-06-24T19:11:18.505Z] 01666e4c0597: Pull complete [2021-06-24T19:11:19.458Z] aa168da1d23b: Verifying Checksum [2021-06-24T19:11:19.458Z] aa168da1d23b: Download complete [2021-06-24T19:11:23.713Z] aa168da1d23b: Pull complete [2021-06-24T19:11:23.713Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T19:11:23.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:11:23.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T19:11:23.816Z] prd-centos7-docker-4c-2g-1255 does not seem to be running inside a container [2021-06-24T19:11:23.858Z] $ 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/foundry_device-virtual-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-229 -v /w/workspace/foundry_device-virtual-go_PR-229:/w/workspace/foundry_device-virtual-go_PR-229:rw,z -v /w/workspace/foundry_device-virtual-go_PR-229@tmp:/w/workspace/foundry_device-virtual-go_PR-229@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T19:11:26.558Z] $ docker top b78fa6fee8604e1559c6917d5d5919268c334cf9e46c4ec748fd444c5d96dc43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:11:26.983Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T19:11:27.299Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T19:11:27.626Z] + ls /var/log/sa-host [2021-06-24T19:11:27.626Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T19:11:27.626Z] file_magic: OK [2021-06-24T19:11:27.626Z] HZ: Using current value: 100 [2021-06-24T19:11:27.626Z] file_header: OK [2021-06-24T19:11:27.626Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T19:11:27.626Z] Statistics: [2021-06-24T19:11:27.626Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T19:11:27.626Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T19:11:27.626Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T19:11:27.626Z] file_magic: OK [2021-06-24T19:11:27.626Z] HZ: Using current value: 100 [2021-06-24T19:11:27.626Z] file_header: OK [2021-06-24T19:11:27.626Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T19:11:27.626Z] Statistics: [2021-06-24T19:11:27.626Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T19:11:27.626Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T19:11:28.342Z] provisioning config files... [2021-06-24T19:11:28.357Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-229@tmp/config6676594380620150462tmp [Pipeline] { [Pipeline] echo [2021-06-24T19:11:28.419Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:28.761Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T19:11:28.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:29.258Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T19:11:29.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:31.826Z] ---> sudo-logs.sh [2021-06-24T19:11:31.826Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T19:11:31.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:32.296Z] ---> job-cost.sh [2021-06-24T19:11:32.296Z] lf-activate-venv: SKIPPING [2021-06-24T19:11:32.296Z] DEBUG: total: 0.18000000715255737 [2021-06-24T19:11:32.296Z] INFO: Retrieving Stack Cost... [2021-06-24T19:11:33.240Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T19:11:33.814Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T19:11:33.852Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:11:34.190Z] ---> logs-deploy.sh [2021-06-24T19:11:34.190Z] lf-activate-venv: SKIPPING [2021-06-24T19:11:34.190Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-229/1 [2021-06-24T19:11:34.190Z] INFO: archiving workspace using pattern(s): [2021-06-24T19:11:35.140Z] Archives upload complete. [2021-06-24T19:11:35.140Z] INFO: archiving logs to Nexus