Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from f5ae1f548a223fa00a609c07100793691232eedb+a9406b88c5d39c328343188705a9257517158750 (6b0989031527dc74f89bb6ced9f0df79bd4b046d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5798161037417432688.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1491047196468718882.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2839739695200202054.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5862173380153357989.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8968868708886694157.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh711191118579136351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-43 in /w/workspace/foundry_device-virtual-go_PR-219 [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-219 # 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-219@tmp/jenkins-gitclient-ssh1633756439166649915.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 a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) > 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-219@tmp/jenkins-gitclient-ssh6467612674965466557.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # 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-219@tmp/jenkins-gitclient-ssh6543567438727587991.key > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 Commit message: "fix: update separator for GET array value handler function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T04:58:19.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T04:58:19.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T04:58:20.099Z] ========================================================= [2021-06-02T04:58:20.099Z] EdgeX Global Pipelines Version Info [2021-06-02T04:58:20.099Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T04:58:21.671Z] ------------------- [2021-06-02T04:58:21.671Z] stable info: [2021-06-02T04:58:21.671Z] ------------------- [2021-06-02T04:58:21.671Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T04:58:21.671Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-02T04:58:21.671Z] Message: update stable to v1.0.192 [2021-06-02T04:58:22.247Z] ------------------- [2021-06-02T04:58:22.247Z] experimental info: [2021-06-02T04:58:22.247Z] ------------------- [2021-06-02T04:58:22.247Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T04:58:22.247Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-02T04:58:22.247Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T04:58:22.525Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-02T04:58:22.584Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-02T04:58:22.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T04:58:22.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T04:58:22.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T04:58:22.853Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T04:58:22.913Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T04:58:23.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T04:58:23.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T04:58:23.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T04:58:23.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T04:58:23.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-02T04:58:23.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T04:58:23.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T04:58:23.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T04:58:23.528Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T04:58:23.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T04:58:23.644Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T04:58:23.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T04:58:23.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T04:58:23.838Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-02T04:58:23.913Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-02T04:58:23.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T04:58:24.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T04:58:24.119Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-02T04:58:24.182Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T04:58:24.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2021-06-02T04:58:24.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2021-06-02T04:58:24.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2021-06-02T04:58:24.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] echo [2021-06-02T04:58:24.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5ae1f5 [Pipeline] echo [2021-06-02T04:58:24.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T04:58:24.694Z] provisioning config files... [2021-06-02T04:58:24.715Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config4416905105506535747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T04:58:25.144Z] ---> docker-login.sh [2021-06-02T04:58:25.144Z] nexus3.edgexfoundry.org:10001 [2021-06-02T04:58:25.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T04:58:25.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T04:58:25.409Z] Configure a credential helper to remove this warning. See [2021-06-02T04:58:25.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T04:58:25.409Z] [2021-06-02T04:58:25.409Z] Login Succeeded [2021-06-02T04:58:25.409Z] nexus3.edgexfoundry.org:10002 [2021-06-02T04:58:25.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T04:58:25.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T04:58:25.409Z] Configure a credential helper to remove this warning. See [2021-06-02T04:58:25.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T04:58:25.409Z] [2021-06-02T04:58:25.409Z] Login Succeeded [2021-06-02T04:58:25.409Z] nexus3.edgexfoundry.org:10003 [2021-06-02T04:58:25.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T04:58:25.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T04:58:25.672Z] Configure a credential helper to remove this warning. See [2021-06-02T04:58:25.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T04:58:25.672Z] [2021-06-02T04:58:25.672Z] Login Succeeded [2021-06-02T04:58:25.672Z] nexus3.edgexfoundry.org:10004 [2021-06-02T04:58:25.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T04:58:25.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T04:58:25.935Z] Configure a credential helper to remove this warning. See [2021-06-02T04:58:25.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T04:58:25.935Z] [2021-06-02T04:58:25.935Z] Login Succeeded [2021-06-02T04:58:25.935Z] docker.io [2021-06-02T04:58:25.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T04:58:26.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T04:58:26.198Z] Configure a credential helper to remove this warning. See [2021-06-02T04:58:26.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T04:58:26.198Z] [2021-06-02T04:58:26.198Z] Login Succeeded [2021-06-02T04:58:26.198Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T04:58:26.225Z] 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-02T04:58:27.123Z] + git log --format=format:%s -1 f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] echo [2021-06-02T04:58:27.183Z] GIT_COMMIT: f5ae1f548a223fa00a609c07100793691232eedb, Commit Message: fix: update separator for GET array value handler function [Pipeline] echo [2021-06-02T04:58:27.222Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T04:58:28.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T04:58:28.359Z] [2021-06-02T04:58:28.359Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T04:58:28.732Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T04:58:28.732Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T04:58:28.732Z] 31603596830f: Pulling fs layer [2021-06-02T04:58:28.732Z] 54011a49482f: Pulling fs layer [2021-06-02T04:58:28.732Z] a6820b24f6d8: Pulling fs layer [2021-06-02T04:58:28.732Z] f581987b2513: Pulling fs layer [2021-06-02T04:58:28.732Z] f581987b2513: Waiting [2021-06-02T04:58:28.732Z] 54011a49482f: Verifying Checksum [2021-06-02T04:58:28.732Z] 54011a49482f: Download complete [2021-06-02T04:58:28.995Z] 31603596830f: Verifying Checksum [2021-06-02T04:58:28.995Z] 31603596830f: Download complete [2021-06-02T04:58:28.995Z] a6820b24f6d8: Verifying Checksum [2021-06-02T04:58:28.995Z] a6820b24f6d8: Download complete [2021-06-02T04:58:28.995Z] f581987b2513: Verifying Checksum [2021-06-02T04:58:28.995Z] f581987b2513: Download complete [2021-06-02T04:58:28.995Z] 31603596830f: Pull complete [2021-06-02T04:58:29.260Z] 54011a49482f: Pull complete [2021-06-02T04:58:29.838Z] a6820b24f6d8: Pull complete [2021-06-02T04:58:30.099Z] f581987b2513: Pull complete [2021-06-02T04:58:30.099Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T04:58:30.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T04:58:30.099Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T04:58:30.207Z] prd-centos7-docker-4c-2g-43 does not seem to be running inside a container [2021-06-02T04:58:30.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-219 -v /w/workspace/foundry_device-virtual-go_PR-219:/w/workspace/foundry_device-virtual-go_PR-219:rw,z -v /w/workspace/foundry_device-virtual-go_PR-219@tmp:/w/workspace/foundry_device-virtual-go_PR-219@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-02T04:58:31.855Z] $ docker top f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T04:58:32.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T04:58:32.064Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T04:58:32.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T04:58:32.179Z] $ docker exec f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent [2021-06-02T04:58:32.279Z] SSH_AUTH_SOCK=/tmp/ssh-b7BSjOoTkik2/agent.14 [2021-06-02T04:58:32.279Z] SSH_AGENT_PID=19 [2021-06-02T04:58:32.287Z] Running ssh-add (command line suppressed) [2021-06-02T04:58:32.382Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_4404714737632077959.key (/w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_4404714737632077959.key) [2021-06-02T04:58:32.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T04:58:32.766Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T04:58:32.788Z] $ docker exec --env ******** --env ******** f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent -k [2021-06-02T04:58:32.882Z] unset SSH_AUTH_SOCK; [2021-06-02T04:58:32.883Z] unset SSH_AGENT_PID; [2021-06-02T04:58:32.883Z] echo Agent pid 19 killed; [2021-06-02T04:58:32.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T04:58:33.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T04:58:33.000Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T04:58:33.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T04:58:33.115Z] $ docker exec f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent [2021-06-02T04:58:33.224Z] SSH_AUTH_SOCK=/tmp/ssh-rarNAO1lS95e/agent.53 [2021-06-02T04:58:33.224Z] SSH_AGENT_PID=59 [2021-06-02T04:58:33.230Z] Running ssh-add (command line suppressed) [2021-06-02T04:58:33.317Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_5223267084667028863.key (/w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_5223267084667028863.key) [2021-06-02T04:58:33.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T04:58:33.685Z] + git semver init [2021-06-02T04:58:33.685Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T04:58:33.685Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-219/.git [2021-06-02T04:58:33.685Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-219 [2021-06-02T04:58:33.685Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T04:58:33.685Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T04:58:33.685Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T04:58:33.685Z] # $SEMVER_BRANCH = PR-219 [2021-06-02T04:58:33.685Z] # $SEMVER_TEMP = /tmp/semver-756497009 [2021-06-02T04:58:33.685Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-02T04:58:34.633Z] # '/tmp/semver-756497009' -> '/w/workspace/foundry_device-virtual-go_PR-219/.semver' [2021-06-02T04:58:34.633Z] # -> Force: false [2021-06-02T04:58:34.633Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-219/.semver [Pipeline] } [2021-06-02T04:58:34.649Z] $ docker exec --env ******** --env ******** f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent -k [2021-06-02T04:58:34.748Z] unset SSH_AUTH_SOCK; [2021-06-02T04:58:34.749Z] unset SSH_AGENT_PID; [2021-06-02T04:58:34.749Z] echo Agent pid 59 killed; [2021-06-02T04:58:34.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T04:58:35.207Z] + git semver [Pipeline] } [2021-06-02T04:58:35.235Z] $ docker stop --time=1 f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 [2021-06-02T04:58:36.798Z] $ docker rm -f f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T04:58:37.263Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T04:58:37.584Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T04:58:37.607Z] [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-02T04:58:53.210Z] Still waiting to schedule task [2021-06-02T04:58:53.211Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T04:58:53.232Z] Still waiting to schedule task [2021-06-02T04:58:53.233Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-02T05:01:01.256Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/foundry_device-virtual-go_PR-219 [Pipeline] { [Pipeline] ws [2021-06-02T05:01:01.328Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T05:01:01.771Z] The recommended git tool is: git [2021-06-02T05:01:06.682Z] using credential edgex-jenkins-ssh [2021-06-02T05:01:06.703Z] Cloning the remote Git repository [2021-06-02T05:01:06.744Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:06.896Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-02T05:01:07.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:07.008Z] > git --version # timeout=10 [2021-06-02T05:01:07.038Z] > git --version # 'git version 2.17.1' [2021-06-02T05:01:07.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:07.175Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T05:01:09.863Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T05:01:09.884Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T05:01:09.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T05:01:09.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:09.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:09.954Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T05:01:10.797Z] Merging remotes/origin/master commit a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:01:10.972Z] Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:01:10.973Z] Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) [2021-06-02T05:01:10.810Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T05:01:10.828Z] > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 [2021-06-02T05:01:10.899Z] > git remote # timeout=10 [2021-06-02T05:01:10.915Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T05:01:10.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:10.936Z] > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 [2021-06-02T05:01:10.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T05:01:10.973Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T05:01:10.989Z] > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 [2021-06-02T05:01:15.238Z] Commit message: "fix: update separator for GET array value handler function" [2021-06-02T05:01:15.295Z] > git --version # timeout=10 [2021-06-02T05:01:15.312Z] > git --version # 'git version 2.17.1' [2021-06-02T05:01:15.324Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T05:01:17.024Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T05:01:17.479Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T05:01:17.844Z] + sudo service docker restart [2021-06-02T05:01:17.844Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T05:01:36.261Z] provisioning config files... [2021-06-02T05:01:36.296Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5812159223328599425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:01:36.731Z] ---> docker-login.sh [2021-06-02T05:01:36.732Z] nexus3.edgexfoundry.org:10001 [2021-06-02T05:01:37.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:01:38.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:01:38.019Z] Configure a credential helper to remove this warning. See [2021-06-02T05:01:38.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:01:38.019Z] [2021-06-02T05:01:38.019Z] Login Succeeded [2021-06-02T05:01:38.019Z] nexus3.edgexfoundry.org:10002 [2021-06-02T05:01:38.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:01:38.504Z] Running on prd-centos7-docker-4c-2g-45 in /w/workspace/foundry_device-virtual-go_PR-219 [Pipeline] { [Pipeline] ws [2021-06-02T05:01:38.554Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T05:01:38.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:01:38.706Z] Configure a credential helper to remove this warning. See [2021-06-02T05:01:38.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:01:38.706Z] [2021-06-02T05:01:38.706Z] Login Succeeded [2021-06-02T05:01:38.706Z] nexus3.edgexfoundry.org:10003 [2021-06-02T05:01:38.708Z] The recommended git tool is: git [2021-06-02T05:01:38.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:01:39.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:01:39.265Z] Configure a credential helper to remove this warning. See [2021-06-02T05:01:39.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:01:39.265Z] [2021-06-02T05:01:39.265Z] Login Succeeded [2021-06-02T05:01:39.265Z] nexus3.edgexfoundry.org:10004 [2021-06-02T05:01:39.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:01:39.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:01:39.880Z] Configure a credential helper to remove this warning. See [2021-06-02T05:01:39.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:01:39.880Z] [2021-06-02T05:01:39.880Z] Login Succeeded [2021-06-02T05:01:39.880Z] docker.io [2021-06-02T05:01:40.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:01:40.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:01:40.756Z] Configure a credential helper to remove this warning. See [2021-06-02T05:01:40.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:01:40.756Z] [2021-06-02T05:01:40.756Z] Login Succeeded [2021-06-02T05:01:40.756Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T05:01:40.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-02T05:01:41.011Z] using credential edgex-jenkins-ssh [2021-06-02T05:01:41.024Z] Cloning the remote Git repository [Pipeline] echo [2021-06-02T05:01:41.429Z] ========================================================= [2021-06-02T05:01:41.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T05:01:41.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:01:41.874Z] + 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-02T05:01:41.046Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:41.116Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-02T05:01:41.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:41.139Z] > git --version # timeout=10 [2021-06-02T05:01:41.147Z] > git --version # 'git version 2.24.4' [2021-06-02T05:01:41.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:41.170Z] [INFO] Currently running in a labeled security context [2021-06-02T05:01:41.170Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T05:01:41.171Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh542555359658339494.key [2021-06-02T05:01:41.181Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T05:01:42.157Z] Sending build context to Docker daemon 8.607MB [2021-06-02T05:01:42.437Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T05:01:42.437Z] Step 2/8 : FROM ${BASE} [2021-06-02T05:01:42.437Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T05:01:42.437Z] 595b0fe564bb: Pulling fs layer [2021-06-02T05:01:42.437Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T05:01:42.437Z] 316046926c0a: Pulling fs layer [2021-06-02T05:01:42.437Z] 4ebd0625c992: Pulling fs layer [2021-06-02T05:01:42.437Z] 207e8628e3a3: Pulling fs layer [2021-06-02T05:01:42.437Z] c791037a9be2: Pulling fs layer [2021-06-02T05:01:42.437Z] ffd874e62e21: Pulling fs layer [2021-06-02T05:01:42.437Z] 4ebd0625c992: Waiting [2021-06-02T05:01:42.437Z] 207e8628e3a3: Waiting [2021-06-02T05:01:42.437Z] c791037a9be2: Waiting [2021-06-02T05:01:42.437Z] ffd874e62e21: Waiting [2021-06-02T05:01:42.713Z] 316046926c0a: Download complete [2021-06-02T05:01:42.713Z] 7186ed65a4f7: Verifying Checksum [2021-06-02T05:01:42.713Z] 7186ed65a4f7: Download complete [2021-06-02T05:01:42.713Z] 207e8628e3a3: Verifying Checksum [2021-06-02T05:01:42.713Z] 595b0fe564bb: Verifying Checksum [2021-06-02T05:01:42.713Z] 595b0fe564bb: Download complete [2021-06-02T05:01:42.713Z] c791037a9be2: Verifying Checksum [2021-06-02T05:01:42.713Z] c791037a9be2: Download complete [2021-06-02T05:01:43.315Z] 595b0fe564bb: Pull complete [2021-06-02T05:01:43.935Z] 7186ed65a4f7: Pull complete [2021-06-02T05:01:44.330Z] Merging remotes/origin/master commit a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:01:44.421Z] Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:01:44.422Z] Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) [2021-06-02T05:01:43.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T05:01:43.801Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T05:01:43.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T05:01:43.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T05:01:43.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:43.829Z] [INFO] Currently running in a labeled security context [2021-06-02T05:01:43.829Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T05:01:43.829Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh8584130943332135759.key [2021-06-02T05:01:43.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T05:01:44.333Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T05:01:44.344Z] > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 [2021-06-02T05:01:44.369Z] > git remote # timeout=10 [2021-06-02T05:01:44.383Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T05:01:44.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T05:01:44.393Z] [INFO] Currently running in a labeled security context [2021-06-02T05:01:44.393Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T05:01:44.393Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh3561707745576824473.key [2021-06-02T05:01:44.397Z] > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 [2021-06-02T05:01:44.408Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T05:01:44.420Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T05:01:44.430Z] > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 [2021-06-02T05:01:44.538Z] 316046926c0a: Pull complete [2021-06-02T05:01:45.141Z] ffd874e62e21: Download complete [2021-06-02T05:01:46.580Z] 4ebd0625c992: Verifying Checksum [2021-06-02T05:01:46.580Z] 4ebd0625c992: Download complete [2021-06-02T05:01:47.973Z] Commit message: "fix: update separator for GET array value handler function" [2021-06-02T05:01:47.988Z] > git --version # timeout=10 [2021-06-02T05:01:47.995Z] > git --version # 'git version 2.24.4' [2021-06-02T05:01:48.004Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T05:01:49.284Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T05:01:49.635Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T05:01:49.952Z] + sudo service docker restart [2021-06-02T05:01:49.952Z] + true [2021-06-02T05:01:49.952Z] Redirecting to /bin/systemctl restart docker.service [2021-06-02T05:01:56.752Z] 4ebd0625c992: Pull complete [2021-06-02T05:01:57.026Z] 207e8628e3a3: Pull complete [2021-06-02T05:01:57.302Z] c791037a9be2: Pull complete [2021-06-02T05:02:01.624Z] ffd874e62e21: Pull complete [2021-06-02T05:02:01.624Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T05:02:01.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T05:02:01.624Z] ---> cfc18b08335c [2021-06-02T05:02:01.624Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-02T05:02:03.062Z] ---> Running in 2646f8f0e556 [2021-06-02T05:02:03.661Z] Removing intermediate container 2646f8f0e556 [2021-06-02T05:02:03.661Z] ---> 69a9341bf744 [2021-06-02T05:02:03.661Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:02:03.661Z] ---> Running in 714981214e6e [2021-06-02T05:02:06.294Z] Removing intermediate container 714981214e6e [2021-06-02T05:02:06.294Z] ---> 5b90dd7dab7a [2021-06-02T05:02:06.294Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T05:02:06.294Z] ---> Running in d1d3910b6850 [2021-06-02T05:02:07.269Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T05:02:08.209Z] provisioning config files... [2021-06-02T05:02:08.232Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7870399330275155852tmp [2021-06-02T05:02:08.244Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:02:08.699Z] ---> docker-login.sh [2021-06-02T05:02:08.699Z] nexus3.edgexfoundry.org:10001 [2021-06-02T05:02:09.214Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-02T05:02:09.214Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-02T05:02:09.214Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-02T05:02:09.214Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-02T05:02:09.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:02:09.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:02:09.281Z] Configure a credential helper to remove this warning. See [2021-06-02T05:02:09.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:02:09.281Z] [2021-06-02T05:02:09.281Z] Login Succeeded [2021-06-02T05:02:09.281Z] nexus3.edgexfoundry.org:10002 [2021-06-02T05:02:09.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:02:09.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:02:09.281Z] Configure a credential helper to remove this warning. See [2021-06-02T05:02:09.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:02:09.281Z] [2021-06-02T05:02:09.281Z] Login Succeeded [2021-06-02T05:02:09.281Z] nexus3.edgexfoundry.org:10003 [2021-06-02T05:02:09.484Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T05:02:09.484Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-02T05:02:09.484Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-02T05:02:09.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:02:09.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:02:09.545Z] Configure a credential helper to remove this warning. See [2021-06-02T05:02:09.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:02:09.545Z] [2021-06-02T05:02:09.545Z] Login Succeeded [2021-06-02T05:02:09.545Z] nexus3.edgexfoundry.org:10004 [2021-06-02T05:02:09.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:02:09.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:02:09.545Z] Configure a credential helper to remove this warning. See [2021-06-02T05:02:09.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:02:09.545Z] [2021-06-02T05:02:09.545Z] Login Succeeded [2021-06-02T05:02:09.545Z] docker.io [2021-06-02T05:02:09.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T05:02:10.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T05:02:10.067Z] Configure a credential helper to remove this warning. See [2021-06-02T05:02:10.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T05:02:10.067Z] [2021-06-02T05:02:10.067Z] Login Succeeded [2021-06-02T05:02:10.067Z] ---> docker-login.sh ends [2021-06-02T05:02:10.075Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-02T05:02:10.075Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-02T05:02:10.075Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-02T05:02:10.075Z] (11/13) Installing openssh (8.4_p1-r3) [Pipeline] } [2021-06-02T05:02:10.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-02T05:02:10.346Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-02T05:02:10.346Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-02T05:02:10.346Z] Executing busybox-1.32.1-r6.trigger [Pipeline] echo [2021-06-02T05:02:10.405Z] ========================================================= [2021-06-02T05:02:10.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T05:02:10.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:02:10.620Z] OK: 145 MiB in 53 packages [2021-06-02T05:02:10.764Z] + 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-02T05:02:10.765Z] Sending build context to Docker daemon 8.608MB [2021-06-02T05:02:10.765Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T05:02:10.765Z] Step 2/8 : FROM ${BASE} [2021-06-02T05:02:11.026Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T05:02:11.026Z] 540db60ca938: Pulling fs layer [2021-06-02T05:02:11.026Z] adcc1eea9eea: Pulling fs layer [2021-06-02T05:02:11.026Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T05:02:11.026Z] 0510c868ecb4: Pulling fs layer [2021-06-02T05:02:11.026Z] afea3b2eda06: Pulling fs layer [2021-06-02T05:02:11.026Z] 7809a108b3ef: Pulling fs layer [2021-06-02T05:02:11.026Z] f706445af74f: Pulling fs layer [2021-06-02T05:02:11.026Z] 0510c868ecb4: Waiting [2021-06-02T05:02:11.026Z] afea3b2eda06: Waiting [2021-06-02T05:02:11.026Z] 7809a108b3ef: Waiting [2021-06-02T05:02:11.026Z] f706445af74f: Waiting [2021-06-02T05:02:11.026Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T05:02:11.026Z] 4c4ab2625f07: Download complete [2021-06-02T05:02:11.026Z] adcc1eea9eea: Verifying Checksum [2021-06-02T05:02:11.026Z] adcc1eea9eea: Download complete [2021-06-02T05:02:11.026Z] afea3b2eda06: Verifying Checksum [2021-06-02T05:02:11.026Z] afea3b2eda06: Download complete [2021-06-02T05:02:11.026Z] 540db60ca938: Verifying Checksum [2021-06-02T05:02:11.026Z] 540db60ca938: Download complete [2021-06-02T05:02:11.026Z] 7809a108b3ef: Verifying Checksum [2021-06-02T05:02:11.026Z] 7809a108b3ef: Download complete [2021-06-02T05:02:11.289Z] 540db60ca938: Pull complete [2021-06-02T05:02:11.289Z] adcc1eea9eea: Pull complete [2021-06-02T05:02:11.556Z] 4c4ab2625f07: Pull complete [2021-06-02T05:02:12.056Z] Removing intermediate container d1d3910b6850 [2021-06-02T05:02:12.056Z] ---> b5b41ca0de24 [2021-06-02T05:02:12.056Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-02T05:02:12.056Z] ---> Running in 96741a741c85 [2021-06-02T05:02:12.498Z] f706445af74f: Verifying Checksum [2021-06-02T05:02:12.498Z] f706445af74f: Download complete [2021-06-02T05:02:12.648Z] Removing intermediate container 96741a741c85 [2021-06-02T05:02:12.648Z] ---> b625543b7644 [2021-06-02T05:02:12.648Z] Step 7/8 : COPY . . [2021-06-02T05:02:13.079Z] 0510c868ecb4: Verifying Checksum [2021-06-02T05:02:13.079Z] 0510c868ecb4: Download complete [2021-06-02T05:02:13.634Z] ---> 56f0fffb8796 [2021-06-02T05:02:13.634Z] Step 8/8 : RUN go mod download [2021-06-02T05:02:13.916Z] ---> Running in bd90e3e603be [2021-06-02T05:02:16.401Z] 0510c868ecb4: Pull complete [2021-06-02T05:02:16.401Z] afea3b2eda06: Pull complete [2021-06-02T05:02:16.401Z] 7809a108b3ef: Pull complete [2021-06-02T05:02:17.816Z] f706445af74f: Pull complete [2021-06-02T05:02:17.816Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T05:02:17.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T05:02:17.816Z] ---> b068be0155e3 [2021-06-02T05:02:17.816Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-02T05:02:23.112Z] ---> Running in 1e12bf823ec8 [2021-06-02T05:02:23.112Z] Removing intermediate container 1e12bf823ec8 [2021-06-02T05:02:23.112Z] ---> a394b895633f [2021-06-02T05:02:23.112Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:02:23.112Z] ---> Running in c6ffa6cc4ef8 [2021-06-02T05:02:23.112Z] Removing intermediate container c6ffa6cc4ef8 [2021-06-02T05:02:23.112Z] ---> 84dc38e5e7cd [2021-06-02T05:02:23.112Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T05:02:23.112Z] ---> Running in b84169d23c98 [2021-06-02T05:02:23.374Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T05:02:24.320Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T05:02:24.580Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-02T05:02:24.840Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-02T05:02:24.840Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-02T05:02:24.840Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-02T05:02:25.100Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T05:02:25.100Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-02T05:02:25.360Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-02T05:02:25.620Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-02T05:02:25.620Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-02T05:02:25.881Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-02T05:02:26.827Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-02T05:02:27.087Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-02T05:02:27.348Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-02T05:02:27.348Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T05:02:27.348Z] OK: 156 MiB in 53 packages [2021-06-02T05:02:27.943Z] Removing intermediate container b84169d23c98 [2021-06-02T05:02:27.943Z] ---> 46a8660b989e [2021-06-02T05:02:27.943Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-02T05:02:27.943Z] ---> Running in 3e9ce874fb56 [2021-06-02T05:02:27.943Z] Removing intermediate container 3e9ce874fb56 [2021-06-02T05:02:27.943Z] ---> 2b08cbf1c2a6 [2021-06-02T05:02:27.943Z] Step 7/8 : COPY . . [2021-06-02T05:02:28.206Z] ---> 975935cf9cee [2021-06-02T05:02:28.206Z] Step 8/8 : RUN go mod download [2021-06-02T05:02:28.206Z] ---> Running in f65f656f63c5 [2021-06-02T05:02:43.135Z] Removing intermediate container f65f656f63c5 [2021-06-02T05:02:43.135Z] ---> 023f7b465527 [2021-06-02T05:02:43.135Z] Successfully built 023f7b465527 [2021-06-02T05:02:43.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:02:43.495Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T05:02:43.495Z] . [Pipeline] withDockerContainer [2021-06-02T05:02:43.602Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-06-02T05:02:43.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-02T05:02:44.041Z] $ docker top 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T05:02:44.492Z] + go version [2021-06-02T05:02:44.492Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T05:02:44.595Z] $ docker stop --time=1 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 [2021-06-02T05:02:45.780Z] $ docker rm -f 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2021-06-02T05:02:46.258Z] Removing intermediate container bd90e3e603be [2021-06-02T05:02:46.258Z] ---> 73bf572a3e05 [2021-06-02T05:02:46.258Z] Successfully built 73bf572a3e05 [2021-06-02T05:02:46.258Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:02:46.674Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T05:02:46.674Z] . [Pipeline] withDockerContainer [2021-06-02T05:02:46.768Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T05:02:46.768Z] . [2021-06-02T05:02:46.784Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-06-02T05:02:46.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-02T05:02:47.184Z] $ docker top 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-02T05:02:47.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-06-02T05:02:47.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T05:02:49.304Z] $ docker top 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-02T05:02:49.963Z] + go mod tidy [Pipeline] sh [2021-06-02T05:02:50.365Z] + go version [2021-06-02T05:02:50.366Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T05:02:50.405Z] $ docker stop --time=1 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c [2021-06-02T05:02:50.546Z] + make test [2021-06-02T05:02:50.546Z] go mod tidy [2021-06-02T05:02:50.812Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-02T05:02:51.075Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-02T05:02:52.274Z] $ docker rm -f 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:02:53.383Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T05:02:53.383Z] . [Pipeline] withDockerContainer [2021-06-02T05:02:53.670Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-06-02T05:02:53.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-02T05:02:55.416Z] $ docker top fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T05:02:56.432Z] + go mod tidy [Pipeline] sh [2021-06-02T05:02:57.721Z] + make test [2021-06-02T05:02:57.721Z] go mod tidy [2021-06-02T05:02:58.323Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-02T05:02:59.774Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-02T05:03:09.289Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-02T05:03:09.554Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.253s coverage: 63.8% of statements [2021-06-02T05:03:09.554Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T05:03:17.761Z] gofmt -l . [2021-06-02T05:03:17.761Z] [ "`gofmt -l .`" = "" ] [2021-06-02T05:03:17.761Z] ./bin/test-attribution-txt.sh [2021-06-02T05:03:17.761Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T05:03:17.804Z] $ docker stop --time=1 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab [2021-06-02T05:03:19.523Z] $ docker rm -f 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T05:03:20.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T05:03:20.245Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-02T05:03:23.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T05:03:23.373Z] + ls -al . [2021-06-02T05:03:23.373Z] total 132 [2021-06-02T05:03:23.373Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 2 05:03 . [2021-06-02T05:03:23.373Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 2 05:01 .. [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 2 05:01 Attribution.txt [2021-06-02T05:03:23.373Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 05:01 bin [2021-06-02T05:03:23.373Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 2 05:01 cmd [2021-06-02T05:03:23.373Z] -rw-r--r--. 1 jenkins jenkins 47247 Jun 2 05:03 coverage.out [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 2 05:01 Dockerfile [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 2 05:01 Dockerfile.build [2021-06-02T05:03:23.373Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 2 05:01 .git [2021-06-02T05:03:23.373Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 05:01 .github [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 2 05:01 .gitignore [2021-06-02T05:03:23.373Z] -rw-r--r--. 1 jenkins jenkins 809 Jun 2 05:03 go.mod [2021-06-02T05:03:23.373Z] -rw-r--r--. 1 jenkins jenkins 23431 Jun 2 05:02 go.sum [2021-06-02T05:03:23.373Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 2 05:01 internal [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 2 05:01 Jenkinsfile [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 2 05:01 LICENSE [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 2 05:01 Makefile [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 2 05:01 README.md [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 2 04:58 VERSION [2021-06-02T05:03:23.373Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 2 05:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:03:23.712Z] + 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=f5ae1f548a223fa00a609c07100793691232eedb --label arch=amd64 --label version=0.0.0 . [2021-06-02T05:03:23.712Z] Sending build context to Docker daemon 8.68MB [2021-06-02T05:03:23.712Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T05:03:23.712Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-02T05:03:23.712Z] ---> 023f7b465527 [2021-06-02T05:03:23.712Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T05:03:23.712Z] ---> Running in 9fb229b4a17b [2021-06-02T05:03:23.974Z] Removing intermediate container 9fb229b4a17b [2021-06-02T05:03:23.974Z] ---> 6729562b2e0d [2021-06-02T05:03:23.974Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T05:03:23.974Z] ---> Running in 5602d8c418a8 [2021-06-02T05:03:23.974Z] Removing intermediate container 5602d8c418a8 [2021-06-02T05:03:23.974Z] ---> aa8b9309244e [2021-06-02T05:03:23.974Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-02T05:03:23.974Z] ---> Running in 1d8ed2593971 [2021-06-02T05:03:24.239Z] Removing intermediate container 1d8ed2593971 [2021-06-02T05:03:24.239Z] ---> 576e867de2cc [2021-06-02T05:03:24.239Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:03:24.239Z] ---> Running in c020ce75fbad [2021-06-02T05:03:24.502Z] Removing intermediate container c020ce75fbad [2021-06-02T05:03:24.502Z] ---> cb4496a7666f [2021-06-02T05:03:24.502Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T05:03:24.502Z] ---> Running in 327926d97c19 [2021-06-02T05:03:24.763Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T05:03:25.707Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T05:03:26.282Z] OK: 156 MiB in 53 packages [2021-06-02T05:03:26.282Z] Removing intermediate container 327926d97c19 [2021-06-02T05:03:26.282Z] ---> f9be12d62a31 [2021-06-02T05:03:26.282Z] Step 8/26 : COPY . . [2021-06-02T05:03:26.861Z] ---> 4849af158843 [2021-06-02T05:03:26.861Z] Step 9/26 : RUN go mod tidy [2021-06-02T05:03:26.861Z] ---> Running in c386a79a8909 [2021-06-02T05:03:27.440Z] Removing intermediate container c386a79a8909 [2021-06-02T05:03:27.440Z] ---> ed382928225c [2021-06-02T05:03:27.440Z] Step 10/26 : RUN go mod download [2021-06-02T05:03:27.440Z] ---> Running in acfdffda4886 [2021-06-02T05:03:28.016Z] Removing intermediate container acfdffda4886 [2021-06-02T05:03:28.016Z] ---> fa11d85c40af [2021-06-02T05:03:28.016Z] Step 11/26 : ARG MAKE='make build' [2021-06-02T05:03:28.016Z] ---> Running in 43fa2a081812 [2021-06-02T05:03:28.016Z] Removing intermediate container 43fa2a081812 [2021-06-02T05:03:28.016Z] ---> e2254ce2b170 [2021-06-02T05:03:28.016Z] Step 12/26 : RUN $MAKE [2021-06-02T05:03:28.016Z] ---> Running in 0c47c58b8780 [2021-06-02T05:03:28.278Z] go mod tidy [2021-06-02T05:03:28.541Z] 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-02T05:03:46.802Z] Removing intermediate container 0c47c58b8780 [2021-06-02T05:03:46.802Z] ---> af3d9581ada6 [2021-06-02T05:03:46.802Z] Step 13/26 : FROM alpine:3.12 [2021-06-02T05:03:46.802Z] 3.12: Pulling from library/alpine [2021-06-02T05:03:46.802Z] 339de151aab4: Pulling fs layer [2021-06-02T05:03:46.802Z] 339de151aab4: Verifying Checksum [2021-06-02T05:03:46.802Z] 339de151aab4: Download complete [2021-06-02T05:03:46.802Z] 339de151aab4: Pull complete [2021-06-02T05:03:46.802Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T05:03:46.802Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T05:03:46.802Z] ---> 13621d1b12d4 [2021-06-02T05:03:46.802Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-02T05:03:46.802Z] ---> Running in 94c3fd67d20d [2021-06-02T05:03:46.802Z] Removing intermediate container 94c3fd67d20d [2021-06-02T05:03:46.802Z] ---> ac1a9c34154f [2021-06-02T05:03:46.802Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:03:46.802Z] ---> Running in 4359574f8ba1 [2021-06-02T05:03:46.802Z] Removing intermediate container 4359574f8ba1 [2021-06-02T05:03:46.802Z] ---> c1dbf88bef06 [2021-06-02T05:03:46.802Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T05:03:46.802Z] ---> Running in 66fa1b81ce6c [2021-06-02T05:03:46.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-02T05:03:46.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-02T05:03:46.802Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T05:03:46.802Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T05:03:47.065Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T05:03:47.065Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T05:03:48.010Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T05:03:48.010Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T05:03:48.010Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T05:03:48.279Z] OK: 8 MiB in 20 packages [2021-06-02T05:03:48.543Z] Removing intermediate container 66fa1b81ce6c [2021-06-02T05:03:48.543Z] ---> 8bd8775cb1a0 [2021-06-02T05:03:48.543Z] Step 17/26 : WORKDIR / [2021-06-02T05:03:48.543Z] ---> Running in ce17985e0957 [2021-06-02T05:03:48.543Z] Removing intermediate container ce17985e0957 [2021-06-02T05:03:48.543Z] ---> 09ef7424e4b7 [2021-06-02T05:03:48.543Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-02T05:03:48.804Z] ---> bea70381c8ca [2021-06-02T05:03:48.805Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-02T05:03:48.805Z] ---> 762fb99502e7 [2021-06-02T05:03:48.805Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-02T05:03:49.749Z] ---> 14479e9ec9ed [2021-06-02T05:03:49.749Z] Step 21/26 : EXPOSE 59900 [2021-06-02T05:03:49.749Z] ---> Running in a59f3fbc4f97 [2021-06-02T05:03:49.749Z] Removing intermediate container a59f3fbc4f97 [2021-06-02T05:03:49.749Z] ---> 668fedfc2e36 [2021-06-02T05:03:49.749Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-02T05:03:49.749Z] ---> Running in 34bd68220b88 [2021-06-02T05:03:49.749Z] Removing intermediate container 34bd68220b88 [2021-06-02T05:03:49.749Z] ---> 7c25f1e8e466 [2021-06-02T05:03:49.749Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T05:03:49.749Z] ---> Running in 11fa438665a3 [2021-06-02T05:03:50.009Z] Removing intermediate container 11fa438665a3 [2021-06-02T05:03:50.009Z] ---> 0bc6b9cd39cb [2021-06-02T05:03:50.009Z] Step 24/26 : LABEL arch=amd64 [2021-06-02T05:03:50.009Z] ---> Running in 6d6ae1e15be1 [2021-06-02T05:03:50.009Z] Removing intermediate container 6d6ae1e15be1 [2021-06-02T05:03:50.009Z] ---> e805ee8080be [2021-06-02T05:03:50.009Z] Step 25/26 : LABEL git_sha=f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:03:50.009Z] ---> Running in a6ce4081193e [2021-06-02T05:03:50.269Z] Removing intermediate container a6ce4081193e [2021-06-02T05:03:50.269Z] ---> 5e41c0c2aefd [2021-06-02T05:03:50.269Z] Step 26/26 : LABEL version=0.0.0 [2021-06-02T05:03:50.269Z] ---> Running in 5193a67b753b [2021-06-02T05:03:50.269Z] Removing intermediate container 5193a67b753b [2021-06-02T05:03:50.269Z] ---> fe9aa4653422 [2021-06-02T05:03:50.269Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T05:03:50.269Z] Successfully built fe9aa4653422 [2021-06-02T05:03:50.269Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:03:51.405Z] ---> job-cost.sh [2021-06-02T05:03:51.405Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X2Ke [2021-06-02T05:04:01.431Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T05:04:07.863Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-02T05:04:07.863Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.758s coverage: 63.8% of statements [2021-06-02T05:04:07.863Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T05:04:13.746Z] lf-activate-venv(): INFO: Adding /tmp/venv-X2Ke/bin to PATH [2021-06-02T05:04:13.746Z] INFO: No Stack... [2021-06-02T05:04:13.746Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T05:04:14.009Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T05:04:14.329Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-02T05:04:14.329Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T05:04:14.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [2021-06-02T05:04:14.395Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] did not exist. Created. [2021-06-02T05:04:14.395Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T05:04:14.806Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T05:04:14.901Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T05:04:14.924Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T05:04:34.762Z] gofmt -l . [2021-06-02T05:04:34.762Z] [ "`gofmt -l .`" = "" ] [2021-06-02T05:04:34.762Z] ./bin/test-attribution-txt.sh [2021-06-02T05:04:34.762Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T05:04:34.805Z] $ docker stop --time=1 fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb [2021-06-02T05:04:36.788Z] $ docker rm -f fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T05:04:37.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T05:04:37.795Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T05:04:38.385Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T05:04:39.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T05:04:39.548Z] + ls -al . [2021-06-02T05:04:39.548Z] total 156 [2021-06-02T05:04:39.548Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 05:04 . [2021-06-02T05:04:39.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 05:01 .. [2021-06-02T05:04:39.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 05:01 .git [2021-06-02T05:04:39.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:01 .github [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 2 05:01 .gitignore [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 2 05:01 Attribution.txt [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 2 05:01 Dockerfile [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 2 05:01 Dockerfile.build [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 05:01 Jenkinsfile [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 05:01 LICENSE [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 2 05:01 Makefile [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 2 05:01 README.md [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 04:58 VERSION [2021-06-02T05:04:39.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:01 bin [2021-06-02T05:04:39.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:01 cmd [2021-06-02T05:04:39.548Z] -rw-r--r-- 1 jenkins jenkins 47247 Jun 2 05:04 coverage.out [2021-06-02T05:04:39.548Z] -rw-r--r-- 1 jenkins jenkins 809 Jun 2 05:04 go.mod [2021-06-02T05:04:39.548Z] -rw-r--r-- 1 jenkins jenkins 23431 Jun 2 05:02 go.sum [2021-06-02T05:04:39.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:01 internal [2021-06-02T05:04:39.548Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 05:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:04:39.935Z] + 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=f5ae1f548a223fa00a609c07100793691232eedb --label arch=arm64 --label version=0.0.0 . [2021-06-02T05:04:40.577Z] Sending build context to Docker daemon 8.679MB [2021-06-02T05:04:40.577Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T05:04:40.577Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-02T05:04:40.577Z] ---> 73bf572a3e05 [2021-06-02T05:04:40.577Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T05:04:40.855Z] ---> Running in 21916fbc961f [2021-06-02T05:04:41.459Z] Removing intermediate container 21916fbc961f [2021-06-02T05:04:41.459Z] ---> 5b7584646850 [2021-06-02T05:04:41.459Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T05:04:41.459Z] ---> Running in 606f2f098091 [2021-06-02T05:04:42.055Z] Removing intermediate container 606f2f098091 [2021-06-02T05:04:42.055Z] ---> 0dd375158253 [2021-06-02T05:04:42.055Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-02T05:04:42.055Z] ---> Running in 44f2ac31e133 [2021-06-02T05:04:42.650Z] Removing intermediate container 44f2ac31e133 [2021-06-02T05:04:42.650Z] ---> 8fe6bccb651d [2021-06-02T05:04:42.650Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:04:42.925Z] ---> Running in 7b43220a56a2 [2021-06-02T05:04:44.904Z] Removing intermediate container 7b43220a56a2 [2021-06-02T05:04:44.904Z] ---> 7c4d6cfee9cf [2021-06-02T05:04:44.904Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T05:04:44.904Z] ---> Running in 2b3ee29942ae [2021-06-02T05:04:46.349Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T05:04:47.320Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T05:04:47.910Z] OK: 145 MiB in 53 packages [2021-06-02T05:04:48.903Z] Removing intermediate container 2b3ee29942ae [2021-06-02T05:04:48.903Z] ---> 662b936da5d4 [2021-06-02T05:04:48.903Z] Step 8/26 : COPY . . [2021-06-02T05:04:50.322Z] ---> 2f27d68f6972 [2021-06-02T05:04:50.322Z] Step 9/26 : RUN go mod tidy [2021-06-02T05:04:50.322Z] ---> Running in 20f10e91b13f [2021-06-02T05:04:52.933Z] Removing intermediate container 20f10e91b13f [2021-06-02T05:04:52.933Z] ---> 4e3cce5eec3b [2021-06-02T05:04:52.933Z] Step 10/26 : RUN go mod download [2021-06-02T05:04:53.210Z] ---> Running in 75a06bff531a [2021-06-02T05:04:55.827Z] Removing intermediate container 75a06bff531a [2021-06-02T05:04:55.827Z] ---> c98dd862b3a6 [2021-06-02T05:04:55.827Z] Step 11/26 : ARG MAKE='make build' [2021-06-02T05:04:55.827Z] ---> Running in b5514294c85c [2021-06-02T05:04:56.104Z] Removing intermediate container b5514294c85c [2021-06-02T05:04:56.104Z] ---> 88cfd6e2db25 [2021-06-02T05:04:56.104Z] Step 12/26 : RUN $MAKE [2021-06-02T05:04:56.104Z] ---> Running in 13d871095160 [2021-06-02T05:04:57.541Z] go mod tidy [2021-06-02T05:04:58.146Z] 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-02T05:05:54.799Z] Removing intermediate container 13d871095160 [2021-06-02T05:05:54.799Z] ---> 366cdf989886 [2021-06-02T05:05:54.799Z] Step 13/26 : FROM alpine:3.12 [2021-06-02T05:05:54.799Z] 3.12: Pulling from library/alpine [2021-06-02T05:05:54.799Z] d2f70382dc9a: Pulling fs layer [2021-06-02T05:05:54.799Z] d2f70382dc9a: Verifying Checksum [2021-06-02T05:05:54.799Z] d2f70382dc9a: Download complete [2021-06-02T05:05:54.799Z] d2f70382dc9a: Pull complete [2021-06-02T05:05:54.799Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T05:05:54.799Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T05:05:54.799Z] ---> 9852663dfa18 [2021-06-02T05:05:54.799Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-02T05:05:54.799Z] ---> Running in 7b84facfab14 [2021-06-02T05:05:54.799Z] Removing intermediate container 7b84facfab14 [2021-06-02T05:05:54.799Z] ---> 81b2e3791f3b [2021-06-02T05:05:54.799Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T05:05:54.799Z] ---> Running in 090a57efb456 [2021-06-02T05:05:54.799Z] Removing intermediate container 090a57efb456 [2021-06-02T05:05:54.799Z] ---> a6593283acce [2021-06-02T05:05:54.799Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T05:05:54.799Z] ---> Running in 22db980f857c [2021-06-02T05:05:54.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-02T05:05:54.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-02T05:05:54.799Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T05:05:54.799Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T05:05:54.799Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T05:05:54.799Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T05:05:54.799Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T05:05:54.799Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T05:05:54.799Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T05:05:54.799Z] OK: 8 MiB in 20 packages [2021-06-02T05:05:55.776Z] Removing intermediate container 22db980f857c [2021-06-02T05:05:55.777Z] ---> 70cab9f90baa [2021-06-02T05:05:55.777Z] Step 17/26 : WORKDIR / [2021-06-02T05:05:56.049Z] ---> Running in 035cddafed39 [2021-06-02T05:05:56.645Z] Removing intermediate container 035cddafed39 [2021-06-02T05:05:56.645Z] ---> 4d493c4a1be3 [2021-06-02T05:05:56.645Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-02T05:05:57.241Z] ---> c0bea82755a3 [2021-06-02T05:05:57.241Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-02T05:05:57.842Z] ---> 2a4aebbfba2f [2021-06-02T05:05:57.842Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-02T05:05:59.275Z] ---> 769c8232faaf [2021-06-02T05:05:59.275Z] Step 21/26 : EXPOSE 59900 [2021-06-02T05:05:59.550Z] ---> Running in 12f5222e97bc [2021-06-02T05:05:59.824Z] Removing intermediate container 12f5222e97bc [2021-06-02T05:05:59.824Z] ---> 13e82d421149 [2021-06-02T05:05:59.824Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-02T05:06:00.099Z] ---> Running in d7e0e5d8aad9 [2021-06-02T05:06:00.373Z] Removing intermediate container d7e0e5d8aad9 [2021-06-02T05:06:00.373Z] ---> bf31da7b32e1 [2021-06-02T05:06:00.373Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T05:06:00.648Z] ---> Running in 65d98dc0826b [2021-06-02T05:06:01.243Z] Removing intermediate container 65d98dc0826b [2021-06-02T05:06:01.243Z] ---> 353745502957 [2021-06-02T05:06:01.243Z] Step 24/26 : LABEL arch=arm64 [2021-06-02T05:06:01.243Z] ---> Running in 558a8f70d32c [2021-06-02T05:06:01.842Z] Removing intermediate container 558a8f70d32c [2021-06-02T05:06:01.842Z] ---> 3eba64584592 [2021-06-02T05:06:01.842Z] Step 25/26 : LABEL git_sha=f5ae1f548a223fa00a609c07100793691232eedb [2021-06-02T05:06:01.842Z] ---> Running in 8447e8b3f14c [2021-06-02T05:06:02.437Z] Removing intermediate container 8447e8b3f14c [2021-06-02T05:06:02.437Z] ---> 0a5da5bfa27b [2021-06-02T05:06:02.437Z] Step 26/26 : LABEL version=0.0.0 [2021-06-02T05:06:02.437Z] ---> Running in 0d00562de363 [2021-06-02T05:06:03.029Z] Removing intermediate container 0d00562de363 [2021-06-02T05:06:03.029Z] ---> 05b186029b25 [2021-06-02T05:06:03.029Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T05:06:03.029Z] Successfully built 05b186029b25 [2021-06-02T05:06:03.029Z] 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-02T05:06:03.907Z] ---> job-cost.sh [2021-06-02T05:06:03.908Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-19ZM [2021-06-02T05:06:42.844Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T05:08:04.579Z] lf-activate-venv(): INFO: Adding /tmp/venv-19ZM/bin to PATH [2021-06-02T05:08:04.579Z] INFO: No Stack... [2021-06-02T05:08:05.169Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T05:08:05.766Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T05:08:06.125Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-02T05:08:06.125Z] cut -d, -f6 [Pipeline] lock [2021-06-02T05:08:06.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [2021-06-02T05:08:06.229Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] did not exist. Created. [2021-06-02T05:08:06.229Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T05:08:06.680Z] /w/workspace/device-virtual-go/1@tmp/durable-923f6bc4/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-923f6bc4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T05:08:07.043Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T05:08:07.084Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T05:08:07.288Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T05:08:07.321Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-02T05:08:08.610Z] provisioning config files... [2021-06-02T05:08:08.624Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config1405607571181183512tmp [Pipeline] { [Pipeline] sh [2021-06-02T05:08:08.982Z] + set +x [2021-06-02T05:08:08.982Z] + curl -s https://codecov.io/bash [2021-06-02T05:08:08.982Z] + bash -s -- [2021-06-02T05:08:08.982Z] [2021-06-02T05:08:08.982Z] _____ _ [2021-06-02T05:08:08.982Z] / ____| | | [2021-06-02T05:08:08.982Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T05:08:08.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T05:08:08.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T05:08:08.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T05:08:08.982Z] Bash-1.0.3 [2021-06-02T05:08:08.982Z] [2021-06-02T05:08:08.982Z] [2021-06-02T05:08:08.982Z] ==> git version 2.24.4 found [2021-06-02T05:08:08.982Z] ==> 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-02T05:08:08.982Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-02T05:08:08.982Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T05:08:08.982Z] ==> Jenkins CI detected. [2021-06-02T05:08:08.982Z] project root: . [2021-06-02T05:08:08.982Z] --> token set from env [2021-06-02T05:08:08.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T05:08:09.249Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T05:08:09.249Z] ==> Python coveragepy not found [2021-06-02T05:08:09.249Z] ==> Searching for coverage reports in: [2021-06-02T05:08:09.249Z] + . [2021-06-02T05:08:09.249Z] -> Found 1 reports [2021-06-02T05:08:09.249Z] ==> Detecting git/mercurial file structure [2021-06-02T05:08:09.249Z] ==> Reading reports [2021-06-02T05:08:09.249Z] + ./coverage.out bytes=47247 [2021-06-02T05:08:09.249Z] ==> Appending adjustments [2021-06-02T05:08:09.249Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T05:08:09.249Z] + Found adjustments [2021-06-02T05:08:09.249Z] ==> Gzipping contents [2021-06-02T05:08:09.249Z] 8.0K /tmp/codecov.9EmBuj.gz [2021-06-02T05:08:09.249Z] ==> Uploading reports [2021-06-02T05:08:09.249Z] url: https://codecov.io [2021-06-02T05:08:09.249Z] query: branch=PR-219&commit=f5ae1f548a223fa00a609c07100793691232eedb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=219&job=&cmd_args= [2021-06-02T05:08:09.249Z] -> Pinging Codecov [2021-06-02T05:08:09.249Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-219&commit=f5ae1f548a223fa00a609c07100793691232eedb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=219&job=&cmd_args= [2021-06-02T05:08:09.822Z] -> Uploading to [2021-06-02T05:08:09.822Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/5E52B4B073DB2E39498172D8E973AA87/f5ae1f548a223fa00a609c07100793691232eedb/610a1215-3ec9-4ac6-b840-fe9ae9cb8dd9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T050809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4734dbfc77ad2f390a03ae0b8ce922d12b540ffcfa77fcd687da97a3cb2ba6ca [2021-06-02T05:08:09.822Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T05:08:09.822Z] Dload Upload Total Spent Left Speed [2021-06-02T05:08:10.083Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5788 0 0 100 5788 0 17261 --:--:-- --:--:-- --:--:-- 17277 [2021-06-02T05:08:10.083Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] } [2021-06-02T05:08:10.108Z] 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-02T05:08:12.826Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:13.428Z] ---> package-listing.sh [2021-06-02T05:08:13.429Z] ++ facter osfamily [2021-06-02T05:08:13.429Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T05:08:13.690Z] + OS_FAMILY=redhat [2021-06-02T05:08:13.690Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-219 [2021-06-02T05:08:13.690Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T05:08:13.690Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T05:08:13.690Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T05:08:13.690Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T05:08:13.690Z] + '[' /w/workspace/foundry_device-virtual-go_PR-219 ']' [2021-06-02T05:08:13.690Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T05:08:13.690Z] + case "${OS_FAMILY}" in [2021-06-02T05:08:13.690Z] + rpm -qa [2021-06-02T05:08:13.690Z] + sort [2021-06-02T05:08:14.262Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T05:08:14.262Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T05:08:14.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T05:08:14.262Z] + '[' /w/workspace/foundry_device-virtual-go_PR-219 ']' [2021-06-02T05:08:14.262Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-219/archives/ [2021-06-02T05:08:14.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-219/archives/ [Pipeline] echo [2021-06-02T05:08:14.295Z] 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T05:08:14.600Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:08:15.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T05:08:15.202Z] [2021-06-02T05:08:15.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T05:08:15.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T05:08:15.593Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T05:08:15.593Z] df20fa9351a1: Pulling fs layer [2021-06-02T05:08:15.593Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T05:08:15.593Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T05:08:15.593Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T05:08:15.593Z] 93b61091891f: Pulling fs layer [2021-06-02T05:08:15.593Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T05:08:15.593Z] 5e14af77c1be: Pulling fs layer [2021-06-02T05:08:15.593Z] 01666e4c0597: Pulling fs layer [2021-06-02T05:08:15.593Z] aa168da1d23b: Pulling fs layer [2021-06-02T05:08:15.593Z] 93b61091891f: Waiting [2021-06-02T05:08:15.593Z] 93b9cdb0e59b: Waiting [2021-06-02T05:08:15.593Z] 5e14af77c1be: Waiting [2021-06-02T05:08:15.593Z] 01666e4c0597: Waiting [2021-06-02T05:08:15.593Z] aa168da1d23b: Waiting [2021-06-02T05:08:15.593Z] 46f8f816bc3b: Waiting [2021-06-02T05:08:15.593Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T05:08:15.593Z] 36b3adc4ff6f: Download complete [2021-06-02T05:08:15.593Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T05:08:15.593Z] 46f8f816bc3b: Download complete [2021-06-02T05:08:15.854Z] 93b61091891f: Download complete [2021-06-02T05:08:15.854Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T05:08:15.854Z] 93b9cdb0e59b: Download complete [2021-06-02T05:08:15.854Z] 5e14af77c1be: Verifying Checksum [2021-06-02T05:08:15.854Z] 5e14af77c1be: Download complete [2021-06-02T05:08:15.854Z] 01666e4c0597: Verifying Checksum [2021-06-02T05:08:15.854Z] 01666e4c0597: Download complete [2021-06-02T05:08:16.431Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T05:08:16.431Z] 8ad3a11d3b57: Download complete [2021-06-02T05:08:16.431Z] df20fa9351a1: Verifying Checksum [2021-06-02T05:08:16.431Z] df20fa9351a1: Download complete [2021-06-02T05:08:16.694Z] df20fa9351a1: Pull complete [2021-06-02T05:08:16.964Z] 36b3adc4ff6f: Pull complete [2021-06-02T05:08:17.548Z] 8ad3a11d3b57: Pull complete [2021-06-02T05:08:17.548Z] 46f8f816bc3b: Pull complete [2021-06-02T05:08:17.813Z] 93b61091891f: Pull complete [2021-06-02T05:08:18.083Z] 93b9cdb0e59b: Pull complete [2021-06-02T05:08:18.083Z] 5e14af77c1be: Pull complete [2021-06-02T05:08:18.410Z] 01666e4c0597: Pull complete [2021-06-02T05:08:21.718Z] aa168da1d23b: Download complete [2021-06-02T05:08:25.970Z] aa168da1d23b: Pull complete [2021-06-02T05:08:25.970Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T05:08:25.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T05:08:25.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T05:08:26.074Z] prd-centos7-docker-4c-2g-43 does not seem to be running inside a container [2021-06-02T05:08:26.115Z] $ 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-219/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-219 -v /w/workspace/foundry_device-virtual-go_PR-219:/w/workspace/foundry_device-virtual-go_PR-219:rw,z -v /w/workspace/foundry_device-virtual-go_PR-219@tmp:/w/workspace/foundry_device-virtual-go_PR-219@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-02T05:08:41.164Z] $ docker top eb79954eff396ce4a6ff972fcd3c39bf26bed8ffea28d618af2052e5478c4d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T05:08:41.610Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T05:08:41.940Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T05:08:42.264Z] + ls /var/log/sa-host [2021-06-02T05:08:42.264Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T05:08:42.264Z] file_magic: OK [2021-06-02T05:08:42.264Z] HZ: Using current value: 100 [2021-06-02T05:08:42.264Z] file_header: OK [2021-06-02T05:08:42.264Z] 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-02T05:08:42.264Z] Statistics: [2021-06-02T05:08:42.264Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T05:08:42.264Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T05:08:42.264Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T05:08:42.264Z] file_magic: OK [2021-06-02T05:08:42.264Z] HZ: Using current value: 100 [2021-06-02T05:08:42.264Z] file_header: OK [2021-06-02T05:08:42.264Z] 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-02T05:08:42.264Z] Statistics: [2021-06-02T05:08:42.264Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T05:08:42.264Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T05:08:42.960Z] provisioning config files... [2021-06-02T05:08:42.973Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config4695488503315660077tmp [Pipeline] { [Pipeline] echo [2021-06-02T05:08:43.032Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:43.371Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T05:08:43.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T05:08:43.500Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:43.840Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T05:08:43.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:44.222Z] ---> sudo-logs.sh [2021-06-02T05:08:44.222Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T05:08:44.303Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:44.637Z] ---> job-cost.sh [2021-06-02T05:08:44.637Z] lf-activate-venv: SKIPPING [2021-06-02T05:08:44.637Z] DEBUG: total: 0.18000000715255737 [2021-06-02T05:08:44.637Z] INFO: Retrieving Stack Cost... [2021-06-02T05:08:45.581Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T05:08:46.158Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T05:08:46.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T05:08:46.524Z] ---> logs-deploy.sh [2021-06-02T05:08:46.524Z] lf-activate-venv: SKIPPING [2021-06-02T05:08:46.524Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-219/1 [2021-06-02T05:08:46.524Z] INFO: archiving workspace using pattern(s): [2021-06-02T05:08:47.482Z] Archives upload complete. [2021-06-02T05:08:47.482Z] INFO: archiving logs to Nexus