Pull request #261 updated 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 eaton-coreymutter for edgexfoundry/device-virtual-go Loading trusted files from base branch main at d36d4eb5d49c50cebb55fcc728bec397aa4f388e rather than a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 Obtained Jenkinsfile from d36d4eb5d49c50cebb55fcc728bec397aa4f388e 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-ssh7536731943049469768.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-ssh15788369227945543358.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3648880380418090727.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 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-ssh3133225411946610837.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5536017965813414773.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-docker-4c-2g-3858’ is offline Running on prd-centos7-docker-4c-2g-3860 in /w/workspace/foundry_device-virtual-go_PR-261 [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-261 # 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-261@tmp/jenkins-gitclient-ssh6152990801732787390.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d36d4eb5d49c50cebb55fcc728bec397aa4f388e into PR head commit a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 Merge succeeded, producing a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 Checking out Revision a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 (PR-261) > 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-261@tmp/jenkins-gitclient-ssh6237900989141886974.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 # 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-261@tmp/jenkins-gitclient-ssh3979879046676083888.key > git merge d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 # timeout=10 Commit message: "fix: Add mutex to make map concurrency-safe" First time build. Skipping changelog. > git rev-list --no-walk 5ffa2aea496f9d862b9f51ed3523d84bcb97010c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:45:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:45:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:45:14 ========================================================= 17:45:14 EdgeX Global Pipelines Version Info 17:45:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:45:15 ------------------- 17:45:15 stable info: 17:45:15 ------------------- 17:45:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:45:15 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:45:15 Message: update stable to v1.0.219 17:45:15 ------------------- 17:45:15 experimental info: 17:45:15 ------------------- 17:45:15 Commited By: **** collab-it+edgex@linuxfoundation.org 17:45:15 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:45:15 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9f4e1c [Pipeline] echo 17:45:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:16 provisioning config files... 17:45:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config7552478078307861132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:16 ---> docker-login.sh 17:45:16 nexus3.edgexfoundry.org:10001 17:45:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:17 Configure a credential helper to remove this warning. See 17:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:17 17:45:17 Login Succeeded 17:45:17 nexus3.edgexfoundry.org:10002 17:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:17 Configure a credential helper to remove this warning. See 17:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:17 17:45:17 Login Succeeded 17:45:17 nexus3.edgexfoundry.org:10003 17:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:17 Configure a credential helper to remove this warning. See 17:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:17 17:45:17 Login Succeeded 17:45:17 nexus3.edgexfoundry.org:10004 17:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:17 Configure a credential helper to remove this warning. See 17:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:17 17:45:17 Login Succeeded 17:45:17 docker.io 17:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:18 Configure a credential helper to remove this warning. See 17:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:18 17:45:18 Login Succeeded 17:45:18 ---> docker-login.sh ends [Pipeline] } 17:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:45:18 + git rev-list -1 --merges a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797~1..a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [Pipeline] echo 17:45:18 -----------> git rev-list -1 --merges a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797~1..a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [false] [Pipeline] sh 17:45:18 + git log --format=format:%s -1 a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [Pipeline] echo 17:45:18 ========================================================= 17:45:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:45:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:19 + git log --format=format:%s -1 a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [Pipeline] echo 17:45:19 [semverPrep] GIT_COMMIT: a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797, Commit Message: fix: Add mutex to make map concurrency-safe [Pipeline] echo 17:45:19 [semverPrep] This is not a build commit. [Pipeline] sh 17:45:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 17:45:19 + grep -v github /etc/ssh/ssh_known_hosts 17:45:19 + '[' -e /tmp/ssh_known_hosts ']' 17:45:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:45:19 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 17:45:19 + sudo tee -a /etc/ssh/ssh_known_hosts 17:45:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:19 17:45:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:45:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:20 latest: Pulling from edgex-devops/git-semver 17:45:20 a0d0a0d46f8b: Pulling fs layer 17:45:20 3e5f54012d9b: Pulling fs layer 17:45:20 4c7163046ea9: Pulling fs layer 17:45:20 0c2d73faf560: Pulling fs layer 17:45:20 0c2d73faf560: Waiting 17:45:20 3e5f54012d9b: Verifying Checksum 17:45:20 3e5f54012d9b: Download complete 17:45:20 a0d0a0d46f8b: Verifying Checksum 17:45:20 a0d0a0d46f8b: Download complete 17:45:20 0c2d73faf560: Verifying Checksum 17:45:20 0c2d73faf560: Download complete 17:45:20 4c7163046ea9: Verifying Checksum 17:45:20 4c7163046ea9: Download complete 17:45:20 a0d0a0d46f8b: Pull complete 17:45:20 3e5f54012d9b: Pull complete 17:45:20 4c7163046ea9: Pull complete 17:45:20 0c2d73faf560: Pull complete 17:45:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:45:21 prd-centos7-docker-4c-2g-3860 does not seem to be running inside a container 17:45:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:45:21 $ docker top d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:22 [ssh-agent] Looking for ssh-agent implementation... 17:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:22 $ docker exec d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 ssh-agent 17:45:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcMGAjM/agent.14 17:45:22 SSH_AGENT_PID=21 17:45:22 Running ssh-add (command line suppressed) 17:45:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_4553811663308691791.key (/w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_4553811663308691791.key) 17:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:22 + git tag --points-at HEAD [Pipeline] } 17:45:22 $ docker exec --env ******** --env ******** d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 ssh-agent -k 17:45:22 unset SSH_AUTH_SOCK; 17:45:22 unset SSH_AGENT_PID; 17:45:22 echo Agent pid 21 killed; 17:45:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:22 [ssh-agent] Looking for ssh-agent implementation... 17:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:22 $ docker exec d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 ssh-agent 17:45:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbmMFON/agent.56 17:45:23 SSH_AGENT_PID=63 17:45:23 Running ssh-add (command line suppressed) 17:45:23 Identity added: /w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_1912141658688285259.key (/w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_1912141658688285259.key) 17:45:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:23 + git semver init 17:45:23 # -> Open(): unable to determine branch for HEAD 17:45:23 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-261/.git 17:45:23 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-261 17:45:23 # $SEMVER_REMOTE_NAME = origin 17:45:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:45:23 # $SEMVER_USER_NAME = edgex-jenkins 17:45:23 # $SEMVER_BRANCH = PR-261 17:45:23 # $SEMVER_TEMP = /tmp/semver-675673223 17:45:23 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 17:45:24 # '/tmp/semver-675673223' -> '/w/workspace/foundry_device-virtual-go_PR-261/.semver' 17:45:24 # -> Force: false 17:45:24 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-261/.semver [Pipeline] } 17:45:24 $ docker exec --env ******** --env ******** d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 ssh-agent -k 17:45:24 unset SSH_AUTH_SOCK; 17:45:24 unset SSH_AGENT_PID; 17:45:24 echo Agent pid 63 killed; 17:45:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:45:25 + git semver [Pipeline] } 17:45:25 $ docker stop --time=1 d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 17:45:26 $ docker rm -f d1a003efc90f4eae7e1cb53e5c44d37f4a3180fea50420e16773fd93c755b4c8 [Pipeline] // withDockerContainer [Pipeline] sh 17:45:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:45:27 Stashed 1 file(s) [Pipeline] echo 17:45:27 [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 17:45:27 provisioning config files... 17:45:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config4937237590749979600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:27 ---> docker-login.sh 17:45:27 nexus3.edgexfoundry.org:10001 17:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:27 Configure a credential helper to remove this warning. See 17:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:27 17:45:27 Login Succeeded 17:45:27 nexus3.edgexfoundry.org:10002 17:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:27 Configure a credential helper to remove this warning. See 17:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:27 17:45:27 Login Succeeded 17:45:27 nexus3.edgexfoundry.org:10003 17:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:27 Configure a credential helper to remove this warning. See 17:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:27 17:45:27 Login Succeeded 17:45:27 nexus3.edgexfoundry.org:10004 17:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:27 Configure a credential helper to remove this warning. See 17:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:27 17:45:27 Login Succeeded 17:45:27 docker.io 17:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:28 Configure a credential helper to remove this warning. See 17:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:28 17:45:28 Login Succeeded 17:45:28 ---> docker-login.sh ends [Pipeline] } 17:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:28 ========================================================= 17:45:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:45:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:45:28 + 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 . 17:45:28 Sending build context to Docker daemon 22.9MB 17:45:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:45:28 Step 2/12 : FROM ${BASE} AS builder 17:45:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:45:29 59bf1c3509f3: Pulling fs layer 17:45:29 666ba61612fd: Pulling fs layer 17:45:29 8ed8ca486205: Pulling fs layer 17:45:29 4fe6c5a15a65: Pulling fs layer 17:45:29 22a0e8bec74d: Pulling fs layer 17:45:29 f965cba54748: Pulling fs layer 17:45:29 861ffc35075e: Pulling fs layer 17:45:29 4b385c91608e: Pulling fs layer 17:45:29 560528eb2ebb: Pulling fs layer 17:45:29 4fe6c5a15a65: Waiting 17:45:29 22a0e8bec74d: Waiting 17:45:29 f965cba54748: Waiting 17:45:29 861ffc35075e: Waiting 17:45:29 4b385c91608e: Waiting 17:45:29 560528eb2ebb: Waiting 17:45:29 8ed8ca486205: Verifying Checksum 17:45:29 8ed8ca486205: Download complete 17:45:29 666ba61612fd: Verifying Checksum 17:45:29 666ba61612fd: Download complete 17:45:29 22a0e8bec74d: Verifying Checksum 17:45:29 22a0e8bec74d: Download complete 17:45:29 f965cba54748: Verifying Checksum 17:45:29 f965cba54748: Download complete 17:45:29 59bf1c3509f3: Verifying Checksum 17:45:29 59bf1c3509f3: Download complete 17:45:29 861ffc35075e: Verifying Checksum 17:45:29 861ffc35075e: Download complete 17:45:29 4b385c91608e: Verifying Checksum 17:45:29 4b385c91608e: Download complete 17:45:29 59bf1c3509f3: Pull complete 17:45:29 4fe6c5a15a65: Verifying Checksum 17:45:29 4fe6c5a15a65: Download complete 17:45:29 560528eb2ebb: Verifying Checksum 17:45:29 560528eb2ebb: Download complete 17:45:29 666ba61612fd: Pull complete 17:45:29 8ed8ca486205: Pull complete 17:45:33 4fe6c5a15a65: Pull complete 17:45:33 22a0e8bec74d: Pull complete 17:45:33 f965cba54748: Pull complete 17:45:33 861ffc35075e: Pull complete 17:45:33 4b385c91608e: Pull complete 17:45:35 560528eb2ebb: Pull complete 17:45:35 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 17:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:45:35 ---> dd4a08f94e63 17:45:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:45:37 ---> Running in bc6891c65360 17:45:37 Removing intermediate container bc6891c65360 17:45:37 ---> 045bf486366a 17:45:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:45:37 ---> Running in 744a985230d9 17:45:37 Removing intermediate container 744a985230d9 17:45:37 ---> 45de7f992a64 17:45:37 Step 5/12 : WORKDIR /device-virtual-go 17:45:37 ---> Running in 9234971efc13 17:45:37 Removing intermediate container 9234971efc13 17:45:37 ---> 66473da29a1b 17:45:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:37 ---> Running in f8abbe9a3d96 17:45:38 Removing intermediate container f8abbe9a3d96 17:45:38 ---> 89ef860eb926 17:45:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:45:38 ---> Running in 7de61cc96727 17:45:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:45:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:45:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:45:40 (2/4) Installing libedit (20210910.3.1-r0) 17:45:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:45:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:45:40 Executing busybox-1.34.1-r3.trigger 17:45:40 OK: 224 MiB in 56 packages 17:45:40 Removing intermediate container 7de61cc96727 17:45:40 ---> bbcca68aef70 17:45:40 Step 8/12 : COPY go.mod vendor* ./ 17:45:40 ---> fcce9c9e304a 17:45:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:40 ---> Running in df014a05f092 17:45:42 Still waiting to schedule task 17:45:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3859’ is offline 17:46:19 Removing intermediate container df014a05f092 17:46:19 ---> b7c8a1360678 17:46:19 Step 10/12 : COPY . . 17:46:19 ---> 9606a45f2a7c 17:46:19 Step 11/12 : ARG MAKE='make build' 17:46:19 ---> Running in 90390c4a5850 17:46:19 Removing intermediate container 90390c4a5850 17:46:19 ---> 2f1e09804313 17:46:19 Step 12/12 : RUN $MAKE 17:46:19 ---> Running in d467ca82e764 17:46:19 noop 17:46:19 Removing intermediate container d467ca82e764 17:46:19 ---> 147202a81a23 17:46:19 Successfully built 147202a81a23 17:46:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:46:19 + docker inspect -f . ci-base-image-x86_64 17:46:19 . [Pipeline] withDockerContainer 17:46:19 prd-centos7-docker-4c-2g-3860 does not seem to be running inside a container 17:46:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:46:20 $ docker top 9ca426d83e017ab51df006a6ae931cdf498822e9c63d22c4ee5d56ac0f4ef777 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:20 + go version 17:46:20 go version go1.17.6 linux/amd64 [Pipeline] } 17:46:20 $ docker stop --time=1 9ca426d83e017ab51df006a6ae931cdf498822e9c63d22c4ee5d56ac0f4ef777 17:46:21 $ docker rm -f 9ca426d83e017ab51df006a6ae931cdf498822e9c63d22c4ee5d56ac0f4ef777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:46:22 + docker inspect -f . ci-base-image-x86_64 17:46:22 . [Pipeline] withDockerContainer 17:46:22 prd-centos7-docker-4c-2g-3860 does not seem to be running inside a container 17:46:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:46:23 $ docker top e9b627d1c9cf22be72c42a7acae838aa01f0cb63497e53f2ae599a8507945c6d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:46:23 + make test 17:46:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:46:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:46:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:46:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.026s coverage: 65.5% of statements 17:46:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:46:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:46:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:46:42 ./bin/test-attribution-txt.sh [Pipeline] echo 17:46:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:46:42 $ docker stop --time=1 e9b627d1c9cf22be72c42a7acae838aa01f0cb63497e53f2ae599a8507945c6d 17:46:44 $ docker rm -f e9b627d1c9cf22be72c42a7acae838aa01f0cb63497e53f2ae599a8507945c6d [Pipeline] // withDockerContainer [Pipeline] sh 17:46:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:46:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:46:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:46:46 + ls -al . 17:46:46 total 172 17:46:46 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 25 17:46 . 17:46:46 drwxrwxr-x. 4 jenkins jenkins 112 Jan 25 17:45 .. 17:46:46 -rw-rw-r--. 1 jenkins jenkins 8449 Jan 25 17:45 Attribution.txt 17:46:46 drwxrwxr-x. 2 jenkins jenkins 37 Jan 25 17:45 bin 17:46:46 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 25 17:45 CHANGELOG.md 17:46:46 drwxrwxr-x. 3 jenkins jenkins 32 Jan 25 17:45 cmd 17:46:46 -rw-r--r--. 1 jenkins jenkins 44394 Jan 25 17:46 coverage.out 17:46:46 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 25 17:45 Dockerfile 17:46:46 drwxrwxr-x. 8 jenkins jenkins 179 Jan 25 17:45 .git 17:46:46 drwxrwxr-x. 2 jenkins jenkins 103 Jan 25 17:45 .github 17:46:46 -rw-rw-r--. 1 jenkins jenkins 270 Jan 25 17:45 .gitignore 17:46:46 -rw-rw-r--. 1 jenkins jenkins 2746 Jan 25 17:45 go.mod 17:46:46 -rw-rw-r--. 1 jenkins jenkins 49169 Jan 25 17:45 go.sum 17:46:46 -rw-rw-r--. 1 jenkins jenkins 677 Jan 25 17:45 GOVERNANCE.md 17:46:46 drwxrwxr-x. 3 jenkins jenkins 20 Jan 25 17:45 internal 17:46:46 -rw-rw-r--. 1 jenkins jenkins 660 Jan 25 17:45 Jenkinsfile 17:46:46 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 25 17:45 LICENSE 17:46:46 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 25 17:45 Makefile 17:46:46 -rw-rw-r--. 1 jenkins jenkins 623 Jan 25 17:45 OWNERS.md 17:46:46 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 25 17:45 README.md 17:46:46 drwx------. 3 jenkins jenkins 71 Jan 25 17:45 .semver 17:46:46 -rw-rw-r--. 1 jenkins jenkins 5 Jan 25 17:45 VERSION 17:46:46 -rw-rw-r--. 1 jenkins jenkins 235 Jan 25 17:45 version.go [Pipeline] isUnix [Pipeline] sh 17:46:46 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 --label arch=amd64 --label version=0.0.0 . 17:46:46 Sending build context to Docker daemon 22.94MB 17:46:46 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:46:46 Step 2/26 : FROM ${BASE} AS builder 17:46:46 ---> 147202a81a23 17:46:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:46:46 ---> Running in b42153f28331 17:46:46 Removing intermediate container b42153f28331 17:46:46 ---> d570911797bf 17:46:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:46:46 ---> Running in 0b5b52721e8d 17:46:47 Removing intermediate container 0b5b52721e8d 17:46:47 ---> 38f2f59505e2 17:46:47 Step 5/26 : WORKDIR /device-virtual-go 17:46:47 ---> Running in 0900649ae38a 17:46:47 Removing intermediate container 0900649ae38a 17:46:47 ---> 766b331d924a 17:46:47 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:47 ---> Running in 8290a9ade957 17:46:47 Removing intermediate container 8290a9ade957 17:46:47 ---> eecd6619ccdc 17:46:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:47 ---> Running in 7e0d7071c35b 17:46:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:46:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:46:48 OK: 224 MiB in 56 packages 17:46:49 Removing intermediate container 7e0d7071c35b 17:46:49 ---> ebc224334304 17:46:49 Step 8/26 : COPY go.mod vendor* ./ 17:46:49 ---> c4f8ecd24c39 17:46:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:49 ---> Running in d09dfc2ad28b 17:46:50 Removing intermediate container d09dfc2ad28b 17:46:50 ---> 4b88f0bad8a5 17:46:50 Step 10/26 : COPY . . 17:46:50 ---> 016bc7ec8cb4 17:46:50 Step 11/26 : ARG MAKE='make build' 17:46:50 ---> Running in bb88065c1aa3 17:46:50 Removing intermediate container bb88065c1aa3 17:46:50 ---> 6137c27675ae 17:46:50 Step 12/26 : RUN $MAKE 17:46:50 ---> Running in 0080dfd4b489 17:46:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 17:47:03 Removing intermediate container 0080dfd4b489 17:47:03 ---> 2493282607b1 17:47:03 Step 13/26 : FROM alpine:3.14 17:47:03 3.14: Pulling from library/alpine 17:47:03 97518928ae5f: Pulling fs layer 17:47:03 97518928ae5f: Verifying Checksum 17:47:03 97518928ae5f: Download complete 17:47:03 97518928ae5f: Pull complete 17:47:03 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 17:47:03 Status: Downloaded newer image for alpine:3.14 17:47:03 ---> 0a97eee8041e 17:47:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:47:03 ---> Running in 63e53f63b5cc 17:47:03 Removing intermediate container 63e53f63b5cc 17:47:03 ---> a14acfb5fecb 17:47:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:47:03 ---> Running in 280a71c9b392 17:47:04 Removing intermediate container 280a71c9b392 17:47:04 ---> 10244c208d66 17:47:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:47:04 ---> Running in 9e6794271157 17:47:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:47:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:47:05 (1/6) Installing dumb-init (1.2.5-r1) 17:47:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:47:05 (3/6) Installing libsodium (1.0.18-r0) 17:47:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3861 in /w/workspace/foundry_device-virtual-go_PR-261 [Pipeline] { [Pipeline] ws 17:47:05 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 17:47:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:47:06 (5/6) Installing libzmq (4.3.4-r0) 17:47:06 (6/6) Installing zeromq (4.3.4-r0) 17:47:06 The recommended git tool is: git 17:47:06 Executing busybox-1.33.1-r6.trigger 17:47:06 OK: 8 MiB in 20 packages 17:47:06 Removing intermediate container 9e6794271157 17:47:06 ---> 34ea7526a1ef 17:47:06 Step 17/26 : WORKDIR / 17:47:06 ---> Running in c7d4fc1d6123 17:47:06 Removing intermediate container c7d4fc1d6123 17:47:06 ---> db31b5756721 17:47:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:47:06 ---> 228760f4dd3c 17:47:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 17:47:06 ---> 2e9b629b239c 17:47:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 17:47:07 ---> 0082be63ba8a 17:47:07 Step 21/26 : EXPOSE 59900 17:47:07 ---> Running in e261476751c2 17:47:07 Removing intermediate container e261476751c2 17:47:07 ---> b72fb579d8c4 17:47:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 17:47:07 ---> Running in f647acbc73dc 17:47:07 Removing intermediate container f647acbc73dc 17:47:07 ---> ed88e19e713f 17:47:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:47:07 ---> Running in 8b29041d8087 17:47:07 Removing intermediate container 8b29041d8087 17:47:07 ---> a30e80dc0784 17:47:07 Step 24/26 : LABEL arch=amd64 17:47:07 ---> Running in f4f8187cb18a 17:47:07 Removing intermediate container f4f8187cb18a 17:47:07 ---> 8e34dd1b2c57 17:47:07 Step 25/26 : LABEL git_sha=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 17:47:07 ---> Running in 059b4e0a313b 17:47:07 Removing intermediate container 059b4e0a313b 17:47:07 ---> c7e967bae116 17:47:07 Step 26/26 : LABEL version=0.0.0 17:47:07 ---> Running in 532adb1c9cd9 17:47:07 Removing intermediate container 532adb1c9cd9 17:47:07 ---> fa1c05f8cdab 17:47:07 [Warning] One or more build-args [ARCH] were not consumed 17:47:07 Successfully built fa1c05f8cdab 17:47:07 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 17:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:08 17:47:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:08 latest: Pulling from edgex-lftools-log-publisher 17:47:08 b4d181a07f80: Pulling fs layer 17:47:08 a1111a8f2ec3: Pulling fs layer 17:47:08 ed53099fbce6: Pulling fs layer 17:47:08 dc539afda2c1: Pulling fs layer 17:47:08 77bc0d833cb6: Pulling fs layer 17:47:08 9065ff56babe: Pulling fs layer 17:47:08 d287ab97295c: Pulling fs layer 17:47:08 dc539afda2c1: Waiting 17:47:08 77bc0d833cb6: Waiting 17:47:08 9065ff56babe: Waiting 17:47:08 d287ab97295c: Waiting 17:47:08 a1111a8f2ec3: Verifying Checksum 17:47:08 a1111a8f2ec3: Download complete 17:47:08 dc539afda2c1: Verifying Checksum 17:47:08 dc539afda2c1: Download complete 17:47:08 ed53099fbce6: Verifying Checksum 17:47:08 ed53099fbce6: Download complete 17:47:08 9065ff56babe: Verifying Checksum 17:47:08 9065ff56babe: Download complete 17:47:08 77bc0d833cb6: Verifying Checksum 17:47:08 77bc0d833cb6: Download complete 17:47:08 b4d181a07f80: Verifying Checksum 17:47:08 b4d181a07f80: Download complete 17:47:09 d287ab97295c: Verifying Checksum 17:47:09 d287ab97295c: Download complete 17:47:10 using credential edgex-jenkins-ssh 17:47:10 Cloning the remote Git repository 17:47:10 b4d181a07f80: Pull complete 17:47:10 a1111a8f2ec3: Pull complete 17:47:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:47:10 > git init /w/workspace/device-virtual-go/3 # timeout=10 17:47:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:47:10 > git --version # timeout=10 17:47:10 > git --version # 'git version 2.17.1' 17:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:11 ed53099fbce6: Pull complete 17:47:11 dc539afda2c1: Pull complete 17:47:11 77bc0d833cb6: Pull complete 17:47:11 9065ff56babe: Pull complete 17:47:13 Merging remotes/origin/main commit d36d4eb5d49c50cebb55fcc728bec397aa4f388e into PR head commit a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 17:47:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:47:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:47:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:47:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:47:13 > git config core.sparsecheckout # timeout=10 17:47:13 Merge succeeded, producing a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 17:47:13 Checking out Revision a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 (PR-261) 17:47:13 > git checkout -f a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 # timeout=10 17:47:13 > git remote # timeout=10 17:47:13 > git config --get remote.origin.url # timeout=10 17:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:13 > git merge d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 17:47:13 > git rev-parse HEAD^{commit} # timeout=10 17:47:13 > git config core.sparsecheckout # timeout=10 17:47:13 > git checkout -f a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 # timeout=10 17:47:16 d287ab97295c: Pull complete 17:47:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:47:16 prd-centos7-docker-4c-2g-3860 does not seem to be running inside a container 17:47:17 $ 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-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:47:17 Commit message: "fix: Add mutex to make map concurrency-safe" 17:47:18 17:47:18 GitHub has been notified of this commit’s build result 17:47:18 17:47:19 $ docker top 211084dcdfa751556d2f8bffcf945dd6f84c656bf039f5adc19a70a8e3e33cda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:19 ---> job-cost.sh 17:47:19 lf-activate-venv: SKIPPING 17:47:19 INFO: No Stack... 17:47:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:47:20 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:20 Dload Upload Total Spent Left Speed 17:47:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh 17:47:20 INFO: Retrieving Pricing Info for: v3-standard-2 17:47:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:47:20 INFO: Archiving Costs [Pipeline] sh 17:47:21 + sudo tee /etc/docker/daemon.new 17:47:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:47:21 { 17:47:21 "registry-mirrors": [ 17:47:21 "https://nexus3.edgexfoundry.org:10001" 17:47:21 ], 17:47:21 "bip": "10.250.0.254/24", 17:47:21 "hosts": [ 17:47:21 "tcp://0.0.0.0:5555", 17:47:21 "unix:///var/run/docker.sock" 17:47:21 ], 17:47:21 "mtu": 1458, 17:47:21 "selinux-enabled": true, 17:47:21 "seccomp-profile": "/etc/docker/seccomp.json" 17:47:21 } [Pipeline] sh 17:47:21 + cut -d, -f6 17:47:21 + cat /w/workspace/foundry_device-virtual-go_PR-261/archives/cost.csv [Pipeline] lock 17:47:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] 17:47:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] did not exist. Created. 17:47:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:47:21 + echo total: 0.05999999865889549 [Pipeline] stash 17:47:21 Stashed 1 file(s) [Pipeline] } 17:47:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:47:21 $ docker stop --time=1 211084dcdfa751556d2f8bffcf945dd6f84c656bf039f5adc19a70a8e3e33cda 17:47:21 + sudo service docker restart 17:47:22 $ docker rm -f 211084dcdfa751556d2f8bffcf945dd6f84c656bf039f5adc19a70a8e3e33cda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:40 provisioning config files... 17:47:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config6006516886660979037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:40 ---> docker-login.sh 17:47:40 nexus3.edgexfoundry.org:10001 17:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:41 Configure a credential helper to remove this warning. See 17:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:41 17:47:41 Login Succeeded 17:47:41 nexus3.edgexfoundry.org:10002 17:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:41 Configure a credential helper to remove this warning. See 17:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:41 17:47:41 Login Succeeded 17:47:41 nexus3.edgexfoundry.org:10003 17:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:42 Configure a credential helper to remove this warning. See 17:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:42 17:47:42 Login Succeeded 17:47:42 nexus3.edgexfoundry.org:10004 17:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:42 Configure a credential helper to remove this warning. See 17:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:42 17:47:42 Login Succeeded 17:47:42 docker.io 17:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:43 Configure a credential helper to remove this warning. See 17:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:43 17:47:43 Login Succeeded 17:47:43 ---> docker-login.sh ends [Pipeline] } 17:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:43 ========================================================= 17:47:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:47:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:47:44 + 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 . 17:47:44 Sending build context to Docker daemon 11.61MB 17:47:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:47:44 Step 2/12 : FROM ${BASE} AS builder 17:47:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:47:44 9b3977197b4f: Pulling fs layer 17:47:44 1a89e8eeedd5: Pulling fs layer 17:47:44 94645a83ff95: Pulling fs layer 17:47:44 3f3a8bcf1eab: Pulling fs layer 17:47:44 0c92f367c5e7: Pulling fs layer 17:47:44 4b8299f9d1f4: Pulling fs layer 17:47:44 9a6b49a46696: Pulling fs layer 17:47:44 cf05db05a679: Pulling fs layer 17:47:44 4b8299f9d1f4: Waiting 17:47:44 3f3a8bcf1eab: Waiting 17:47:44 9a6b49a46696: Waiting 17:47:44 cf05db05a679: Waiting 17:47:44 0c92f367c5e7: Waiting 17:47:44 94645a83ff95: Verifying Checksum 17:47:44 94645a83ff95: Download complete 17:47:44 1a89e8eeedd5: Verifying Checksum 17:47:44 1a89e8eeedd5: Download complete 17:47:44 0c92f367c5e7: Download complete 17:47:45 4b8299f9d1f4: Verifying Checksum 17:47:45 4b8299f9d1f4: Download complete 17:47:45 9a6b49a46696: Verifying Checksum 17:47:45 9a6b49a46696: Download complete 17:47:45 9b3977197b4f: Download complete 17:47:45 9b3977197b4f: Pull complete 17:47:46 1a89e8eeedd5: Pull complete 17:47:46 94645a83ff95: Pull complete 17:47:46 cf05db05a679: Verifying Checksum 17:47:46 cf05db05a679: Download complete 17:47:47 3f3a8bcf1eab: Verifying Checksum 17:47:47 3f3a8bcf1eab: Download complete 17:47:59 3f3a8bcf1eab: Pull complete 17:47:59 0c92f367c5e7: Pull complete 17:47:59 4b8299f9d1f4: Pull complete 17:47:59 9a6b49a46696: Pull complete 17:48:05 cf05db05a679: Pull complete 17:48:05 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 17:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:48:05 ---> 0ccda1f7e2ee 17:48:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:48:07 ---> Running in 3fc887b9c460 17:48:07 Removing intermediate container 3fc887b9c460 17:48:07 ---> 1122e6dbe1ba 17:48:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:48:07 ---> Running in 78d4cae3c2c4 17:48:07 Removing intermediate container 78d4cae3c2c4 17:48:07 ---> a6570f1e0c3b 17:48:07 Step 5/12 : WORKDIR /device-virtual-go 17:48:07 ---> Running in 37a2e26c3911 17:48:08 Removing intermediate container 37a2e26c3911 17:48:08 ---> a930216ff531 17:48:08 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:08 ---> Running in 7b5be68f7f9a 17:48:10 Removing intermediate container 7b5be68f7f9a 17:48:10 ---> 6ea3bd03239d 17:48:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:48:10 ---> Running in 63df2758d4a7 17:48:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:48:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:48:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:48:12 (2/4) Installing libedit (20210910.3.1-r0) 17:48:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:48:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:48:13 Executing busybox-1.34.1-r3.trigger 17:48:13 OK: 224 MiB in 56 packages 17:48:14 Removing intermediate container 63df2758d4a7 17:48:14 ---> d020e03d8d44 17:48:14 Step 8/12 : COPY go.mod vendor* ./ 17:48:14 ---> b587be4ef47d 17:48:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:48:14 ---> Running in db84c4475b47 17:49:36 Removing intermediate container db84c4475b47 17:49:36 ---> b4d2f8fb7ab0 17:49:36 Step 10/12 : COPY . . 17:49:36 ---> 05753e38fad4 17:49:36 Step 11/12 : ARG MAKE='make build' 17:49:36 ---> Running in 81182934ea4b 17:49:36 Removing intermediate container 81182934ea4b 17:49:36 ---> 7e43dcb8b9be 17:49:36 Step 12/12 : RUN $MAKE 17:49:36 ---> Running in e87b8111e987 17:49:36 noop 17:49:36 Removing intermediate container e87b8111e987 17:49:36 ---> 2777bf82f807 17:49:36 Successfully built 2777bf82f807 17:49:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:49:36 + docker inspect -f . ci-base-image-arm64 17:49:36 . [Pipeline] withDockerContainer 17:49:37 prd-ubuntu18.04-docker-arm64-4c-16g-3861 does not seem to be running inside a container 17:49:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:49:38 $ docker top ef7bfc44748d592862559422c29c01e469e6b24b122dc5592c367ab85c12df06 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:39 + go version 17:49:39 go version go1.17.6 linux/arm64 [Pipeline] } 17:49:39 $ docker stop --time=1 ef7bfc44748d592862559422c29c01e469e6b24b122dc5592c367ab85c12df06 17:49:41 $ docker rm -f ef7bfc44748d592862559422c29c01e469e6b24b122dc5592c367ab85c12df06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:49:41 + docker inspect -f . ci-base-image-arm64 17:49:41 . [Pipeline] withDockerContainer 17:49:41 prd-ubuntu18.04-docker-arm64-4c-16g-3861 does not seem to be running inside a container 17:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:49:43 $ docker top 6f46b88f2beb797488466ed8fbf379d54ff5dd32c6929cbb5d376aa8e2899268 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:49:44 + make test 17:49:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:49:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:50:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:50:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.111s coverage: 65.5% of statements 17:50:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:50:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:50:47 ./bin/test-attribution-txt.sh [Pipeline] echo 17:50:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:48 $ docker stop --time=1 6f46b88f2beb797488466ed8fbf379d54ff5dd32c6929cbb5d376aa8e2899268 17:50:50 $ docker rm -f 6f46b88f2beb797488466ed8fbf379d54ff5dd32c6929cbb5d376aa8e2899268 [Pipeline] // withDockerContainer [Pipeline] sh 17:50:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:51 Warning: overwriting stash ‘coverage-report’ 17:50:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:52 + ls -al . 17:50:52 total 196 17:50:52 drwxrwxr-x 7 jenkins jenkins 4096 Jan 25 17:50 . 17:50:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 17:47 .. 17:50:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 17:47 .git 17:50:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:47 .github 17:50:52 -rw-rw-r-- 1 jenkins jenkins 270 Jan 25 17:47 .gitignore 17:50:52 -rw-rw-r-- 1 jenkins jenkins 8449 Jan 25 17:47 Attribution.txt 17:50:52 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 25 17:47 CHANGELOG.md 17:50:52 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 25 17:47 Dockerfile 17:50:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 17:47 GOVERNANCE.md 17:50:52 -rw-rw-r-- 1 jenkins jenkins 660 Jan 25 17:47 Jenkinsfile 17:50:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 17:47 LICENSE 17:50:52 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 25 17:47 Makefile 17:50:52 -rw-rw-r-- 1 jenkins jenkins 623 Jan 25 17:47 OWNERS.md 17:50:52 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 25 17:47 README.md 17:50:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 17:45 VERSION 17:50:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:47 bin 17:50:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:47 cmd 17:50:52 -rw-r--r-- 1 jenkins jenkins 44394 Jan 25 17:50 coverage.out 17:50:52 -rw-rw-r-- 1 jenkins jenkins 2746 Jan 25 17:47 go.mod 17:50:52 -rw-rw-r-- 1 jenkins jenkins 49169 Jan 25 17:47 go.sum 17:50:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:47 internal 17:50:52 -rw-rw-r-- 1 jenkins jenkins 235 Jan 25 17:47 version.go [Pipeline] isUnix [Pipeline] sh 17:50:52 + 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=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 --label arch=arm64 --label version=0.0.0 . 17:50:53 Sending build context to Docker daemon 11.65MB 17:50:53 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:50:53 Step 2/26 : FROM ${BASE} AS builder 17:50:53 ---> 2777bf82f807 17:50:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:50:53 ---> Running in a1484a01dc8e 17:50:53 Removing intermediate container a1484a01dc8e 17:50:53 ---> 0c85b73c4e9b 17:50:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:50:53 ---> Running in 6b3a94a96d5a 17:50:54 Removing intermediate container 6b3a94a96d5a 17:50:54 ---> 89a438b62e8e 17:50:54 Step 5/26 : WORKDIR /device-virtual-go 17:50:54 ---> Running in 316c079828fa 17:50:54 Removing intermediate container 316c079828fa 17:50:54 ---> e23389900dc3 17:50:54 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:54 ---> Running in 592ccee338f5 17:50:56 Removing intermediate container 592ccee338f5 17:50:56 ---> 68929c8e4f4a 17:50:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:56 ---> Running in 53b7b3dbf4dd 17:50:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:50:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:50:59 OK: 224 MiB in 56 packages 17:51:00 Removing intermediate container 53b7b3dbf4dd 17:51:00 ---> ce2ee4dfffd4 17:51:00 Step 8/26 : COPY go.mod vendor* ./ 17:51:00 ---> fc1a49e5f59a 17:51:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:00 ---> Running in fb4e22dab465 17:51:02 Removing intermediate container fb4e22dab465 17:51:02 ---> 1a15fa433bd4 17:51:02 Step 10/26 : COPY . . 17:51:04 ---> a47019657133 17:51:04 Step 11/26 : ARG MAKE='make build' 17:51:04 ---> Running in e64ff724cd3c 17:51:04 Removing intermediate container e64ff724cd3c 17:51:04 ---> f14e0cd4b5d4 17:51:04 Step 12/26 : RUN $MAKE 17:51:04 ---> Running in 0013af796c77 17:51:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 17:51:44 Removing intermediate container 0013af796c77 17:51:44 ---> 3a921ca701d4 17:51:44 Step 13/26 : FROM alpine:3.14 17:51:44 3.14: Pulling from library/alpine 17:51:44 be307f383ecc: Pulling fs layer 17:51:44 be307f383ecc: Verifying Checksum 17:51:44 be307f383ecc: Download complete 17:51:44 be307f383ecc: Pull complete 17:51:44 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 17:51:44 Status: Downloaded newer image for alpine:3.14 17:51:44 ---> 5b8b7b635229 17:51:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:51:44 ---> Running in 0bd6b04ad0b6 17:51:44 Removing intermediate container 0bd6b04ad0b6 17:51:44 ---> 0a2f1ee2226e 17:51:44 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:51:44 ---> Running in e9e1ca722547 17:51:46 Removing intermediate container e9e1ca722547 17:51:46 ---> 27b06a82517c 17:51:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:51:46 ---> Running in 03191eca3b80 17:51:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:51:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:51:48 (1/6) Installing dumb-init (1.2.5-r1) 17:51:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:51:48 (3/6) Installing libsodium (1.0.18-r0) 17:51:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:51:49 (5/6) Installing libzmq (4.3.4-r0) 17:51:49 (6/6) Installing zeromq (4.3.4-r0) 17:51:49 Executing busybox-1.33.1-r6.trigger 17:51:49 OK: 8 MiB in 20 packages 17:51:50 Removing intermediate container 03191eca3b80 17:51:50 ---> 605d6016ab81 17:51:50 Step 17/26 : WORKDIR / 17:51:50 ---> Running in c8d2570c59d3 17:51:50 Removing intermediate container c8d2570c59d3 17:51:50 ---> 913d02803ef6 17:51:50 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:51:51 ---> 6b03ca7c569d 17:51:51 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 17:51:51 ---> bf8c7777b241 17:51:51 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 17:51:52 ---> f54d8aa40c08 17:51:52 Step 21/26 : EXPOSE 59900 17:51:52 ---> Running in 205dd2f6aab7 17:51:53 Removing intermediate container 205dd2f6aab7 17:51:53 ---> 01f1d349bdf7 17:51:53 Step 22/26 : ENTRYPOINT ["/device-virtual"] 17:51:53 ---> Running in 28e9e18bf451 17:51:53 Removing intermediate container 28e9e18bf451 17:51:53 ---> 77c3b238c4df 17:51:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:51:53 ---> Running in 1bf471ebb0b3 17:51:54 Removing intermediate container 1bf471ebb0b3 17:51:54 ---> 8eacdb0b20f2 17:51:54 Step 24/26 : LABEL arch=arm64 17:51:54 ---> Running in 0646d8b38fda 17:51:54 Removing intermediate container 0646d8b38fda 17:51:54 ---> 09e52a1ac613 17:51:54 Step 25/26 : LABEL git_sha=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 17:51:54 ---> Running in 534865f96b21 17:51:55 Removing intermediate container 534865f96b21 17:51:55 ---> ee7193516ecc 17:51:55 Step 26/26 : LABEL version=0.0.0 17:51:55 ---> Running in b5315ea4069c 17:51:55 Removing intermediate container b5315ea4069c 17:51:55 ---> 8f2c9bdc7b42 17:51:55 [Warning] One or more build-args [ARCH] were not consumed 17:51:55 Successfully built 8f2c9bdc7b42 17:51:55 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 17:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:51:55 17:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:51:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:51:56 arm64: Pulling from edgex-lftools-log-publisher 17:51:56 448f6bf000e3: Pulling fs layer 17:51:56 f757da607395: Pulling fs layer 17:51:56 05883995daec: Pulling fs layer 17:51:56 8603b9c90790: Pulling fs layer 17:51:56 1560dd03e051: Pulling fs layer 17:51:56 27f5ce0e4adf: Pulling fs layer 17:51:56 c2d8d7efcc4b: Pulling fs layer 17:51:56 8603b9c90790: Waiting 17:51:56 27f5ce0e4adf: Waiting 17:51:56 c2d8d7efcc4b: Waiting 17:51:56 1560dd03e051: Waiting 17:51:56 f757da607395: Verifying Checksum 17:51:56 f757da607395: Download complete 17:51:56 8603b9c90790: Verifying Checksum 17:51:56 8603b9c90790: Download complete 17:51:56 1560dd03e051: Download complete 17:51:56 27f5ce0e4adf: Verifying Checksum 17:51:56 27f5ce0e4adf: Download complete 17:51:56 05883995daec: Verifying Checksum 17:51:56 05883995daec: Download complete 17:51:57 448f6bf000e3: Verifying Checksum 17:51:57 448f6bf000e3: Download complete 17:51:59 c2d8d7efcc4b: Verifying Checksum 17:51:59 c2d8d7efcc4b: Download complete 17:52:00 448f6bf000e3: Pull complete 17:52:01 f757da607395: Pull complete 17:52:02 05883995daec: Pull complete 17:52:02 8603b9c90790: Pull complete 17:52:03 1560dd03e051: Pull complete 17:52:03 27f5ce0e4adf: Pull complete 17:52:18 c2d8d7efcc4b: Pull complete 17:52:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:52:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:52:19 prd-ubuntu18.04-docker-arm64-4c-16g-3861 does not seem to be running inside a container 17:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:52:21 $ docker top 17dc2cfdb4013b91b73e1896061aeb5581d00126aec0bbf2c02d1b324963a8d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:22 ---> job-cost.sh 17:52:22 lf-activate-venv: SKIPPING 17:52:22 INFO: No Stack... 17:52:23 INFO: Retrieving Pricing Info for: v3-standard-4 17:52:23 INFO: Archiving Costs [Pipeline] sh 17:52:23 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 17:52:23 + cut -d, -f6 [Pipeline] lock 17:52:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] 17:52:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] did not exist. Created. 17:52:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:52:24 /w/workspace/device-virtual-go/3@tmp/durable-587cdb9b/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-587cdb9b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:52:25 + echo total: 0.10999999940395355 [Pipeline] stash 17:52:25 Warning: overwriting stash ‘stack-cost’ 17:52:25 Stashed 1 file(s) [Pipeline] } 17:52:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:52:25 $ docker stop --time=1 17dc2cfdb4013b91b73e1896061aeb5581d00126aec0bbf2c02d1b324963a8d5 17:52:26 $ docker rm -f 17dc2cfdb4013b91b73e1896061aeb5581d00126aec0bbf2c02d1b324963a8d5 [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 17:52:27 provisioning config files... 17:52:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config8342266898919936496tmp [Pipeline] { [Pipeline] sh 17:52:27 + set +x 17:52:27 + bash -s -- 17:52:27 + curl -s https://codecov.io/bash 17:52:27 17:52:27 _____ _ 17:52:27 / ____| | | 17:52:27 | | ___ __| | ___ ___ _____ __ 17:52:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:52:27 | |___| (_) | (_| | __/ (_| (_) \ V / 17:52:27 \_____\___/ \__,_|\___|\___\___/ \_/ 17:52:27 Bash-1.0.6 17:52:27 17:52:27 17:52:27 ==> git version 2.24.4 found 17:52:27 ==> 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 17:52:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:52:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:52:27 ==> Jenkins CI detected. 17:52:27 current dir:  /w/workspace/foundry_device-virtual-go_PR-261 17:52:27 project root: . 17:52:27 --> token set from env 17:52:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:52:27 ==> Running gcov in . (disable via -X gcov) 17:52:27 ==> Python coveragepy not found 17:52:27 ==> Searching for coverage reports in: 17:52:27 + . 17:52:27 -> Found 1 reports 17:52:27 ==> Detecting git/mercurial file structure 17:52:27 ==> Reading reports 17:52:27 + ./coverage.out bytes=44394 17:52:27 ==> Appending adjustments 17:52:27 https://docs.codecov.io/docs/fixing-reports 17:52:27 + Found adjustments 17:52:27 ==> Gzipping contents 17:52:27 8.0K /tmp/codecov.Jwu4mO.gz 17:52:27 ==> Uploading reports 17:52:27 url: https://codecov.io 17:52:27 query: branch=PR-261&commit=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=261&job=&cmd_args= 17:52:27 -> Pinging Codecov 17:52:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-261&commit=a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=261&job=&cmd_args= 17:52:28 -> Uploading to 17:52:28 https://storage.googleapis.com/codecov/v4/raw/2022-01-25/5E52B4B073DB2E39498172D8E973AA87/a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797/4ac227a7-1a4e-45a7-8678-abbb64e943ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220125T175228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2c1b66cabcbf24dd66159ca16c7a9d68c19fbf1103abd33d2a9f8c4908f1e53 17:52:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:28 Dload Upload Total Spent Left Speed 17:52:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5318 0 0 100 5318 0 16296 --:--:-- --:--:-- --:--:-- 16312 17:52:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 [Pipeline] } 17:52:28 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 17:52:29 + '[' -d /w/workspace/foundry_device-virtual-go_PR-261/archives ']' 17:52:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-261/archives 17:52:29 total 8 17:52:29 drwxr-xr-x. 3 root root 34 Jan 25 17:47 . 17:52:29 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 25 17:47 .. 17:52:29 drwxr-xr-x. 2 root root 6 Jan 25 17:47 cost 17:52:29 -rw-r--r--. 1 root root 88 Jan 25 17:47 cost.csv 17:52:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-261/archives 17:52:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-261/archives 17:52:29 total 8 17:52:29 drwxr-xr-x. 3 jenkins jenkins 34 Jan 25 17:47 . 17:52:29 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 25 17:47 .. 17:52:29 drwxr-xr-x. 2 jenkins jenkins 6 Jan 25 17:47 cost 17:52:29 -rw-r--r--. 1 jenkins jenkins 88 Jan 25 17:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:52:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:52:30 ---> package-listing.sh 17:52:30 ++ tr '[:upper:]' '[:lower:]' 17:52:30 ++ facter osfamily 17:52:30 + OS_FAMILY=redhat 17:52:30 + workspace=/w/workspace/foundry_device-virtual-go_PR-261 17:52:30 + START_PACKAGES=/tmp/packages_start.txt 17:52:30 + END_PACKAGES=/tmp/packages_end.txt 17:52:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:52:30 + PACKAGES=/tmp/packages_start.txt 17:52:30 + '[' /w/workspace/foundry_device-virtual-go_PR-261 ']' 17:52:30 + PACKAGES=/tmp/packages_end.txt 17:52:30 + case "${OS_FAMILY}" in 17:52:30 + rpm -qa 17:52:30 + sort 17:52:31 + '[' -f /tmp/packages_start.txt ']' 17:52:31 + '[' -f /tmp/packages_end.txt ']' 17:52:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:52:31 + '[' /w/workspace/foundry_device-virtual-go_PR-261 ']' 17:52:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-261/archives/ 17:52:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-261/archives/ [Pipeline] echo 17:52:31 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:52:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:32 . [Pipeline] withDockerContainer 17:52:32 prd-centos7-docker-4c-2g-3860 does not seem to be running inside a container 17:52:32 $ 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-261/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-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 17:52:32 $ docker top 7851ef4a441b829a0177d069a9162351a85641682dafc0e6bc61eeccbc283e42 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:33 + touch /tmp/pre-build-complete [Pipeline] sh 17:52:33 + mkdir -p /var/log/sysstat [Pipeline] sh 17:52:33 + ls /var/log/sa-host 17:52:33 + sadf -c /var/log/sa-host/sa17 17:52:33 file_magic: OK 17:52:33 HZ: Using current value: 100 17:52:33 file_header: OK 17:52:33 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 17:52:33 Statistics: 17:52:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:52:33 File successfully converted to sysstat format version 12.0.3 17:52:33 + sadf -c /var/log/sa-host/sa25 17:52:33 file_magic: OK 17:52:33 HZ: Using current value: 100 17:52:33 file_header: OK 17:52:33 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 17:52:33 Statistics: 17:52:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:52:33 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:33 provisioning config files... 17:52:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config931268706027276016tmp [Pipeline] { [Pipeline] echo 17:52:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:52:34 ---> create-netrc.sh [Pipeline] } 17:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:52:34 ---> python-tools-install.sh [Pipeline] echo 17:52:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:52:34 ---> sudo-logs.sh 17:52:34 Archiving 'sudo' log.. 17:52:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-3860.novalocal: Name or service not known 17:52:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-3860.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:52:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:52:35 ---> job-cost.sh 17:52:35 lf-activate-venv: SKIPPING 17:52:35 DEBUG: total: 0.05999999865889549 17:52:35 INFO: Retrieving Stack Cost... 17:52:35 INFO: Retrieving Pricing Info for: v3-standard-2 17:52:35 INFO: Archiving Costs [Pipeline] echo 17:52:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:52:36 ---> logs-deploy.sh 17:52:36 lf-activate-venv: SKIPPING 17:52:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-261/3 17:52:36 INFO: archiving workspace using pattern(s): 17:52:37 Archives upload complete. 17:52:37 INFO: archiving logs to Nexus