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 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38+f9181e51cc24c5c8d60c5f317d7638268e956055 (4e870b6d5e4c9135dc7f8f150dac5f769194d0e6) 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-ssh663125197450429551.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-ssh9066635320667369355.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-ssh7659733951211888253.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-ssh9000589705636778082.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-ssh4192812861679689197.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-324 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-ssh6524334521967106050.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 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 Merge succeeded, producing 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 Checking out Revision 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 (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-ssh6574782968494002617.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 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # 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-ssh5167280308819592377.key > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 Commit message: "docs: Remove dev churn and add dependency refs" > git rev-list --no-walk e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:15:39.341Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:15:39.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:15:39.480Z] ========================================================= [2021-06-27T07:15:39.480Z] EdgeX Global Pipelines Version Info [2021-06-27T07:15:39.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:40.958Z] ------------------- [2021-06-27T07:15:40.958Z] stable info: [2021-06-27T07:15:40.958Z] ------------------- [2021-06-27T07:15:40.958Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:15:40.958Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:15:40.958Z] Message: update stable to v1.0.195 [2021-06-27T07:15:41.550Z] ------------------- [2021-06-27T07:15:41.550Z] experimental info: [2021-06-27T07:15:41.550Z] ------------------- [2021-06-27T07:15:41.550Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:15:41.550Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:15:41.550Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:15:41.681Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-27T07:15:41.709Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-27T07:15:41.737Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:15:41.765Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:15:41.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:15:41.822Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:15:41.849Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:15:41.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:15:41.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:15:41.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:15:41.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:15:42.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-27T07:15:42.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:15:42.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:15:42.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:15:42.129Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:15:42.157Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:15:42.185Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:15:42.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:15:42.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:15:42.289Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:15:42.319Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:15:42.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:15:42.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:15:42.404Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:15:42.434Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:15:42.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2021-06-27T07:15:42.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2021-06-27T07:15:42.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2021-06-27T07:15:42.574Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [Pipeline] echo [2021-06-27T07:15:42.622Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f7c6c5 [Pipeline] echo [2021-06-27T07:15:42.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:15:42.753Z] provisioning config files... [2021-06-27T07:15:42.771Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config2509142790486098403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:43.112Z] ---> docker-login.sh [2021-06-27T07:15:43.112Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:15:43.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:15:43.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:15:43.376Z] Configure a credential helper to remove this warning. See [2021-06-27T07:15:43.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:15:43.376Z] [2021-06-27T07:15:43.376Z] Login Succeeded [2021-06-27T07:15:43.376Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:15:43.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:15:43.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:15:43.376Z] Configure a credential helper to remove this warning. See [2021-06-27T07:15:43.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:15:43.376Z] [2021-06-27T07:15:43.376Z] Login Succeeded [2021-06-27T07:15:43.376Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:15:43.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:15:43.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:15:43.641Z] Configure a credential helper to remove this warning. See [2021-06-27T07:15:43.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:15:43.641Z] [2021-06-27T07:15:43.641Z] Login Succeeded [2021-06-27T07:15:43.641Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:15:43.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:15:43.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:15:43.641Z] Configure a credential helper to remove this warning. See [2021-06-27T07:15:43.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:15:43.641Z] [2021-06-27T07:15:43.641Z] Login Succeeded [2021-06-27T07:15:43.641Z] docker.io [2021-06-27T07:15:43.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:15:44.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:15:44.178Z] Configure a credential helper to remove this warning. See [2021-06-27T07:15:44.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:15:44.178Z] [2021-06-27T07:15:44.178Z] Login Succeeded [2021-06-27T07:15:44.178Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:15:44.187Z] 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:15:44.699Z] + git log --format=format:%s -1 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [Pipeline] echo [2021-06-27T07:15:44.743Z] GIT_COMMIT: 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38, Commit Message: docs: Remove dev churn and add dependency refs [Pipeline] echo [2021-06-27T07:15:44.760Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:15:45.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:15:45.374Z] [2021-06-27T07:15:45.374Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:15:45.696Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:15:45.696Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:15:45.696Z] 31603596830f: Pulling fs layer [2021-06-27T07:15:45.696Z] 54011a49482f: Pulling fs layer [2021-06-27T07:15:45.696Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:15:45.696Z] f581987b2513: Pulling fs layer [2021-06-27T07:15:45.696Z] f581987b2513: Waiting [2021-06-27T07:15:45.696Z] 54011a49482f: Verifying Checksum [2021-06-27T07:15:45.696Z] 54011a49482f: Download complete [2021-06-27T07:15:45.696Z] 31603596830f: Verifying Checksum [2021-06-27T07:15:45.696Z] 31603596830f: Download complete [2021-06-27T07:15:45.961Z] f581987b2513: Verifying Checksum [2021-06-27T07:15:45.961Z] f581987b2513: Download complete [2021-06-27T07:15:45.961Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:15:45.961Z] a6820b24f6d8: Download complete [2021-06-27T07:15:45.961Z] 31603596830f: Pull complete [2021-06-27T07:15:46.224Z] 54011a49482f: Pull complete [2021-06-27T07:15:46.799Z] a6820b24f6d8: Pull complete [2021-06-27T07:15:46.799Z] f581987b2513: Pull complete [2021-06-27T07:15:46.799Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:15:47.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:15:47.062Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:15:47.141Z] prd-centos7-docker-4c-2g-324 does not seem to be running inside a container [2021-06-27T07:15:47.177Z] $ 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:15:48.074Z] $ docker top 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:15:48.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:15:48.203Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:15:48.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:15:48.309Z] $ docker exec 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 ssh-agent [2021-06-27T07:15:48.417Z] SSH_AUTH_SOCK=/tmp/ssh-iw6IZdWjYRvE/agent.13 [2021-06-27T07:15:48.417Z] SSH_AGENT_PID=19 [2021-06-27T07:15:48.424Z] Running ssh-add (command line suppressed) [2021-06-27T07:15:48.510Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_2616566395240569785.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_2616566395240569785.key) [2021-06-27T07:15:48.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:15:48.838Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:15:48.847Z] $ docker exec --env ******** --env ******** 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 ssh-agent -k [2021-06-27T07:15:48.941Z] unset SSH_AUTH_SOCK; [2021-06-27T07:15:48.942Z] unset SSH_AGENT_PID; [2021-06-27T07:15:48.942Z] echo Agent pid 19 killed; [2021-06-27T07:15:48.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:15:49.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:15:49.013Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:15:49.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:15:49.113Z] $ docker exec 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 ssh-agent [2021-06-27T07:15:49.223Z] SSH_AUTH_SOCK=/tmp/ssh-QGusHcpoQLAo/agent.53 [2021-06-27T07:15:49.223Z] SSH_AGENT_PID=60 [2021-06-27T07:15:49.229Z] Running ssh-add (command line suppressed) [2021-06-27T07:15:49.314Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_3331037075248139943.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_3331037075248139943.key) [2021-06-27T07:15:49.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:15:49.650Z] + git semver init [2021-06-27T07:15:49.650Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:15:49.650Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.git [2021-06-27T07:15:49.650Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-231 [2021-06-27T07:15:49.650Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:15:49.650Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:15:49.650Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:15:49.650Z] # $SEMVER_BRANCH = PR-231 [2021-06-27T07:15:49.650Z] # $SEMVER_TEMP = /tmp/semver-689264052 [2021-06-27T07:15:49.650Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-27T07:15:50.599Z] # '/tmp/semver-689264052' -> '/w/workspace/foundry_device-virtual-go_PR-231/.semver' [2021-06-27T07:15:50.599Z] # -> Force: false [2021-06-27T07:15:50.599Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.semver [Pipeline] } [2021-06-27T07:15:50.605Z] $ docker exec --env ******** --env ******** 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 ssh-agent -k [2021-06-27T07:15:50.696Z] unset SSH_AUTH_SOCK; [2021-06-27T07:15:50.696Z] unset SSH_AGENT_PID; [2021-06-27T07:15:50.696Z] echo Agent pid 60 killed; [2021-06-27T07:15:50.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:15:51.059Z] + git semver [Pipeline] } [2021-06-27T07:15:51.073Z] $ docker stop --time=1 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 [2021-06-27T07:15:52.370Z] $ docker rm -f 3d02df926c9cd835c3ff346d0e421c45e3d181463971caae627f132ab295fe73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:15:52.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:15:53.064Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:15:53.069Z] [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:16:08.322Z] Still waiting to schedule task [2021-06-27T07:16:08.323Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-27T07:16:08.325Z] Still waiting to schedule task [2021-06-27T07:16:08.326Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:18:06.473Z] Running on prd-centos7-docker-4c-2g-327 in /w/workspace/foundry_device-virtual-go_PR-231 [Pipeline] { [Pipeline] ws [2021-06-27T07:18:06.495Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-06-27T07:18:06.613Z] The recommended git tool is: git [2021-06-27T07:18:09.185Z] using credential edgex-jenkins-ssh [2021-06-27T07:18:09.207Z] Cloning the remote Git repository [2021-06-27T07:18:09.220Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:18:09.322Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-27T07:18:09.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:18:09.356Z] > git --version # timeout=10 [2021-06-27T07:18:09.364Z] > git --version # 'git version 2.24.4' [2021-06-27T07:18:09.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:09.397Z] [INFO] Currently running in a labeled security context [2021-06-27T07:18:09.397Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:18:09.397Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh959475391129224034.key [2021-06-27T07:18:09.421Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:18:11.102Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:18:10.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:18:10.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:18:10.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:18:10.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:18:10.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:10.583Z] [INFO] Currently running in a labeled security context [2021-06-27T07:18:10.583Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:18:10.583Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh1511569403077688448.key [2021-06-27T07:18:10.596Z] > 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:18:11.109Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:18:11.123Z] > git checkout -f 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 [2021-06-27T07:18:11.157Z] > git remote # timeout=10 [2021-06-27T07:18:11.167Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:18:11.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:11.179Z] [INFO] Currently running in a labeled security context [2021-06-27T07:18:11.179Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:18:11.180Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh7330999296086511208.key [2021-06-27T07:18:11.187Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-27T07:18:11.196Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:18:11.214Z] Merge succeeded, producing 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:18:11.214Z] Checking out Revision 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 (PR-231) [2021-06-27T07:18:11.213Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:18:11.221Z] > git checkout -f 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 [2021-06-27T07:18:14.802Z] 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:18:15.782Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:18:16.109Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:18:16.411Z] + sudo service docker restart [2021-06-27T07:18:16.411Z] + true [2021-06-27T07:18:16.411Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:18:34.621Z] provisioning config files... [2021-06-27T07:18:34.642Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4298680460568462329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:18:34.980Z] ---> docker-login.sh [2021-06-27T07:18:34.980Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:18:34.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:35.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:35.242Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:35.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:35.242Z] [2021-06-27T07:18:35.242Z] Login Succeeded [2021-06-27T07:18:35.242Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:18:35.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:35.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:35.512Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:35.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:35.512Z] [2021-06-27T07:18:35.512Z] Login Succeeded [2021-06-27T07:18:35.512Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:18:35.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:35.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:35.512Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:35.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:35.512Z] [2021-06-27T07:18:35.512Z] Login Succeeded [2021-06-27T07:18:35.512Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:18:35.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:35.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:35.777Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:35.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:35.777Z] [2021-06-27T07:18:35.777Z] Login Succeeded [2021-06-27T07:18:35.777Z] docker.io [2021-06-27T07:18:35.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:36.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:36.039Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:36.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:36.039Z] [2021-06-27T07:18:36.039Z] Login Succeeded [2021-06-27T07:18:36.039Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:18:36.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:18:36.221Z] ========================================================= [2021-06-27T07:18:36.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:18:36.221Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:18:36.534Z] + 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:18:36.534Z] Sending build context to Docker daemon 8.649MB [2021-06-27T07:18:36.534Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:18:36.534Z] Step 2/8 : FROM ${BASE} [2021-06-27T07:18:36.799Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:18:36.799Z] 540db60ca938: Pulling fs layer [2021-06-27T07:18:36.799Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:18:36.799Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:18:36.799Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:18:36.799Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:18:36.799Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:18:36.799Z] f706445af74f: Pulling fs layer [2021-06-27T07:18:36.799Z] 0510c868ecb4: Waiting [2021-06-27T07:18:36.799Z] afea3b2eda06: Waiting [2021-06-27T07:18:36.799Z] 7809a108b3ef: Waiting [2021-06-27T07:18:36.799Z] f706445af74f: Waiting [2021-06-27T07:18:36.799Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:18:36.799Z] 4c4ab2625f07: Download complete [2021-06-27T07:18:36.799Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:18:36.799Z] adcc1eea9eea: Download complete [2021-06-27T07:18:36.799Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:18:36.799Z] afea3b2eda06: Download complete [2021-06-27T07:18:36.799Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:18:36.799Z] 7809a108b3ef: Download complete [2021-06-27T07:18:36.799Z] 540db60ca938: Verifying Checksum [2021-06-27T07:18:36.799Z] 540db60ca938: Download complete [2021-06-27T07:18:37.061Z] 540db60ca938: Pull complete [2021-06-27T07:18:37.061Z] adcc1eea9eea: Pull complete [2021-06-27T07:18:37.324Z] 4c4ab2625f07: Pull complete [2021-06-27T07:18:38.718Z] f706445af74f: Verifying Checksum [2021-06-27T07:18:38.718Z] f706445af74f: Download complete [2021-06-27T07:18:38.983Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:18:38.983Z] 0510c868ecb4: Download complete [2021-06-27T07:18:43.238Z] 0510c868ecb4: Pull complete [2021-06-27T07:18:43.238Z] afea3b2eda06: Pull complete [2021-06-27T07:18:43.238Z] 7809a108b3ef: Pull complete [2021-06-27T07:18:44.202Z] f706445af74f: Pull complete [2021-06-27T07:18:44.202Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:18:44.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:18:44.202Z] ---> b068be0155e3 [2021-06-27T07:18:44.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-27T07:18:49.521Z] ---> Running in ff86467ef206 [2021-06-27T07:18:49.521Z] Removing intermediate container ff86467ef206 [2021-06-27T07:18:49.521Z] ---> e8c3bda88647 [2021-06-27T07:18:49.521Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:18:49.521Z] ---> Running in 57d0048fe5a7 [2021-06-27T07:18:50.106Z] Removing intermediate container 57d0048fe5a7 [2021-06-27T07:18:50.107Z] ---> eb7638d16925 [2021-06-27T07:18:50.107Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-27T07:18:50.107Z] ---> Running in 5a779410501c [2021-06-27T07:18:50.372Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:50.945Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:51.519Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:18:51.519Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:18:51.781Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:18:51.781Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:18:51.781Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:18:52.042Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:18:52.042Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:18:52.303Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:18:52.303Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:18:52.564Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:18:52.564Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:18:52.564Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:18:52.828Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:18:52.828Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:18:52.828Z] OK: 156 MiB in 53 packages [2021-06-27T07:18:53.405Z] Removing intermediate container 5a779410501c [2021-06-27T07:18:53.406Z] ---> f3897279845d [2021-06-27T07:18:53.406Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-27T07:18:53.406Z] ---> Running in 278a296bdc70 [2021-06-27T07:18:53.406Z] Removing intermediate container 278a296bdc70 [2021-06-27T07:18:53.406Z] ---> 36a0fbcea4b4 [2021-06-27T07:18:53.406Z] Step 7/8 : COPY . . [2021-06-27T07:18:53.985Z] ---> 7f19736322a6 [2021-06-27T07:18:53.985Z] Step 8/8 : RUN go mod download [2021-06-27T07:18:53.985Z] ---> Running in 1a5219a4f604 [2021-06-27T07:19:08.932Z] Removing intermediate container 1a5219a4f604 [2021-06-27T07:19:08.932Z] ---> 561244467912 [2021-06-27T07:19:08.932Z] Successfully built 561244467912 [2021-06-27T07:19:08.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:19:09.250Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:19:09.250Z] . [Pipeline] withDockerContainer [2021-06-27T07:19:09.331Z] prd-centos7-docker-4c-2g-327 does not seem to be running inside a container [2021-06-27T07:19:09.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-x86_64 cat [2021-06-27T07:19:09.840Z] $ docker top 1ebef41eb0c797faf33a4f5e2e8ec1664e1ecc5a15f59c35dac2a0d3787b3ae1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:19:10.239Z] + go version [2021-06-27T07:19:10.239Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:19:10.250Z] $ docker stop --time=1 1ebef41eb0c797faf33a4f5e2e8ec1664e1ecc5a15f59c35dac2a0d3787b3ae1 [2021-06-27T07:19:11.451Z] $ docker rm -f 1ebef41eb0c797faf33a4f5e2e8ec1664e1ecc5a15f59c35dac2a0d3787b3ae1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:19:11.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:19:11.992Z] . [Pipeline] withDockerContainer [2021-06-27T07:19:12.070Z] prd-centos7-docker-4c-2g-327 does not seem to be running inside a container [2021-06-27T07:19:12.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-x86_64 cat [2021-06-27T07:19:12.475Z] $ docker top 469a31059fb5f0ead26a77e4a8d7efbd1966d65f9312eed2dc05636c33eb6c16 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:19:12.899Z] + go mod tidy [Pipeline] sh [2021-06-27T07:19:13.481Z] + make test [2021-06-27T07:19:13.481Z] go mod tidy [2021-06-27T07:19:13.756Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:19:14.027Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-27T07:19:36.103Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-27T07:19:36.103Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.270s coverage: 63.8% of statements [2021-06-27T07:19:36.103Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:19:41.725Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-328 in /w/workspace/foundry_device-virtual-go_PR-231 [Pipeline] { [Pipeline] ws [2021-06-27T07:19:41.745Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-06-27T07:19:41.970Z] The recommended git tool is: git [2021-06-27T07:19:44.311Z] gofmt -l . [2021-06-27T07:19:44.311Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:19:44.311Z] ./bin/test-attribution-txt.sh [2021-06-27T07:19:44.311Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-27T07:19:44.320Z] $ docker stop --time=1 469a31059fb5f0ead26a77e4a8d7efbd1966d65f9312eed2dc05636c33eb6c16 [2021-06-27T07:19:45.778Z] $ docker rm -f 469a31059fb5f0ead26a77e4a8d7efbd1966d65f9312eed2dc05636c33eb6c16 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:19:46.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:19:46.425Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-27T07:19:47.391Z] using credential edgex-jenkins-ssh [2021-06-27T07:19:47.436Z] Cloning the remote Git repository [Pipeline] sh [2021-06-27T07:19:47.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:19:48.061Z] + ls -al . [2021-06-27T07:19:48.061Z] total 140 [2021-06-27T07:19:48.061Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 27 07:19 . [2021-06-27T07:19:48.061Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:18 .. [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 27 07:18 Attribution.txt [2021-06-27T07:19:48.061Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:18 bin [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 6349 Jun 27 07:18 CHANGELOG.md [2021-06-27T07:19:48.061Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:18 cmd [2021-06-27T07:19:48.061Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 27 07:19 coverage.out [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 27 07:18 Dockerfile [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 27 07:18 Dockerfile.build [2021-06-27T07:19:48.061Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:18 .git [2021-06-27T07:19:48.061Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:18 .github [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 27 07:18 .gitignore [2021-06-27T07:19:48.061Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 27 07:19 go.mod [2021-06-27T07:19:48.061Z] -rw-r--r--. 1 jenkins jenkins 23126 Jun 27 07:19 go.sum [2021-06-27T07:19:48.061Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 27 07:18 internal [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 27 07:18 Jenkinsfile [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:18 LICENSE [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 27 07:18 Makefile [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 27 07:18 README.md [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:15 VERSION [2021-06-27T07:19:48.061Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 27 07:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:19:47.487Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:19:47.692Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-27T07:19:47.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:19:47.993Z] > git --version # timeout=10 [2021-06-27T07:19:48.030Z] > git --version # 'git version 2.17.1' [2021-06-27T07:19:48.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:19:48.368Z] + 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=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:19:48.368Z] Sending build context to Docker daemon 8.721MB [2021-06-27T07:19:48.368Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:19:48.368Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-27T07:19:48.368Z] ---> 561244467912 [2021-06-27T07:19:48.368Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:19:48.368Z] ---> Running in 25cb36113eae [2021-06-27T07:19:48.630Z] Removing intermediate container 25cb36113eae [2021-06-27T07:19:48.630Z] ---> 2aeeabac1727 [2021-06-27T07:19:48.630Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:19:48.630Z] ---> Running in 18dbd58ab5b8 [2021-06-27T07:19:48.630Z] Removing intermediate container 18dbd58ab5b8 [2021-06-27T07:19:48.630Z] ---> 85aec7d76fd5 [2021-06-27T07:19:48.630Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-27T07:19:48.630Z] ---> Running in 8b188b2aeac7 [2021-06-27T07:19:48.630Z] Removing intermediate container 8b188b2aeac7 [2021-06-27T07:19:48.630Z] ---> 31746012ef64 [2021-06-27T07:19:48.630Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:19:48.630Z] ---> Running in 3204cb01e2f5 [2021-06-27T07:19:49.205Z] Removing intermediate container 3204cb01e2f5 [2021-06-27T07:19:49.205Z] ---> 395310225779 [2021-06-27T07:19:49.205Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:19:49.205Z] ---> Running in 088ed72c8201 [2021-06-27T07:19:48.229Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:19:49.468Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:19:50.416Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:19:50.436Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:19:50.629Z] Merge succeeded, producing 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:19:50.630Z] Checking out Revision 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 (PR-231) [2021-06-27T07:19:50.678Z] OK: 156 MiB in 53 packages [2021-06-27T07:19:49.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:19:49.816Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:19:49.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-27T07:19:49.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-27T07:19:49.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:19:49.898Z] > 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:19:50.453Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:19:50.470Z] > git checkout -f 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 [2021-06-27T07:19:50.551Z] > git remote # timeout=10 [2021-06-27T07:19:50.570Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:19:50.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:19:50.592Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-27T07:19:50.614Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:19:50.635Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:19:50.656Z] > git checkout -f 9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 # timeout=10 [2021-06-27T07:19:50.939Z] Removing intermediate container 088ed72c8201 [2021-06-27T07:19:50.939Z] ---> d89d315bee6b [2021-06-27T07:19:50.939Z] Step 8/26 : COPY . . [2021-06-27T07:19:51.201Z] ---> a761a2b92012 [2021-06-27T07:19:51.202Z] Step 9/26 : RUN go mod tidy [2021-06-27T07:19:51.202Z] ---> Running in c2da879e8a40 [2021-06-27T07:19:52.163Z] Removing intermediate container c2da879e8a40 [2021-06-27T07:19:52.163Z] ---> 44fa453333ad [2021-06-27T07:19:52.163Z] Step 10/26 : RUN go mod download [2021-06-27T07:19:52.163Z] ---> Running in bac2fb557dc0 [2021-06-27T07:19:52.740Z] Removing intermediate container bac2fb557dc0 [2021-06-27T07:19:52.740Z] ---> 9851ee0ba20d [2021-06-27T07:19:52.740Z] Step 11/26 : ARG MAKE='make build' [2021-06-27T07:19:52.740Z] ---> Running in b6117ef9d802 [2021-06-27T07:19:52.740Z] Removing intermediate container b6117ef9d802 [2021-06-27T07:19:52.740Z] ---> 03dcfa00997d [2021-06-27T07:19:52.740Z] Step 12/26 : RUN $MAKE [2021-06-27T07:19:52.740Z] ---> Running in db109955ccf9 [2021-06-27T07:19:53.007Z] go mod tidy [2021-06-27T07:19:53.273Z] 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:19:54.823Z] 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:19:56.162Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:19:56.589Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:19:56.932Z] + + sudo servicetrue docker [2021-06-27T07:19:56.932Z] restart [2021-06-27T07:20:11.445Z] Removing intermediate container db109955ccf9 [2021-06-27T07:20:11.445Z] ---> c7c87e734593 [2021-06-27T07:20:11.445Z] Step 13/26 : FROM alpine:3.12 [2021-06-27T07:20:11.445Z] 3.12: Pulling from library/alpine [2021-06-27T07:20:11.445Z] 339de151aab4: Pulling fs layer [2021-06-27T07:20:11.445Z] 339de151aab4: Verifying Checksum [2021-06-27T07:20:11.445Z] 339de151aab4: Download complete [2021-06-27T07:20:11.445Z] 339de151aab4: Pull complete [2021-06-27T07:20:11.445Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:20:11.445Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:20:11.445Z] ---> 13621d1b12d4 [2021-06-27T07:20:11.445Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-27T07:20:11.445Z] ---> Running in 492b2e3a59c0 [2021-06-27T07:20:11.445Z] Removing intermediate container 492b2e3a59c0 [2021-06-27T07:20:11.445Z] ---> c594a5e0937f [2021-06-27T07:20:11.445Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:20:11.445Z] ---> Running in 5078ebc8e943 [2021-06-27T07:20:11.709Z] Removing intermediate container 5078ebc8e943 [2021-06-27T07:20:11.709Z] ---> 5b0d6b68547d [2021-06-27T07:20:11.709Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:20:11.709Z] ---> Running in 4427dbc6b67c [2021-06-27T07:20:11.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:20:12.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:20:13.119Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:20:13.119Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:20:13.381Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:20:13.381Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:20:14.331Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:20:14.331Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:20:14.331Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:20:14.331Z] OK: 8 MiB in 20 packages [2021-06-27T07:20:14.605Z] Removing intermediate container 4427dbc6b67c [2021-06-27T07:20:14.605Z] ---> b0460f2ff4b0 [2021-06-27T07:20:14.605Z] Step 17/26 : WORKDIR / [2021-06-27T07:20:14.605Z] ---> Running in 2f840c139c40 [2021-06-27T07:20:14.870Z] Removing intermediate container 2f840c139c40 [2021-06-27T07:20:14.870Z] ---> 15355063b3e2 [2021-06-27T07:20:14.870Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-27T07:20:14.870Z] ---> 309b7e4fe989 [2021-06-27T07:20:14.870Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-27T07:20:15.132Z] ---> 460bbb4956b7 [2021-06-27T07:20:15.132Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:20:15.308Z] provisioning config files... [2021-06-27T07:20:15.337Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5173733940262888221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:20:15.707Z] ---> 0f0ae21c790e [2021-06-27T07:20:15.707Z] Step 21/26 : EXPOSE 59900 [2021-06-27T07:20:15.707Z] ---> Running in 57e8879f2424 [2021-06-27T07:20:15.707Z] Removing intermediate container 57e8879f2424 [2021-06-27T07:20:15.707Z] ---> 832ae8798dd0 [2021-06-27T07:20:15.707Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-27T07:20:15.707Z] ---> Running in 892dbf115290 [2021-06-27T07:20:15.724Z] ---> docker-login.sh [2021-06-27T07:20:15.724Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:20:15.986Z] Removing intermediate container 892dbf115290 [2021-06-27T07:20:15.986Z] ---> 3c157cc628d9 [2021-06-27T07:20:15.986Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-27T07:20:15.986Z] ---> Running in 95390e585a45 [2021-06-27T07:20:15.986Z] Removing intermediate container 95390e585a45 [2021-06-27T07:20:15.986Z] ---> 447c986113b2 [2021-06-27T07:20:15.986Z] Step 24/26 : LABEL arch=amd64 [2021-06-27T07:20:15.986Z] ---> Running in b28e7ec5441e [2021-06-27T07:20:16.248Z] Removing intermediate container b28e7ec5441e [2021-06-27T07:20:16.248Z] ---> d8d273722c9b [2021-06-27T07:20:16.248Z] Step 25/26 : LABEL git_sha=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:20:16.248Z] ---> Running in bed1d03c1fcd [2021-06-27T07:20:16.248Z] Removing intermediate container bed1d03c1fcd [2021-06-27T07:20:16.248Z] ---> f9051d3b11c4 [2021-06-27T07:20:16.248Z] Step 26/26 : LABEL version=0.0.0 [2021-06-27T07:20:16.248Z] ---> Running in cf00c2842dcd [2021-06-27T07:20:16.509Z] Removing intermediate container cf00c2842dcd [2021-06-27T07:20:16.509Z] ---> a3f0f30969c5 [2021-06-27T07:20:16.509Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:20:16.509Z] Successfully built a3f0f30969c5 [2021-06-27T07:20:16.510Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-06-27T07:20:16.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-06-27T07:20:16.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:20:16.992Z] Configure a credential helper to remove this warning. See [2021-06-27T07:20:16.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:20:16.992Z] [2021-06-27T07:20:16.992Z] Login Succeeded [2021-06-27T07:20:16.992Z] nexus3.edgexfoundry.org:10002 [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:20:17.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:20:17.293Z] ---> job-cost.sh [2021-06-27T07:20:17.293Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mDfK [2021-06-27T07:20:17.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:20:17.542Z] Configure a credential helper to remove this warning. See [2021-06-27T07:20:17.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:20:17.542Z] [2021-06-27T07:20:17.542Z] Login Succeeded [2021-06-27T07:20:17.542Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:20:18.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:20:18.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:20:18.145Z] Configure a credential helper to remove this warning. See [2021-06-27T07:20:18.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:20:18.145Z] [2021-06-27T07:20:18.145Z] Login Succeeded [2021-06-27T07:20:18.145Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:20:18.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:20:18.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:20:18.698Z] Configure a credential helper to remove this warning. See [2021-06-27T07:20:18.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:20:18.698Z] [2021-06-27T07:20:18.698Z] Login Succeeded [2021-06-27T07:20:18.698Z] docker.io [2021-06-27T07:20:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:20:19.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:20:19.573Z] Configure a credential helper to remove this warning. See [2021-06-27T07:20:19.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:20:19.573Z] [2021-06-27T07:20:19.573Z] Login Succeeded [2021-06-27T07:20:19.573Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:20:19.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:20:19.907Z] ========================================================= [2021-06-27T07:20:19.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:20:19.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:20:20.262Z] + 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:20:20.861Z] Sending build context to Docker daemon 8.648MB [2021-06-27T07:20:20.861Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:20:20.861Z] Step 2/8 : FROM ${BASE} [2021-06-27T07:20:20.861Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:20:20.861Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:20:20.861Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:20:20.861Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:20:20.861Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:20:20.861Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:20:20.861Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:20:20.861Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:20:20.861Z] 506bd15cee9f: Waiting [2021-06-27T07:20:20.861Z] 75a0a4a0db45: Waiting [2021-06-27T07:20:20.861Z] 618dc40b7e24: Waiting [2021-06-27T07:20:20.861Z] ba82ee9f976e: Waiting [2021-06-27T07:20:20.861Z] 5b7225fbf94c: Verifying Checksum [2021-06-27T07:20:20.861Z] 5b7225fbf94c: Download complete [2021-06-27T07:20:21.137Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:20:21.137Z] 3088b5b3c5c0: Download complete [2021-06-27T07:20:21.137Z] 506bd15cee9f: Download complete [2021-06-27T07:20:21.137Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:20:21.137Z] 75a0a4a0db45: Download complete [2021-06-27T07:20:21.137Z] 595b0fe564bb: Download complete [2021-06-27T07:20:21.739Z] 595b0fe564bb: Pull complete [2021-06-27T07:20:22.345Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:20:22.964Z] 5b7225fbf94c: Pull complete [2021-06-27T07:20:23.567Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:20:23.567Z] 618dc40b7e24: Download complete [2021-06-27T07:20:25.005Z] ba82ee9f976e: Download complete [2021-06-27T07:20:27.345Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:20:35.201Z] ba82ee9f976e: Pull complete [2021-06-27T07:20:35.477Z] 506bd15cee9f: Pull complete [2021-06-27T07:20:35.752Z] 75a0a4a0db45: Pull complete [2021-06-27T07:20:39.632Z] lf-activate-venv(): INFO: Adding /tmp/venv-mDfK/bin to PATH [2021-06-27T07:20:39.632Z] INFO: No Stack... [2021-06-27T07:20:40.131Z] 618dc40b7e24: Pull complete [2021-06-27T07:20:40.131Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:20:40.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:20:40.131Z] ---> a36622ca3599 [2021-06-27T07:20:40.131Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-27T07:20:40.210Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:20:40.783Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:20:41.084Z] + cut -d, -f6 [2021-06-27T07:20:41.085Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2021-06-27T07:20:41.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] [2021-06-27T07:20:41.122Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] did not exist. Created. [2021-06-27T07:20:41.122Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:20:41.452Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:20:41.528Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:20:41.537Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-27T07:20:42.162Z] ---> Running in 22eecfb21d89 [2021-06-27T07:20:42.450Z] Removing intermediate container 22eecfb21d89 [2021-06-27T07:20:42.450Z] ---> 64bef483a6e2 [2021-06-27T07:20:42.450Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:20:42.450Z] ---> Running in 16b9ed30146c [2021-06-27T07:20:45.086Z] Removing intermediate container 16b9ed30146c [2021-06-27T07:20:45.086Z] ---> f6e758a0c80a [2021-06-27T07:20:45.086Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-27T07:20:45.086Z] ---> Running in c4884ccb8172 [2021-06-27T07:20:46.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:20:47.057Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:20:48.045Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:20:48.045Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:20:48.045Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:20:48.045Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:20:48.320Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:20:48.320Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:20:48.593Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:20:48.867Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:20:48.867Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:20:49.142Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:20:49.142Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:20:49.142Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:20:49.418Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:20:49.418Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:20:49.418Z] OK: 145 MiB in 53 packages [2021-06-27T07:20:50.865Z] Removing intermediate container c4884ccb8172 [2021-06-27T07:20:50.865Z] ---> 1bcbbf6fac9b [2021-06-27T07:20:50.865Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-27T07:20:51.141Z] ---> Running in ca66f073bb9d [2021-06-27T07:20:51.745Z] Removing intermediate container ca66f073bb9d [2021-06-27T07:20:51.745Z] ---> 83078a3e17b4 [2021-06-27T07:20:51.745Z] Step 7/8 : COPY . . [2021-06-27T07:20:52.734Z] ---> c07b48f3e4f4 [2021-06-27T07:20:52.735Z] Step 8/8 : RUN go mod download [2021-06-27T07:20:53.017Z] ---> Running in 8e1fe4d4b2fe [2021-06-27T07:21:19.894Z] Removing intermediate container 8e1fe4d4b2fe [2021-06-27T07:21:19.894Z] ---> 82147bc7fdef [2021-06-27T07:21:19.894Z] Successfully built 82147bc7fdef [2021-06-27T07:21:19.894Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:21:20.249Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:21:20.249Z] . [Pipeline] withDockerContainer [2021-06-27T07:21:20.524Z] prd-ubuntu18.04-docker-arm64-4c-16g-328 does not seem to be running inside a container [2021-06-27T07:21:20.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2021-06-27T07:21:22.279Z] $ docker top eeeaf321ba9c4d83f1cf68f7b50dfc1198698d4740624470159bee6fe58f4e2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:21:23.275Z] + go version [2021-06-27T07:21:23.275Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:21:23.297Z] $ docker stop --time=1 eeeaf321ba9c4d83f1cf68f7b50dfc1198698d4740624470159bee6fe58f4e2e [2021-06-27T07:21:25.121Z] $ docker rm -f eeeaf321ba9c4d83f1cf68f7b50dfc1198698d4740624470159bee6fe58f4e2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:21:25.969Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:21:25.969Z] . [Pipeline] withDockerContainer [2021-06-27T07:21:26.240Z] prd-ubuntu18.04-docker-arm64-4c-16g-328 does not seem to be running inside a container [2021-06-27T07:21:26.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2021-06-27T07:21:27.926Z] $ docker top ab0e291ff9cb1f54dea452d6a3e9bfc26c4e5b10ad994ab8c7b2a667c3d15ba3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:21:28.889Z] + go mod tidy [Pipeline] sh [2021-06-27T07:21:30.181Z] + make test [2021-06-27T07:21:30.181Z] go mod tidy [2021-06-27T07:21:30.791Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:21:32.248Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-27T07:22:40.429Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-27T07:22:40.429Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.746s coverage: 63.8% of statements [2021-06-27T07:22:40.429Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:23:07.264Z] gofmt -l . [2021-06-27T07:23:07.264Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:23:07.264Z] ./bin/test-attribution-txt.sh [2021-06-27T07:23:08.702Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-27T07:23:09.320Z] $ docker stop --time=1 ab0e291ff9cb1f54dea452d6a3e9bfc26c4e5b10ad994ab8c7b2a667c3d15ba3 [2021-06-27T07:23:11.283Z] $ docker rm -f ab0e291ff9cb1f54dea452d6a3e9bfc26c4e5b10ad994ab8c7b2a667c3d15ba3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:23:12.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:23:12.170Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:23:12.701Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:23:13.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:23:13.609Z] + ls -al . [2021-06-27T07:23:13.609Z] total 164 [2021-06-27T07:23:13.609Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 27 07:23 . [2021-06-27T07:23:13.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:19 .. [2021-06-27T07:23:13.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:19 .git [2021-06-27T07:23:13.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:19 .github [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 27 07:19 .gitignore [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 27 07:19 Attribution.txt [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 6349 Jun 27 07:19 CHANGELOG.md [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 27 07:19 Dockerfile [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 27 07:19 Dockerfile.build [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 07:19 Jenkinsfile [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:19 LICENSE [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 27 07:19 Makefile [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 27 07:19 README.md [2021-06-27T07:23:13.609Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:15 VERSION [2021-06-27T07:23:13.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:19 bin [2021-06-27T07:23:13.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:19 cmd [2021-06-27T07:23:13.609Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 27 07:22 coverage.out [2021-06-27T07:23:13.609Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 27 07:23 go.mod [2021-06-27T07:23:13.609Z] -rw-r--r-- 1 jenkins jenkins 23126 Jun 27 07:21 go.sum [2021-06-27T07:23:13.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:19 internal [2021-06-27T07:23:13.610Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 27 07:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:23:13.959Z] + 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=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:23:14.553Z] Sending build context to Docker daemon 8.72MB [2021-06-27T07:23:14.553Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:23:14.553Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-27T07:23:14.553Z] ---> 82147bc7fdef [2021-06-27T07:23:14.553Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:23:14.824Z] ---> Running in d67af274194a [2021-06-27T07:23:15.095Z] Removing intermediate container d67af274194a [2021-06-27T07:23:15.095Z] ---> fe9c7b06a3c4 [2021-06-27T07:23:15.095Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:23:15.366Z] ---> Running in aa495f25b17f [2021-06-27T07:23:15.638Z] Removing intermediate container aa495f25b17f [2021-06-27T07:23:15.638Z] ---> 44b80547ff6b [2021-06-27T07:23:15.638Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-27T07:23:15.911Z] ---> Running in bd25ec36da0b [2021-06-27T07:23:16.185Z] Removing intermediate container bd25ec36da0b [2021-06-27T07:23:16.185Z] ---> 6be90abeec8a [2021-06-27T07:23:16.185Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:23:16.459Z] ---> Running in b93f21ac8a84 [2021-06-27T07:23:18.434Z] Removing intermediate container b93f21ac8a84 [2021-06-27T07:23:18.434Z] ---> b4f5952e062d [2021-06-27T07:23:18.434Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:23:18.709Z] ---> Running in 8acf31d921a7 [2021-06-27T07:23:20.145Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:23:20.749Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:23:21.729Z] OK: 145 MiB in 53 packages [2021-06-27T07:23:22.717Z] Removing intermediate container 8acf31d921a7 [2021-06-27T07:23:22.717Z] ---> 26f8fac151b3 [2021-06-27T07:23:22.717Z] Step 8/26 : COPY . . [2021-06-27T07:23:24.153Z] ---> 1731aebb2e1e [2021-06-27T07:23:24.153Z] Step 9/26 : RUN go mod tidy [2021-06-27T07:23:24.153Z] ---> Running in c758d54785f4 [2021-06-27T07:23:26.775Z] Removing intermediate container c758d54785f4 [2021-06-27T07:23:26.775Z] ---> a6415f987c3e [2021-06-27T07:23:26.775Z] Step 10/26 : RUN go mod download [2021-06-27T07:23:26.775Z] ---> Running in feec71fd4a57 [2021-06-27T07:23:29.394Z] Removing intermediate container feec71fd4a57 [2021-06-27T07:23:29.394Z] ---> 2e76ea755ebd [2021-06-27T07:23:29.394Z] Step 11/26 : ARG MAKE='make build' [2021-06-27T07:23:29.394Z] ---> Running in 1ff60cb4f0dc [2021-06-27T07:23:29.667Z] Removing intermediate container 1ff60cb4f0dc [2021-06-27T07:23:29.667Z] ---> 7ad0afae1403 [2021-06-27T07:23:29.667Z] Step 12/26 : RUN $MAKE [2021-06-27T07:23:29.667Z] ---> Running in 9ebea67e7455 [2021-06-27T07:23:31.102Z] go mod tidy [2021-06-27T07:23:31.378Z] 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:24:27.977Z] Removing intermediate container 9ebea67e7455 [2021-06-27T07:24:27.977Z] ---> 065631465f4b [2021-06-27T07:24:27.977Z] Step 13/26 : FROM alpine:3.12 [2021-06-27T07:24:27.977Z] 3.12: Pulling from library/alpine [2021-06-27T07:24:27.977Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:24:27.977Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:24:27.977Z] d2f70382dc9a: Download complete [2021-06-27T07:24:27.977Z] d2f70382dc9a: Pull complete [2021-06-27T07:24:27.977Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:24:27.977Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:24:27.977Z] ---> c4fd0aeabfcf [2021-06-27T07:24:27.977Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-27T07:24:27.977Z] ---> Running in 17be1048eb54 [2021-06-27T07:24:27.977Z] Removing intermediate container 17be1048eb54 [2021-06-27T07:24:27.977Z] ---> 02d0c62a89af [2021-06-27T07:24:27.977Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:24:27.977Z] ---> Running in 656102454cf7 [2021-06-27T07:24:27.977Z] Removing intermediate container 656102454cf7 [2021-06-27T07:24:27.977Z] ---> f9034326a65c [2021-06-27T07:24:27.977Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:24:27.977Z] ---> Running in e0dbd8080ceb [2021-06-27T07:24:27.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:24:27.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:24:27.977Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:24:27.977Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:24:28.248Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:24:28.249Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:24:28.521Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:24:28.521Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:24:28.793Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:24:28.793Z] OK: 8 MiB in 20 packages [2021-06-27T07:24:29.772Z] Removing intermediate container e0dbd8080ceb [2021-06-27T07:24:29.772Z] ---> 17029e71b15e [2021-06-27T07:24:29.772Z] Step 17/26 : WORKDIR / [2021-06-27T07:24:30.045Z] ---> Running in b04411bc1487 [2021-06-27T07:24:30.645Z] Removing intermediate container b04411bc1487 [2021-06-27T07:24:30.645Z] ---> d71237b54b1b [2021-06-27T07:24:30.645Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-27T07:24:31.242Z] ---> 3ccc5e74c50f [2021-06-27T07:24:31.242Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-27T07:24:32.222Z] ---> 2adc2a256c2e [2021-06-27T07:24:32.222Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-27T07:24:33.663Z] ---> 5a5e76fe4bee [2021-06-27T07:24:33.663Z] Step 21/26 : EXPOSE 59900 [2021-06-27T07:24:33.663Z] ---> Running in 0bc22ee558ec [2021-06-27T07:24:34.264Z] Removing intermediate container 0bc22ee558ec [2021-06-27T07:24:34.264Z] ---> c6a9d6fe3571 [2021-06-27T07:24:34.264Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-27T07:24:34.264Z] ---> Running in 653910b296b8 [2021-06-27T07:24:34.863Z] Removing intermediate container 653910b296b8 [2021-06-27T07:24:34.863Z] ---> a33e53fccc00 [2021-06-27T07:24:34.863Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-27T07:24:34.863Z] ---> Running in ae210427e746 [2021-06-27T07:24:35.464Z] Removing intermediate container ae210427e746 [2021-06-27T07:24:35.464Z] ---> 5cf4b88d9e0b [2021-06-27T07:24:35.464Z] Step 24/26 : LABEL arch=arm64 [2021-06-27T07:24:35.464Z] ---> Running in 147dc2f69919 [2021-06-27T07:24:36.064Z] Removing intermediate container 147dc2f69919 [2021-06-27T07:24:36.064Z] ---> ebfa39a58957 [2021-06-27T07:24:36.064Z] Step 25/26 : LABEL git_sha=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [2021-06-27T07:24:36.064Z] ---> Running in 6bd23c05f44b [2021-06-27T07:24:36.666Z] Removing intermediate container 6bd23c05f44b [2021-06-27T07:24:36.666Z] ---> f062d43805ba [2021-06-27T07:24:36.666Z] Step 26/26 : LABEL version=0.0.0 [2021-06-27T07:24:36.666Z] ---> Running in 8300e3f64fd1 [2021-06-27T07:24:37.262Z] Removing intermediate container 8300e3f64fd1 [2021-06-27T07:24:37.262Z] ---> f2bc817e7b53 [2021-06-27T07:24:37.262Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:24:37.262Z] Successfully built f2bc817e7b53 [2021-06-27T07:24:37.262Z] 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:24:37.935Z] ---> job-cost.sh [2021-06-27T07:24:37.935Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ilzt [2021-06-27T07:25:16.912Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:26:53.707Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ilzt/bin to PATH [2021-06-27T07:26:53.707Z] INFO: No Stack... [2021-06-27T07:26:53.707Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:26:53.707Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:26:54.054Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-06-27T07:26:54.054Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:26:54.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] [2021-06-27T07:26:54.137Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] did not exist. Created. [2021-06-27T07:26:54.137Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:26:54.520Z] /w/workspace/device-virtual-go/2@tmp/durable-ec01267f/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-ec01267f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:26:54.868Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:26:54.907Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:26:55.059Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:26:55.074Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-2-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:26:55.675Z] provisioning config files... [2021-06-27T07:26:55.687Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config2436560147149333488tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:26:56.028Z] + set +x [2021-06-27T07:26:56.028Z] + bash -s -- [2021-06-27T07:26:56.028Z] + curl -s https://codecov.io/bash [2021-06-27T07:26:56.028Z] [2021-06-27T07:26:56.028Z] _____ _ [2021-06-27T07:26:56.028Z] / ____| | | [2021-06-27T07:26:56.028Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:26:56.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:26:56.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:26:56.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:26:56.028Z] Bash-1.0.3 [2021-06-27T07:26:56.028Z] [2021-06-27T07:26:56.028Z] [2021-06-27T07:26:56.028Z] ==> git version 2.24.4 found [2021-06-27T07:26:56.028Z] ==> 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:26:56.028Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:26:56.028Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:26:56.028Z] ==> Jenkins CI detected. [2021-06-27T07:26:56.028Z] project root: . [2021-06-27T07:26:56.028Z] --> token set from env [2021-06-27T07:26:56.028Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:26:56.028Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:26:56.028Z] ==> Python coveragepy not found [2021-06-27T07:26:56.028Z] ==> Searching for coverage reports in: [2021-06-27T07:26:56.028Z] + . [2021-06-27T07:26:56.028Z] -> Found 1 reports [2021-06-27T07:26:56.028Z] ==> Detecting git/mercurial file structure [2021-06-27T07:26:56.290Z] ==> Reading reports [2021-06-27T07:26:56.290Z] + ./coverage.out bytes=47257 [2021-06-27T07:26:56.290Z] ==> Appending adjustments [2021-06-27T07:26:56.290Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:26:56.290Z] + Found adjustments [2021-06-27T07:26:56.290Z] ==> Gzipping contents [2021-06-27T07:26:56.290Z] 8.0K /tmp/codecov.gUT3VB.gz [2021-06-27T07:26:56.290Z] ==> Uploading reports [2021-06-27T07:26:56.290Z] url: https://codecov.io [2021-06-27T07:26:56.290Z] query: branch=PR-231&commit=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-27T07:26:56.290Z] -> Pinging Codecov [2021-06-27T07:26:56.290Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-231&commit=9f7c6c586252ff5d0a9e6d3e2f9723272581ff38&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-27T07:26:56.551Z] -> Uploading to [2021-06-27T07:26:56.551Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/5E52B4B073DB2E39498172D8E973AA87/9f7c6c586252ff5d0a9e6d3e2f9723272581ff38/75096c9f-127d-42a1-9521-8cfa9577fbc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T072656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8158edecc268303cb1e8f2316082f35dd53f3e1c87795bee800c13db7b9431d [2021-06-27T07:26:56.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:26:56.551Z] Dload Upload Total Spent Left Speed [2021-06-27T07:26:57.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5810 0 0 100 5810 0 18650 --:--:-- --:--:-- --:--:-- 18681 [2021-06-27T07:26:57.125Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9f7c6c586252ff5d0a9e6d3e2f9723272581ff38 [Pipeline] } [2021-06-27T07:26:57.133Z] 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:26:58.739Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:26:59.315Z] ---> package-listing.sh [2021-06-27T07:26:59.315Z] ++ facter osfamily [2021-06-27T07:26:59.315Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:26:59.582Z] + OS_FAMILY=redhat [2021-06-27T07:26:59.582Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-231 [2021-06-27T07:26:59.582Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:26:59.582Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:26:59.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:26:59.582Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:26:59.582Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-27T07:26:59.582Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:26:59.582Z] + case "${OS_FAMILY}" in [2021-06-27T07:26:59.582Z] + rpm -qa [2021-06-27T07:26:59.582Z] + sort [2021-06-27T07:27:00.155Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:27:00.155Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:27:00.155Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:27:00.155Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-27T07:27:00.155Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-231/archives/ [2021-06-27T07:27:00.155Z] + 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:27:00.169Z] 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:27:00.476Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:27:01.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:27:01.045Z] [2021-06-27T07:27:01.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:27:01.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:27:01.370Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:27:01.370Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:27:01.370Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:27:01.370Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:27:01.370Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:27:01.370Z] 93b61091891f: Pulling fs layer [2021-06-27T07:27:01.370Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:27:01.370Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:27:01.370Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:27:01.370Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:27:01.370Z] 46f8f816bc3b: Waiting [2021-06-27T07:27:01.370Z] 93b61091891f: Waiting [2021-06-27T07:27:01.370Z] 93b9cdb0e59b: Waiting [2021-06-27T07:27:01.370Z] 5e14af77c1be: Waiting [2021-06-27T07:27:01.370Z] 01666e4c0597: Waiting [2021-06-27T07:27:01.370Z] aa168da1d23b: Waiting [2021-06-27T07:27:01.370Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:27:01.370Z] 36b3adc4ff6f: Download complete [2021-06-27T07:27:01.370Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:27:01.370Z] 46f8f816bc3b: Download complete [2021-06-27T07:27:01.370Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:27:01.370Z] df20fa9351a1: Download complete [2021-06-27T07:27:01.639Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:27:01.639Z] 93b9cdb0e59b: Download complete [2021-06-27T07:27:01.639Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:27:01.639Z] 5e14af77c1be: Download complete [2021-06-27T07:27:01.639Z] 93b61091891f: Verifying Checksum [2021-06-27T07:27:01.639Z] 93b61091891f: Download complete [2021-06-27T07:27:01.639Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:27:01.639Z] 01666e4c0597: Download complete [2021-06-27T07:27:01.639Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:27:01.639Z] 8ad3a11d3b57: Download complete [2021-06-27T07:27:01.639Z] df20fa9351a1: Pull complete [2021-06-27T07:27:01.906Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:27:02.487Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:27:02.487Z] 46f8f816bc3b: Pull complete [2021-06-27T07:27:02.763Z] 93b61091891f: Pull complete [2021-06-27T07:27:02.763Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:27:02.763Z] 5e14af77c1be: Pull complete [2021-06-27T07:27:03.023Z] 01666e4c0597: Pull complete [2021-06-27T07:27:03.594Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:27:03.594Z] aa168da1d23b: Download complete [2021-06-27T07:27:07.831Z] aa168da1d23b: Pull complete [2021-06-27T07:27:07.831Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:27:07.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:27:07.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:27:07.919Z] prd-centos7-docker-4c-2g-324 does not seem to be running inside a container [2021-06-27T07:27:07.971Z] $ 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:27:10.140Z] $ docker top df129ed253e5666c9ec6ed12fe9eee9b1ad715d72c1654958880f2a8ffde0005 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:27:10.530Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:27:10.839Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:27:11.139Z] + ls /var/log/sa-host [2021-06-27T07:27:11.139Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:27:11.139Z] file_magic: OK [2021-06-27T07:27:11.139Z] HZ: Using current value: 100 [2021-06-27T07:27:11.139Z] file_header: OK [2021-06-27T07:27:11.139Z] 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:27:11.139Z] Statistics: [2021-06-27T07:27:11.139Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:27:11.139Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:27:11.139Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:27:11.139Z] file_magic: OK [2021-06-27T07:27:11.139Z] HZ: Using current value: 100 [2021-06-27T07:27:11.139Z] file_header: OK [2021-06-27T07:27:11.139Z] 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:27:11.139Z] Statistics: [2021-06-27T07:27:11.139Z] HRHnuu...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:27:11.139Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:27:11.343Z] provisioning config files... [2021-06-27T07:27:11.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config2488890777144341930tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:27:11.381Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:27:11.677Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:27:11.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:27:12.079Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:27:12.091Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:27:12.410Z] ---> sudo-logs.sh [2021-06-27T07:27:12.410Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:27:12.439Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:27:12.744Z] ---> job-cost.sh [2021-06-27T07:27:12.744Z] lf-activate-venv: SKIPPING [2021-06-27T07:27:12.744Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:27:12.744Z] INFO: Retrieving Stack Cost... [2021-06-27T07:27:13.687Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:27:14.260Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:27:14.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:27:14.573Z] ---> logs-deploy.sh [2021-06-27T07:27:14.573Z] lf-activate-venv: SKIPPING [2021-06-27T07:27:14.573Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-231/2 [2021-06-27T07:27:14.573Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:27:15.525Z] Archives upload complete. [2021-06-27T07:27:15.525Z] INFO: archiving logs to Nexus