Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 7c8b3a8335452c5dd50581b8cf0ecf136d628618+05fb3e48a5edf4feff7dec54fcb3f259152d9a60 (5f7020650b286f4e2732b04f35ac1ff80d76dc2c) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3163131570954896168.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5572157331028459435.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-236/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-236/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3568100303645295920.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-236/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9182046846497090430.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4843412715423781645.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-236/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-236/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1971128165893030689.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-386 in /w/workspace/foundry_device-virtual-go_PR-236 [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-236 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-236@tmp/jenkins-gitclient-ssh7653273338291325842.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 into PR head commit 7c8b3a8335452c5dd50581b8cf0ecf136d628618 Merge succeeded, producing 7c8b3a8335452c5dd50581b8cf0ecf136d628618 Checking out Revision 7c8b3a8335452c5dd50581b8cf0ecf136d628618 (PR-236) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-236@tmp/jenkins-gitclient-ssh7718910230148819656.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-236@tmp/jenkins-gitclient-ssh4759130462538248336.key > git merge 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # timeout=10 Commit message: "fix: update all TOML to use quote and not single-quote" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:11:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:11:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:11:14 ========================================================= 19:11:14 EdgeX Global Pipelines Version Info 19:11:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:11:15 ------------------- 19:11:15 stable info: 19:11:15 ------------------- 19:11:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:11:15 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:11:15 Message: update stable to v1.0.205 19:11:16 ------------------- 19:11:16 experimental info: 19:11:16 ------------------- 19:11:16 Commited By: **** collab-it+edgex@linuxfoundation.org 19:11:16 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:11:16 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:11:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c8b3a8335452c5dd50581b8cf0ecf136d628618 [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c8b3a8 [Pipeline] echo 19:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:18 provisioning config files... 19:11:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-236@tmp/config6028969603888636431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:18 ---> docker-login.sh 19:11:18 nexus3.edgexfoundry.org:10001 19:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:19 Configure a credential helper to remove this warning. See 19:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:19 19:11:19 Login Succeeded 19:11:19 nexus3.edgexfoundry.org:10002 19:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:19 Configure a credential helper to remove this warning. See 19:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:19 19:11:19 Login Succeeded 19:11:19 nexus3.edgexfoundry.org:10003 19:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:19 Configure a credential helper to remove this warning. See 19:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:19 19:11:19 Login Succeeded 19:11:19 nexus3.edgexfoundry.org:10004 19:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:19 Configure a credential helper to remove this warning. See 19:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:19 19:11:19 Login Succeeded 19:11:19 docker.io 19:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:20 Configure a credential helper to remove this warning. See 19:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:20 19:11:20 Login Succeeded 19:11:20 ---> docker-login.sh ends [Pipeline] } 19:11:20 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 19:11:20 + git log --format=format:%s -1 7c8b3a8335452c5dd50581b8cf0ecf136d628618 [Pipeline] echo 19:11:20 GIT_COMMIT: 7c8b3a8335452c5dd50581b8cf0ecf136d628618, Commit Message: fix: update all TOML to use quote and not single-quote [Pipeline] echo 19:11:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:11:22 19:11:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:11:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:11:27 latest: Pulling from edgex-devops/git-semver 19:11:27 31603596830f: Pulling fs layer 19:11:27 d4622e32a9a9: Pulling fs layer 19:11:27 1030fce36090: Pulling fs layer 19:11:27 6c6cb7e1b49b: Pulling fs layer 19:11:27 6c6cb7e1b49b: Waiting 19:11:27 d4622e32a9a9: Verifying Checksum 19:11:27 d4622e32a9a9: Download complete 19:11:27 31603596830f: Verifying Checksum 19:11:27 31603596830f: Download complete 19:11:28 6c6cb7e1b49b: Verifying Checksum 19:11:28 6c6cb7e1b49b: Download complete 19:11:28 31603596830f: Pull complete 19:11:28 d4622e32a9a9: Pull complete 19:11:28 1030fce36090: Verifying Checksum 19:11:28 1030fce36090: Download complete 19:11:28 1030fce36090: Pull complete 19:11:29 6c6cb7e1b49b: Pull complete 19:11:29 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 19:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:11:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:11:29 prd-centos7-docker-4c-2g-386 does not seem to be running inside a container 19:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-236 -v /w/workspace/foundry_device-virtual-go_PR-236:/w/workspace/foundry_device-virtual-go_PR-236:rw,z -v /w/workspace/foundry_device-virtual-go_PR-236@tmp:/w/workspace/foundry_device-virtual-go_PR-236@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:10004/edgex-devops/git-semver:latest cat 19:11:29 $ docker top 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:11:30 [ssh-agent] Looking for ssh-agent implementation... 19:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:11:30 $ docker exec 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a ssh-agent 19:11:30 SSH_AUTH_SOCK=/tmp/ssh-tx5iUjEUkqsI/agent.15 19:11:30 SSH_AGENT_PID=21 19:11:30 Running ssh-add (command line suppressed) 19:11:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-236@tmp/private_key_8776259597093408563.key (/w/workspace/foundry_device-virtual-go_PR-236@tmp/private_key_8776259597093408563.key) 19:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:11:30 + git tag --points-at HEAD [Pipeline] } 19:11:30 $ docker exec --env ******** --env ******** 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a ssh-agent -k 19:11:30 unset SSH_AUTH_SOCK; 19:11:30 unset SSH_AGENT_PID; 19:11:30 echo Agent pid 21 killed; 19:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:11:31 [ssh-agent] Looking for ssh-agent implementation... 19:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:11:31 $ docker exec 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a ssh-agent 19:11:31 SSH_AUTH_SOCK=/tmp/ssh-pRW60dmrlqBS/agent.55 19:11:31 SSH_AGENT_PID=61 19:11:31 Running ssh-add (command line suppressed) 19:11:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-236@tmp/private_key_2191671881771326524.key (/w/workspace/foundry_device-virtual-go_PR-236@tmp/private_key_2191671881771326524.key) 19:11:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:11:31 + git semver init 19:11:31 # -> Open(): unable to determine branch for HEAD 19:11:31 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-236/.git 19:11:31 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-236 19:11:31 # $SEMVER_REMOTE_NAME = origin 19:11:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:11:31 # $SEMVER_USER_NAME = edgex-jenkins 19:11:31 # $SEMVER_BRANCH = PR-236 19:11:31 # $SEMVER_TEMP = /tmp/semver-924762911 19:11:31 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:11:32 # '/tmp/semver-924762911' -> '/w/workspace/foundry_device-virtual-go_PR-236/.semver' 19:11:32 # -> Force: false 19:11:32 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-236/.semver [Pipeline] } 19:11:32 $ docker exec --env ******** --env ******** 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a ssh-agent -k 19:11:32 unset SSH_AUTH_SOCK; 19:11:32 unset SSH_AGENT_PID; 19:11:32 echo Agent pid 61 killed; 19:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:11:33 + git semver [Pipeline] } 19:11:33 $ docker stop --time=1 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a 19:11:34 $ docker rm -f 9ecb0b5fdae4aca6ac2d1229352e3170a0e5aaddd47571cb484e5de6d26de16a [Pipeline] // withDockerContainer [Pipeline] sh 19:11:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:11:35 Stashed 1 file(s) [Pipeline] echo 19:11:35 [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 19:11:50 Still waiting to schedule task 19:11:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:11:51 Still waiting to schedule task 19:11:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:14:42 Running on prd-centos7-docker-4c-2g-387 in /w/workspace/foundry_device-virtual-go_PR-236 [Pipeline] { [Pipeline] ws 19:14:42 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:14:42 The recommended git tool is: git 19:14:45 using credential edgex-jenkins-ssh 19:14:45 Cloning the remote Git repository 19:14:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:14:45 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:14:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:14:45 > git --version # timeout=10 19:14:45 > git --version # 'git version 2.24.4' 19:14:45 using GIT_SSH to set credentials SSH Credentials for GitHub 19:14:45 [INFO] Currently running in a labeled security context 19:14:45 [INFO] Currently SELinux is 'enforcing' on the host 19:14:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh870389815205254995.key 19:14:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:14:46 Merging remotes/origin/main commit 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 into PR head commit 7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:14:46 Merge succeeded, producing 7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:14:46 Checking out Revision 7c8b3a8335452c5dd50581b8cf0ecf136d628618 (PR-236) 19:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:14:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:14:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:14:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:14:46 [INFO] Currently running in a labeled security context 19:14:46 [INFO] Currently SELinux is 'enforcing' on the host 19:14:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh3696236625262464295.key 19:14:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:14:46 > git config core.sparsecheckout # timeout=10 19:14:46 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # timeout=10 19:14:46 > git remote # timeout=10 19:14:46 > git config --get remote.origin.url # timeout=10 19:14:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:14:46 [INFO] Currently running in a labeled security context 19:14:46 [INFO] Currently SELinux is 'enforcing' on the host 19:14:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7111651086580194005.key 19:14:46 > git merge 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 # timeout=10 19:14:46 > git rev-parse HEAD^{commit} # timeout=10 19:14:46 > git config core.sparsecheckout # timeout=10 19:14:46 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # timeout=10 19:14:50 Commit message: "fix: update all TOML to use quote and not single-quote" 19:14:50 > git --version # timeout=10 19:14:50 > git --version # 'git version 2.24.4' 19:14:50 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:51 provisioning config files... 19:14:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9181892858521464261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:51 ---> docker-login.sh 19:14:51 nexus3.edgexfoundry.org:10001 19:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:52 Configure a credential helper to remove this warning. See 19:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:52 19:14:52 Login Succeeded 19:14:52 nexus3.edgexfoundry.org:10002 19:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:52 Configure a credential helper to remove this warning. See 19:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:52 19:14:52 Login Succeeded 19:14:52 nexus3.edgexfoundry.org:10003 19:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:52 Configure a credential helper to remove this warning. See 19:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:52 19:14:52 Login Succeeded 19:14:52 nexus3.edgexfoundry.org:10004 19:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:52 Configure a credential helper to remove this warning. See 19:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:52 19:14:52 Login Succeeded 19:14:52 docker.io 19:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:52 Configure a credential helper to remove this warning. See 19:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:52 19:14:52 Login Succeeded 19:14:52 ---> docker-login.sh ends [Pipeline] } 19:14:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:14:53 ========================================================= 19:14:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:14:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:14:53 + 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 . 19:14:53 Sending build context to Docker daemon 8.613MB 19:14:53 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:14:53 Step 2/8 : FROM ${BASE} 19:14:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:14:53 540db60ca938: Pulling fs layer 19:14:53 adcc1eea9eea: Pulling fs layer 19:14:53 4c4ab2625f07: Pulling fs layer 19:14:53 db62176df00c: Pulling fs layer 19:14:53 3b30891b0d05: Pulling fs layer 19:14:53 06b49ca38bd5: Pulling fs layer 19:14:53 c788192a36de: Pulling fs layer 19:14:53 a77e37c0d609: Pulling fs layer 19:14:53 c3185cebc471: Pulling fs layer 19:14:53 db62176df00c: Waiting 19:14:53 c788192a36de: Waiting 19:14:53 a77e37c0d609: Waiting 19:14:53 c3185cebc471: Waiting 19:14:53 3b30891b0d05: Waiting 19:14:53 4c4ab2625f07: Verifying Checksum 19:14:53 4c4ab2625f07: Download complete 19:14:53 adcc1eea9eea: Verifying Checksum 19:14:53 adcc1eea9eea: Download complete 19:14:53 3b30891b0d05: Verifying Checksum 19:14:53 3b30891b0d05: Download complete 19:14:53 06b49ca38bd5: Verifying Checksum 19:14:53 06b49ca38bd5: Download complete 19:14:53 c788192a36de: Verifying Checksum 19:14:53 c788192a36de: Download complete 19:14:53 540db60ca938: Download complete 19:14:54 540db60ca938: Pull complete 19:14:54 adcc1eea9eea: Pull complete 19:14:54 4c4ab2625f07: Pull complete 19:14:54 a77e37c0d609: Verifying Checksum 19:14:54 a77e37c0d609: Download complete 19:14:57 c3185cebc471: Verifying Checksum 19:14:57 c3185cebc471: Download complete 19:14:58 db62176df00c: Verifying Checksum 19:14:58 db62176df00c: Download complete 19:15:01 db62176df00c: Pull complete 19:15:01 3b30891b0d05: Pull complete 19:15:01 06b49ca38bd5: Pull complete 19:15:01 c788192a36de: Pull complete 19:15:01 a77e37c0d609: Pull complete 19:15:03 c3185cebc471: Pull complete 19:15:03 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 19:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:15:03 ---> 031687cdd783 19:15:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:15:05 ---> Running in 8e2e21c145c1 19:15:05 Removing intermediate container 8e2e21c145c1 19:15:05 ---> 07617a9542cd 19:15:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:15:05 ---> Running in dc59b6a0fbc2 19:15:05 Removing intermediate container dc59b6a0fbc2 19:15:05 ---> d8f343634b0a 19:15:05 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:15:05 ---> Running in 50a08b297d3f 19:15:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:15:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:15:07 (1/7) Installing openssh-keygen (8.4_p1-r3) 19:15:07 (2/7) Installing libedit (20191231.3.1-r1) 19:15:07 (3/7) Installing openssh-client (8.4_p1-r3) 19:15:08 (4/7) Installing openssh-sftp-server (8.4_p1-r3) 19:15:08 (5/7) Installing openssh-server-common (8.4_p1-r3) 19:15:08 (6/7) Installing openssh-server (8.4_p1-r3) 19:15:08 (7/7) Installing openssh (8.4_p1-r3) 19:15:08 Executing busybox-1.32.1-r6.trigger 19:15:08 OK: 224 MiB in 59 packages 19:15:08 Removing intermediate container 50a08b297d3f 19:15:08 ---> b25c6041aa9d 19:15:08 Step 6/8 : WORKDIR /device-virtual-go 19:15:08 ---> Running in b4b969eac655 19:15:08 Removing intermediate container b4b969eac655 19:15:08 ---> a19d2777827a 19:15:08 Step 7/8 : COPY . . 19:15:09 ---> 0e6941159942 19:15:09 Step 8/8 : RUN go mod download 19:15:09 ---> Running in acfe860a264d 19:15:21 Removing intermediate container acfe860a264d 19:15:21 ---> f266acda2307 19:15:21 Successfully built f266acda2307 19:15:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:15:21 + docker inspect -f . ci-base-image-x86_64 19:15:21 . [Pipeline] withDockerContainer 19:15:22 prd-centos7-docker-4c-2g-387 does not seem to be running inside a container 19:15:22 $ 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 ******** -e ******** ci-base-image-x86_64 cat 19:15:22 $ docker top e70a876de41140f7e325b6c70376fa4d480848aa54f431165f1dfdccdd1dff7b -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:22 + go version 19:15:22 go version go1.16.6 linux/amd64 [Pipeline] } 19:15:22 $ docker stop --time=1 e70a876de41140f7e325b6c70376fa4d480848aa54f431165f1dfdccdd1dff7b 19:15:24 $ docker rm -f e70a876de41140f7e325b6c70376fa4d480848aa54f431165f1dfdccdd1dff7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:15:24 + docker inspect -f . ci-base-image-x86_64 19:15:24 . [Pipeline] withDockerContainer 19:15:25 prd-centos7-docker-4c-2g-387 does not seem to be running inside a container 19:15:25 $ 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 ******** -e ******** ci-base-image-x86_64 cat 19:15:25 $ docker top 4af86a81799dec7ad9be757f8b6997004585e7f0a0b05229a685fd451d8079ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:15:26 + go mod tidy [Pipeline] sh 19:15:26 + make test 19:15:26 go mod tidy 19:15:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:15:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:15:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:15:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.300s coverage: 64.6% of statements 19:15:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:15:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-388 in /w/workspace/foundry_device-virtual-go_PR-236 [Pipeline] { [Pipeline] ws 19:15:48 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:15:49 The recommended git tool is: git 19:15:54 gofmt -l . 19:15:54 [ "`gofmt -l .`" = "" ] 19:15:54 ./bin/test-attribution-txt.sh 19:15:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:15:54 $ docker stop --time=1 4af86a81799dec7ad9be757f8b6997004585e7f0a0b05229a685fd451d8079ed 19:15:55 using credential edgex-jenkins-ssh 19:15:55 Cloning the remote Git repository 19:15:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:15:55 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:15:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:15:55 > git --version # timeout=10 19:15:55 > git --version # 'git version 2.17.1' 19:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:15:56 $ docker rm -f 4af86a81799dec7ad9be757f8b6997004585e7f0a0b05229a685fd451d8079ed [Pipeline] // withDockerContainer [Pipeline] sh 19:15:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:15:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 19:15:57 Merging remotes/origin/main commit 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 into PR head commit 7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:15:57 Merge succeeded, producing 7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:15:57 Checking out Revision 7c8b3a8335452c5dd50581b8cf0ecf136d628618 (PR-236) 19:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:15:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:15:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:15:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:15:57 > git config core.sparsecheckout # timeout=10 19:15:57 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # timeout=10 19:15:57 > git remote # timeout=10 19:15:57 > git config --get remote.origin.url # timeout=10 19:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:15:57 > git merge 05fb3e48a5edf4feff7dec54fcb3f259152d9a60 # timeout=10 19:15:57 > git rev-parse HEAD^{commit} # timeout=10 19:15:57 > git config core.sparsecheckout # timeout=10 19:15:57 > git checkout -f 7c8b3a8335452c5dd50581b8cf0ecf136d628618 # timeout=10 [Pipeline] sh 19:15:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:15:59 + ls -al . 19:15:59 total 148 19:15:59 drwxrwxr-x. 7 jenkins jenkins 4096 Aug 11 19:15 . 19:15:59 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 19:14 .. 19:15:59 -rw-rw-r--. 1 jenkins jenkins 8153 Aug 11 19:14 Attribution.txt 19:15:59 drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 19:14 bin 19:15:59 -rw-rw-r--. 1 jenkins jenkins 6349 Aug 11 19:14 CHANGELOG.md 19:15:59 drwxrwxr-x. 3 jenkins jenkins 32 Aug 11 19:14 cmd 19:15:59 -rw-r--r--. 1 jenkins jenkins 46339 Aug 11 19:15 coverage.out 19:15:59 -rw-rw-r--. 1 jenkins jenkins 1921 Aug 11 19:14 Dockerfile 19:15:59 -rw-rw-r--. 1 jenkins jenkins 998 Aug 11 19:14 Dockerfile.build 19:15:59 drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 19:14 .git 19:15:59 drwxrwxr-x. 2 jenkins jenkins 103 Aug 11 19:14 .github 19:15:59 -rw-rw-r--. 1 jenkins jenkins 277 Aug 11 19:14 .gitignore 19:15:59 -rw-r--r--. 1 jenkins jenkins 795 Aug 11 19:15 go.mod 19:15:59 -rw-r--r--. 1 jenkins jenkins 22824 Aug 11 19:15 go.sum 19:15:59 -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 19:14 GOVERNANCE.md 19:15:59 drwxrwxr-x. 3 jenkins jenkins 20 Aug 11 19:14 internal 19:15:59 -rw-rw-r--. 1 jenkins jenkins 660 Aug 11 19:14 Jenkinsfile 19:15:59 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 11 19:14 LICENSE 19:15:59 -rw-rw-r--. 1 jenkins jenkins 905 Aug 11 19:14 Makefile 19:15:59 -rw-rw-r--. 1 jenkins jenkins 623 Aug 11 19:14 OWNERS.md 19:15:59 -rw-rw-r--. 1 jenkins jenkins 2913 Aug 11 19:14 README.md 19:15:59 -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 19:11 VERSION 19:15:59 -rw-rw-r--. 1 jenkins jenkins 235 Aug 11 19:14 version.go [Pipeline] isUnix [Pipeline] sh 19:16:00 + 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=7c8b3a8335452c5dd50581b8cf0ecf136d628618 --label arch=amd64 --label version=0.0.0 . 19:16:00 Sending build context to Docker daemon 8.684MB 19:16:00 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 19:16:00 Step 2/26 : FROM ${BASE} AS builder 19:16:00 ---> f266acda2307 19:16:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:16:00 ---> Running in 6ea42fb99f29 19:16:00 Removing intermediate container 6ea42fb99f29 19:16:00 ---> f0e75d86f3eb 19:16:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:16:00 ---> Running in 350a321093d3 19:16:00 Removing intermediate container 350a321093d3 19:16:00 ---> 5ef5e37058ad 19:16:00 Step 5/26 : WORKDIR /device-virtual-go 19:16:00 ---> Running in 665bc5683426 19:16:00 Removing intermediate container 665bc5683426 19:16:00 ---> e515a0bc5098 19:16:00 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:16:00 ---> Running in dd8e617a3ed2 19:16:01 Removing intermediate container dd8e617a3ed2 19:16:01 ---> c15ac324d5ad 19:16:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:01 ---> Running in 932fcba6ca03 19:16:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:16:02 Commit message: "fix: update all TOML to use quote and not single-quote" 19:16:02 > git --version # timeout=10 19:16:02 > git --version # 'git version 2.17.1' 19:16:02 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:16:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 19:16:02 OK: 224 MiB in 59 packages 19:16:02 Removing intermediate container 932fcba6ca03 19:16:02 ---> 43364530a250 19:16:02 Step 8/26 : COPY . . [Pipeline] configFileProvider 19:16:02 provisioning config files... 19:16:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2891635758992015891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:03 ---> e88cd612b528 19:16:03 Step 9/26 : RUN go mod tidy 19:16:03 ---> Running in 1de717d00928 19:16:03 ---> docker-login.sh 19:16:03 nexus3.edgexfoundry.org:10001 19:16:04 Removing intermediate container 1de717d00928 19:16:04 ---> 97517375d968 19:16:04 Step 10/26 : RUN go mod download 19:16:04 ---> Running in a41954c5f52f 19:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:04 Removing intermediate container a41954c5f52f 19:16:04 ---> 85dc894b0538 19:16:04 Step 11/26 : ARG MAKE='make build' 19:16:04 ---> Running in 1a3048d4fe52 19:16:04 Removing intermediate container 1a3048d4fe52 19:16:04 ---> 0037fc674841 19:16:04 Step 12/26 : RUN $MAKE 19:16:04 ---> Running in 526ce565b6b3 19:16:04 go mod tidy 19:16:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:04 Configure a credential helper to remove this warning. See 19:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:04 19:16:04 Login Succeeded 19:16:04 nexus3.edgexfoundry.org:10002 19:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 nexus3.edgexfoundry.org:10003 19:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 nexus3.edgexfoundry.org:10004 19:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:06 Configure a credential helper to remove this warning. See 19:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:06 19:16:06 Login Succeeded 19:16:06 docker.io 19:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:06 Configure a credential helper to remove this warning. See 19:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:06 19:16:06 Login Succeeded 19:16:06 ---> docker-login.sh ends [Pipeline] } 19:16:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:16:07 ========================================================= 19:16:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:16:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:16:08 + 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 . 19:16:08 Sending build context to Docker daemon 8.613MB 19:16:08 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:16:08 Step 2/8 : FROM ${BASE} 19:16:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:16:08 595b0fe564bb: Pulling fs layer 19:16:08 24495759ef45: Pulling fs layer 19:16:08 d148012ef14d: Pulling fs layer 19:16:08 e90a11edd702: Pulling fs layer 19:16:08 d77568369979: Pulling fs layer 19:16:08 fc1c9f9a7f3b: Pulling fs layer 19:16:08 170f2ba95c9a: Pulling fs layer 19:16:08 97ac5df62f85: Pulling fs layer 19:16:08 e90a11edd702: Waiting 19:16:08 fc1c9f9a7f3b: Waiting 19:16:08 d77568369979: Waiting 19:16:08 170f2ba95c9a: Waiting 19:16:08 97ac5df62f85: Waiting 19:16:08 d148012ef14d: Verifying Checksum 19:16:08 d148012ef14d: Download complete 19:16:08 24495759ef45: Download complete 19:16:08 d77568369979: Verifying Checksum 19:16:08 d77568369979: Download complete 19:16:08 fc1c9f9a7f3b: Verifying Checksum 19:16:08 fc1c9f9a7f3b: Download complete 19:16:08 595b0fe564bb: Verifying Checksum 19:16:08 170f2ba95c9a: Verifying Checksum 19:16:08 170f2ba95c9a: Download complete 19:16:09 595b0fe564bb: Pull complete 19:16:10 24495759ef45: Pull complete 19:16:10 d148012ef14d: Pull complete 19:16:11 97ac5df62f85: Verifying Checksum 19:16:11 97ac5df62f85: Download complete 19:16:12 e90a11edd702: Verifying Checksum 19:16:12 e90a11edd702: Download complete 19:16:23 e90a11edd702: Pull complete 19:16:23 d77568369979: Pull complete 19:16:23 Removing intermediate container 526ce565b6b3 19:16:23 ---> 5254b0d3a071 19:16:23 Step 13/26 : FROM alpine:3.12 19:16:23 3.12: Pulling from library/alpine 19:16:23 339de151aab4: Pulling fs layer 19:16:23 339de151aab4: Verifying Checksum 19:16:23 339de151aab4: Download complete 19:16:23 339de151aab4: Pull complete 19:16:23 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:16:23 Status: Downloaded newer image for alpine:3.12 19:16:23 ---> 13621d1b12d4 19:16:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:16:23 ---> Running in 4a671e87ae78 19:16:23 Removing intermediate container 4a671e87ae78 19:16:23 ---> c57334d6fc7f 19:16:23 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:16:23 ---> Running in 3a3b4e5c5db4 19:16:23 Removing intermediate container 3a3b4e5c5db4 19:16:23 ---> 8fa2ebaaa520 19:16:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:16:23 ---> Running in fadb4d824a00 19:16:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:16:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:16:23 (1/6) Installing dumb-init (1.2.2-r1) 19:16:23 (2/6) Installing libgcc (9.3.0-r2) 19:16:23 fc1c9f9a7f3b: Pull complete 19:16:23 (3/6) Installing libsodium (1.0.18-r0) 19:16:23 (4/6) Installing libstdc++ (9.3.0-r2) 19:16:23 170f2ba95c9a: Pull complete 19:16:24 (5/6) Installing libzmq (4.3.3-r0) 19:16:24 (6/6) Installing zeromq (4.3.3-r0) 19:16:24 Executing busybox-1.31.1-r20.trigger 19:16:24 OK: 8 MiB in 20 packages 19:16:24 Removing intermediate container fadb4d824a00 19:16:24 ---> 66874cb63471 19:16:24 Step 17/26 : WORKDIR / 19:16:24 ---> Running in e6ad44f387b8 19:16:24 Removing intermediate container e6ad44f387b8 19:16:24 ---> 3eff26378f66 19:16:24 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:16:24 ---> f8b455b48961 19:16:24 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:16:25 ---> 8e0d0df780be 19:16:25 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:16:25 ---> be2fd5b2ce9c 19:16:25 Step 21/26 : EXPOSE 59900 19:16:25 ---> Running in a97d51d774d0 19:16:25 Removing intermediate container a97d51d774d0 19:16:25 ---> c4dc1d229c10 19:16:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:16:25 ---> Running in 1aefac8eb43a 19:16:25 Removing intermediate container 1aefac8eb43a 19:16:25 ---> 5c9233ce5d4d 19:16:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:16:25 ---> Running in f3e3df144aa5 19:16:26 Removing intermediate container f3e3df144aa5 19:16:26 ---> 9f77459dc3fa 19:16:26 Step 24/26 : LABEL arch=amd64 19:16:26 ---> Running in a1bc4a0116a3 19:16:26 Removing intermediate container a1bc4a0116a3 19:16:26 ---> f333003d225b 19:16:26 Step 25/26 : LABEL git_sha=7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:16:26 ---> Running in 1f964a13d0c8 19:16:26 Removing intermediate container 1f964a13d0c8 19:16:26 ---> 5752164d30cd 19:16:26 Step 26/26 : LABEL version=0.0.0 19:16:26 ---> Running in 52b9994391d4 19:16:26 Removing intermediate container 52b9994391d4 19:16:26 ---> c44062ca1cd6 19:16:26 [Warning] One or more build-args [ARCH] were not consumed 19:16:26 Successfully built c44062ca1cd6 19:16:26 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:27 19:16:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:16:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:27 latest: Pulling from edgex-lftools-log-publisher 19:16:27 b4d181a07f80: Pulling fs layer 19:16:27 a1111a8f2ec3: Pulling fs layer 19:16:27 ed53099fbce6: Pulling fs layer 19:16:27 dc539afda2c1: Pulling fs layer 19:16:27 77bc0d833cb6: Pulling fs layer 19:16:27 9065ff56babe: Pulling fs layer 19:16:27 d287ab97295c: Pulling fs layer 19:16:27 77bc0d833cb6: Waiting 19:16:27 9065ff56babe: Waiting 19:16:27 d287ab97295c: Waiting 19:16:27 dc539afda2c1: Waiting 19:16:28 a1111a8f2ec3: Verifying Checksum 19:16:28 a1111a8f2ec3: Download complete 19:16:28 dc539afda2c1: Verifying Checksum 19:16:28 dc539afda2c1: Download complete 19:16:28 77bc0d833cb6: Verifying Checksum 19:16:28 77bc0d833cb6: Download complete 19:16:28 9065ff56babe: Verifying Checksum 19:16:28 9065ff56babe: Download complete 19:16:29 ed53099fbce6: Verifying Checksum 19:16:29 ed53099fbce6: Download complete 19:16:30 97ac5df62f85: Pull complete 19:16:30 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 19:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:16:30 ---> 04bc70af865f 19:16:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:16:31 b4d181a07f80: Verifying Checksum 19:16:31 b4d181a07f80: Download complete 19:16:32 b4d181a07f80: Pull complete 19:16:32 a1111a8f2ec3: Pull complete 19:16:32 ---> Running in 0bb984c18870 19:16:33 ed53099fbce6: Pull complete 19:16:33 dc539afda2c1: Pull complete 19:16:33 Removing intermediate container 0bb984c18870 19:16:33 ---> ca45d0de9fd8 19:16:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:16:33 77bc0d833cb6: Pull complete 19:16:33 9065ff56babe: Pull complete 19:16:33 ---> Running in 67bf5c902eec 19:16:34 d287ab97295c: Verifying Checksum 19:16:34 d287ab97295c: Download complete 19:16:36 Removing intermediate container 67bf5c902eec 19:16:36 ---> fbf5245cb708 19:16:36 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:16:36 ---> Running in bf47f0d960f1 19:16:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:16:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:16:38 d287ab97295c: Pull complete 19:16:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:16:39 prd-centos7-docker-4c-2g-387 does not seem to be running inside a container 19:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:16:39 (1/7) Installing openssh-keygen (8.4_p1-r3) 19:16:39 (2/7) Installing libedit (20191231.3.1-r1) 19:16:39 (3/7) Installing openssh-client (8.4_p1-r3) 19:16:40 (4/7) Installing openssh-sftp-server (8.4_p1-r3) 19:16:40 (5/7) Installing openssh-server-common (8.4_p1-r3) 19:16:40 (6/7) Installing openssh-server (8.4_p1-r3) 19:16:40 (7/7) Installing openssh (8.4_p1-r3) 19:16:40 Executing busybox-1.32.1-r6.trigger 19:16:40 OK: 224 MiB in 59 packages 19:16:41 $ docker top c04d634f2c641503b05ffd98a481d91d4632084570e5fcafcba1ef095fa818bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:42 Removing intermediate container bf47f0d960f1 19:16:42 ---> 6625738b7f09 19:16:42 Step 6/8 : WORKDIR /device-virtual-go 19:16:42 ---> job-cost.sh 19:16:42 lf-activate-venv: SKIPPING 19:16:42 INFO: No Stack... 19:16:42 ---> Running in b419846af14f 19:16:42 Removing intermediate container b419846af14f 19:16:42 ---> c8071e4d3d07 19:16:42 Step 7/8 : COPY . . 19:16:43 INFO: Retrieving Pricing Info for: v3-standard-2 19:16:43 INFO: Archiving Costs [Pipeline] sh 19:16:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 19:16:43 + cut -d, -f6 19:16:43 ---> e5ff52786911 19:16:43 Step 8/8 : RUN go mod download [Pipeline] lock 19:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] 19:16:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] did not exist. Created. 19:16:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:16:44 ---> Running in 76de1230df28 19:16:44 + echo total: 0.05999999865889549 [Pipeline] stash 19:16:44 Stashed 1 file(s) [Pipeline] } 19:16:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:16:44 $ docker stop --time=1 c04d634f2c641503b05ffd98a481d91d4632084570e5fcafcba1ef095fa818bc 19:16:45 $ docker rm -f c04d634f2c641503b05ffd98a481d91d4632084570e5fcafcba1ef095fa818bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:17:16 Removing intermediate container 76de1230df28 19:17:16 ---> 905e51251de2 19:17:16 Successfully built 905e51251de2 19:17:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:17:16 + docker inspect -f . ci-base-image-arm64 19:17:16 . [Pipeline] withDockerContainer 19:17:17 prd-ubuntu18.04-docker-arm64-4c-16g-388 does not seem to be running inside a container 19:17:17 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:17:19 $ docker top 1010e9999b413f974ed284d07fe530b4643bef2033568a77f63e684ac30f6349 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:20 + go version 19:17:20 go version go1.16.6 linux/arm64 [Pipeline] } 19:17:20 $ docker stop --time=1 1010e9999b413f974ed284d07fe530b4643bef2033568a77f63e684ac30f6349 19:17:22 $ docker rm -f 1010e9999b413f974ed284d07fe530b4643bef2033568a77f63e684ac30f6349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:17:23 + docker inspect -f . ci-base-image-arm64 19:17:23 . [Pipeline] withDockerContainer 19:17:23 prd-ubuntu18.04-docker-arm64-4c-16g-388 does not seem to be running inside a container 19:17:23 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:17:25 $ docker top 2b87183dd211b6f1f036a75133001de9ccfa71da901bc0e6a0d1115cbdbd0ffc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:17:26 + go mod tidy [Pipeline] sh 19:17:27 + make test 19:17:27 go mod tidy 19:17:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:17:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:18:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:18:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.760s coverage: 64.6% of statements 19:18:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:18:59 gofmt -l . 19:18:59 [ "`gofmt -l .`" = "" ] 19:18:59 ./bin/test-attribution-txt.sh 19:19:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:19:02 $ docker stop --time=1 2b87183dd211b6f1f036a75133001de9ccfa71da901bc0e6a0d1115cbdbd0ffc 19:19:04 $ docker rm -f 2b87183dd211b6f1f036a75133001de9ccfa71da901bc0e6a0d1115cbdbd0ffc [Pipeline] // withDockerContainer [Pipeline] sh 19:19:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:19:05 Warning: overwriting stash ‘coverage-report’ 19:19:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:19:06 + ls -al . 19:19:06 total 172 19:19:06 drwxrwxr-x 7 jenkins jenkins 4096 Aug 11 19:19 . 19:19:06 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:15 .. 19:19:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 19:16 .git 19:19:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:15 .github 19:19:06 -rw-rw-r-- 1 jenkins jenkins 277 Aug 11 19:15 .gitignore 19:19:06 -rw-rw-r-- 1 jenkins jenkins 8153 Aug 11 19:15 Attribution.txt 19:19:06 -rw-rw-r-- 1 jenkins jenkins 6349 Aug 11 19:15 CHANGELOG.md 19:19:06 -rw-rw-r-- 1 jenkins jenkins 1921 Aug 11 19:15 Dockerfile 19:19:06 -rw-rw-r-- 1 jenkins jenkins 998 Aug 11 19:15 Dockerfile.build 19:19:06 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 19:15 GOVERNANCE.md 19:19:06 -rw-rw-r-- 1 jenkins jenkins 660 Aug 11 19:15 Jenkinsfile 19:19:06 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 19:15 LICENSE 19:19:06 -rw-rw-r-- 1 jenkins jenkins 905 Aug 11 19:15 Makefile 19:19:06 -rw-rw-r-- 1 jenkins jenkins 623 Aug 11 19:15 OWNERS.md 19:19:06 -rw-rw-r-- 1 jenkins jenkins 2913 Aug 11 19:15 README.md 19:19:06 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 19:11 VERSION 19:19:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:15 bin 19:19:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:15 cmd 19:19:06 -rw-r--r-- 1 jenkins jenkins 46339 Aug 11 19:18 coverage.out 19:19:06 -rw-r--r-- 1 jenkins jenkins 795 Aug 11 19:19 go.mod 19:19:06 -rw-r--r-- 1 jenkins jenkins 22824 Aug 11 19:17 go.sum 19:19:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:15 internal 19:19:06 -rw-rw-r-- 1 jenkins jenkins 235 Aug 11 19:15 version.go [Pipeline] isUnix [Pipeline] sh 19:19:07 + 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=7c8b3a8335452c5dd50581b8cf0ecf136d628618 --label arch=arm64 --label version=0.0.0 . 19:19:07 Sending build context to Docker daemon 8.684MB 19:19:07 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 19:19:07 Step 2/26 : FROM ${BASE} AS builder 19:19:07 ---> 905e51251de2 19:19:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:19:07 ---> Running in 67cb9247e0a1 19:19:08 Removing intermediate container 67cb9247e0a1 19:19:08 ---> b23962b1000c 19:19:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:19:08 ---> Running in a7eae28b2e76 19:19:09 Removing intermediate container a7eae28b2e76 19:19:09 ---> 04ea69a5e1c2 19:19:09 Step 5/26 : WORKDIR /device-virtual-go 19:19:09 ---> Running in 7d53f7db7edc 19:19:09 Removing intermediate container 7d53f7db7edc 19:19:09 ---> 794b4e1bfafa 19:19:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:09 ---> Running in 0ff46a8be2dc 19:19:12 Removing intermediate container 0ff46a8be2dc 19:19:12 ---> feae57972df5 19:19:12 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:12 ---> Running in 4e48e3f6de1f 19:19:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:19:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:19:15 OK: 224 MiB in 59 packages 19:19:16 Removing intermediate container 4e48e3f6de1f 19:19:16 ---> 82fcf9633187 19:19:16 Step 8/26 : COPY . . 19:19:17 ---> bd37c7c0e796 19:19:17 Step 9/26 : RUN go mod tidy 19:19:18 ---> Running in ef8e86db2916 19:19:20 Removing intermediate container ef8e86db2916 19:19:20 ---> a363d1bb66aa 19:19:20 Step 10/26 : RUN go mod download 19:19:21 ---> Running in 6777b50d830f 19:19:23 Removing intermediate container 6777b50d830f 19:19:23 ---> de2b6fb942e1 19:19:23 Step 11/26 : ARG MAKE='make build' 19:19:23 ---> Running in 6e85eada2bc8 19:19:24 Removing intermediate container 6e85eada2bc8 19:19:24 ---> 47c714914bff 19:19:24 Step 12/26 : RUN $MAKE 19:19:24 ---> Running in f015ece553c5 19:19:25 go mod tidy 19:19:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:20:22 Removing intermediate container f015ece553c5 19:20:22 ---> 32b5e9945131 19:20:22 Step 13/26 : FROM alpine:3.12 19:20:22 3.12: Pulling from library/alpine 19:20:22 d2f70382dc9a: Pulling fs layer 19:20:22 d2f70382dc9a: Download complete 19:20:22 d2f70382dc9a: Pull complete 19:20:22 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 19:20:22 Status: Downloaded newer image for alpine:3.12 19:20:22 ---> c4fd0aeabfcf 19:20:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:20:22 ---> Running in 9a72ca2cdae2 19:20:22 Removing intermediate container 9a72ca2cdae2 19:20:22 ---> 3636d9005f8f 19:20:22 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:22 ---> Running in b82cf1dda5da 19:20:22 Removing intermediate container b82cf1dda5da 19:20:22 ---> e37be4351c7a 19:20:22 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:20:22 ---> Running in ad44731e38f4 19:20:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:20:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:20:24 (1/6) Installing dumb-init (1.2.2-r1) 19:20:24 (2/6) Installing libgcc (9.3.0-r2) 19:20:24 (3/6) Installing libsodium (1.0.18-r0) 19:20:24 (4/6) Installing libstdc++ (9.3.0-r2) 19:20:24 (5/6) Installing libzmq (4.3.3-r0) 19:20:24 (6/6) Installing zeromq (4.3.3-r0) 19:20:24 Executing busybox-1.31.1-r20.trigger 19:20:24 OK: 8 MiB in 20 packages 19:20:26 Removing intermediate container ad44731e38f4 19:20:26 ---> adf5d3205d8d 19:20:26 Step 17/26 : WORKDIR / 19:20:26 ---> Running in be951904ff73 19:20:26 Removing intermediate container be951904ff73 19:20:26 ---> c51b13b3a0dd 19:20:26 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:20:27 ---> 6e87a3d9b68e 19:20:27 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:20:28 ---> 94b29f4a9c81 19:20:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:20:30 ---> 8c7ec376f06c 19:20:30 Step 21/26 : EXPOSE 59900 19:20:30 ---> Running in bae2f4dae332 19:20:30 Removing intermediate container bae2f4dae332 19:20:30 ---> ccf390ac1660 19:20:30 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:20:30 ---> Running in f6d79f098998 19:20:31 Removing intermediate container f6d79f098998 19:20:31 ---> 52083fc212d7 19:20:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:20:31 ---> Running in f5fdfd7a59bb 19:20:31 Removing intermediate container f5fdfd7a59bb 19:20:31 ---> 6ba7bf4ff2a1 19:20:31 Step 24/26 : LABEL arch=arm64 19:20:32 ---> Running in 14eaa3d485ad 19:20:32 Removing intermediate container 14eaa3d485ad 19:20:32 ---> fabf0db20d76 19:20:32 Step 25/26 : LABEL git_sha=7c8b3a8335452c5dd50581b8cf0ecf136d628618 19:20:32 ---> Running in 26f5e3b27716 19:20:33 Removing intermediate container 26f5e3b27716 19:20:33 ---> 48d37c36fd73 19:20:33 Step 26/26 : LABEL version=0.0.0 19:20:33 ---> Running in 4eb8acccf31d 19:20:33 Removing intermediate container 4eb8acccf31d 19:20:33 ---> 9db5fdc2a7ca 19:20:33 [Warning] One or more build-args [ARCH] were not consumed 19:20:33 Successfully built 9db5fdc2a7ca 19:20:33 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:20:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:34 19:20:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:20:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:35 arm64: Pulling from edgex-lftools-log-publisher 19:20:35 448f6bf000e3: Pulling fs layer 19:20:35 f757da607395: Pulling fs layer 19:20:35 05883995daec: Pulling fs layer 19:20:35 8603b9c90790: Pulling fs layer 19:20:35 1560dd03e051: Pulling fs layer 19:20:35 27f5ce0e4adf: Pulling fs layer 19:20:35 c2d8d7efcc4b: Pulling fs layer 19:20:35 8603b9c90790: Waiting 19:20:35 1560dd03e051: Waiting 19:20:35 27f5ce0e4adf: Waiting 19:20:35 c2d8d7efcc4b: Waiting 19:20:36 f757da607395: Verifying Checksum 19:20:36 f757da607395: Download complete 19:20:36 8603b9c90790: Verifying Checksum 19:20:36 8603b9c90790: Download complete 19:20:36 1560dd03e051: Verifying Checksum 19:20:36 1560dd03e051: Download complete 19:20:36 27f5ce0e4adf: Verifying Checksum 19:20:36 27f5ce0e4adf: Download complete 19:20:36 05883995daec: Verifying Checksum 19:20:36 05883995daec: Download complete 19:20:37 448f6bf000e3: Download complete 19:20:40 c2d8d7efcc4b: Verifying Checksum 19:20:40 c2d8d7efcc4b: Download complete 19:20:41 448f6bf000e3: Pull complete 19:20:42 f757da607395: Pull complete 19:20:43 05883995daec: Pull complete 19:20:43 8603b9c90790: Pull complete 19:20:44 1560dd03e051: Pull complete 19:20:45 27f5ce0e4adf: Pull complete 19:21:00 c2d8d7efcc4b: Pull complete 19:21:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:21:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:21:00 prd-ubuntu18.04-docker-arm64-4c-16g-388 does not seem to be running inside a container 19:21:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:21:04 $ docker top a3e3ff498f850c161b78d50c8dfcb80d05969f62dd9fac958213d2b58b7dc7a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:05 ---> job-cost.sh 19:21:05 lf-activate-venv: SKIPPING 19:21:05 INFO: No Stack... 19:21:06 INFO: Retrieving Pricing Info for: v2-standard-4 19:21:06 INFO: Archiving Costs [Pipeline] sh 19:21:07 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 19:21:07 + cut -d, -f6 [Pipeline] lock 19:21:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] 19:21:07 Resource [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] did not exist. Created. 19:21:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:08 /w/workspace/device-virtual-go/1@tmp/durable-b95bde6f/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b95bde6f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:21:08 + echo total: 0.18000000715255737 [Pipeline] stash 19:21:08 Warning: overwriting stash ‘stack-cost’ 19:21:08 Stashed 1 file(s) [Pipeline] } 19:21:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:08 $ docker stop --time=1 a3e3ff498f850c161b78d50c8dfcb80d05969f62dd9fac958213d2b58b7dc7a6 19:21:10 $ docker rm -f a3e3ff498f850c161b78d50c8dfcb80d05969f62dd9fac958213d2b58b7dc7a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 19:21:11 provisioning config files... 19:21:11 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-236@tmp/config2571679772514391927tmp [Pipeline] { [Pipeline] sh 19:21:12 + set +x 19:21:12 + curl -s https://codecov.io/bash 19:21:12 + bash -s -- 19:21:12 19:21:12 _____ _ 19:21:12 / ____| | | 19:21:12 | | ___ __| | ___ ___ _____ __ 19:21:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:21:12 | |___| (_) | (_| | __/ (_| (_) \ V / 19:21:12 \_____\___/ \__,_|\___|\___\___/ \_/ 19:21:12 Bash-1.0.6 19:21:12 19:21:12 19:21:12 ==> git version 2.24.4 found 19:21:12 ==> 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 19:21:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:21:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:21:12 ==> Jenkins CI detected. 19:21:12 current dir:  /w/workspace/foundry_device-virtual-go_PR-236 19:21:12 project root: . 19:21:12 --> token set from env 19:21:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:21:12 ==> Running gcov in . (disable via -X gcov) 19:21:12 ==> Python coveragepy not found 19:21:12 ==> Searching for coverage reports in: 19:21:12 + . 19:21:12 -> Found 1 reports 19:21:12 ==> Detecting git/mercurial file structure 19:21:12 ==> Reading reports 19:21:12 + ./coverage.out bytes=46339 19:21:12 ==> Appending adjustments 19:21:12 https://docs.codecov.io/docs/fixing-reports 19:21:12 + Found adjustments 19:21:12 ==> Gzipping contents 19:21:12 8.0K /tmp/codecov.lhND0u.gz 19:21:12 ==> Uploading reports 19:21:12 url: https://codecov.io 19:21:12 query: branch=PR-236&commit=7c8b3a8335452c5dd50581b8cf0ecf136d628618&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=236&job=&cmd_args= 19:21:12 -> Pinging Codecov 19:21:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-236&commit=7c8b3a8335452c5dd50581b8cf0ecf136d628618&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=236&job=&cmd_args= 19:21:12 -> Uploading to 19:21:12 https://storage.googleapis.com/codecov/v4/raw/2021-08-11/5E52B4B073DB2E39498172D8E973AA87/7c8b3a8335452c5dd50581b8cf0ecf136d628618/1554eda8-1051-4a1b-9888-f5c8780f7c92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T192112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c9f7ff3cf7ccf2b521fa07660dce74104c821145733a446eb80b2d175ca3a94 19:21:12 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:12 Dload Upload Total Spent Left Speed 19:21:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5518 0 0 100 5518 0 13239 --:--:-- --:--:-- --:--:-- 13264 19:21:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7c8b3a8335452c5dd50581b8cf0ecf136d628618 [Pipeline] } 19:21:13 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] sh 19:21:15 + '[' -d /w/workspace/foundry_device-virtual-go_PR-236/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:21:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:16 ---> package-listing.sh 19:21:16 ++ facter osfamily 19:21:16 ++ tr '[:upper:]' '[:lower:]' 19:21:16 + OS_FAMILY=redhat 19:21:16 + workspace=/w/workspace/foundry_device-virtual-go_PR-236 19:21:16 + START_PACKAGES=/tmp/packages_start.txt 19:21:16 + END_PACKAGES=/tmp/packages_end.txt 19:21:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:16 + PACKAGES=/tmp/packages_start.txt 19:21:16 + '[' /w/workspace/foundry_device-virtual-go_PR-236 ']' 19:21:16 + PACKAGES=/tmp/packages_end.txt 19:21:16 + case "${OS_FAMILY}" in 19:21:16 + rpm -qa 19:21:16 + sort 19:21:17 + '[' -f /tmp/packages_start.txt ']' 19:21:17 + '[' -f /tmp/packages_end.txt ']' 19:21:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:17 + '[' /w/workspace/foundry_device-virtual-go_PR-236 ']' 19:21:17 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-236/archives/ 19:21:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-236/archives/ [Pipeline] echo 19:21:17 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:21:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:21:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:18 19:21:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:21:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:18 latest: Pulling from edgex-lftools-log-publisher 19:21:18 b4d181a07f80: Pulling fs layer 19:21:18 a1111a8f2ec3: Pulling fs layer 19:21:18 ed53099fbce6: Pulling fs layer 19:21:18 dc539afda2c1: Pulling fs layer 19:21:18 77bc0d833cb6: Pulling fs layer 19:21:18 9065ff56babe: Pulling fs layer 19:21:18 d287ab97295c: Pulling fs layer 19:21:18 77bc0d833cb6: Waiting 19:21:18 9065ff56babe: Waiting 19:21:18 d287ab97295c: Waiting 19:21:18 dc539afda2c1: Waiting 19:21:18 a1111a8f2ec3: Verifying Checksum 19:21:18 a1111a8f2ec3: Download complete 19:21:18 dc539afda2c1: Verifying Checksum 19:21:18 dc539afda2c1: Download complete 19:21:19 77bc0d833cb6: Verifying Checksum 19:21:19 77bc0d833cb6: Download complete 19:21:19 9065ff56babe: Verifying Checksum 19:21:19 9065ff56babe: Download complete 19:21:19 ed53099fbce6: Verifying Checksum 19:21:19 ed53099fbce6: Download complete 19:21:20 b4d181a07f80: Verifying Checksum 19:21:20 b4d181a07f80: Download complete 19:21:21 b4d181a07f80: Pull complete 19:21:21 a1111a8f2ec3: Pull complete 19:21:22 ed53099fbce6: Pull complete 19:21:22 dc539afda2c1: Pull complete 19:21:22 77bc0d833cb6: Pull complete 19:21:22 9065ff56babe: Pull complete 19:21:23 d287ab97295c: Verifying Checksum 19:21:23 d287ab97295c: Download complete 19:21:27 d287ab97295c: Pull complete 19:21:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:21:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:21:27 prd-centos7-docker-4c-2g-386 does not seem to be running inside a container 19:21:27 $ 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-236/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-236 -v /w/workspace/foundry_device-virtual-go_PR-236:/w/workspace/foundry_device-virtual-go_PR-236:rw,z -v /w/workspace/foundry_device-virtual-go_PR-236@tmp:/w/workspace/foundry_device-virtual-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:21:30 $ docker top 20a11d68e3158dfd84dd123f86ec58326fda50a120f6a8e4079b8346ca382689 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:30 + touch /tmp/pre-build-complete [Pipeline] sh 19:21:31 + mkdir -p /var/log/sysstat [Pipeline] sh 19:21:31 + ls /var/log/sa-host 19:21:31 + sadf -c /var/log/sa-host/sa05 19:21:31 file_magic: OK 19:21:31 HZ: Using current value: 100 19:21:31 file_header: OK 19:21:31 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 19:21:31 Statistics: 19:21:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:21:31 File successfully converted to sysstat format version 12.0.3 19:21:31 + sadf -c /var/log/sa-host/sa11 19:21:31 file_magic: OK 19:21:31 HZ: Using current value: 100 19:21:31 file_header: OK 19:21:31 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 19:21:31 Statistics: 19:21:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:21:31 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:32 provisioning config files... 19:21:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-236@tmp/config4081143778176327650tmp [Pipeline] { [Pipeline] echo 19:21:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:21:32 ---> create-netrc.sh [Pipeline] } 19:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:21:33 ---> python-tools-install.sh [Pipeline] echo 19:21:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:21:33 ---> sudo-logs.sh 19:21:33 Archiving 'sudo' log.. 19:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-386.vexxhost.local: Name or service not known 19:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-386.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 19:21:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:21:33 ---> job-cost.sh 19:21:33 lf-activate-venv: SKIPPING 19:21:33 DEBUG: total: 0.18000000715255737 19:21:33 INFO: Retrieving Stack Cost... 19:21:34 INFO: Retrieving Pricing Info for: v3-standard-2 19:21:34 INFO: Archiving Costs [Pipeline] echo 19:21:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:21:35 ---> logs-deploy.sh 19:21:35 lf-activate-venv: SKIPPING 19:21:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-236/1 19:21:35 INFO: archiving workspace using pattern(s): 19:21:35 Archives upload complete. 19:21:36 INFO: archiving logs to Nexus