Pull request #231 updated 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 cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d+f9181e51cc24c5c8d60c5f317d7638268e956055 (dd9aecda6f3908851885e3645be65fa53c8edc6d) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh6260329439765792445.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-ssh8906253511278688907.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-231/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-231/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh993903332598815429.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 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-ssh5538311360972121482.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-231/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-231/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7863245225242101395.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-333’ is offline ‘prd-centos7-docker-4c-2g-340’ is offline ‘prd-centos7-docker-4c-2g-915’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-346 in /w/workspace/foundry_device-virtual-go_PR-231 [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-231 # 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-231@tmp/jenkins-gitclient-ssh7403341782208494241.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d Merge succeeded, producing 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d Checking out Revision 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d (PR-231) > 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-231@tmp/jenkins-gitclient-ssh8511122444984031742.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # 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-231@tmp/jenkins-gitclient-ssh779190877341186698.key > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # timeout=10 Commit message: "docs: Remove dev churn and add dependency refs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:41:20.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:41:20.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git rev-list --no-walk 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:41:20.138Z] ========================================================= [2021-06-27T07:41:20.138Z] EdgeX Global Pipelines Version Info [2021-06-27T07:41:20.138Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:41:21.631Z] ------------------- [2021-06-27T07:41:21.631Z] stable info: [2021-06-27T07:41:21.631Z] ------------------- [2021-06-27T07:41:21.631Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:41:21.631Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:41:21.631Z] Message: update stable to v1.0.195 [2021-06-27T07:41:22.206Z] ------------------- [2021-06-27T07:41:22.206Z] experimental info: [2021-06-27T07:41:22.206Z] ------------------- [2021-06-27T07:41:22.206Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:41:22.206Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:41:22.206Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:41:22.345Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-27T07:41:22.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-27T07:41:22.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:41:22.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:41:22.457Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:41:22.481Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:41:22.505Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:41:22.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:41:22.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:41:22.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:41:22.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:41:22.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-27T07:41:22.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:41:22.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:41:22.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:41:22.763Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:41:22.788Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:41:22.815Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:41:22.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:41:22.870Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:41:22.894Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:41:22.937Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:41:22.967Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:41:22.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:41:23.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:41:23.052Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:41:23.080Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2021-06-27T07:41:23.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2021-06-27T07:41:23.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2021-06-27T07:41:23.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [Pipeline] echo [2021-06-27T07:41:23.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 480da9f [Pipeline] echo [2021-06-27T07:41:23.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:41:23.351Z] provisioning config files... [2021-06-27T07:41:23.368Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config3396972855645837242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:41:23.713Z] ---> docker-login.sh [2021-06-27T07:41:23.713Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:41:24.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:24.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:24.929Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:24.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:24.929Z] [2021-06-27T07:41:24.929Z] Login Succeeded [2021-06-27T07:41:24.929Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:41:24.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:25.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:25.190Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:25.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:25.190Z] [2021-06-27T07:41:25.190Z] Login Succeeded [2021-06-27T07:41:25.190Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:41:25.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:25.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:25.190Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:25.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:25.190Z] [2021-06-27T07:41:25.190Z] Login Succeeded [2021-06-27T07:41:25.190Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:41:25.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:25.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:25.456Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:25.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:25.456Z] [2021-06-27T07:41:25.456Z] Login Succeeded [2021-06-27T07:41:25.456Z] docker.io [2021-06-27T07:41:25.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:41:25.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:41:25.718Z] Configure a credential helper to remove this warning. See [2021-06-27T07:41:25.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:41:25.718Z] [2021-06-27T07:41:25.718Z] Login Succeeded [2021-06-27T07:41:25.718Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:41:25.727Z] 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-27T07:41:26.248Z] + git log --format=format:%s -1 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [Pipeline] echo [2021-06-27T07:41:26.319Z] GIT_COMMIT: 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d, Commit Message: docs: Remove dev churn and add dependency refs [Pipeline] echo [2021-06-27T07:41:26.334Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:41:26.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:41:26.917Z] [2021-06-27T07:41:26.917Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:41:27.247Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:41:27.514Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:41:27.514Z] 31603596830f: Pulling fs layer [2021-06-27T07:41:27.514Z] 54011a49482f: Pulling fs layer [2021-06-27T07:41:27.514Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:41:27.514Z] f581987b2513: Pulling fs layer [2021-06-27T07:41:27.514Z] f581987b2513: Waiting [2021-06-27T07:41:27.514Z] 54011a49482f: Verifying Checksum [2021-06-27T07:41:27.514Z] 54011a49482f: Download complete [2021-06-27T07:41:27.514Z] 31603596830f: Verifying Checksum [2021-06-27T07:41:27.514Z] 31603596830f: Download complete [2021-06-27T07:41:27.780Z] f581987b2513: Verifying Checksum [2021-06-27T07:41:27.780Z] f581987b2513: Download complete [2021-06-27T07:41:27.780Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:41:27.780Z] a6820b24f6d8: Download complete [2021-06-27T07:41:27.780Z] 31603596830f: Pull complete [2021-06-27T07:41:28.044Z] 54011a49482f: Pull complete [2021-06-27T07:41:29.441Z] a6820b24f6d8: Pull complete [2021-06-27T07:41:29.441Z] f581987b2513: Pull complete [2021-06-27T07:41:29.708Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:41:30.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:41:31.227Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:41:31.319Z] prd-centos7-docker-4c-2g-346 does not seem to be running inside a container [2021-06-27T07:41:31.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-231 -v /w/workspace/foundry_device-virtual-go_PR-231:/w/workspace/foundry_device-virtual-go_PR-231:rw,z -v /w/workspace/foundry_device-virtual-go_PR-231@tmp:/w/workspace/foundry_device-virtual-go_PR-231@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:10004/edgex-devops/git-semver:latest cat [2021-06-27T07:41:34.245Z] $ docker top a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:41:34.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:41:34.383Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:41:34.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:41:34.515Z] $ docker exec a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 ssh-agent [2021-06-27T07:41:34.641Z] SSH_AUTH_SOCK=/tmp/ssh-zkjbnGASZrES/agent.14 [2021-06-27T07:41:34.641Z] SSH_AGENT_PID=20 [2021-06-27T07:41:34.652Z] Running ssh-add (command line suppressed) [2021-06-27T07:41:34.772Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_5435873556145012815.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_5435873556145012815.key) [2021-06-27T07:41:34.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:41:35.121Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:41:35.135Z] $ docker exec --env ******** --env ******** a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 ssh-agent -k [2021-06-27T07:41:35.244Z] unset SSH_AUTH_SOCK; [2021-06-27T07:41:35.246Z] unset SSH_AGENT_PID; [2021-06-27T07:41:35.246Z] echo Agent pid 20 killed; [2021-06-27T07:41:35.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:41:35.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:41:35.311Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:41:35.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:41:35.443Z] $ docker exec a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 ssh-agent [2021-06-27T07:41:35.568Z] SSH_AUTH_SOCK=/tmp/ssh-2M3EX0Bsxiwm/agent.53 [2021-06-27T07:41:35.568Z] SSH_AGENT_PID=59 [2021-06-27T07:41:35.573Z] Running ssh-add (command line suppressed) [2021-06-27T07:41:35.673Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_8047012014344412388.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_8047012014344412388.key) [2021-06-27T07:41:35.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:41:35.999Z] + git semver init [2021-06-27T07:41:35.999Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:41:35.999Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.git [2021-06-27T07:41:35.999Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-231 [2021-06-27T07:41:35.999Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:41:35.999Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:41:35.999Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:41:35.999Z] # $SEMVER_BRANCH = PR-231 [2021-06-27T07:41:35.999Z] # $SEMVER_TEMP = /tmp/semver-166569552 [2021-06-27T07:41:35.999Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-27T07:41:37.397Z] # '/tmp/semver-166569552' -> '/w/workspace/foundry_device-virtual-go_PR-231/.semver' [2021-06-27T07:41:37.397Z] # -> Force: false [2021-06-27T07:41:37.397Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.semver [Pipeline] } [2021-06-27T07:41:37.406Z] $ docker exec --env ******** --env ******** a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 ssh-agent -k [2021-06-27T07:41:37.508Z] unset SSH_AUTH_SOCK; [2021-06-27T07:41:37.509Z] unset SSH_AGENT_PID; [2021-06-27T07:41:37.509Z] echo Agent pid 59 killed; [2021-06-27T07:41:37.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:41:37.871Z] + git semver [Pipeline] } [2021-06-27T07:41:37.882Z] $ docker stop --time=1 a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 [2021-06-27T07:41:39.318Z] $ docker rm -f a3a019e382647d98b6feb8a2288ce905890061726dcc10cabe69659d4ba3f154 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:41:39.717Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:41:40.022Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:41:40.026Z] [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-27T07:41:55.374Z] Still waiting to schedule task [2021-06-27T07:41:55.375Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-27T07:41:55.379Z] Still waiting to schedule task [2021-06-27T07:41:55.379Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:41:55.379Z] ‘prd-centos7-docker-4c-2g-329’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:41:55.379Z] ‘prd-centos7-docker-4c-2g-333’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:41:55.379Z] ‘prd-centos7-docker-4c-2g-915’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:41:55.380Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-27T07:41:55.380Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ is offline [2021-06-27T07:41:55.380Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-347’ is offline [2021-06-27T07:41:55.380Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-349’ is offline [2021-06-27T07:48:19.114Z] Running on prd-centos7-docker-4c-2g-391 in /w/workspace/foundry_device-virtual-go_PR-231 [Pipeline] { [Pipeline] ws [2021-06-27T07:48:19.138Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-06-27T07:48:19.254Z] The recommended git tool is: git [2021-06-27T07:48:21.572Z] using credential edgex-jenkins-ssh [2021-06-27T07:48:21.595Z] Cloning the remote Git repository [2021-06-27T07:48:20.856Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:48:20.927Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-06-27T07:48:20.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:48:20.966Z] > git --version # timeout=10 [2021-06-27T07:48:20.974Z] > git --version # 'git version 2.24.4' [2021-06-27T07:48:20.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:48:21.001Z] [INFO] Currently running in a labeled security context [2021-06-27T07:48:21.001Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:48:21.001Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh4463748117229152383.key [2021-06-27T07:48:21.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:48:23.042Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:48:23.152Z] Merge succeeded, producing 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:48:23.152Z] Checking out Revision 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d (PR-231) [2021-06-27T07:48:21.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:48:21.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:48:21.893Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:48:21.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:48:21.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:48:21.911Z] [INFO] Currently running in a labeled security context [2021-06-27T07:48:21.912Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:48:21.912Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh9120093332471275773.key [2021-06-27T07:48:21.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:48:22.412Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:48:22.425Z] > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # timeout=10 [2021-06-27T07:48:22.455Z] > git remote # timeout=10 [2021-06-27T07:48:22.463Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:48:22.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:48:22.476Z] [INFO] Currently running in a labeled security context [2021-06-27T07:48:22.476Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:48:22.476Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh8555319023577064598.key [2021-06-27T07:48:22.484Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-27T07:48:22.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:48:22.526Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:48:22.536Z] > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # timeout=10 [2021-06-27T07:48:26.529Z] Commit message: "docs: Remove dev churn and add dependency refs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:48:27.533Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:48:27.862Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:48:28.164Z] + true [2021-06-27T07:48:28.164Z] + sudo service docker restart [2021-06-27T07:48:28.164Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:48:46.351Z] provisioning config files... [2021-06-27T07:48:46.367Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3413789183504514710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:48:46.764Z] ---> docker-login.sh [2021-06-27T07:48:46.764Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:48:47.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:48:47.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:48:47.025Z] Configure a credential helper to remove this warning. See [2021-06-27T07:48:47.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:48:47.025Z] [2021-06-27T07:48:47.025Z] Login Succeeded [2021-06-27T07:48:47.025Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:48:47.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:48:47.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:48:47.287Z] Configure a credential helper to remove this warning. See [2021-06-27T07:48:47.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:48:47.287Z] [2021-06-27T07:48:47.287Z] Login Succeeded [2021-06-27T07:48:47.287Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:48:47.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:48:47.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:48:47.287Z] Configure a credential helper to remove this warning. See [2021-06-27T07:48:47.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:48:47.287Z] [2021-06-27T07:48:47.287Z] Login Succeeded [2021-06-27T07:48:47.287Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:48:47.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:48:47.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:48:47.549Z] Configure a credential helper to remove this warning. See [2021-06-27T07:48:47.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:48:47.549Z] [2021-06-27T07:48:47.549Z] Login Succeeded [2021-06-27T07:48:47.549Z] docker.io [2021-06-27T07:48:47.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:48:47.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:48:47.811Z] Configure a credential helper to remove this warning. See [2021-06-27T07:48:47.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:48:47.811Z] [2021-06-27T07:48:47.811Z] Login Succeeded [2021-06-27T07:48:47.811Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:48:47.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:48:47.999Z] ========================================================= [2021-06-27T07:48:47.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:48:47.999Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:48:48.320Z] + 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-27T07:48:48.320Z] Sending build context to Docker daemon 8.649MB [2021-06-27T07:48:48.320Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:48:48.320Z] Step 2/8 : FROM ${BASE} [2021-06-27T07:48:48.588Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:48:48.588Z] 540db60ca938: Pulling fs layer [2021-06-27T07:48:48.588Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:48:48.588Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:48:48.588Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:48:48.588Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:48:48.588Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:48:48.588Z] f706445af74f: Pulling fs layer [2021-06-27T07:48:48.588Z] afea3b2eda06: Waiting [2021-06-27T07:48:48.588Z] 7809a108b3ef: Waiting [2021-06-27T07:48:48.588Z] f706445af74f: Waiting [2021-06-27T07:48:48.588Z] 0510c868ecb4: Waiting [2021-06-27T07:48:48.588Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:48:48.588Z] 4c4ab2625f07: Download complete [2021-06-27T07:48:48.588Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:48:48.588Z] adcc1eea9eea: Download complete [2021-06-27T07:48:48.588Z] afea3b2eda06: Download complete [2021-06-27T07:48:48.588Z] 540db60ca938: Verifying Checksum [2021-06-27T07:48:48.588Z] 540db60ca938: Download complete [2021-06-27T07:48:48.588Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:48:48.588Z] 7809a108b3ef: Download complete [2021-06-27T07:48:48.850Z] 540db60ca938: Pull complete [2021-06-27T07:48:49.116Z] adcc1eea9eea: Pull complete [2021-06-27T07:48:49.116Z] 4c4ab2625f07: Pull complete [2021-06-27T07:48:50.512Z] f706445af74f: Verifying Checksum [2021-06-27T07:48:50.512Z] f706445af74f: Download complete [2021-06-27T07:48:50.782Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:48:50.782Z] 0510c868ecb4: Download complete [2021-06-27T07:48:54.127Z] 0510c868ecb4: Pull complete [2021-06-27T07:48:54.127Z] afea3b2eda06: Pull complete [2021-06-27T07:48:54.127Z] 7809a108b3ef: Pull complete [2021-06-27T07:48:55.523Z] f706445af74f: Pull complete [2021-06-27T07:48:55.523Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:48:55.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:48:55.523Z] ---> b068be0155e3 [2021-06-27T07:48:55.523Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-27T07:48:59.756Z] ---> Running in cc8632dd93b3 [2021-06-27T07:48:59.756Z] Removing intermediate container cc8632dd93b3 [2021-06-27T07:48:59.756Z] ---> d52f41ebccbb [2021-06-27T07:48:59.756Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:48:59.756Z] ---> Running in 69178dc91f7c [2021-06-27T07:49:00.018Z] Removing intermediate container 69178dc91f7c [2021-06-27T07:49:00.018Z] ---> 8081b7f52eba [2021-06-27T07:49:00.018Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-27T07:49:00.018Z] ---> Running in a6e89439614e [2021-06-27T07:49:00.282Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:49:01.228Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:49:02.175Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:49:02.175Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:49:02.175Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:49:02.175Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:49:02.436Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:49:02.437Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:49:02.437Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:49:02.695Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:49:02.957Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:49:02.957Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:49:02.957Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:49:03.217Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:49:03.217Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:49:03.480Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:49:03.480Z] OK: 156 MiB in 53 packages [2021-06-27T07:49:03.743Z] Removing intermediate container a6e89439614e [2021-06-27T07:49:03.743Z] ---> 507fb70bde32 [2021-06-27T07:49:03.743Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-27T07:49:03.743Z] ---> Running in 9d16d5da865c [2021-06-27T07:49:04.004Z] Removing intermediate container 9d16d5da865c [2021-06-27T07:49:04.004Z] ---> 8076f08067da [2021-06-27T07:49:04.004Z] Step 7/8 : COPY . . [2021-06-27T07:49:04.585Z] ---> 2af62f924ac0 [2021-06-27T07:49:04.585Z] Step 8/8 : RUN go mod download [2021-06-27T07:49:04.585Z] ---> Running in 53f422464579 [2021-06-27T07:49:16.864Z] Removing intermediate container 53f422464579 [2021-06-27T07:49:16.864Z] ---> 100e1be02ec7 [2021-06-27T07:49:16.864Z] Successfully built 100e1be02ec7 [2021-06-27T07:49:16.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:17.182Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:49:17.182Z] . [Pipeline] withDockerContainer [2021-06-27T07:49:17.281Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-06-27T07:49:17.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:49:17.686Z] $ docker top b5b75f89cca08915a5ec1cf86ce94b2b3a45638a306c5cc791640abccee590ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:49:18.075Z] + go version [2021-06-27T07:49:18.075Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:49:18.093Z] $ docker stop --time=1 b5b75f89cca08915a5ec1cf86ce94b2b3a45638a306c5cc791640abccee590ec [2021-06-27T07:49:18.575Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-390 in /w/workspace/foundry_device-virtual-go_PR-231 [2021-06-27T07:49:19.275Z] $ docker rm -f b5b75f89cca08915a5ec1cf86ce94b2b3a45638a306c5cc791640abccee590ec [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-06-27T07:49:19.369Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:19.702Z] The recommended git tool is: git [2021-06-27T07:49:19.801Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:49:19.801Z] . [Pipeline] withDockerContainer [2021-06-27T07:49:19.883Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-06-27T07:49:19.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:49:20.269Z] $ docker top 28ddfc4146de9570e528add4efc357aaea6714487d0003f4e70f33d4c40d36c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:49:20.674Z] + go mod tidy [Pipeline] sh [2021-06-27T07:49:21.246Z] + make test [2021-06-27T07:49:21.246Z] go mod tidy [2021-06-27T07:49:21.246Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:49:21.850Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-27T07:49:24.865Z] using credential edgex-jenkins-ssh [2021-06-27T07:49:24.886Z] Cloning the remote Git repository [2021-06-27T07:49:24.952Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:49:25.082Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-06-27T07:49:25.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:49:25.168Z] > git --version # timeout=10 [2021-06-27T07:49:25.188Z] > git --version # 'git version 2.17.1' [2021-06-27T07:49:25.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:49:25.266Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:49:27.784Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:49:27.960Z] Merge succeeded, producing 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:49:27.961Z] Checking out Revision 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d (PR-231) [2021-06-27T07:49:27.044Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:49:27.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:49:27.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:49:27.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:49:27.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:49:27.147Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:49:27.798Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:49:27.811Z] > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # timeout=10 [2021-06-27T07:49:27.881Z] > git remote # timeout=10 [2021-06-27T07:49:27.899Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:49:27.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:49:27.922Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-27T07:49:27.942Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:49:27.962Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:49:27.977Z] > git checkout -f 480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d # timeout=10 [2021-06-27T07:49:32.159Z] Commit message: "docs: Remove dev churn and add dependency refs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:49:33.522Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:49:33.950Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:49:34.291Z] + + sudo servicetrue docker [2021-06-27T07:49:34.291Z] restart [2021-06-27T07:49:40.134Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-27T07:49:40.410Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.281s coverage: 63.8% of statements [2021-06-27T07:49:40.410Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:49:48.610Z] gofmt -l . [2021-06-27T07:49:48.610Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:49:48.610Z] ./bin/test-attribution-txt.sh [2021-06-27T07:49:48.610Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-27T07:49:48.622Z] $ docker stop --time=1 28ddfc4146de9570e528add4efc357aaea6714487d0003f4e70f33d4c40d36c7 [2021-06-27T07:49:50.096Z] $ docker rm -f 28ddfc4146de9570e528add4efc357aaea6714487d0003f4e70f33d4c40d36c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:49:50.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:49:50.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-27T07:49:51.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:49:52.112Z] + ls -al . [2021-06-27T07:49:52.112Z] total 140 [2021-06-27T07:49:52.112Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 27 07:49 . [2021-06-27T07:49:52.112Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:48 .. [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 27 07:48 Attribution.txt [2021-06-27T07:49:52.112Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:48 bin [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 6349 Jun 27 07:48 CHANGELOG.md [2021-06-27T07:49:52.112Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:48 cmd [2021-06-27T07:49:52.112Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 27 07:49 coverage.out [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 27 07:48 Dockerfile [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 27 07:48 Dockerfile.build [2021-06-27T07:49:52.112Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:48 .git [2021-06-27T07:49:52.112Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:48 .github [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 27 07:48 .gitignore [2021-06-27T07:49:52.112Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 27 07:49 go.mod [2021-06-27T07:49:52.112Z] -rw-r--r--. 1 jenkins jenkins 23126 Jun 27 07:49 go.sum [2021-06-27T07:49:52.112Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 27 07:48 internal [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 27 07:48 Jenkinsfile [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:48 LICENSE [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 27 07:48 Makefile [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 27 07:48 README.md [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:41 VERSION [2021-06-27T07:49:52.112Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 27 07:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:52.415Z] + 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=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:49:52.415Z] Sending build context to Docker daemon 8.721MB [2021-06-27T07:49:52.415Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:49:52.415Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-27T07:49:52.415Z] ---> 100e1be02ec7 [2021-06-27T07:49:52.415Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:49:52.415Z] ---> Running in e8cc89b33a1d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:49:52.628Z] provisioning config files... [2021-06-27T07:49:52.657Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8166907185931369516tmp [2021-06-27T07:49:52.680Z] Removing intermediate container e8cc89b33a1d [2021-06-27T07:49:52.680Z] ---> c0b357d7781d [2021-06-27T07:49:52.680Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:49:52.680Z] ---> Running in c6bd72535ec3 [2021-06-27T07:49:52.680Z] Removing intermediate container c6bd72535ec3 [2021-06-27T07:49:52.680Z] ---> e69b650af96c [2021-06-27T07:49:52.680Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-27T07:49:52.680Z] ---> Running in bb52b42f0040 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:49:52.944Z] Removing intermediate container bb52b42f0040 [2021-06-27T07:49:52.944Z] ---> fd8841fe4be3 [2021-06-27T07:49:52.944Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:49:52.944Z] ---> Running in 897b67e55cbe [2021-06-27T07:49:53.034Z] ---> docker-login.sh [2021-06-27T07:49:53.034Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:49:53.218Z] Removing intermediate container 897b67e55cbe [2021-06-27T07:49:53.218Z] ---> d373f74f1d30 [2021-06-27T07:49:53.218Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:49:53.218Z] ---> Running in 1d462ffacf7c [2021-06-27T07:49:53.479Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:49:54.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:49:54.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:49:54.291Z] Configure a credential helper to remove this warning. See [2021-06-27T07:49:54.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:49:54.291Z] [2021-06-27T07:49:54.291Z] Login Succeeded [2021-06-27T07:49:54.291Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:49:54.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:49:54.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:49:54.847Z] Configure a credential helper to remove this warning. See [2021-06-27T07:49:54.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:49:54.847Z] [2021-06-27T07:49:54.847Z] Login Succeeded [2021-06-27T07:49:54.847Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:49:55.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:49:55.395Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:49:55.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:49:55.401Z] Configure a credential helper to remove this warning. See [2021-06-27T07:49:55.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:49:55.401Z] [2021-06-27T07:49:55.401Z] Login Succeeded [2021-06-27T07:49:55.401Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:49:55.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:49:55.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:49:55.953Z] Configure a credential helper to remove this warning. See [2021-06-27T07:49:55.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:49:55.953Z] [2021-06-27T07:49:55.953Z] Login Succeeded [2021-06-27T07:49:56.227Z] docker.io [2021-06-27T07:49:56.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:49:56.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:49:56.776Z] Configure a credential helper to remove this warning. See [2021-06-27T07:49:56.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:49:56.776Z] [2021-06-27T07:49:56.776Z] Login Succeeded [2021-06-27T07:49:56.776Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:49:56.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:49:57.096Z] ========================================================= [2021-06-27T07:49:57.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:49:57.096Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:49:57.453Z] + 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-27T07:49:57.963Z] OK: 156 MiB in 53 packages [2021-06-27T07:49:57.963Z] Removing intermediate container 1d462ffacf7c [2021-06-27T07:49:57.963Z] ---> 7c6e40ecc52b [2021-06-27T07:49:57.963Z] Step 8/26 : COPY . . [2021-06-27T07:49:57.963Z] ---> 0045df60a711 [2021-06-27T07:49:57.963Z] Step 9/26 : RUN go mod tidy [2021-06-27T07:49:57.963Z] ---> Running in ef25f44a396d [2021-06-27T07:49:58.066Z] Sending build context to Docker daemon 8.648MB [2021-06-27T07:49:58.066Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:49:58.066Z] Step 2/8 : FROM ${BASE} [2021-06-27T07:49:58.066Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:49:58.066Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:49:58.066Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:49:58.066Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:49:58.066Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:49:58.066Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:49:58.066Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:49:58.066Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:49:58.066Z] ba82ee9f976e: Waiting [2021-06-27T07:49:58.066Z] 506bd15cee9f: Waiting [2021-06-27T07:49:58.066Z] 75a0a4a0db45: Waiting [2021-06-27T07:49:58.066Z] 618dc40b7e24: Waiting [2021-06-27T07:49:58.340Z] 5b7225fbf94c: Download complete [2021-06-27T07:49:58.340Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:49:58.340Z] 3088b5b3c5c0: Download complete [2021-06-27T07:49:58.340Z] 506bd15cee9f: Verifying Checksum [2021-06-27T07:49:58.340Z] 506bd15cee9f: Download complete [2021-06-27T07:49:58.340Z] 595b0fe564bb: Verifying Checksum [2021-06-27T07:49:58.340Z] 595b0fe564bb: Download complete [2021-06-27T07:49:58.340Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:49:58.340Z] 75a0a4a0db45: Download complete [2021-06-27T07:49:58.542Z] Removing intermediate container ef25f44a396d [2021-06-27T07:49:58.542Z] ---> ed59408733ec [2021-06-27T07:49:58.542Z] Step 10/26 : RUN go mod download [2021-06-27T07:49:58.807Z] ---> Running in 370ebb904610 [2021-06-27T07:49:58.950Z] 595b0fe564bb: Pull complete [2021-06-27T07:49:59.382Z] Removing intermediate container 370ebb904610 [2021-06-27T07:49:59.382Z] ---> 28b5745bff59 [2021-06-27T07:49:59.382Z] Step 11/26 : ARG MAKE='make build' [2021-06-27T07:49:59.382Z] ---> Running in facc613bd064 [2021-06-27T07:49:59.382Z] Removing intermediate container facc613bd064 [2021-06-27T07:49:59.382Z] ---> 1539dbdeba7d [2021-06-27T07:49:59.382Z] Step 12/26 : RUN $MAKE [2021-06-27T07:49:59.382Z] ---> Running in 952e49dd03e7 [2021-06-27T07:49:59.552Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:49:59.645Z] go mod tidy [2021-06-27T07:49:59.909Z] 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-27T07:50:00.173Z] 5b7225fbf94c: Pull complete [2021-06-27T07:50:00.449Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:50:00.449Z] 618dc40b7e24: Download complete [2021-06-27T07:50:01.435Z] ba82ee9f976e: Download complete [2021-06-27T07:50:11.598Z] ba82ee9f976e: Pull complete [2021-06-27T07:50:12.197Z] 506bd15cee9f: Pull complete [2021-06-27T07:50:12.474Z] 75a0a4a0db45: Pull complete [2021-06-27T07:50:14.923Z] Removing intermediate container 952e49dd03e7 [2021-06-27T07:50:14.923Z] ---> 62b3e79593bc [2021-06-27T07:50:14.923Z] Step 13/26 : FROM alpine:3.12 [2021-06-27T07:50:15.184Z] 3.12: Pulling from library/alpine [2021-06-27T07:50:15.445Z] 339de151aab4: Pulling fs layer [2021-06-27T07:50:15.445Z] 339de151aab4: Verifying Checksum [2021-06-27T07:50:15.445Z] 339de151aab4: Download complete [2021-06-27T07:50:15.707Z] 339de151aab4: Pull complete [2021-06-27T07:50:15.707Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:50:15.707Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:50:15.707Z] ---> 13621d1b12d4 [2021-06-27T07:50:15.707Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-27T07:50:15.707Z] ---> Running in 733ca6117090 [2021-06-27T07:50:15.707Z] Removing intermediate container 733ca6117090 [2021-06-27T07:50:15.707Z] ---> 2d64f91e28e6 [2021-06-27T07:50:15.707Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:50:15.707Z] ---> Running in e65fc27f7bc0 [2021-06-27T07:50:16.292Z] Removing intermediate container e65fc27f7bc0 [2021-06-27T07:50:16.293Z] ---> 3861a0fd93ba [2021-06-27T07:50:16.293Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:50:16.293Z] ---> Running in 26219e75f1a2 [2021-06-27T07:50:16.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:50:16.791Z] 618dc40b7e24: Pull complete [2021-06-27T07:50:16.791Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:50:16.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:50:16.791Z] ---> a36622ca3599 [2021-06-27T07:50:16.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-27T07:50:17.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:50:17.699Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:50:17.699Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:50:17.699Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:50:17.699Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:50:18.249Z] ---> Running in 0270d695cd98 [2021-06-27T07:50:18.640Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:50:18.641Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:50:18.903Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:50:18.903Z] OK: 8 MiB in 20 packages [2021-06-27T07:50:19.165Z] Removing intermediate container 26219e75f1a2 [2021-06-27T07:50:19.165Z] ---> 1fbc8f2688fe [2021-06-27T07:50:19.165Z] Step 17/26 : WORKDIR / [2021-06-27T07:50:19.165Z] ---> Running in a4f905a9828a [2021-06-27T07:50:19.165Z] Removing intermediate container a4f905a9828a [2021-06-27T07:50:19.165Z] ---> 2703e21f30c2 [2021-06-27T07:50:19.165Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-27T07:50:19.232Z] Removing intermediate container 0270d695cd98 [2021-06-27T07:50:19.232Z] ---> 4915e0863645 [2021-06-27T07:50:19.232Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:50:19.232Z] ---> Running in ff7651ba9204 [2021-06-27T07:50:19.430Z] ---> bfa2c47eaa88 [2021-06-27T07:50:19.430Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-27T07:50:19.430Z] ---> 799a43f7b803 [2021-06-27T07:50:19.430Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-27T07:50:20.004Z] ---> 3be4caded2eb [2021-06-27T07:50:20.004Z] Step 21/26 : EXPOSE 59900 [2021-06-27T07:50:20.004Z] ---> Running in 3decf64e8fc1 [2021-06-27T07:50:20.004Z] Removing intermediate container 3decf64e8fc1 [2021-06-27T07:50:20.004Z] ---> c5ff44af5b7c [2021-06-27T07:50:20.004Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-27T07:50:20.004Z] ---> Running in 85eb7566df07 [2021-06-27T07:50:20.267Z] Removing intermediate container 85eb7566df07 [2021-06-27T07:50:20.267Z] ---> 8bf717f71f6d [2021-06-27T07:50:20.267Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-27T07:50:20.267Z] ---> Running in a65742e00240 [2021-06-27T07:50:20.267Z] Removing intermediate container a65742e00240 [2021-06-27T07:50:20.267Z] ---> fa94a76e4de3 [2021-06-27T07:50:20.267Z] Step 24/26 : LABEL arch=amd64 [2021-06-27T07:50:20.267Z] ---> Running in 66b7db5879f1 [2021-06-27T07:50:20.267Z] Removing intermediate container 66b7db5879f1 [2021-06-27T07:50:20.267Z] ---> 13e110424f07 [2021-06-27T07:50:20.267Z] Step 25/26 : LABEL git_sha=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:50:20.529Z] ---> Running in e3d09755442e [2021-06-27T07:50:20.529Z] Removing intermediate container e3d09755442e [2021-06-27T07:50:20.529Z] ---> 5a8454dc4445 [2021-06-27T07:50:20.529Z] Step 26/26 : LABEL version=0.0.0 [2021-06-27T07:50:20.529Z] ---> Running in 5af39c8ded03 [2021-06-27T07:50:20.529Z] Removing intermediate container 5af39c8ded03 [2021-06-27T07:50:20.529Z] ---> 5feb840ec0e4 [2021-06-27T07:50:20.529Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:50:20.529Z] Successfully built 5feb840ec0e4 [2021-06-27T07:50:20.529Z] 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-27T07:50:21.311Z] ---> job-cost.sh [2021-06-27T07:50:21.311Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zN0D [2021-06-27T07:50:21.865Z] Removing intermediate container ff7651ba9204 [2021-06-27T07:50:21.865Z] ---> 034aad721edf [2021-06-27T07:50:21.865Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-27T07:50:21.865Z] ---> Running in a3821126c9af [2021-06-27T07:50:22.848Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:50:23.821Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:50:24.793Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:50:24.793Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:50:24.793Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:50:25.063Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:50:25.063Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:50:25.063Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:50:25.334Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:50:25.603Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:50:25.603Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:50:25.874Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:50:25.874Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:50:25.874Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:50:26.149Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:50:26.149Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:50:26.149Z] OK: 145 MiB in 53 packages [2021-06-27T07:50:27.584Z] Removing intermediate container a3821126c9af [2021-06-27T07:50:27.585Z] ---> 21d065af4405 [2021-06-27T07:50:27.585Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-27T07:50:27.859Z] ---> Running in 029e107fe428 [2021-06-27T07:50:28.456Z] Removing intermediate container 029e107fe428 [2021-06-27T07:50:28.456Z] ---> 96921bc459d6 [2021-06-27T07:50:28.456Z] Step 7/8 : COPY . . [2021-06-27T07:50:29.447Z] ---> 90a2e39e3c72 [2021-06-27T07:50:29.447Z] Step 8/8 : RUN go mod download [2021-06-27T07:50:29.497Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:50:29.727Z] ---> Running in d50963361dcc [2021-06-27T07:50:44.442Z] lf-activate-venv(): INFO: Adding /tmp/venv-zN0D/bin to PATH [2021-06-27T07:50:44.442Z] INFO: No Stack... [2021-06-27T07:50:44.442Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:50:44.442Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:50:44.794Z] + cut -d, -f6 [2021-06-27T07:50:44.794Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [Pipeline] lock [2021-06-27T07:50:44.824Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] [2021-06-27T07:50:44.833Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] did not exist. Created. [2021-06-27T07:50:44.833Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:50:45.171Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:50:45.242Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:50:45.258Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-27T07:50:56.540Z] Removing intermediate container d50963361dcc [2021-06-27T07:50:56.540Z] ---> ef1bf103851b [2021-06-27T07:50:56.540Z] Successfully built ef1bf103851b [2021-06-27T07:50:56.540Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:50:56.886Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:50:56.886Z] . [Pipeline] withDockerContainer [2021-06-27T07:50:57.347Z] prd-ubuntu18.04-docker-arm64-4c-16g-390 does not seem to be running inside a container [2021-06-27T07:50:57.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:50:59.186Z] $ docker top a1b29ecade2cba43ce7bb6bfe0ac9f1bc1eaded8ee7ffebeb93852a892b2656c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:51:00.201Z] + go version [2021-06-27T07:51:00.201Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:51:00.221Z] $ docker stop --time=1 a1b29ecade2cba43ce7bb6bfe0ac9f1bc1eaded8ee7ffebeb93852a892b2656c [2021-06-27T07:51:02.045Z] $ docker rm -f a1b29ecade2cba43ce7bb6bfe0ac9f1bc1eaded8ee7ffebeb93852a892b2656c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:51:02.880Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:51:02.880Z] . [Pipeline] withDockerContainer [2021-06-27T07:51:03.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-390 does not seem to be running inside a container [2021-06-27T07:51:03.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:51:04.811Z] $ docker top 191ab8315be12f6880c1971218e8df624ed2783c44489ceaeae0e75f24c58f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:51:05.791Z] + go mod tidy [Pipeline] sh [2021-06-27T07:51:07.054Z] + make test [2021-06-27T07:51:07.054Z] go mod tidy [2021-06-27T07:51:07.656Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:51:09.108Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-27T07:52:17.179Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-27T07:52:17.179Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.734s coverage: 63.8% of statements [2021-06-27T07:52:17.179Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:52:39.391Z] gofmt -l . [2021-06-27T07:52:39.391Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:52:39.391Z] ./bin/test-attribution-txt.sh [2021-06-27T07:52:40.852Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-27T07:52:41.473Z] $ docker stop --time=1 191ab8315be12f6880c1971218e8df624ed2783c44489ceaeae0e75f24c58f1e [2021-06-27T07:52:43.497Z] $ docker rm -f 191ab8315be12f6880c1971218e8df624ed2783c44489ceaeae0e75f24c58f1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:52:44.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:52:44.442Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:52:44.948Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:52:45.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:52:45.860Z] + ls -al . [2021-06-27T07:52:45.860Z] total 164 [2021-06-27T07:52:45.860Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 27 07:52 . [2021-06-27T07:52:45.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:49 .. [2021-06-27T07:52:45.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:49 .git [2021-06-27T07:52:45.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:49 .github [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 27 07:49 .gitignore [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 27 07:49 Attribution.txt [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 6349 Jun 27 07:49 CHANGELOG.md [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 27 07:49 Dockerfile [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 27 07:49 Dockerfile.build [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 07:49 Jenkinsfile [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:49 LICENSE [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 27 07:49 Makefile [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 27 07:49 README.md [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:41 VERSION [2021-06-27T07:52:45.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:49 bin [2021-06-27T07:52:45.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:49 cmd [2021-06-27T07:52:45.860Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 27 07:52 coverage.out [2021-06-27T07:52:45.860Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 27 07:52 go.mod [2021-06-27T07:52:45.860Z] -rw-r--r-- 1 jenkins jenkins 23126 Jun 27 07:51 go.sum [2021-06-27T07:52:45.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:49 internal [2021-06-27T07:52:45.860Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 27 07:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:52:46.207Z] + 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=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:52:46.806Z] Sending build context to Docker daemon 8.72MB [2021-06-27T07:52:46.806Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:52:46.806Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-27T07:52:46.806Z] ---> ef1bf103851b [2021-06-27T07:52:46.806Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:52:47.080Z] ---> Running in 9909de230534 [2021-06-27T07:52:47.673Z] Removing intermediate container 9909de230534 [2021-06-27T07:52:47.673Z] ---> b195da3dcae2 [2021-06-27T07:52:47.673Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:52:47.673Z] ---> Running in 4f277678cf4b [2021-06-27T07:52:48.267Z] Removing intermediate container 4f277678cf4b [2021-06-27T07:52:48.267Z] ---> 58d63477ca1b [2021-06-27T07:52:48.267Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-27T07:52:48.540Z] ---> Running in 4cbb22d3932e [2021-06-27T07:52:49.135Z] Removing intermediate container 4cbb22d3932e [2021-06-27T07:52:49.135Z] ---> c276fc873660 [2021-06-27T07:52:49.135Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:52:49.407Z] ---> Running in a21f25812d8a [2021-06-27T07:52:52.791Z] Removing intermediate container a21f25812d8a [2021-06-27T07:52:52.791Z] ---> 9a223c5334f1 [2021-06-27T07:52:52.791Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:52:52.791Z] ---> Running in 80a63b16fa9c [2021-06-27T07:52:54.219Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:52:54.810Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:52:55.788Z] OK: 145 MiB in 53 packages [2021-06-27T07:52:56.772Z] Removing intermediate container 80a63b16fa9c [2021-06-27T07:52:56.772Z] ---> ee9f9143ba01 [2021-06-27T07:52:56.772Z] Step 8/26 : COPY . . [2021-06-27T07:52:58.209Z] ---> 998aedbddd3f [2021-06-27T07:52:58.209Z] Step 9/26 : RUN go mod tidy [2021-06-27T07:52:58.209Z] ---> Running in 6a2ee4c25644 [2021-06-27T07:53:00.838Z] Removing intermediate container 6a2ee4c25644 [2021-06-27T07:53:00.838Z] ---> 9b41dd3cced8 [2021-06-27T07:53:00.838Z] Step 10/26 : RUN go mod download [2021-06-27T07:53:00.838Z] ---> Running in 4becd87bc3e6 [2021-06-27T07:53:03.460Z] Removing intermediate container 4becd87bc3e6 [2021-06-27T07:53:03.460Z] ---> 73948fe2e23e [2021-06-27T07:53:03.460Z] Step 11/26 : ARG MAKE='make build' [2021-06-27T07:53:03.460Z] ---> Running in 2173e90f3455 [2021-06-27T07:53:04.055Z] Removing intermediate container 2173e90f3455 [2021-06-27T07:53:04.055Z] ---> b81bd9d3da67 [2021-06-27T07:53:04.055Z] Step 12/26 : RUN $MAKE [2021-06-27T07:53:04.055Z] ---> Running in 4687d3a50956 [2021-06-27T07:53:05.538Z] go mod tidy [2021-06-27T07:53:06.137Z] 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-27T07:54:02.714Z] Removing intermediate container 4687d3a50956 [2021-06-27T07:54:02.714Z] ---> 690d950f1710 [2021-06-27T07:54:02.714Z] Step 13/26 : FROM alpine:3.12 [2021-06-27T07:54:02.714Z] 3.12: Pulling from library/alpine [2021-06-27T07:54:02.714Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:54:02.714Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:54:02.714Z] d2f70382dc9a: Download complete [2021-06-27T07:54:02.714Z] d2f70382dc9a: Pull complete [2021-06-27T07:54:02.714Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:54:02.714Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:54:02.714Z] ---> c4fd0aeabfcf [2021-06-27T07:54:02.714Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-27T07:54:02.714Z] ---> Running in b9afa13b846c [2021-06-27T07:54:02.714Z] Removing intermediate container b9afa13b846c [2021-06-27T07:54:02.714Z] ---> 318dc1490a7e [2021-06-27T07:54:02.714Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:54:02.714Z] ---> Running in 5420fd367f9f [2021-06-27T07:54:02.714Z] Removing intermediate container 5420fd367f9f [2021-06-27T07:54:02.714Z] ---> 62e1bf312d37 [2021-06-27T07:54:02.714Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:54:02.714Z] ---> Running in 6f0fc68487ca [2021-06-27T07:54:02.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:54:02.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:54:02.714Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:54:02.714Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:54:02.714Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:54:02.714Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:54:02.714Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:54:02.714Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:54:02.714Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:54:02.714Z] OK: 8 MiB in 20 packages [2021-06-27T07:54:03.705Z] Removing intermediate container 6f0fc68487ca [2021-06-27T07:54:03.705Z] ---> a328d20a5392 [2021-06-27T07:54:03.705Z] Step 17/26 : WORKDIR / [2021-06-27T07:54:03.705Z] ---> Running in d5c6e857787e [2021-06-27T07:54:04.301Z] Removing intermediate container d5c6e857787e [2021-06-27T07:54:04.301Z] ---> b9b8e4773381 [2021-06-27T07:54:04.301Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-27T07:54:05.278Z] ---> eda7120762f1 [2021-06-27T07:54:05.278Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-27T07:54:05.872Z] ---> acc005022f4e [2021-06-27T07:54:05.872Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-27T07:54:07.308Z] ---> 4962609023d3 [2021-06-27T07:54:07.308Z] Step 21/26 : EXPOSE 59900 [2021-06-27T07:54:07.308Z] ---> Running in 3860f2e89bd5 [2021-06-27T07:54:07.903Z] Removing intermediate container 3860f2e89bd5 [2021-06-27T07:54:07.903Z] ---> c045fe8046b8 [2021-06-27T07:54:07.903Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-27T07:54:07.903Z] ---> Running in f921abda8db5 [2021-06-27T07:54:08.496Z] Removing intermediate container f921abda8db5 [2021-06-27T07:54:08.496Z] ---> 89c7b812e789 [2021-06-27T07:54:08.496Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-27T07:54:08.496Z] ---> Running in b6b149d03d29 [2021-06-27T07:54:09.093Z] Removing intermediate container b6b149d03d29 [2021-06-27T07:54:09.093Z] ---> ceb953ca523e [2021-06-27T07:54:09.093Z] Step 24/26 : LABEL arch=arm64 [2021-06-27T07:54:09.093Z] ---> Running in 325cc29df4d6 [2021-06-27T07:54:09.686Z] Removing intermediate container 325cc29df4d6 [2021-06-27T07:54:09.686Z] ---> c2e1b8b851da [2021-06-27T07:54:09.686Z] Step 25/26 : LABEL git_sha=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [2021-06-27T07:54:09.686Z] ---> Running in 41d9f125be1e [2021-06-27T07:54:10.281Z] Removing intermediate container 41d9f125be1e [2021-06-27T07:54:10.281Z] ---> 4a662af9321b [2021-06-27T07:54:10.281Z] Step 26/26 : LABEL version=0.0.0 [2021-06-27T07:54:10.281Z] ---> Running in 1caf45f9f7dc [2021-06-27T07:54:10.876Z] Removing intermediate container 1caf45f9f7dc [2021-06-27T07:54:10.876Z] ---> 1c02563cb6b5 [2021-06-27T07:54:10.876Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:54:10.876Z] Successfully built 1c02563cb6b5 [2021-06-27T07:54:10.876Z] 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-27T07:54:11.575Z] ---> job-cost.sh [2021-06-27T07:54:11.575Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-goqF [2021-06-27T07:54:50.534Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:56:12.259Z] lf-activate-venv(): INFO: Adding /tmp/venv-goqF/bin to PATH [2021-06-27T07:56:12.259Z] INFO: No Stack... [2021-06-27T07:56:13.230Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:56:13.501Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:56:13.843Z] + + cutcat -d, /w/workspace/device-virtual-go/3/archives/cost.csv -f6 [2021-06-27T07:56:13.844Z] [Pipeline] lock [2021-06-27T07:56:13.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] [2021-06-27T07:56:13.923Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] did not exist. Created. [2021-06-27T07:56:13.923Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:56:14.300Z] /w/workspace/device-virtual-go/3@tmp/durable-a1a46c9e/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-a1a46c9e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:56:14.649Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:56:14.687Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:56:14.836Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:56:14.853Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-3-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-27T07:56:15.552Z] provisioning config files... [2021-06-27T07:56:15.564Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config6381120144274379394tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:56:15.894Z] + set +x [2021-06-27T07:56:15.894Z] + curl -s https://codecov.io/bash [2021-06-27T07:56:15.894Z] + bash -s -- [2021-06-27T07:56:15.894Z] [2021-06-27T07:56:15.894Z] _____ _ [2021-06-27T07:56:15.894Z] / ____| | | [2021-06-27T07:56:15.894Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:56:15.894Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:56:15.894Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:56:15.894Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:56:15.894Z] Bash-1.0.3 [2021-06-27T07:56:15.894Z] [2021-06-27T07:56:15.894Z] [2021-06-27T07:56:15.894Z] ==> git version 2.24.4 found [2021-06-27T07:56:15.894Z] ==> 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-27T07:56:15.894Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:56:15.894Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:56:15.894Z] ==> Jenkins CI detected. [2021-06-27T07:56:15.894Z] project root: . [2021-06-27T07:56:15.894Z] --> token set from env [2021-06-27T07:56:15.894Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:56:15.894Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:56:15.894Z] ==> Python coveragepy not found [2021-06-27T07:56:15.894Z] ==> Searching for coverage reports in: [2021-06-27T07:56:15.894Z] + . [2021-06-27T07:56:15.894Z] -> Found 1 reports [2021-06-27T07:56:15.894Z] ==> Detecting git/mercurial file structure [2021-06-27T07:56:15.894Z] ==> Reading reports [2021-06-27T07:56:15.894Z] + ./coverage.out bytes=47257 [2021-06-27T07:56:15.894Z] ==> Appending adjustments [2021-06-27T07:56:15.894Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:56:16.156Z] + Found adjustments [2021-06-27T07:56:16.156Z] ==> Gzipping contents [2021-06-27T07:56:16.156Z] 8.0K /tmp/codecov.PXFy7A.gz [2021-06-27T07:56:16.156Z] ==> Uploading reports [2021-06-27T07:56:16.156Z] url: https://codecov.io [2021-06-27T07:56:16.156Z] query: branch=PR-231&commit=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-27T07:56:16.156Z] -> Pinging Codecov [2021-06-27T07:56:16.156Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-231&commit=480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-27T07:56:16.739Z] -> Uploading to [2021-06-27T07:56:16.739Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/5E52B4B073DB2E39498172D8E973AA87/480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d/21196517-8bea-4a0d-a3e0-b16640a44b4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T075616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c38a620f3643b9b83a1bc8e585ca79cc2eee0c8c5c29442930ad6eae7a0091b [2021-06-27T07:56:16.739Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:56:16.739Z] Dload Upload Total Spent Left Speed [2021-06-27T07:56:17.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5792 0 0 100 5792 0 17959 --:--:-- --:--:-- --:--:-- 17987 [2021-06-27T07:56:17.002Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/480da9f6fb7e2c6e6cd6b5c03528d9b9a5cb0e6d [Pipeline] } [2021-06-27T07:56:17.011Z] 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-27T07:56:18.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:19.350Z] ---> package-listing.sh [2021-06-27T07:56:19.350Z] ++ facter osfamily [2021-06-27T07:56:19.350Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:56:19.614Z] + OS_FAMILY=redhat [2021-06-27T07:56:19.614Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-231 [2021-06-27T07:56:19.614Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:56:19.614Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:56:19.614Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:56:19.614Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:56:19.614Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-27T07:56:19.614Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:56:19.614Z] + case "${OS_FAMILY}" in [2021-06-27T07:56:19.614Z] + rpm -qa [2021-06-27T07:56:19.614Z] + sort [2021-06-27T07:56:20.207Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:56:20.207Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:56:20.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:56:20.207Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-27T07:56:20.207Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-231/archives/ [2021-06-27T07:56:20.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-231/archives/ [Pipeline] echo [2021-06-27T07:56:20.223Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-27T07:56:20.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:56:21.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:56:21.093Z] [2021-06-27T07:56:21.093Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:56:21.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:56:21.425Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:56:21.425Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:56:21.425Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:56:21.425Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:56:21.425Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:56:21.425Z] 93b61091891f: Pulling fs layer [2021-06-27T07:56:21.425Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:56:21.425Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:56:21.425Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:56:21.425Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:56:21.425Z] 46f8f816bc3b: Waiting [2021-06-27T07:56:21.425Z] 93b61091891f: Waiting [2021-06-27T07:56:21.425Z] 93b9cdb0e59b: Waiting [2021-06-27T07:56:21.425Z] 5e14af77c1be: Waiting [2021-06-27T07:56:21.425Z] 01666e4c0597: Waiting [2021-06-27T07:56:21.425Z] aa168da1d23b: Waiting [2021-06-27T07:56:21.425Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:56:21.425Z] 36b3adc4ff6f: Download complete [2021-06-27T07:56:21.425Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:56:21.425Z] 46f8f816bc3b: Download complete [2021-06-27T07:56:21.425Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:56:21.425Z] df20fa9351a1: Download complete [2021-06-27T07:56:21.689Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:56:21.689Z] 93b9cdb0e59b: Download complete [2021-06-27T07:56:21.689Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:56:21.689Z] 5e14af77c1be: Download complete [2021-06-27T07:56:21.689Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:56:21.689Z] 01666e4c0597: Download complete [2021-06-27T07:56:21.689Z] 93b61091891f: Verifying Checksum [2021-06-27T07:56:21.689Z] 93b61091891f: Download complete [2021-06-27T07:56:21.689Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:56:21.689Z] 8ad3a11d3b57: Download complete [2021-06-27T07:56:21.689Z] df20fa9351a1: Pull complete [2021-06-27T07:56:21.950Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:56:22.534Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:56:22.534Z] 46f8f816bc3b: Pull complete [2021-06-27T07:56:23.111Z] 93b61091891f: Pull complete [2021-06-27T07:56:23.111Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:56:23.374Z] 5e14af77c1be: Pull complete [2021-06-27T07:56:23.374Z] 01666e4c0597: Pull complete [2021-06-27T07:56:23.644Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:56:23.644Z] aa168da1d23b: Download complete [2021-06-27T07:56:28.977Z] aa168da1d23b: Pull complete [2021-06-27T07:56:28.977Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:56:28.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:56:28.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:56:29.067Z] prd-centos7-docker-4c-2g-346 does not seem to be running inside a container [2021-06-27T07:56:29.109Z] $ 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-231/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-231 -v /w/workspace/foundry_device-virtual-go_PR-231:/w/workspace/foundry_device-virtual-go_PR-231:rw,z -v /w/workspace/foundry_device-virtual-go_PR-231@tmp:/w/workspace/foundry_device-virtual-go_PR-231@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-27T07:56:32.462Z] $ docker top 9644fb08039948491cd506e672e7709ac4c2ca95587c3c2510a65e0e40ef9b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:56:32.883Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:56:33.198Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:56:33.516Z] + ls /var/log/sa-host [2021-06-27T07:56:33.516Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:56:33.516Z] file_magic: OK [2021-06-27T07:56:33.516Z] HZ: Using current value: 100 [2021-06-27T07:56:33.516Z] file_header: OK [2021-06-27T07:56:33.516Z] 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-27T07:56:33.516Z] Statistics: [2021-06-27T07:56:33.516Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:56:33.516Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:56:33.516Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:56:33.516Z] file_magic: OK [2021-06-27T07:56:33.516Z] HZ: Using current value: 100 [2021-06-27T07:56:33.516Z] file_header: OK [2021-06-27T07:56:33.516Z] 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-27T07:56:33.516Z] Statistics: [2021-06-27T07:56:33.516Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:56:33.516Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:56:33.760Z] provisioning config files... [2021-06-27T07:56:33.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config1021977408172015129tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:56:33.803Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:34.111Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:56:34.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:34.531Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:56:34.542Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:34.843Z] ---> sudo-logs.sh [2021-06-27T07:56:34.843Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:56:34.884Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:35.190Z] ---> job-cost.sh [2021-06-27T07:56:35.190Z] lf-activate-venv: SKIPPING [2021-06-27T07:56:35.190Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:56:35.190Z] INFO: Retrieving Stack Cost... [2021-06-27T07:56:36.136Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:56:36.400Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:56:36.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:56:36.727Z] ---> logs-deploy.sh [2021-06-27T07:56:36.727Z] lf-activate-venv: SKIPPING [2021-06-27T07:56:36.727Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-231/3 [2021-06-27T07:56:36.727Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:56:37.675Z] Archives upload complete. [2021-06-27T07:56:37.675Z] INFO: archiving logs to Nexus