cloudxxx8 commented: recheck 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 cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 56d5edf24aea449f72cf007918c6d66e1903ca7c+c057a04f6cb87a8cdacff32a07698e3019c9b04b (c5d9bdf5f43d4d99bac88c23101323fb5efdd283) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5718006316896108647.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh2132765330802173655.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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-243/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-243/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3591245704483164177.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3051265522299407161.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-243/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-243/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5495279819423847245.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 ‘prd-centos7-docker-4c-2g-864’ Running on prd-centos7-docker-4c-2g-887 in /w/workspace/foundry_device-virtual-go_PR-243 [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-243 # 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-243@tmp/jenkins-gitclient-ssh8931709349220326819.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-243@tmp/jenkins-gitclient-ssh5587857671524937934.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c057a04f6cb87a8cdacff32a07698e3019c9b04b into PR head commit 56d5edf24aea449f72cf007918c6d66e1903ca7c Merge succeeded, producing 56d5edf24aea449f72cf007918c6d66e1903ca7c Checking out Revision 56d5edf24aea449f72cf007918c6d66e1903ca7c (PR-243) > git config core.sparsecheckout # timeout=10 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # 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-243@tmp/jenkins-gitclient-ssh2978373102503286206.key > git merge c057a04f6cb87a8cdacff32a07698e3019c9b04b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 Commit message: "build: Bump device-sdk-go/v2 to 2.0.1-dev.17" > git rev-list --no-walk 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:06:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:06:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:06:02 ========================================================= 01:06:02 EdgeX Global Pipelines Version Info 01:06:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:06:03 ------------------- 01:06:03 stable info: 01:06:03 ------------------- 01:06:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:06:03 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 01:06:03 Message: update stable to v1.0.209 01:06:04 ------------------- 01:06:04 experimental info: 01:06:04 ------------------- 01:06:04 Commited By: **** collab-it+edgex@linuxfoundation.org 01:06:04 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 01:06:04 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-243 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-243 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-243 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56d5edf [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:04 provisioning config files... 01:06:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-243@tmp/config8274228193462142447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:04 ---> docker-login.sh 01:06:04 nexus3.edgexfoundry.org:10001 01:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 nexus3.edgexfoundry.org:10002 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 nexus3.edgexfoundry.org:10003 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 nexus3.edgexfoundry.org:10004 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 docker.io 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:27 Configure a credential helper to remove this warning. See 01:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:27 01:06:27 Login Succeeded 01:06:27 ---> docker-login.sh ends [Pipeline] } 01:06:27 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 01:06:28 + git log --format=format:%s -1 56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] echo 01:06:28 GIT_COMMIT: 56d5edf24aea449f72cf007918c6d66e1903ca7c, Commit Message: build: Bump device-sdk-go/v2 to 2.0.1-dev.17 [Pipeline] echo 01:06:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:06:28 01:06:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:06:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:06:29 latest: Pulling from edgex-devops/git-semver 01:06:29 a0d0a0d46f8b: Pulling fs layer 01:06:29 3e5f54012d9b: Pulling fs layer 01:06:29 4c7163046ea9: Pulling fs layer 01:06:29 0c2d73faf560: Pulling fs layer 01:06:29 0c2d73faf560: Waiting 01:06:29 3e5f54012d9b: Verifying Checksum 01:06:29 3e5f54012d9b: Download complete 01:06:29 a0d0a0d46f8b: Verifying Checksum 01:06:29 a0d0a0d46f8b: Download complete 01:06:29 4c7163046ea9: Verifying Checksum 01:06:29 4c7163046ea9: Download complete 01:06:29 0c2d73faf560: Verifying Checksum 01:06:29 0c2d73faf560: Download complete 01:06:29 a0d0a0d46f8b: Pull complete 01:06:29 3e5f54012d9b: Pull complete 01:06:29 4c7163046ea9: Pull complete 01:06:29 0c2d73faf560: Pull complete 01:06:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:06:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:06:30 prd-centos7-docker-4c-2g-887 does not seem to be running inside a container 01:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-243 -v /w/workspace/foundry_device-virtual-go_PR-243:/w/workspace/foundry_device-virtual-go_PR-243:rw,z -v /w/workspace/foundry_device-virtual-go_PR-243@tmp:/w/workspace/foundry_device-virtual-go_PR-243@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:10004/edgex-devops/git-semver:latest cat 01:06:30 $ docker top 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:06:30 [ssh-agent] Looking for ssh-agent implementation... 01:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:06:30 $ docker exec 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f ssh-agent 01:06:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGJhpDp/agent.14 01:06:30 SSH_AGENT_PID=21 01:06:30 Running ssh-add (command line suppressed) 01:06:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-243@tmp/private_key_2905579478084052473.key (/w/workspace/foundry_device-virtual-go_PR-243@tmp/private_key_2905579478084052473.key) 01:06:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:06:31 + git tag --points-at HEAD [Pipeline] } 01:06:31 $ docker exec --env ******** --env ******** 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f ssh-agent -k 01:06:31 unset SSH_AUTH_SOCK; 01:06:31 unset SSH_AGENT_PID; 01:06:31 echo Agent pid 21 killed; 01:06:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:06:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:06:31 [ssh-agent] Looking for ssh-agent implementation... 01:06:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:06:31 $ docker exec 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f ssh-agent 01:06:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLFbNKC/agent.56 01:06:31 SSH_AGENT_PID=63 01:06:31 Running ssh-add (command line suppressed) 01:06:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-243@tmp/private_key_8049577089143827496.key (/w/workspace/foundry_device-virtual-go_PR-243@tmp/private_key_8049577089143827496.key) 01:06:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:06:32 + git semver init 01:06:32 # -> Open(): unable to determine branch for HEAD 01:06:32 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-243/.git 01:06:32 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-243 01:06:32 # $SEMVER_REMOTE_NAME = origin 01:06:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:06:32 # $SEMVER_USER_NAME = edgex-jenkins 01:06:32 # $SEMVER_BRANCH = PR-243 01:06:32 # $SEMVER_TEMP = /tmp/semver-028866896 01:06:32 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:06:33 # '/tmp/semver-028866896' -> '/w/workspace/foundry_device-virtual-go_PR-243/.semver' 01:06:33 # -> Force: false 01:06:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-243/.semver [Pipeline] } 01:06:33 $ docker exec --env ******** --env ******** 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f ssh-agent -k 01:06:33 unset SSH_AUTH_SOCK; 01:06:33 unset SSH_AGENT_PID; 01:06:33 echo Agent pid 63 killed; 01:06:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:06:34 + git semver [Pipeline] } 01:06:34 $ docker stop --time=1 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f 01:06:35 $ docker rm -f 3795c574f79f542c8b9b9ad8c7f774755178c76721e943d22e88d74ee3daad4f [Pipeline] // withDockerContainer [Pipeline] sh 01:06:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:06:35 Stashed 1 file(s) [Pipeline] echo 01:06: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 01:06:51 Still waiting to schedule task 01:06:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:06:51 Still waiting to schedule task 01:06:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:08:17 Running on prd-centos7-docker-4c-2g-889 in /w/workspace/foundry_device-virtual-go_PR-243 [Pipeline] { [Pipeline] ws 01:08:17 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 01:08:18 The recommended git tool is: git 01:08:20 using credential edgex-jenkins-ssh 01:08:20 Cloning the remote Git repository 01:08:20 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:08:20 > git init /w/workspace/device-virtual-go/2 # timeout=10 01:08:20 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:08:20 > git --version # timeout=10 01:08:20 > git --version # 'git version 2.24.4' 01:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:20 [INFO] Currently running in a labeled security context 01:08:20 [INFO] Currently SELinux is 'enforcing' on the host 01:08:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh4905975168884113672.key 01:08:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:08:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:08:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:21 [INFO] Currently running in a labeled security context 01:08:21 [INFO] Currently SELinux is 'enforcing' on the host 01:08:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh225878416067225639.key 01:08:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:08:21 Merging remotes/origin/main commit c057a04f6cb87a8cdacff32a07698e3019c9b04b into PR head commit 56d5edf24aea449f72cf007918c6d66e1903ca7c 01:08:21 Merge succeeded, producing 56d5edf24aea449f72cf007918c6d66e1903ca7c 01:08:21 Checking out Revision 56d5edf24aea449f72cf007918c6d66e1903ca7c (PR-243) 01:08:21 > git config core.sparsecheckout # timeout=10 01:08:21 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 01:08:21 > git remote # timeout=10 01:08:21 > git config --get remote.origin.url # timeout=10 01:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:21 [INFO] Currently running in a labeled security context 01:08:21 [INFO] Currently SELinux is 'enforcing' on the host 01:08:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh8290626838616089474.key 01:08:21 > git merge c057a04f6cb87a8cdacff32a07698e3019c9b04b # timeout=10 01:08:21 > git rev-parse HEAD^{commit} # timeout=10 01:08:21 > git config core.sparsecheckout # timeout=10 01:08:21 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 01:08:25 Commit message: "build: Bump device-sdk-go/v2 to 2.0.1-dev.17" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:25 provisioning config files... 01:08:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6098768265923973759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:26 ---> docker-login.sh 01:08:26 nexus3.edgexfoundry.org:10001 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:26 Configure a credential helper to remove this warning. See 01:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:26 01:08:26 Login Succeeded 01:08:26 nexus3.edgexfoundry.org:10002 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:26 Configure a credential helper to remove this warning. See 01:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:26 01:08:26 Login Succeeded 01:08:26 nexus3.edgexfoundry.org:10003 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:26 Configure a credential helper to remove this warning. See 01:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:26 01:08:26 Login Succeeded 01:08:26 nexus3.edgexfoundry.org:10004 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:26 Configure a credential helper to remove this warning. See 01:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:26 01:08:26 Login Succeeded 01:08:26 docker.io 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:27 Configure a credential helper to remove this warning. See 01:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:27 01:08:27 Login Succeeded 01:08:27 ---> docker-login.sh ends [Pipeline] } 01:08:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:27 ========================================================= 01:08:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:08:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:08:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 01:08:27 Sending build context to Docker daemon 8.627MB 01:08:27 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:08:27 Step 2/11 : FROM ${BASE} AS builder 01:08:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:08:27 4e9f2cdf4387: Pulling fs layer 01:08:27 57d31006c564: Pulling fs layer 01:08:27 bd5ccded8296: Pulling fs layer 01:08:27 304dd3a0f381: Pulling fs layer 01:08:27 d37cda54a23b: Pulling fs layer 01:08:27 bae75c0f2455: Pulling fs layer 01:08:27 806579b3d29a: Pulling fs layer 01:08:27 c77eb801bf70: Pulling fs layer 01:08:27 6d0567d44e1a: Pulling fs layer 01:08:27 304dd3a0f381: Waiting 01:08:27 d37cda54a23b: Waiting 01:08:27 bae75c0f2455: Waiting 01:08:27 806579b3d29a: Waiting 01:08:27 c77eb801bf70: Waiting 01:08:27 6d0567d44e1a: Waiting 01:08:27 bd5ccded8296: Verifying Checksum 01:08:27 bd5ccded8296: Download complete 01:08:27 57d31006c564: Verifying Checksum 01:08:27 57d31006c564: Download complete 01:08:27 d37cda54a23b: Verifying Checksum 01:08:27 d37cda54a23b: Download complete 01:08:27 bae75c0f2455: Verifying Checksum 01:08:27 bae75c0f2455: Download complete 01:08:27 4e9f2cdf4387: Verifying Checksum 01:08:27 4e9f2cdf4387: Download complete 01:08:27 806579b3d29a: Verifying Checksum 01:08:27 806579b3d29a: Download complete 01:08:27 c77eb801bf70: Verifying Checksum 01:08:27 c77eb801bf70: Download complete 01:08:28 4e9f2cdf4387: Pull complete 01:08:28 6d0567d44e1a: Verifying Checksum 01:08:28 6d0567d44e1a: Download complete 01:08:28 57d31006c564: Pull complete 01:08:28 bd5ccded8296: Pull complete 01:08:28 304dd3a0f381: Verifying Checksum 01:08:28 304dd3a0f381: Download complete 01:08:32 304dd3a0f381: Pull complete 01:08:32 d37cda54a23b: Pull complete 01:08:32 bae75c0f2455: Pull complete 01:08:32 806579b3d29a: Pull complete 01:08:32 c77eb801bf70: Pull complete 01:08:34 6d0567d44e1a: Pull complete 01:08:34 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 01:08:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:08:34 ---> e839a31ac9d1 01:08:34 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:08:38 ---> Running in b60c4248e035 01:08:38 Removing intermediate container b60c4248e035 01:08:38 ---> f91488ec938e 01:08:38 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 01:08:38 ---> Running in 92dc1cb97196 01:08:38 Removing intermediate container 92dc1cb97196 01:08:38 ---> 1cd67be9259d 01:08:38 Step 5/11 : WORKDIR /device-virtual-go 01:08:38 ---> Running in 3cb622be7521 01:08:38 Removing intermediate container 3cb622be7521 01:08:38 ---> 5fd7e0fb7be3 01:08:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:38 ---> Running in 024df18ca1c0 01:08:38 Removing intermediate container 024df18ca1c0 01:08:38 ---> 99bd5f540c64 01:08:38 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:38 ---> Running in 476dcf4c8ab5 01:08:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:08:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:08:40 (1/3) Installing openssh-keygen (8.4_p1-r4) 01:08:40 (2/3) Installing libedit (20191231.3.1-r1) 01:08:40 (3/3) Installing openssh-client (8.4_p1-r4) 01:08:41 Executing busybox-1.32.1-r6.trigger 01:08:41 OK: 223 MiB in 55 packages 01:08:41 Removing intermediate container 476dcf4c8ab5 01:08:41 ---> 4a10a4c7def9 01:08:41 Step 8/11 : COPY . . 01:08:41 ---> e26007c5b7f3 01:08:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:41 ---> Running in 455bb3408970 01:09:20 Removing intermediate container 455bb3408970 01:09:20 ---> 06111b2139f2 01:09:20 Step 10/11 : ARG MAKE='make build' 01:09:20 ---> Running in 85b9a59c8e9f 01:09:20 Removing intermediate container 85b9a59c8e9f 01:09:20 ---> f36c9cb4a2f7 01:09:20 Step 11/11 : RUN $MAKE 01:09:20 ---> Running in 9e0a64e26376 01:09:20 noop 01:09:20 Removing intermediate container 9e0a64e26376 01:09:20 ---> 3c5e341c691d 01:09:20 Successfully built 3c5e341c691d 01:09:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:09:20 + docker inspect -f . ci-base-image-x86_64 01:09:20 . [Pipeline] withDockerContainer 01:09:20 prd-centos7-docker-4c-2g-889 does not seem to be running inside a container 01:09:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:09:21 $ docker top 409b7e0c6a6febe5fc09bd0d2dba6b2fad1686034f1473067d1df4863977d973 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:21 + go version 01:09:21 go version go1.16.8 linux/amd64 [Pipeline] } 01:09:21 $ docker stop --time=1 409b7e0c6a6febe5fc09bd0d2dba6b2fad1686034f1473067d1df4863977d973 01:09:22 $ docker rm -f 409b7e0c6a6febe5fc09bd0d2dba6b2fad1686034f1473067d1df4863977d973 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:09:23 + docker inspect -f . ci-base-image-x86_64 01:09:23 . [Pipeline] withDockerContainer 01:09:23 prd-centos7-docker-4c-2g-889 does not seem to be running inside a container 01:09:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:09:23 $ docker top 37fb24518db640e75fa433efb80fc36c51a4ce36607098c47ab65b994ee9cccd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:09:24 + go mod tidy [Pipeline] sh 01:09:24 + make test 01:09:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:09:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:09:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:09:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.354s coverage: 64.6% of statements 01:09:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:09:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:09:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:09:57 ./bin/test-attribution-txt.sh [Pipeline] } 01:09:57 $ docker stop --time=1 37fb24518db640e75fa433efb80fc36c51a4ce36607098c47ab65b994ee9cccd 01:09:59 $ docker rm -f 37fb24518db640e75fa433efb80fc36c51a4ce36607098c47ab65b994ee9cccd [Pipeline] // withDockerContainer [Pipeline] sh 01:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:09:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:10:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:01 + ls -al . 01:10:01 total 172 01:10:01 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 13 01:09 . 01:10:01 drwxrwxr-x. 4 jenkins jenkins 28 Oct 13 01:08 .. 01:10:01 -rw-rw-r--. 1 jenkins jenkins 8147 Oct 13 01:08 Attribution.txt 01:10:01 drwxrwxr-x. 2 jenkins jenkins 37 Oct 13 01:08 bin 01:10:01 -rw-rw-r--. 1 jenkins jenkins 6349 Oct 13 01:08 CHANGELOG.md 01:10:01 drwxrwxr-x. 3 jenkins jenkins 32 Oct 13 01:08 cmd 01:10:01 -rw-r--r--. 1 jenkins jenkins 46339 Oct 13 01:09 coverage.out 01:10:01 -rw-rw-r--. 1 jenkins jenkins 1951 Oct 13 01:08 Dockerfile 01:10:01 drwxrwxr-x. 8 jenkins jenkins 179 Oct 13 01:08 .git 01:10:01 drwxrwxr-x. 2 jenkins jenkins 103 Oct 13 01:08 .github 01:10:01 -rw-rw-r--. 1 jenkins jenkins 270 Oct 13 01:08 .gitignore 01:10:01 -rw-rw-r--. 1 jenkins jenkins 763 Oct 13 01:08 go.mod 01:10:01 -rw-r--r--. 1 jenkins jenkins 52158 Oct 13 01:09 go.sum 01:10:01 -rw-rw-r--. 1 jenkins jenkins 677 Oct 13 01:08 GOVERNANCE.md 01:10:01 drwxrwxr-x. 3 jenkins jenkins 20 Oct 13 01:08 internal 01:10:01 -rw-rw-r--. 1 jenkins jenkins 660 Oct 13 01:08 Jenkinsfile 01:10:01 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 13 01:08 LICENSE 01:10:01 -rw-rw-r--. 1 jenkins jenkins 999 Oct 13 01:08 Makefile 01:10:01 -rw-rw-r--. 1 jenkins jenkins 623 Oct 13 01:08 OWNERS.md 01:10:01 -rw-rw-r--. 1 jenkins jenkins 2913 Oct 13 01:08 README.md 01:10:01 -rw-rw-r--. 1 jenkins jenkins 5 Oct 13 01:06 VERSION 01:10:01 -rw-rw-r--. 1 jenkins jenkins 235 Oct 13 01:08 version.go [Pipeline] isUnix [Pipeline] sh 01:10:01 + 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=56d5edf24aea449f72cf007918c6d66e1903ca7c --label arch=amd64 --label version=0.0.0 . 01:10:01 Sending build context to Docker daemon 8.727MB 01:10:01 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 01:10:01 Step 2/25 : FROM ${BASE} AS builder 01:10:01 ---> 3c5e341c691d 01:10:01 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:10:01 ---> Running in 72cf32663675 01:10:01 Removing intermediate container 72cf32663675 01:10:01 ---> 092e56d3d36f 01:10:01 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:10:01 ---> Running in f00635a06461 01:10:01 Removing intermediate container f00635a06461 01:10:01 ---> fffc43986197 01:10:01 Step 5/25 : WORKDIR /device-virtual-go 01:10:01 ---> Running in 3f9141cbbeb4 01:10:02 Removing intermediate container 3f9141cbbeb4 01:10:02 ---> 097bb7116435 01:10:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:02 ---> Running in a32d47c79b20 01:10:02 Removing intermediate container a32d47c79b20 01:10:02 ---> cb14d6db7242 01:10:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:02 ---> Running in 44eb4a627f42 01:10:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:10:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:10:04 OK: 223 MiB in 55 packages 01:10:04 Removing intermediate container 44eb4a627f42 01:10:04 ---> 4d8aee91275f 01:10:04 Step 8/25 : COPY . . 01:10:04 ---> 65eddbb516d5 01:10:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:04 ---> Running in bdf2458736ba 01:10:05 Removing intermediate container bdf2458736ba 01:10:05 ---> b68a2ba5c0b9 01:10:05 Step 10/25 : ARG MAKE='make build' 01:10:05 ---> Running in 25c3440194d3 01:10:05 Removing intermediate container 25c3440194d3 01:10:05 ---> 2a24bdcb50fd 01:10:05 Step 11/25 : RUN $MAKE 01:10:05 ---> Running in a9b282348732 01:10:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:10:23 Removing intermediate container a9b282348732 01:10:23 ---> 663df4641dde 01:10:23 Step 12/25 : FROM alpine:3.14 01:10:23 3.14: Pulling from library/alpine 01:10:24 a0d0a0d46f8b: Pulling fs layer 01:10:24 a0d0a0d46f8b: Verifying Checksum 01:10:24 a0d0a0d46f8b: Download complete 01:10:24 a0d0a0d46f8b: Pull complete 01:10:24 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:10:24 Status: Downloaded newer image for alpine:3.14 01:10:24 ---> 14119a10abf4 01:10:24 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:10:24 ---> Running in 344cb581a99c 01:10:24 Removing intermediate container 344cb581a99c 01:10:24 ---> 52f12a820629 01:10:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:24 ---> Running in 967151d107dc 01:10:25 Removing intermediate container 967151d107dc 01:10:25 ---> 99db3e82a688 01:10:25 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 01:10:25 ---> Running in ff1031b33b64 01:10:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:10:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:10:26 (1/6) Installing dumb-init (1.2.5-r1) 01:10:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:10:26 (3/6) Installing libsodium (1.0.18-r0) 01:10:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:10:27 (5/6) Installing libzmq (4.3.4-r0) 01:10:27 (6/6) Installing zeromq (4.3.4-r0) 01:10:27 Executing busybox-1.33.1-r3.trigger 01:10:27 OK: 8 MiB in 20 packages 01:10:27 Removing intermediate container ff1031b33b64 01:10:27 ---> 71f7765c2df4 01:10:27 Step 16/25 : WORKDIR / 01:10:27 ---> Running in 3daadf88f528 01:10:27 Removing intermediate container 3daadf88f528 01:10:27 ---> a777ac2c117f 01:10:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:10:27 ---> 8b2e26b90fff 01:10:27 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:10:28 ---> 175d5ccd7015 01:10:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:10:28 ---> ced4ba4e7033 01:10:28 Step 20/25 : EXPOSE 59900 01:10:28 ---> Running in 3aee633448ab 01:10:28 Removing intermediate container 3aee633448ab 01:10:28 ---> ddb7912d3ddb 01:10:28 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:10:28 ---> Running in 0063d6304d48 01:10:28 Removing intermediate container 0063d6304d48 01:10:28 ---> 0f11375b4732 01:10:28 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:10:28 ---> Running in a11fa86f5930 01:10:28 Removing intermediate container a11fa86f5930 01:10:28 ---> 5c8f7f590143 01:10:28 Step 23/25 : LABEL arch=amd64 01:10:28 ---> Running in e2d40f0750e0 01:10:28 Removing intermediate container e2d40f0750e0 01:10:28 ---> eb7c7330e498 01:10:28 Step 24/25 : LABEL git_sha=56d5edf24aea449f72cf007918c6d66e1903ca7c 01:10:28 ---> Running in 16eb64ec42e7 01:10:28 Removing intermediate container 16eb64ec42e7 01:10:28 ---> eb0c838954c7 01:10:28 Step 25/25 : LABEL version=0.0.0 01:10:28 ---> Running in 09936da706ee 01:10:29 Removing intermediate container 09936da706ee 01:10:29 ---> d2223a08f7ed 01:10:29 [Warning] One or more build-args [ARCH] were not consumed 01:10:29 Successfully built d2223a08f7ed 01:10:29 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 01:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:29 01:10:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:10:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:30 latest: Pulling from edgex-lftools-log-publisher 01:10:30 b4d181a07f80: Pulling fs layer 01:10:30 a1111a8f2ec3: Pulling fs layer 01:10:30 ed53099fbce6: Pulling fs layer 01:10:30 dc539afda2c1: Pulling fs layer 01:10:30 77bc0d833cb6: Pulling fs layer 01:10:30 9065ff56babe: Pulling fs layer 01:10:30 d287ab97295c: Pulling fs layer 01:10:30 77bc0d833cb6: Waiting 01:10:30 9065ff56babe: Waiting 01:10:30 d287ab97295c: Waiting 01:10:30 dc539afda2c1: Waiting 01:10:30 a1111a8f2ec3: Verifying Checksum 01:10:30 a1111a8f2ec3: Download complete 01:10:30 dc539afda2c1: Verifying Checksum 01:10:30 dc539afda2c1: Download complete 01:10:30 ed53099fbce6: Verifying Checksum 01:10:30 ed53099fbce6: Download complete 01:10:30 77bc0d833cb6: Verifying Checksum 01:10:30 77bc0d833cb6: Download complete 01:10:30 9065ff56babe: Verifying Checksum 01:10:30 9065ff56babe: Download complete 01:10:30 b4d181a07f80: Verifying Checksum 01:10:30 b4d181a07f80: Download complete 01:10:31 d287ab97295c: Verifying Checksum 01:10:31 d287ab97295c: Download complete 01:10:31 b4d181a07f80: Pull complete 01:10:32 a1111a8f2ec3: Pull complete 01:10:32 ed53099fbce6: Pull complete 01:10:32 dc539afda2c1: Pull complete 01:10:33 77bc0d833cb6: Pull complete 01:10:33 9065ff56babe: Pull complete 01:10:38 d287ab97295c: Pull complete 01:10:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:10:38 prd-centos7-docker-4c-2g-889 does not seem to be running inside a container 01:10:38 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:10:41 $ docker top 37806ebe3043c50ec98716dd2fab8e0212613e2f7544984d6aeb663928b02d9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:41 ---> job-cost.sh 01:10:41 lf-activate-venv: SKIPPING 01:10:41 INFO: No Stack... 01:10:41 INFO: Retrieving Pricing Info for: v3-standard-2 01:10:42 INFO: Archiving Costs [Pipeline] sh 01:10:42 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 01:10:42 + cut -d, -f6 [Pipeline] lock 01:10:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] 01:10:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] did not exist. Created. 01:10:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:42 + echo total: 0.05999999865889549 [Pipeline] stash 01:10:42 Stashed 1 file(s) [Pipeline] } 01:10:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:42 $ docker stop --time=1 37806ebe3043c50ec98716dd2fab8e0212613e2f7544984d6aeb663928b02d9d 01:10:44 $ docker rm -f 37806ebe3043c50ec98716dd2fab8e0212613e2f7544984d6aeb663928b02d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:14:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-894 in /w/workspace/foundry_device-virtual-go_PR-243 [Pipeline] { [Pipeline] ws 01:14:54 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 01:14:54 The recommended git tool is: git 01:15:00 using credential edgex-jenkins-ssh 01:15:00 Cloning the remote Git repository 01:15:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:15:00 > git init /w/workspace/device-virtual-go/2 # timeout=10 01:15:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:15:00 > git --version # timeout=10 01:15:00 > git --version # 'git version 2.17.1' 01:15:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:04 Merging remotes/origin/main commit c057a04f6cb87a8cdacff32a07698e3019c9b04b into PR head commit 56d5edf24aea449f72cf007918c6d66e1903ca7c 01:15:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:15:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:15:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:15:04 > git config core.sparsecheckout # timeout=10 01:15:04 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 01:15:04 Merge succeeded, producing 56d5edf24aea449f72cf007918c6d66e1903ca7c 01:15:04 Checking out Revision 56d5edf24aea449f72cf007918c6d66e1903ca7c (PR-243) 01:15:04 > git remote # timeout=10 01:15:04 > git config --get remote.origin.url # timeout=10 01:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:04 > git merge c057a04f6cb87a8cdacff32a07698e3019c9b04b # timeout=10 01:15:04 > git rev-parse HEAD^{commit} # timeout=10 01:15:04 > git config core.sparsecheckout # timeout=10 01:15:04 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 01:15:09 Commit message: "build: Bump device-sdk-go/v2 to 2.0.1-dev.17" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:09 provisioning config files... 01:15:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5389830321932309980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:10 ---> docker-login.sh 01:15:10 nexus3.edgexfoundry.org:10001 01:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:12 Configure a credential helper to remove this warning. See 01:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:12 01:15:12 Login Succeeded 01:15:12 nexus3.edgexfoundry.org:10002 01:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:13 Configure a credential helper to remove this warning. See 01:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:13 01:15:13 Login Succeeded 01:15:13 nexus3.edgexfoundry.org:10003 01:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:13 Configure a credential helper to remove this warning. See 01:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:13 01:15:13 Login Succeeded 01:15:13 nexus3.edgexfoundry.org:10004 01:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:14 Configure a credential helper to remove this warning. See 01:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:14 01:15:14 Login Succeeded 01:15:14 docker.io 01:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:15 Configure a credential helper to remove this warning. See 01:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:15 01:15:15 Login Succeeded 01:15:15 ---> docker-login.sh ends [Pipeline] } 01:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:15 ========================================================= 01:15:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:15:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:15:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 01:15:16 Sending build context to Docker daemon 8.626MB 01:15:16 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:15:16 Step 2/11 : FROM ${BASE} AS builder 01:15:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:15:16 bbf911997326: Pulling fs layer 01:15:16 58ec367f63d7: Pulling fs layer 01:15:16 1b4a6ffa7d45: Pulling fs layer 01:15:16 fc5181fea5dc: Pulling fs layer 01:15:16 9c418107303f: Pulling fs layer 01:15:16 284eca6f2348: Pulling fs layer 01:15:16 842844d905b1: Pulling fs layer 01:15:16 901a3a57568e: Pulling fs layer 01:15:16 9c418107303f: Waiting 01:15:16 284eca6f2348: Waiting 01:15:16 842844d905b1: Waiting 01:15:16 901a3a57568e: Waiting 01:15:16 fc5181fea5dc: Waiting 01:15:16 1b4a6ffa7d45: Verifying Checksum 01:15:16 1b4a6ffa7d45: Download complete 01:15:16 58ec367f63d7: Download complete 01:15:16 9c418107303f: Verifying Checksum 01:15:16 9c418107303f: Download complete 01:15:16 284eca6f2348: Verifying Checksum 01:15:16 284eca6f2348: Download complete 01:15:16 842844d905b1: Download complete 01:15:16 bbf911997326: Verifying Checksum 01:15:16 bbf911997326: Download complete 01:15:17 bbf911997326: Pull complete 01:15:18 58ec367f63d7: Pull complete 01:15:18 1b4a6ffa7d45: Pull complete 01:15:20 901a3a57568e: Verifying Checksum 01:15:20 901a3a57568e: Download complete 01:15:20 fc5181fea5dc: Verifying Checksum 01:15:20 fc5181fea5dc: Download complete 01:15:30 fc5181fea5dc: Pull complete 01:15:30 9c418107303f: Pull complete 01:15:30 284eca6f2348: Pull complete 01:15:30 842844d905b1: Pull complete 01:15:36 901a3a57568e: Pull complete 01:15:36 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 01:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:15:36 ---> 72ade6ffb461 01:15:36 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:15:44 ---> Running in 856444e746df 01:15:45 Removing intermediate container 856444e746df 01:15:45 ---> 8acd50c3ed31 01:15:45 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 01:15:45 ---> Running in 1ab3e7c41697 01:15:45 Removing intermediate container 1ab3e7c41697 01:15:45 ---> bc8be607fddc 01:15:45 Step 5/11 : WORKDIR /device-virtual-go 01:15:45 ---> Running in 6880b5c8f943 01:15:46 Removing intermediate container 6880b5c8f943 01:15:46 ---> 9201f95902b7 01:15:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:46 ---> Running in b39f102b6866 01:15:49 Removing intermediate container b39f102b6866 01:15:49 ---> 6b8d97e8db51 01:15:49 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:49 ---> Running in 70bba13b77aa 01:15:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:15:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:15:52 (1/3) Installing openssh-keygen (8.4_p1-r4) 01:15:52 (2/3) Installing libedit (20191231.3.1-r1) 01:15:52 (3/3) Installing openssh-client (8.4_p1-r4) 01:15:52 Executing busybox-1.32.1-r6.trigger 01:15:52 OK: 222 MiB in 55 packages 01:15:54 Removing intermediate container 70bba13b77aa 01:15:54 ---> a70caadf723c 01:15:54 Step 8/11 : COPY . . 01:15:55 ---> 67b745fe6208 01:15:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:55 ---> Running in f02529992fe5 01:17:32 Removing intermediate container f02529992fe5 01:17:32 ---> 0c39154b89c3 01:17:32 Step 10/11 : ARG MAKE='make build' 01:17:32 ---> Running in b38001162d31 01:17:32 Removing intermediate container b38001162d31 01:17:32 ---> 82968012099c 01:17:32 Step 11/11 : RUN $MAKE 01:17:32 ---> Running in 6d176bcb4477 01:17:33 noop 01:17:34 Removing intermediate container 6d176bcb4477 01:17:34 ---> 76047aa80009 01:17:34 Successfully built 76047aa80009 01:17:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:17:34 + docker inspect -f . ci-base-image-arm64 01:17:34 . [Pipeline] withDockerContainer 01:17:34 prd-ubuntu18.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 01:17:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:36 $ docker top 0f488e1f12a903010ccb2ed66b3fa3ad4512807b6af33bb92d3162a9ea846ad7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:37 + go version 01:17:37 go version go1.16.8 linux/arm64 [Pipeline] } 01:17:37 $ docker stop --time=1 0f488e1f12a903010ccb2ed66b3fa3ad4512807b6af33bb92d3162a9ea846ad7 01:17:39 $ docker rm -f 0f488e1f12a903010ccb2ed66b3fa3ad4512807b6af33bb92d3162a9ea846ad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:17:39 + docker inspect -f . ci-base-image-arm64 01:17:39 . [Pipeline] withDockerContainer 01:17:40 prd-ubuntu18.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 01:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:41 $ docker top 01b897fdecd33621949faaffb2b36848e54e1dd26b987d175e7a83dac9ff14af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:17:42 + go mod tidy [Pipeline] sh 01:17:44 + make test 01:17:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:17:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:18:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:18:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.702s coverage: 64.6% of statements 01:18:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:19:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:19:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:19:27 ./bin/test-attribution-txt.sh [Pipeline] } 01:19:27 $ docker stop --time=1 01b897fdecd33621949faaffb2b36848e54e1dd26b987d175e7a83dac9ff14af 01:19:29 $ docker rm -f 01b897fdecd33621949faaffb2b36848e54e1dd26b987d175e7a83dac9ff14af [Pipeline] // withDockerContainer [Pipeline] sh 01:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:19:30 Warning: overwriting stash ‘coverage-report’ 01:19:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:19:31 + ls -al . 01:19:31 total 196 01:19:31 drwxrwxr-x 7 jenkins jenkins 4096 Oct 13 01:19 . 01:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 01:15 .. 01:19:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 01:15 .git 01:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:15 .github 01:19:31 -rw-rw-r-- 1 jenkins jenkins 270 Oct 13 01:15 .gitignore 01:19:31 -rw-rw-r-- 1 jenkins jenkins 8147 Oct 13 01:15 Attribution.txt 01:19:31 -rw-rw-r-- 1 jenkins jenkins 6349 Oct 13 01:15 CHANGELOG.md 01:19:31 -rw-rw-r-- 1 jenkins jenkins 1951 Oct 13 01:15 Dockerfile 01:19:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 01:15 GOVERNANCE.md 01:19:31 -rw-rw-r-- 1 jenkins jenkins 660 Oct 13 01:15 Jenkinsfile 01:19:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 01:15 LICENSE 01:19:31 -rw-rw-r-- 1 jenkins jenkins 999 Oct 13 01:15 Makefile 01:19:31 -rw-rw-r-- 1 jenkins jenkins 623 Oct 13 01:15 OWNERS.md 01:19:31 -rw-rw-r-- 1 jenkins jenkins 2913 Oct 13 01:15 README.md 01:19:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 01:06 VERSION 01:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:15 bin 01:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:15 cmd 01:19:31 -rw-r--r-- 1 jenkins jenkins 46339 Oct 13 01:18 coverage.out 01:19:31 -rw-rw-r-- 1 jenkins jenkins 763 Oct 13 01:15 go.mod 01:19:31 -rw-r--r-- 1 jenkins jenkins 52158 Oct 13 01:17 go.sum 01:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:15 internal 01:19:31 -rw-rw-r-- 1 jenkins jenkins 235 Oct 13 01:15 version.go [Pipeline] isUnix [Pipeline] sh 01:19:32 + 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=56d5edf24aea449f72cf007918c6d66e1903ca7c --label arch=arm64 --label version=0.0.0 . 01:19:32 Sending build context to Docker daemon 8.726MB 01:19:32 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 01:19:32 Step 2/25 : FROM ${BASE} AS builder 01:19:32 ---> 76047aa80009 01:19:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:19:33 ---> Running in 87210b2e3fe1 01:19:33 Removing intermediate container 87210b2e3fe1 01:19:33 ---> ecab70dc51b3 01:19:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:19:33 ---> Running in 67b99e5026cd 01:19:34 Removing intermediate container 67b99e5026cd 01:19:34 ---> 2635733db658 01:19:34 Step 5/25 : WORKDIR /device-virtual-go 01:19:34 ---> Running in 38c2ba20dc7c 01:19:34 Removing intermediate container 38c2ba20dc7c 01:19:34 ---> d826dfc72d9a 01:19:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:19:35 ---> Running in 9d9fda0fcbf7 01:19:37 Removing intermediate container 9d9fda0fcbf7 01:19:37 ---> d1074802e5aa 01:19:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:37 ---> Running in 7fd60c8e303c 01:19:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:19:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:19:40 OK: 222 MiB in 55 packages 01:19:41 Removing intermediate container 7fd60c8e303c 01:19:41 ---> 986591a7b239 01:19:41 Step 8/25 : COPY . . 01:19:42 ---> 7f2bf8b8a5b0 01:19:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:42 ---> Running in af33e4fcdd4b 01:19:46 Removing intermediate container af33e4fcdd4b 01:19:46 ---> 2f44d6c590a7 01:19:46 Step 10/25 : ARG MAKE='make build' 01:19:46 ---> Running in 05079b0ef81c 01:19:46 Removing intermediate container 05079b0ef81c 01:19:46 ---> 08fd5f8b4ccd 01:19:46 Step 11/25 : RUN $MAKE 01:19:46 ---> Running in 9f915d2c7e06 01:19:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:20:44 Removing intermediate container 9f915d2c7e06 01:20:44 ---> 80e6e4c1c83a 01:20:44 Step 12/25 : FROM alpine:3.14 01:20:44 3.14: Pulling from library/alpine 01:20:44 552d1f2373af: Pulling fs layer 01:20:44 552d1f2373af: Verifying Checksum 01:20:44 552d1f2373af: Download complete 01:20:44 552d1f2373af: Pull complete 01:20:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:20:44 Status: Downloaded newer image for alpine:3.14 01:20:44 ---> bb3de5531c18 01:20:44 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:20:44 ---> Running in f85b38cf8949 01:20:44 Removing intermediate container f85b38cf8949 01:20:44 ---> 41893ae1f3fe 01:20:44 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:20:44 ---> Running in 29f3026b9157 01:20:44 Removing intermediate container 29f3026b9157 01:20:44 ---> 812e1372bd00 01:20:44 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 01:20:45 ---> Running in c5ead5042e9e 01:20:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:20:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:20:48 (1/6) Installing dumb-init (1.2.5-r1) 01:20:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:20:48 (3/6) Installing libsodium (1.0.18-r0) 01:20:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:20:48 (5/6) Installing libzmq (4.3.4-r0) 01:20:48 (6/6) Installing zeromq (4.3.4-r0) 01:20:48 Executing busybox-1.33.1-r3.trigger 01:20:48 OK: 8 MiB in 20 packages 01:20:50 Removing intermediate container c5ead5042e9e 01:20:50 ---> 1bc4240a9801 01:20:50 Step 16/25 : WORKDIR / 01:20:50 ---> Running in c10b0883fe0d 01:20:50 Removing intermediate container c10b0883fe0d 01:20:50 ---> 808ef62e7edf 01:20:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:20:51 ---> 8dddcf4b7e8e 01:20:51 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:20:52 ---> e512d96c0c76 01:20:52 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:20:54 ---> 0d0279a46d75 01:20:54 Step 20/25 : EXPOSE 59900 01:20:54 ---> Running in 8e46cdd2d293 01:20:54 Removing intermediate container 8e46cdd2d293 01:20:54 ---> 893373e8027a 01:20:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:20:55 ---> Running in f66f4ab9ba53 01:20:55 Removing intermediate container f66f4ab9ba53 01:20:55 ---> d005c2a2fd06 01:20:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:20:55 ---> Running in b19812b47a85 01:20:56 Removing intermediate container b19812b47a85 01:20:56 ---> 65db6070de9e 01:20:56 Step 23/25 : LABEL arch=arm64 01:20:56 ---> Running in 63bef0e2b43f 01:20:56 Removing intermediate container 63bef0e2b43f 01:20:56 ---> 43eda8167cf6 01:20:56 Step 24/25 : LABEL git_sha=56d5edf24aea449f72cf007918c6d66e1903ca7c 01:20:56 ---> Running in 50ae85299f22 01:20:57 Removing intermediate container 50ae85299f22 01:20:57 ---> 05bee1a105cd 01:20:57 Step 25/25 : LABEL version=0.0.0 01:20:57 ---> Running in d1e87174a1fd 01:20:58 Removing intermediate container d1e87174a1fd 01:20:58 ---> b488d0002dc8 01:20:58 [Warning] One or more build-args [ARCH] were not consumed 01:20:58 Successfully built b488d0002dc8 01:20:58 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 01:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:58 01:20:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:20:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:59 arm64: Pulling from edgex-lftools-log-publisher 01:20:59 448f6bf000e3: Pulling fs layer 01:20:59 f757da607395: Pulling fs layer 01:20:59 05883995daec: Pulling fs layer 01:20:59 8603b9c90790: Pulling fs layer 01:20:59 1560dd03e051: Pulling fs layer 01:20:59 27f5ce0e4adf: Pulling fs layer 01:20:59 c2d8d7efcc4b: Pulling fs layer 01:20:59 1560dd03e051: Waiting 01:20:59 27f5ce0e4adf: Waiting 01:20:59 c2d8d7efcc4b: Waiting 01:20:59 8603b9c90790: Waiting 01:20:59 f757da607395: Verifying Checksum 01:20:59 f757da607395: Download complete 01:20:59 8603b9c90790: Download complete 01:21:00 1560dd03e051: Verifying Checksum 01:21:00 1560dd03e051: Download complete 01:21:00 27f5ce0e4adf: Verifying Checksum 01:21:00 27f5ce0e4adf: Download complete 01:21:00 05883995daec: Verifying Checksum 01:21:00 05883995daec: Download complete 01:21:01 448f6bf000e3: Verifying Checksum 01:21:01 448f6bf000e3: Download complete 01:21:03 c2d8d7efcc4b: Verifying Checksum 01:21:03 c2d8d7efcc4b: Download complete 01:21:04 448f6bf000e3: Pull complete 01:21:05 f757da607395: Pull complete 01:21:06 05883995daec: Pull complete 01:21:06 8603b9c90790: Pull complete 01:21:07 1560dd03e051: Pull complete 01:21:08 27f5ce0e4adf: Pull complete 01:21:23 c2d8d7efcc4b: Pull complete 01:21:23 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:21:23 prd-ubuntu18.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 01:21:23 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:21:29 $ docker top 327c520549f1a3d770b0b55ba3e0036dbd79432b02083b0af22f32bc7e53c2f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:30 ---> job-cost.sh 01:21:30 lf-activate-venv: SKIPPING 01:21:30 INFO: No Stack... 01:21:31 INFO: Retrieving Pricing Info for: v3-standard-4 01:21:31 INFO: Archiving Costs [Pipeline] sh 01:21:32 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 01:21:32 + cut -d, -f6 [Pipeline] lock 01:21:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] 01:21:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] did not exist. Created. 01:21:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:21:33 /w/workspace/device-virtual-go/2@tmp/durable-b90dbb89/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-b90dbb89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:21:33 + echo total: 0.10999999940395355 [Pipeline] stash 01:21:33 Warning: overwriting stash ‘stack-cost’ 01:21:33 Stashed 1 file(s) [Pipeline] } 01:21:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-243-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:21:33 $ docker stop --time=1 327c520549f1a3d770b0b55ba3e0036dbd79432b02083b0af22f32bc7e53c2f3 01:21:35 $ docker rm -f 327c520549f1a3d770b0b55ba3e0036dbd79432b02083b0af22f32bc7e53c2f3 [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 01:21:36 provisioning config files... 01:21:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-243@tmp/config9013576381526536629tmp [Pipeline] { [Pipeline] sh 01:21:36 + set +x 01:21:36 + curl -s https://codecov.io/bash 01:21:36 + bash -s -- 01:21:36 01:21:36 _____ _ 01:21:36 / ____| | | 01:21:36 | | ___ __| | ___ ___ _____ __ 01:21:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:21:36 | |___| (_) | (_| | __/ (_| (_) \ V / 01:21:36 \_____\___/ \__,_|\___|\___\___/ \_/ 01:21:36 Bash-1.0.6 01:21:36 01:21:36 01:21:36 ==> git version 2.24.4 found 01:21:36 ==> 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 01:21:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:21:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:21:36 ==> Jenkins CI detected. 01:21:36 current dir:  /w/workspace/foundry_device-virtual-go_PR-243 01:21:36 project root: . 01:21:36 --> token set from env 01:21:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:21:36 ==> Running gcov in . (disable via -X gcov) 01:21:36 ==> Python coveragepy not found 01:21:36 ==> Searching for coverage reports in: 01:21:36 + . 01:21:36 -> Found 1 reports 01:21:36 ==> Detecting git/mercurial file structure 01:21:36 ==> Reading reports 01:21:36 + ./coverage.out bytes=46339 01:21:36 ==> Appending adjustments 01:21:36 https://docs.codecov.io/docs/fixing-reports 01:21:36 + Found adjustments 01:21:36 ==> Gzipping contents 01:21:36 8.0K /tmp/codecov.UiYIWj.gz 01:21:36 ==> Uploading reports 01:21:36 url: https://codecov.io 01:21:36 query: branch=PR-243&commit=56d5edf24aea449f72cf007918c6d66e1903ca7c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-243%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=243&job=&cmd_args= 01:21:36 -> Pinging Codecov 01:21:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-243&commit=56d5edf24aea449f72cf007918c6d66e1903ca7c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-243%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=243&job=&cmd_args= 01:21:37 -> Uploading to 01:21:37 https://storage.googleapis.com/codecov/v4/raw/2021-10-13/5E52B4B073DB2E39498172D8E973AA87/56d5edf24aea449f72cf007918c6d66e1903ca7c/03d6bee9-37df-4466-ba7d-48a6c46d48be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211013T012137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41485d3b927e4014145c0b294fc0eaff223c90b78a27bc7e6793dba33a091e30 01:21:37 % Total % Received % Xferd Average Speed Time Time Time Current 01:21:37 Dload Upload Total Spent Left Speed 01:21:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5510 0 0 100 5510 0 15979 --:--:-- --:--:-- --:--:-- 15971 100 5510 0 0 100 5510 0 15970 --:--:-- --:--:-- --:--:-- 15971 01:21:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] } 01:21:37 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 01:21:39 + '[' -d /w/workspace/foundry_device-virtual-go_PR-243/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:21:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:21:39 ---> package-listing.sh 01:21:39 ++ facter osfamily 01:21:39 ++ tr '[:upper:]' '[:lower:]' 01:21:40 + OS_FAMILY=redhat 01:21:40 + workspace=/w/workspace/foundry_device-virtual-go_PR-243 01:21:40 + START_PACKAGES=/tmp/packages_start.txt 01:21:40 + END_PACKAGES=/tmp/packages_end.txt 01:21:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:21:40 + PACKAGES=/tmp/packages_start.txt 01:21:40 + '[' /w/workspace/foundry_device-virtual-go_PR-243 ']' 01:21:40 + PACKAGES=/tmp/packages_end.txt 01:21:40 + case "${OS_FAMILY}" in 01:21:40 + rpm -qa 01:21:40 + sort 01:21:40 + '[' -f /tmp/packages_start.txt ']' 01:21:40 + '[' -f /tmp/packages_end.txt ']' 01:21:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:21:40 + '[' /w/workspace/foundry_device-virtual-go_PR-243 ']' 01:21:40 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-243/archives/ 01:21:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-243/archives/ [Pipeline] echo 01:21:40 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-243/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:21:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:41 01:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:41 latest: Pulling from edgex-lftools-log-publisher 01:21:41 b4d181a07f80: Pulling fs layer 01:21:41 a1111a8f2ec3: Pulling fs layer 01:21:41 ed53099fbce6: Pulling fs layer 01:21:41 dc539afda2c1: Pulling fs layer 01:21:41 77bc0d833cb6: Pulling fs layer 01:21:41 9065ff56babe: Pulling fs layer 01:21:41 d287ab97295c: Pulling fs layer 01:21:41 77bc0d833cb6: Waiting 01:21:41 9065ff56babe: Waiting 01:21:41 d287ab97295c: Waiting 01:21:41 dc539afda2c1: Waiting 01:21:41 a1111a8f2ec3: Verifying Checksum 01:21:41 a1111a8f2ec3: Download complete 01:21:41 dc539afda2c1: Verifying Checksum 01:21:41 dc539afda2c1: Download complete 01:21:41 ed53099fbce6: Verifying Checksum 01:21:41 ed53099fbce6: Download complete 01:21:41 9065ff56babe: Verifying Checksum 01:21:41 9065ff56babe: Download complete 01:21:41 77bc0d833cb6: Verifying Checksum 01:21:41 77bc0d833cb6: Download complete 01:21:42 b4d181a07f80: Verifying Checksum 01:21:42 b4d181a07f80: Download complete 01:21:42 d287ab97295c: Verifying Checksum 01:21:42 d287ab97295c: Download complete 01:21:43 b4d181a07f80: Pull complete 01:21:43 a1111a8f2ec3: Pull complete 01:21:44 ed53099fbce6: Pull complete 01:21:44 dc539afda2c1: Pull complete 01:21:44 77bc0d833cb6: Pull complete 01:21:44 9065ff56babe: Pull complete 01:21:50 d287ab97295c: Pull complete 01:21:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:21:50 prd-centos7-docker-4c-2g-887 does not seem to be running inside a container 01:21:50 $ 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-243/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-243 -v /w/workspace/foundry_device-virtual-go_PR-243:/w/workspace/foundry_device-virtual-go_PR-243:rw,z -v /w/workspace/foundry_device-virtual-go_PR-243@tmp:/w/workspace/foundry_device-virtual-go_PR-243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:52 $ docker top 77e655ebe17ccb04a2ceaf01267496221251b4fed145f70cf572f40cf5169e6f -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:52 + touch /tmp/pre-build-complete [Pipeline] sh 01:21:53 + mkdir -p /var/log/sysstat [Pipeline] sh 01:21:53 + ls /var/log/sa-host 01:21:53 + sadf -c /var/log/sa-host/sa13 01:21:53 file_magic: OK 01:21:53 HZ: Using current value: 100 01:21:53 file_header: OK 01:21:53 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 01:21:53 Statistics: 01:21:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:21:53 File successfully converted to sysstat format version 12.0.3 01:21:53 + sadf -c /var/log/sa-host/sa30 01:21:53 file_magic: OK 01:21:53 HZ: Using current value: 100 01:21:53 file_header: OK 01:21:53 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 01:21:53 Statistics: 01:21:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:21:53 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:53 provisioning config files... 01:21:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-243@tmp/config369503102409550646tmp [Pipeline] { [Pipeline] echo 01:21:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:21:54 ---> create-netrc.sh [Pipeline] } 01:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:21:54 ---> python-tools-install.sh [Pipeline] echo 01:21:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:21:54 ---> sudo-logs.sh 01:21:54 Archiving 'sudo' log.. 01:21:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-887.novalocal: Name or service not known 01:21:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-887.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:21:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:21:55 ---> job-cost.sh 01:21:55 lf-activate-venv: SKIPPING 01:21:55 DEBUG: total: 0.10999999940395355 01:21:55 INFO: Retrieving Stack Cost... 01:22:17 INFO: Retrieving Pricing Info for: v3-standard-2 01:22:17 INFO: Archiving Costs [Pipeline] echo 01:22:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:22:17 ---> logs-deploy.sh 01:22:17 lf-activate-venv: SKIPPING 01:22:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-243/2 01:22:17 INFO: archiving workspace using pattern(s): 01:22:18 Archives upload complete. 01:22:18 INFO: archiving logs to Nexus