Pull request #212 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b0657cf9cbe25df80f50a0b4acdf35a82e079ed4+8a7f4322be0982c7f8078a781a398084f2a2a662 (cb5c773599ac9acb7ed74af28e11cbebff1c3cbd) 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-ssh3169858071842572165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7121655941574792858.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh 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-212/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-212/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4573688604725246721.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-212/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1482834730073975262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh3651787300771200803.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-212/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-212/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5021958348564470258.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15745 in /w/workspace/foundry_device-virtual-go_PR-212 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-212 # 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-212@tmp/jenkins-gitclient-ssh3583300499231587358.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 Merge succeeded, producing b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 Checking out Revision b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 (PR-212) > 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-212@tmp/jenkins-gitclient-ssh7080343817529287752.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # 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-212@tmp/jenkins-gitclient-ssh6247055187270391988.key > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-24T05:49:54.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-24T05:49:56.781Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-24T05:49:56.954Z] ========================================================= [2021-05-24T05:49:56.955Z] EdgeX Global Pipelines Version Info [2021-05-24T05:49:56.955Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:50:02.345Z] ------------------- [2021-05-24T05:50:02.345Z] stable info: [2021-05-24T05:50:02.345Z] ------------------- [2021-05-24T05:50:02.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-24T05:50:02.345Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:50:02.345Z] Message: update stable to v1.0.192 [2021-05-24T05:50:02.345Z] ------------------- [2021-05-24T05:50:02.345Z] experimental info: [2021-05-24T05:50:02.345Z] ------------------- [2021-05-24T05:50:02.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-24T05:50:02.345Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:50:02.345Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-24T05:50:02.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-24T05:50:02.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-24T05:50:02.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-24T05:50:02.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-24T05:50:02.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-24T05:50:03.032Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-24T05:50:03.092Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-24T05:50:05.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-24T05:50:05.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-24T05:50:05.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-24T05:50:05.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-24T05:50:05.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-24T05:50:06.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-24T05:50:08.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-24T05:50:08.381Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:50:08.451Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:50:08.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:50:08.586Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:50:08.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-24T05:50:08.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-24T05:50:08.835Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-24T05:50:08.909Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-24T05:50:11.041Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-24T05:50:11.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-24T05:50:11.264Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-24T05:50:11.377Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-24T05:50:11.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-212 [Pipeline] echo [2021-05-24T05:50:11.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-212 [Pipeline] echo [2021-05-24T05:50:11.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-212 [Pipeline] echo [2021-05-24T05:50:11.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [Pipeline] echo [2021-05-24T05:50:11.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0657cf [Pipeline] echo [2021-05-24T05:50:12.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T05:50:14.278Z] provisioning config files... [2021-05-24T05:50:14.298Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-212@tmp/config8295343637506826076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:50:14.715Z] ---> docker-login.sh [2021-05-24T05:50:14.715Z] nexus3.edgexfoundry.org:10001 [2021-05-24T05:50:14.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:50:14.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:50:14.979Z] Configure a credential helper to remove this warning. See [2021-05-24T05:50:14.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:50:14.979Z] [2021-05-24T05:50:14.979Z] Login Succeeded [2021-05-24T05:50:14.979Z] nexus3.edgexfoundry.org:10002 [2021-05-24T05:50:14.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:50:17.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:50:17.096Z] Configure a credential helper to remove this warning. See [2021-05-24T05:50:17.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:50:17.096Z] [2021-05-24T05:50:17.096Z] Login Succeeded [2021-05-24T05:50:17.096Z] nexus3.edgexfoundry.org:10003 [2021-05-24T05:50:17.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:50:17.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:50:17.096Z] Configure a credential helper to remove this warning. See [2021-05-24T05:50:17.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:50:17.096Z] [2021-05-24T05:50:17.096Z] Login Succeeded [2021-05-24T05:50:17.096Z] nexus3.edgexfoundry.org:10004 [2021-05-24T05:50:17.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:50:17.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:50:17.096Z] Configure a credential helper to remove this warning. See [2021-05-24T05:50:17.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:50:17.096Z] [2021-05-24T05:50:17.096Z] Login Succeeded [2021-05-24T05:50:17.096Z] docker.io [2021-05-24T05:50:17.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:50:17.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:50:17.096Z] Configure a credential helper to remove this warning. See [2021-05-24T05:50:17.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:50:17.096Z] [2021-05-24T05:50:17.096Z] Login Succeeded [2021-05-24T05:50:17.096Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T05:50:17.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T05:50:17.992Z] + git log --format=format:%s -1 b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [Pipeline] echo [2021-05-24T05:50:18.056Z] GIT_COMMIT: b0657cf9cbe25df80f50a0b4acdf35a82e079ed4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-24T05:50:18.107Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:50:20.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:50:20.787Z] [2021-05-24T05:50:20.787Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:50:21.188Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:50:21.188Z] latest: Pulling from edgex-devops/git-semver [2021-05-24T05:50:21.188Z] 31603596830f: Pulling fs layer [2021-05-24T05:50:21.188Z] 54011a49482f: Pulling fs layer [2021-05-24T05:50:21.188Z] a6820b24f6d8: Pulling fs layer [2021-05-24T05:50:21.188Z] f581987b2513: Pulling fs layer [2021-05-24T05:50:21.188Z] f581987b2513: Waiting [2021-05-24T05:50:21.188Z] 54011a49482f: Verifying Checksum [2021-05-24T05:50:21.188Z] 54011a49482f: Download complete [2021-05-24T05:50:23.475Z] 31603596830f: Download complete [2021-05-24T05:50:23.475Z] a6820b24f6d8: Verifying Checksum [2021-05-24T05:50:23.475Z] a6820b24f6d8: Download complete [2021-05-24T05:50:23.475Z] f581987b2513: Verifying Checksum [2021-05-24T05:50:23.475Z] f581987b2513: Download complete [2021-05-24T05:50:23.475Z] 31603596830f: Pull complete [2021-05-24T05:50:23.475Z] 54011a49482f: Pull complete [2021-05-24T05:50:23.475Z] a6820b24f6d8: Pull complete [2021-05-24T05:50:23.475Z] f581987b2513: Pull complete [2021-05-24T05:50:23.475Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-24T05:50:23.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:50:23.475Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-24T05:50:23.667Z] prd-centos7-docker-4c-2g-15745 does not seem to be running inside a container [2021-05-24T05:50:23.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-212 -v /w/workspace/foundry_device-virtual-go_PR-212:/w/workspace/foundry_device-virtual-go_PR-212:rw,z -v /w/workspace/foundry_device-virtual-go_PR-212@tmp:/w/workspace/foundry_device-virtual-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-24T05:50:27.201Z] $ docker top 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-24T05:50:27.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:50:27.470Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:50:27.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:50:27.601Z] $ docker exec 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 ssh-agent [2021-05-24T05:50:27.722Z] SSH_AUTH_SOCK=/tmp/ssh-6LLLbEuxhSuF/agent.14 [2021-05-24T05:50:27.722Z] SSH_AGENT_PID=21 [2021-05-24T05:50:27.731Z] Running ssh-add (command line suppressed) [2021-05-24T05:50:27.859Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-212@tmp/private_key_4104391377572258217.key (/w/workspace/foundry_device-virtual-go_PR-212@tmp/private_key_4104391377572258217.key) [2021-05-24T05:50:27.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:50:28.228Z] + git tag --points-at HEAD [Pipeline] } [2021-05-24T05:50:28.255Z] $ docker exec --env ******** --env ******** 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 ssh-agent -k [2021-05-24T05:50:28.368Z] unset SSH_AUTH_SOCK; [2021-05-24T05:50:28.368Z] unset SSH_AGENT_PID; [2021-05-24T05:50:28.368Z] echo Agent pid 21 killed; [2021-05-24T05:50:30.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-24T05:50:30.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:50:30.621Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:50:30.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:50:30.753Z] $ docker exec 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 ssh-agent [2021-05-24T05:50:30.870Z] SSH_AUTH_SOCK=/tmp/ssh-rihnzPISduwN/agent.55 [2021-05-24T05:50:30.870Z] SSH_AGENT_PID=61 [2021-05-24T05:50:30.880Z] Running ssh-add (command line suppressed) [2021-05-24T05:50:31.000Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-212@tmp/private_key_4707013737920277206.key (/w/workspace/foundry_device-virtual-go_PR-212@tmp/private_key_4707013737920277206.key) [2021-05-24T05:50:31.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:50:33.437Z] + git semver init [2021-05-24T05:50:33.437Z] # -> Open(): unable to determine branch for HEAD [2021-05-24T05:50:33.437Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-212/.git [2021-05-24T05:50:33.437Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-212 [2021-05-24T05:50:33.437Z] # $SEMVER_REMOTE_NAME = origin [2021-05-24T05:50:33.437Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-24T05:50:33.437Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-24T05:50:33.437Z] # $SEMVER_BRANCH = PR-212 [2021-05-24T05:50:33.437Z] # $SEMVER_TEMP = /tmp/semver-366714368 [2021-05-24T05:50:33.437Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-24T05:50:33.437Z] # '/tmp/semver-366714368' -> '/w/workspace/foundry_device-virtual-go_PR-212/.semver' [2021-05-24T05:50:33.437Z] # -> Force: false [2021-05-24T05:50:33.437Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-212/.semver [Pipeline] } [2021-05-24T05:50:33.460Z] $ docker exec --env ******** --env ******** 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 ssh-agent -k [2021-05-24T05:50:33.568Z] unset SSH_AUTH_SOCK; [2021-05-24T05:50:33.569Z] unset SSH_AGENT_PID; [2021-05-24T05:50:33.569Z] echo Agent pid 61 killed; [2021-05-24T05:50:33.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-24T05:50:38.186Z] + git semver [Pipeline] } [2021-05-24T05:50:38.281Z] $ docker stop --time=1 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 [2021-05-24T05:50:40.942Z] $ docker rm -f 0926418beefa1341c631b10a39e9fd7ac101d339440d8931501dd996689bb959 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T05:50:43.319Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-24T05:50:45.809Z] Stashed 1 file(s) [Pipeline] echo [2021-05-24T05:50:45.870Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-24T05:51:07.547Z] Still waiting to schedule task [2021-05-24T05:51:07.548Z] ‘prd-centos7-blackbox-4c-2g-15642’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:51:07.548Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:51:07.548Z] ‘prd-centos7-docker-4c-2g-15750’ is offline [2021-05-24T05:51:07.548Z] ‘prd-centos7-docker-4c-2g-15751’ is offline [2021-05-24T05:51:07.548Z] ‘prd-centos7-docker-4c-2g-15753’ is offline [2021-05-24T05:51:07.549Z] Still waiting to schedule task [2021-05-24T05:51:07.549Z] ‘prd-centos7-docker-4c-2g-15754’ is offline [2021-05-24T05:51:07.549Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-24T05:51:07.549Z] ‘prd-centos7-docker-4c-2g-15755’ is offline [2021-05-24T05:51:07.549Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-24T06:01:59.450Z] Running on prd-centos7-docker-4c-2g-16427 in /w/workspace/foundry_device-virtual-go_PR-212 [Pipeline] { [Pipeline] ws [2021-05-24T06:01:59.521Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:01:59.704Z] Selected Git installation does not exist. Using Default [2021-05-24T06:01:59.704Z] The recommended git tool is: NONE [2021-05-24T06:02:08.334Z] using credential edgex-jenkins-ssh [2021-05-24T06:02:08.346Z] Cloning the remote Git repository [2021-05-24T06:02:08.373Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:02:08.478Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-24T06:02:08.508Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:02:08.509Z] > git --version # timeout=10 [2021-05-24T06:02:08.515Z] > git --version # 'git version 2.24.4' [2021-05-24T06:02:08.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:02:08.548Z] [INFO] Currently running in a labeled security context [2021-05-24T06:02:08.548Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:02:08.548Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2871128146396068059.key [2021-05-24T06:02:08.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:02:09.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-24T06:02:09.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:02:10.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-24T06:02:10.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:02:10.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:02:10.866Z] [INFO] Currently running in a labeled security context [2021-05-24T06:02:10.866Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:02:10.866Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1194739412640827029.key [2021-05-24T06:02:10.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T06:02:11.306Z] Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:02:11.318Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:02:11.326Z] > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # timeout=10 [2021-05-24T06:02:11.358Z] > git remote # timeout=10 [2021-05-24T06:02:11.367Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:02:11.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:02:11.374Z] [INFO] Currently running in a labeled security context [2021-05-24T06:02:11.374Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:02:11.374Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4104873539081641501.key [2021-05-24T06:02:11.380Z] > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-24T06:02:13.567Z] Merge succeeded, producing b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:02:13.568Z] Checking out Revision b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 (PR-212) [2021-05-24T06:02:13.544Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:02:13.572Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:02:13.578Z] > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # timeout=10 [2021-05-24T06:02:23.638Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-24T06:02:23.689Z] > git --version # timeout=10 [2021-05-24T06:02:23.694Z] > git --version # 'git version 2.24.4' [2021-05-24T06:02:23.701Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:02:33.906Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:02:36.216Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16372 in /w/workspace/foundry_device-virtual-go_PR-212 [2021-05-24T06:02:36.243Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-05-24T06:02:38.684Z] + sudo service docker restart [2021-05-24T06:02:38.684Z] + true [2021-05-24T06:02:38.684Z] Redirecting to /bin/systemctl restart docker.service [2021-05-24T06:02:38.713Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:02:43.681Z] Selected Git installation does not exist. Using Default [2021-05-24T06:02:43.681Z] The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:02:53.654Z] provisioning config files... [2021-05-24T06:02:53.692Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config682643008863135594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:02:58.514Z] ---> docker-login.sh [2021-05-24T06:02:58.514Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:02:58.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:02:58.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:02:58.514Z] Configure a credential helper to remove this warning. See [2021-05-24T06:02:58.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:02:58.514Z] [2021-05-24T06:02:58.514Z] Login Succeeded [2021-05-24T06:02:58.514Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:02:58.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:02:58.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:02:58.514Z] Configure a credential helper to remove this warning. See [2021-05-24T06:02:58.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:02:58.515Z] [2021-05-24T06:02:58.515Z] Login Succeeded [2021-05-24T06:02:58.515Z] nexus3.edgexfoundry.org:10003 [2021-05-24T06:02:58.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:02:58.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:02:58.515Z] Configure a credential helper to remove this warning. See [2021-05-24T06:02:58.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:02:58.515Z] [2021-05-24T06:02:58.515Z] Login Succeeded [2021-05-24T06:02:58.515Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:02:58.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:02:58.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:02:58.515Z] Configure a credential helper to remove this warning. See [2021-05-24T06:02:58.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:02:58.515Z] [2021-05-24T06:02:58.515Z] Login Succeeded [2021-05-24T06:02:58.515Z] docker.io [2021-05-24T06:02:58.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:02:58.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:02:58.515Z] Configure a credential helper to remove this warning. See [2021-05-24T06:02:58.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:02:58.515Z] [2021-05-24T06:02:58.515Z] Login Succeeded [2021-05-24T06:02:58.515Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:02:58.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T06:03:05.633Z] ========================================================= [2021-05-24T06:03:05.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-24T06:03:05.634Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:03:08.002Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-24T06:03:08.002Z] Sending build context to Docker daemon 8.591MB [2021-05-24T06:03:08.002Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:03:08.002Z] Step 2/8 : FROM ${BASE} [2021-05-24T06:03:08.002Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-24T06:03:08.002Z] 540db60ca938: Pulling fs layer [2021-05-24T06:03:08.002Z] adcc1eea9eea: Pulling fs layer [2021-05-24T06:03:08.002Z] 4c4ab2625f07: Pulling fs layer [2021-05-24T06:03:08.002Z] 0510c868ecb4: Pulling fs layer [2021-05-24T06:03:08.002Z] afea3b2eda06: Pulling fs layer [2021-05-24T06:03:08.002Z] 7809a108b3ef: Pulling fs layer [2021-05-24T06:03:08.002Z] f706445af74f: Pulling fs layer [2021-05-24T06:03:08.002Z] 0510c868ecb4: Waiting [2021-05-24T06:03:08.002Z] afea3b2eda06: Waiting [2021-05-24T06:03:08.002Z] 7809a108b3ef: Waiting [2021-05-24T06:03:08.002Z] f706445af74f: Waiting [2021-05-24T06:03:08.002Z] 4c4ab2625f07: Download complete [2021-05-24T06:03:08.002Z] adcc1eea9eea: Verifying Checksum [2021-05-24T06:03:08.002Z] adcc1eea9eea: Download complete [2021-05-24T06:03:08.002Z] afea3b2eda06: Verifying Checksum [2021-05-24T06:03:08.002Z] afea3b2eda06: Download complete [2021-05-24T06:03:08.002Z] 7809a108b3ef: Verifying Checksum [2021-05-24T06:03:08.002Z] 7809a108b3ef: Download complete [2021-05-24T06:03:08.002Z] 540db60ca938: Verifying Checksum [2021-05-24T06:03:08.002Z] 540db60ca938: Download complete [2021-05-24T06:03:08.002Z] 540db60ca938: Pull complete [2021-05-24T06:03:08.002Z] adcc1eea9eea: Pull complete [2021-05-24T06:03:08.003Z] 4c4ab2625f07: Pull complete [2021-05-24T06:03:08.003Z] f706445af74f: Verifying Checksum [2021-05-24T06:03:08.003Z] f706445af74f: Download complete [2021-05-24T06:03:08.282Z] 0510c868ecb4: Verifying Checksum [2021-05-24T06:03:08.282Z] 0510c868ecb4: Download complete [2021-05-24T06:03:12.739Z] 0510c868ecb4: Pull complete [2021-05-24T06:03:12.739Z] afea3b2eda06: Pull complete [2021-05-24T06:03:12.739Z] 7809a108b3ef: Pull complete [2021-05-24T06:03:12.739Z] f706445af74f: Pull complete [2021-05-24T06:03:12.739Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-24T06:03:13.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-24T06:03:13.041Z] ---> b068be0155e3 [2021-05-24T06:03:13.041Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-24T06:03:17.875Z] ---> Running in 32c52f29a431 [2021-05-24T06:03:17.875Z] Removing intermediate container 32c52f29a431 [2021-05-24T06:03:17.875Z] ---> 8445ce315a21 [2021-05-24T06:03:17.875Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:03:17.875Z] ---> Running in 96fc1b9744dd [2021-05-24T06:03:17.875Z] Removing intermediate container 96fc1b9744dd [2021-05-24T06:03:17.875Z] ---> fc60c2a4725a [2021-05-24T06:03:17.875Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-24T06:03:17.875Z] ---> Running in 6649b6b90eeb [2021-05-24T06:03:17.875Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:03:17.875Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:03:20.271Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-24T06:03:20.271Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-24T06:03:20.271Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-24T06:03:20.271Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:03:20.271Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-24T06:03:20.271Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-24T06:03:20.271Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-24T06:03:20.271Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:03:20.271Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:03:20.271Z] OK: 156 MiB in 53 packages [2021-05-24T06:03:20.271Z] Removing intermediate container 6649b6b90eeb [2021-05-24T06:03:20.271Z] ---> b3bce539ba92 [2021-05-24T06:03:20.271Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-24T06:03:20.271Z] ---> Running in 6d358a350386 [2021-05-24T06:03:20.271Z] Removing intermediate container 6d358a350386 [2021-05-24T06:03:20.271Z] ---> a05fc75ad475 [2021-05-24T06:03:20.271Z] Step 7/8 : COPY . . [2021-05-24T06:03:24.453Z] ---> 96b52f28e23e [2021-05-24T06:03:24.453Z] Step 8/8 : RUN go mod download [2021-05-24T06:03:24.453Z] ---> Running in 8e26481ade98 [2021-05-24T06:03:31.632Z] using credential edgex-jenkins-ssh [2021-05-24T06:03:31.674Z] Cloning the remote Git repository [2021-05-24T06:03:31.732Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:03:31.910Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-24T06:03:31.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:03:31.995Z] > git --version # timeout=10 [2021-05-24T06:03:32.010Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:32.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:32.073Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:34.068Z] Removing intermediate container 8e26481ade98 [2021-05-24T06:03:34.068Z] ---> 9283554a2ec6 [2021-05-24T06:03:34.068Z] Successfully built 9283554a2ec6 [2021-05-24T06:03:34.068Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:03:34.475Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:03:34.475Z] . [2021-05-24T06:03:36.557Z] Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:03:33.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-24T06:03:33.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:34.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-24T06:03:34.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-24T06:03:34.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:34.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] withDockerContainer [2021-05-24T06:03:36.705Z] prd-centos7-docker-4c-2g-16427 does not seem to be running inside a container [2021-05-24T06:03:36.793Z] Merge succeeded, producing b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:03:36.794Z] Checking out Revision b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 (PR-212) [2021-05-24T06:03:36.841Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-24T06:03:39.226Z] $ docker top 2fe687e641d23de7ea5e1974a13725ff30d73c5c497a0346a33fa72d436da000 -eo pid,comm [Pipeline] { [2021-05-24T06:03:36.584Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:36.603Z] > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # timeout=10 [2021-05-24T06:03:36.699Z] > git remote # timeout=10 [2021-05-24T06:03:36.718Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:03:36.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:36.746Z] > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-24T06:03:36.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:03:36.806Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:36.816Z] > git checkout -f b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 # timeout=10 [Pipeline] sh [2021-05-24T06:03:41.921Z] + go version [2021-05-24T06:03:41.921Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-24T06:03:42.027Z] $ docker stop --time=1 2fe687e641d23de7ea5e1974a13725ff30d73c5c497a0346a33fa72d436da000 [2021-05-24T06:03:44.158Z] $ docker rm -f 2fe687e641d23de7ea5e1974a13725ff30d73c5c497a0346a33fa72d436da000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:03:51.521Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:03:51.522Z] . [Pipeline] withDockerContainer [2021-05-24T06:03:51.741Z] prd-centos7-docker-4c-2g-16427 does not seem to be running inside a container [2021-05-24T06:03:51.742Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-24T06:03:51.820Z] > git --version # timeout=10 [2021-05-24T06:03:51.831Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:51.841Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T06:03:51.844Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-24T06:03:53.972Z] $ docker top a6e61c914c7efcfd3e729da6dc34b02fe0ee43a37745a22878be1f20f0b1761b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-24T06:03:56.662Z] + go mod tidy [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:03:59.195Z] + make test [2021-05-24T06:03:59.195Z] go mod tidy [2021-05-24T06:03:59.195Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-24T06:03:59.195Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-24T06:04:06.421Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:04:08.770Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:04:09.196Z] + sudo service docker restart+ [2021-05-24T06:04:09.196Z] true [2021-05-24T06:04:16.403Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-24T06:04:16.404Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.260s coverage: 63.8% of statements [2021-05-24T06:04:16.404Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-24T06:04:24.609Z] gofmt -l . [2021-05-24T06:04:24.609Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:04:24.609Z] ./bin/test-attribution-txt.sh [2021-05-24T06:04:24.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-24T06:04:24.908Z] $ docker stop --time=1 a6e61c914c7efcfd3e729da6dc34b02fe0ee43a37745a22878be1f20f0b1761b [2021-05-24T06:04:26.399Z] $ docker rm -f a6e61c914c7efcfd3e729da6dc34b02fe0ee43a37745a22878be1f20f0b1761b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T06:04:26.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:04:27.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:04:44.054Z] provisioning config files... [2021-05-24T06:04:44.100Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6106582524834442299tmp [Pipeline] { [2021-05-24T06:04:44.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:04:46.390Z] ---> docker-login.sh [2021-05-24T06:04:46.390Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:04:46.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:46.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:46.390Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:46.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:46.390Z] [2021-05-24T06:04:46.390Z] Login Succeeded [2021-05-24T06:04:46.390Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:04:46.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:46.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:46.390Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:46.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:46.390Z] [2021-05-24T06:04:46.390Z] Login Succeeded [2021-05-24T06:04:46.390Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2021-05-24T06:04:46.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:46.708Z] + ls -al . [2021-05-24T06:04:46.708Z] total 132 [2021-05-24T06:04:46.708Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 24 06:04 . [2021-05-24T06:04:46.708Z] drwxrwxr-x. 4 jenkins jenkins 28 May 24 06:02 .. [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 24 06:02 Attribution.txt [2021-05-24T06:04:46.708Z] drwxrwxr-x. 2 jenkins jenkins 64 May 24 06:02 bin [2021-05-24T06:04:46.708Z] drwxrwxr-x. 3 jenkins jenkins 32 May 24 06:02 cmd [2021-05-24T06:04:46.708Z] -rw-r--r--. 1 jenkins jenkins 47247 May 24 06:04 coverage.out [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 24 06:02 Dockerfile [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 998 May 24 06:02 Dockerfile.build [2021-05-24T06:04:46.708Z] drwxrwxr-x. 8 jenkins jenkins 179 May 24 06:02 .git [2021-05-24T06:04:46.708Z] drwxrwxr-x. 2 jenkins jenkins 103 May 24 06:02 .github [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 277 May 24 06:02 .gitignore [2021-05-24T06:04:46.708Z] -rw-r--r--. 1 jenkins jenkins 809 May 24 06:04 go.mod [2021-05-24T06:04:46.708Z] -rw-r--r--. 1 jenkins jenkins 23431 May 24 06:03 go.sum [2021-05-24T06:04:46.708Z] drwxrwxr-x. 3 jenkins jenkins 20 May 24 06:02 internal [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 660 May 24 06:02 Jenkinsfile [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 24 06:02 LICENSE [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 905 May 24 06:02 Makefile [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 24 06:02 README.md [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 5 May 24 05:50 VERSION [2021-05-24T06:04:46.708Z] -rw-rw-r--. 1 jenkins jenkins 235 May 24 06:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:46.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:46.947Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:46.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:46.947Z] [2021-05-24T06:04:46.947Z] Login Succeeded [2021-05-24T06:04:46.947Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:04:47.079Z] + 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=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 --label arch=amd64 --label version=0.0.0 . [2021-05-24T06:04:47.079Z] Sending build context to Docker daemon 8.664MB [2021-05-24T06:04:47.079Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:47.079Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-24T06:04:47.079Z] ---> 9283554a2ec6 [2021-05-24T06:04:47.079Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:04:47.079Z] ---> Running in cc18cea2efcd [2021-05-24T06:04:47.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:49.336Z] Removing intermediate container cc18cea2efcd [2021-05-24T06:04:49.336Z] ---> abe81a5bd438 [2021-05-24T06:04:49.336Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:04:49.336Z] ---> Running in 3807518dd66c [2021-05-24T06:04:49.336Z] Removing intermediate container 3807518dd66c [2021-05-24T06:04:49.336Z] ---> da4a06df627c [2021-05-24T06:04:49.336Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-24T06:04:49.336Z] ---> Running in fe5be21db232 [2021-05-24T06:04:49.336Z] Removing intermediate container fe5be21db232 [2021-05-24T06:04:49.336Z] ---> 56b6656bd782 [2021-05-24T06:04:49.336Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:04:49.336Z] ---> Running in fb572441e82a [2021-05-24T06:04:49.336Z] Removing intermediate container fb572441e82a [2021-05-24T06:04:49.336Z] ---> 359be66acbd2 [2021-05-24T06:04:49.336Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:04:49.336Z] ---> Running in e338f0940e01 [2021-05-24T06:04:49.336Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:04:49.336Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:04:49.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:49.346Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:49.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:49.346Z] [2021-05-24T06:04:49.346Z] Login Succeeded [2021-05-24T06:04:49.346Z] docker.io [2021-05-24T06:04:49.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:49.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:49.346Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:49.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:49.346Z] [2021-05-24T06:04:49.346Z] Login Succeeded [2021-05-24T06:04:49.346Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:04:49.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-24T06:04:49.599Z] OK: 156 MiB in 53 packages [2021-05-24T06:04:49.862Z] Removing intermediate container e338f0940e01 [2021-05-24T06:04:49.862Z] ---> cf87115aafac [2021-05-24T06:04:49.862Z] Step 8/26 : COPY . . [Pipeline] echo [2021-05-24T06:04:50.097Z] ========================================================= [2021-05-24T06:04:50.097Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-24T06:04:50.097Z] ========================================================= [2021-05-24T06:04:52.164Z] ---> 49286e8d9a5e [2021-05-24T06:04:52.164Z] Step 9/26 : RUN go mod tidy [2021-05-24T06:04:52.164Z] ---> Running in 6d8647788f0b [2021-05-24T06:04:52.164Z] Removing intermediate container 6d8647788f0b [2021-05-24T06:04:52.164Z] ---> f91bf75895a6 [2021-05-24T06:04:52.164Z] Step 10/26 : RUN go mod download [2021-05-24T06:04:52.164Z] ---> Running in 870f8e214697 [2021-05-24T06:04:52.164Z] Removing intermediate container 870f8e214697 [2021-05-24T06:04:52.164Z] ---> 66730e99b1d9 [2021-05-24T06:04:52.164Z] Step 11/26 : ARG MAKE='make build' [2021-05-24T06:04:52.164Z] ---> Running in 9e4c6e6147ae [2021-05-24T06:04:52.164Z] Removing intermediate container 9e4c6e6147ae [2021-05-24T06:04:52.164Z] ---> 064d123f4da5 [2021-05-24T06:04:52.164Z] Step 12/26 : RUN $MAKE [2021-05-24T06:04:52.164Z] ---> Running in fb77ef47733a [2021-05-24T06:04:52.164Z] go mod tidy [2021-05-24T06:04:52.164Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:52.591Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-24T06:04:53.206Z] Sending build context to Docker daemon 8.59MB [2021-05-24T06:04:53.206Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:53.206Z] Step 2/8 : FROM ${BASE} [2021-05-24T06:04:53.481Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-24T06:04:53.481Z] 595b0fe564bb: Pulling fs layer [2021-05-24T06:04:53.481Z] 7186ed65a4f7: Pulling fs layer [2021-05-24T06:04:53.481Z] 316046926c0a: Pulling fs layer [2021-05-24T06:04:53.481Z] 4ebd0625c992: Pulling fs layer [2021-05-24T06:04:53.481Z] 207e8628e3a3: Pulling fs layer [2021-05-24T06:04:53.481Z] c791037a9be2: Pulling fs layer [2021-05-24T06:04:53.481Z] ffd874e62e21: Pulling fs layer [2021-05-24T06:04:53.481Z] 207e8628e3a3: Waiting [2021-05-24T06:04:53.481Z] 4ebd0625c992: Waiting [2021-05-24T06:04:53.481Z] c791037a9be2: Waiting [2021-05-24T06:04:53.481Z] ffd874e62e21: Waiting [2021-05-24T06:04:53.481Z] 316046926c0a: Verifying Checksum [2021-05-24T06:04:53.481Z] 316046926c0a: Download complete [2021-05-24T06:04:53.481Z] 7186ed65a4f7: Download complete [2021-05-24T06:04:53.481Z] 207e8628e3a3: Verifying Checksum [2021-05-24T06:04:53.481Z] 207e8628e3a3: Download complete [2021-05-24T06:04:53.481Z] c791037a9be2: Verifying Checksum [2021-05-24T06:04:53.481Z] c791037a9be2: Download complete [2021-05-24T06:04:53.755Z] 595b0fe564bb: Verifying Checksum [2021-05-24T06:04:53.755Z] 595b0fe564bb: Download complete [2021-05-24T06:04:54.357Z] 595b0fe564bb: Pull complete [2021-05-24T06:04:56.700Z] 7186ed65a4f7: Pull complete [2021-05-24T06:04:56.700Z] 316046926c0a: Pull complete [2021-05-24T06:04:58.693Z] ffd874e62e21: Verifying Checksum [2021-05-24T06:04:58.693Z] ffd874e62e21: Download complete [2021-05-24T06:05:01.327Z] 4ebd0625c992: Verifying Checksum [2021-05-24T06:05:01.327Z] 4ebd0625c992: Download complete [2021-05-24T06:05:08.116Z] Removing intermediate container fb77ef47733a [2021-05-24T06:05:08.116Z] ---> edfffe149df4 [2021-05-24T06:05:08.116Z] Step 13/26 : FROM alpine:3.12 [2021-05-24T06:05:08.116Z] 3.12: Pulling from library/alpine [2021-05-24T06:05:08.116Z] 339de151aab4: Pulling fs layer [2021-05-24T06:05:08.116Z] 339de151aab4: Verifying Checksum [2021-05-24T06:05:08.116Z] 339de151aab4: Download complete [2021-05-24T06:05:08.116Z] 339de151aab4: Pull complete [2021-05-24T06:05:08.116Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:05:08.116Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:05:08.116Z] ---> 13621d1b12d4 [2021-05-24T06:05:08.116Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-24T06:05:08.116Z] ---> Running in 008af43fbf17 [2021-05-24T06:05:08.116Z] Removing intermediate container 008af43fbf17 [2021-05-24T06:05:08.116Z] ---> 734fcd426df2 [2021-05-24T06:05:08.116Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:05:08.116Z] ---> Running in fae440d0f772 [2021-05-24T06:05:10.162Z] Removing intermediate container fae440d0f772 [2021-05-24T06:05:10.162Z] ---> 4237f130b360 [2021-05-24T06:05:10.162Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:05:10.162Z] ---> Running in 76c005ee7d3d [2021-05-24T06:05:10.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:05:10.172Z] 4ebd0625c992: Pull complete [2021-05-24T06:05:10.450Z] 207e8628e3a3: Pull complete [2021-05-24T06:05:10.729Z] c791037a9be2: Pull complete [2021-05-24T06:05:12.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:05:14.121Z] ffd874e62e21: Pull complete [2021-05-24T06:05:14.121Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-24T06:05:14.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-24T06:05:14.121Z] ---> cfc18b08335c [2021-05-24T06:05:14.121Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-24T06:05:16.353Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:05:16.354Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:05:16.354Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:05:16.354Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:05:16.354Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:05:16.354Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:05:16.354Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:05:16.354Z] OK: 8 MiB in 20 packages [2021-05-24T06:05:16.363Z] ---> Running in 86454fea1452 [2021-05-24T06:05:16.643Z] Removing intermediate container 76c005ee7d3d [2021-05-24T06:05:16.643Z] ---> 1d8152ba1a22 [2021-05-24T06:05:16.643Z] Step 17/26 : WORKDIR / [2021-05-24T06:05:16.643Z] ---> Running in 5fbd5ed0a961 [2021-05-24T06:05:16.665Z] Removing intermediate container 86454fea1452 [2021-05-24T06:05:16.665Z] ---> dd7b0193e665 [2021-05-24T06:05:16.665Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:05:16.665Z] ---> Running in d1db102f92aa [2021-05-24T06:05:16.909Z] Removing intermediate container 5fbd5ed0a961 [2021-05-24T06:05:16.910Z] ---> 5d0137d0754c [2021-05-24T06:05:16.910Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-24T06:05:16.910Z] ---> c31aa24e4601 [2021-05-24T06:05:16.910Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-24T06:05:17.172Z] ---> 48c974b46b9c [2021-05-24T06:05:17.172Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-24T06:05:17.441Z] ---> 932f9816d579 [2021-05-24T06:05:17.441Z] Step 21/26 : EXPOSE 59900 [2021-05-24T06:05:17.441Z] ---> Running in 0110f44ff774 [2021-05-24T06:05:17.744Z] Removing intermediate container 0110f44ff774 [2021-05-24T06:05:17.744Z] ---> 1da62d4a16a4 [2021-05-24T06:05:17.744Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-24T06:05:17.744Z] ---> Running in b362624b1a1b [2021-05-24T06:05:17.744Z] Removing intermediate container b362624b1a1b [2021-05-24T06:05:17.744Z] ---> 0d12b7eb1228 [2021-05-24T06:05:17.744Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-24T06:05:17.744Z] ---> Running in d4249a6467fe [2021-05-24T06:05:17.744Z] Removing intermediate container d4249a6467fe [2021-05-24T06:05:17.744Z] ---> 16fe6187a800 [2021-05-24T06:05:17.744Z] Step 24/26 : LABEL arch=amd64 [2021-05-24T06:05:17.744Z] ---> Running in ee3c193b7f1b [2021-05-24T06:05:18.007Z] Removing intermediate container ee3c193b7f1b [2021-05-24T06:05:18.007Z] ---> e650eb2d128e [2021-05-24T06:05:18.007Z] Step 25/26 : LABEL git_sha=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:05:18.007Z] ---> Running in 303ae3fd52d8 [2021-05-24T06:05:18.007Z] Removing intermediate container 303ae3fd52d8 [2021-05-24T06:05:18.007Z] ---> e6733fe83d4c [2021-05-24T06:05:18.007Z] Step 26/26 : LABEL version=0.0.0 [2021-05-24T06:05:18.007Z] ---> Running in f61570a5b061 [2021-05-24T06:05:18.267Z] Removing intermediate container f61570a5b061 [2021-05-24T06:05:18.267Z] ---> 60d1bfa2f95f [2021-05-24T06:05:18.267Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:05:18.267Z] Successfully built 60d1bfa2f95f [2021-05-24T06:05:18.267Z] Successfully tagged device-virtual:latest [Pipeline] } [2021-05-24T06:05:20.393Z] Removing intermediate container d1db102f92aa [2021-05-24T06:05:20.393Z] ---> 70a5c813ead4 [2021-05-24T06:05:20.393Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-24T06:05:20.393Z] ---> Running in e959478fdf9b [2021-05-24T06:05:20.393Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [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-05-24T06:05:21.383Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:05:21.442Z] ---> job-cost.sh [2021-05-24T06:05:21.442Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vTqA [2021-05-24T06:05:21.978Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-24T06:05:22.252Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-24T06:05:22.252Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-24T06:05:22.252Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:05:22.524Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:05:22.524Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-24T06:05:22.524Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:05:24.755Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-24T06:05:24.755Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-24T06:05:24.755Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-24T06:05:24.755Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-24T06:05:24.755Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-24T06:05:24.755Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:05:24.755Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:05:24.755Z] OK: 145 MiB in 53 packages [2021-05-24T06:05:25.034Z] Removing intermediate container e959478fdf9b [2021-05-24T06:05:25.034Z] ---> 9bcb75462025 [2021-05-24T06:05:25.034Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-24T06:05:25.306Z] ---> Running in f7b8cb768eac [2021-05-24T06:05:25.903Z] Removing intermediate container f7b8cb768eac [2021-05-24T06:05:25.903Z] ---> 78b8f94f296f [2021-05-24T06:05:25.903Z] Step 7/8 : COPY . . [2021-05-24T06:05:26.889Z] ---> cbc86b2dd929 [2021-05-24T06:05:26.889Z] Step 8/8 : RUN go mod download [2021-05-24T06:05:27.161Z] ---> Running in ac2471ad0e88 [2021-05-24T06:05:29.750Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:05:42.925Z] lf-activate-venv(): INFO: Adding /tmp/venv-vTqA/bin to PATH [2021-05-24T06:05:42.925Z] INFO: No Stack... [2021-05-24T06:05:43.195Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:05:43.766Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T06:05:44.102Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-24T06:05:44.102Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T06:05:44.157Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] [2021-05-24T06:05:44.165Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] did not exist. Created. [2021-05-24T06:05:44.165Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T06:05:44.581Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-24T06:05:44.697Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:05:44.730Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-24T06:05:53.821Z] Removing intermediate container ac2471ad0e88 [2021-05-24T06:05:53.821Z] ---> 4abb941bb24a [2021-05-24T06:05:53.821Z] Successfully built 4abb941bb24a [2021-05-24T06:05:53.821Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:54.268Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:05:54.268Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:56.538Z] prd-ubuntu18.04-docker-arm64-4c-16g-16372 does not seem to be running inside a container [2021-05-24T06:05:56.635Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-24T06:05:58.412Z] $ docker top 79cdacd7d8b061d35702b09454a554c3647cfdc17550cf9177dfae10191d26a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:06:01.411Z] + go version [2021-05-24T06:06:01.411Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-24T06:06:01.452Z] $ docker stop --time=1 79cdacd7d8b061d35702b09454a554c3647cfdc17550cf9177dfae10191d26a4 [2021-05-24T06:06:04.099Z] $ docker rm -f 79cdacd7d8b061d35702b09454a554c3647cfdc17550cf9177dfae10191d26a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:06:07.186Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:06:07.186Z] . [Pipeline] withDockerContainer [2021-05-24T06:06:11.752Z] prd-ubuntu18.04-docker-arm64-4c-16g-16372 does not seem to be running inside a container [2021-05-24T06:06:11.866Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-24T06:06:13.903Z] $ docker top fc91a1ec2c5f093e1976b838f5dc6f152aef64b33783350160d6e7a02e228320 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:06:18.325Z] + go mod tidy [Pipeline] sh [2021-05-24T06:06:20.592Z] + make test [2021-05-24T06:06:20.592Z] go mod tidy [2021-05-24T06:06:20.592Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-24T06:06:22.837Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-24T06:07:23.890Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-24T06:07:26.621Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.665s coverage: 63.8% of statements [2021-05-24T06:07:26.621Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-24T06:07:58.525Z] gofmt -l . [2021-05-24T06:07:58.525Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:07:58.525Z] ./bin/test-attribution-txt.sh [2021-05-24T06:07:58.525Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-24T06:07:58.854Z] $ docker stop --time=1 fc91a1ec2c5f093e1976b838f5dc6f152aef64b33783350160d6e7a02e228320 [2021-05-24T06:08:01.080Z] $ docker rm -f fc91a1ec2c5f093e1976b838f5dc6f152aef64b33783350160d6e7a02e228320 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T06:08:02.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:08:04.174Z] Warning: overwriting stash ‘coverage-report’ [2021-05-24T06:08:04.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:08:05.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T06:08:08.244Z] + ls -al . [2021-05-24T06:08:08.244Z] total 156 [2021-05-24T06:08:08.244Z] drwxrwxr-x 7 jenkins jenkins 4096 May 24 06:07 . [2021-05-24T06:08:08.244Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:03 .. [2021-05-24T06:08:08.244Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:03 .git [2021-05-24T06:08:08.244Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 .github [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 277 May 24 06:03 .gitignore [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 24 06:03 Attribution.txt [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 24 06:03 Dockerfile [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 998 May 24 06:03 Dockerfile.build [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 660 May 24 06:03 Jenkinsfile [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 06:03 LICENSE [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 905 May 24 06:03 Makefile [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 24 06:03 README.md [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 05:50 VERSION [2021-05-24T06:08:08.244Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 bin [2021-05-24T06:08:08.244Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:03 cmd [2021-05-24T06:08:08.244Z] -rw-r--r-- 1 jenkins jenkins 47247 May 24 06:07 coverage.out [2021-05-24T06:08:08.244Z] -rw-r--r-- 1 jenkins jenkins 809 May 24 06:07 go.mod [2021-05-24T06:08:08.244Z] -rw-r--r-- 1 jenkins jenkins 23431 May 24 06:06 go.sum [2021-05-24T06:08:08.244Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:03 internal [2021-05-24T06:08:08.244Z] -rw-rw-r-- 1 jenkins jenkins 235 May 24 06:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:08:08.661Z] + 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=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 --label arch=arm64 --label version=0.0.0 . [2021-05-24T06:08:08.934Z] Sending build context to Docker daemon 8.663MB [2021-05-24T06:08:09.206Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:08:09.206Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-24T06:08:09.206Z] ---> 4abb941bb24a [2021-05-24T06:08:09.206Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:08:09.479Z] ---> Running in ab9429c82539 [2021-05-24T06:08:10.077Z] Removing intermediate container ab9429c82539 [2021-05-24T06:08:10.077Z] ---> f32410555184 [2021-05-24T06:08:10.077Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:08:10.077Z] ---> Running in 0216d7eac01f [2021-05-24T06:08:10.675Z] Removing intermediate container 0216d7eac01f [2021-05-24T06:08:10.675Z] ---> c2e56e7bed4f [2021-05-24T06:08:10.675Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-24T06:08:10.675Z] ---> Running in ca18f8c1a616 [2021-05-24T06:08:11.282Z] Removing intermediate container ca18f8c1a616 [2021-05-24T06:08:11.282Z] ---> dca951e3e951 [2021-05-24T06:08:11.282Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:08:11.282Z] ---> Running in d22371ca02e9 [2021-05-24T06:08:15.067Z] Removing intermediate container d22371ca02e9 [2021-05-24T06:08:15.067Z] ---> 3890abaedc30 [2021-05-24T06:08:15.067Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:08:15.067Z] ---> Running in bbb3ef0e39bb [2021-05-24T06:08:15.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:16.060Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:17.048Z] OK: 145 MiB in 53 packages [2021-05-24T06:08:18.046Z] Removing intermediate container bbb3ef0e39bb [2021-05-24T06:08:18.046Z] ---> b77d41ac67cc [2021-05-24T06:08:18.046Z] Step 8/26 : COPY . . [2021-05-24T06:08:19.505Z] ---> 75fcfd0e7830 [2021-05-24T06:08:19.505Z] Step 9/26 : RUN go mod tidy [2021-05-24T06:08:19.505Z] ---> Running in a6949968d231 [2021-05-24T06:08:22.451Z] Removing intermediate container a6949968d231 [2021-05-24T06:08:22.451Z] ---> 99aaf68ec425 [2021-05-24T06:08:22.451Z] Step 10/26 : RUN go mod download [2021-05-24T06:08:22.451Z] ---> Running in 9fe4bf559f9c [2021-05-24T06:08:25.079Z] Removing intermediate container 9fe4bf559f9c [2021-05-24T06:08:25.079Z] ---> 5508457d07f9 [2021-05-24T06:08:25.079Z] Step 11/26 : ARG MAKE='make build' [2021-05-24T06:08:25.079Z] ---> Running in bebce406c62d [2021-05-24T06:08:25.674Z] Removing intermediate container bebce406c62d [2021-05-24T06:08:25.674Z] ---> 1d6614231f19 [2021-05-24T06:08:25.674Z] Step 12/26 : RUN $MAKE [2021-05-24T06:08:25.674Z] ---> Running in 158bd469af75 [2021-05-24T06:08:27.104Z] go mod tidy [2021-05-24T06:08:27.707Z] 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-05-24T06:09:19.412Z] Removing intermediate container 158bd469af75 [2021-05-24T06:09:19.412Z] ---> dff53d5e3745 [2021-05-24T06:09:19.412Z] Step 13/26 : FROM alpine:3.12 [2021-05-24T06:09:19.412Z] 3.12: Pulling from library/alpine [2021-05-24T06:09:19.412Z] d2f70382dc9a: Pulling fs layer [2021-05-24T06:09:19.696Z] d2f70382dc9a: Verifying Checksum [2021-05-24T06:09:19.696Z] d2f70382dc9a: Download complete [2021-05-24T06:09:20.300Z] d2f70382dc9a: Pull complete [2021-05-24T06:09:20.300Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:09:20.300Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:09:20.300Z] ---> 9852663dfa18 [2021-05-24T06:09:20.300Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-24T06:09:20.574Z] ---> Running in 3a55fd2b0119 [2021-05-24T06:09:21.172Z] Removing intermediate container 3a55fd2b0119 [2021-05-24T06:09:21.172Z] ---> fc4559e8c8aa [2021-05-24T06:09:21.172Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:09:21.172Z] ---> Running in 3280bb0bd272 [2021-05-24T06:09:23.154Z] Removing intermediate container 3280bb0bd272 [2021-05-24T06:09:23.154Z] ---> 0c5e014bc190 [2021-05-24T06:09:23.154Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:09:23.432Z] ---> Running in f555935a3c26 [2021-05-24T06:09:24.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:09:25.420Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:09:28.415Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:09:28.415Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:09:28.415Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:09:28.415Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:09:28.415Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:09:28.415Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:09:28.415Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:09:28.415Z] OK: 8 MiB in 20 packages [2021-05-24T06:09:28.415Z] Removing intermediate container f555935a3c26 [2021-05-24T06:09:28.415Z] ---> 67c16ce7562f [2021-05-24T06:09:28.415Z] Step 17/26 : WORKDIR / [2021-05-24T06:09:28.415Z] ---> Running in 2bda8c349454 [2021-05-24T06:09:28.415Z] Removing intermediate container 2bda8c349454 [2021-05-24T06:09:28.415Z] ---> 4e6c278c0f34 [2021-05-24T06:09:28.415Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-24T06:09:29.020Z] ---> 3b63411829b1 [2021-05-24T06:09:29.020Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-24T06:09:30.000Z] ---> 135dd8acd6fe [2021-05-24T06:09:30.000Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-24T06:09:32.706Z] ---> d0f6027b5660 [2021-05-24T06:09:32.706Z] Step 21/26 : EXPOSE 59900 [2021-05-24T06:09:32.706Z] ---> Running in 018da5cd3b5f [2021-05-24T06:09:32.706Z] Removing intermediate container 018da5cd3b5f [2021-05-24T06:09:32.706Z] ---> 76e408b626d5 [2021-05-24T06:09:32.706Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-24T06:09:32.706Z] ---> Running in e29037516f56 [2021-05-24T06:09:32.706Z] Removing intermediate container e29037516f56 [2021-05-24T06:09:32.706Z] ---> 070d83fd003e [2021-05-24T06:09:32.706Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-24T06:09:32.706Z] ---> Running in 3a82c7634d3c [2021-05-24T06:09:33.305Z] Removing intermediate container 3a82c7634d3c [2021-05-24T06:09:33.305Z] ---> 340cf1e3baa0 [2021-05-24T06:09:33.305Z] Step 24/26 : LABEL arch=arm64 [2021-05-24T06:09:33.305Z] ---> Running in 4f4c9ff591f5 [2021-05-24T06:09:33.900Z] Removing intermediate container 4f4c9ff591f5 [2021-05-24T06:09:33.900Z] ---> aaba267a7bbb [2021-05-24T06:09:33.900Z] Step 25/26 : LABEL git_sha=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [2021-05-24T06:09:33.900Z] ---> Running in f1175a8cf60d [2021-05-24T06:09:34.494Z] Removing intermediate container f1175a8cf60d [2021-05-24T06:09:34.494Z] ---> f416fe3a4e84 [2021-05-24T06:09:34.494Z] Step 26/26 : LABEL version=0.0.0 [2021-05-24T06:09:34.494Z] ---> Running in d8797c367d81 [2021-05-24T06:09:35.088Z] Removing intermediate container d8797c367d81 [2021-05-24T06:09:35.088Z] ---> adb9345bc8bc [2021-05-24T06:09:35.088Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:09:35.088Z] Successfully built adb9345bc8bc [2021-05-24T06:09:35.088Z] 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-05-24T06:09:38.424Z] ---> job-cost.sh [2021-05-24T06:09:38.424Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cHoL [2021-05-24T06:10:17.313Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:11:49.456Z] lf-activate-venv(): INFO: Adding /tmp/venv-cHoL/bin to PATH [2021-05-24T06:11:49.456Z] INFO: No Stack... [2021-05-24T06:11:49.456Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-24T06:11:49.456Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T06:11:49.914Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-24T06:11:49.914Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T06:11:52.209Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] [2021-05-24T06:11:52.223Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] did not exist. Created. [2021-05-24T06:11:52.223Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T06:11:52.730Z] /w/workspace/device-virtual-go/1@tmp/durable-b433914c/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b433914c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-24T06:11:55.258Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-24T06:11:57.444Z] Warning: overwriting stash ‘stack-cost’ [2021-05-24T06:11:57.658Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:11:57.690Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-212-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-05-24T06:12:05.283Z] provisioning config files... [2021-05-24T06:12:05.292Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-212@tmp/config4714739063224352396tmp [Pipeline] { [Pipeline] sh [2021-05-24T06:12:08.030Z] + set +x [2021-05-24T06:12:08.030Z] + bash -s -- [2021-05-24T06:12:08.030Z] + curl -s https://codecov.io/bash [2021-05-24T06:12:08.030Z] [2021-05-24T06:12:08.030Z] _____ _ [2021-05-24T06:12:08.030Z] / ____| | | [2021-05-24T06:12:08.030Z] | | ___ __| | ___ ___ _____ __ [2021-05-24T06:12:08.030Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-24T06:12:08.030Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-24T06:12:08.030Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-24T06:12:08.030Z] Bash-1.0.2 [2021-05-24T06:12:08.030Z] [2021-05-24T06:12:08.030Z] [2021-05-24T06:12:08.030Z] ==> git version 2.24.4 found [2021-05-24T06:12:08.030Z] ==> 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-05-24T06:12:08.030Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-24T06:12:08.030Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-24T06:12:08.030Z] ==> Jenkins CI detected. [2021-05-24T06:12:08.030Z] project root: . [2021-05-24T06:12:08.030Z] --> token set from env [2021-05-24T06:12:08.030Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-24T06:12:08.030Z] ==> Running gcov in . (disable via -X gcov) [2021-05-24T06:12:08.030Z] ==> Python coveragepy not found [2021-05-24T06:12:08.030Z] ==> Searching for coverage reports in: [2021-05-24T06:12:08.030Z] + . [2021-05-24T06:12:08.030Z] -> Found 1 reports [2021-05-24T06:12:08.030Z] ==> Detecting git/mercurial file structure [2021-05-24T06:12:10.202Z] ==> Reading reports [2021-05-24T06:12:10.202Z] + ./coverage.out bytes=47247 [2021-05-24T06:12:10.202Z] ==> Appending adjustments [2021-05-24T06:12:10.202Z] https://docs.codecov.io/docs/fixing-reports [2021-05-24T06:12:10.202Z] + Found adjustments [2021-05-24T06:12:10.202Z] ==> Gzipping contents [2021-05-24T06:12:10.202Z] 8.0K /tmp/codecov.zvCWLu.gz [2021-05-24T06:12:10.202Z] ==> Uploading reports [2021-05-24T06:12:10.202Z] url: https://codecov.io [2021-05-24T06:12:10.202Z] query: branch=PR-212&commit=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=212&job=&cmd_args= [2021-05-24T06:12:10.202Z] -> Pinging Codecov [2021-05-24T06:12:10.202Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-212&commit=b0657cf9cbe25df80f50a0b4acdf35a82e079ed4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=212&job=&cmd_args= [2021-05-24T06:12:10.202Z] -> Uploading to [2021-05-24T06:12:10.202Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-24/5E52B4B073DB2E39498172D8E973AA87/b0657cf9cbe25df80f50a0b4acdf35a82e079ed4/a327eb7b-6d1a-43e5-87c2-a6cee405642f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210524T061208Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54289d9b8b80fe6a564d62c530be737e84fe619f2e238912ac61d0748ba760ad [2021-05-24T06:12:10.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-24T06:12:10.202Z] Dload Upload Total Spent Left Speed [2021-05-24T06:12:10.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5797 0 0 100 5797 0 18339 --:--:-- --:--:-- --:--:-- 18403 [2021-05-24T06:12:10.202Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b0657cf9cbe25df80f50a0b4acdf35a82e079ed4 [Pipeline] } [2021-05-24T06:12:10.236Z] 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-05-24T06:12:21.174Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:12:21.600Z] ---> package-listing.sh [2021-05-24T06:12:21.600Z] ++ facter osfamily [2021-05-24T06:12:21.600Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-24T06:12:21.863Z] + OS_FAMILY=redhat [2021-05-24T06:12:21.863Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-212 [2021-05-24T06:12:21.863Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-24T06:12:21.863Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-24T06:12:21.863Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-24T06:12:21.863Z] + PACKAGES=/tmp/packages_start.txt [2021-05-24T06:12:21.863Z] + '[' /w/workspace/foundry_device-virtual-go_PR-212 ']' [2021-05-24T06:12:21.863Z] + PACKAGES=/tmp/packages_end.txt [2021-05-24T06:12:21.863Z] + case "${OS_FAMILY}" in [2021-05-24T06:12:21.863Z] + rpm -qa [2021-05-24T06:12:21.863Z] + sort [2021-05-24T06:12:23.954Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-24T06:12:23.954Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-24T06:12:23.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-24T06:12:23.954Z] + '[' /w/workspace/foundry_device-virtual-go_PR-212 ']' [2021-05-24T06:12:23.954Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-212/archives/ [2021-05-24T06:12:23.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-212/archives/ [Pipeline] echo [2021-05-24T06:12:24.006Z] 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-212/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-24T06:12:24.358Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:12:27.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:12:27.133Z] [2021-05-24T06:12:27.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:12:29.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:12:29.498Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-24T06:12:29.498Z] df20fa9351a1: Pulling fs layer [2021-05-24T06:12:29.498Z] 36b3adc4ff6f: Pulling fs layer [2021-05-24T06:12:29.498Z] 8ad3a11d3b57: Pulling fs layer [2021-05-24T06:12:29.498Z] 46f8f816bc3b: Pulling fs layer [2021-05-24T06:12:29.498Z] 93b61091891f: Pulling fs layer [2021-05-24T06:12:29.498Z] 93b9cdb0e59b: Pulling fs layer [2021-05-24T06:12:29.498Z] 5e14af77c1be: Pulling fs layer [2021-05-24T06:12:29.498Z] 01666e4c0597: Pulling fs layer [2021-05-24T06:12:29.498Z] aa168da1d23b: Pulling fs layer [2021-05-24T06:12:29.498Z] 93b9cdb0e59b: Waiting [2021-05-24T06:12:29.498Z] 5e14af77c1be: Waiting [2021-05-24T06:12:29.498Z] 01666e4c0597: Waiting [2021-05-24T06:12:29.498Z] aa168da1d23b: Waiting [2021-05-24T06:12:29.498Z] 46f8f816bc3b: Waiting [2021-05-24T06:12:29.498Z] 93b61091891f: Waiting [2021-05-24T06:12:29.498Z] 36b3adc4ff6f: Verifying Checksum [2021-05-24T06:12:29.498Z] 36b3adc4ff6f: Download complete [2021-05-24T06:12:29.498Z] 46f8f816bc3b: Verifying Checksum [2021-05-24T06:12:29.498Z] 46f8f816bc3b: Download complete [2021-05-24T06:12:29.498Z] df20fa9351a1: Verifying Checksum [2021-05-24T06:12:29.498Z] df20fa9351a1: Download complete [2021-05-24T06:12:29.498Z] 93b9cdb0e59b: Verifying Checksum [2021-05-24T06:12:29.498Z] 93b9cdb0e59b: Download complete [2021-05-24T06:12:29.498Z] 93b61091891f: Verifying Checksum [2021-05-24T06:12:29.498Z] 93b61091891f: Download complete [2021-05-24T06:12:29.498Z] 5e14af77c1be: Verifying Checksum [2021-05-24T06:12:29.498Z] 5e14af77c1be: Download complete [2021-05-24T06:12:29.498Z] 01666e4c0597: Verifying Checksum [2021-05-24T06:12:29.498Z] 01666e4c0597: Download complete [2021-05-24T06:12:29.498Z] df20fa9351a1: Pull complete [2021-05-24T06:12:29.499Z] 8ad3a11d3b57: Verifying Checksum [2021-05-24T06:12:29.499Z] 8ad3a11d3b57: Download complete [2021-05-24T06:12:29.499Z] 36b3adc4ff6f: Pull complete [2021-05-24T06:12:29.778Z] 8ad3a11d3b57: Pull complete [2021-05-24T06:12:32.220Z] 46f8f816bc3b: Pull complete [2021-05-24T06:12:32.220Z] 93b61091891f: Pull complete [2021-05-24T06:12:32.220Z] 93b9cdb0e59b: Pull complete [2021-05-24T06:12:32.220Z] 5e14af77c1be: Pull complete [2021-05-24T06:12:32.220Z] 01666e4c0597: Pull complete [2021-05-24T06:12:32.220Z] aa168da1d23b: Verifying Checksum [2021-05-24T06:12:32.220Z] aa168da1d23b: Download complete [2021-05-24T06:12:38.918Z] aa168da1d23b: Pull complete [2021-05-24T06:12:38.918Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-24T06:12:38.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:12:38.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-24T06:12:39.047Z] prd-centos7-docker-4c-2g-15745 does not seem to be running inside a container [2021-05-24T06:12:39.090Z] $ 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-212/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-212 -v /w/workspace/foundry_device-virtual-go_PR-212:/w/workspace/foundry_device-virtual-go_PR-212:rw,z -v /w/workspace/foundry_device-virtual-go_PR-212@tmp:/w/workspace/foundry_device-virtual-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-24T06:12:59.073Z] $ docker top 7dd22ae51ac7542e28a727e09812fe1121a60286e43e5a82f79ad253422664ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:12:59.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-24T06:13:01.921Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-24T06:13:02.305Z] + ls /var/log/sa-host [2021-05-24T06:13:02.305Z] + sadf -c /var/log/sa-host/sa05 [2021-05-24T06:13:02.305Z] file_magic: OK [2021-05-24T06:13:02.305Z] HZ: Using current value: 100 [2021-05-24T06:13:02.305Z] file_header: OK [2021-05-24T06:13:02.305Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-24T06:13:02.305Z] Statistics: [2021-05-24T06:13:02.305Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:13:02.305Z] File successfully converted to sysstat format version 12.2.1 [2021-05-24T06:13:02.305Z] + sadf -c /var/log/sa-host/sa24 [2021-05-24T06:13:02.305Z] file_magic: OK [2021-05-24T06:13:02.305Z] HZ: Using current value: 100 [2021-05-24T06:13:02.305Z] file_header: OK [2021-05-24T06:13:02.305Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-24T06:13:02.305Z] Statistics: [2021-05-24T06:13:02.305Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:13:02.305Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:13:02.613Z] provisioning config files... [2021-05-24T06:13:02.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-212@tmp/config1918816363145674410tmp [Pipeline] { [Pipeline] echo [2021-05-24T06:13:04.678Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:13:05.052Z] ---> create-netrc.sh [Pipeline] } [2021-05-24T06:13:05.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-24T06:13:05.155Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:13:05.506Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-24T06:13:05.544Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:13:07.944Z] ---> sudo-logs.sh [2021-05-24T06:13:07.944Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-24T06:13:08.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:13:10.401Z] ---> job-cost.sh [2021-05-24T06:13:10.401Z] lf-activate-venv: SKIPPING [2021-05-24T06:13:10.401Z] DEBUG: total: 0.18000000715255737 [2021-05-24T06:13:10.401Z] INFO: Retrieving Stack Cost... [2021-05-24T06:13:10.401Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:13:10.401Z] INFO: Archiving Costs [Pipeline] echo [2021-05-24T06:13:10.449Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:13:10.812Z] ---> logs-deploy.sh [2021-05-24T06:13:10.812Z] lf-activate-venv: SKIPPING [2021-05-24T06:13:10.812Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-212/1 [2021-05-24T06:13:10.812Z] INFO: archiving workspace using pattern(s):