Pull request #213 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from f206bafe19346124d997c674be9af9fa06b846fa+8a7f4322be0982c7f8078a781a398084f2a2a662 (5aee84d655af177b39fa39db6f685f8c09dd5c53) 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-ssh8583229423467146727.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-ssh8747376153041649177.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-213/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-213/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4773017372061257545.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-213/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh195477052744590223.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-ssh8845678317462774804.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-213/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-213/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh847893914803381719.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-46 in /w/workspace/foundry_device-virtual-go_PR-213 [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-213 # 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-213@tmp/jenkins-gitclient-ssh3953816157552623606.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 > 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-213@tmp/jenkins-gitclient-ssh6468626287555489093.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit f206bafe19346124d997c674be9af9fa06b846fa Merge succeeded, producing f206bafe19346124d997c674be9af9fa06b846fa Checking out Revision f206bafe19346124d997c674be9af9fa06b846fa (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # 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-213@tmp/jenkins-gitclient-ssh8023096778273873801.key > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # timeout=10 Commit message: "build: bump SDK version" 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-25T04:03:34.435Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T04:03:34.666Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T04:03:34.791Z] ========================================================= [2021-05-25T04:03:34.791Z] EdgeX Global Pipelines Version Info [2021-05-25T04:03:34.791Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:03:36.259Z] ------------------- [2021-05-25T04:03:36.259Z] stable info: [2021-05-25T04:03:36.259Z] ------------------- [2021-05-25T04:03:36.259Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T04:03:36.259Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T04:03:36.259Z] Message: update stable to v1.0.192 [2021-05-25T04:03:36.835Z] ------------------- [2021-05-25T04:03:36.835Z] experimental info: [2021-05-25T04:03:36.835Z] ------------------- [2021-05-25T04:03:36.835Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T04:03:36.835Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T04:03:36.835Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T04:03:37.793Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-25T04:03:37.911Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-25T04:03:37.974Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T04:03:38.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T04:03:38.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T04:03:38.167Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T04:03:38.228Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T04:03:38.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T04:03:38.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-25T04:03:38.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T04:03:38.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T04:03:38.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-25T04:03:38.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T04:03:38.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T04:03:38.728Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T04:03:38.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T04:03:38.848Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T04:03:38.907Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T04:03:38.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T04:03:39.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T04:03:39.085Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-25T04:03:39.142Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-25T04:03:39.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T04:03:39.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T04:03:39.344Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T04:03:39.406Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T04:03:39.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2021-05-25T04:03:39.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2021-05-25T04:03:39.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2021-05-25T04:03:39.655Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f206bafe19346124d997c674be9af9fa06b846fa [Pipeline] echo [2021-05-25T04:03:39.718Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f206baf [Pipeline] echo [2021-05-25T04:03:39.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:03:39.940Z] provisioning config files... [2021-05-25T04:03:39.958Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-213@tmp/config3534934708964286368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:03:40.327Z] ---> docker-login.sh [2021-05-25T04:03:40.327Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:03:40.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:03:40.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:03:40.589Z] Configure a credential helper to remove this warning. See [2021-05-25T04:03:40.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:03:40.589Z] [2021-05-25T04:03:40.589Z] Login Succeeded [2021-05-25T04:03:40.589Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:03:40.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:03:40.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:03:40.589Z] Configure a credential helper to remove this warning. See [2021-05-25T04:03:40.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:03:40.589Z] [2021-05-25T04:03:40.589Z] Login Succeeded [2021-05-25T04:03:40.589Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:03:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:03:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:03:40.856Z] Configure a credential helper to remove this warning. See [2021-05-25T04:03:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:03:40.856Z] [2021-05-25T04:03:40.856Z] Login Succeeded [2021-05-25T04:03:40.856Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:03:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:03:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:03:40.856Z] Configure a credential helper to remove this warning. See [2021-05-25T04:03:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:03:40.856Z] [2021-05-25T04:03:40.856Z] Login Succeeded [2021-05-25T04:03:40.856Z] docker.io [2021-05-25T04:03:41.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:03:41.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:03:41.387Z] Configure a credential helper to remove this warning. See [2021-05-25T04:03:41.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:03:41.387Z] [2021-05-25T04:03:41.387Z] Login Succeeded [2021-05-25T04:03:41.387Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:03:41.409Z] 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-25T04:03:42.136Z] + git log --format=format:%s -1 f206bafe19346124d997c674be9af9fa06b846fa [Pipeline] echo [2021-05-25T04:03:42.190Z] GIT_COMMIT: f206bafe19346124d997c674be9af9fa06b846fa, Commit Message: build: bump SDK version [Pipeline] echo [2021-05-25T04:03:42.235Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:03:43.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:03:43.252Z] [2021-05-25T04:03:43.252Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:03:43.603Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:03:43.604Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T04:03:43.604Z] 31603596830f: Pulling fs layer [2021-05-25T04:03:43.604Z] 54011a49482f: Pulling fs layer [2021-05-25T04:03:43.604Z] a6820b24f6d8: Pulling fs layer [2021-05-25T04:03:43.604Z] f581987b2513: Pulling fs layer [2021-05-25T04:03:43.604Z] f581987b2513: Waiting [2021-05-25T04:03:43.604Z] 54011a49482f: Verifying Checksum [2021-05-25T04:03:43.604Z] 54011a49482f: Download complete [2021-05-25T04:03:43.866Z] 31603596830f: Verifying Checksum [2021-05-25T04:03:43.866Z] 31603596830f: Download complete [2021-05-25T04:03:43.866Z] a6820b24f6d8: Verifying Checksum [2021-05-25T04:03:43.866Z] a6820b24f6d8: Download complete [2021-05-25T04:03:43.866Z] 31603596830f: Pull complete [2021-05-25T04:03:43.866Z] f581987b2513: Verifying Checksum [2021-05-25T04:03:43.866Z] f581987b2513: Download complete [2021-05-25T04:03:44.134Z] 54011a49482f: Pull complete [2021-05-25T04:03:44.712Z] a6820b24f6d8: Pull complete [2021-05-25T04:03:44.973Z] f581987b2513: Pull complete [2021-05-25T04:03:44.973Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T04:03:44.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:03:44.973Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T04:03:45.080Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-05-25T04:03:45.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-213 -v /w/workspace/foundry_device-virtual-go_PR-213:/w/workspace/foundry_device-virtual-go_PR-213:rw,z -v /w/workspace/foundry_device-virtual-go_PR-213@tmp:/w/workspace/foundry_device-virtual-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T04:03:46.005Z] $ docker top 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T04:03:46.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:03:46.249Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:03:46.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:03:46.369Z] $ docker exec 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 ssh-agent [2021-05-25T04:03:46.486Z] SSH_AUTH_SOCK=/tmp/ssh-OLQPiP0gNApC/agent.15 [2021-05-25T04:03:46.486Z] SSH_AGENT_PID=21 [2021-05-25T04:03:46.494Z] Running ssh-add (command line suppressed) [2021-05-25T04:03:46.593Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-213@tmp/private_key_5112197639460406963.key (/w/workspace/foundry_device-virtual-go_PR-213@tmp/private_key_5112197639460406963.key) [2021-05-25T04:03:46.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:03:46.971Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T04:03:46.990Z] $ docker exec --env ******** --env ******** 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 ssh-agent -k [2021-05-25T04:03:47.092Z] unset SSH_AUTH_SOCK; [2021-05-25T04:03:47.093Z] unset SSH_AGENT_PID; [2021-05-25T04:03:47.093Z] echo Agent pid 21 killed; [2021-05-25T04:03:47.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T04:03:47.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:03:47.204Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:03:47.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:03:47.314Z] $ docker exec 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 ssh-agent [2021-05-25T04:03:47.423Z] SSH_AUTH_SOCK=/tmp/ssh-eGZsG4S50LgQ/agent.53 [2021-05-25T04:03:47.423Z] SSH_AGENT_PID=60 [2021-05-25T04:03:47.429Z] Running ssh-add (command line suppressed) [2021-05-25T04:03:47.522Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-213@tmp/private_key_4227383128999246359.key (/w/workspace/foundry_device-virtual-go_PR-213@tmp/private_key_4227383128999246359.key) [2021-05-25T04:03:47.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:03:47.905Z] + git semver init [2021-05-25T04:03:47.906Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T04:03:47.906Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-213/.git [2021-05-25T04:03:47.906Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-213 [2021-05-25T04:03:47.906Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T04:03:47.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T04:03:47.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T04:03:47.906Z] # $SEMVER_BRANCH = PR-213 [2021-05-25T04:03:47.906Z] # $SEMVER_TEMP = /tmp/semver-049471429 [2021-05-25T04:03:47.906Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-25T04:03:48.868Z] # '/tmp/semver-049471429' -> '/w/workspace/foundry_device-virtual-go_PR-213/.semver' [2021-05-25T04:03:48.868Z] # -> Force: false [2021-05-25T04:03:48.868Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-213/.semver [Pipeline] } [2021-05-25T04:03:48.884Z] $ docker exec --env ******** --env ******** 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 ssh-agent -k [2021-05-25T04:03:48.980Z] unset SSH_AUTH_SOCK; [2021-05-25T04:03:48.983Z] unset SSH_AGENT_PID; [2021-05-25T04:03:48.983Z] echo Agent pid 60 killed; [2021-05-25T04:03:49.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T04:03:49.437Z] + git semver [Pipeline] } [2021-05-25T04:03:49.463Z] $ docker stop --time=1 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 [2021-05-25T04:03:50.746Z] $ docker rm -f 7c54777372a571f9e09b359859597422dc39163337573aa46a1eedcb7d6da2e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:03:51.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T04:03:51.458Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T04:03:51.480Z] [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-25T04:04:06.982Z] Still waiting to schedule task [2021-05-25T04:04:06.982Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T04:04:07.007Z] Still waiting to schedule task [2021-05-25T04:04:07.007Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-39’ [2021-05-25T04:06:21.750Z] Running on prd-centos7-docker-4c-2g-49 in /w/workspace/foundry_device-virtual-go_PR-213 [Pipeline] { [Pipeline] ws [2021-05-25T04:06:21.807Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T04:06:21.966Z] Selected Git installation does not exist. Using Default [2021-05-25T04:06:21.966Z] The recommended git tool is: NONE [2021-05-25T04:06:24.384Z] using credential edgex-jenkins-ssh [2021-05-25T04:06:24.399Z] Cloning the remote Git repository [2021-05-25T04:06:24.661Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:06:24.726Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-25T04:06:24.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:06:24.753Z] > git --version # timeout=10 [2021-05-25T04:06:24.763Z] > git --version # 'git version 2.24.4' [2021-05-25T04:06:24.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:06:24.793Z] [INFO] Currently running in a labeled security context [2021-05-25T04:06:24.793Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T04:06:24.793Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh8584505271880602965.key [2021-05-25T04:06:24.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:06:25.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:06:25.594Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:06:25.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:06:25.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:06:25.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:06:25.627Z] [INFO] Currently running in a labeled security context [2021-05-25T04:06:25.627Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T04:06:25.627Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4823779499960218217.key [2021-05-25T04:06:25.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T04:06:25.871Z] Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:06:25.967Z] Merge succeeded, producing f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:06:25.967Z] Checking out Revision f206bafe19346124d997c674be9af9fa06b846fa (PR-213) [2021-05-25T04:06:26.122Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:06:26.129Z] > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # timeout=10 [2021-05-25T04:06:26.161Z] > git remote # timeout=10 [2021-05-25T04:06:26.166Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T04:06:26.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:06:26.172Z] [INFO] Currently running in a labeled security context [2021-05-25T04:06:26.172Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T04:06:26.173Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2277230054974792013.key [2021-05-25T04:06:26.180Z] > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-25T04:06:26.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T04:06:26.203Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:06:26.209Z] > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # timeout=10 [2021-05-25T04:06:29.770Z] Commit message: "build: bump SDK version" [2021-05-25T04:06:29.803Z] > git --version # timeout=10 [2021-05-25T04:06:29.815Z] > git --version # 'git version 2.24.4' [2021-05-25T04:06:29.824Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:06:31.144Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:06:31.498Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:06:31.832Z] + true [2021-05-25T04:06:31.832Z] + sudo service docker restart [2021-05-25T04:06:31.832Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:06:50.105Z] provisioning config files... [2021-05-25T04:06:50.125Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config89992369566214395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:06:50.521Z] ---> docker-login.sh [2021-05-25T04:06:50.521Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:06:50.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:06:50.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:06:50.787Z] Configure a credential helper to remove this warning. See [2021-05-25T04:06:50.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:06:50.787Z] [2021-05-25T04:06:50.787Z] Login Succeeded [2021-05-25T04:06:50.787Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:06:50.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:06:50.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:06:50.787Z] Configure a credential helper to remove this warning. See [2021-05-25T04:06:50.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:06:50.787Z] [2021-05-25T04:06:50.787Z] Login Succeeded [2021-05-25T04:06:50.787Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:06:51.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:06:51.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:06:51.051Z] Configure a credential helper to remove this warning. See [2021-05-25T04:06:51.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:06:51.051Z] [2021-05-25T04:06:51.051Z] Login Succeeded [2021-05-25T04:06:51.051Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:06:51.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:06:51.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:06:51.051Z] Configure a credential helper to remove this warning. See [2021-05-25T04:06:51.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:06:51.051Z] [2021-05-25T04:06:51.051Z] Login Succeeded [2021-05-25T04:06:51.051Z] docker.io [2021-05-25T04:06:51.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:06:51.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:06:51.575Z] Configure a credential helper to remove this warning. See [2021-05-25T04:06:51.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:06:51.575Z] [2021-05-25T04:06:51.575Z] Login Succeeded [2021-05-25T04:06:51.575Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:06:51.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T04:06:51.900Z] ========================================================= [2021-05-25T04:06:51.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T04:06:51.900Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:06:52.273Z] + 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-25T04:06:52.273Z] Sending build context to Docker daemon 8.602MB [2021-05-25T04:06:52.273Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:06:52.273Z] Step 2/8 : FROM ${BASE} [2021-05-25T04:06:52.273Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T04:06:52.273Z] 540db60ca938: Pulling fs layer [2021-05-25T04:06:52.273Z] adcc1eea9eea: Pulling fs layer [2021-05-25T04:06:52.273Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T04:06:52.273Z] 0510c868ecb4: Pulling fs layer [2021-05-25T04:06:52.273Z] afea3b2eda06: Pulling fs layer [2021-05-25T04:06:52.273Z] 7809a108b3ef: Pulling fs layer [2021-05-25T04:06:52.273Z] f706445af74f: Pulling fs layer [2021-05-25T04:06:52.273Z] afea3b2eda06: Waiting [2021-05-25T04:06:52.273Z] 7809a108b3ef: Waiting [2021-05-25T04:06:52.273Z] f706445af74f: Waiting [2021-05-25T04:06:52.273Z] 0510c868ecb4: Waiting [2021-05-25T04:06:52.536Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T04:06:52.536Z] 4c4ab2625f07: Download complete [2021-05-25T04:06:52.536Z] adcc1eea9eea: Verifying Checksum [2021-05-25T04:06:52.536Z] adcc1eea9eea: Download complete [2021-05-25T04:06:52.536Z] afea3b2eda06: Verifying Checksum [2021-05-25T04:06:52.536Z] afea3b2eda06: Download complete [2021-05-25T04:06:52.536Z] 540db60ca938: Verifying Checksum [2021-05-25T04:06:52.536Z] 540db60ca938: Download complete [2021-05-25T04:06:52.536Z] 7809a108b3ef: Verifying Checksum [2021-05-25T04:06:52.536Z] 7809a108b3ef: Download complete [2021-05-25T04:06:52.798Z] 540db60ca938: Pull complete [2021-05-25T04:06:52.798Z] adcc1eea9eea: Pull complete [2021-05-25T04:06:53.060Z] 4c4ab2625f07: Pull complete [2021-05-25T04:06:54.978Z] f706445af74f: Verifying Checksum [2021-05-25T04:06:54.978Z] f706445af74f: Download complete [2021-05-25T04:06:54.978Z] 0510c868ecb4: Verifying Checksum [2021-05-25T04:06:54.978Z] 0510c868ecb4: Download complete [2021-05-25T04:06:58.306Z] 0510c868ecb4: Pull complete [2021-05-25T04:06:58.306Z] afea3b2eda06: Pull complete [2021-05-25T04:06:58.306Z] 7809a108b3ef: Pull complete [2021-05-25T04:06:59.732Z] f706445af74f: Pull complete [2021-05-25T04:06:59.732Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T04:06:59.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T04:06:59.732Z] ---> b068be0155e3 [2021-05-25T04:06:59.732Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-25T04:07:03.063Z] ---> Running in 6c71c64fdb9d [2021-05-25T04:07:03.063Z] Removing intermediate container 6c71c64fdb9d [2021-05-25T04:07:03.063Z] ---> ddb0f815222f [2021-05-25T04:07:03.063Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:07:03.063Z] ---> Running in c8bd35c2bf82 [2021-05-25T04:07:03.650Z] Removing intermediate container c8bd35c2bf82 [2021-05-25T04:07:03.650Z] ---> 5e941b721b55 [2021-05-25T04:07:03.650Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T04:07:03.650Z] ---> Running in 2a76e85e8df5 [2021-05-25T04:07:03.915Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:07:04.861Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:07:05.123Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T04:07:05.124Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T04:07:05.388Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T04:07:05.652Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T04:07:05.652Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T04:07:05.652Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T04:07:05.912Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-25T04:07:06.173Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-25T04:07:06.174Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T04:07:06.174Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T04:07:06.435Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-25T04:07:06.435Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T04:07:06.435Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T04:07:06.697Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T04:07:06.697Z] OK: 156 MiB in 53 packages [2021-05-25T04:07:06.965Z] Removing intermediate container 2a76e85e8df5 [2021-05-25T04:07:06.965Z] ---> 964955bb5c6b [2021-05-25T04:07:06.965Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-25T04:07:06.965Z] ---> Running in c0e17e3f5c6b [2021-05-25T04:07:07.227Z] Removing intermediate container c0e17e3f5c6b [2021-05-25T04:07:07.227Z] ---> 0923d6e604f9 [2021-05-25T04:07:07.227Z] Step 7/8 : COPY . . [2021-05-25T04:07:07.489Z] ---> 3731fc511e73 [2021-05-25T04:07:07.489Z] Step 8/8 : RUN go mod download [2021-05-25T04:07:07.489Z] ---> Running in f0b825f0be78 [2021-05-25T04:07:19.211Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-48 in /w/workspace/foundry_device-virtual-go_PR-213 [Pipeline] { [Pipeline] ws [2021-05-25T04:07:19.282Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T04:07:19.551Z] Selected Git installation does not exist. Using Default [2021-05-25T04:07:19.551Z] The recommended git tool is: NONE [2021-05-25T04:07:22.450Z] Removing intermediate container f0b825f0be78 [2021-05-25T04:07:22.450Z] ---> a95ed9b7c629 [2021-05-25T04:07:22.450Z] Successfully built a95ed9b7c629 [2021-05-25T04:07:22.450Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:07:22.811Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T04:07:22.811Z] . [Pipeline] withDockerContainer [2021-05-25T04:07:22.926Z] prd-centos7-docker-4c-2g-49 does not seem to be running inside a container [2021-05-25T04:07:22.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T04:07:23.330Z] $ docker top c3e67620f90a43e29efe0556a2c660f0ced81638a9ed1eafbc62a0a20c1acb5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:07:23.785Z] + go version [2021-05-25T04:07:23.785Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T04:07:23.814Z] $ docker stop --time=1 c3e67620f90a43e29efe0556a2c660f0ced81638a9ed1eafbc62a0a20c1acb5e [2021-05-25T04:07:24.989Z] $ docker rm -f c3e67620f90a43e29efe0556a2c660f0ced81638a9ed1eafbc62a0a20c1acb5e [2021-05-25T04:07:25.061Z] using credential edgex-jenkins-ssh [2021-05-25T04:07:25.091Z] Cloning the remote Git repository [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:07:25.178Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:07:25.302Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-25T04:07:25.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:07:25.413Z] > git --version # timeout=10 [2021-05-25T04:07:25.460Z] > git --version # 'git version 2.17.1' [2021-05-25T04:07:25.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:07:25.531Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:07:25.715Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T04:07:25.715Z] . [Pipeline] withDockerContainer [2021-05-25T04:07:25.816Z] prd-centos7-docker-4c-2g-49 does not seem to be running inside a container [2021-05-25T04:07:25.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T04:07:26.240Z] $ docker top 0efc6f2a14957e60631ce23e4ce8fd8f65331fdfe6a9af931a5913dc7a646b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:07:26.678Z] + go mod tidy [Pipeline] sh [2021-05-25T04:07:27.261Z] + make test [2021-05-25T04:07:27.261Z] go mod tidy [2021-05-25T04:07:27.261Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T04:07:27.844Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-25T04:07:27.906Z] Merging remotes/origin/master commit 8a7f4322be0982c7f8078a781a398084f2a2a662 into PR head commit f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:07:28.082Z] Merge succeeded, producing f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:07:28.083Z] Checking out Revision f206bafe19346124d997c674be9af9fa06b846fa (PR-213) [2021-05-25T04:07:27.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:07:27.237Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:07:27.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:07:27.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:07:27.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:07:27.325Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T04:07:27.924Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:07:27.936Z] > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # timeout=10 [2021-05-25T04:07:28.006Z] > git remote # timeout=10 [2021-05-25T04:07:28.024Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T04:07:28.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:07:28.046Z] > git merge 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-25T04:07:28.067Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T04:07:28.087Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:07:28.113Z] > git checkout -f f206bafe19346124d997c674be9af9fa06b846fa # timeout=10 [2021-05-25T04:07:32.295Z] Commit message: "build: bump SDK version" [2021-05-25T04:07:32.351Z] > git --version # timeout=10 [2021-05-25T04:07:32.367Z] > git --version # 'git version 2.17.1' [2021-05-25T04:07:32.381Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:07:33.872Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:07:34.293Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:07:34.659Z] + sudo service docker restart [2021-05-25T04:07:34.659Z] + true [2021-05-25T04:07:46.087Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-25T04:07:47.035Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.265s coverage: 63.8% of statements [2021-05-25T04:07:47.035Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:07:53.070Z] provisioning config files... [2021-05-25T04:07:53.098Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3753268012379499534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:07:53.533Z] ---> docker-login.sh [2021-05-25T04:07:53.534Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:07:54.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:07:54.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:07:54.799Z] Configure a credential helper to remove this warning. See [2021-05-25T04:07:54.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:07:54.799Z] [2021-05-25T04:07:54.799Z] Login Succeeded [2021-05-25T04:07:54.799Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:07:55.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:07:55.207Z] gofmt -l . [2021-05-25T04:07:55.207Z] [ "`gofmt -l .`" = "" ] [2021-05-25T04:07:55.207Z] ./bin/test-attribution-txt.sh [2021-05-25T04:07:55.207Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T04:07:55.260Z] $ docker stop --time=1 0efc6f2a14957e60631ce23e4ce8fd8f65331fdfe6a9af931a5913dc7a646b59 [2021-05-25T04:07:55.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:07:55.345Z] Configure a credential helper to remove this warning. See [2021-05-25T04:07:55.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:07:55.346Z] [2021-05-25T04:07:55.346Z] Login Succeeded [2021-05-25T04:07:55.346Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:07:55.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:07:55.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:07:55.895Z] Configure a credential helper to remove this warning. See [2021-05-25T04:07:55.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:07:55.895Z] [2021-05-25T04:07:55.895Z] Login Succeeded [2021-05-25T04:07:55.895Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:07:56.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:07:56.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:07:56.441Z] Configure a credential helper to remove this warning. See [2021-05-25T04:07:56.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:07:56.441Z] [2021-05-25T04:07:56.441Z] Login Succeeded [2021-05-25T04:07:56.441Z] docker.io [2021-05-25T04:07:56.660Z] $ docker rm -f 0efc6f2a14957e60631ce23e4ce8fd8f65331fdfe6a9af931a5913dc7a646b59 [2021-05-25T04:07:56.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:07:57.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T04:07:57.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:07:57.313Z] Configure a credential helper to remove this warning. See [2021-05-25T04:07:57.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:07:57.313Z] [2021-05-25T04:07:57.313Z] Login Succeeded [2021-05-25T04:07:57.313Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:07:57.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-25T04:07:57.429Z] Stashed 1 file(s) [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] echo [2021-05-25T04:07:59.908Z] ========================================================= [2021-05-25T04:07:59.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T04:07:59.908Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:08:00.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T04:08:00.299Z] + 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-25T04:08:00.452Z] + ls -al . [2021-05-25T04:08:00.452Z] total 132 [2021-05-25T04:08:00.452Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 25 04:07 . [2021-05-25T04:08:00.452Z] drwxrwxr-x. 4 jenkins jenkins 28 May 25 04:06 .. [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 25 04:06 Attribution.txt [2021-05-25T04:08:00.452Z] drwxrwxr-x. 2 jenkins jenkins 64 May 25 04:06 bin [2021-05-25T04:08:00.452Z] drwxrwxr-x. 3 jenkins jenkins 32 May 25 04:06 cmd [2021-05-25T04:08:00.452Z] -rw-r--r--. 1 jenkins jenkins 47247 May 25 04:07 coverage.out [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 25 04:06 Dockerfile [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 998 May 25 04:06 Dockerfile.build [2021-05-25T04:08:00.452Z] drwxrwxr-x. 8 jenkins jenkins 179 May 25 04:06 .git [2021-05-25T04:08:00.452Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 04:06 .github [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 277 May 25 04:06 .gitignore [2021-05-25T04:08:00.452Z] -rw-r--r--. 1 jenkins jenkins 809 May 25 04:07 go.mod [2021-05-25T04:08:00.452Z] -rw-r--r--. 1 jenkins jenkins 23431 May 25 04:07 go.sum [2021-05-25T04:08:00.452Z] drwxrwxr-x. 3 jenkins jenkins 20 May 25 04:06 internal [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 660 May 25 04:06 Jenkinsfile [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 25 04:06 LICENSE [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 905 May 25 04:06 Makefile [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 25 04:06 README.md [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 5 May 25 04:03 VERSION [2021-05-25T04:08:00.452Z] -rw-rw-r--. 1 jenkins jenkins 235 May 25 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:08:00.794Z] + 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=f206bafe19346124d997c674be9af9fa06b846fa --label arch=amd64 --label version=0.0.0 . [2021-05-25T04:08:00.794Z] Sending build context to Docker daemon 8.674MB [2021-05-25T04:08:00.794Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:08:00.794Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-25T04:08:00.794Z] ---> a95ed9b7c629 [2021-05-25T04:08:00.794Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T04:08:00.794Z] ---> Running in 7ac274c14406 [2021-05-25T04:08:00.895Z] Sending build context to Docker daemon 8.601MB [2021-05-25T04:08:00.895Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:08:00.895Z] Step 2/8 : FROM ${BASE} [2021-05-25T04:08:01.057Z] Removing intermediate container 7ac274c14406 [2021-05-25T04:08:01.057Z] ---> 09d4c72dd107 [2021-05-25T04:08:01.057Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T04:08:01.057Z] ---> Running in 45ccfc201334 [2021-05-25T04:08:01.057Z] Removing intermediate container 45ccfc201334 [2021-05-25T04:08:01.057Z] ---> e1772d969059 [2021-05-25T04:08:01.057Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-25T04:08:01.057Z] ---> Running in 61b98f874236 [2021-05-25T04:08:01.057Z] Removing intermediate container 61b98f874236 [2021-05-25T04:08:01.057Z] ---> 3b2fbabe806b [2021-05-25T04:08:01.057Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:08:01.171Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T04:08:01.171Z] 595b0fe564bb: Pulling fs layer [2021-05-25T04:08:01.171Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T04:08:01.171Z] 316046926c0a: Pulling fs layer [2021-05-25T04:08:01.171Z] 4ebd0625c992: Pulling fs layer [2021-05-25T04:08:01.171Z] 207e8628e3a3: Pulling fs layer [2021-05-25T04:08:01.171Z] c791037a9be2: Pulling fs layer [2021-05-25T04:08:01.171Z] ffd874e62e21: Pulling fs layer [2021-05-25T04:08:01.171Z] 4ebd0625c992: Waiting [2021-05-25T04:08:01.171Z] 207e8628e3a3: Waiting [2021-05-25T04:08:01.171Z] c791037a9be2: Waiting [2021-05-25T04:08:01.171Z] ffd874e62e21: Waiting [2021-05-25T04:08:01.171Z] 316046926c0a: Verifying Checksum [2021-05-25T04:08:01.171Z] 316046926c0a: Download complete [2021-05-25T04:08:01.171Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T04:08:01.171Z] 7186ed65a4f7: Download complete [2021-05-25T04:08:01.171Z] 207e8628e3a3: Download complete [2021-05-25T04:08:01.171Z] c791037a9be2: Verifying Checksum [2021-05-25T04:08:01.171Z] c791037a9be2: Download complete [2021-05-25T04:08:01.171Z] 595b0fe564bb: Verifying Checksum [2021-05-25T04:08:01.171Z] 595b0fe564bb: Download complete [2021-05-25T04:08:01.324Z] ---> Running in b146d5da2b5d [2021-05-25T04:08:01.589Z] Removing intermediate container b146d5da2b5d [2021-05-25T04:08:01.589Z] ---> 80f67565e182 [2021-05-25T04:08:01.589Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T04:08:01.589Z] ---> Running in bbc1ba07c027 [2021-05-25T04:08:01.771Z] 595b0fe564bb: Pull complete [2021-05-25T04:08:01.852Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:08:02.388Z] 7186ed65a4f7: Pull complete [2021-05-25T04:08:02.992Z] 316046926c0a: Pull complete [2021-05-25T04:08:03.236Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:08:03.600Z] ffd874e62e21: Verifying Checksum [2021-05-25T04:08:03.600Z] ffd874e62e21: Download complete [2021-05-25T04:08:03.811Z] OK: 156 MiB in 53 packages [2021-05-25T04:08:04.072Z] Removing intermediate container bbc1ba07c027 [2021-05-25T04:08:04.072Z] ---> d552ab7db637 [2021-05-25T04:08:04.072Z] Step 8/26 : COPY . . [2021-05-25T04:08:04.334Z] ---> fa8f71b2d4bc [2021-05-25T04:08:04.334Z] Step 9/26 : RUN go mod tidy [2021-05-25T04:08:04.334Z] ---> Running in 1d86440b864a [2021-05-25T04:08:04.926Z] Removing intermediate container 1d86440b864a [2021-05-25T04:08:04.926Z] ---> 4ae2928ab04d [2021-05-25T04:08:04.926Z] Step 10/26 : RUN go mod download [2021-05-25T04:08:04.926Z] ---> Running in b4db526083f8 [2021-05-25T04:08:05.026Z] 4ebd0625c992: Verifying Checksum [2021-05-25T04:08:05.027Z] 4ebd0625c992: Download complete [2021-05-25T04:08:05.505Z] Removing intermediate container b4db526083f8 [2021-05-25T04:08:05.505Z] ---> c8b28c08dac2 [2021-05-25T04:08:05.505Z] Step 11/26 : ARG MAKE='make build' [2021-05-25T04:08:05.505Z] ---> Running in aaeee78be741 [2021-05-25T04:08:05.505Z] Removing intermediate container aaeee78be741 [2021-05-25T04:08:05.505Z] ---> 7756c40fa3d4 [2021-05-25T04:08:05.505Z] Step 12/26 : RUN $MAKE [2021-05-25T04:08:05.505Z] ---> Running in f22b79013568 [2021-05-25T04:08:05.776Z] go mod tidy [2021-05-25T04:08:06.048Z] 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-25T04:08:17.459Z] 4ebd0625c992: Pull complete [2021-05-25T04:08:17.459Z] 207e8628e3a3: Pull complete [2021-05-25T04:08:17.459Z] c791037a9be2: Pull complete [2021-05-25T04:08:20.105Z] ffd874e62e21: Pull complete [2021-05-25T04:08:20.106Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T04:08:20.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T04:08:20.106Z] ---> cfc18b08335c [2021-05-25T04:08:20.106Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-25T04:08:20.723Z] ---> Running in 1192faf5b5b5 [2021-05-25T04:08:21.321Z] Removing intermediate container 1192faf5b5b5 [2021-05-25T04:08:21.321Z] ---> 283f405df36e [2021-05-25T04:08:21.321Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:08:21.321Z] ---> Running in bc3315b9b0bb [2021-05-25T04:08:23.949Z] Removing intermediate container bc3315b9b0bb [2021-05-25T04:08:23.949Z] ---> 089f1c2d4094 [2021-05-25T04:08:23.949Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T04:08:23.949Z] ---> Running in 9fb890981f73 [2021-05-25T04:08:24.259Z] Removing intermediate container f22b79013568 [2021-05-25T04:08:24.259Z] ---> 68fe8d7bbb43 [2021-05-25T04:08:24.259Z] Step 13/26 : FROM alpine:3.12 [2021-05-25T04:08:24.259Z] 3.12: Pulling from library/alpine [2021-05-25T04:08:24.259Z] 339de151aab4: Pulling fs layer [2021-05-25T04:08:24.259Z] 339de151aab4: Verifying Checksum [2021-05-25T04:08:24.259Z] 339de151aab4: Download complete [2021-05-25T04:08:24.259Z] 339de151aab4: Pull complete [2021-05-25T04:08:24.259Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T04:08:24.259Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T04:08:24.259Z] ---> 13621d1b12d4 [2021-05-25T04:08:24.259Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-25T04:08:24.259Z] ---> Running in 0b0773e750de [2021-05-25T04:08:24.259Z] Removing intermediate container 0b0773e750de [2021-05-25T04:08:24.259Z] ---> 09add0078844 [2021-05-25T04:08:24.259Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:08:24.259Z] ---> Running in f56527fb44b3 [2021-05-25T04:08:24.259Z] Removing intermediate container f56527fb44b3 [2021-05-25T04:08:24.259Z] ---> b83f59cfddf7 [2021-05-25T04:08:24.259Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T04:08:24.259Z] ---> Running in 793605ea269e [2021-05-25T04:08:24.259Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:08:24.259Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:08:24.259Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T04:08:24.259Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T04:08:24.259Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T04:08:24.524Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T04:08:24.928Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:08:25.467Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T04:08:25.468Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T04:08:25.468Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T04:08:25.468Z] OK: 8 MiB in 20 packages [2021-05-25T04:08:25.733Z] Removing intermediate container 793605ea269e [2021-05-25T04:08:25.733Z] ---> 82c792027d71 [2021-05-25T04:08:25.733Z] Step 17/26 : WORKDIR / [2021-05-25T04:08:25.733Z] ---> Running in 3d3a6c1c1725 [2021-05-25T04:08:25.733Z] Removing intermediate container 3d3a6c1c1725 [2021-05-25T04:08:25.733Z] ---> 46b718b33dd2 [2021-05-25T04:08:25.733Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-25T04:08:25.905Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:08:25.993Z] ---> 9510699dad70 [2021-05-25T04:08:25.993Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-25T04:08:26.253Z] ---> 6a4d14fc6cfe [2021-05-25T04:08:26.253Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-25T04:08:26.501Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T04:08:26.502Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T04:08:26.513Z] ---> 3d4565a834a1 [2021-05-25T04:08:26.513Z] Step 21/26 : EXPOSE 59900 [2021-05-25T04:08:26.513Z] ---> Running in 220af1f28df8 [2021-05-25T04:08:26.774Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T04:08:26.774Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T04:08:26.774Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T04:08:26.782Z] Removing intermediate container 220af1f28df8 [2021-05-25T04:08:26.782Z] ---> a72e7b545dbd [2021-05-25T04:08:26.782Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-25T04:08:26.782Z] ---> Running in 60b875160480 [2021-05-25T04:08:26.782Z] Removing intermediate container 60b875160480 [2021-05-25T04:08:26.782Z] ---> 4c18a904e37a [2021-05-25T04:08:26.782Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T04:08:26.782Z] ---> Running in 3eaaec4d2ead [2021-05-25T04:08:26.782Z] Removing intermediate container 3eaaec4d2ead [2021-05-25T04:08:26.782Z] ---> 5e5e0919f061 [2021-05-25T04:08:26.782Z] Step 24/26 : LABEL arch=amd64 [2021-05-25T04:08:26.782Z] ---> Running in 4cd72a092ab8 [2021-05-25T04:08:27.043Z] Removing intermediate container 4cd72a092ab8 [2021-05-25T04:08:27.043Z] ---> e11126bf1cb6 [2021-05-25T04:08:27.043Z] Step 25/26 : LABEL git_sha=f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:08:27.043Z] ---> Running in a1630ffa0ce0 [2021-05-25T04:08:27.043Z] Removing intermediate container a1630ffa0ce0 [2021-05-25T04:08:27.043Z] ---> b588b0a8835a [2021-05-25T04:08:27.043Z] Step 26/26 : LABEL version=0.0.0 [2021-05-25T04:08:27.043Z] ---> Running in 253c40b6c56f [2021-05-25T04:08:27.043Z] Removing intermediate container 253c40b6c56f [2021-05-25T04:08:27.043Z] ---> a6d760957d88 [2021-05-25T04:08:27.043Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T04:08:27.043Z] Successfully built a6d760957d88 [2021-05-25T04:08:27.043Z] Successfully tagged device-virtual:latest [2021-05-25T04:08:27.054Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T04:08:27.054Z] (7/13) Installing openssh-client (8.4_p1-r3) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-05-25T04:08:27.326Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-05-25T04:08:27.601Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T04:08:27.601Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T04:08:27.601Z] (11/13) Installing openssh (8.4_p1-r3) [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:08:27.877Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T04:08:27.877Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T04:08:27.877Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T04:08:28.004Z] ---> job-cost.sh [2021-05-25T04:08:28.004Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2orK [2021-05-25T04:08:28.152Z] OK: 145 MiB in 53 packages [2021-05-25T04:08:29.609Z] Removing intermediate container 9fb890981f73 [2021-05-25T04:08:29.609Z] ---> f2d80026a450 [2021-05-25T04:08:29.609Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-25T04:08:29.609Z] ---> Running in bd8735f47e8a [2021-05-25T04:08:29.881Z] Removing intermediate container bd8735f47e8a [2021-05-25T04:08:29.881Z] ---> 315e279c747b [2021-05-25T04:08:29.881Z] Step 7/8 : COPY . . [2021-05-25T04:08:31.313Z] ---> c71b61530358 [2021-05-25T04:08:31.313Z] Step 8/8 : RUN go mod download [2021-05-25T04:08:31.313Z] ---> Running in b567f2da1f99 [2021-05-25T04:08:36.162Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T04:08:51.137Z] lf-activate-venv(): INFO: Adding /tmp/venv-2orK/bin to PATH [2021-05-25T04:08:51.137Z] INFO: No Stack... [2021-05-25T04:08:51.137Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T04:08:51.137Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T04:08:51.474Z] + cut -d, -f6 [2021-05-25T04:08:51.474Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-25T04:08:51.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] [2021-05-25T04:08:51.545Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] did not exist. Created. [2021-05-25T04:08:51.545Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T04:08:51.977Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T04:08:52.065Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T04:08:52.086Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-25T04:08:58.112Z] Removing intermediate container b567f2da1f99 [2021-05-25T04:08:58.112Z] ---> 622c2fc626c4 [2021-05-25T04:08:58.112Z] Successfully built 622c2fc626c4 [2021-05-25T04:08:58.112Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:08:58.483Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T04:08:58.483Z] . [Pipeline] withDockerContainer [2021-05-25T04:08:58.772Z] prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container [2021-05-25T04:08:58.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T04:09:00.530Z] $ docker top c151abe6efd14847f3af464d146e1b5a01a9b905e175334c8d9a7356d1735fd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:09:01.572Z] + go version [2021-05-25T04:09:01.572Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-25T04:09:01.619Z] $ docker stop --time=1 c151abe6efd14847f3af464d146e1b5a01a9b905e175334c8d9a7356d1735fd1 [2021-05-25T04:09:03.467Z] $ docker rm -f c151abe6efd14847f3af464d146e1b5a01a9b905e175334c8d9a7356d1735fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:09:04.388Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T04:09:04.388Z] . [Pipeline] withDockerContainer [2021-05-25T04:09:04.671Z] prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container [2021-05-25T04:09:04.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T04:09:06.381Z] $ docker top 9acf62c97d88dc3b10e3dc1363a714ca03607a648922f49509962afa1d652d66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:09:07.412Z] + go mod tidy [Pipeline] sh [2021-05-25T04:09:08.693Z] + make test [2021-05-25T04:09:08.693Z] go mod tidy [2021-05-25T04:09:09.289Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T04:09:10.281Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-25T04:10:18.372Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-25T04:10:18.372Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.706s coverage: 63.8% of statements [2021-05-25T04:10:18.372Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T04:10:45.212Z] gofmt -l . [2021-05-25T04:10:45.212Z] [ "`gofmt -l .`" = "" ] [2021-05-25T04:10:45.212Z] ./bin/test-attribution-txt.sh [2021-05-25T04:10:45.212Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T04:10:45.259Z] $ docker stop --time=1 9acf62c97d88dc3b10e3dc1363a714ca03607a648922f49509962afa1d652d66 [2021-05-25T04:10:47.270Z] $ docker rm -f 9acf62c97d88dc3b10e3dc1363a714ca03607a648922f49509962afa1d652d66 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:10:48.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T04:10:48.240Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T04:10:48.754Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:10:49.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T04:10:49.761Z] + ls -al . [2021-05-25T04:10:49.761Z] total 156 [2021-05-25T04:10:49.761Z] drwxrwxr-x 7 jenkins jenkins 4096 May 25 04:10 . [2021-05-25T04:10:49.761Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 04:07 .. [2021-05-25T04:10:49.761Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 04:07 .git [2021-05-25T04:10:49.761Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:07 .github [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 277 May 25 04:07 .gitignore [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 25 04:07 Attribution.txt [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 25 04:07 Dockerfile [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 998 May 25 04:07 Dockerfile.build [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 660 May 25 04:07 Jenkinsfile [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 04:07 LICENSE [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 905 May 25 04:07 Makefile [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 25 04:07 README.md [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 04:03 VERSION [2021-05-25T04:10:49.761Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:07 bin [2021-05-25T04:10:49.761Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:07 cmd [2021-05-25T04:10:49.761Z] -rw-r--r-- 1 jenkins jenkins 47247 May 25 04:10 coverage.out [2021-05-25T04:10:49.761Z] -rw-r--r-- 1 jenkins jenkins 809 May 25 04:10 go.mod [2021-05-25T04:10:49.761Z] -rw-r--r-- 1 jenkins jenkins 23431 May 25 04:09 go.sum [2021-05-25T04:10:49.761Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:07 internal [2021-05-25T04:10:49.761Z] -rw-rw-r-- 1 jenkins jenkins 235 May 25 04:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:10:50.140Z] + 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=f206bafe19346124d997c674be9af9fa06b846fa --label arch=arm64 --label version=0.0.0 . [2021-05-25T04:10:50.414Z] Sending build context to Docker daemon 8.673MB [2021-05-25T04:10:50.691Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:10:50.691Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-25T04:10:50.691Z] ---> 622c2fc626c4 [2021-05-25T04:10:50.691Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T04:10:50.964Z] ---> Running in 52efca1969bb [2021-05-25T04:10:51.562Z] Removing intermediate container 52efca1969bb [2021-05-25T04:10:51.562Z] ---> 0adf442e2124 [2021-05-25T04:10:51.562Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T04:10:51.562Z] ---> Running in cc89ea358777 [2021-05-25T04:10:51.838Z] Removing intermediate container cc89ea358777 [2021-05-25T04:10:51.838Z] ---> 00861b6b47a0 [2021-05-25T04:10:51.838Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-25T04:10:52.111Z] ---> Running in a0c3ba71a261 [2021-05-25T04:10:52.710Z] Removing intermediate container a0c3ba71a261 [2021-05-25T04:10:52.710Z] ---> fa74b84a601f [2021-05-25T04:10:52.710Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:10:52.710Z] ---> Running in 3cd6e9b653ba [2021-05-25T04:10:54.686Z] Removing intermediate container 3cd6e9b653ba [2021-05-25T04:10:54.686Z] ---> 13fb0f0808fc [2021-05-25T04:10:54.686Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T04:10:54.959Z] ---> Running in 134c716e03e9 [2021-05-25T04:10:56.392Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:10:57.365Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:10:57.973Z] OK: 145 MiB in 53 packages [2021-05-25T04:10:58.955Z] Removing intermediate container 134c716e03e9 [2021-05-25T04:10:58.955Z] ---> 013ee5c45a70 [2021-05-25T04:10:58.955Z] Step 8/26 : COPY . . [2021-05-25T04:11:00.394Z] ---> ccd845f02d63 [2021-05-25T04:11:00.394Z] Step 9/26 : RUN go mod tidy [2021-05-25T04:11:00.668Z] ---> Running in c032cdd0d166 [2021-05-25T04:11:03.318Z] Removing intermediate container c032cdd0d166 [2021-05-25T04:11:03.318Z] ---> 6d7029ceabfb [2021-05-25T04:11:03.318Z] Step 10/26 : RUN go mod download [2021-05-25T04:11:03.592Z] ---> Running in 32e451443a54 [2021-05-25T04:11:06.220Z] Removing intermediate container 32e451443a54 [2021-05-25T04:11:06.220Z] ---> 27dff4ff6943 [2021-05-25T04:11:06.220Z] Step 11/26 : ARG MAKE='make build' [2021-05-25T04:11:06.220Z] ---> Running in 1cbe4ac79d62 [2021-05-25T04:11:06.496Z] Removing intermediate container 1cbe4ac79d62 [2021-05-25T04:11:06.496Z] ---> e974efb5030c [2021-05-25T04:11:06.496Z] Step 12/26 : RUN $MAKE [2021-05-25T04:11:06.496Z] ---> Running in 641f2d062a3d [2021-05-25T04:11:07.938Z] go mod tidy [2021-05-25T04:11:08.213Z] 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-25T04:12:04.787Z] Removing intermediate container 641f2d062a3d [2021-05-25T04:12:04.787Z] ---> f7b9935b94a5 [2021-05-25T04:12:04.787Z] Step 13/26 : FROM alpine:3.12 [2021-05-25T04:12:04.787Z] 3.12: Pulling from library/alpine [2021-05-25T04:12:04.787Z] d2f70382dc9a: Pulling fs layer [2021-05-25T04:12:04.787Z] d2f70382dc9a: Verifying Checksum [2021-05-25T04:12:04.787Z] d2f70382dc9a: Download complete [2021-05-25T04:12:04.787Z] d2f70382dc9a: Pull complete [2021-05-25T04:12:04.787Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T04:12:04.787Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T04:12:04.787Z] ---> 9852663dfa18 [2021-05-25T04:12:04.787Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-25T04:12:04.787Z] ---> Running in 9f1c97ca99d0 [2021-05-25T04:12:04.787Z] Removing intermediate container 9f1c97ca99d0 [2021-05-25T04:12:04.787Z] ---> 73068eedd624 [2021-05-25T04:12:04.787Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:12:04.787Z] ---> Running in d20493b61132 [2021-05-25T04:12:04.787Z] Removing intermediate container d20493b61132 [2021-05-25T04:12:04.787Z] ---> 4d2047767afd [2021-05-25T04:12:04.787Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T04:12:04.787Z] ---> Running in edba185707b9 [2021-05-25T04:12:04.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:12:04.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:12:04.787Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T04:12:04.787Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T04:12:04.787Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T04:12:04.787Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T04:12:04.787Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T04:12:04.787Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T04:12:04.787Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T04:12:04.787Z] OK: 8 MiB in 20 packages [2021-05-25T04:12:05.383Z] Removing intermediate container edba185707b9 [2021-05-25T04:12:05.383Z] ---> 046fb48d7f1f [2021-05-25T04:12:05.383Z] Step 17/26 : WORKDIR / [2021-05-25T04:12:05.383Z] ---> Running in 7a0552e5ec2a [2021-05-25T04:12:05.980Z] Removing intermediate container 7a0552e5ec2a [2021-05-25T04:12:05.980Z] ---> 4bdf7cff8caa [2021-05-25T04:12:05.980Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-25T04:12:06.579Z] ---> 712d8131bbae [2021-05-25T04:12:06.579Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-25T04:12:07.557Z] ---> 3f72581b1c23 [2021-05-25T04:12:07.557Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-25T04:12:09.005Z] ---> 352b9f19b9f6 [2021-05-25T04:12:09.005Z] Step 21/26 : EXPOSE 59900 [2021-05-25T04:12:09.006Z] ---> Running in 816676f7bccd [2021-05-25T04:12:09.282Z] Removing intermediate container 816676f7bccd [2021-05-25T04:12:09.282Z] ---> fb1adc19a2b9 [2021-05-25T04:12:09.282Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-25T04:12:09.556Z] ---> Running in 6e2efd31d83e [2021-05-25T04:12:10.155Z] Removing intermediate container 6e2efd31d83e [2021-05-25T04:12:10.155Z] ---> 25327f0880e8 [2021-05-25T04:12:10.155Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T04:12:10.155Z] ---> Running in 7ed44a8cfc34 [2021-05-25T04:12:10.750Z] Removing intermediate container 7ed44a8cfc34 [2021-05-25T04:12:10.750Z] ---> 901ae1415d85 [2021-05-25T04:12:10.750Z] Step 24/26 : LABEL arch=arm64 [2021-05-25T04:12:10.750Z] ---> Running in ca5e84e03a8f [2021-05-25T04:12:11.347Z] Removing intermediate container ca5e84e03a8f [2021-05-25T04:12:11.347Z] ---> ffbb094d2752 [2021-05-25T04:12:11.347Z] Step 25/26 : LABEL git_sha=f206bafe19346124d997c674be9af9fa06b846fa [2021-05-25T04:12:11.347Z] ---> Running in 156065d9192f [2021-05-25T04:12:11.942Z] Removing intermediate container 156065d9192f [2021-05-25T04:12:11.942Z] ---> 39bacbddb3f1 [2021-05-25T04:12:11.942Z] Step 26/26 : LABEL version=0.0.0 [2021-05-25T04:12:11.942Z] ---> Running in 329c6ac8e927 [2021-05-25T04:12:12.536Z] Removing intermediate container 329c6ac8e927 [2021-05-25T04:12:12.536Z] ---> d8e31b6b3243 [2021-05-25T04:12:12.536Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T04:12:12.536Z] Successfully built d8e31b6b3243 [2021-05-25T04:12:12.536Z] 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-25T04:12:13.303Z] ---> job-cost.sh [2021-05-25T04:12:13.303Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eh4H [2021-05-25T04:12:52.280Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T04:14:14.086Z] lf-activate-venv(): INFO: Adding /tmp/venv-eh4H/bin to PATH [2021-05-25T04:14:14.086Z] INFO: No Stack... [2021-05-25T04:14:14.359Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T04:14:14.954Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T04:14:15.337Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-25T04:14:15.337Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T04:14:15.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] [2021-05-25T04:14:15.464Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] did not exist. Created. [2021-05-25T04:14:15.464Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T04:14:15.936Z] /w/workspace/device-virtual-go/1@tmp/durable-afb19cfb/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-afb19cfb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-25T04:14:16.316Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T04:14:16.360Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T04:14:16.520Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T04:14:16.540Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-213-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-25T04:14:17.711Z] provisioning config files... [2021-05-25T04:14:17.719Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-213@tmp/config7193603666576850285tmp [Pipeline] { [Pipeline] sh [2021-05-25T04:14:18.099Z] + set +x [2021-05-25T04:14:18.099Z] + curl -s https://codecov.io/bash [2021-05-25T04:14:18.099Z] + bash -s -- [2021-05-25T04:14:18.099Z] [2021-05-25T04:14:18.099Z] _____ _ [2021-05-25T04:14:18.099Z] / ____| | | [2021-05-25T04:14:18.099Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T04:14:18.099Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T04:14:18.099Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T04:14:18.099Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T04:14:18.099Z] Bash-1.0.3 [2021-05-25T04:14:18.099Z] [2021-05-25T04:14:18.099Z] [2021-05-25T04:14:18.099Z] ==> git version 2.24.4 found [2021-05-25T04:14:18.099Z] ==> 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-25T04:14:18.099Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T04:14:18.099Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T04:14:18.099Z] ==> Jenkins CI detected. [2021-05-25T04:14:18.099Z] project root: . [2021-05-25T04:14:18.099Z] --> token set from env [2021-05-25T04:14:18.099Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T04:14:18.099Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T04:14:18.099Z] ==> Python coveragepy not found [2021-05-25T04:14:18.099Z] ==> Searching for coverage reports in: [2021-05-25T04:14:18.099Z] + . [2021-05-25T04:14:18.362Z] -> Found 1 reports [2021-05-25T04:14:18.362Z] ==> Detecting git/mercurial file structure [2021-05-25T04:14:18.362Z] ==> Reading reports [2021-05-25T04:14:18.362Z] + ./coverage.out bytes=47247 [2021-05-25T04:14:18.362Z] ==> Appending adjustments [2021-05-25T04:14:18.362Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T04:14:18.362Z] + Found adjustments [2021-05-25T04:14:18.362Z] ==> Gzipping contents [2021-05-25T04:14:18.362Z] 8.0K /tmp/codecov.xMiL9r.gz [2021-05-25T04:14:18.362Z] ==> Uploading reports [2021-05-25T04:14:18.362Z] url: https://codecov.io [2021-05-25T04:14:18.362Z] query: branch=PR-213&commit=f206bafe19346124d997c674be9af9fa06b846fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2021-05-25T04:14:18.362Z] -> Pinging Codecov [2021-05-25T04:14:18.362Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-213&commit=f206bafe19346124d997c674be9af9fa06b846fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2021-05-25T04:14:18.996Z] -> Uploading to [2021-05-25T04:14:18.996Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/5E52B4B073DB2E39498172D8E973AA87/f206bafe19346124d997c674be9af9fa06b846fa/ab055f32-3f40-4dc6-8464-d188089714da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T041418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e8ad8c6acead938a51366793a1ec979c4f504c45dc282c1ac7312a044a58b72 [2021-05-25T04:14:18.996Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T04:14:18.996Z] Dload Upload Total Spent Left Speed [2021-05-25T04:14:19.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5769 0 0 100 5769 0 12471 --:--:-- --:--:-- --:--:-- 12487 [2021-05-25T04:14:19.343Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f206bafe19346124d997c674be9af9fa06b846fa [Pipeline] } [2021-05-25T04:14:19.370Z] 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-25T04:14:21.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:21.937Z] ---> package-listing.sh [2021-05-25T04:14:21.937Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T04:14:21.937Z] ++ facter osfamily [2021-05-25T04:14:22.199Z] + OS_FAMILY=redhat [2021-05-25T04:14:22.199Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-213 [2021-05-25T04:14:22.199Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T04:14:22.199Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T04:14:22.199Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T04:14:22.199Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T04:14:22.199Z] + '[' /w/workspace/foundry_device-virtual-go_PR-213 ']' [2021-05-25T04:14:22.199Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T04:14:22.199Z] + case "${OS_FAMILY}" in [2021-05-25T04:14:22.199Z] + rpm -qa [2021-05-25T04:14:22.200Z] + sort [2021-05-25T04:14:22.800Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T04:14:22.800Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T04:14:22.800Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T04:14:22.800Z] + '[' /w/workspace/foundry_device-virtual-go_PR-213 ']' [2021-05-25T04:14:22.800Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-213/archives/ [2021-05-25T04:14:22.800Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-213/archives/ [Pipeline] echo [2021-05-25T04:14:22.838Z] 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-25T04:14:23.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:14:23.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:14:23.747Z] [2021-05-25T04:14:23.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:14:24.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:14:24.124Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T04:14:24.124Z] df20fa9351a1: Pulling fs layer [2021-05-25T04:14:24.124Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T04:14:24.124Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T04:14:24.124Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T04:14:24.124Z] 93b61091891f: Pulling fs layer [2021-05-25T04:14:24.124Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T04:14:24.124Z] 5e14af77c1be: Pulling fs layer [2021-05-25T04:14:24.124Z] 01666e4c0597: Pulling fs layer [2021-05-25T04:14:24.124Z] aa168da1d23b: Pulling fs layer [2021-05-25T04:14:24.124Z] 46f8f816bc3b: Waiting [2021-05-25T04:14:24.124Z] 5e14af77c1be: Waiting [2021-05-25T04:14:24.124Z] 01666e4c0597: Waiting [2021-05-25T04:14:24.124Z] aa168da1d23b: Waiting [2021-05-25T04:14:24.124Z] 93b61091891f: Waiting [2021-05-25T04:14:24.124Z] 93b9cdb0e59b: Waiting [2021-05-25T04:14:24.124Z] 36b3adc4ff6f: Verifying Checksum [2021-05-25T04:14:24.124Z] 36b3adc4ff6f: Download complete [2021-05-25T04:14:24.124Z] 46f8f816bc3b: Verifying Checksum [2021-05-25T04:14:24.124Z] 46f8f816bc3b: Download complete [2021-05-25T04:14:24.124Z] df20fa9351a1: Verifying Checksum [2021-05-25T04:14:24.124Z] df20fa9351a1: Download complete [2021-05-25T04:14:24.387Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T04:14:24.387Z] 93b9cdb0e59b: Download complete [2021-05-25T04:14:24.387Z] 93b61091891f: Download complete [2021-05-25T04:14:24.387Z] 5e14af77c1be: Verifying Checksum [2021-05-25T04:14:24.387Z] 5e14af77c1be: Download complete [2021-05-25T04:14:24.387Z] 01666e4c0597: Verifying Checksum [2021-05-25T04:14:24.387Z] 01666e4c0597: Download complete [2021-05-25T04:14:24.387Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T04:14:24.387Z] 8ad3a11d3b57: Download complete [2021-05-25T04:14:24.387Z] df20fa9351a1: Pull complete [2021-05-25T04:14:24.650Z] 36b3adc4ff6f: Pull complete [2021-05-25T04:14:25.231Z] 8ad3a11d3b57: Pull complete [2021-05-25T04:14:25.231Z] 46f8f816bc3b: Pull complete [2021-05-25T04:14:25.494Z] 93b61091891f: Pull complete [2021-05-25T04:14:25.494Z] 93b9cdb0e59b: Pull complete [2021-05-25T04:14:25.755Z] 5e14af77c1be: Pull complete [2021-05-25T04:14:25.755Z] 01666e4c0597: Pull complete [2021-05-25T04:14:26.330Z] aa168da1d23b: Verifying Checksum [2021-05-25T04:14:26.330Z] aa168da1d23b: Download complete [2021-05-25T04:14:30.567Z] aa168da1d23b: Pull complete [2021-05-25T04:14:30.567Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T04:14:30.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:14:30.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T04:14:30.661Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-05-25T04:14:30.698Z] $ 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-213/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-213 -v /w/workspace/foundry_device-virtual-go_PR-213:/w/workspace/foundry_device-virtual-go_PR-213:rw,z -v /w/workspace/foundry_device-virtual-go_PR-213@tmp:/w/workspace/foundry_device-virtual-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-25T04:14:32.487Z] $ docker top 26187fbb5ef602756f47b2b7ebea46316861b5442b80e7159308589cc054d41e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:14:32.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T04:14:33.251Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T04:14:33.588Z] + ls /var/log/sa-host [2021-05-25T04:14:33.588Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T04:14:33.588Z] file_magic: OK [2021-05-25T04:14:33.588Z] HZ: Using current value: 100 [2021-05-25T04:14:33.588Z] file_header: OK [2021-05-25T04:14:33.588Z] 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-25T04:14:33.588Z] Statistics: [2021-05-25T04:14:33.588Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T04:14:33.588Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T04:14:33.588Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T04:14:33.588Z] file_magic: OK [2021-05-25T04:14:33.588Z] HZ: Using current value: 100 [2021-05-25T04:14:33.588Z] file_header: OK [2021-05-25T04:14:33.588Z] 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-25T04:14:33.588Z] Statistics: [2021-05-25T04:14:33.588Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T04:14:33.588Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:14:34.549Z] provisioning config files... [2021-05-25T04:14:34.568Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-213@tmp/config1838025965802767090tmp [Pipeline] { [Pipeline] echo [2021-05-25T04:14:34.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:35.002Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T04:14:35.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T04:14:35.120Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:35.464Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T04:14:35.496Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:35.840Z] ---> sudo-logs.sh [2021-05-25T04:14:35.840Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T04:14:35.930Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:36.281Z] ---> job-cost.sh [2021-05-25T04:14:36.281Z] lf-activate-venv: SKIPPING [2021-05-25T04:14:36.281Z] DEBUG: total: 0.18000000715255737 [2021-05-25T04:14:36.281Z] INFO: Retrieving Stack Cost... [2021-05-25T04:14:37.224Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T04:14:37.800Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T04:14:37.839Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:14:38.183Z] ---> logs-deploy.sh [2021-05-25T04:14:38.183Z] lf-activate-venv: SKIPPING [2021-05-25T04:14:38.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-213/1 [2021-05-25T04:14:38.183Z] INFO: archiving workspace using pattern(s): [2021-05-25T04:14:39.129Z] Archives upload complete. [2021-05-25T04:14:39.129Z] INFO: archiving logs to Nexus