Pull request #227 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 b465c2a51d9dd69cc52592f43caac63f9db9f3d5+9c30a40d80097a97dbd8155a5edd602def4d59f0 (080492c788da2b9eac83abaa4c2341038cb3edfd) 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-ssh8588653548649281190.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-ssh108344883877178135.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-227/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-227/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6395366607719956792.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-227/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1467123980830562021.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-ssh4727588359161378440.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-227/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-227/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4323588215884043868.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-821 in /w/workspace/foundry_device-virtual-go_PR-227 [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-227 # 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-227@tmp/jenkins-gitclient-ssh3727341362129886647.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-227@tmp/jenkins-gitclient-ssh4351014622914115173.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9c30a40d80097a97dbd8155a5edd602def4d59f0 into PR head commit b465c2a51d9dd69cc52592f43caac63f9db9f3d5 Merge succeeded, producing b465c2a51d9dd69cc52592f43caac63f9db9f3d5 Checking out Revision b465c2a51d9dd69cc52592f43caac63f9db9f3d5 (PR-227) > git config core.sparsecheckout # timeout=10 > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # 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-227@tmp/jenkins-gitclient-ssh4857641193363361617.key > git merge 9c30a40d80097a97dbd8155a5edd602def4d59f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # timeout=10 Commit message: "build: bump sdk version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-23T02:38:29.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-23T02:38:30.097Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-23T02:38:30.227Z] ========================================================= [2021-06-23T02:38:30.227Z] EdgeX Global Pipelines Version Info [2021-06-23T02:38:30.227Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:38:31.790Z] ------------------- [2021-06-23T02:38:31.790Z] stable info: [2021-06-23T02:38:31.790Z] ------------------- [2021-06-23T02:38:31.790Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-23T02:38:31.790Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T02:38:31.790Z] Message: update stable to v1.0.195 [2021-06-23T02:38:32.365Z] ------------------- [2021-06-23T02:38:32.365Z] experimental info: [2021-06-23T02:38:32.365Z] ------------------- [2021-06-23T02:38:32.365Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-23T02:38:32.365Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T02:38:32.365Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-23T02:38:32.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-23T02:38:32.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-23T02:38:32.736Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-23T02:38:32.798Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-23T02:38:32.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-23T02:38:32.919Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-23T02:38:32.990Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-23T02:38:33.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-23T02:38:33.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-23T02:38:33.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-23T02:38:33.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-23T02:38:33.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-23T02:38:33.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-23T02:38:33.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-23T02:38:33.630Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T02:38:33.697Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T02:38:33.786Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T02:38:33.925Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T02:38:34.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-23T02:38:34.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-23T02:38:34.122Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-23T02:38:34.178Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-23T02:38:34.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-23T02:38:34.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-23T02:38:34.354Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-23T02:38:34.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-23T02:38:34.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo [2021-06-23T02:38:34.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo [2021-06-23T02:38:34.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo [2021-06-23T02:38:34.648Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [Pipeline] echo [2021-06-23T02:38:34.704Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b465c2a [Pipeline] echo [2021-06-23T02:38:34.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T02:38:34.930Z] provisioning config files... [2021-06-23T02:38:34.953Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-227@tmp/config8299907877666458051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:38:35.344Z] ---> docker-login.sh [2021-06-23T02:38:35.344Z] nexus3.edgexfoundry.org:10001 [2021-06-23T02:38:35.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:38:35.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:38:35.870Z] Configure a credential helper to remove this warning. See [2021-06-23T02:38:35.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:38:35.870Z] [2021-06-23T02:38:35.870Z] Login Succeeded [2021-06-23T02:38:35.870Z] nexus3.edgexfoundry.org:10002 [2021-06-23T02:38:35.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:38:36.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:38:36.135Z] Configure a credential helper to remove this warning. See [2021-06-23T02:38:36.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:38:36.135Z] [2021-06-23T02:38:36.135Z] Login Succeeded [2021-06-23T02:38:36.135Z] nexus3.edgexfoundry.org:10003 [2021-06-23T02:38:36.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:38:36.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:38:36.135Z] Configure a credential helper to remove this warning. See [2021-06-23T02:38:36.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:38:36.135Z] [2021-06-23T02:38:36.135Z] Login Succeeded [2021-06-23T02:38:36.135Z] nexus3.edgexfoundry.org:10004 [2021-06-23T02:38:36.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:38:36.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:38:36.397Z] Configure a credential helper to remove this warning. See [2021-06-23T02:38:36.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:38:36.397Z] [2021-06-23T02:38:36.397Z] Login Succeeded [2021-06-23T02:38:36.397Z] docker.io [2021-06-23T02:38:36.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:38:36.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:38:36.659Z] Configure a credential helper to remove this warning. See [2021-06-23T02:38:36.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:38:36.659Z] [2021-06-23T02:38:36.659Z] Login Succeeded [2021-06-23T02:38:36.659Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T02:38:36.683Z] 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-23T02:38:37.487Z] + git log --format=format:%s -1 b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [Pipeline] echo [2021-06-23T02:38:37.560Z] GIT_COMMIT: b465c2a51d9dd69cc52592f43caac63f9db9f3d5, Commit Message: build: bump sdk version [Pipeline] echo [2021-06-23T02:38:37.598Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:38:38.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T02:38:38.675Z] [2021-06-23T02:38:38.675Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:38:39.068Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T02:38:39.068Z] latest: Pulling from edgex-devops/git-semver [2021-06-23T02:38:39.068Z] 31603596830f: Pulling fs layer [2021-06-23T02:38:39.068Z] 54011a49482f: Pulling fs layer [2021-06-23T02:38:39.068Z] a6820b24f6d8: Pulling fs layer [2021-06-23T02:38:39.068Z] f581987b2513: Pulling fs layer [2021-06-23T02:38:39.068Z] f581987b2513: Waiting [2021-06-23T02:38:39.068Z] 54011a49482f: Verifying Checksum [2021-06-23T02:38:39.068Z] 54011a49482f: Download complete [2021-06-23T02:38:39.068Z] 31603596830f: Verifying Checksum [2021-06-23T02:38:39.068Z] 31603596830f: Download complete [2021-06-23T02:38:39.333Z] a6820b24f6d8: Verifying Checksum [2021-06-23T02:38:39.333Z] a6820b24f6d8: Download complete [2021-06-23T02:38:39.333Z] f581987b2513: Verifying Checksum [2021-06-23T02:38:39.333Z] f581987b2513: Download complete [2021-06-23T02:38:39.333Z] 31603596830f: Pull complete [2021-06-23T02:38:39.594Z] 54011a49482f: Pull complete [2021-06-23T02:38:40.168Z] a6820b24f6d8: Pull complete [2021-06-23T02:38:40.168Z] f581987b2513: Pull complete [2021-06-23T02:38:40.432Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-23T02:38:40.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T02:38:40.432Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-23T02:38:40.530Z] prd-centos7-docker-4c-2g-821 does not seem to be running inside a container [2021-06-23T02:38:40.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-227 -v /w/workspace/foundry_device-virtual-go_PR-227:/w/workspace/foundry_device-virtual-go_PR-227:rw,z -v /w/workspace/foundry_device-virtual-go_PR-227@tmp:/w/workspace/foundry_device-virtual-go_PR-227@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-23T02:38:41.783Z] $ docker top 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-23T02:38:42.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T02:38:42.038Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T02:38:42.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T02:38:42.151Z] $ docker exec 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 ssh-agent [2021-06-23T02:38:42.269Z] SSH_AUTH_SOCK=/tmp/ssh-pzEeMegCX7bW/agent.13 [2021-06-23T02:38:42.269Z] SSH_AGENT_PID=19 [2021-06-23T02:38:42.277Z] Running ssh-add (command line suppressed) [2021-06-23T02:38:42.370Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-227@tmp/private_key_5569272375163989874.key (/w/workspace/foundry_device-virtual-go_PR-227@tmp/private_key_5569272375163989874.key) [2021-06-23T02:38:42.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T02:38:42.779Z] + git tag --points-at HEAD [Pipeline] } [2021-06-23T02:38:42.817Z] $ docker exec --env ******** --env ******** 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 ssh-agent -k [2021-06-23T02:38:42.911Z] unset SSH_AUTH_SOCK; [2021-06-23T02:38:42.911Z] unset SSH_AGENT_PID; [2021-06-23T02:38:42.911Z] echo Agent pid 19 killed; [2021-06-23T02:38:42.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-23T02:38:43.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T02:38:43.044Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T02:38:43.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T02:38:43.155Z] $ docker exec 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 ssh-agent [2021-06-23T02:38:43.267Z] SSH_AUTH_SOCK=/tmp/ssh-MuZtyFt4cuvF/agent.52 [2021-06-23T02:38:43.267Z] SSH_AGENT_PID=58 [2021-06-23T02:38:43.273Z] Running ssh-add (command line suppressed) [2021-06-23T02:38:43.376Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-227@tmp/private_key_3386150977677346920.key (/w/workspace/foundry_device-virtual-go_PR-227@tmp/private_key_3386150977677346920.key) [2021-06-23T02:38:43.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T02:38:43.753Z] + git semver init [2021-06-23T02:38:43.753Z] # -> Open(): unable to determine branch for HEAD [2021-06-23T02:38:43.753Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-227/.git [2021-06-23T02:38:43.753Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-227 [2021-06-23T02:38:43.753Z] # $SEMVER_REMOTE_NAME = origin [2021-06-23T02:38:43.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-23T02:38:43.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-23T02:38:43.753Z] # $SEMVER_BRANCH = PR-227 [2021-06-23T02:38:43.753Z] # $SEMVER_TEMP = /tmp/semver-794036732 [2021-06-23T02:38:43.753Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-23T02:38:44.709Z] # '/tmp/semver-794036732' -> '/w/workspace/foundry_device-virtual-go_PR-227/.semver' [2021-06-23T02:38:44.709Z] # -> Force: false [2021-06-23T02:38:44.709Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-227/.semver [Pipeline] } [2021-06-23T02:38:44.725Z] $ docker exec --env ******** --env ******** 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 ssh-agent -k [2021-06-23T02:38:44.813Z] unset SSH_AUTH_SOCK; [2021-06-23T02:38:44.814Z] unset SSH_AGENT_PID; [2021-06-23T02:38:44.814Z] echo Agent pid 58 killed; [2021-06-23T02:38:44.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-23T02:38:45.261Z] + git semver [Pipeline] } [2021-06-23T02:38:45.290Z] $ docker stop --time=1 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 [2021-06-23T02:38:46.592Z] $ docker rm -f 26549eae2d3870a27d3cd604ced0aa8cacea413b51f115a4393dba838dda9186 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T02:38:47.008Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-23T02:38:47.345Z] Stashed 1 file(s) [Pipeline] echo [2021-06-23T02:38:47.369Z] [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-23T02:39:02.907Z] Still waiting to schedule task [2021-06-23T02:39:02.908Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-821’ [2021-06-23T02:39:02.928Z] Still waiting to schedule task [2021-06-23T02:39:02.928Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-23T02:41:05.903Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-822 in /w/workspace/foundry_device-virtual-go_PR-227 [Pipeline] { [Pipeline] ws [2021-06-23T02:41:05.968Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-23T02:41:06.282Z] The recommended git tool is: git [2021-06-23T02:41:11.688Z] using credential edgex-jenkins-ssh [2021-06-23T02:41:11.710Z] Cloning the remote Git repository [2021-06-23T02:41:11.766Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:11.873Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-23T02:41:11.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:11.946Z] > git --version # timeout=10 [2021-06-23T02:41:11.962Z] > git --version # 'git version 2.17.1' [2021-06-23T02:41:11.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:12.057Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T02:41:13.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-23T02:41:13.616Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T02:41:13.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-23T02:41:13.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:13.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:13.682Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T02:41:14.246Z] Merging remotes/origin/master commit 9c30a40d80097a97dbd8155a5edd602def4d59f0 into PR head commit b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:41:14.435Z] Merge succeeded, producing b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:41:14.436Z] Checking out Revision b465c2a51d9dd69cc52592f43caac63f9db9f3d5 (PR-227) [2021-06-23T02:41:14.260Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T02:41:14.274Z] > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # timeout=10 [2021-06-23T02:41:14.350Z] > git remote # timeout=10 [2021-06-23T02:41:14.368Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T02:41:14.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:14.393Z] > git merge 9c30a40d80097a97dbd8155a5edd602def4d59f0 # timeout=10 [2021-06-23T02:41:14.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T02:41:14.435Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T02:41:14.455Z] > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # timeout=10 [2021-06-23T02:41:18.659Z] Commit message: "build: bump sdk version" [2021-06-23T02:41:18.709Z] > git --version # timeout=10 [2021-06-23T02:41:18.729Z] > git --version # 'git version 2.17.1' [2021-06-23T02:41:18.749Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T02:41:20.605Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-23T02:41:21.026Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T02:41:21.399Z] + true [2021-06-23T02:41:21.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T02:41:39.860Z] provisioning config files... [2021-06-23T02:41:39.887Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4378367659300935027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:41:40.308Z] ---> docker-login.sh [2021-06-23T02:41:40.309Z] nexus3.edgexfoundry.org:10001 [2021-06-23T02:41:41.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:41:41.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:41:41.571Z] Configure a credential helper to remove this warning. See [2021-06-23T02:41:41.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:41:41.571Z] [2021-06-23T02:41:41.571Z] Login Succeeded [2021-06-23T02:41:41.571Z] nexus3.edgexfoundry.org:10002 [2021-06-23T02:41:41.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:41:42.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:41:42.124Z] Configure a credential helper to remove this warning. See [2021-06-23T02:41:42.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:41:42.124Z] [2021-06-23T02:41:42.124Z] Login Succeeded [2021-06-23T02:41:42.124Z] nexus3.edgexfoundry.org:10003 [2021-06-23T02:41:42.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:41:42.478Z] Running on prd-centos7-docker-4c-2g-823 in /w/workspace/foundry_device-virtual-go_PR-227 [Pipeline] { [Pipeline] ws [2021-06-23T02:41:42.554Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-23T02:41:42.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:41:42.680Z] Configure a credential helper to remove this warning. See [2021-06-23T02:41:42.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:41:42.680Z] [2021-06-23T02:41:42.680Z] Login Succeeded [2021-06-23T02:41:42.680Z] nexus3.edgexfoundry.org:10004 [2021-06-23T02:41:42.744Z] The recommended git tool is: git [2021-06-23T02:41:42.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:41:43.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:41:43.235Z] Configure a credential helper to remove this warning. See [2021-06-23T02:41:43.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:41:43.235Z] [2021-06-23T02:41:43.236Z] Login Succeeded [2021-06-23T02:41:43.236Z] docker.io [2021-06-23T02:41:43.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:41:44.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:41:44.114Z] Configure a credential helper to remove this warning. See [2021-06-23T02:41:44.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:41:44.114Z] [2021-06-23T02:41:44.114Z] Login Succeeded [2021-06-23T02:41:44.114Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T02:41:44.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T02:41:44.764Z] ========================================================= [2021-06-23T02:41:44.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-23T02:41:44.765Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:41:45.141Z] using credential edgex-jenkins-ssh [2021-06-23T02:41:45.155Z] Cloning the remote Git repository [2021-06-23T02:41:45.185Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-23T02:41:45.466Z] Sending build context to Docker daemon 8.622MB [2021-06-23T02:41:45.741Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T02:41:45.741Z] Step 2/8 : FROM ${BASE} [2021-06-23T02:41:45.741Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-23T02:41:45.741Z] 595b0fe564bb: Pulling fs layer [2021-06-23T02:41:45.741Z] 3088b5b3c5c0: Pulling fs layer [2021-06-23T02:41:45.741Z] 5b7225fbf94c: Pulling fs layer [2021-06-23T02:41:45.741Z] ba82ee9f976e: Pulling fs layer [2021-06-23T02:41:45.741Z] 506bd15cee9f: Pulling fs layer [2021-06-23T02:41:45.741Z] 75a0a4a0db45: Pulling fs layer [2021-06-23T02:41:45.741Z] 618dc40b7e24: Pulling fs layer [2021-06-23T02:41:45.741Z] 506bd15cee9f: Waiting [2021-06-23T02:41:45.741Z] 75a0a4a0db45: Waiting [2021-06-23T02:41:45.741Z] ba82ee9f976e: Waiting [2021-06-23T02:41:45.741Z] 618dc40b7e24: Waiting [2021-06-23T02:41:46.015Z] 5b7225fbf94c: Verifying Checksum [2021-06-23T02:41:46.015Z] 5b7225fbf94c: Download complete [2021-06-23T02:41:46.015Z] 3088b5b3c5c0: Verifying Checksum [2021-06-23T02:41:46.015Z] 3088b5b3c5c0: Download complete [2021-06-23T02:41:46.015Z] 506bd15cee9f: Download complete [2021-06-23T02:41:46.015Z] 75a0a4a0db45: Download complete [2021-06-23T02:41:46.015Z] 595b0fe564bb: Download complete [2021-06-23T02:41:44.866Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:44.948Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-23T02:41:44.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:44.987Z] > git --version # timeout=10 [2021-06-23T02:41:44.994Z] > git --version # 'git version 2.24.4' [2021-06-23T02:41:44.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:45.021Z] [INFO] Currently running in a labeled security context [2021-06-23T02:41:45.021Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T02:41:45.022Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh958070668937697900.key [2021-06-23T02:41:45.057Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T02:41:46.612Z] 595b0fe564bb: Pull complete [2021-06-23T02:41:46.873Z] Merging remotes/origin/master commit 9c30a40d80097a97dbd8155a5edd602def4d59f0 into PR head commit b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:41:46.979Z] Merge succeeded, producing b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:41:46.980Z] Checking out Revision b465c2a51d9dd69cc52592f43caac63f9db9f3d5 (PR-227) [2021-06-23T02:41:46.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-23T02:41:46.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T02:41:46.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-23T02:41:46.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-23T02:41:46.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:46.190Z] [INFO] Currently running in a labeled security context [2021-06-23T02:41:46.190Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T02:41:46.190Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh8965329589018168202.key [2021-06-23T02:41:46.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T02:41:46.708Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T02:41:46.718Z] > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # timeout=10 [2021-06-23T02:41:46.753Z] > git remote # timeout=10 [2021-06-23T02:41:46.763Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T02:41:46.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T02:41:46.777Z] [INFO] Currently running in a labeled security context [2021-06-23T02:41:46.778Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T02:41:46.778Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh3799543493720854264.key [2021-06-23T02:41:46.787Z] > git merge 9c30a40d80097a97dbd8155a5edd602def4d59f0 # timeout=10 [2021-06-23T02:41:46.799Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T02:41:46.817Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T02:41:46.836Z] > git checkout -f b465c2a51d9dd69cc52592f43caac63f9db9f3d5 # timeout=10 [2021-06-23T02:41:47.209Z] 3088b5b3c5c0: Pull complete [2021-06-23T02:41:47.486Z] 5b7225fbf94c: Pull complete [2021-06-23T02:41:48.468Z] 618dc40b7e24: Verifying Checksum [2021-06-23T02:41:48.468Z] 618dc40b7e24: Download complete [2021-06-23T02:41:49.904Z] ba82ee9f976e: Verifying Checksum [2021-06-23T02:41:49.905Z] ba82ee9f976e: Download complete [2021-06-23T02:41:50.412Z] Commit message: "build: bump sdk version" [2021-06-23T02:41:50.441Z] > git --version # timeout=10 [2021-06-23T02:41:50.447Z] > git --version # 'git version 2.24.4' [2021-06-23T02:41:50.457Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T02:41:51.835Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-23T02:41:52.194Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T02:41:52.526Z] + sudo service docker restart [2021-06-23T02:41:52.526Z] + true [2021-06-23T02:41:52.526Z] Redirecting to /bin/systemctl restart docker.service [2021-06-23T02:42:00.076Z] ba82ee9f976e: Pull complete [2021-06-23T02:42:00.076Z] 506bd15cee9f: Pull complete [2021-06-23T02:42:00.681Z] 75a0a4a0db45: Pull complete [2021-06-23T02:42:05.015Z] 618dc40b7e24: Pull complete [2021-06-23T02:42:05.015Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-23T02:42:05.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-23T02:42:05.015Z] ---> a36622ca3599 [2021-06-23T02:42:05.015Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-23T02:42:06.451Z] ---> Running in 883029ce5bf2 [2021-06-23T02:42:06.723Z] Removing intermediate container 883029ce5bf2 [2021-06-23T02:42:06.723Z] ---> e91c3a9a9163 [2021-06-23T02:42:06.723Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:42:06.723Z] ---> Running in e05cc51f00f9 [2021-06-23T02:42:09.358Z] Removing intermediate container e05cc51f00f9 [2021-06-23T02:42:09.358Z] ---> 8c1718b1f53b [2021-06-23T02:42:09.358Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T02:42:09.358Z] ---> Running in b9960a916d45 [2021-06-23T02:42:10.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T02:42:10.768Z] provisioning config files... [2021-06-23T02:42:10.787Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config407264273118286965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:42:11.169Z] ---> docker-login.sh [2021-06-23T02:42:11.169Z] nexus3.edgexfoundry.org:10001 [2021-06-23T02:42:11.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:42:11.329Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T02:42:11.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:42:11.431Z] Configure a credential helper to remove this warning. See [2021-06-23T02:42:11.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:42:11.431Z] [2021-06-23T02:42:11.431Z] Login Succeeded [2021-06-23T02:42:11.431Z] nexus3.edgexfoundry.org:10002 [2021-06-23T02:42:11.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:42:11.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:42:11.431Z] Configure a credential helper to remove this warning. See [2021-06-23T02:42:11.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:42:11.431Z] [2021-06-23T02:42:11.431Z] Login Succeeded [2021-06-23T02:42:11.431Z] nexus3.edgexfoundry.org:10003 [2021-06-23T02:42:11.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:42:11.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:42:11.692Z] Configure a credential helper to remove this warning. See [2021-06-23T02:42:11.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:42:11.692Z] [2021-06-23T02:42:11.692Z] Login Succeeded [2021-06-23T02:42:11.692Z] nexus3.edgexfoundry.org:10004 [2021-06-23T02:42:11.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:42:11.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:42:11.692Z] Configure a credential helper to remove this warning. See [2021-06-23T02:42:11.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:42:11.692Z] [2021-06-23T02:42:11.692Z] Login Succeeded [2021-06-23T02:42:11.692Z] docker.io [2021-06-23T02:42:11.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T02:42:11.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T02:42:11.952Z] Configure a credential helper to remove this warning. See [2021-06-23T02:42:11.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T02:42:11.952Z] [2021-06-23T02:42:11.952Z] Login Succeeded [2021-06-23T02:42:11.952Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T02:42:11.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T02:42:12.266Z] ========================================================= [2021-06-23T02:42:12.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-23T02:42:12.266Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:42:12.324Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-23T02:42:12.324Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-23T02:42:12.324Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-23T02:42:12.597Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-23T02:42:12.597Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-23T02:42:12.616Z] + 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-23T02:42:12.616Z] Sending build context to Docker daemon 8.623MB [2021-06-23T02:42:12.616Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T02:42:12.616Z] Step 2/8 : FROM ${BASE} [2021-06-23T02:42:12.872Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-23T02:42:12.879Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-23T02:42:12.879Z] 540db60ca938: Pulling fs layer [2021-06-23T02:42:12.879Z] adcc1eea9eea: Pulling fs layer [2021-06-23T02:42:12.879Z] 4c4ab2625f07: Pulling fs layer [2021-06-23T02:42:12.879Z] 0510c868ecb4: Pulling fs layer [2021-06-23T02:42:12.879Z] afea3b2eda06: Pulling fs layer [2021-06-23T02:42:12.879Z] 7809a108b3ef: Pulling fs layer [2021-06-23T02:42:12.879Z] f706445af74f: Pulling fs layer [2021-06-23T02:42:12.879Z] 0510c868ecb4: Waiting [2021-06-23T02:42:12.879Z] afea3b2eda06: Waiting [2021-06-23T02:42:12.879Z] 7809a108b3ef: Waiting [2021-06-23T02:42:12.879Z] f706445af74f: Waiting [2021-06-23T02:42:12.879Z] 4c4ab2625f07: Verifying Checksum [2021-06-23T02:42:12.879Z] 4c4ab2625f07: Download complete [2021-06-23T02:42:12.879Z] adcc1eea9eea: Verifying Checksum [2021-06-23T02:42:12.879Z] adcc1eea9eea: Download complete [2021-06-23T02:42:12.879Z] afea3b2eda06: Verifying Checksum [2021-06-23T02:42:12.879Z] afea3b2eda06: Download complete [2021-06-23T02:42:12.879Z] 7809a108b3ef: Verifying Checksum [2021-06-23T02:42:12.879Z] 7809a108b3ef: Download complete [2021-06-23T02:42:12.879Z] 540db60ca938: Verifying Checksum [2021-06-23T02:42:12.879Z] 540db60ca938: Download complete [2021-06-23T02:42:13.145Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-23T02:42:13.146Z] 540db60ca938: Pull complete [2021-06-23T02:42:13.147Z] adcc1eea9eea: Pull complete [2021-06-23T02:42:13.408Z] 4c4ab2625f07: Pull complete [2021-06-23T02:42:13.740Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-23T02:42:14.023Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-23T02:42:14.023Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-23T02:42:14.342Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-23T02:42:14.394Z] f706445af74f: Verifying Checksum [2021-06-23T02:42:14.394Z] f706445af74f: Download complete [2021-06-23T02:42:14.655Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-23T02:42:14.929Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-23T02:42:14.976Z] 0510c868ecb4: Verifying Checksum [2021-06-23T02:42:14.977Z] 0510c868ecb4: Download complete [2021-06-23T02:42:15.206Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T02:42:15.206Z] OK: 145 MiB in 53 packages [2021-06-23T02:42:16.646Z] Removing intermediate container b9960a916d45 [2021-06-23T02:42:16.646Z] ---> f73d1cdd51f3 [2021-06-23T02:42:16.646Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-23T02:42:16.646Z] ---> Running in cadd8ea0bafe [2021-06-23T02:42:17.247Z] Removing intermediate container cadd8ea0bafe [2021-06-23T02:42:17.247Z] ---> 87e45f8780ab [2021-06-23T02:42:17.247Z] Step 7/8 : COPY . . [2021-06-23T02:42:18.228Z] ---> 3589f0c6c04e [2021-06-23T02:42:18.228Z] Step 8/8 : RUN go mod download [2021-06-23T02:42:18.309Z] 0510c868ecb4: Pull complete [2021-06-23T02:42:18.309Z] afea3b2eda06: Pull complete [2021-06-23T02:42:18.309Z] 7809a108b3ef: Pull complete [2021-06-23T02:42:18.501Z] ---> Running in 3e439ca61c12 [2021-06-23T02:42:19.704Z] f706445af74f: Pull complete [2021-06-23T02:42:19.704Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-23T02:42:19.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-23T02:42:19.704Z] ---> b068be0155e3 [2021-06-23T02:42:19.704Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-23T02:42:23.085Z] ---> Running in c04b26b6a063 [2021-06-23T02:42:23.085Z] Removing intermediate container c04b26b6a063 [2021-06-23T02:42:23.085Z] ---> fecee5dc235e [2021-06-23T02:42:23.085Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:42:23.085Z] ---> Running in d6033b98b5d5 [2021-06-23T02:42:23.682Z] Removing intermediate container d6033b98b5d5 [2021-06-23T02:42:23.682Z] ---> 04f76881be9d [2021-06-23T02:42:23.682Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T02:42:23.682Z] ---> Running in 8a5bfefb5875 [2021-06-23T02:42:23.947Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T02:42:24.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T02:42:25.166Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-23T02:42:25.166Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-23T02:42:25.429Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-23T02:42:25.429Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-23T02:42:25.429Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-23T02:42:25.690Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-23T02:42:25.690Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-23T02:42:25.958Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-23T02:42:25.958Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-23T02:42:26.219Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-23T02:42:26.219Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-23T02:42:26.219Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-23T02:42:26.479Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-23T02:42:26.479Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T02:42:26.479Z] OK: 156 MiB in 53 packages [2021-06-23T02:42:27.089Z] Removing intermediate container 8a5bfefb5875 [2021-06-23T02:42:27.089Z] ---> ced333db9311 [2021-06-23T02:42:27.089Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-23T02:42:27.089Z] ---> Running in 69fa06c967b9 [2021-06-23T02:42:27.089Z] Removing intermediate container 69fa06c967b9 [2021-06-23T02:42:27.089Z] ---> 31a8b2c196c5 [2021-06-23T02:42:27.089Z] Step 7/8 : COPY . . [2021-06-23T02:42:27.668Z] ---> d8e77722eb82 [2021-06-23T02:42:27.668Z] Step 8/8 : RUN go mod download [2021-06-23T02:42:27.668Z] ---> Running in 2163178175a3 [2021-06-23T02:42:39.982Z] Removing intermediate container 2163178175a3 [2021-06-23T02:42:39.982Z] ---> 822c6a1c65f7 [2021-06-23T02:42:39.982Z] Successfully built 822c6a1c65f7 [2021-06-23T02:42:39.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:42:40.329Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T02:42:40.329Z] . [Pipeline] withDockerContainer [2021-06-23T02:42:40.434Z] prd-centos7-docker-4c-2g-823 does not seem to be running inside a container [2021-06-23T02:42:40.476Z] $ 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-23T02:42:40.815Z] $ docker top 8846f180ee7482dadf85a462e635e3a58af2ea48a56fed82a67e05eb1b3a27d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T02:42:41.250Z] + go version [2021-06-23T02:42:41.251Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-23T02:42:41.278Z] $ docker stop --time=1 8846f180ee7482dadf85a462e635e3a58af2ea48a56fed82a67e05eb1b3a27d7 [2021-06-23T02:42:42.464Z] $ docker rm -f 8846f180ee7482dadf85a462e635e3a58af2ea48a56fed82a67e05eb1b3a27d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:42:43.280Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T02:42:43.280Z] . [Pipeline] withDockerContainer [2021-06-23T02:42:43.376Z] prd-centos7-docker-4c-2g-823 does not seem to be running inside a container [2021-06-23T02:42:43.426Z] $ 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-23T02:42:43.777Z] $ docker top af63d59d3c9eaa754d438db99eac5550553ec4f9730ed8f372d52f643adc00ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T02:42:44.243Z] + go mod tidy [Pipeline] sh [2021-06-23T02:42:44.830Z] + make test [2021-06-23T02:42:44.830Z] go mod tidy [2021-06-23T02:42:45.098Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-23T02:42:45.362Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-23T02:42:50.846Z] Removing intermediate container 3e439ca61c12 [2021-06-23T02:42:50.846Z] ---> 53390e760b75 [2021-06-23T02:42:50.846Z] Successfully built 53390e760b75 [2021-06-23T02:42:50.846Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:42:51.220Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T02:42:51.220Z] . [Pipeline] withDockerContainer [2021-06-23T02:42:51.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-822 does not seem to be running inside a container [2021-06-23T02:42:51.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T02:42:53.459Z] $ docker top 7f25f4e51d78e0e6f170214d62996e3a58e5d77a8f44c53bee892ae7d36247bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T02:42:54.498Z] + go version [2021-06-23T02:42:54.498Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-23T02:42:54.528Z] $ docker stop --time=1 7f25f4e51d78e0e6f170214d62996e3a58e5d77a8f44c53bee892ae7d36247bd [2021-06-23T02:42:56.319Z] $ docker rm -f 7f25f4e51d78e0e6f170214d62996e3a58e5d77a8f44c53bee892ae7d36247bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:42:57.386Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T02:42:57.386Z] . [Pipeline] withDockerContainer [2021-06-23T02:42:57.666Z] prd-ubuntu18.04-docker-arm64-4c-16g-822 does not seem to be running inside a container [2021-06-23T02:42:57.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T02:42:59.419Z] $ docker top 054d97575685edee1db8b3fe97d57b2618b0ae4714970c7830ebdd0340e29363 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T02:43:00.453Z] + go mod tidy [Pipeline] sh [2021-06-23T02:43:01.809Z] + make test [2021-06-23T02:43:01.809Z] go mod tidy [2021-06-23T02:43:02.409Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-23T02:43:03.563Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-23T02:43:03.563Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.268s coverage: 63.8% of statements [2021-06-23T02:43:03.563Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-23T02:43:03.867Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-23T02:43:10.206Z] gofmt -l . [2021-06-23T02:43:10.206Z] [ "`gofmt -l .`" = "" ] [2021-06-23T02:43:10.206Z] ./bin/test-attribution-txt.sh [2021-06-23T02:43:10.781Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T02:43:10.809Z] $ docker stop --time=1 af63d59d3c9eaa754d438db99eac5550553ec4f9730ed8f372d52f643adc00ed [2021-06-23T02:43:12.229Z] $ docker rm -f af63d59d3c9eaa754d438db99eac5550553ec4f9730ed8f372d52f643adc00ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T02:43:12.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T02:43:12.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-23T02:43:15.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T02:43:16.145Z] + ls -al . [2021-06-23T02:43:16.145Z] total 132 [2021-06-23T02:43:16.145Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 23 02:43 . [2021-06-23T02:43:16.145Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 02:41 .. [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 23 02:41 Attribution.txt [2021-06-23T02:43:16.145Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 02:41 bin [2021-06-23T02:43:16.145Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 23 02:41 cmd [2021-06-23T02:43:16.145Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 23 02:43 coverage.out [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 23 02:41 Dockerfile [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 23 02:41 Dockerfile.build [2021-06-23T02:43:16.145Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 02:41 .git [2021-06-23T02:43:16.145Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 02:41 .github [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 23 02:41 .gitignore [2021-06-23T02:43:16.145Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 23 02:43 go.mod [2021-06-23T02:43:16.145Z] -rw-r--r--. 1 jenkins jenkins 22922 Jun 23 02:42 go.sum [2021-06-23T02:43:16.145Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 23 02:41 internal [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 23 02:41 Jenkinsfile [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 02:41 LICENSE [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 23 02:41 Makefile [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 23 02:41 README.md [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 02:38 VERSION [2021-06-23T02:43:16.145Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 23 02:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:43:16.525Z] + 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=b465c2a51d9dd69cc52592f43caac63f9db9f3d5 --label arch=amd64 --label version=0.0.0 . [2021-06-23T02:43:16.525Z] Sending build context to Docker daemon 8.694MB [2021-06-23T02:43:16.525Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T02:43:16.525Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-23T02:43:16.525Z] ---> 822c6a1c65f7 [2021-06-23T02:43:16.525Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-23T02:43:16.525Z] ---> Running in 30c508ffb6b4 [2021-06-23T02:43:16.796Z] Removing intermediate container 30c508ffb6b4 [2021-06-23T02:43:16.797Z] ---> 169ed54703cd [2021-06-23T02:43:16.797Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-23T02:43:16.797Z] ---> Running in 09eafeb0e7b6 [2021-06-23T02:43:16.797Z] Removing intermediate container 09eafeb0e7b6 [2021-06-23T02:43:16.797Z] ---> 4aecf50f7ae0 [2021-06-23T02:43:16.797Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-23T02:43:16.797Z] ---> Running in 329f8b95682e [2021-06-23T02:43:16.797Z] Removing intermediate container 329f8b95682e [2021-06-23T02:43:16.797Z] ---> 66f80d7c68a8 [2021-06-23T02:43:16.797Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:43:16.797Z] ---> Running in a95e8d15e968 [2021-06-23T02:43:17.376Z] Removing intermediate container a95e8d15e968 [2021-06-23T02:43:17.376Z] ---> 7351e0a57f6a [2021-06-23T02:43:17.376Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-23T02:43:17.376Z] ---> Running in f0328208aac4 [2021-06-23T02:43:17.639Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T02:43:18.585Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T02:43:19.540Z] OK: 156 MiB in 53 packages [2021-06-23T02:43:19.540Z] Removing intermediate container f0328208aac4 [2021-06-23T02:43:19.540Z] ---> 59c7e72a2628 [2021-06-23T02:43:19.540Z] Step 8/26 : COPY . . [2021-06-23T02:43:19.802Z] ---> 9d2e1c86853d [2021-06-23T02:43:19.802Z] Step 9/26 : RUN go mod tidy [2021-06-23T02:43:20.067Z] ---> Running in 4cedc59e626f [2021-06-23T02:43:20.651Z] Removing intermediate container 4cedc59e626f [2021-06-23T02:43:20.651Z] ---> be910ca3ef98 [2021-06-23T02:43:20.651Z] Step 10/26 : RUN go mod download [2021-06-23T02:43:20.651Z] ---> Running in dd66602b9f0a [2021-06-23T02:43:21.040Z] Removing intermediate container dd66602b9f0a [2021-06-23T02:43:21.040Z] ---> ebb752c5ae6a [2021-06-23T02:43:21.040Z] Step 11/26 : ARG MAKE='make build' [2021-06-23T02:43:21.040Z] ---> Running in f1136397f3d3 [2021-06-23T02:43:21.040Z] Removing intermediate container f1136397f3d3 [2021-06-23T02:43:21.041Z] ---> f3565331df5c [2021-06-23T02:43:21.041Z] Step 12/26 : RUN $MAKE [2021-06-23T02:43:21.041Z] ---> Running in a63e83b4d7ea [2021-06-23T02:43:21.313Z] go mod tidy [2021-06-23T02:43:21.583Z] 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-23T02:43:36.580Z] Removing intermediate container a63e83b4d7ea [2021-06-23T02:43:36.580Z] ---> e80eb8bb1f61 [2021-06-23T02:43:36.580Z] Step 13/26 : FROM alpine:3.12 [2021-06-23T02:43:37.152Z] 3.12: Pulling from library/alpine [2021-06-23T02:43:37.412Z] 339de151aab4: Pulling fs layer [2021-06-23T02:43:37.678Z] 339de151aab4: Download complete [2021-06-23T02:43:37.678Z] 339de151aab4: Pull complete [2021-06-23T02:43:37.678Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T02:43:37.678Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T02:43:37.678Z] ---> 13621d1b12d4 [2021-06-23T02:43:37.678Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-23T02:43:37.678Z] ---> Running in 88ce1048d401 [2021-06-23T02:43:37.938Z] Removing intermediate container 88ce1048d401 [2021-06-23T02:43:37.938Z] ---> e44afdbd7b7b [2021-06-23T02:43:37.938Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:43:37.938Z] ---> Running in aa1fc820e919 [2021-06-23T02:43:38.205Z] Removing intermediate container aa1fc820e919 [2021-06-23T02:43:38.205Z] ---> 1f49fea5c4be [2021-06-23T02:43:38.205Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-23T02:43:38.480Z] ---> Running in e86154b69273 [2021-06-23T02:43:38.480Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-23T02:43:39.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-23T02:43:39.687Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-23T02:43:39.947Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-23T02:43:39.947Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-23T02:43:39.947Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-23T02:43:40.892Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-23T02:43:41.156Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-23T02:43:41.156Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T02:43:41.156Z] OK: 8 MiB in 20 packages [2021-06-23T02:43:41.424Z] Removing intermediate container e86154b69273 [2021-06-23T02:43:41.424Z] ---> 21f99a869b10 [2021-06-23T02:43:41.424Z] Step 17/26 : WORKDIR / [2021-06-23T02:43:41.424Z] ---> Running in 69286e76c6c3 [2021-06-23T02:43:41.687Z] Removing intermediate container 69286e76c6c3 [2021-06-23T02:43:41.687Z] ---> 911a28417855 [2021-06-23T02:43:41.687Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-23T02:43:41.687Z] ---> 5b3af222530a [2021-06-23T02:43:41.687Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-23T02:43:41.953Z] ---> 030081fb16a0 [2021-06-23T02:43:41.954Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-23T02:43:42.527Z] ---> 994ad69eb717 [2021-06-23T02:43:42.527Z] Step 21/26 : EXPOSE 59900 [2021-06-23T02:43:42.527Z] ---> Running in 3bada6ec8b55 [2021-06-23T02:43:42.527Z] Removing intermediate container 3bada6ec8b55 [2021-06-23T02:43:42.527Z] ---> 4ffe850e5972 [2021-06-23T02:43:42.527Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-23T02:43:42.527Z] ---> Running in 30d3aae37efe [2021-06-23T02:43:42.527Z] Removing intermediate container 30d3aae37efe [2021-06-23T02:43:42.527Z] ---> 9ef823e25b22 [2021-06-23T02:43:42.527Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T02:43:42.527Z] ---> Running in a0f0da967ce3 [2021-06-23T02:43:42.795Z] Removing intermediate container a0f0da967ce3 [2021-06-23T02:43:42.795Z] ---> 7553463682d1 [2021-06-23T02:43:42.795Z] Step 24/26 : LABEL arch=amd64 [2021-06-23T02:43:42.795Z] ---> Running in 9f0798110e90 [2021-06-23T02:43:42.795Z] Removing intermediate container 9f0798110e90 [2021-06-23T02:43:42.795Z] ---> 8fc8d1fd9373 [2021-06-23T02:43:42.795Z] Step 25/26 : LABEL git_sha=b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:43:42.795Z] ---> Running in 859b0e54f1b5 [2021-06-23T02:43:42.795Z] Removing intermediate container 859b0e54f1b5 [2021-06-23T02:43:42.795Z] ---> d9926bfae429 [2021-06-23T02:43:42.795Z] Step 26/26 : LABEL version=0.0.0 [2021-06-23T02:43:43.058Z] ---> Running in 3e213d04973e [2021-06-23T02:43:43.058Z] Removing intermediate container 3e213d04973e [2021-06-23T02:43:43.058Z] ---> 70a0e606f541 [2021-06-23T02:43:43.058Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-23T02:43:43.058Z] Successfully built 70a0e606f541 [2021-06-23T02:43:43.058Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:43:44.265Z] ---> job-cost.sh [2021-06-23T02:43:44.265Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V6xp [2021-06-23T02:43:54.300Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T02:44:06.589Z] lf-activate-venv(): INFO: Adding /tmp/venv-V6xp/bin to PATH [2021-06-23T02:44:06.589Z] INFO: No Stack... [2021-06-23T02:44:06.589Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T02:44:06.850Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T02:44:07.182Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-23T02:44:07.182Z] + cut -d, -f6 [Pipeline] lock [2021-06-23T02:44:07.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] [2021-06-23T02:44:07.248Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] did not exist. Created. [2021-06-23T02:44:07.248Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T02:44:07.673Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-23T02:44:07.782Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T02:44:07.802Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-23T02:44:12.014Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-23T02:44:12.014Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.710s coverage: 63.8% of statements [2021-06-23T02:44:12.014Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-23T02:44:34.232Z] gofmt -l . [2021-06-23T02:44:34.232Z] [ "`gofmt -l .`" = "" ] [2021-06-23T02:44:34.232Z] ./bin/test-attribution-txt.sh [2021-06-23T02:44:34.506Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T02:44:34.807Z] $ docker stop --time=1 054d97575685edee1db8b3fe97d57b2618b0ae4714970c7830ebdd0340e29363 [2021-06-23T02:44:36.793Z] $ docker rm -f 054d97575685edee1db8b3fe97d57b2618b0ae4714970c7830ebdd0340e29363 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T02:44:37.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T02:44:37.723Z] Warning: overwriting stash ‘coverage-report’ [2021-06-23T02:44:38.247Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T02:44:38.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T02:44:39.284Z] + ls -al . [2021-06-23T02:44:39.284Z] total 156 [2021-06-23T02:44:39.284Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 23 02:44 . [2021-06-23T02:44:39.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 02:41 .. [2021-06-23T02:44:39.284Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 02:41 .git [2021-06-23T02:44:39.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 02:41 .github [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 23 02:41 .gitignore [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 23 02:41 Attribution.txt [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 23 02:41 Dockerfile [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 23 02:41 Dockerfile.build [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 02:41 Jenkinsfile [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 02:41 LICENSE [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 23 02:41 Makefile [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 23 02:41 README.md [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 02:38 VERSION [2021-06-23T02:44:39.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 02:41 bin [2021-06-23T02:44:39.284Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 02:41 cmd [2021-06-23T02:44:39.284Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 23 02:44 coverage.out [2021-06-23T02:44:39.284Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 23 02:44 go.mod [2021-06-23T02:44:39.284Z] -rw-r--r-- 1 jenkins jenkins 22922 Jun 23 02:43 go.sum [2021-06-23T02:44:39.284Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 02:41 internal [2021-06-23T02:44:39.284Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 02:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:44:39.674Z] + 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=b465c2a51d9dd69cc52592f43caac63f9db9f3d5 --label arch=arm64 --label version=0.0.0 . [2021-06-23T02:44:39.951Z] Sending build context to Docker daemon 8.693MB [2021-06-23T02:44:40.228Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T02:44:40.228Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-23T02:44:40.228Z] ---> 53390e760b75 [2021-06-23T02:44:40.228Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-23T02:44:40.505Z] ---> Running in e4a0a3a7772d [2021-06-23T02:44:40.783Z] Removing intermediate container e4a0a3a7772d [2021-06-23T02:44:40.783Z] ---> 1e316a6d3a8d [2021-06-23T02:44:40.783Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-23T02:44:41.059Z] ---> Running in 8d1f7240895b [2021-06-23T02:44:41.657Z] Removing intermediate container 8d1f7240895b [2021-06-23T02:44:41.657Z] ---> 177eed0a4f51 [2021-06-23T02:44:41.657Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-23T02:44:41.657Z] ---> Running in 69cc3dee3784 [2021-06-23T02:44:42.260Z] Removing intermediate container 69cc3dee3784 [2021-06-23T02:44:42.260Z] ---> 08d33b02b348 [2021-06-23T02:44:42.260Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:44:42.260Z] ---> Running in c79fe0682403 [2021-06-23T02:44:44.896Z] Removing intermediate container c79fe0682403 [2021-06-23T02:44:44.896Z] ---> cef81e06f6bd [2021-06-23T02:44:44.896Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-23T02:44:44.896Z] ---> Running in 2861700b5712 [2021-06-23T02:44:45.887Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T02:44:46.869Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T02:44:47.874Z] OK: 145 MiB in 53 packages [2021-06-23T02:44:48.851Z] Removing intermediate container 2861700b5712 [2021-06-23T02:44:48.851Z] ---> 9555b8bbeeb2 [2021-06-23T02:44:48.851Z] Step 8/26 : COPY . . [2021-06-23T02:44:49.835Z] ---> 46d9a645d143 [2021-06-23T02:44:49.835Z] Step 9/26 : RUN go mod tidy [2021-06-23T02:44:50.112Z] ---> Running in 90b6aa866de3 [2021-06-23T02:44:52.760Z] Removing intermediate container 90b6aa866de3 [2021-06-23T02:44:52.760Z] ---> 95346240596d [2021-06-23T02:44:52.760Z] Step 10/26 : RUN go mod download [2021-06-23T02:44:53.037Z] ---> Running in 617cd8316ea9 [2021-06-23T02:44:55.657Z] Removing intermediate container 617cd8316ea9 [2021-06-23T02:44:55.657Z] ---> e463089dd6c1 [2021-06-23T02:44:55.657Z] Step 11/26 : ARG MAKE='make build' [2021-06-23T02:44:55.657Z] ---> Running in d0ae1357674f [2021-06-23T02:44:55.932Z] Removing intermediate container d0ae1357674f [2021-06-23T02:44:55.932Z] ---> aa0cd4497ea4 [2021-06-23T02:44:55.932Z] Step 12/26 : RUN $MAKE [2021-06-23T02:44:55.932Z] ---> Running in f0cdab29764f [2021-06-23T02:44:57.373Z] go mod tidy [2021-06-23T02:44:57.649Z] 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-23T02:45:54.314Z] Removing intermediate container f0cdab29764f [2021-06-23T02:45:54.314Z] ---> ddf4c35c0b3f [2021-06-23T02:45:54.314Z] Step 13/26 : FROM alpine:3.12 [2021-06-23T02:45:54.314Z] 3.12: Pulling from library/alpine [2021-06-23T02:45:54.314Z] d2f70382dc9a: Pulling fs layer [2021-06-23T02:45:54.314Z] d2f70382dc9a: Verifying Checksum [2021-06-23T02:45:54.314Z] d2f70382dc9a: Download complete [2021-06-23T02:45:54.314Z] d2f70382dc9a: Pull complete [2021-06-23T02:45:54.314Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T02:45:54.314Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T02:45:54.314Z] ---> c4fd0aeabfcf [2021-06-23T02:45:54.314Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-23T02:45:54.314Z] ---> Running in 9d6eb61b0d08 [2021-06-23T02:45:54.314Z] Removing intermediate container 9d6eb61b0d08 [2021-06-23T02:45:54.314Z] ---> 2e465e35d5c8 [2021-06-23T02:45:54.314Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T02:45:54.314Z] ---> Running in 49c6bfb31982 [2021-06-23T02:45:54.314Z] Removing intermediate container 49c6bfb31982 [2021-06-23T02:45:54.314Z] ---> aadc00cebc76 [2021-06-23T02:45:54.314Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-23T02:45:54.314Z] ---> Running in f535615e4a63 [2021-06-23T02:45:54.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-23T02:45:54.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-23T02:45:54.314Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-23T02:45:54.314Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-23T02:45:54.314Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-23T02:45:54.314Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-23T02:45:54.314Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-23T02:45:54.314Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-23T02:45:54.314Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T02:45:54.314Z] OK: 8 MiB in 20 packages [2021-06-23T02:45:54.912Z] Removing intermediate container f535615e4a63 [2021-06-23T02:45:54.912Z] ---> 6b1e7793c87d [2021-06-23T02:45:54.912Z] Step 17/26 : WORKDIR / [2021-06-23T02:45:54.912Z] ---> Running in 76a413149c4d [2021-06-23T02:45:55.508Z] Removing intermediate container 76a413149c4d [2021-06-23T02:45:55.508Z] ---> c3198112a184 [2021-06-23T02:45:55.508Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-23T02:45:56.493Z] ---> c4b92089ac24 [2021-06-23T02:45:56.493Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-23T02:45:57.092Z] ---> 96632dc5408c [2021-06-23T02:45:57.092Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-23T02:45:58.553Z] ---> f679299edc66 [2021-06-23T02:45:58.553Z] Step 21/26 : EXPOSE 59900 [2021-06-23T02:45:58.553Z] ---> Running in ddc3ca5710b7 [2021-06-23T02:45:59.156Z] Removing intermediate container ddc3ca5710b7 [2021-06-23T02:45:59.156Z] ---> 98fa1bb85230 [2021-06-23T02:45:59.156Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-23T02:45:59.156Z] ---> Running in 6c9ae01231f3 [2021-06-23T02:45:59.754Z] Removing intermediate container 6c9ae01231f3 [2021-06-23T02:45:59.754Z] ---> c96646478b2b [2021-06-23T02:45:59.754Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T02:45:59.754Z] ---> Running in df95d760fd2c [2021-06-23T02:46:00.351Z] Removing intermediate container df95d760fd2c [2021-06-23T02:46:00.351Z] ---> 6c1d289e6ded [2021-06-23T02:46:00.351Z] Step 24/26 : LABEL arch=arm64 [2021-06-23T02:46:00.351Z] ---> Running in 3b5821d4aa28 [2021-06-23T02:46:00.949Z] Removing intermediate container 3b5821d4aa28 [2021-06-23T02:46:00.949Z] ---> 3141be256331 [2021-06-23T02:46:00.949Z] Step 25/26 : LABEL git_sha=b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [2021-06-23T02:46:00.949Z] ---> Running in c7ee90fb4799 [2021-06-23T02:46:01.546Z] Removing intermediate container c7ee90fb4799 [2021-06-23T02:46:01.546Z] ---> b0433f0f3693 [2021-06-23T02:46:01.546Z] Step 26/26 : LABEL version=0.0.0 [2021-06-23T02:46:01.826Z] ---> Running in 7bac9b27e580 [2021-06-23T02:46:02.102Z] Removing intermediate container 7bac9b27e580 [2021-06-23T02:46:02.102Z] ---> c28a8752e8a3 [2021-06-23T02:46:02.102Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-23T02:46:02.102Z] Successfully built c28a8752e8a3 [2021-06-23T02:46:02.102Z] 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-23T02:46:03.035Z] ---> job-cost.sh [2021-06-23T02:46:03.035Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xgcz [2021-06-23T02:46:42.029Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T02:48:03.811Z] lf-activate-venv(): INFO: Adding /tmp/venv-xgcz/bin to PATH [2021-06-23T02:48:03.811Z] INFO: No Stack... [2021-06-23T02:48:04.788Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-23T02:48:05.388Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T02:48:05.751Z] + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, [2021-06-23T02:48:05.751Z] -f6 [Pipeline] lock [2021-06-23T02:48:05.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] [2021-06-23T02:48:05.848Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] did not exist. Created. [2021-06-23T02:48:05.848Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T02:48:06.297Z] /w/workspace/device-virtual-go/1@tmp/durable-5003ca9d/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-5003ca9d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-23T02:48:06.672Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-23T02:48:06.715Z] Warning: overwriting stash ‘stack-cost’ [2021-06-23T02:48:06.869Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T02:48:06.889Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-227-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-23T02:48:08.378Z] provisioning config files... [2021-06-23T02:48:08.387Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-227@tmp/config5102758393524252685tmp [Pipeline] { [Pipeline] sh [2021-06-23T02:48:08.786Z] + set +x [2021-06-23T02:48:08.786Z] + curl -s https://codecov.io/bash [2021-06-23T02:48:08.786Z] + bash -s -- [2021-06-23T02:48:08.786Z] [2021-06-23T02:48:08.786Z] _____ _ [2021-06-23T02:48:08.786Z] / ____| | | [2021-06-23T02:48:08.786Z] | | ___ __| | ___ ___ _____ __ [2021-06-23T02:48:08.786Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-23T02:48:08.786Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-23T02:48:08.786Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-23T02:48:08.786Z] Bash-1.0.3 [2021-06-23T02:48:08.786Z] [2021-06-23T02:48:08.786Z] [2021-06-23T02:48:08.786Z] ==> git version 2.24.4 found [2021-06-23T02:48:08.786Z] ==> 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-23T02:48:08.786Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-23T02:48:08.786Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-23T02:48:08.786Z] ==> Jenkins CI detected. [2021-06-23T02:48:08.786Z] project root: . [2021-06-23T02:48:08.786Z] --> token set from env [2021-06-23T02:48:08.786Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-23T02:48:08.786Z] ==> Running gcov in . (disable via -X gcov) [2021-06-23T02:48:09.053Z] ==> Python coveragepy not found [2021-06-23T02:48:09.053Z] ==> Searching for coverage reports in: [2021-06-23T02:48:09.053Z] + . [2021-06-23T02:48:09.053Z] -> Found 1 reports [2021-06-23T02:48:09.053Z] ==> Detecting git/mercurial file structure [2021-06-23T02:48:09.053Z] ==> Reading reports [2021-06-23T02:48:09.053Z] + ./coverage.out bytes=47257 [2021-06-23T02:48:09.053Z] ==> Appending adjustments [2021-06-23T02:48:09.053Z] https://docs.codecov.io/docs/fixing-reports [2021-06-23T02:48:09.053Z] + Found adjustments [2021-06-23T02:48:09.053Z] ==> Gzipping contents [2021-06-23T02:48:09.053Z] 8.0K /tmp/codecov.TecA9J.gz [2021-06-23T02:48:09.053Z] ==> Uploading reports [2021-06-23T02:48:09.053Z] url: https://codecov.io [2021-06-23T02:48:09.053Z] query: branch=PR-227&commit=b465c2a51d9dd69cc52592f43caac63f9db9f3d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=227&job=&cmd_args= [2021-06-23T02:48:09.053Z] -> Pinging Codecov [2021-06-23T02:48:09.053Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-227&commit=b465c2a51d9dd69cc52592f43caac63f9db9f3d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=227&job=&cmd_args= [2021-06-23T02:48:09.315Z] -> Uploading to [2021-06-23T02:48:09.315Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-23/5E52B4B073DB2E39498172D8E973AA87/b465c2a51d9dd69cc52592f43caac63f9db9f3d5/cab780b5-4fdc-4af5-abc1-d7787d72c161.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T024809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18a88e214089be52280522d7be7b83c830b6d938d6b89402126ebd719e7b6c1d [2021-06-23T02:48:09.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-23T02:48:09.315Z] Dload Upload Total Spent Left Speed [2021-06-23T02:48:09.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5788 0 0 100 5788 0 13166 --:--:-- --:--:-- --:--:-- 13154 [2021-06-23T02:48:09.836Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b465c2a51d9dd69cc52592f43caac63f9db9f3d5 [Pipeline] } [2021-06-23T02:48:09.859Z] 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-23T02:48:12.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:13.250Z] ---> package-listing.sh [2021-06-23T02:48:13.250Z] ++ facter osfamily [2021-06-23T02:48:13.250Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-23T02:48:13.521Z] + OS_FAMILY=redhat [2021-06-23T02:48:13.521Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-227 [2021-06-23T02:48:13.521Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-23T02:48:13.521Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-23T02:48:13.521Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-23T02:48:13.521Z] + PACKAGES=/tmp/packages_start.txt [2021-06-23T02:48:13.521Z] + '[' /w/workspace/foundry_device-virtual-go_PR-227 ']' [2021-06-23T02:48:13.521Z] + PACKAGES=/tmp/packages_end.txt [2021-06-23T02:48:13.521Z] + case "${OS_FAMILY}" in [2021-06-23T02:48:13.521Z] + rpm -qa [2021-06-23T02:48:13.521Z] + sort [2021-06-23T02:48:14.109Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-23T02:48:14.109Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-23T02:48:14.109Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-23T02:48:14.109Z] + '[' /w/workspace/foundry_device-virtual-go_PR-227 ']' [2021-06-23T02:48:14.109Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-227/archives/ [2021-06-23T02:48:14.109Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-227/archives/ [Pipeline] echo [2021-06-23T02:48:14.147Z] 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-23T02:48:14.465Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:48:15.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T02:48:15.064Z] [2021-06-23T02:48:15.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-23T02:48:15.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T02:48:15.416Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-23T02:48:15.416Z] df20fa9351a1: Pulling fs layer [2021-06-23T02:48:15.416Z] 36b3adc4ff6f: Pulling fs layer [2021-06-23T02:48:15.416Z] 8ad3a11d3b57: Pulling fs layer [2021-06-23T02:48:15.416Z] 46f8f816bc3b: Pulling fs layer [2021-06-23T02:48:15.416Z] 93b61091891f: Pulling fs layer [2021-06-23T02:48:15.416Z] 93b9cdb0e59b: Pulling fs layer [2021-06-23T02:48:15.416Z] 5e14af77c1be: Pulling fs layer [2021-06-23T02:48:15.416Z] 01666e4c0597: Pulling fs layer [2021-06-23T02:48:15.416Z] aa168da1d23b: Pulling fs layer [2021-06-23T02:48:15.416Z] 93b9cdb0e59b: Waiting [2021-06-23T02:48:15.416Z] 5e14af77c1be: Waiting [2021-06-23T02:48:15.416Z] 01666e4c0597: Waiting [2021-06-23T02:48:15.416Z] aa168da1d23b: Waiting [2021-06-23T02:48:15.416Z] 46f8f816bc3b: Waiting [2021-06-23T02:48:15.416Z] 93b61091891f: Waiting [2021-06-23T02:48:15.416Z] 36b3adc4ff6f: Verifying Checksum [2021-06-23T02:48:15.416Z] 36b3adc4ff6f: Download complete [2021-06-23T02:48:15.417Z] 46f8f816bc3b: Verifying Checksum [2021-06-23T02:48:15.417Z] 46f8f816bc3b: Download complete [2021-06-23T02:48:15.681Z] df20fa9351a1: Verifying Checksum [2021-06-23T02:48:15.681Z] df20fa9351a1: Download complete [2021-06-23T02:48:15.681Z] 93b9cdb0e59b: Verifying Checksum [2021-06-23T02:48:15.681Z] 93b9cdb0e59b: Download complete [2021-06-23T02:48:15.681Z] 93b61091891f: Download complete [2021-06-23T02:48:15.681Z] 5e14af77c1be: Verifying Checksum [2021-06-23T02:48:15.681Z] 5e14af77c1be: Download complete [2021-06-23T02:48:15.681Z] 01666e4c0597: Verifying Checksum [2021-06-23T02:48:15.681Z] 01666e4c0597: Download complete [2021-06-23T02:48:15.681Z] df20fa9351a1: Pull complete [2021-06-23T02:48:15.681Z] 8ad3a11d3b57: Verifying Checksum [2021-06-23T02:48:15.681Z] 8ad3a11d3b57: Download complete [2021-06-23T02:48:15.948Z] 36b3adc4ff6f: Pull complete [2021-06-23T02:48:16.529Z] 8ad3a11d3b57: Pull complete [2021-06-23T02:48:16.529Z] 46f8f816bc3b: Pull complete [2021-06-23T02:48:16.799Z] 93b61091891f: Pull complete [2021-06-23T02:48:17.062Z] 93b9cdb0e59b: Pull complete [2021-06-23T02:48:17.063Z] 5e14af77c1be: Pull complete [2021-06-23T02:48:17.325Z] 01666e4c0597: Pull complete [2021-06-23T02:48:17.590Z] aa168da1d23b: Verifying Checksum [2021-06-23T02:48:17.590Z] aa168da1d23b: Download complete [2021-06-23T02:48:21.856Z] aa168da1d23b: Pull complete [2021-06-23T02:48:21.856Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-23T02:48:21.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T02:48:21.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-23T02:48:21.973Z] prd-centos7-docker-4c-2g-821 does not seem to be running inside a container [2021-06-23T02:48:22.013Z] $ 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-227/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-227 -v /w/workspace/foundry_device-virtual-go_PR-227:/w/workspace/foundry_device-virtual-go_PR-227:rw,z -v /w/workspace/foundry_device-virtual-go_PR-227@tmp:/w/workspace/foundry_device-virtual-go_PR-227@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-23T02:48:26.709Z] $ docker top 1d4f8fd126a26cac4b5af1b1b93906944426753affb40060752716b1e59e1dca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T02:48:27.190Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-23T02:48:27.521Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-23T02:48:27.848Z] + ls /var/log/sa-host [2021-06-23T02:48:27.848Z] + sadf -c /var/log/sa-host/sa05 [2021-06-23T02:48:27.848Z] file_magic: OK [2021-06-23T02:48:27.848Z] HZ: Using current value: 100 [2021-06-23T02:48:27.848Z] file_header: OK [2021-06-23T02:48:27.848Z] 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-23T02:48:27.848Z] Statistics: [2021-06-23T02:48:27.848Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T02:48:27.848Z] File successfully converted to sysstat format version 12.2.1 [2021-06-23T02:48:27.848Z] + sadf -c /var/log/sa-host/sa23 [2021-06-23T02:48:27.848Z] file_magic: OK [2021-06-23T02:48:27.848Z] HZ: Using current value: 100 [2021-06-23T02:48:27.848Z] file_header: OK [2021-06-23T02:48:27.848Z] 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-23T02:48:27.848Z] Statistics: [2021-06-23T02:48:27.848Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T02:48:27.848Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T02:48:28.645Z] provisioning config files... [2021-06-23T02:48:28.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-227@tmp/config4916255746793115863tmp [Pipeline] { [Pipeline] echo [2021-06-23T02:48:28.726Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:29.065Z] ---> create-netrc.sh [Pipeline] } [2021-06-23T02:48:29.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:29.581Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-23T02:48:29.621Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:29.975Z] ---> sudo-logs.sh [2021-06-23T02:48:29.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-23T02:48:30.056Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:30.413Z] ---> job-cost.sh [2021-06-23T02:48:30.413Z] lf-activate-venv: SKIPPING [2021-06-23T02:48:30.413Z] DEBUG: total: 0.18000000715255737 [2021-06-23T02:48:30.413Z] INFO: Retrieving Stack Cost... [2021-06-23T02:48:31.357Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T02:48:31.619Z] INFO: Archiving Costs [Pipeline] echo [2021-06-23T02:48:31.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T02:48:31.983Z] ---> logs-deploy.sh [2021-06-23T02:48:31.984Z] lf-activate-venv: SKIPPING [2021-06-23T02:48:31.984Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-227/1 [2021-06-23T02:48:31.984Z] INFO: archiving workspace using pattern(s): [2021-06-23T02:48:32.931Z] Archives upload complete. [2021-06-23T02:48:32.931Z] INFO: archiving logs to Nexus