Pull request #222 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 ddc900257d5035d63e5895cab391c076251a60df+9bccc4cec06c773c2a00f105ea4d68f813f72a03 (4fb991f31aebb5fa5e10bf515490d9afc8057bea) 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-ssh2328386085368344809.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh393869424152835774.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-222/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-222/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1529287381090966579.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-222/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6975806987352337532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7283896689319008700.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-222/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-222/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7475147905066269828.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-485’ is offline Running on prd-centos7-docker-4c-2g-488 in /w/workspace/foundry_device-virtual-go_PR-222 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-222 # 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-222@tmp/jenkins-gitclient-ssh3970810979646074996.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-222@tmp/jenkins-gitclient-ssh5566021426927586813.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9bccc4cec06c773c2a00f105ea4d68f813f72a03 into PR head commit ddc900257d5035d63e5895cab391c076251a60df Merge succeeded, producing ddc900257d5035d63e5895cab391c076251a60df Checking out Revision ddc900257d5035d63e5895cab391c076251a60df (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # 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-222@tmp/jenkins-gitclient-ssh7905539914382702374.key > git merge 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # timeout=10 Commit message: "refactor: bump dependency version and update import path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-11T07:24:53.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-11T07:24:53.290Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-11T07:24:53.422Z] ========================================================= [2021-06-11T07:24:53.422Z] EdgeX Global Pipelines Version Info [2021-06-11T07:24:53.422Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:24:54.855Z] ------------------- [2021-06-11T07:24:54.855Z] stable info: [2021-06-11T07:24:54.855Z] ------------------- [2021-06-11T07:24:54.855Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-11T07:24:54.855Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T07:24:54.855Z] Message: update stable to v1.0.195 [2021-06-11T07:24:55.430Z] ------------------- [2021-06-11T07:24:55.430Z] experimental info: [2021-06-11T07:24:55.430Z] ------------------- [2021-06-11T07:24:55.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-11T07:24:55.430Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T07:24:55.431Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-11T07:24:55.651Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-11T07:24:55.712Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-11T07:24:55.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-11T07:24:55.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-11T07:24:55.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-11T07:24:55.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-11T07:24:56.006Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-11T07:24:56.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-11T07:24:56.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-11T07:24:56.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-11T07:24:56.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-11T07:24:56.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-11T07:24:56.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-11T07:24:56.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-11T07:24:56.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T07:24:56.565Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T07:24:56.627Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T07:24:56.690Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T07:24:56.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-11T07:24:56.860Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-11T07:24:56.931Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-11T07:24:56.993Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-11T07:24:57.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-11T07:24:57.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-11T07:24:57.184Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-11T07:24:57.248Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-11T07:24:57.305Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2021-06-11T07:24:57.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2021-06-11T07:24:57.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2021-06-11T07:24:57.493Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ddc900257d5035d63e5895cab391c076251a60df [Pipeline] echo [2021-06-11T07:24:57.552Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ddc9002 [Pipeline] echo [2021-06-11T07:24:57.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:24:57.776Z] provisioning config files... [2021-06-11T07:24:57.798Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-222@tmp/config4828414800629199173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:24:58.200Z] ---> docker-login.sh [2021-06-11T07:24:58.200Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:24:58.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:24:58.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:24:58.463Z] Configure a credential helper to remove this warning. See [2021-06-11T07:24:58.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:24:58.463Z] [2021-06-11T07:24:58.463Z] Login Succeeded [2021-06-11T07:24:58.463Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:24:58.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:24:58.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:24:58.463Z] Configure a credential helper to remove this warning. See [2021-06-11T07:24:58.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:24:58.463Z] [2021-06-11T07:24:58.463Z] Login Succeeded [2021-06-11T07:24:58.463Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:24:58.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:24:58.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:24:58.724Z] Configure a credential helper to remove this warning. See [2021-06-11T07:24:58.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:24:58.724Z] [2021-06-11T07:24:58.724Z] Login Succeeded [2021-06-11T07:24:58.724Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:24:58.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:24:58.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:24:58.724Z] Configure a credential helper to remove this warning. See [2021-06-11T07:24:58.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:24:58.724Z] [2021-06-11T07:24:58.724Z] Login Succeeded [2021-06-11T07:24:58.724Z] docker.io [2021-06-11T07:24:58.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:24:59.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:24:59.253Z] Configure a credential helper to remove this warning. See [2021-06-11T07:24:59.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:24:59.253Z] [2021-06-11T07:24:59.253Z] Login Succeeded [2021-06-11T07:24:59.253Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:24:59.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:25:00.060Z] + git log --format=format:%s -1 ddc900257d5035d63e5895cab391c076251a60df [Pipeline] echo [2021-06-11T07:25:00.126Z] GIT_COMMIT: ddc900257d5035d63e5895cab391c076251a60df, Commit Message: refactor: bump dependency version and update import path [Pipeline] echo [2021-06-11T07:25:00.174Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:25:01.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:25:01.230Z] [2021-06-11T07:25:01.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:25:01.612Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:25:01.612Z] latest: Pulling from edgex-devops/git-semver [2021-06-11T07:25:01.612Z] 31603596830f: Pulling fs layer [2021-06-11T07:25:01.612Z] 54011a49482f: Pulling fs layer [2021-06-11T07:25:01.612Z] a6820b24f6d8: Pulling fs layer [2021-06-11T07:25:01.612Z] f581987b2513: Pulling fs layer [2021-06-11T07:25:01.612Z] f581987b2513: Waiting [2021-06-11T07:25:01.612Z] 54011a49482f: Verifying Checksum [2021-06-11T07:25:01.612Z] 54011a49482f: Download complete [2021-06-11T07:25:01.881Z] 31603596830f: Verifying Checksum [2021-06-11T07:25:01.882Z] 31603596830f: Download complete [2021-06-11T07:25:01.882Z] a6820b24f6d8: Verifying Checksum [2021-06-11T07:25:01.882Z] a6820b24f6d8: Download complete [2021-06-11T07:25:01.882Z] 31603596830f: Pull complete [2021-06-11T07:25:02.143Z] 54011a49482f: Pull complete [2021-06-11T07:25:02.143Z] f581987b2513: Verifying Checksum [2021-06-11T07:25:02.143Z] f581987b2513: Download complete [2021-06-11T07:25:02.723Z] a6820b24f6d8: Pull complete [2021-06-11T07:25:02.723Z] f581987b2513: Pull complete [2021-06-11T07:25:02.723Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-11T07:25:02.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:25:02.989Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-11T07:25:03.094Z] prd-centos7-docker-4c-2g-488 does not seem to be running inside a container [2021-06-11T07:25:03.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-222 -v /w/workspace/foundry_device-virtual-go_PR-222:/w/workspace/foundry_device-virtual-go_PR-222:rw,z -v /w/workspace/foundry_device-virtual-go_PR-222@tmp:/w/workspace/foundry_device-virtual-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-11T07:25:04.224Z] $ docker top f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T07:25:04.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:25:04.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:25:04.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:25:04.549Z] $ docker exec f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 ssh-agent [2021-06-11T07:25:04.652Z] SSH_AUTH_SOCK=/tmp/ssh-DldGkogfV0GV/agent.13 [2021-06-11T07:25:04.652Z] SSH_AGENT_PID=20 [2021-06-11T07:25:04.663Z] Running ssh-add (command line suppressed) [2021-06-11T07:25:04.750Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-222@tmp/private_key_5386735693659738942.key (/w/workspace/foundry_device-virtual-go_PR-222@tmp/private_key_5386735693659738942.key) [2021-06-11T07:25:04.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:25:05.118Z] + git tag --points-at HEAD [Pipeline] } [2021-06-11T07:25:05.139Z] $ docker exec --env ******** --env ******** f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 ssh-agent -k [2021-06-11T07:25:05.228Z] unset SSH_AUTH_SOCK; [2021-06-11T07:25:05.228Z] unset SSH_AGENT_PID; [2021-06-11T07:25:05.228Z] echo Agent pid 20 killed; [2021-06-11T07:25:05.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-11T07:25:05.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:25:05.338Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:25:05.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:25:05.457Z] $ docker exec f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 ssh-agent [2021-06-11T07:25:05.562Z] SSH_AUTH_SOCK=/tmp/ssh-U27CV0rpsddE/agent.56 [2021-06-11T07:25:05.562Z] SSH_AGENT_PID=63 [2021-06-11T07:25:05.568Z] Running ssh-add (command line suppressed) [2021-06-11T07:25:05.661Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-222@tmp/private_key_1862578409414066302.key (/w/workspace/foundry_device-virtual-go_PR-222@tmp/private_key_1862578409414066302.key) [2021-06-11T07:25:05.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:25:06.045Z] + git semver init [2021-06-11T07:25:06.045Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T07:25:06.045Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-222/.git [2021-06-11T07:25:06.045Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-222 [2021-06-11T07:25:06.045Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T07:25:06.045Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T07:25:06.045Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T07:25:06.045Z] # $SEMVER_BRANCH = PR-222 [2021-06-11T07:25:06.045Z] # $SEMVER_TEMP = /tmp/semver-294081691 [2021-06-11T07:25:06.045Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-11T07:25:08.599Z] # '/tmp/semver-294081691' -> '/w/workspace/foundry_device-virtual-go_PR-222/.semver' [2021-06-11T07:25:08.599Z] # -> Force: false [2021-06-11T07:25:08.599Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-222/.semver [Pipeline] } [2021-06-11T07:25:08.614Z] $ docker exec --env ******** --env ******** f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 ssh-agent -k [2021-06-11T07:25:08.708Z] unset SSH_AUTH_SOCK; [2021-06-11T07:25:08.708Z] unset SSH_AGENT_PID; [2021-06-11T07:25:08.708Z] echo Agent pid 63 killed; [2021-06-11T07:25:08.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T07:25:09.197Z] + git semver [Pipeline] } [2021-06-11T07:25:09.247Z] $ docker stop --time=1 f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 [2021-06-11T07:25:10.637Z] $ docker rm -f f7aab249f3f67b02a0d0a481355b3bdff2fb34322a316dd312a84aed7867cdf5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:25:11.067Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-11T07:25:11.418Z] Stashed 1 file(s) [Pipeline] echo [2021-06-11T07:25:11.441Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-11T07:25:27.074Z] Still waiting to schedule task [2021-06-11T07:25:27.074Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-11T07:25:27.104Z] Still waiting to schedule task [2021-06-11T07:25:27.104Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-486’ is offline [2021-06-11T07:26:58.958Z] Running on prd-centos7-docker-4c-2g-492 in /w/workspace/foundry_device-virtual-go_PR-222 [Pipeline] { [Pipeline] ws [2021-06-11T07:26:59.033Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T07:26:59.191Z] The recommended git tool is: git [2021-06-11T07:27:01.484Z] using credential edgex-jenkins-ssh [2021-06-11T07:27:01.503Z] Cloning the remote Git repository [2021-06-11T07:27:00.898Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:01.046Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-11T07:27:01.089Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:01.090Z] > git --version # timeout=10 [2021-06-11T07:27:01.098Z] > git --version # 'git version 2.24.4' [2021-06-11T07:27:01.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:01.145Z] [INFO] Currently running in a labeled security context [2021-06-11T07:27:01.145Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T07:27:01.145Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2129062064230064702.key [2021-06-11T07:27:01.183Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:27:03.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-11T07:27:03.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:27:03.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-11T07:27:03.604Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:03.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:03.608Z] [INFO] Currently running in a labeled security context [2021-06-11T07:27:03.608Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T07:27:03.608Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh862879745413381443.key [2021-06-11T07:27:03.624Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T07:27:05.160Z] Merging remotes/origin/master commit 9bccc4cec06c773c2a00f105ea4d68f813f72a03 into PR head commit ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:27:05.259Z] Merge succeeded, producing ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:27:05.259Z] Checking out Revision ddc900257d5035d63e5895cab391c076251a60df (PR-222) [2021-06-11T07:27:04.845Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:27:04.861Z] > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # timeout=10 [2021-06-11T07:27:04.896Z] > git remote # timeout=10 [2021-06-11T07:27:04.903Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T07:27:04.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:04.912Z] [INFO] Currently running in a labeled security context [2021-06-11T07:27:04.912Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T07:27:04.912Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5925670777053433190.key [2021-06-11T07:27:04.922Z] > git merge 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 [2021-06-11T07:27:04.932Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T07:27:04.945Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:27:04.952Z] > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # timeout=10 [2021-06-11T07:27:08.608Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-11T07:27:08.601Z] > git --version # timeout=10 [2021-06-11T07:27:08.678Z] > git --version # 'git version 2.24.4' [2021-06-11T07:27:08.713Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:27:09.980Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:27:10.338Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:27:10.663Z] + sudo service docker restart [2021-06-11T07:27:10.663Z] + true [2021-06-11T07:27:10.663Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:27:28.914Z] provisioning config files... [2021-06-11T07:27:28.933Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config881564080021707849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:27:29.326Z] ---> docker-login.sh [2021-06-11T07:27:29.326Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:27:29.527Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-490 in /w/workspace/foundry_device-virtual-go_PR-222 [Pipeline] { [Pipeline] ws [2021-06-11T07:27:29.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:27:29.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:27:29.599Z] Configure a credential helper to remove this warning. See [2021-06-11T07:27:29.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:27:29.599Z] [2021-06-11T07:27:29.599Z] Login Succeeded [2021-06-11T07:27:29.599Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:27:29.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:27:29.601Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T07:27:29.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:27:29.865Z] Configure a credential helper to remove this warning. See [2021-06-11T07:27:29.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:27:29.865Z] [2021-06-11T07:27:29.865Z] Login Succeeded [2021-06-11T07:27:29.865Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:27:29.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:27:29.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:27:29.865Z] Configure a credential helper to remove this warning. See [2021-06-11T07:27:29.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:27:29.865Z] [2021-06-11T07:27:29.865Z] Login Succeeded [2021-06-11T07:27:29.865Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:27:29.930Z] The recommended git tool is: git [2021-06-11T07:27:30.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:27:30.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:27:30.128Z] Configure a credential helper to remove this warning. See [2021-06-11T07:27:30.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:27:30.128Z] [2021-06-11T07:27:30.128Z] Login Succeeded [2021-06-11T07:27:30.128Z] docker.io [2021-06-11T07:27:30.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:27:30.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:27:30.390Z] Configure a credential helper to remove this warning. See [2021-06-11T07:27:30.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:27:30.390Z] [2021-06-11T07:27:30.390Z] Login Succeeded [2021-06-11T07:27:30.390Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:27:30.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T07:27:30.708Z] ========================================================= [2021-06-11T07:27:30.708Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-11T07:27:30.708Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:27:31.068Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-11T07:27:31.068Z] Sending build context to Docker daemon 8.654MB [2021-06-11T07:27:31.068Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:27:31.068Z] Step 2/8 : FROM ${BASE} [2021-06-11T07:27:31.336Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-11T07:27:31.336Z] 540db60ca938: Pulling fs layer [2021-06-11T07:27:31.336Z] adcc1eea9eea: Pulling fs layer [2021-06-11T07:27:31.336Z] 4c4ab2625f07: Pulling fs layer [2021-06-11T07:27:31.336Z] 0510c868ecb4: Pulling fs layer [2021-06-11T07:27:31.336Z] afea3b2eda06: Pulling fs layer [2021-06-11T07:27:31.336Z] 7809a108b3ef: Pulling fs layer [2021-06-11T07:27:31.336Z] f706445af74f: Pulling fs layer [2021-06-11T07:27:31.336Z] 0510c868ecb4: Waiting [2021-06-11T07:27:31.336Z] afea3b2eda06: Waiting [2021-06-11T07:27:31.336Z] 7809a108b3ef: Waiting [2021-06-11T07:27:31.336Z] f706445af74f: Waiting [2021-06-11T07:27:31.336Z] 4c4ab2625f07: Verifying Checksum [2021-06-11T07:27:31.336Z] 4c4ab2625f07: Download complete [2021-06-11T07:27:31.336Z] adcc1eea9eea: Verifying Checksum [2021-06-11T07:27:31.336Z] adcc1eea9eea: Download complete [2021-06-11T07:27:31.336Z] afea3b2eda06: Verifying Checksum [2021-06-11T07:27:31.336Z] afea3b2eda06: Download complete [2021-06-11T07:27:31.336Z] 7809a108b3ef: Verifying Checksum [2021-06-11T07:27:31.336Z] 7809a108b3ef: Download complete [2021-06-11T07:27:31.336Z] 540db60ca938: Verifying Checksum [2021-06-11T07:27:31.336Z] 540db60ca938: Download complete [2021-06-11T07:27:31.604Z] 540db60ca938: Pull complete [2021-06-11T07:27:31.868Z] adcc1eea9eea: Pull complete [2021-06-11T07:27:31.868Z] 4c4ab2625f07: Pull complete [2021-06-11T07:27:33.265Z] f706445af74f: Verifying Checksum [2021-06-11T07:27:33.265Z] f706445af74f: Download complete [2021-06-11T07:27:33.532Z] 0510c868ecb4: Verifying Checksum [2021-06-11T07:27:33.532Z] 0510c868ecb4: Download complete [2021-06-11T07:27:35.796Z] using credential edgex-jenkins-ssh [2021-06-11T07:27:35.816Z] Cloning the remote Git repository [2021-06-11T07:27:35.897Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:36.007Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-11T07:27:36.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:36.084Z] > git --version # timeout=10 [2021-06-11T07:27:36.104Z] > git --version # 'git version 2.17.1' [2021-06-11T07:27:36.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:36.194Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:27:37.788Z] 0510c868ecb4: Pull complete [2021-06-11T07:27:37.788Z] afea3b2eda06: Pull complete [2021-06-11T07:27:37.788Z] 7809a108b3ef: Pull complete [2021-06-11T07:27:38.593Z] Merging remotes/origin/master commit 9bccc4cec06c773c2a00f105ea4d68f813f72a03 into PR head commit ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:27:37.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-11T07:27:37.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:27:37.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-11T07:27:37.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-11T07:27:37.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:37.987Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T07:27:38.613Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:27:38.627Z] > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # timeout=10 [2021-06-11T07:27:38.700Z] > git remote # timeout=10 [2021-06-11T07:27:38.786Z] Merge succeeded, producing ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:27:38.786Z] Checking out Revision ddc900257d5035d63e5895cab391c076251a60df (PR-222) [2021-06-11T07:27:39.191Z] f706445af74f: Pull complete [2021-06-11T07:27:39.191Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-11T07:27:39.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-11T07:27:39.191Z] ---> b068be0155e3 [2021-06-11T07:27:39.191Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-11T07:27:38.724Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T07:27:38.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:27:38.752Z] > git merge 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 [2021-06-11T07:27:38.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T07:27:38.794Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:27:38.811Z] > git checkout -f ddc900257d5035d63e5895cab391c076251a60df # timeout=10 [2021-06-11T07:27:42.519Z] ---> Running in 395a2da56e7c [2021-06-11T07:27:42.519Z] Removing intermediate container 395a2da56e7c [2021-06-11T07:27:42.519Z] ---> afb60b264227 [2021-06-11T07:27:42.519Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:27:42.519Z] ---> Running in f3ef2744d9a3 [2021-06-11T07:27:42.784Z] Removing intermediate container f3ef2744d9a3 [2021-06-11T07:27:42.784Z] ---> 3d6547395647 [2021-06-11T07:27:42.784Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T07:27:42.999Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-11T07:27:43.047Z] ---> Running in 9a47ba67ef48 [2021-06-11T07:27:43.054Z] > git --version # timeout=10 [2021-06-11T07:27:43.064Z] > git --version # 'git version 2.17.1' [2021-06-11T07:27:43.077Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T07:27:43.309Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:27:44.284Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:27:44.546Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-11T07:27:44.646Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:27:44.809Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-11T07:27:44.809Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-11T07:27:44.809Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-11T07:27:45.070Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T07:27:45.070Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-11T07:27:45.070Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-11T07:27:45.089Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:27:45.331Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-11T07:27:45.453Z] + sudo service docker restart [2021-06-11T07:27:45.453Z] + true [2021-06-11T07:27:45.597Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-11T07:27:45.597Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-11T07:27:45.859Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-11T07:27:45.859Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-11T07:27:45.859Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-11T07:27:46.122Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T07:27:46.122Z] OK: 156 MiB in 53 packages [2021-06-11T07:27:46.385Z] Removing intermediate container 9a47ba67ef48 [2021-06-11T07:27:46.385Z] ---> 13f3ccef5d27 [2021-06-11T07:27:46.385Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-11T07:27:46.646Z] ---> Running in 2864f34b5c7a [2021-06-11T07:27:46.646Z] Removing intermediate container 2864f34b5c7a [2021-06-11T07:27:46.646Z] ---> 66b03b15b915 [2021-06-11T07:27:46.646Z] Step 7/8 : COPY . . [2021-06-11T07:27:46.912Z] ---> 6f78c810ad0f [2021-06-11T07:27:46.912Z] Step 8/8 : RUN go mod download [2021-06-11T07:27:46.912Z] ---> Running in adeeda3386b6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:28:03.893Z] provisioning config files... [2021-06-11T07:28:03.918Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5845718277498470031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:28:04.342Z] ---> docker-login.sh [2021-06-11T07:28:04.343Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:28:04.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:05.083Z] Removing intermediate container adeeda3386b6 [2021-06-11T07:28:05.083Z] ---> 82505e90f9a0 [2021-06-11T07:28:05.083Z] Successfully built 82505e90f9a0 [2021-06-11T07:28:05.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:28:05.436Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T07:28:05.436Z] . [Pipeline] withDockerContainer [2021-06-11T07:28:05.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:05.537Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:05.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:05.537Z] [2021-06-11T07:28:05.537Z] Login Succeeded [2021-06-11T07:28:05.537Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:28:05.549Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-11T07:28:05.589Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-11T07:28:05.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:06.013Z] $ docker top c962d4f41b980c376113dba9744fe1f80d7028043a49f340416faea29a3f785d -eo pid,comm [2021-06-11T07:28:06.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:06.102Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:06.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:06.102Z] [2021-06-11T07:28:06.102Z] Login Succeeded [2021-06-11T07:28:06.103Z] nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] sh [2021-06-11T07:28:06.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:06.539Z] + go version [2021-06-11T07:28:06.539Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-11T07:28:06.572Z] $ docker stop --time=1 c962d4f41b980c376113dba9744fe1f80d7028043a49f340416faea29a3f785d [2021-06-11T07:28:06.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:06.658Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:06.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:06.658Z] [2021-06-11T07:28:06.658Z] Login Succeeded [2021-06-11T07:28:06.658Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:28:06.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:07.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:07.206Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:07.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:07.206Z] [2021-06-11T07:28:07.206Z] Login Succeeded [2021-06-11T07:28:07.206Z] docker.io [2021-06-11T07:28:07.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:07.786Z] $ docker rm -f c962d4f41b980c376113dba9744fe1f80d7028043a49f340416faea29a3f785d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-11T07:28:08.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:08.082Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:08.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:08.082Z] [2021-06-11T07:28:08.082Z] Login Succeeded [2021-06-11T07:28:08.082Z] ---> docker-login.sh ends [Pipeline] // stage [Pipeline] } [2021-06-11T07:28:08.198Z] Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Test) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:28:08.818Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T07:28:08.819Z] . [Pipeline] echo [2021-06-11T07:28:08.861Z] ========================================================= [2021-06-11T07:28:08.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-11T07:28:08.862Z] ========================================================= [Pipeline] withDockerContainer [2021-06-11T07:28:08.984Z] prd-centos7-docker-4c-2g-492 does not seem to be running inside a container [2021-06-11T07:28:09.027Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-11T07:28:09.424Z] $ docker top 21232f80c219ac7fd0c989666c709916eef0a6af44b904d41699502c6f0f0cd7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:28:09.896Z] + go mod tidy [2021-06-11T07:28:09.992Z] + 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 . [Pipeline] sh [2021-06-11T07:28:10.487Z] + make test [2021-06-11T07:28:10.487Z] go mod tidy [2021-06-11T07:28:10.616Z] Sending build context to Docker daemon 8.653MB [2021-06-11T07:28:10.616Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:28:10.616Z] Step 2/8 : FROM ${BASE} [2021-06-11T07:28:10.616Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-11T07:28:10.616Z] 595b0fe564bb: Pulling fs layer [2021-06-11T07:28:10.616Z] 3088b5b3c5c0: Pulling fs layer [2021-06-11T07:28:10.616Z] 5b7225fbf94c: Pulling fs layer [2021-06-11T07:28:10.616Z] ba82ee9f976e: Pulling fs layer [2021-06-11T07:28:10.616Z] 506bd15cee9f: Pulling fs layer [2021-06-11T07:28:10.616Z] 75a0a4a0db45: Pulling fs layer [2021-06-11T07:28:10.616Z] 618dc40b7e24: Pulling fs layer [2021-06-11T07:28:10.616Z] ba82ee9f976e: Waiting [2021-06-11T07:28:10.616Z] 506bd15cee9f: Waiting [2021-06-11T07:28:10.616Z] 75a0a4a0db45: Waiting [2021-06-11T07:28:10.616Z] 618dc40b7e24: Waiting [2021-06-11T07:28:10.616Z] 5b7225fbf94c: Verifying Checksum [2021-06-11T07:28:10.616Z] 5b7225fbf94c: Download complete [2021-06-11T07:28:10.767Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-11T07:28:10.891Z] 3088b5b3c5c0: Download complete [2021-06-11T07:28:10.892Z] 506bd15cee9f: Verifying Checksum [2021-06-11T07:28:10.892Z] 506bd15cee9f: Download complete [2021-06-11T07:28:10.892Z] 75a0a4a0db45: Download complete [2021-06-11T07:28:10.892Z] 595b0fe564bb: Download complete [2021-06-11T07:28:11.352Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-11T07:28:11.498Z] 595b0fe564bb: Pull complete [2021-06-11T07:28:12.109Z] 3088b5b3c5c0: Pull complete [2021-06-11T07:28:12.392Z] 5b7225fbf94c: Pull complete [2021-06-11T07:28:12.993Z] 618dc40b7e24: Verifying Checksum [2021-06-11T07:28:12.993Z] 618dc40b7e24: Download complete [2021-06-11T07:28:13.970Z] ba82ee9f976e: Verifying Checksum [2021-06-11T07:28:13.970Z] ba82ee9f976e: Download complete [2021-06-11T07:28:24.126Z] ba82ee9f976e: Pull complete [2021-06-11T07:28:24.126Z] 506bd15cee9f: Pull complete [2021-06-11T07:28:24.407Z] 75a0a4a0db45: Pull complete [2021-06-11T07:28:27.808Z] 618dc40b7e24: Pull complete [2021-06-11T07:28:28.083Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-11T07:28:28.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-11T07:28:28.083Z] ---> a36622ca3599 [2021-06-11T07:28:28.083Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-11T07:28:30.079Z] ---> Running in 1af25e14db2d [2021-06-11T07:28:30.360Z] Removing intermediate container 1af25e14db2d [2021-06-11T07:28:30.360Z] ---> 317b3a261044 [2021-06-11T07:28:30.360Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:28:30.360Z] ---> Running in 45ff5dbf640f [2021-06-11T07:28:32.990Z] Removing intermediate container 45ff5dbf640f [2021-06-11T07:28:32.990Z] ---> 8689d9c292a4 [2021-06-11T07:28:32.990Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T07:28:32.990Z] ---> Running in 5c517fb57697 [2021-06-11T07:28:33.401Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-11T07:28:33.401Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.287s coverage: 63.8% of statements [2021-06-11T07:28:33.401Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T07:28:33.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:28:34.944Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:28:35.915Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-11T07:28:35.916Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-11T07:28:36.186Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-11T07:28:36.186Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-11T07:28:36.186Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T07:28:36.456Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-11T07:28:36.456Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-11T07:28:37.431Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-11T07:28:37.431Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-11T07:28:37.431Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-11T07:28:37.702Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-11T07:28:37.702Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-11T07:28:37.972Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-11T07:28:37.972Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T07:28:37.972Z] OK: 145 MiB in 53 packages [2021-06-11T07:28:39.411Z] Removing intermediate container 5c517fb57697 [2021-06-11T07:28:39.411Z] ---> d8140594c33f [2021-06-11T07:28:39.411Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-11T07:28:39.411Z] ---> Running in b52a581b4d2c [2021-06-11T07:28:40.006Z] Removing intermediate container b52a581b4d2c [2021-06-11T07:28:40.006Z] ---> f2a8862747b2 [2021-06-11T07:28:40.006Z] Step 7/8 : COPY . . [2021-06-11T07:28:40.018Z] gofmt -l . [2021-06-11T07:28:40.018Z] [ "`gofmt -l .`" = "" ] [2021-06-11T07:28:40.018Z] ./bin/test-attribution-txt.sh [2021-06-11T07:28:40.590Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T07:28:40.626Z] $ docker stop --time=1 21232f80c219ac7fd0c989666c709916eef0a6af44b904d41699502c6f0f0cd7 [2021-06-11T07:28:41.447Z] ---> b2a968d957b9 [2021-06-11T07:28:41.447Z] Step 8/8 : RUN go mod download [2021-06-11T07:28:41.447Z] ---> Running in 6eb99370f5c6 [2021-06-11T07:28:42.189Z] $ docker rm -f 21232f80c219ac7fd0c989666c709916eef0a6af44b904d41699502c6f0f0cd7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:28:42.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T07:28:42.934Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-11T07:28:45.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T07:28:46.275Z] + ls -al . [2021-06-11T07:28:46.275Z] total 132 [2021-06-11T07:28:46.275Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 07:28 . [2021-06-11T07:28:46.275Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 07:27 .. [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 11 07:27 Attribution.txt [2021-06-11T07:28:46.275Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 07:27 bin [2021-06-11T07:28:46.275Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 07:27 cmd [2021-06-11T07:28:46.275Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 11 07:28 coverage.out [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 11 07:27 Dockerfile [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 11 07:27 Dockerfile.build [2021-06-11T07:28:46.275Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 07:27 .git [2021-06-11T07:28:46.275Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 07:27 .github [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 11 07:27 .gitignore [2021-06-11T07:28:46.275Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 11 07:28 go.mod [2021-06-11T07:28:46.275Z] -rw-r--r--. 1 jenkins jenkins 23031 Jun 11 07:28 go.sum [2021-06-11T07:28:46.275Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 07:27 internal [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 11 07:27 Jenkinsfile [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 07:27 LICENSE [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 11 07:27 Makefile [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 11 07:27 README.md [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 07:25 VERSION [2021-06-11T07:28:46.275Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 11 07:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:28:46.620Z] + 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=ddc900257d5035d63e5895cab391c076251a60df --label arch=amd64 --label version=0.0.0 . [2021-06-11T07:28:46.620Z] Sending build context to Docker daemon 8.726MB [2021-06-11T07:28:46.620Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:28:46.620Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-11T07:28:46.620Z] ---> 82505e90f9a0 [2021-06-11T07:28:46.620Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:28:46.894Z] ---> Running in 450ba3f7e4f2 [2021-06-11T07:28:46.894Z] Removing intermediate container 450ba3f7e4f2 [2021-06-11T07:28:46.894Z] ---> b0595504569e [2021-06-11T07:28:46.894Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:28:46.894Z] ---> Running in 0def759ed732 [2021-06-11T07:28:46.894Z] Removing intermediate container 0def759ed732 [2021-06-11T07:28:46.894Z] ---> e3042602a371 [2021-06-11T07:28:46.894Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-11T07:28:47.158Z] ---> Running in 1cc40f636891 [2021-06-11T07:28:47.158Z] Removing intermediate container 1cc40f636891 [2021-06-11T07:28:47.158Z] ---> 2d820e77c91d [2021-06-11T07:28:47.158Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:28:47.158Z] ---> Running in 1039459a0204 [2021-06-11T07:28:47.731Z] Removing intermediate container 1039459a0204 [2021-06-11T07:28:47.732Z] ---> a56a96116841 [2021-06-11T07:28:47.732Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:28:47.732Z] ---> Running in 009c0b821881 [2021-06-11T07:28:47.995Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T07:28:48.942Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:28:49.522Z] OK: 156 MiB in 53 packages [2021-06-11T07:28:49.785Z] Removing intermediate container 009c0b821881 [2021-06-11T07:28:49.785Z] ---> 8234646e6ee5 [2021-06-11T07:28:49.785Z] Step 8/26 : COPY . . [2021-06-11T07:28:50.046Z] ---> e8ba89dc5cda [2021-06-11T07:28:50.046Z] Step 9/26 : RUN go mod tidy [2021-06-11T07:28:50.313Z] ---> Running in fb60918cfb99 [2021-06-11T07:28:50.898Z] Removing intermediate container fb60918cfb99 [2021-06-11T07:28:50.898Z] ---> 38adabaedce9 [2021-06-11T07:28:50.898Z] Step 10/26 : RUN go mod download [2021-06-11T07:28:50.898Z] ---> Running in 7390ec7cbcf2 [2021-06-11T07:28:51.469Z] Removing intermediate container 7390ec7cbcf2 [2021-06-11T07:28:51.469Z] ---> 528b68f7de74 [2021-06-11T07:28:51.469Z] Step 11/26 : ARG MAKE='make build' [2021-06-11T07:28:51.469Z] ---> Running in 9768132b60ff [2021-06-11T07:28:51.469Z] Removing intermediate container 9768132b60ff [2021-06-11T07:28:51.469Z] ---> 0b87a5b61229 [2021-06-11T07:28:51.469Z] Step 12/26 : RUN $MAKE [2021-06-11T07:28:51.734Z] ---> Running in df41379d9196 [2021-06-11T07:28:51.997Z] go mod tidy [2021-06-11T07:28:51.997Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-11T07:29:08.251Z] Removing intermediate container 6eb99370f5c6 [2021-06-11T07:29:08.251Z] ---> 6fc8b29a5237 [2021-06-11T07:29:08.251Z] Successfully built 6fc8b29a5237 [2021-06-11T07:29:08.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:08.631Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T07:29:08.631Z] . [Pipeline] withDockerContainer [2021-06-11T07:29:08.918Z] prd-ubuntu18.04-docker-arm64-4c-16g-490 does not seem to be running inside a container [2021-06-11T07:29:08.996Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-11T07:29:10.258Z] Removing intermediate container df41379d9196 [2021-06-11T07:29:10.258Z] ---> 83ccc32fdc89 [2021-06-11T07:29:10.258Z] Step 13/26 : FROM alpine:3.12 [2021-06-11T07:29:10.258Z] 3.12: Pulling from library/alpine [2021-06-11T07:29:10.258Z] 339de151aab4: Pulling fs layer [2021-06-11T07:29:10.258Z] 339de151aab4: Verifying Checksum [2021-06-11T07:29:10.258Z] 339de151aab4: Download complete [2021-06-11T07:29:10.258Z] 339de151aab4: Pull complete [2021-06-11T07:29:10.258Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T07:29:10.258Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T07:29:10.258Z] ---> 13621d1b12d4 [2021-06-11T07:29:10.258Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-11T07:29:10.258Z] ---> Running in 1925c873cdfd [2021-06-11T07:29:10.258Z] Removing intermediate container 1925c873cdfd [2021-06-11T07:29:10.258Z] ---> ae67fb4be400 [2021-06-11T07:29:10.258Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:29:10.258Z] ---> Running in 40a0055beb7b [2021-06-11T07:29:10.520Z] Removing intermediate container 40a0055beb7b [2021-06-11T07:29:10.520Z] ---> 8bf94d4d6812 [2021-06-11T07:29:10.520Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T07:29:10.520Z] ---> Running in f85db5cfbfb3 [2021-06-11T07:29:10.620Z] $ docker top 59bb9ddbecc1d254a37a5773ba7a025a44c3d63491fdcd9780a00f433c237a2f -eo pid,comm [2021-06-11T07:29:10.782Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2021-06-11T07:29:11.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:29:11.707Z] + go version [2021-06-11T07:29:11.708Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-11T07:29:11.804Z] $ docker stop --time=1 59bb9ddbecc1d254a37a5773ba7a025a44c3d63491fdcd9780a00f433c237a2f [2021-06-11T07:29:11.929Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T07:29:11.929Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T07:29:11.929Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T07:29:12.191Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T07:29:13.136Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T07:29:13.136Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T07:29:13.136Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T07:29:13.136Z] OK: 8 MiB in 20 packages [2021-06-11T07:29:13.397Z] Removing intermediate container f85db5cfbfb3 [2021-06-11T07:29:13.397Z] ---> 75579138f788 [2021-06-11T07:29:13.397Z] Step 17/26 : WORKDIR / [2021-06-11T07:29:13.610Z] $ docker rm -f 59bb9ddbecc1d254a37a5773ba7a025a44c3d63491fdcd9780a00f433c237a2f [2021-06-11T07:29:13.657Z] ---> Running in 871388f9c0dc [2021-06-11T07:29:13.657Z] Removing intermediate container 871388f9c0dc [2021-06-11T07:29:13.657Z] ---> af7351e8cb67 [2021-06-11T07:29:13.657Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-11T07:29:13.932Z] ---> b07bcd069aa2 [2021-06-11T07:29:13.932Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-11T07:29:13.932Z] ---> 3f33c8d00c6a [2021-06-11T07:29:13.932Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:14.505Z] ---> 5a39b0758f28 [2021-06-11T07:29:14.506Z] Step 21/26 : EXPOSE 59900 [2021-06-11T07:29:14.506Z] ---> Running in 392cf27c288b [2021-06-11T07:29:14.506Z] Removing intermediate container 392cf27c288b [2021-06-11T07:29:14.506Z] ---> ab913c89e4d7 [2021-06-11T07:29:14.506Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-11T07:29:14.506Z] ---> Running in 5abd007ababc [2021-06-11T07:29:14.690Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T07:29:14.690Z] . [Pipeline] withDockerContainer [2021-06-11T07:29:14.767Z] Removing intermediate container 5abd007ababc [2021-06-11T07:29:14.767Z] ---> 7a2b749bd0a9 [2021-06-11T07:29:14.767Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T07:29:14.767Z] ---> Running in 4db51ae16e8d [2021-06-11T07:29:14.767Z] Removing intermediate container 4db51ae16e8d [2021-06-11T07:29:14.767Z] ---> 78d7fa05b62f [2021-06-11T07:29:14.767Z] Step 24/26 : LABEL arch=amd64 [2021-06-11T07:29:14.767Z] ---> Running in 74f364c602e1 [2021-06-11T07:29:14.969Z] prd-ubuntu18.04-docker-arm64-4c-16g-490 does not seem to be running inside a container [2021-06-11T07:29:15.031Z] Removing intermediate container 74f364c602e1 [2021-06-11T07:29:15.031Z] ---> 01fc01ce5c9f [2021-06-11T07:29:15.031Z] Step 25/26 : LABEL git_sha=ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:29:15.031Z] ---> Running in 15a9b7f81cb3 [2021-06-11T07:29:15.031Z] Removing intermediate container 15a9b7f81cb3 [2021-06-11T07:29:15.031Z] ---> 1c7eab7e271f [2021-06-11T07:29:15.031Z] Step 26/26 : LABEL version=0.0.0 [2021-06-11T07:29:15.031Z] ---> Running in eeb45a59d5fc [2021-06-11T07:29:15.042Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-11T07:29:15.292Z] Removing intermediate container eeb45a59d5fc [2021-06-11T07:29:15.293Z] ---> b867d76a09be [2021-06-11T07:29:15.293Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T07:29:15.293Z] Successfully built b867d76a09be [2021-06-11T07:29:15.293Z] Successfully tagged device-virtual:latest [2021-06-11T07:29:16.670Z] $ docker top 0655ba1c232f35567bfcb2a9f8ff6ba2e04d07f5dc56109e7fbe9d77be416bdc -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-06-11T07:29:17.799Z] + go mod tidy [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:29:18.307Z] ---> job-cost.sh [2021-06-11T07:29:18.307Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nOCx [Pipeline] sh [2021-06-11T07:29:19.084Z] + make test [2021-06-11T07:29:19.084Z] go mod tidy [2021-06-11T07:29:19.686Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-11T07:29:20.671Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-11T07:29:28.333Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T07:29:40.637Z] lf-activate-venv(): INFO: Adding /tmp/venv-nOCx/bin to PATH [2021-06-11T07:29:40.637Z] INFO: No Stack... [2021-06-11T07:29:41.210Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T07:29:41.782Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T07:29:42.120Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-11T07:29:42.120Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T07:29:42.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [2021-06-11T07:29:42.185Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] did not exist. Created. [2021-06-11T07:29:42.185Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T07:29:42.610Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-11T07:29:42.720Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T07:29:42.742Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-11T07:30:28.769Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-11T07:30:28.769Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.662s coverage: 63.8% of statements [2021-06-11T07:30:28.769Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T07:30:55.673Z] gofmt -l . [2021-06-11T07:30:55.673Z] [ "`gofmt -l .`" = "" ] [2021-06-11T07:30:55.673Z] ./bin/test-attribution-txt.sh [2021-06-11T07:30:55.673Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T07:30:55.711Z] $ docker stop --time=1 0655ba1c232f35567bfcb2a9f8ff6ba2e04d07f5dc56109e7fbe9d77be416bdc [2021-06-11T07:30:57.685Z] $ docker rm -f 0655ba1c232f35567bfcb2a9f8ff6ba2e04d07f5dc56109e7fbe9d77be416bdc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:30:58.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T07:30:58.680Z] Warning: overwriting stash ‘coverage-report’ [2021-06-11T07:30:59.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:30:59.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T07:31:00.238Z] + ls -al . [2021-06-11T07:31:00.238Z] total 156 [2021-06-11T07:31:00.238Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 07:30 . [2021-06-11T07:31:00.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:27 .. [2021-06-11T07:31:00.238Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 07:27 .git [2021-06-11T07:31:00.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:27 .github [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 11 07:27 .gitignore [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 11 07:27 Attribution.txt [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 11 07:27 Dockerfile [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 11 07:27 Dockerfile.build [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 11 07:27 Jenkinsfile [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 07:27 LICENSE [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 11 07:27 Makefile [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 11 07:27 README.md [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 07:25 VERSION [2021-06-11T07:31:00.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:27 bin [2021-06-11T07:31:00.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:27 cmd [2021-06-11T07:31:00.238Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 11 07:30 coverage.out [2021-06-11T07:31:00.238Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 11 07:30 go.mod [2021-06-11T07:31:00.238Z] -rw-r--r-- 1 jenkins jenkins 23031 Jun 11 07:29 go.sum [2021-06-11T07:31:00.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:27 internal [2021-06-11T07:31:00.238Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 11 07:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:31:00.615Z] + 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=ddc900257d5035d63e5895cab391c076251a60df --label arch=arm64 --label version=0.0.0 . [2021-06-11T07:31:01.212Z] Sending build context to Docker daemon 8.724MB [2021-06-11T07:31:01.212Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:31:01.212Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-11T07:31:01.212Z] ---> 6fc8b29a5237 [2021-06-11T07:31:01.212Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:31:01.487Z] ---> Running in a4ab5cf9d646 [2021-06-11T07:31:02.081Z] Removing intermediate container a4ab5cf9d646 [2021-06-11T07:31:02.081Z] ---> c4b24cacf5d2 [2021-06-11T07:31:02.081Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:31:02.081Z] ---> Running in e2b9b6237d94 [2021-06-11T07:31:02.678Z] Removing intermediate container e2b9b6237d94 [2021-06-11T07:31:02.678Z] ---> dc755463b740 [2021-06-11T07:31:02.678Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-11T07:31:02.678Z] ---> Running in b2854e86097a [2021-06-11T07:31:03.276Z] Removing intermediate container b2854e86097a [2021-06-11T07:31:03.276Z] ---> 24015415580e [2021-06-11T07:31:03.276Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:31:03.556Z] ---> Running in 4686ad3037d2 [2021-06-11T07:31:05.553Z] Removing intermediate container 4686ad3037d2 [2021-06-11T07:31:05.553Z] ---> 2033027684bb [2021-06-11T07:31:05.553Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:31:05.553Z] ---> Running in b6f9aa31e897 [2021-06-11T07:31:06.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:31:07.974Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:31:08.585Z] OK: 145 MiB in 53 packages [2021-06-11T07:31:09.582Z] Removing intermediate container b6f9aa31e897 [2021-06-11T07:31:09.582Z] ---> 418a74e4bfdb [2021-06-11T07:31:09.582Z] Step 8/26 : COPY . . [2021-06-11T07:31:11.029Z] ---> b185501e1e40 [2021-06-11T07:31:11.029Z] Step 9/26 : RUN go mod tidy [2021-06-11T07:31:11.029Z] ---> Running in a548178834ab [2021-06-11T07:31:13.666Z] Removing intermediate container a548178834ab [2021-06-11T07:31:13.666Z] ---> 413849e70403 [2021-06-11T07:31:13.666Z] Step 10/26 : RUN go mod download [2021-06-11T07:31:13.940Z] ---> Running in b6bca9491791 [2021-06-11T07:31:15.938Z] Removing intermediate container b6bca9491791 [2021-06-11T07:31:15.938Z] ---> 2be647ebb50f [2021-06-11T07:31:15.938Z] Step 11/26 : ARG MAKE='make build' [2021-06-11T07:31:16.212Z] ---> Running in 93026203ac15 [2021-06-11T07:31:16.833Z] Removing intermediate container 93026203ac15 [2021-06-11T07:31:16.833Z] ---> b37e256f923d [2021-06-11T07:31:16.833Z] Step 12/26 : RUN $MAKE [2021-06-11T07:31:16.833Z] ---> Running in f97c21c900c7 [2021-06-11T07:31:17.817Z] go mod tidy [2021-06-11T07:31:18.424Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-11T07:32:15.025Z] Removing intermediate container f97c21c900c7 [2021-06-11T07:32:15.025Z] ---> 7b545eb0e4c2 [2021-06-11T07:32:15.025Z] Step 13/26 : FROM alpine:3.12 [2021-06-11T07:32:15.025Z] 3.12: Pulling from library/alpine [2021-06-11T07:32:15.025Z] d2f70382dc9a: Pulling fs layer [2021-06-11T07:32:15.025Z] d2f70382dc9a: Verifying Checksum [2021-06-11T07:32:15.025Z] d2f70382dc9a: Pull complete [2021-06-11T07:32:15.025Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T07:32:15.025Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T07:32:15.025Z] ---> 9852663dfa18 [2021-06-11T07:32:15.025Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-11T07:32:15.025Z] ---> Running in 9cd61a8fed4f [2021-06-11T07:32:15.025Z] Removing intermediate container 9cd61a8fed4f [2021-06-11T07:32:15.025Z] ---> b8d102ffc18e [2021-06-11T07:32:15.025Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:32:15.025Z] ---> Running in d6abc92165d6 [2021-06-11T07:32:15.025Z] Removing intermediate container d6abc92165d6 [2021-06-11T07:32:15.025Z] ---> e9d8dd203a86 [2021-06-11T07:32:15.025Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T07:32:15.025Z] ---> Running in ced9650be6af [2021-06-11T07:32:15.025Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:32:15.025Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:32:15.025Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T07:32:15.025Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T07:32:15.025Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T07:32:15.025Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T07:32:15.025Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T07:32:15.025Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T07:32:15.025Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T07:32:15.025Z] OK: 8 MiB in 20 packages [2021-06-11T07:32:15.622Z] Removing intermediate container ced9650be6af [2021-06-11T07:32:15.622Z] ---> 8cf9d63ae9c3 [2021-06-11T07:32:15.622Z] Step 17/26 : WORKDIR / [2021-06-11T07:32:15.622Z] ---> Running in 025c4989d465 [2021-06-11T07:32:16.218Z] Removing intermediate container 025c4989d465 [2021-06-11T07:32:16.218Z] ---> 004b5d66b886 [2021-06-11T07:32:16.218Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-11T07:32:16.814Z] ---> 9751e9b6cc7f [2021-06-11T07:32:16.814Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-11T07:32:17.794Z] ---> 6dd7178e8440 [2021-06-11T07:32:17.794Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-11T07:32:19.843Z] ---> 762178d39358 [2021-06-11T07:32:19.843Z] Step 21/26 : EXPOSE 59900 [2021-06-11T07:32:20.122Z] ---> Running in 159236e88224 [2021-06-11T07:32:20.719Z] Removing intermediate container 159236e88224 [2021-06-11T07:32:20.719Z] ---> 60867f78a409 [2021-06-11T07:32:20.719Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-11T07:32:20.719Z] ---> Running in d47b792d566e [2021-06-11T07:32:21.316Z] Removing intermediate container d47b792d566e [2021-06-11T07:32:21.316Z] ---> fd78dfe10d18 [2021-06-11T07:32:21.316Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T07:32:21.316Z] ---> Running in 99c07b99b92a [2021-06-11T07:32:21.914Z] Removing intermediate container 99c07b99b92a [2021-06-11T07:32:21.914Z] ---> 8d883bc185cc [2021-06-11T07:32:21.914Z] Step 24/26 : LABEL arch=arm64 [2021-06-11T07:32:21.914Z] ---> Running in 1d2e62ef116f [2021-06-11T07:32:22.509Z] Removing intermediate container 1d2e62ef116f [2021-06-11T07:32:22.510Z] ---> 07da75392aff [2021-06-11T07:32:22.510Z] Step 25/26 : LABEL git_sha=ddc900257d5035d63e5895cab391c076251a60df [2021-06-11T07:32:22.510Z] ---> Running in 04e0ea68786a [2021-06-11T07:32:23.109Z] Removing intermediate container 04e0ea68786a [2021-06-11T07:32:23.109Z] ---> ea62cc5dd509 [2021-06-11T07:32:23.109Z] Step 26/26 : LABEL version=0.0.0 [2021-06-11T07:32:23.109Z] ---> Running in ceb764e9c033 [2021-06-11T07:32:23.704Z] Removing intermediate container ceb764e9c033 [2021-06-11T07:32:23.704Z] ---> c4fadef90afb [2021-06-11T07:32:23.704Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T07:32:23.704Z] Successfully built c4fadef90afb [2021-06-11T07:32:23.704Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:32:24.695Z] ---> job-cost.sh [2021-06-11T07:32:24.696Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BMs3 [2021-06-11T07:33:03.682Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T07:34:25.436Z] lf-activate-venv(): INFO: Adding /tmp/venv-BMs3/bin to PATH [2021-06-11T07:34:25.436Z] INFO: No Stack... [2021-06-11T07:34:25.436Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-11T07:34:26.042Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T07:34:26.434Z] + cut -d, -f6 [2021-06-11T07:34:26.434Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-06-11T07:34:26.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [2021-06-11T07:34:26.560Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] did not exist. Created. [2021-06-11T07:34:26.560Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T07:34:27.012Z] /w/workspace/device-virtual-go/1@tmp/durable-f6a172cc/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-f6a172cc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-11T07:34:27.393Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-11T07:34:27.438Z] Warning: overwriting stash ‘stack-cost’ [2021-06-11T07:34:27.592Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T07:34:27.612Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-11T07:34:28.918Z] provisioning config files... [2021-06-11T07:34:28.927Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-222@tmp/config8570913637291047068tmp [Pipeline] { [Pipeline] sh [2021-06-11T07:34:29.299Z] + set +x [2021-06-11T07:34:29.299Z] + curl -s https://codecov.io/bash [2021-06-11T07:34:29.299Z] + bash -s -- [2021-06-11T07:34:29.299Z] [2021-06-11T07:34:29.299Z] _____ _ [2021-06-11T07:34:29.299Z] / ____| | | [2021-06-11T07:34:29.299Z] | | ___ __| | ___ ___ _____ __ [2021-06-11T07:34:29.299Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-11T07:34:29.299Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-11T07:34:29.299Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-11T07:34:29.299Z] Bash-1.0.3 [2021-06-11T07:34:29.299Z] [2021-06-11T07:34:29.299Z] [2021-06-11T07:34:29.299Z] ==> git version 2.24.4 found [2021-06-11T07:34:29.299Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-11T07:34:29.299Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-11T07:34:29.299Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-11T07:34:29.299Z] ==> Jenkins CI detected. [2021-06-11T07:34:29.299Z] project root: . [2021-06-11T07:34:29.299Z] --> token set from env [2021-06-11T07:34:29.299Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-11T07:34:29.562Z] ==> Running gcov in . (disable via -X gcov) [2021-06-11T07:34:29.562Z] ==> Python coveragepy not found [2021-06-11T07:34:29.562Z] ==> Searching for coverage reports in: [2021-06-11T07:34:29.562Z] + . [2021-06-11T07:34:29.562Z] -> Found 1 reports [2021-06-11T07:34:29.562Z] ==> Detecting git/mercurial file structure [2021-06-11T07:34:29.562Z] ==> Reading reports [2021-06-11T07:34:29.563Z] + ./coverage.out bytes=47257 [2021-06-11T07:34:29.563Z] ==> Appending adjustments [2021-06-11T07:34:29.563Z] https://docs.codecov.io/docs/fixing-reports [2021-06-11T07:34:29.563Z] + Found adjustments [2021-06-11T07:34:29.563Z] ==> Gzipping contents [2021-06-11T07:34:29.563Z] 8.0K /tmp/codecov.pn4EX5.gz [2021-06-11T07:34:29.563Z] ==> Uploading reports [2021-06-11T07:34:29.563Z] url: https://codecov.io [2021-06-11T07:34:29.563Z] query: branch=PR-222&commit=ddc900257d5035d63e5895cab391c076251a60df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-222%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2021-06-11T07:34:29.563Z] -> Pinging Codecov [2021-06-11T07:34:29.563Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-222&commit=ddc900257d5035d63e5895cab391c076251a60df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-222%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2021-06-11T07:34:30.137Z] -> Uploading to [2021-06-11T07:34:30.137Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-11/5E52B4B073DB2E39498172D8E973AA87/ddc900257d5035d63e5895cab391c076251a60df/b0782cf0-14a9-46e1-815e-9ed0aa5953c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T073429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7c42652fa7f3ae0e89e7fb735f7484cd259b1edb8c86044718ce9b44f48b65b [2021-06-11T07:34:30.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-11T07:34:30.137Z] Dload Upload Total Spent Left Speed [2021-06-11T07:34:30.401Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5791 0 0 100 5791 0 14210 --:--:-- --:--:-- --:--:-- 14228 [2021-06-11T07:34:30.401Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ddc900257d5035d63e5895cab391c076251a60df [Pipeline] } [2021-06-11T07:34:30.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:33.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:33.873Z] ---> package-listing.sh [2021-06-11T07:34:33.873Z] ++ facter osfamily [2021-06-11T07:34:33.873Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-11T07:34:34.135Z] + OS_FAMILY=redhat [2021-06-11T07:34:34.135Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-222 [2021-06-11T07:34:34.135Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-11T07:34:34.135Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-11T07:34:34.135Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-11T07:34:34.135Z] + PACKAGES=/tmp/packages_start.txt [2021-06-11T07:34:34.135Z] + '[' /w/workspace/foundry_device-virtual-go_PR-222 ']' [2021-06-11T07:34:34.135Z] + PACKAGES=/tmp/packages_end.txt [2021-06-11T07:34:34.135Z] + case "${OS_FAMILY}" in [2021-06-11T07:34:34.135Z] + rpm -qa [2021-06-11T07:34:34.135Z] + sort [2021-06-11T07:34:34.714Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-11T07:34:34.714Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-11T07:34:34.714Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-11T07:34:34.714Z] + '[' /w/workspace/foundry_device-virtual-go_PR-222 ']' [2021-06-11T07:34:34.714Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-222/archives/ [2021-06-11T07:34:34.714Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-222/archives/ [Pipeline] echo [2021-06-11T07:34:34.751Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-11T07:34:35.058Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:34:35.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:34:35.662Z] [2021-06-11T07:34:35.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:34:36.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:34:36.032Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-11T07:34:36.032Z] df20fa9351a1: Pulling fs layer [2021-06-11T07:34:36.032Z] 36b3adc4ff6f: Pulling fs layer [2021-06-11T07:34:36.032Z] 8ad3a11d3b57: Pulling fs layer [2021-06-11T07:34:36.032Z] 46f8f816bc3b: Pulling fs layer [2021-06-11T07:34:36.032Z] 93b61091891f: Pulling fs layer [2021-06-11T07:34:36.032Z] 93b9cdb0e59b: Pulling fs layer [2021-06-11T07:34:36.032Z] 5e14af77c1be: Pulling fs layer [2021-06-11T07:34:36.032Z] 01666e4c0597: Pulling fs layer [2021-06-11T07:34:36.032Z] aa168da1d23b: Pulling fs layer [2021-06-11T07:34:36.032Z] 93b61091891f: Waiting [2021-06-11T07:34:36.032Z] 93b9cdb0e59b: Waiting [2021-06-11T07:34:36.032Z] 5e14af77c1be: Waiting [2021-06-11T07:34:36.032Z] 01666e4c0597: Waiting [2021-06-11T07:34:36.032Z] aa168da1d23b: Waiting [2021-06-11T07:34:36.032Z] 46f8f816bc3b: Waiting [2021-06-11T07:34:36.032Z] 36b3adc4ff6f: Verifying Checksum [2021-06-11T07:34:36.032Z] 36b3adc4ff6f: Download complete [2021-06-11T07:34:36.032Z] 46f8f816bc3b: Verifying Checksum [2021-06-11T07:34:36.032Z] 46f8f816bc3b: Download complete [2021-06-11T07:34:36.032Z] df20fa9351a1: Verifying Checksum [2021-06-11T07:34:36.032Z] df20fa9351a1: Download complete [2021-06-11T07:34:36.032Z] 93b9cdb0e59b: Verifying Checksum [2021-06-11T07:34:36.032Z] 93b9cdb0e59b: Download complete [2021-06-11T07:34:36.293Z] 5e14af77c1be: Verifying Checksum [2021-06-11T07:34:36.293Z] 5e14af77c1be: Download complete [2021-06-11T07:34:36.293Z] 01666e4c0597: Verifying Checksum [2021-06-11T07:34:36.293Z] 01666e4c0597: Download complete [2021-06-11T07:34:36.293Z] 93b61091891f: Verifying Checksum [2021-06-11T07:34:36.294Z] 93b61091891f: Download complete [2021-06-11T07:34:36.294Z] 8ad3a11d3b57: Verifying Checksum [2021-06-11T07:34:36.294Z] 8ad3a11d3b57: Download complete [2021-06-11T07:34:36.294Z] df20fa9351a1: Pull complete [2021-06-11T07:34:36.560Z] 36b3adc4ff6f: Pull complete [2021-06-11T07:34:37.139Z] 8ad3a11d3b57: Pull complete [2021-06-11T07:34:37.139Z] 46f8f816bc3b: Pull complete [2021-06-11T07:34:37.399Z] 93b61091891f: Pull complete [2021-06-11T07:34:37.660Z] 93b9cdb0e59b: Pull complete [2021-06-11T07:34:37.660Z] 5e14af77c1be: Pull complete [2021-06-11T07:34:37.660Z] 01666e4c0597: Pull complete [2021-06-11T07:34:38.250Z] aa168da1d23b: Verifying Checksum [2021-06-11T07:34:38.250Z] aa168da1d23b: Download complete [2021-06-11T07:34:42.508Z] aa168da1d23b: Pull complete [2021-06-11T07:34:42.508Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-11T07:34:42.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:34:42.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-11T07:34:42.607Z] prd-centos7-docker-4c-2g-488 does not seem to be running inside a container [2021-06-11T07:34:42.642Z] $ 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-222/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-222 -v /w/workspace/foundry_device-virtual-go_PR-222:/w/workspace/foundry_device-virtual-go_PR-222:rw,z -v /w/workspace/foundry_device-virtual-go_PR-222@tmp:/w/workspace/foundry_device-virtual-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-11T07:34:44.826Z] $ docker top db39ed26124a8a9c253d1ba114abea058d8489db3b664a283042bf3627cc11c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:34:45.257Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-11T07:34:45.582Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-11T07:34:45.920Z] + ls /var/log/sa-host [2021-06-11T07:34:45.920Z] + sadf -c /var/log/sa-host/sa05 [2021-06-11T07:34:45.920Z] file_magic: OK [2021-06-11T07:34:45.920Z] HZ: Using current value: 100 [2021-06-11T07:34:45.920Z] file_header: OK [2021-06-11T07:34:45.920Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-11T07:34:45.920Z] Statistics: [2021-06-11T07:34:45.920Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T07:34:45.920Z] File successfully converted to sysstat format version 12.2.1 [2021-06-11T07:34:45.920Z] + sadf -c /var/log/sa-host/sa11 [2021-06-11T07:34:45.920Z] file_magic: OK [2021-06-11T07:34:45.920Z] HZ: Using current value: 100 [2021-06-11T07:34:45.920Z] file_header: OK [2021-06-11T07:34:45.920Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-11T07:34:45.920Z] Statistics: [2021-06-11T07:34:45.920Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T07:34:45.920Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:34:46.561Z] provisioning config files... [2021-06-11T07:34:46.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-222@tmp/config3425118894901923844tmp [Pipeline] { [Pipeline] echo [2021-06-11T07:34:46.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:47.006Z] ---> create-netrc.sh [Pipeline] } [2021-06-11T07:34:47.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:47.523Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-11T07:34:47.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:47.890Z] ---> sudo-logs.sh [2021-06-11T07:34:47.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-11T07:34:48.001Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:48.349Z] ---> job-cost.sh [2021-06-11T07:34:48.349Z] lf-activate-venv: SKIPPING [2021-06-11T07:34:48.349Z] DEBUG: total: 0.18000000715255737 [2021-06-11T07:34:48.349Z] INFO: Retrieving Stack Cost... [2021-06-11T07:34:49.320Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T07:34:49.891Z] INFO: Archiving Costs [Pipeline] echo [2021-06-11T07:34:49.924Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:50.256Z] ---> logs-deploy.sh [2021-06-11T07:34:50.256Z] lf-activate-venv: SKIPPING [2021-06-11T07:34:50.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-222/1 [2021-06-11T07:34:50.256Z] INFO: archiving workspace using pattern(s): [2021-06-11T07:34:51.201Z] Archives upload complete. [2021-06-11T07:34:51.201Z] INFO: archiving logs to Nexus