Pull request #242 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 56d5edf24aea449f72cf007918c6d66e1903ca7c+c057a04f6cb87a8cdacff32a07698e3019c9b04b (662fa1fe8e136aa9d2b91436e3c47e630fd93b4c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8612498733542046961.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-ssh7689151413968076399.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-242/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-242/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4457576259937151292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-242/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2634174473884041982.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5441516941370508772.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-242/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-242/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7803350151476798848.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-622 in /w/workspace/foundry_device-virtual-go_PR-242 [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-242 # 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-242@tmp/jenkins-gitclient-ssh1226968127875661456.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-242@tmp/jenkins-gitclient-ssh8415798278999036015.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/242/head:refs/remotes/origin/PR-242 +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-242) > 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-242@tmp/jenkins-gitclient-ssh8283996526546851948.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" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:52 ========================================================= 07:51:52 EdgeX Global Pipelines Version Info 07:51:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:54 ------------------- 07:51:54 stable info: 07:51:54 ------------------- 07:51:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:51:54 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 07:51:54 Message: update stable to v1.0.209 07:51:54 ------------------- 07:51:54 experimental info: 07:51:54 ------------------- 07:51:54 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:54 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 07:51:54 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:51:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:51:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:51:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:51:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:51:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-242 [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-242 [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-242 [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] echo 07:51:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56d5edf [Pipeline] echo 07:51:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:56 provisioning config files... 07:51:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-242@tmp/config5768782207571805507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:56 ---> docker-login.sh 07:51:56 nexus3.edgexfoundry.org:10001 07:51:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:56 Configure a credential helper to remove this warning. See 07:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:56 07:51:56 Login Succeeded 07:51:56 nexus3.edgexfoundry.org:10002 07:51:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:56 Configure a credential helper to remove this warning. See 07:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:56 07:51:56 Login Succeeded 07:51:56 nexus3.edgexfoundry.org:10003 07:51:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:56 Configure a credential helper to remove this warning. See 07:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:56 07:51:56 Login Succeeded 07:51:56 nexus3.edgexfoundry.org:10004 07:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:57 Configure a credential helper to remove this warning. See 07:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:57 07:51:57 Login Succeeded 07:51:57 docker.io 07:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:57 Configure a credential helper to remove this warning. See 07:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:57 07:51:57 Login Succeeded 07:51:57 ---> docker-login.sh ends [Pipeline] } 07:51:57 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 07:51:57 + git log --format=format:%s -1 56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] echo 07:51:58 GIT_COMMIT: 56d5edf24aea449f72cf007918c6d66e1903ca7c, Commit Message: build: Bump device-sdk-go/v2 to 2.0.1-dev.17 [Pipeline] echo 07:51:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:51:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:59 07:51:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:51:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:59 latest: Pulling from edgex-devops/git-semver 07:51:59 a0d0a0d46f8b: Pulling fs layer 07:51:59 3e5f54012d9b: Pulling fs layer 07:51:59 4c7163046ea9: Pulling fs layer 07:51:59 0c2d73faf560: Pulling fs layer 07:51:59 0c2d73faf560: Waiting 07:51:59 3e5f54012d9b: Verifying Checksum 07:51:59 3e5f54012d9b: Download complete 07:51:59 a0d0a0d46f8b: Verifying Checksum 07:51:59 a0d0a0d46f8b: Download complete 07:51:59 0c2d73faf560: Verifying Checksum 07:51:59 0c2d73faf560: Download complete 07:51:59 4c7163046ea9: Verifying Checksum 07:51:59 4c7163046ea9: Download complete 07:51:59 a0d0a0d46f8b: Pull complete 07:51:59 3e5f54012d9b: Pull complete 07:52:00 4c7163046ea9: Pull complete 07:52:00 0c2d73faf560: Pull complete 07:52:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:52:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:52:00 prd-centos7-docker-4c-2g-622 does not seem to be running inside a container 07:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-242 -v /w/workspace/foundry_device-virtual-go_PR-242:/w/workspace/foundry_device-virtual-go_PR-242:rw,z -v /w/workspace/foundry_device-virtual-go_PR-242@tmp:/w/workspace/foundry_device-virtual-go_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:52:01 $ docker top 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:01 [ssh-agent] Looking for ssh-agent implementation... 07:52:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:01 $ docker exec 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 ssh-agent 07:52:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnbeGdc/agent.13 07:52:01 SSH_AGENT_PID=19 07:52:01 Running ssh-add (command line suppressed) 07:52:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-242@tmp/private_key_3233774857719446424.key (/w/workspace/foundry_device-virtual-go_PR-242@tmp/private_key_3233774857719446424.key) 07:52:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:02 + git tag --points-at HEAD [Pipeline] } 07:52:02 $ docker exec --env ******** --env ******** 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 ssh-agent -k 07:52:02 unset SSH_AUTH_SOCK; 07:52:02 unset SSH_AGENT_PID; 07:52:02 echo Agent pid 19 killed; 07:52:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:52:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:02 [ssh-agent] Looking for ssh-agent implementation... 07:52:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:02 $ docker exec 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 ssh-agent 07:52:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXafImKM/agent.52 07:52:02 SSH_AGENT_PID=58 07:52:02 Running ssh-add (command line suppressed) 07:52:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-242@tmp/private_key_3782291398144451369.key (/w/workspace/foundry_device-virtual-go_PR-242@tmp/private_key_3782291398144451369.key) 07:52:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:03 + git semver init 07:52:03 # -> Open(): unable to determine branch for HEAD 07:52:03 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-242/.git 07:52:03 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-242 07:52:03 # $SEMVER_REMOTE_NAME = origin 07:52:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:52:03 # $SEMVER_USER_NAME = edgex-jenkins 07:52:03 # $SEMVER_BRANCH = PR-242 07:52:03 # $SEMVER_TEMP = /tmp/semver-322217282 07:52:03 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:52:04 # '/tmp/semver-322217282' -> '/w/workspace/foundry_device-virtual-go_PR-242/.semver' 07:52:04 # -> Force: false 07:52:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-242/.semver [Pipeline] } 07:52:04 $ docker exec --env ******** --env ******** 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 ssh-agent -k 07:52:04 unset SSH_AUTH_SOCK; 07:52:04 unset SSH_AGENT_PID; 07:52:04 echo Agent pid 58 killed; 07:52:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:04 + git semver [Pipeline] } 07:52:05 $ docker stop --time=1 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 07:52:06 $ docker rm -f 122d2b01d4b5a155af47c5e8413cb1deace70e675a417890df90c49f6df24501 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:06 Stashed 1 file(s) [Pipeline] echo 07:52:06 [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 07:52:22 Still waiting to schedule task 07:52:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:52:22 Still waiting to schedule task 07:52:22 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:55:14 Running on prd-centos7-docker-4c-2g-623 in /w/workspace/foundry_device-virtual-go_PR-242 [Pipeline] { [Pipeline] ws 07:55:14 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 07:55:14 The recommended git tool is: git 07:55:16 using credential edgex-jenkins-ssh 07:55:16 Cloning the remote Git repository 07:55:15 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:55:15 > git init /w/workspace/device-virtual-go/1 # timeout=10 07:55:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:55:15 > git --version # timeout=10 07:55:15 > git --version # 'git version 2.24.4' 07:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:15 [INFO] Currently running in a labeled security context 07:55:15 [INFO] Currently SELinux is 'enforcing' on the host 07:55:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1284749199629434060.key 07:55:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:55:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:55:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:16 [INFO] Currently running in a labeled security context 07:55:16 [INFO] Currently SELinux is 'enforcing' on the host 07:55:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6635686277190862820.key 07:55:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:55:18 Merging remotes/origin/main commit c057a04f6cb87a8cdacff32a07698e3019c9b04b into PR head commit 56d5edf24aea449f72cf007918c6d66e1903ca7c 07:55:18 Merge succeeded, producing 56d5edf24aea449f72cf007918c6d66e1903ca7c 07:55:18 Checking out Revision 56d5edf24aea449f72cf007918c6d66e1903ca7c (PR-242) 07:55:17 > git config core.sparsecheckout # timeout=10 07:55:17 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 07:55:17 > git remote # timeout=10 07:55:17 > git config --get remote.origin.url # timeout=10 07:55:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:17 [INFO] Currently running in a labeled security context 07:55:17 [INFO] Currently SELinux is 'enforcing' on the host 07:55:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5566884118444833652.key 07:55:17 > git merge c057a04f6cb87a8cdacff32a07698e3019c9b04b # timeout=10 07:55:17 > git rev-parse HEAD^{commit} # timeout=10 07:55:17 > git config core.sparsecheckout # timeout=10 07:55:17 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 07:55:21 Commit message: "build: Bump device-sdk-go/v2 to 2.0.1-dev.17" 07:55:21 > git --version # timeout=10 07:55:21 > git --version # 'git version 2.24.4' 07:55:21 fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:22 provisioning config files... 07:55:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config518907740110208920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:23 ---> docker-login.sh 07:55:23 nexus3.edgexfoundry.org:10001 07:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:23 Configure a credential helper to remove this warning. See 07:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:23 07:55:23 Login Succeeded 07:55:23 nexus3.edgexfoundry.org:10002 07:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:23 Configure a credential helper to remove this warning. See 07:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:23 07:55:23 Login Succeeded 07:55:23 nexus3.edgexfoundry.org:10003 07:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:23 Configure a credential helper to remove this warning. See 07:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:23 07:55:23 Login Succeeded 07:55:23 nexus3.edgexfoundry.org:10004 07:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:23 Configure a credential helper to remove this warning. See 07:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:23 07:55:23 Login Succeeded 07:55:23 docker.io 07:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:23 Configure a credential helper to remove this warning. See 07:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:23 07:55:23 Login Succeeded 07:55:23 ---> docker-login.sh ends [Pipeline] } 07:55:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:24 ========================================================= 07:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:55:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:55:24 + 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 . 07:55:24 Sending build context to Docker daemon 8.627MB 07:55:24 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:55:24 Step 2/11 : FROM ${BASE} AS builder 07:55:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:55:24 4e9f2cdf4387: Pulling fs layer 07:55:24 57d31006c564: Pulling fs layer 07:55:24 bd5ccded8296: Pulling fs layer 07:55:24 304dd3a0f381: Pulling fs layer 07:55:24 d37cda54a23b: Pulling fs layer 07:55:24 bae75c0f2455: Pulling fs layer 07:55:24 806579b3d29a: Pulling fs layer 07:55:24 c77eb801bf70: Pulling fs layer 07:55:24 6d0567d44e1a: Pulling fs layer 07:55:24 304dd3a0f381: Waiting 07:55:24 d37cda54a23b: Waiting 07:55:24 bae75c0f2455: Waiting 07:55:24 806579b3d29a: Waiting 07:55:24 c77eb801bf70: Waiting 07:55:24 6d0567d44e1a: Waiting 07:55:24 bd5ccded8296: Verifying Checksum 07:55:24 bd5ccded8296: Download complete 07:55:24 57d31006c564: Download complete 07:55:24 d37cda54a23b: Verifying Checksum 07:55:24 d37cda54a23b: Download complete 07:55:24 bae75c0f2455: Download complete 07:55:24 806579b3d29a: Verifying Checksum 07:55:24 806579b3d29a: Download complete 07:55:24 4e9f2cdf4387: Verifying Checksum 07:55:24 4e9f2cdf4387: Download complete 07:55:24 c77eb801bf70: Verifying Checksum 07:55:24 c77eb801bf70: Download complete 07:55:24 4e9f2cdf4387: Pull complete 07:55:25 304dd3a0f381: Verifying Checksum 07:55:25 304dd3a0f381: Download complete 07:55:25 57d31006c564: Pull complete 07:55:25 6d0567d44e1a: Verifying Checksum 07:55:25 6d0567d44e1a: Download complete 07:55:25 bd5ccded8296: Pull complete 07:55:29 304dd3a0f381: Pull complete 07:55:29 d37cda54a23b: Pull complete 07:55:29 bae75c0f2455: Pull complete 07:55:29 806579b3d29a: Pull complete 07:55:29 c77eb801bf70: Pull complete 07:55:32 6d0567d44e1a: Pull complete 07:55:32 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 07:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:55:32 ---> e839a31ac9d1 07:55:32 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:55:35 ---> Running in c0661c3beeaf 07:55:35 Removing intermediate container c0661c3beeaf 07:55:35 ---> 5437c8d10351 07:55:35 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 07:55:35 ---> Running in ac9106b509e7 07:55:35 Removing intermediate container ac9106b509e7 07:55:35 ---> 1ec1fab86d9f 07:55:35 Step 5/11 : WORKDIR /device-virtual-go 07:55:35 ---> Running in 646facebf6f4 07:55:35 Removing intermediate container 646facebf6f4 07:55:35 ---> 7cbd95fa6570 07:55:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:35 ---> Running in fc46cf1af5e8 07:55:36 Removing intermediate container fc46cf1af5e8 07:55:36 ---> d527519c853a 07:55:36 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:36 ---> Running in 27a3ad355f01 07:55:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:55:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:55:37 (1/3) Installing openssh-keygen (8.4_p1-r4) 07:55:38 (2/3) Installing libedit (20191231.3.1-r1) 07:55:38 (3/3) Installing openssh-client (8.4_p1-r4) 07:55:38 Executing busybox-1.32.1-r6.trigger 07:55:38 OK: 223 MiB in 55 packages 07:55:38 Removing intermediate container 27a3ad355f01 07:55:38 ---> f839e24a15ef 07:55:38 Step 8/11 : COPY . . 07:55:38 ---> dc2f2cedbfab 07:55:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:38 ---> Running in ab03d398c5f9 07:56:10 Removing intermediate container ab03d398c5f9 07:56:10 ---> 73ee152249d4 07:56:10 Step 10/11 : ARG MAKE='make build' 07:56:10 ---> Running in 941a2a535cfd 07:56:10 Removing intermediate container 941a2a535cfd 07:56:10 ---> 588a04fbe15c 07:56:10 Step 11/11 : RUN $MAKE 07:56:10 ---> Running in 780a530e3b13 07:56:10 noop 07:56:10 Removing intermediate container 780a530e3b13 07:56:10 ---> 83c5dc755308 07:56:10 Successfully built 83c5dc755308 07:56:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:56:11 + docker inspect -f . ci-base-image-x86_64 07:56:11 . [Pipeline] withDockerContainer 07:56:11 prd-centos7-docker-4c-2g-623 does not seem to be running inside a container 07:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:11 $ docker top bd2ffc36c05c3addaf643823cd1450ed6d6d98ba11f19a1921b5f094b181c5a2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:12 + go version 07:56:12 go version go1.16.8 linux/amd64 [Pipeline] } 07:56:12 $ docker stop --time=1 bd2ffc36c05c3addaf643823cd1450ed6d6d98ba11f19a1921b5f094b181c5a2 07:56:13 $ docker rm -f bd2ffc36c05c3addaf643823cd1450ed6d6d98ba11f19a1921b5f094b181c5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:56:14 + docker inspect -f . ci-base-image-x86_64 07:56:14 . [Pipeline] withDockerContainer 07:56:14 prd-centos7-docker-4c-2g-623 does not seem to be running inside a container 07:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:14 $ docker top 71598fe3df2d3fc4e1c8eab9e4cc8ffc8bf64b968e364853e332a891e4961bf7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:56:15 + go mod tidy [Pipeline] sh 07:56:15 + make test 07:56:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:56:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:56:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:56:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.254s coverage: 64.6% of statements 07:56:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:56:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:56:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:56:42 ./bin/test-attribution-txt.sh [Pipeline] } 07:56:42 $ docker stop --time=1 71598fe3df2d3fc4e1c8eab9e4cc8ffc8bf64b968e364853e332a891e4961bf7 07:56:44 $ docker rm -f 71598fe3df2d3fc4e1c8eab9e4cc8ffc8bf64b968e364853e332a891e4961bf7 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:56:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:56:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:46 + ls -al . 07:56:46 total 172 07:56:46 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 12 07:56 . 07:56:46 drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 07:55 .. 07:56:46 -rw-rw-r--. 1 jenkins jenkins 8147 Oct 12 07:55 Attribution.txt 07:56:46 drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 07:55 bin 07:56:46 -rw-rw-r--. 1 jenkins jenkins 6349 Oct 12 07:55 CHANGELOG.md 07:56:46 drwxrwxr-x. 3 jenkins jenkins 32 Oct 12 07:55 cmd 07:56:46 -rw-r--r--. 1 jenkins jenkins 46339 Oct 12 07:56 coverage.out 07:56:46 -rw-rw-r--. 1 jenkins jenkins 1951 Oct 12 07:55 Dockerfile 07:56:46 drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 07:55 .git 07:56:46 drwxrwxr-x. 2 jenkins jenkins 103 Oct 12 07:55 .github 07:56:46 -rw-rw-r--. 1 jenkins jenkins 270 Oct 12 07:55 .gitignore 07:56:46 -rw-rw-r--. 1 jenkins jenkins 763 Oct 12 07:55 go.mod 07:56:46 -rw-r--r--. 1 jenkins jenkins 52158 Oct 12 07:56 go.sum 07:56:46 -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 07:55 GOVERNANCE.md 07:56:46 drwxrwxr-x. 3 jenkins jenkins 20 Oct 12 07:55 internal 07:56:46 -rw-rw-r--. 1 jenkins jenkins 660 Oct 12 07:55 Jenkinsfile 07:56:46 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 12 07:55 LICENSE 07:56:46 -rw-rw-r--. 1 jenkins jenkins 999 Oct 12 07:55 Makefile 07:56:46 -rw-rw-r--. 1 jenkins jenkins 623 Oct 12 07:55 OWNERS.md 07:56:46 -rw-rw-r--. 1 jenkins jenkins 2913 Oct 12 07:55 README.md 07:56:46 -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 07:52 VERSION 07:56:46 -rw-rw-r--. 1 jenkins jenkins 235 Oct 12 07:55 version.go [Pipeline] isUnix [Pipeline] sh 07:56:46 + 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 . 07:56:46 Sending build context to Docker daemon 8.727MB 07:56:46 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 07:56:46 Step 2/25 : FROM ${BASE} AS builder 07:56:46 ---> 83c5dc755308 07:56:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:56:46 ---> Running in 1ff42792f1f4 07:56:46 Removing intermediate container 1ff42792f1f4 07:56:46 ---> f95db0c68ddd 07:56:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:56:46 ---> Running in dd43811020ed 07:56:46 Removing intermediate container dd43811020ed 07:56:46 ---> ddc5d0c723ff 07:56:46 Step 5/25 : WORKDIR /device-virtual-go 07:56:46 ---> Running in 01db7b9cc4b5 07:56:46 Removing intermediate container 01db7b9cc4b5 07:56:46 ---> 089404a78ff5 07:56:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:46 ---> Running in b7e19e54c4d9 07:56:47 Removing intermediate container b7e19e54c4d9 07:56:47 ---> 57ccb584d276 07:56:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:47 ---> Running in 2d70b010dc83 07:56:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:56:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:56:48 OK: 223 MiB in 55 packages 07:56:49 Removing intermediate container 2d70b010dc83 07:56:49 ---> ecde0e318eb3 07:56:49 Step 8/25 : COPY . . 07:56:49 ---> 8da5821c54cd 07:56:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:49 ---> Running in 4572788c8003 07:56:50 Removing intermediate container 4572788c8003 07:56:50 ---> 233594e1b9ad 07:56:50 Step 10/25 : ARG MAKE='make build' 07:56:50 ---> Running in 1554af6176f1 07:56:50 Removing intermediate container 1554af6176f1 07:56:50 ---> b170063924bb 07:56:50 Step 11/25 : RUN $MAKE 07:56:50 ---> Running in 718e6926562d 07:56:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 07:57:05 Removing intermediate container 718e6926562d 07:57:05 ---> e19d2a363a79 07:57:05 Step 12/25 : FROM alpine:3.14 07:57:06 3.14: Pulling from library/alpine 07:57:06 a0d0a0d46f8b: Pulling fs layer 07:57:06 a0d0a0d46f8b: Verifying Checksum 07:57:06 a0d0a0d46f8b: Download complete 07:57:06 a0d0a0d46f8b: Pull complete 07:57:06 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:57:06 Status: Downloaded newer image for alpine:3.14 07:57:06 ---> 14119a10abf4 07:57:06 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:57:06 ---> Running in c32243ea704c 07:57:06 Removing intermediate container c32243ea704c 07:57:06 ---> 194929a1db02 07:57:06 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:57:06 ---> Running in 5d76af45d25b 07:57:07 Removing intermediate container 5d76af45d25b 07:57:07 ---> 7f39cb12f572 07:57:07 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 07:57:07 ---> Running in 7a9f4815930b 07:57:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:57:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:57:08 (1/6) Installing dumb-init (1.2.5-r1) 07:57:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:57:08 (3/6) Installing libsodium (1.0.18-r0) 07:57:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:57:09 (5/6) Installing libzmq (4.3.4-r0) 07:57:09 (6/6) Installing zeromq (4.3.4-r0) 07:57:09 Executing busybox-1.33.1-r3.trigger 07:57:09 OK: 8 MiB in 20 packages 07:57:09 Removing intermediate container 7a9f4815930b 07:57:09 ---> e16018112c2b 07:57:09 Step 16/25 : WORKDIR / 07:57:09 ---> Running in 877c6530bcd3 07:57:09 Removing intermediate container 877c6530bcd3 07:57:09 ---> 90cd13ead7b3 07:57:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:57:10 ---> 351e57e9d827 07:57:10 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:57:10 ---> 3dae9440be7b 07:57:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:57:10 ---> 15c624d93dcc 07:57:10 Step 20/25 : EXPOSE 59900 07:57:10 ---> Running in 912b984959df 07:57:10 Removing intermediate container 912b984959df 07:57:10 ---> 3a7ed06e4bd9 07:57:10 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:57:10 ---> Running in 254bfd00a9fb 07:57:10 Removing intermediate container 254bfd00a9fb 07:57:10 ---> 6947b78b29ce 07:57:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:57:10 ---> Running in 4a792b7eadc6 07:57:10 Removing intermediate container 4a792b7eadc6 07:57:10 ---> b09ef5052e67 07:57:10 Step 23/25 : LABEL arch=amd64 07:57:10 ---> Running in d10fd32be195 07:57:10 Removing intermediate container d10fd32be195 07:57:10 ---> 6de933aba21a 07:57:10 Step 24/25 : LABEL git_sha=56d5edf24aea449f72cf007918c6d66e1903ca7c 07:57:10 ---> Running in 3d08bb37f8fc 07:57:10 Removing intermediate container 3d08bb37f8fc 07:57:10 ---> 5539f33956e0 07:57:10 Step 25/25 : LABEL version=0.0.0 07:57:10 ---> Running in d8293f910a07 07:57:11 Removing intermediate container d8293f910a07 07:57:11 ---> dc401b4e71bc 07:57:11 [Warning] One or more build-args [ARCH] were not consumed 07:57:11 Successfully built dc401b4e71bc 07:57:11 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 07:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:12 07:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:57:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:12 latest: Pulling from edgex-lftools-log-publisher 07:57:12 b4d181a07f80: Pulling fs layer 07:57:12 a1111a8f2ec3: Pulling fs layer 07:57:12 ed53099fbce6: Pulling fs layer 07:57:12 dc539afda2c1: Pulling fs layer 07:57:12 77bc0d833cb6: Pulling fs layer 07:57:12 9065ff56babe: Pulling fs layer 07:57:12 d287ab97295c: Pulling fs layer 07:57:12 77bc0d833cb6: Waiting 07:57:12 9065ff56babe: Waiting 07:57:12 d287ab97295c: Waiting 07:57:12 dc539afda2c1: Waiting 07:57:12 a1111a8f2ec3: Verifying Checksum 07:57:12 a1111a8f2ec3: Download complete 07:57:12 dc539afda2c1: Verifying Checksum 07:57:12 dc539afda2c1: Download complete 07:57:12 ed53099fbce6: Verifying Checksum 07:57:12 ed53099fbce6: Download complete 07:57:12 9065ff56babe: Verifying Checksum 07:57:12 9065ff56babe: Download complete 07:57:12 77bc0d833cb6: Verifying Checksum 07:57:12 77bc0d833cb6: Download complete 07:57:12 b4d181a07f80: Verifying Checksum 07:57:12 b4d181a07f80: Download complete 07:57:13 d287ab97295c: Verifying Checksum 07:57:13 d287ab97295c: Download complete 07:57:14 b4d181a07f80: Pull complete 07:57:14 a1111a8f2ec3: Pull complete 07:57:14 ed53099fbce6: Pull complete 07:57:14 dc539afda2c1: Pull complete 07:57:15 77bc0d833cb6: Pull complete 07:57:15 9065ff56babe: Pull complete 07:57:20 d287ab97295c: Pull complete 07:57:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:57:20 prd-centos7-docker-4c-2g-623 does not seem to be running inside a container 07:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:57:23 $ docker top 2f1c72e5659cf7b21447e99dd0738db0cdc16af9bddc8ec427effea98e6942c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:23 ---> job-cost.sh 07:57:23 lf-activate-venv: SKIPPING 07:57:23 INFO: No Stack... 07:57:24 INFO: Retrieving Pricing Info for: v3-standard-2 07:57:24 INFO: Archiving Costs [Pipeline] sh 07:57:24 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 07:57:24 + cut -d, -f6 [Pipeline] lock 07:57:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] 07:57:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] did not exist. Created. 07:57:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:57:25 + echo total: 0.05999999865889549 [Pipeline] stash 07:57:25 Stashed 1 file(s) [Pipeline] } 07:57:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:57:25 $ docker stop --time=1 2f1c72e5659cf7b21447e99dd0738db0cdc16af9bddc8ec427effea98e6942c8 07:57:26 $ docker rm -f 2f1c72e5659cf7b21447e99dd0738db0cdc16af9bddc8ec427effea98e6942c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:04:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-628 in /w/workspace/foundry_device-virtual-go_PR-242 [Pipeline] { [Pipeline] ws 08:04:23 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:04:23 The recommended git tool is: git 08:04:29 using credential edgex-jenkins-ssh 08:04:29 Cloning the remote Git repository 08:04:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:04:29 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:04:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:04:29 > git --version # timeout=10 08:04:29 > git --version # 'git version 2.17.1' 08:04:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:04:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:04:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:04:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:04:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:04:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:04:32 Merging remotes/origin/main commit c057a04f6cb87a8cdacff32a07698e3019c9b04b into PR head commit 56d5edf24aea449f72cf007918c6d66e1903ca7c 08:04:32 Merge succeeded, producing 56d5edf24aea449f72cf007918c6d66e1903ca7c 08:04:32 Checking out Revision 56d5edf24aea449f72cf007918c6d66e1903ca7c (PR-242) 08:04:32 > git config core.sparsecheckout # timeout=10 08:04:32 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 08:04:32 > git remote # timeout=10 08:04:32 > git config --get remote.origin.url # timeout=10 08:04:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:04:32 > git merge c057a04f6cb87a8cdacff32a07698e3019c9b04b # timeout=10 08:04:32 > git rev-parse HEAD^{commit} # timeout=10 08:04:32 > git config core.sparsecheckout # timeout=10 08:04:32 > git checkout -f 56d5edf24aea449f72cf007918c6d66e1903ca7c # timeout=10 08:04:37 Commit message: "build: Bump device-sdk-go/v2 to 2.0.1-dev.17" 08:04:37 > git --version # timeout=10 08:04:37 > git --version # 'git version 2.17.1' 08:04:37 fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:38 provisioning config files... 08:04:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config145173696612398201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:38 ---> docker-login.sh 08:04:38 nexus3.edgexfoundry.org:10001 08:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:40 Configure a credential helper to remove this warning. See 08:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:40 08:04:40 Login Succeeded 08:04:40 nexus3.edgexfoundry.org:10002 08:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:40 Configure a credential helper to remove this warning. See 08:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:40 08:04:40 Login Succeeded 08:04:40 nexus3.edgexfoundry.org:10003 08:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:41 Configure a credential helper to remove this warning. See 08:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:41 08:04:41 Login Succeeded 08:04:41 nexus3.edgexfoundry.org:10004 08:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:41 Configure a credential helper to remove this warning. See 08:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:41 08:04:41 Login Succeeded 08:04:41 docker.io 08:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:42 Configure a credential helper to remove this warning. See 08:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:42 08:04:42 Login Succeeded 08:04:42 ---> docker-login.sh ends [Pipeline] } 08:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:04:43 ========================================================= 08:04:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:04:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:04:43 + 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 . 08:04:44 Sending build context to Docker daemon 8.626MB 08:04:44 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 08:04:44 Step 2/11 : FROM ${BASE} AS builder 08:04:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:04:44 bbf911997326: Pulling fs layer 08:04:44 58ec367f63d7: Pulling fs layer 08:04:44 1b4a6ffa7d45: Pulling fs layer 08:04:44 fc5181fea5dc: Pulling fs layer 08:04:44 9c418107303f: Pulling fs layer 08:04:44 284eca6f2348: Pulling fs layer 08:04:44 842844d905b1: Pulling fs layer 08:04:44 901a3a57568e: Pulling fs layer 08:04:44 284eca6f2348: Waiting 08:04:44 842844d905b1: Waiting 08:04:44 901a3a57568e: Waiting 08:04:44 fc5181fea5dc: Waiting 08:04:44 9c418107303f: Waiting 08:04:44 1b4a6ffa7d45: Download complete 08:04:44 58ec367f63d7: Download complete 08:04:44 9c418107303f: Verifying Checksum 08:04:44 9c418107303f: Download complete 08:04:44 284eca6f2348: Verifying Checksum 08:04:44 284eca6f2348: Download complete 08:04:44 bbf911997326: Download complete 08:04:44 842844d905b1: Download complete 08:04:45 bbf911997326: Pull complete 08:04:46 58ec367f63d7: Pull complete 08:04:46 1b4a6ffa7d45: Pull complete 08:04:46 901a3a57568e: Verifying Checksum 08:04:46 901a3a57568e: Download complete 08:04:47 fc5181fea5dc: Verifying Checksum 08:04:47 fc5181fea5dc: Download complete 08:04:57 fc5181fea5dc: Pull complete 08:04:57 9c418107303f: Pull complete 08:04:57 284eca6f2348: Pull complete 08:04:58 842844d905b1: Pull complete 08:05:03 901a3a57568e: Pull complete 08:05:03 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 08:05:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:05:03 ---> 72ade6ffb461 08:05:03 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:05:07 ---> Running in be06c0b97516 08:05:08 Removing intermediate container be06c0b97516 08:05:08 ---> 27a978c9ff93 08:05:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 08:05:08 ---> Running in f306b9c0825b 08:05:08 Removing intermediate container f306b9c0825b 08:05:08 ---> 84f76b827603 08:05:08 Step 5/11 : WORKDIR /device-virtual-go 08:05:08 ---> Running in 515d342852cb 08:05:09 Removing intermediate container 515d342852cb 08:05:09 ---> 26a5732211f3 08:05:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:09 ---> Running in dcb8e89a9df4 08:05:12 Removing intermediate container dcb8e89a9df4 08:05:12 ---> fda1f7f07bc7 08:05:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:05:12 ---> Running in 47dc169086a5 08:05:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:05:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:05:15 (1/3) Installing openssh-keygen (8.4_p1-r4) 08:05:15 (2/3) Installing libedit (20191231.3.1-r1) 08:05:15 (3/3) Installing openssh-client (8.4_p1-r4) 08:05:15 Executing busybox-1.32.1-r6.trigger 08:05:15 OK: 222 MiB in 55 packages 08:05:17 Removing intermediate container 47dc169086a5 08:05:17 ---> 518ea1719540 08:05:17 Step 8/11 : COPY . . 08:05:18 ---> 8821494718f2 08:05:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:05:18 ---> Running in 791126faccb8 08:06:40 Removing intermediate container 791126faccb8 08:06:40 ---> 5739a4630c62 08:06:40 Step 10/11 : ARG MAKE='make build' 08:06:40 ---> Running in 58b3d38efe5f 08:06:40 Removing intermediate container 58b3d38efe5f 08:06:40 ---> 6b1229990b45 08:06:40 Step 11/11 : RUN $MAKE 08:06:40 ---> Running in fa08e15c8a3a 08:06:40 noop 08:06:40 Removing intermediate container fa08e15c8a3a 08:06:40 ---> c045df09d47e 08:06:40 Successfully built c045df09d47e 08:06:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:06:40 + docker inspect -f . ci-base-image-arm64 08:06:40 . [Pipeline] withDockerContainer 08:06:40 prd-ubuntu18.04-docker-arm64-4c-16g-628 does not seem to be running inside a container 08:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:06:42 $ docker top 19d1ea2441b2f2cee1fed32c202917580955fc24fdc83d8055f9161619ae4320 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:43 + go version 08:06:43 go version go1.16.8 linux/arm64 [Pipeline] } 08:06:43 $ docker stop --time=1 19d1ea2441b2f2cee1fed32c202917580955fc24fdc83d8055f9161619ae4320 08:06:45 $ docker rm -f 19d1ea2441b2f2cee1fed32c202917580955fc24fdc83d8055f9161619ae4320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:06:46 + docker inspect -f . ci-base-image-arm64 08:06:46 . [Pipeline] withDockerContainer 08:06:46 prd-ubuntu18.04-docker-arm64-4c-16g-628 does not seem to be running inside a container 08:06:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:06:48 $ docker top 845e03a5906fe1897f5deaab669ccc95b23cb92c5911f9c8ba5665d7c914ccc2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:06:49 + go mod tidy [Pipeline] sh 08:06:51 + make test 08:06:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:06:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:08:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:08:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.701s coverage: 64.6% of statements 08:08:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:08:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:08:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:08:27 ./bin/test-attribution-txt.sh [Pipeline] } 08:08:27 $ docker stop --time=1 845e03a5906fe1897f5deaab669ccc95b23cb92c5911f9c8ba5665d7c914ccc2 08:08:29 $ docker rm -f 845e03a5906fe1897f5deaab669ccc95b23cb92c5911f9c8ba5665d7c914ccc2 [Pipeline] // withDockerContainer [Pipeline] sh 08:08:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:08:30 Warning: overwriting stash ‘coverage-report’ 08:08:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:08:31 + ls -al . 08:08:31 total 196 08:08:31 drwxrwxr-x 7 jenkins jenkins 4096 Oct 12 08:08 . 08:08:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 08:04 .. 08:08:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 08:04 .git 08:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:04 .github 08:08:31 -rw-rw-r-- 1 jenkins jenkins 270 Oct 12 08:04 .gitignore 08:08:31 -rw-rw-r-- 1 jenkins jenkins 8147 Oct 12 08:04 Attribution.txt 08:08:31 -rw-rw-r-- 1 jenkins jenkins 6349 Oct 12 08:04 CHANGELOG.md 08:08:31 -rw-rw-r-- 1 jenkins jenkins 1951 Oct 12 08:04 Dockerfile 08:08:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 08:04 GOVERNANCE.md 08:08:31 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 08:04 Jenkinsfile 08:08:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 08:04 LICENSE 08:08:31 -rw-rw-r-- 1 jenkins jenkins 999 Oct 12 08:04 Makefile 08:08:31 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 08:04 OWNERS.md 08:08:31 -rw-rw-r-- 1 jenkins jenkins 2913 Oct 12 08:04 README.md 08:08:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 07:52 VERSION 08:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 08:04 bin 08:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 08:04 cmd 08:08:31 -rw-r--r-- 1 jenkins jenkins 46339 Oct 12 08:07 coverage.out 08:08:31 -rw-rw-r-- 1 jenkins jenkins 763 Oct 12 08:04 go.mod 08:08:31 -rw-r--r-- 1 jenkins jenkins 52158 Oct 12 08:06 go.sum 08:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 08:04 internal 08:08:31 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 08:04 version.go [Pipeline] isUnix [Pipeline] sh 08:08: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 . 08:08:32 Sending build context to Docker daemon 8.726MB 08:08:32 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 08:08:32 Step 2/25 : FROM ${BASE} AS builder 08:08:32 ---> c045df09d47e 08:08:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:08:32 ---> Running in aa2ea4cb7b44 08:08:33 Removing intermediate container aa2ea4cb7b44 08:08:33 ---> 8ea862446733 08:08:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:08:33 ---> Running in e5ac80b47d2a 08:08:33 Removing intermediate container e5ac80b47d2a 08:08:33 ---> 1dc20db3278b 08:08:33 Step 5/25 : WORKDIR /device-virtual-go 08:08:33 ---> Running in 48ad0c405acf 08:08:34 Removing intermediate container 48ad0c405acf 08:08:34 ---> f8251bccff0f 08:08:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:08:34 ---> Running in 82c334dd3200 08:08:37 Removing intermediate container 82c334dd3200 08:08:37 ---> 0280483770cc 08:08:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:08:37 ---> Running in 3e6e2908cfcc 08:08:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:08:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:08:40 OK: 222 MiB in 55 packages 08:08:41 Removing intermediate container 3e6e2908cfcc 08:08:41 ---> 78fcd919a438 08:08:41 Step 8/25 : COPY . . 08:08:42 ---> 720cbdc0ec07 08:08:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:08:42 ---> Running in 5fbc87463aac 08:08:45 Removing intermediate container 5fbc87463aac 08:08:45 ---> 8e8be0f4cdca 08:08:45 Step 10/25 : ARG MAKE='make build' 08:08:45 ---> Running in 55d4c6b46d80 08:08:45 Removing intermediate container 55d4c6b46d80 08:08:45 ---> 43f36fbefd10 08:08:45 Step 11/25 : RUN $MAKE 08:08:45 ---> Running in d418c729db29 08:08: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 08:09:44 Removing intermediate container d418c729db29 08:09:44 ---> 0a51f3269acf 08:09:44 Step 12/25 : FROM alpine:3.14 08:09:44 3.14: Pulling from library/alpine 08:09:44 552d1f2373af: Pulling fs layer 08:09:44 552d1f2373af: Verifying Checksum 08:09:44 552d1f2373af: Download complete 08:09:44 552d1f2373af: Pull complete 08:09:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 08:09:44 Status: Downloaded newer image for alpine:3.14 08:09:44 ---> bb3de5531c18 08:09:44 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:09:44 ---> Running in 14f97f6e591d 08:09:44 Removing intermediate container 14f97f6e591d 08:09:44 ---> c9fe09b3bc64 08:09:44 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:09:44 ---> Running in c6aba16e9c58 08:09:44 Removing intermediate container c6aba16e9c58 08:09:44 ---> 1299e92ba569 08:09:44 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 08:09:44 ---> Running in 2ce546427462 08:09:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:09:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:09:44 (1/6) Installing dumb-init (1.2.5-r1) 08:09:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:09:44 (3/6) Installing libsodium (1.0.18-r0) 08:09:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:09:45 (5/6) Installing libzmq (4.3.4-r0) 08:09:45 (6/6) Installing zeromq (4.3.4-r0) 08:09:45 Executing busybox-1.33.1-r3.trigger 08:09:45 OK: 8 MiB in 20 packages 08:09:46 Removing intermediate container 2ce546427462 08:09:46 ---> ed924389356c 08:09:46 Step 16/25 : WORKDIR / 08:09:46 ---> Running in 0a489c4d32cc 08:09:47 Removing intermediate container 0a489c4d32cc 08:09:47 ---> 6183d31ffd8c 08:09:47 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:09:48 ---> 4b86afac50bf 08:09:48 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:09:48 ---> afd46e196218 08:09:48 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:09:50 ---> cd507ab3c38a 08:09:50 Step 20/25 : EXPOSE 59900 08:09:50 ---> Running in 17eafecf9c2b 08:09:50 Removing intermediate container 17eafecf9c2b 08:09:50 ---> 5e59ce149576 08:09:50 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:09:50 ---> Running in 81bb48daac14 08:09:51 Removing intermediate container 81bb48daac14 08:09:51 ---> 52842d59a0dc 08:09:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:09:51 ---> Running in 690efaadd350 08:09:51 Removing intermediate container 690efaadd350 08:09:51 ---> f0e9e26048a2 08:09:51 Step 23/25 : LABEL arch=arm64 08:09:52 ---> Running in db5a71a1bc21 08:09:52 Removing intermediate container db5a71a1bc21 08:09:52 ---> 98c0d0cc99c3 08:09:52 Step 24/25 : LABEL git_sha=56d5edf24aea449f72cf007918c6d66e1903ca7c 08:09:52 ---> Running in a9c8da1d4657 08:09:53 Removing intermediate container a9c8da1d4657 08:09:53 ---> e705c326f81e 08:09:53 Step 25/25 : LABEL version=0.0.0 08:09:53 ---> Running in b9ab76b0d343 08:09:53 Removing intermediate container b9ab76b0d343 08:09:53 ---> 28f52611c973 08:09:53 [Warning] One or more build-args [ARCH] were not consumed 08:09:53 Successfully built 28f52611c973 08:09:53 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 08:09:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:54 08:09:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:09:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:55 arm64: Pulling from edgex-lftools-log-publisher 08:09:55 448f6bf000e3: Pulling fs layer 08:09:55 f757da607395: Pulling fs layer 08:09:55 05883995daec: Pulling fs layer 08:09:55 8603b9c90790: Pulling fs layer 08:09:55 1560dd03e051: Pulling fs layer 08:09:55 27f5ce0e4adf: Pulling fs layer 08:09:55 c2d8d7efcc4b: Pulling fs layer 08:09:55 1560dd03e051: Waiting 08:09:55 27f5ce0e4adf: Waiting 08:09:55 8603b9c90790: Waiting 08:09:55 c2d8d7efcc4b: Waiting 08:09:55 f757da607395: Verifying Checksum 08:09:55 f757da607395: Download complete 08:09:55 8603b9c90790: Verifying Checksum 08:09:55 8603b9c90790: Download complete 08:09:55 1560dd03e051: Verifying Checksum 08:09:55 1560dd03e051: Download complete 08:09:55 05883995daec: Verifying Checksum 08:09:55 05883995daec: Download complete 08:09:55 27f5ce0e4adf: Verifying Checksum 08:09:55 27f5ce0e4adf: Download complete 08:09:56 448f6bf000e3: Verifying Checksum 08:09:56 448f6bf000e3: Download complete 08:09:58 c2d8d7efcc4b: Verifying Checksum 08:09:58 c2d8d7efcc4b: Download complete 08:10:00 448f6bf000e3: Pull complete 08:10:00 f757da607395: Pull complete 08:10:02 05883995daec: Pull complete 08:10:02 8603b9c90790: Pull complete 08:10:03 1560dd03e051: Pull complete 08:10:03 27f5ce0e4adf: Pull complete 08:10:18 c2d8d7efcc4b: Pull complete 08:10:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:10:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:10:19 prd-ubuntu18.04-docker-arm64-4c-16g-628 does not seem to be running inside a container 08:10:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:10:22 $ docker top 651a048013c1c95dfbbaf85e9b5ff1eb1c561d8cb6f70d643c041b65ec34a171 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:23 ---> job-cost.sh 08:10:23 lf-activate-venv: SKIPPING 08:10:23 INFO: No Stack... 08:10:38 INFO: Retrieving Pricing Info for: v3-standard-4 08:10:38 INFO: Archiving Costs [Pipeline] sh 08:10:39 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 08:10:39 + cut -d, -f6 [Pipeline] lock 08:10:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] 08:10:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] did not exist. Created. 08:10:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:10:40 /w/workspace/device-virtual-go/1@tmp/durable-60c63650/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-60c63650/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:10:41 + echo total: 0.10999999940395355 [Pipeline] stash 08:10:41 Warning: overwriting stash ‘stack-cost’ 08:10:41 Stashed 1 file(s) [Pipeline] } 08:10:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-242-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:10:41 $ docker stop --time=1 651a048013c1c95dfbbaf85e9b5ff1eb1c561d8cb6f70d643c041b65ec34a171 08:10:42 $ docker rm -f 651a048013c1c95dfbbaf85e9b5ff1eb1c561d8cb6f70d643c041b65ec34a171 [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 08:10:44 provisioning config files... 08:10:44 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-242@tmp/config7118460552024037283tmp [Pipeline] { [Pipeline] sh 08:10:44 + set +x 08:10:44 + curl -s https://codecov.io/bash 08:10:44 + bash -s -- 08:10:44 08:10:44 _____ _ 08:10:44 / ____| | | 08:10:44 | | ___ __| | ___ ___ _____ __ 08:10:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:10:44 | |___| (_) | (_| | __/ (_| (_) \ V / 08:10:44 \_____\___/ \__,_|\___|\___\___/ \_/ 08:10:44 Bash-1.0.6 08:10:44 08:10:44 08:10:44 ==> git version 2.24.4 found 08:10:44 ==> 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 08:10:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:10:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:10:44 ==> Jenkins CI detected. 08:10:44 current dir:  /w/workspace/foundry_device-virtual-go_PR-242 08:10:44 project root: . 08:10:44 --> token set from env 08:10:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:10:44 ==> Running gcov in . (disable via -X gcov) 08:10:44 ==> Python coveragepy not found 08:10:44 ==> Searching for coverage reports in: 08:10:44 + . 08:10:44 -> Found 1 reports 08:10:44 ==> Detecting git/mercurial file structure 08:10:44 ==> Reading reports 08:10:44 + ./coverage.out bytes=46339 08:10:44 ==> Appending adjustments 08:10:44 https://docs.codecov.io/docs/fixing-reports 08:10:44 + Found adjustments 08:10:44 ==> Gzipping contents 08:10:44 8.0K /tmp/codecov.iac3c8.gz 08:10:44 ==> Uploading reports 08:10:44 url: https://codecov.io 08:10:44 query: branch=PR-242&commit=56d5edf24aea449f72cf007918c6d66e1903ca7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=242&job=&cmd_args= 08:10:44 -> Pinging Codecov 08:10:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-242&commit=56d5edf24aea449f72cf007918c6d66e1903ca7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=242&job=&cmd_args= 08:10:45 -> Uploading to 08:10:45 https://storage.googleapis.com/codecov/v4/raw/2021-10-12/5E52B4B073DB2E39498172D8E973AA87/56d5edf24aea449f72cf007918c6d66e1903ca7c/52bac8dc-6dd6-41aa-8869-2e58736a433e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T081044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5fa1ff9f65bd13797ec8fb9ed684cf73084b088dd469fc051b68f1cbf30aaf3 08:10:45 % Total % Received % Xferd Average Speed Time Time Time Current 08:10:45 Dload Upload Total Spent Left Speed 08:10:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 18227 --:--:-- --:--:-- --:--:-- 18245 08:10:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/56d5edf24aea449f72cf007918c6d66e1903ca7c [Pipeline] } 08:10:45 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 08:10:47 + '[' -d /w/workspace/foundry_device-virtual-go_PR-242/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:10:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:10:48 ---> package-listing.sh 08:10:48 ++ facter osfamily 08:10:48 ++ tr '[:upper:]' '[:lower:]' 08:10:48 + OS_FAMILY=redhat 08:10:48 + workspace=/w/workspace/foundry_device-virtual-go_PR-242 08:10:48 + START_PACKAGES=/tmp/packages_start.txt 08:10:48 + END_PACKAGES=/tmp/packages_end.txt 08:10:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:10:48 + PACKAGES=/tmp/packages_start.txt 08:10:48 + '[' /w/workspace/foundry_device-virtual-go_PR-242 ']' 08:10:48 + PACKAGES=/tmp/packages_end.txt 08:10:48 + case "${OS_FAMILY}" in 08:10:48 + sort 08:10:48 + rpm -qa 08:10:49 + '[' -f /tmp/packages_start.txt ']' 08:10:49 + '[' -f /tmp/packages_end.txt ']' 08:10:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:10:49 + '[' /w/workspace/foundry_device-virtual-go_PR-242 ']' 08:10:49 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-242/archives/ 08:10:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-242/archives/ [Pipeline] echo 08:10:49 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-242/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:10:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:50 08:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:50 latest: Pulling from edgex-lftools-log-publisher 08:10:50 b4d181a07f80: Pulling fs layer 08:10:50 a1111a8f2ec3: Pulling fs layer 08:10:50 ed53099fbce6: Pulling fs layer 08:10:50 dc539afda2c1: Pulling fs layer 08:10:50 77bc0d833cb6: Pulling fs layer 08:10:50 9065ff56babe: Pulling fs layer 08:10:50 d287ab97295c: Pulling fs layer 08:10:50 77bc0d833cb6: Waiting 08:10:50 9065ff56babe: Waiting 08:10:50 d287ab97295c: Waiting 08:10:50 dc539afda2c1: Waiting 08:10:50 a1111a8f2ec3: Verifying Checksum 08:10:50 a1111a8f2ec3: Download complete 08:10:50 dc539afda2c1: Verifying Checksum 08:10:50 dc539afda2c1: Download complete 08:10:50 ed53099fbce6: Verifying Checksum 08:10:50 ed53099fbce6: Download complete 08:10:50 9065ff56babe: Verifying Checksum 08:10:50 9065ff56babe: Download complete 08:10:50 77bc0d833cb6: Verifying Checksum 08:10:50 77bc0d833cb6: Download complete 08:10:50 b4d181a07f80: Verifying Checksum 08:10:50 b4d181a07f80: Download complete 08:10:51 d287ab97295c: Verifying Checksum 08:10:51 d287ab97295c: Download complete 08:10:52 b4d181a07f80: Pull complete 08:10:52 a1111a8f2ec3: Pull complete 08:10:53 ed53099fbce6: Pull complete 08:10:53 dc539afda2c1: Pull complete 08:10:53 77bc0d833cb6: Pull complete 08:10:53 9065ff56babe: Pull complete 08:10:58 d287ab97295c: Pull complete 08:10:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:10:58 prd-centos7-docker-4c-2g-622 does not seem to be running inside a container 08:10:59 $ 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-242/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-242 -v /w/workspace/foundry_device-virtual-go_PR-242:/w/workspace/foundry_device-virtual-go_PR-242:rw,z -v /w/workspace/foundry_device-virtual-go_PR-242@tmp:/w/workspace/foundry_device-virtual-go_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:11:01 $ docker top fd1a3cfadd7fedaff2f1640b9169b218e2a0e6025680aeb881c6abffb7049459 -eo pid,comm [Pipeline] { [Pipeline] sh 08:11:01 + touch /tmp/pre-build-complete [Pipeline] sh 08:11:01 + mkdir -p /var/log/sysstat [Pipeline] sh 08:11:02 + ls /var/log/sa-host 08:11:02 + sadf -c /var/log/sa-host/sa12 08:11:02 file_magic: OK 08:11:02 HZ: Using current value: 100 08:11:02 file_header: OK 08:11:02 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 08:11:02 Statistics: 08:11:02 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:11:02 File successfully converted to sysstat format version 12.0.3 08:11:02 + sadf -c /var/log/sa-host/sa30 08:11:02 file_magic: OK 08:11:02 HZ: Using current value: 100 08:11:02 file_header: OK 08:11:02 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 08:11:02 Statistics: 08:11:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:11:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:11:02 provisioning config files... 08:11:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-242@tmp/config7319070326524099762tmp [Pipeline] { [Pipeline] echo 08:11:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:11:02 ---> create-netrc.sh [Pipeline] } 08:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:11:03 ---> python-tools-install.sh [Pipeline] echo 08:11:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:11:03 ---> sudo-logs.sh 08:11:03 Archiving 'sudo' log.. 08:11:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-622.novalocal: Name or service not known 08:11:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-622.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:11:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:11:04 ---> job-cost.sh 08:11:04 lf-activate-venv: SKIPPING 08:11:04 DEBUG: total: 0.10999999940395355 08:11:04 INFO: Retrieving Stack Cost... 08:11:12 INFO: Retrieving Pricing Info for: v3-standard-2 08:11:12 INFO: Archiving Costs [Pipeline] echo 08:11:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:11:12 ---> logs-deploy.sh 08:11:12 lf-activate-venv: SKIPPING 08:11:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-242/1 08:11:12 INFO: archiving workspace using pattern(s): 08:11:13 Archives upload complete. 08:11:13 INFO: archiving logs to Nexus