Pull request #258 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 ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from bf2a4df93eeb1df5541589475a1f0932332d3693+724087511cf3d7293bcbfd68c5d6ae44a4ff0394 (4689838bd70c183e3e2e4e8927d22a6563f2d03b) 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-ssh13669306958918789001.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh684111185504992159.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-258/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-258/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14050248996958618115.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-258/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16920454135355480716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh12481507905509309353.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-258/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-258/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12099060167879494528.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 dae07dc806156effb2cae02074e2f5f64a063e83 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.17 USE_ALPINE: true 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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1843’ is offline ‘prd-centos7-docker-4c-2g-1847’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1844’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1853 in /w/workspace/foundry_device-virtual-go_PR-258 [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-258 # 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-258@tmp/jenkins-gitclient-ssh7992237793995025600.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-258@tmp/jenkins-gitclient-ssh1987467164281269083.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/258/head:refs/remotes/origin/PR-258 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 724087511cf3d7293bcbfd68c5d6ae44a4ff0394 into PR head commit bf2a4df93eeb1df5541589475a1f0932332d3693 Merge succeeded, producing bf2a4df93eeb1df5541589475a1f0932332d3693 Checking out Revision bf2a4df93eeb1df5541589475a1f0932332d3693 (PR-258) > git config core.sparsecheckout # timeout=10 > git checkout -f bf2a4df93eeb1df5541589475a1f0932332d3693 # 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-258@tmp/jenkins-gitclient-ssh1900187110282004597.key > git merge 724087511cf3d7293bcbfd68c5d6ae44a4ff0394 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf2a4df93eeb1df5541589475a1f0932332d3693 # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:53:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:53:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:53:14 ========================================================= 19:53:14 EdgeX Global Pipelines Version Info 19:53:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:53:15 ------------------- 19:53:15 stable info: 19:53:15 ------------------- 19:53:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:53:15 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 19:53:15 Message: update stable to v1.0.219 19:53:16 ------------------- 19:53:16 experimental info: 19:53:16 ------------------- 19:53:16 Commited By: **** collab-it+edgex@linuxfoundation.org 19:53:16 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 19:53:16 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:53:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-258 [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-258 [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-258 [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf2a4df93eeb1df5541589475a1f0932332d3693 [Pipeline] echo 19:53:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf2a4df [Pipeline] echo 19:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:18 provisioning config files... 19:53:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-258@tmp/config2583479908830899789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:18 ---> docker-login.sh 19:53:18 nexus3.edgexfoundry.org:10001 19:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:18 Configure a credential helper to remove this warning. See 19:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:18 19:53:18 Login Succeeded 19:53:18 nexus3.edgexfoundry.org:10002 19:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:18 Configure a credential helper to remove this warning. See 19:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:18 19:53:18 Login Succeeded 19:53:18 nexus3.edgexfoundry.org:10003 19:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:19 Configure a credential helper to remove this warning. See 19:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:19 19:53:19 Login Succeeded 19:53:19 nexus3.edgexfoundry.org:10004 19:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:19 Configure a credential helper to remove this warning. See 19:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:19 19:53:19 Login Succeeded 19:53:19 docker.io 19:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:19 Configure a credential helper to remove this warning. See 19:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:19 19:53:19 Login Succeeded 19:53:19 ---> docker-login.sh ends [Pipeline] } 19:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:53:20 + git rev-list -1 --merges bf2a4df93eeb1df5541589475a1f0932332d3693~1..bf2a4df93eeb1df5541589475a1f0932332d3693 [Pipeline] echo 19:53:20 -----------> git rev-list -1 --merges bf2a4df93eeb1df5541589475a1f0932332d3693~1..bf2a4df93eeb1df5541589475a1f0932332d3693 bf2a4df93eeb1df5541589475a1f0932332d3693 [false] [Pipeline] sh 19:53:20 + git log --format=format:%s -1 bf2a4df93eeb1df5541589475a1f0932332d3693 [Pipeline] echo 19:53:20 ========================================================= 19:53:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:53:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:21 + git log --format=format:%s -1 bf2a4df93eeb1df5541589475a1f0932332d3693 [Pipeline] echo 19:53:21 [semverPrep] GIT_COMMIT: bf2a4df93eeb1df5541589475a1f0932332d3693, Commit Message: ci: Go 1.17 related changes [Pipeline] echo 19:53:21 [semverPrep] This is not a build commit. [Pipeline] sh 19:53:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 19:53:21 + grep -v github /etc/ssh/ssh_known_hosts 19:53:21 + '[' -e /tmp/ssh_known_hosts ']' 19:53:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:53:21 + sudo tee -a /etc/ssh/ssh_known_hosts 19:53:21 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 19:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:22 19:53:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:53:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:22 latest: Pulling from edgex-devops/git-semver 19:53:22 a0d0a0d46f8b: Pulling fs layer 19:53:22 3e5f54012d9b: Pulling fs layer 19:53:22 4c7163046ea9: Pulling fs layer 19:53:22 0c2d73faf560: Pulling fs layer 19:53:22 0c2d73faf560: Waiting 19:53:22 3e5f54012d9b: Verifying Checksum 19:53:22 3e5f54012d9b: Download complete 19:53:22 a0d0a0d46f8b: Verifying Checksum 19:53:22 a0d0a0d46f8b: Download complete 19:53:22 0c2d73faf560: Verifying Checksum 19:53:22 0c2d73faf560: Download complete 19:53:22 4c7163046ea9: Verifying Checksum 19:53:22 4c7163046ea9: Download complete 19:53:22 a0d0a0d46f8b: Pull complete 19:53:22 3e5f54012d9b: Pull complete 19:53:22 4c7163046ea9: Pull complete 19:53:23 0c2d73faf560: Pull complete 19:53:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:53:23 prd-centos7-docker-4c-2g-1853 does not seem to be running inside a container 19:53:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-258 -v /w/workspace/foundry_device-virtual-go_PR-258:/w/workspace/foundry_device-virtual-go_PR-258:rw,z -v /w/workspace/foundry_device-virtual-go_PR-258@tmp:/w/workspace/foundry_device-virtual-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:53:24 $ docker top 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:53:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:24 [ssh-agent] Looking for ssh-agent implementation... 19:53:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:24 $ docker exec 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 ssh-agent 19:53:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBIBCPC/agent.15 19:53:24 SSH_AGENT_PID=22 19:53:24 Running ssh-add (command line suppressed) 19:53:24 Identity added: /w/workspace/foundry_device-virtual-go_PR-258@tmp/private_key_1726916678389835179.key (/w/workspace/foundry_device-virtual-go_PR-258@tmp/private_key_1726916678389835179.key) 19:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:25 + git tag --points-at HEAD [Pipeline] } 19:53:25 $ docker exec --env ******** --env ******** 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 ssh-agent -k 19:53:25 unset SSH_AUTH_SOCK; 19:53:25 unset SSH_AGENT_PID; 19:53:25 echo Agent pid 22 killed; 19:53:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:53:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:25 [ssh-agent] Looking for ssh-agent implementation... 19:53:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:25 $ docker exec 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 ssh-agent 19:53:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMPagmE/agent.55 19:53:25 SSH_AGENT_PID=61 19:53:25 Running ssh-add (command line suppressed) 19:53:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-258@tmp/private_key_5417078828202299543.key (/w/workspace/foundry_device-virtual-go_PR-258@tmp/private_key_5417078828202299543.key) 19:53:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:25 + git semver init 19:53:25 # -> Open(): unable to determine branch for HEAD 19:53:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-258/.git 19:53:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-258 19:53:25 # $SEMVER_REMOTE_NAME = origin 19:53:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:53:25 # $SEMVER_USER_NAME = edgex-jenkins 19:53:25 # $SEMVER_BRANCH = PR-258 19:53:25 # $SEMVER_TEMP = /tmp/semver-289112622 19:53:25 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:53:27 # '/tmp/semver-289112622' -> '/w/workspace/foundry_device-virtual-go_PR-258/.semver' 19:53:27 # -> Force: false 19:53:27 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-258/.semver [Pipeline] } 19:53:27 $ docker exec --env ******** --env ******** 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 ssh-agent -k 19:53:27 unset SSH_AUTH_SOCK; 19:53:27 unset SSH_AGENT_PID; 19:53:27 echo Agent pid 61 killed; 19:53:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:53:27 + git semver [Pipeline] } 19:53:27 $ docker stop --time=1 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 19:53:29 $ docker rm -f 77369a94aa4c38ac31704c70aeda2ab18adb634dfb7da460e8ba5c59f9c99583 [Pipeline] // withDockerContainer [Pipeline] sh 19:53:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:53:30 Stashed 1 file(s) [Pipeline] echo 19:53:30 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:31 provisioning config files... 19:53:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-258@tmp/config6848158524204767047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:31 ---> docker-login.sh 19:53:31 nexus3.edgexfoundry.org:10001 19:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:31 Configure a credential helper to remove this warning. See 19:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:31 19:53:31 Login Succeeded 19:53:31 nexus3.edgexfoundry.org:10002 19:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:31 Configure a credential helper to remove this warning. See 19:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:31 19:53:31 Login Succeeded 19:53:31 nexus3.edgexfoundry.org:10003 19:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:31 Configure a credential helper to remove this warning. See 19:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:31 19:53:31 Login Succeeded 19:53:31 nexus3.edgexfoundry.org:10004 19:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:32 Configure a credential helper to remove this warning. See 19:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:32 19:53:32 Login Succeeded 19:53:32 docker.io 19:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:32 Configure a credential helper to remove this warning. See 19:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:32 19:53:32 Login Succeeded 19:53:32 ---> docker-login.sh ends [Pipeline] } 19:53:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:53:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:32 ========================================================= 19:53:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:53:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:53:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 19:53:33 Sending build context to Docker daemon 22.83MB 19:53:33 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:53:33 Step 2/12 : FROM ${BASE} AS builder 19:53:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:53:33 59bf1c3509f3: Pulling fs layer 19:53:33 666ba61612fd: Pulling fs layer 19:53:33 8ed8ca486205: Pulling fs layer 19:53:33 4fe6c5a15a65: Pulling fs layer 19:53:33 22a0e8bec74d: Pulling fs layer 19:53:33 f965cba54748: Pulling fs layer 19:53:33 861ffc35075e: Pulling fs layer 19:53:33 4b385c91608e: Pulling fs layer 19:53:33 560528eb2ebb: Pulling fs layer 19:53:33 4fe6c5a15a65: Waiting 19:53:33 22a0e8bec74d: Waiting 19:53:33 f965cba54748: Waiting 19:53:33 861ffc35075e: Waiting 19:53:33 4b385c91608e: Waiting 19:53:33 560528eb2ebb: Waiting 19:53:33 8ed8ca486205: Download complete 19:53:33 666ba61612fd: Verifying Checksum 19:53:33 666ba61612fd: Download complete 19:53:33 22a0e8bec74d: Verifying Checksum 19:53:33 22a0e8bec74d: Download complete 19:53:33 f965cba54748: Verifying Checksum 19:53:33 f965cba54748: Download complete 19:53:33 59bf1c3509f3: Verifying Checksum 19:53:33 59bf1c3509f3: Download complete 19:53:33 861ffc35075e: Verifying Checksum 19:53:33 861ffc35075e: Download complete 19:53:33 4b385c91608e: Verifying Checksum 19:53:33 4b385c91608e: Download complete 19:53:33 59bf1c3509f3: Pull complete 19:53:33 4fe6c5a15a65: Verifying Checksum 19:53:33 4fe6c5a15a65: Download complete 19:53:34 560528eb2ebb: Verifying Checksum 19:53:34 560528eb2ebb: Download complete 19:53:34 666ba61612fd: Pull complete 19:53:34 8ed8ca486205: Pull complete 19:53:39 4fe6c5a15a65: Pull complete 19:53:39 22a0e8bec74d: Pull complete 19:53:39 f965cba54748: Pull complete 19:53:39 861ffc35075e: Pull complete 19:53:39 4b385c91608e: Pull complete 19:53:41 560528eb2ebb: Pull complete 19:53:41 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 19:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:53:41 ---> dd4a08f94e63 19:53:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:53:44 ---> Running in 99914fab8d2d 19:53:44 Removing intermediate container 99914fab8d2d 19:53:44 ---> 95af2b9789e8 19:53:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:53:44 ---> Running in 601c2dc91f2c 19:53:44 Removing intermediate container 601c2dc91f2c 19:53:44 ---> e867368079d5 19:53:44 Step 5/12 : WORKDIR /device-virtual-go 19:53:44 ---> Running in 2f2f10cf8869 19:53:44 Removing intermediate container 2f2f10cf8869 19:53:44 ---> 6d0f0e6f7557 19:53:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:53:44 ---> Running in 3b56751ddf8c 19:53:44 Removing intermediate container 3b56751ddf8c 19:53:44 ---> f4122c617baa 19:53:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:53:44 ---> Running in c206e59980ce 19:53:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:53:46 Still waiting to schedule task 19:53:46 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:46 ‘prd-centos7-docker-4c-2g-1857’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:46 ‘prd-centos7-docker-4c-2g-1859’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:46 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1858’ is offline 19:53:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:53:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:53:46 (2/4) Installing libedit (20210910.3.1-r0) 19:53:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:53:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:53:46 Executing busybox-1.34.1-r3.trigger 19:53:46 OK: 224 MiB in 56 packages 19:53:47 Removing intermediate container c206e59980ce 19:53:47 ---> bff76b445c45 19:53:47 Step 8/12 : COPY go.mod vendor* ./ 19:53:47 ---> 6fc96b09dada 19:53:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:53:47 ---> Running in 94700e5767d3 19:54:19 Removing intermediate container 94700e5767d3 19:54:19 ---> 2bdc085e93ac 19:54:19 Step 10/12 : COPY . . 19:54:19 ---> 1ba367cb2144 19:54:19 Step 11/12 : ARG MAKE='make build' 19:54:19 ---> Running in 99873f7df35e 19:54:19 Removing intermediate container 99873f7df35e 19:54:19 ---> cc1f02bc3914 19:54:19 Step 12/12 : RUN $MAKE 19:54:19 ---> Running in 717feb556e8f 19:54:19 noop 19:54:19 Removing intermediate container 717feb556e8f 19:54:19 ---> 2f9c106c3213 19:54:19 Successfully built 2f9c106c3213 19:54:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:54:20 + docker inspect -f . ci-base-image-x86_64 19:54:20 . [Pipeline] withDockerContainer 19:54:20 prd-centos7-docker-4c-2g-1853 does not seem to be running inside a container 19:54:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-258 -v /w/workspace/foundry_device-virtual-go_PR-258:/w/workspace/foundry_device-virtual-go_PR-258:rw,z -v /w/workspace/foundry_device-virtual-go_PR-258@tmp:/w/workspace/foundry_device-virtual-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:54:20 $ docker top 611e7b6268dcabd3928f96ffed525ebfc5c211d422669b4e526ad749b298b091 -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:20 + go version 19:54:20 go version go1.17.6 linux/amd64 [Pipeline] } 19:54:20 $ docker stop --time=1 611e7b6268dcabd3928f96ffed525ebfc5c211d422669b4e526ad749b298b091 19:54:22 $ docker rm -f 611e7b6268dcabd3928f96ffed525ebfc5c211d422669b4e526ad749b298b091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:54:22 + docker inspect -f . ci-base-image-x86_64 19:54:22 . [Pipeline] withDockerContainer 19:54:22 prd-centos7-docker-4c-2g-1853 does not seem to be running inside a container 19:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-258 -v /w/workspace/foundry_device-virtual-go_PR-258:/w/workspace/foundry_device-virtual-go_PR-258:rw,z -v /w/workspace/foundry_device-virtual-go_PR-258@tmp:/w/workspace/foundry_device-virtual-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:54:23 $ docker top 180d7d0138d8f120c15f8feb86958438f766deed1c554567e7690546ce9d1c56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:54:23 + make test 19:54:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:54:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:54:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:54:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.235s coverage: 64.6% of statements 19:54:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:54:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:54:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:54:50 ./bin/test-attribution-txt.sh [Pipeline] echo 19:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:54:50 $ docker stop --time=1 180d7d0138d8f120c15f8feb86958438f766deed1c554567e7690546ce9d1c56 19:54:52 $ docker rm -f 180d7d0138d8f120c15f8feb86958438f766deed1c554567e7690546ce9d1c56 [Pipeline] // withDockerContainer [Pipeline] sh 19:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:54:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:54:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:54:53 + ls -al . 19:54:53 total 176 19:54:53 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 19 19:54 . 19:54:53 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 19:53 .. 19:54:53 -rw-rw-r--. 1 jenkins jenkins 8449 Jan 19 19:53 Attribution.txt 19:54:53 drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 19:53 bin 19:54:53 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 19 19:53 CHANGELOG.md 19:54:53 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 19:53 cmd 19:54:53 -rw-r--r--. 1 jenkins jenkins 46339 Jan 19 19:54 coverage.out 19:54:53 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 19 19:53 Dockerfile 19:54:53 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 19:53 .git 19:54:53 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 19:53 .github 19:54:53 -rw-rw-r--. 1 jenkins jenkins 270 Jan 19 19:53 .gitignore 19:54:53 -rw-rw-r--. 1 jenkins jenkins 350 Jan 19 19:53 go.mod 19:54:53 -rw-rw-r--. 1 jenkins jenkins 52323 Jan 19 19:53 go.sum 19:54:53 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 19:53 GOVERNANCE.md 19:54:53 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 19:53 internal 19:54:53 -rw-rw-r--. 1 jenkins jenkins 660 Jan 19 19:53 Jenkinsfile 19:54:53 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 19:53 LICENSE 19:54:53 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 19 19:53 Makefile 19:54:53 -rw-rw-r--. 1 jenkins jenkins 623 Jan 19 19:53 OWNERS.md 19:54:53 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 19 19:53 README.md 19:54:53 drwx------. 3 jenkins jenkins 71 Jan 19 19:53 .semver 19:54:53 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 19:53 VERSION 19:54:53 -rw-rw-r--. 1 jenkins jenkins 235 Jan 19 19:53 version.go [Pipeline] isUnix [Pipeline] sh 19:54:54 + 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=bf2a4df93eeb1df5541589475a1f0932332d3693 --label arch=amd64 --label version=0.0.0 . 19:54:54 Sending build context to Docker daemon 22.88MB 19:54:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 19:54:54 Step 2/26 : FROM ${BASE} AS builder 19:54:54 ---> 2f9c106c3213 19:54:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:54:54 ---> Running in 49f11074fd8d 19:54:54 Removing intermediate container 49f11074fd8d 19:54:54 ---> ec7646df9bd4 19:54:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:54:54 ---> Running in 93a874888544 19:54:54 Removing intermediate container 93a874888544 19:54:54 ---> 66828f4c14c6 19:54:54 Step 5/26 : WORKDIR /device-virtual-go 19:54:54 ---> Running in e80d03e1522b 19:54:55 Removing intermediate container e80d03e1522b 19:54:55 ---> 8b4c5045fc3a 19:54:55 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:55 ---> Running in 73dfdf9badd5 19:54:55 Removing intermediate container 73dfdf9badd5 19:54:55 ---> e8c59933c81a 19:54:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:54:55 ---> Running in b858934d55fa 19:54:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:54:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:54:56 OK: 224 MiB in 56 packages 19:54:57 Removing intermediate container b858934d55fa 19:54:57 ---> 8790cc6f2d40 19:54:57 Step 8/26 : COPY go.mod vendor* ./ 19:54:57 ---> 89ba8f4b743c 19:54:57 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:54:57 ---> Running in a73195a90b4b 19:54:57 Removing intermediate container a73195a90b4b 19:54:57 ---> f7405abb48ee 19:54:57 Step 10/26 : COPY . . 19:54:58 ---> 1532f8821114 19:54:58 Step 11/26 : ARG MAKE='make build' 19:54:58 ---> Running in a33b3e72d6c2 19:54:58 Removing intermediate container a33b3e72d6c2 19:54:58 ---> ff79b5b56286 19:54:58 Step 12/26 : RUN $MAKE 19:54:58 ---> Running in 3ef71a1b35e5 19:54:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:55:17 Removing intermediate container 3ef71a1b35e5 19:55:17 ---> 389658a31ad9 19:55:17 Step 13/26 : FROM alpine:3.14 19:55:17 3.14: Pulling from library/alpine 19:55:17 97518928ae5f: Pulling fs layer 19:55:18 97518928ae5f: Verifying Checksum 19:55:18 97518928ae5f: Download complete 19:55:18 97518928ae5f: Pull complete 19:55:18 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 19:55:18 Status: Downloaded newer image for alpine:3.14 19:55:18 ---> 0a97eee8041e 19:55:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:55:18 ---> Running in e7c2930ebb16 19:55:18 Removing intermediate container e7c2930ebb16 19:55:18 ---> db0357700254 19:55:18 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:18 ---> Running in c76153b1fe37 19:55:18 Removing intermediate container c76153b1fe37 19:55:18 ---> 69b28b6c170e 19:55:18 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:55:18 ---> Running in 01a321151dad 19:55:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:55:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:55:20 (1/6) Installing dumb-init (1.2.5-r1) 19:55:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:55:20 (3/6) Installing libsodium (1.0.18-r0) 19:55:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:55:20 (5/6) Installing libzmq (4.3.4-r0) 19:55:20 (6/6) Installing zeromq (4.3.4-r0) 19:55:20 Executing busybox-1.33.1-r6.trigger 19:55:20 OK: 8 MiB in 20 packages 19:55:21 Removing intermediate container 01a321151dad 19:55:21 ---> 809782489a94 19:55:21 Step 17/26 : WORKDIR / 19:55:21 ---> Running in b8e20861f49e 19:55:21 Removing intermediate container b8e20861f49e 19:55:21 ---> fe41547de762 19:55:21 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:55:21 ---> f830fb0417a6 19:55:21 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:55:21 ---> 8bc21b72e5e4 19:55:21 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:55:21 ---> fe13bb42ddce 19:55:21 Step 21/26 : EXPOSE 59900 19:55:21 ---> Running in 3aa326998518 19:55:22 Removing intermediate container 3aa326998518 19:55:22 ---> a524b062f37e 19:55:22 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:55:22 ---> Running in 3146d529e3f7 19:55:22 Removing intermediate container 3146d529e3f7 19:55:22 ---> 8a7046f3b5f8 19:55:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:55:22 ---> Running in 8fc8ec2b77a1 19:55:22 Removing intermediate container 8fc8ec2b77a1 19:55:22 ---> aeac5398ba83 19:55:22 Step 24/26 : LABEL arch=amd64 19:55:22 ---> Running in 71780239f6ef 19:55:22 Removing intermediate container 71780239f6ef 19:55:22 ---> 6b0830fea98a 19:55:22 Step 25/26 : LABEL git_sha=bf2a4df93eeb1df5541589475a1f0932332d3693 19:55:22 ---> Running in 94cb628bae34 19:55:22 Removing intermediate container 94cb628bae34 19:55:22 ---> fef256ebb333 19:55:22 Step 26/26 : LABEL version=0.0.0 19:55:22 ---> Running in 12ef73b131f6 19:55:22 Removing intermediate container 12ef73b131f6 19:55:22 ---> 58f060e4417c 19:55:22 [Warning] One or more build-args [ARCH] were not consumed 19:55:22 Successfully built 58f060e4417c 19:55:22 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:23 19:55:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:55:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:23 latest: Pulling from edgex-lftools-log-publisher 19:55:23 b4d181a07f80: Pulling fs layer 19:55:23 a1111a8f2ec3: Pulling fs layer 19:55:23 ed53099fbce6: Pulling fs layer 19:55:23 dc539afda2c1: Pulling fs layer 19:55:23 77bc0d833cb6: Pulling fs layer 19:55:23 9065ff56babe: Pulling fs layer 19:55:23 d287ab97295c: Pulling fs layer 19:55:23 77bc0d833cb6: Waiting 19:55:23 9065ff56babe: Waiting 19:55:23 d287ab97295c: Waiting 19:55:23 dc539afda2c1: Waiting 19:55:23 a1111a8f2ec3: Verifying Checksum 19:55:23 a1111a8f2ec3: Download complete 19:55:23 dc539afda2c1: Verifying Checksum 19:55:23 dc539afda2c1: Download complete 19:55:24 ed53099fbce6: Verifying Checksum 19:55:24 ed53099fbce6: Download complete 19:55:24 77bc0d833cb6: Verifying Checksum 19:55:24 77bc0d833cb6: Download complete 19:55:24 b4d181a07f80: Verifying Checksum 19:55:24 b4d181a07f80: Download complete 19:55:24 9065ff56babe: Verifying Checksum 19:55:24 9065ff56babe: Download complete 19:55:24 d287ab97295c: Verifying Checksum 19:55:24 d287ab97295c: Download complete 19:55:25 b4d181a07f80: Pull complete 19:55:25 a1111a8f2ec3: Pull complete 19:55:26 ed53099fbce6: Pull complete 19:55:26 dc539afda2c1: Pull complete 19:55:26 77bc0d833cb6: Pull complete 19:55:26 9065ff56babe: Pull complete 19:55:32 d287ab97295c: Pull complete 19:55:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:55:32 prd-centos7-docker-4c-2g-1853 does not seem to be running inside a container 19:55:32 $ 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/foundry_device-virtual-go_PR-258 -v /w/workspace/foundry_device-virtual-go_PR-258:/w/workspace/foundry_device-virtual-go_PR-258:rw,z -v /w/workspace/foundry_device-virtual-go_PR-258@tmp:/w/workspace/foundry_device-virtual-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:55:34 $ docker top a4f2ba32aadf6270a8ae1f79c9106b6f30d5427e812b01768ccb0b6104b984b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:35 ---> job-cost.sh 19:55:35 lf-activate-venv: SKIPPING 19:55:35 INFO: No Stack... 19:55:35 INFO: Retrieving Pricing Info for: v3-standard-2 19:55:35 INFO: Archiving Costs [Pipeline] sh 19:55:36 + cat /w/workspace/foundry_device-virtual-go_PR-258/archives/cost.csv 19:55:36 + cut -d, -f6 [Pipeline] lock 19:55:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] 19:55:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] did not exist. Created. 19:55:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:55:36 + echo total: 0.05999999865889549 [Pipeline] stash 19:55:36 Stashed 1 file(s) [Pipeline] } 19:55:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:55:36 $ docker stop --time=1 a4f2ba32aadf6270a8ae1f79c9106b6f30d5427e812b01768ccb0b6104b984b0 19:55:37 $ docker rm -f a4f2ba32aadf6270a8ae1f79c9106b6f30d5427e812b01768ccb0b6104b984b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:56:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1867 in /w/workspace/foundry_device-virtual-go_PR-258 [Pipeline] { [Pipeline] ws 19:56:33 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:56:33 The recommended git tool is: git 19:56:39 using credential edgex-jenkins-ssh 19:56:39 Cloning the remote Git repository 19:56:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:56:39 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:56:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:56:39 > git --version # timeout=10 19:56:39 > git --version # 'git version 2.17.1' 19:56:39 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:43 Merging remotes/origin/main commit 724087511cf3d7293bcbfd68c5d6ae44a4ff0394 into PR head commit bf2a4df93eeb1df5541589475a1f0932332d3693 19:56:43 Merge succeeded, producing bf2a4df93eeb1df5541589475a1f0932332d3693 19:56:43 Checking out Revision bf2a4df93eeb1df5541589475a1f0932332d3693 (PR-258) 19:56:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:56:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:56:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:56:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/258/head:refs/remotes/origin/PR-258 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:56:43 > git config core.sparsecheckout # timeout=10 19:56:43 > git checkout -f bf2a4df93eeb1df5541589475a1f0932332d3693 # timeout=10 19:56:43 > git remote # timeout=10 19:56:43 > git config --get remote.origin.url # timeout=10 19:56:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:43 > git merge 724087511cf3d7293bcbfd68c5d6ae44a4ff0394 # timeout=10 19:56:43 > git rev-parse HEAD^{commit} # timeout=10 19:56:43 > git config core.sparsecheckout # timeout=10 19:56:43 > git checkout -f bf2a4df93eeb1df5541589475a1f0932332d3693 # timeout=10 19:56:48 Commit message: "ci: Go 1.17 related changes" 19:56:48 > git --version # timeout=10 19:56:48 > git --version # 'git version 2.17.1' 19:56:48 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:56:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:56:49 Dload Upload Total Spent Left Speed 19:56:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 165k 0 --:--:-- --:--:-- --:--:-- 165k [Pipeline] sh 19:56:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:56:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:56:50 + sudo tee /etc/docker/daemon.new 19:56:50 { 19:56:50 "registry-mirrors": [ 19:56:50 "https://nexus3.edgexfoundry.org:10001" 19:56:50 ], 19:56:50 "bip": "10.250.0.254/24", 19:56:50 "hosts": [ 19:56:50 "tcp://0.0.0.0:5555", 19:56:50 "unix:///var/run/docker.sock" 19:56:50 ], 19:56:50 "mtu": 1458, 19:56:50 "selinux-enabled": true, 19:56:50 "seccomp-profile": "/etc/docker/seccomp.json" 19:56:50 } [Pipeline] sh 19:56:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:56:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:10 provisioning config files... 19:57:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7765828154651864207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:10 ---> docker-login.sh 19:57:10 nexus3.edgexfoundry.org:10001 19:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:11 Configure a credential helper to remove this warning. See 19:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:11 19:57:11 Login Succeeded 19:57:11 nexus3.edgexfoundry.org:10002 19:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:12 Configure a credential helper to remove this warning. See 19:57:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:12 19:57:12 Login Succeeded 19:57:12 nexus3.edgexfoundry.org:10003 19:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:12 Configure a credential helper to remove this warning. See 19:57:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:12 19:57:12 Login Succeeded 19:57:12 nexus3.edgexfoundry.org:10004 19:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:13 Configure a credential helper to remove this warning. See 19:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:13 19:57:13 Login Succeeded 19:57:13 docker.io 19:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:14 Configure a credential helper to remove this warning. See 19:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:14 19:57:14 Login Succeeded 19:57:14 ---> docker-login.sh ends [Pipeline] } 19:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:57:14 ========================================================= 19:57:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:57:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:57:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:57:15 Sending build context to Docker daemon 11.55MB 19:57:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:57:15 Step 2/12 : FROM ${BASE} AS builder 19:57:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:57:15 9b3977197b4f: Pulling fs layer 19:57:15 1a89e8eeedd5: Pulling fs layer 19:57:15 94645a83ff95: Pulling fs layer 19:57:15 3f3a8bcf1eab: Pulling fs layer 19:57:15 0c92f367c5e7: Pulling fs layer 19:57:15 4b8299f9d1f4: Pulling fs layer 19:57:15 9a6b49a46696: Pulling fs layer 19:57:15 cf05db05a679: Pulling fs layer 19:57:15 4b8299f9d1f4: Waiting 19:57:15 cf05db05a679: Waiting 19:57:15 9a6b49a46696: Waiting 19:57:15 0c92f367c5e7: Waiting 19:57:15 3f3a8bcf1eab: Waiting 19:57:15 94645a83ff95: Verifying Checksum 19:57:15 94645a83ff95: Download complete 19:57:16 1a89e8eeedd5: Verifying Checksum 19:57:16 1a89e8eeedd5: Download complete 19:57:16 0c92f367c5e7: Verifying Checksum 19:57:16 0c92f367c5e7: Download complete 19:57:16 4b8299f9d1f4: Verifying Checksum 19:57:16 4b8299f9d1f4: Download complete 19:57:16 9b3977197b4f: Verifying Checksum 19:57:16 9a6b49a46696: Verifying Checksum 19:57:16 9a6b49a46696: Download complete 19:57:16 9b3977197b4f: Pull complete 19:57:17 1a89e8eeedd5: Pull complete 19:57:18 94645a83ff95: Pull complete 19:57:18 cf05db05a679: Verifying Checksum 19:57:18 cf05db05a679: Download complete 19:57:18 3f3a8bcf1eab: Verifying Checksum 19:57:18 3f3a8bcf1eab: Download complete 19:57:31 3f3a8bcf1eab: Pull complete 19:57:31 0c92f367c5e7: Pull complete 19:57:31 4b8299f9d1f4: Pull complete 19:57:31 9a6b49a46696: Pull complete 19:57:38 cf05db05a679: Pull complete 19:57:38 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 19:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:57:38 ---> 0ccda1f7e2ee 19:57:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:57:39 ---> Running in 1e0e9089fd02 19:57:39 Removing intermediate container 1e0e9089fd02 19:57:39 ---> d6910df50d54 19:57:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:57:39 ---> Running in 49f4f15c2e8d 19:57:40 Removing intermediate container 49f4f15c2e8d 19:57:40 ---> f1aef43dd59b 19:57:40 Step 5/12 : WORKDIR /device-virtual-go 19:57:40 ---> Running in 9616d89bdd54 19:57:40 Removing intermediate container 9616d89bdd54 19:57:40 ---> 159386ae779a 19:57:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:57:40 ---> Running in 90920067f64e 19:57:42 Removing intermediate container 90920067f64e 19:57:42 ---> efd756823c9c 19:57:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:57:43 ---> Running in 45e4267383fa 19:57:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:57:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:57:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:57:45 (2/4) Installing libedit (20210910.3.1-r0) 19:57:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:57:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:57:46 Executing busybox-1.34.1-r3.trigger 19:57:46 OK: 224 MiB in 56 packages 19:57:47 Removing intermediate container 45e4267383fa 19:57:47 ---> 4114e9a605c2 19:57:47 Step 8/12 : COPY go.mod vendor* ./ 19:57:48 ---> 47ceec37689e 19:57:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:57:48 ---> Running in 379f686b0a28 19:59:25 Removing intermediate container 379f686b0a28 19:59:25 ---> d1d50faab09b 19:59:25 Step 10/12 : COPY . . 19:59:25 ---> 0f8335061a49 19:59:25 Step 11/12 : ARG MAKE='make build' 19:59:25 ---> Running in f906eefb71ec 19:59:25 Removing intermediate container f906eefb71ec 19:59:25 ---> ff614e9cbf77 19:59:25 Step 12/12 : RUN $MAKE 19:59:25 ---> Running in 26854019f745 19:59:25 noop 19:59:25 Removing intermediate container 26854019f745 19:59:25 ---> faf58ca67954 19:59:25 Successfully built faf58ca67954 19:59:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:59:25 + docker inspect -f . ci-base-image-arm64 19:59:25 . [Pipeline] withDockerContainer 19:59:26 prd-ubuntu18.04-docker-arm64-4c-16g-1867 does not seem to be running inside a container 19:59:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:59:27 $ docker top 6c892f48e6103a1b828993ca9980d1ca7974a556c213baef98786ec9e9d8742e -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:28 + go version 19:59:28 go version go1.17.6 linux/arm64 [Pipeline] } 19:59:29 $ docker stop --time=1 6c892f48e6103a1b828993ca9980d1ca7974a556c213baef98786ec9e9d8742e 19:59:30 $ docker rm -f 6c892f48e6103a1b828993ca9980d1ca7974a556c213baef98786ec9e9d8742e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:59:31 + docker inspect -f . ci-base-image-arm64 19:59:31 . [Pipeline] withDockerContainer 19:59:32 prd-ubuntu18.04-docker-arm64-4c-16g-1867 does not seem to be running inside a container 19:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:59:33 $ docker top 6474ec4122d2baf02a22579a0e99be03f3902598997846841429a4d1ac493dbf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:59:34 + make test 19:59:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:59:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:00:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:01:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.609s coverage: 64.6% of statements 20:01:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:01:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:01:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:01:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:01:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:01:32 $ docker stop --time=1 6474ec4122d2baf02a22579a0e99be03f3902598997846841429a4d1ac493dbf 20:01:34 $ docker rm -f 6474ec4122d2baf02a22579a0e99be03f3902598997846841429a4d1ac493dbf [Pipeline] // withDockerContainer [Pipeline] sh 20:01:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:01:35 Warning: overwriting stash ‘coverage-report’ 20:01:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:01:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:01:37 + ls -al . 20:01:37 total 200 20:01:37 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 20:01 . 20:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 19:56 .. 20:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 19:56 .git 20:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:56 .github 20:01:37 -rw-rw-r-- 1 jenkins jenkins 270 Jan 19 19:56 .gitignore 20:01:37 -rw-rw-r-- 1 jenkins jenkins 8449 Jan 19 19:56 Attribution.txt 20:01:37 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 19 19:56 CHANGELOG.md 20:01:37 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 19 19:56 Dockerfile 20:01:37 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 19:56 GOVERNANCE.md 20:01:37 -rw-rw-r-- 1 jenkins jenkins 660 Jan 19 19:56 Jenkinsfile 20:01:37 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 19:56 LICENSE 20:01:37 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 19 19:56 Makefile 20:01:37 -rw-rw-r-- 1 jenkins jenkins 623 Jan 19 19:56 OWNERS.md 20:01:37 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 19 19:56 README.md 20:01:37 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 19:53 VERSION 20:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:56 bin 20:01:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:56 cmd 20:01:37 -rw-r--r-- 1 jenkins jenkins 46339 Jan 19 20:01 coverage.out 20:01:37 -rw-rw-r-- 1 jenkins jenkins 350 Jan 19 19:56 go.mod 20:01:37 -rw-rw-r-- 1 jenkins jenkins 52323 Jan 19 19:56 go.sum 20:01:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:56 internal 20:01:37 -rw-rw-r-- 1 jenkins jenkins 235 Jan 19 19:56 version.go [Pipeline] isUnix [Pipeline] sh 20:01:37 + 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=bf2a4df93eeb1df5541589475a1f0932332d3693 --label arch=arm64 --label version=0.0.0 . 20:01:38 Sending build context to Docker daemon 11.6MB 20:01:38 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:01:38 Step 2/26 : FROM ${BASE} AS builder 20:01:38 ---> faf58ca67954 20:01:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:01:38 ---> Running in ca585190c17a 20:01:39 Removing intermediate container ca585190c17a 20:01:39 ---> f95641072213 20:01:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:01:39 ---> Running in dfb8be1e57ef 20:01:39 Removing intermediate container dfb8be1e57ef 20:01:39 ---> 86864c7a4223 20:01:39 Step 5/26 : WORKDIR /device-virtual-go 20:01:40 ---> Running in 98eb0999bb72 20:01:40 Removing intermediate container 98eb0999bb72 20:01:40 ---> 6a8b7fafad1d 20:01:40 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:01:40 ---> Running in d6b30e51b318 20:01:42 Removing intermediate container d6b30e51b318 20:01:42 ---> e5fe3b9f828b 20:01:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:01:42 ---> Running in 1263fb4cab3f 20:01:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:01:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:01:46 OK: 224 MiB in 56 packages 20:01:47 Removing intermediate container 1263fb4cab3f 20:01:47 ---> 3c7698aa9c30 20:01:47 Step 8/26 : COPY go.mod vendor* ./ 20:01:47 ---> 00824084c8aa 20:01:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:01:47 ---> Running in 620fd0779a68 20:01:50 Removing intermediate container 620fd0779a68 20:01:50 ---> ba85ac10a9d6 20:01:50 Step 10/26 : COPY . . 20:01:51 ---> 0778bce0e947 20:01:51 Step 11/26 : ARG MAKE='make build' 20:01:51 ---> Running in 49d03ffde72d 20:01:52 Removing intermediate container 49d03ffde72d 20:01:52 ---> e04cd1d59dce 20:01:52 Step 12/26 : RUN $MAKE 20:01:52 ---> Running in 2b8657d3c257 20:01:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 20:03:01 Removing intermediate container 2b8657d3c257 20:03:01 ---> f121043544f2 20:03:01 Step 13/26 : FROM alpine:3.14 20:03:01 3.14: Pulling from library/alpine 20:03:01 be307f383ecc: Pulling fs layer 20:03:01 be307f383ecc: Download complete 20:03:01 be307f383ecc: Pull complete 20:03:01 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:03:01 Status: Downloaded newer image for alpine:3.14 20:03:01 ---> 5b8b7b635229 20:03:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:03:01 ---> Running in 3faf14e86893 20:03:01 Removing intermediate container 3faf14e86893 20:03:01 ---> c26652fa575e 20:03:01 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:01 ---> Running in b2c928bf193f 20:03:03 Removing intermediate container b2c928bf193f 20:03:03 ---> 5abe236a57aa 20:03:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:03:03 ---> Running in 919681831f4f 20:03:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:03:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:03:06 (1/6) Installing dumb-init (1.2.5-r1) 20:03:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:03:06 (3/6) Installing libsodium (1.0.18-r0) 20:03:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:03:06 (5/6) Installing libzmq (4.3.4-r0) 20:03:06 (6/6) Installing zeromq (4.3.4-r0) 20:03:06 Executing busybox-1.33.1-r6.trigger 20:03:06 OK: 8 MiB in 20 packages 20:03:07 Removing intermediate container 919681831f4f 20:03:07 ---> 4865303f10f3 20:03:07 Step 17/26 : WORKDIR / 20:03:07 ---> Running in 70908a4210e2 20:03:08 Removing intermediate container 70908a4210e2 20:03:08 ---> 601e708122bb 20:03:08 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:03:08 ---> 0ed579ad4e6b 20:03:08 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:03:09 ---> 8677661ed9a6 20:03:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:03:10 ---> 753aa264f6c3 20:03:10 Step 21/26 : EXPOSE 59900 20:03:10 ---> Running in 643f98c80dba 20:03:11 Removing intermediate container 643f98c80dba 20:03:11 ---> 208e6e8960a1 20:03:11 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:03:11 ---> Running in 5c02da876615 20:03:11 Removing intermediate container 5c02da876615 20:03:11 ---> 9b930703a077 20:03:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:03:11 ---> Running in 92ab78ef48b9 20:03:11 Removing intermediate container 92ab78ef48b9 20:03:11 ---> c913958475e0 20:03:11 Step 24/26 : LABEL arch=arm64 20:03:11 ---> Running in db0d3e45f29a 20:03:12 Removing intermediate container db0d3e45f29a 20:03:12 ---> fc453da6eef8 20:03:12 Step 25/26 : LABEL git_sha=bf2a4df93eeb1df5541589475a1f0932332d3693 20:03:12 ---> Running in 8bf2c679d65f 20:03:12 Removing intermediate container 8bf2c679d65f 20:03:12 ---> c184cef53223 20:03:12 Step 26/26 : LABEL version=0.0.0 20:03:12 ---> Running in 7d4341da7a34 20:03:13 Removing intermediate container 7d4341da7a34 20:03:13 ---> 69cc3d07eb0c 20:03:13 [Warning] One or more build-args [ARCH] were not consumed 20:03:13 Successfully built 69cc3d07eb0c 20:03:13 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 20:03:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:03:14 20:03:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:03:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:03:14 arm64: Pulling from edgex-lftools-log-publisher 20:03:14 448f6bf000e3: Pulling fs layer 20:03:14 f757da607395: Pulling fs layer 20:03:14 05883995daec: Pulling fs layer 20:03:14 8603b9c90790: Pulling fs layer 20:03:14 1560dd03e051: Pulling fs layer 20:03:14 27f5ce0e4adf: Pulling fs layer 20:03:14 c2d8d7efcc4b: Pulling fs layer 20:03:14 8603b9c90790: Waiting 20:03:14 1560dd03e051: Waiting 20:03:14 27f5ce0e4adf: Waiting 20:03:14 c2d8d7efcc4b: Waiting 20:03:14 f757da607395: Verifying Checksum 20:03:14 f757da607395: Download complete 20:03:14 8603b9c90790: Verifying Checksum 20:03:14 8603b9c90790: Download complete 20:03:14 1560dd03e051: Verifying Checksum 20:03:14 1560dd03e051: Download complete 20:03:14 27f5ce0e4adf: Verifying Checksum 20:03:14 27f5ce0e4adf: Download complete 20:03:14 05883995daec: Verifying Checksum 20:03:14 05883995daec: Download complete 20:03:14 448f6bf000e3: Verifying Checksum 20:03:14 448f6bf000e3: Download complete 20:03:17 c2d8d7efcc4b: Verifying Checksum 20:03:17 c2d8d7efcc4b: Download complete 20:03:19 448f6bf000e3: Pull complete 20:03:19 f757da607395: Pull complete 20:03:20 05883995daec: Pull complete 20:03:21 8603b9c90790: Pull complete 20:03:21 1560dd03e051: Pull complete 20:03:22 27f5ce0e4adf: Pull complete 20:03:37 c2d8d7efcc4b: Pull complete 20:03:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:03:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:03:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:03:37 prd-ubuntu18.04-docker-arm64-4c-16g-1867 does not seem to be running inside a container 20:03:37 $ 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:arm64 cat 20:03:40 $ docker top 745f15ee55e53a8563c4091d26113671206d022215a601c976e41fe9017aced0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:41 ---> job-cost.sh 20:03:41 lf-activate-venv: SKIPPING 20:03:41 INFO: No Stack... 20:03:42 INFO: Retrieving Pricing Info for: v3-standard-4 20:03:42 INFO: Archiving Costs [Pipeline] sh 20:03:42 + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, 20:03:42 -f6 [Pipeline] lock 20:03:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] 20:03:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] did not exist. Created. 20:03:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:03:43 /w/workspace/device-virtual-go/1@tmp/durable-b6e8fd7e/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b6e8fd7e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:03:44 + echo total: 0.10999999940395355 [Pipeline] stash 20:03:44 Warning: overwriting stash ‘stack-cost’ 20:03:44 Stashed 1 file(s) [Pipeline] } 20:03:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-258-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:03:44 $ docker stop --time=1 745f15ee55e53a8563c4091d26113671206d022215a601c976e41fe9017aced0 20:03:46 $ docker rm -f 745f15ee55e53a8563c4091d26113671206d022215a601c976e41fe9017aced0 [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 20:03:47 provisioning config files... 20:03:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-258@tmp/config7965315770394578693tmp [Pipeline] { [Pipeline] sh 20:03:47 + set +x 20:03:47 + curl -s https://codecov.io/bash 20:03:47 + bash -s -- 20:03:47 20:03:47 _____ _ 20:03:47 / ____| | | 20:03:47 | | ___ __| | ___ ___ _____ __ 20:03:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:03:47 | |___| (_) | (_| | __/ (_| (_) \ V / 20:03:47 \_____\___/ \__,_|\___|\___\___/ \_/ 20:03:47 Bash-1.0.6 20:03:47 20:03:47 20:03:47 ==> git version 2.24.4 found 20:03:47 ==> 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 20:03:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:03:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:03:47 ==> Jenkins CI detected. 20:03:47 current dir:  /w/workspace/foundry_device-virtual-go_PR-258 20:03:47 project root: . 20:03:47 --> token set from env 20:03:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:03:47 ==> Running gcov in . (disable via -X gcov) 20:03:47 ==> Python coveragepy not found 20:03:47 ==> Searching for coverage reports in: 20:03:47 + . 20:03:47 -> Found 1 reports 20:03:47 ==> Detecting git/mercurial file structure 20:03:47 ==> Reading reports 20:03:47 + ./coverage.out bytes=46339 20:03:47 ==> Appending adjustments 20:03:47 https://docs.codecov.io/docs/fixing-reports 20:03:48 + Found adjustments 20:03:48 ==> Gzipping contents 20:03:48 8.0K /tmp/codecov.UGJAoi.gz 20:03:48 ==> Uploading reports 20:03:48 url: https://codecov.io 20:03:48 query: branch=PR-258&commit=bf2a4df93eeb1df5541589475a1f0932332d3693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=258&job=&cmd_args= 20:03:48 -> Pinging Codecov 20:03:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-258&commit=bf2a4df93eeb1df5541589475a1f0932332d3693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=258&job=&cmd_args= 20:03:48 -> Uploading to 20:03:48 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/5E52B4B073DB2E39498172D8E973AA87/bf2a4df93eeb1df5541589475a1f0932332d3693/5142c157-f72c-44bd-8910-779155167442.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T200348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37d530e660993484f08472aff4bf0b469983d6eb65b0b7a36ac0ee02a7174f99 20:03:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:03:48 Dload Upload Total Spent Left Speed 20:03:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 14432 --:--:-- --:--:-- --:--:-- 14447 100 5490 0 0 100 5490 0 14426 --:--:-- --:--:-- --:--:-- 14409 20:03:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bf2a4df93eeb1df5541589475a1f0932332d3693 [Pipeline] } 20:03:48 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:03:50 + '[' -d /w/workspace/foundry_device-virtual-go_PR-258/archives ']' 20:03:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-258/archives 20:03:50 total 8 20:03:50 drwxr-xr-x. 3 root root 34 Jan 19 19:55 . 20:03:50 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 19:55 .. 20:03:50 drwxr-xr-x. 2 root root 6 Jan 19 19:55 cost 20:03:50 -rw-r--r--. 1 root root 88 Jan 19 19:55 cost.csv 20:03:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-258/archives 20:03:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-258/archives 20:03:50 total 8 20:03:50 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 19:55 . 20:03:50 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 19:55 .. 20:03:50 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 19:55 cost 20:03:50 -rw-r--r--. 1 jenkins jenkins 88 Jan 19 19:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:03:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:03:51 ---> package-listing.sh 20:03:51 ++ facter osfamily 20:03:51 ++ tr '[:upper:]' '[:lower:]' 20:03:51 + OS_FAMILY=redhat 20:03:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-258 20:03:51 + START_PACKAGES=/tmp/packages_start.txt 20:03:51 + END_PACKAGES=/tmp/packages_end.txt 20:03:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:03:51 + PACKAGES=/tmp/packages_start.txt 20:03:51 + '[' /w/workspace/foundry_device-virtual-go_PR-258 ']' 20:03:51 + PACKAGES=/tmp/packages_end.txt 20:03:51 + case "${OS_FAMILY}" in 20:03:51 + rpm -qa 20:03:51 + sort 20:03:52 + '[' -f /tmp/packages_start.txt ']' 20:03:52 + '[' -f /tmp/packages_end.txt ']' 20:03:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:03:52 + '[' /w/workspace/foundry_device-virtual-go_PR-258 ']' 20:03:52 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-258/archives/ 20:03:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-258/archives/ [Pipeline] echo 20:03:52 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-258/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:03:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:53 . [Pipeline] withDockerContainer 20:03:53 prd-centos7-docker-4c-2g-1853 does not seem to be running inside a container 20:03:53 $ 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-258/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-258 -v /w/workspace/foundry_device-virtual-go_PR-258:/w/workspace/foundry_device-virtual-go_PR-258:rw,z -v /w/workspace/foundry_device-virtual-go_PR-258@tmp:/w/workspace/foundry_device-virtual-go_PR-258@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 20:03:53 $ docker top 39439d1e0278e9e7da7b2a0df032409c24960956a8d25b3b277a757cd209385c -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:54 + touch /tmp/pre-build-complete [Pipeline] sh 20:03:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:03:54 + ls /var/log/sa-host 20:03:54 + sadf -c /var/log/sa-host/sa17 20:03:54 file_magic: OK 20:03:54 HZ: Using current value: 100 20:03:54 file_header: OK 20:03:54 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 20:03:54 Statistics: 20:03:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:03:54 File successfully converted to sysstat format version 12.0.3 20:03:54 + sadf -c /var/log/sa-host/sa19 20:03:54 file_magic: OK 20:03:54 HZ: Using current value: 100 20:03:54 file_header: OK 20:03:54 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 20:03:54 Statistics: 20:03:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:03:54 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:54 provisioning config files... 20:03:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-258@tmp/config2643606644129298775tmp [Pipeline] { [Pipeline] echo 20:03:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:03:55 ---> create-netrc.sh [Pipeline] } 20:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:03:55 ---> python-tools-install.sh [Pipeline] echo 20:03:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:03:56 ---> sudo-logs.sh 20:03:56 Archiving 'sudo' log.. 20:03:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-1853.novalocal: Name or service not known 20:03:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-1853.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:03:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:03:56 ---> job-cost.sh 20:03:56 lf-activate-venv: SKIPPING 20:03:56 DEBUG: total: 0.05999999865889549 20:03:56 INFO: Retrieving Stack Cost... 20:03:57 INFO: Retrieving Pricing Info for: v3-standard-2 20:03:57 INFO: Archiving Costs [Pipeline] echo 20:03:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:03:57 ---> logs-deploy.sh 20:03:57 lf-activate-venv: SKIPPING 20:03:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-258/1 20:03:57 INFO: archiving workspace using pattern(s): 20:03:58 Archives upload complete. 20:03:58 INFO: archiving logs to Nexus