Pull request #257 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b439f0bc84bf1d3b5dc3a29352d45168f4a2321e+f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 (cf158761bc415410b43a142d0c944144667945f5) 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-ssh6821884892467850462.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-ssh18030362688107329656.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-257/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-257/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4061841845691682328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-257/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6232136344325193806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14994775117395091535.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-257/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-257/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9383131508229441604.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1666 in /w/workspace/foundry_device-virtual-go_PR-257 [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-257 # 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-257@tmp/jenkins-gitclient-ssh1992142886671238285.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 f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 into PR head commit b439f0bc84bf1d3b5dc3a29352d45168f4a2321e Merge succeeded, producing b439f0bc84bf1d3b5dc3a29352d45168f4a2321e Checking out Revision b439f0bc84bf1d3b5dc3a29352d45168f4a2321e (PR-257) > 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-257@tmp/jenkins-gitclient-ssh8021357693956884639.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b439f0bc84bf1d3b5dc3a29352d45168f4a2321e # 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-257@tmp/jenkins-gitclient-ssh2484744849360013859.key > git merge f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b439f0bc84bf1d3b5dc3a29352d45168f4a2321e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:03:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:03:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:03:39 ========================================================= 11:03:39 EdgeX Global Pipelines Version Info 11:03:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:03:40 ------------------- 11:03:40 stable info: 11:03:40 ------------------- 11:03:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:03:40 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 11:03:40 Message: update stable to v1.0.219 11:03:40 ------------------- 11:03:40 experimental info: 11:03:40 ------------------- 11:03:40 Commited By: **** collab-it+edgex@linuxfoundation.org 11:03:40 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 11:03:40 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:03:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-257 [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-257 [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-257 [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b439f0b [Pipeline] echo 11:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:03:42 provisioning config files... 11:03:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-257@tmp/config4679218962199729143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:42 ---> docker-login.sh 11:03:42 nexus3.edgexfoundry.org:10001 11:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:43 Configure a credential helper to remove this warning. See 11:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:43 11:03:43 Login Succeeded 11:03:43 nexus3.edgexfoundry.org:10002 11:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:43 Configure a credential helper to remove this warning. See 11:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:43 11:03:43 Login Succeeded 11:03:43 nexus3.edgexfoundry.org:10003 11:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:43 Configure a credential helper to remove this warning. See 11:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:43 11:03:43 Login Succeeded 11:03:43 nexus3.edgexfoundry.org:10004 11:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:43 Configure a credential helper to remove this warning. See 11:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:43 11:03:43 Login Succeeded 11:03:43 docker.io 11:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:44 Configure a credential helper to remove this warning. See 11:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:44 11:03:44 Login Succeeded 11:03:44 ---> docker-login.sh ends [Pipeline] } 11:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:03:44 + git rev-list -1 --merges b439f0bc84bf1d3b5dc3a29352d45168f4a2321e~1..b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [Pipeline] echo 11:03:44 -----------> git rev-list -1 --merges b439f0bc84bf1d3b5dc3a29352d45168f4a2321e~1..b439f0bc84bf1d3b5dc3a29352d45168f4a2321e b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [false] [Pipeline] sh 11:03:45 + git log --format=format:%s -1 b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [Pipeline] echo 11:03:45 ========================================================= 11:03:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:03:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:03:45 + git log --format=format:%s -1 b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [Pipeline] echo 11:03:45 [semverPrep] GIT_COMMIT: b439f0bc84bf1d3b5dc3a29352d45168f4a2321e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:03:45 [semverPrep] This is not a build commit. [Pipeline] sh 11:03:46 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:03:46 + grep -v github /etc/ssh/ssh_known_hosts 11:03:46 + '[' -e /tmp/ssh_known_hosts ']' 11:03:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:03:46 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 11:03:46 + sudo tee -a /etc/ssh/ssh_known_hosts 11:03:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:46 11:03:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:03:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:46 latest: Pulling from edgex-devops/git-semver 11:03:46 a0d0a0d46f8b: Pulling fs layer 11:03:46 3e5f54012d9b: Pulling fs layer 11:03:46 4c7163046ea9: Pulling fs layer 11:03:46 0c2d73faf560: Pulling fs layer 11:03:46 0c2d73faf560: Waiting 11:03:46 3e5f54012d9b: Verifying Checksum 11:03:46 3e5f54012d9b: Download complete 11:03:46 a0d0a0d46f8b: Verifying Checksum 11:03:46 a0d0a0d46f8b: Download complete 11:03:46 4c7163046ea9: Verifying Checksum 11:03:46 4c7163046ea9: Download complete 11:03:46 0c2d73faf560: Verifying Checksum 11:03:46 0c2d73faf560: Download complete 11:03:47 a0d0a0d46f8b: Pull complete 11:03:47 3e5f54012d9b: Pull complete 11:03:47 4c7163046ea9: Pull complete 11:03:47 0c2d73faf560: Pull complete 11:03:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:03:47 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 11:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-257 -v /w/workspace/foundry_device-virtual-go_PR-257:/w/workspace/foundry_device-virtual-go_PR-257:rw,z -v /w/workspace/foundry_device-virtual-go_PR-257@tmp:/w/workspace/foundry_device-virtual-go_PR-257@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:03:47 $ docker top 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:03:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:48 [ssh-agent] Looking for ssh-agent implementation... 11:03:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:48 $ docker exec 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca ssh-agent 11:03:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmMPCCe/agent.13 11:03:48 SSH_AGENT_PID=20 11:03:48 Running ssh-add (command line suppressed) 11:03:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-257@tmp/private_key_942430264327477645.key (/w/workspace/foundry_device-virtual-go_PR-257@tmp/private_key_942430264327477645.key) 11:03:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:49 + git tag --points-at HEAD [Pipeline] } 11:03:48 $ docker exec --env ******** --env ******** 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca ssh-agent -k 11:03:48 unset SSH_AUTH_SOCK; 11:03:48 unset SSH_AGENT_PID; 11:03:48 echo Agent pid 20 killed; 11:03:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:49 [ssh-agent] Looking for ssh-agent implementation... 11:03:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:49 $ docker exec 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca ssh-agent 11:03:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXicgLCh/agent.54 11:03:49 SSH_AGENT_PID=60 11:03:49 Running ssh-add (command line suppressed) 11:03:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-257@tmp/private_key_2967571716768418451.key (/w/workspace/foundry_device-virtual-go_PR-257@tmp/private_key_2967571716768418451.key) 11:03:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:49 + git semver init 11:03:49 # -> Open(): unable to determine branch for HEAD 11:03:49 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-257/.git 11:03:49 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-257 11:03:49 # $SEMVER_REMOTE_NAME = origin 11:03:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:03:49 # $SEMVER_USER_NAME = edgex-jenkins 11:03:49 # $SEMVER_BRANCH = PR-257 11:03:49 # $SEMVER_TEMP = /tmp/semver-181404038 11:03:49 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:03:51 # '/tmp/semver-181404038' -> '/w/workspace/foundry_device-virtual-go_PR-257/.semver' 11:03:51 # -> Force: false 11:03:51 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-257/.semver [Pipeline] } 11:03:51 $ docker exec --env ******** --env ******** 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca ssh-agent -k 11:03:51 unset SSH_AUTH_SOCK; 11:03:51 unset SSH_AGENT_PID; 11:03:51 echo Agent pid 60 killed; 11:03:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:03:51 + git semver [Pipeline] } 11:03:51 $ docker stop --time=1 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca 11:03:53 $ docker rm -f 0347be3a8f55918f41fb36035332b23f8157e1b58d27b8bd6863fa5a79b6dbca [Pipeline] // withDockerContainer [Pipeline] sh 11:03:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:03:53 Stashed 1 file(s) [Pipeline] echo 11:03:53 [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 11:03:54 provisioning config files... 11:03:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-257@tmp/config3104998167364002407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:54 ---> docker-login.sh 11:03:54 nexus3.edgexfoundry.org:10001 11:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:54 Configure a credential helper to remove this warning. See 11:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:54 11:03:54 Login Succeeded 11:03:54 nexus3.edgexfoundry.org:10002 11:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:54 Configure a credential helper to remove this warning. See 11:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:54 11:03:54 Login Succeeded 11:03:54 nexus3.edgexfoundry.org:10003 11:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:55 Configure a credential helper to remove this warning. See 11:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:55 11:03:55 Login Succeeded 11:03:55 nexus3.edgexfoundry.org:10004 11:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:55 Configure a credential helper to remove this warning. See 11:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:55 11:03:55 Login Succeeded 11:03:55 docker.io 11:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:55 Configure a credential helper to remove this warning. See 11:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:55 11:03:55 Login Succeeded 11:03:55 ---> docker-login.sh ends [Pipeline] } 11:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:55 ========================================================= 11:03:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:03:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:03:56 + 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 . 11:03:56 Sending build context to Docker daemon 22.82MB 11:03:56 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:03:56 Step 2/11 : FROM ${BASE} AS builder 11:03:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:03:56 59bf1c3509f3: Pulling fs layer 11:03:56 666ba61612fd: Pulling fs layer 11:03:56 8ed8ca486205: Pulling fs layer 11:03:56 4fe6c5a15a65: Pulling fs layer 11:03:56 22a0e8bec74d: Pulling fs layer 11:03:56 f965cba54748: Pulling fs layer 11:03:56 861ffc35075e: Pulling fs layer 11:03:56 4b385c91608e: Pulling fs layer 11:03:56 560528eb2ebb: Pulling fs layer 11:03:56 f965cba54748: Waiting 11:03:56 861ffc35075e: Waiting 11:03:56 4b385c91608e: Waiting 11:03:56 560528eb2ebb: Waiting 11:03:56 4fe6c5a15a65: Waiting 11:03:56 22a0e8bec74d: Waiting 11:03:56 8ed8ca486205: Verifying Checksum 11:03:56 8ed8ca486205: Download complete 11:03:56 666ba61612fd: Download complete 11:03:56 22a0e8bec74d: Verifying Checksum 11:03:56 22a0e8bec74d: Download complete 11:03:56 f965cba54748: Verifying Checksum 11:03:56 f965cba54748: Download complete 11:03:56 59bf1c3509f3: Verifying Checksum 11:03:56 59bf1c3509f3: Download complete 11:03:56 861ffc35075e: Verifying Checksum 11:03:56 861ffc35075e: Download complete 11:03:56 4b385c91608e: Verifying Checksum 11:03:56 4b385c91608e: Download complete 11:03:56 59bf1c3509f3: Pull complete 11:03:57 666ba61612fd: Pull complete 11:03:57 560528eb2ebb: Verifying Checksum 11:03:57 560528eb2ebb: Download complete 11:03:57 8ed8ca486205: Pull complete 11:03:57 4fe6c5a15a65: Download complete 11:04:01 4fe6c5a15a65: Pull complete 11:04:01 22a0e8bec74d: Pull complete 11:04:01 f965cba54748: Pull complete 11:04:01 861ffc35075e: Pull complete 11:04:01 4b385c91608e: Pull complete 11:04:03 560528eb2ebb: Pull complete 11:04:03 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 11:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:04:03 ---> dd4a08f94e63 11:04:03 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:05 ---> Running in c24d3add48a1 11:04:05 Removing intermediate container c24d3add48a1 11:04:05 ---> ca4e2251f3cf 11:04:05 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:04:05 ---> Running in 59722c9b618c 11:04:05 Removing intermediate container 59722c9b618c 11:04:05 ---> 586e9da0d156 11:04:05 Step 5/11 : WORKDIR /device-virtual-go 11:04:05 ---> Running in e1f6bf3e6fb1 11:04:05 Removing intermediate container e1f6bf3e6fb1 11:04:05 ---> 67ed1dd7ada6 11:04:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:05 ---> Running in 83fdda0d758c 11:04:06 Removing intermediate container 83fdda0d758c 11:04:06 ---> a95d4c07c32c 11:04:06 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:06 ---> Running in 26f229fea872 11:04:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:04:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:04:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:04:07 (2/4) Installing libedit (20210910.3.1-r0) 11:04:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:04:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:04:08 Executing busybox-1.34.1-r3.trigger 11:04:08 OK: 224 MiB in 56 packages 11:04:08 Removing intermediate container 26f229fea872 11:04:08 ---> fcb1b2c0167c 11:04:08 Step 8/11 : COPY . . 11:04:08 ---> c2d0072cad66 11:04:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:08 ---> Running in 3bd6d227a1e7 11:04:09 Still waiting to schedule task 11:04:09 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:04:41 Removing intermediate container 3bd6d227a1e7 11:04:41 ---> afb04c9e42ce 11:04:41 Step 10/11 : ARG MAKE='make build' 11:04:41 ---> Running in 5aaeac54f8ec 11:04:41 Removing intermediate container 5aaeac54f8ec 11:04:41 ---> 6c567c1e529a 11:04:41 Step 11/11 : RUN $MAKE 11:04:41 ---> Running in cf6fa5271c6e 11:04:41 noop 11:04:41 Removing intermediate container cf6fa5271c6e 11:04:41 ---> 96ecd788cee1 11:04:41 Successfully built 96ecd788cee1 11:04:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:04:41 + docker inspect -f . ci-base-image-x86_64 11:04:41 . [Pipeline] withDockerContainer 11:04:41 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 11:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-257 -v /w/workspace/foundry_device-virtual-go_PR-257:/w/workspace/foundry_device-virtual-go_PR-257:rw,z -v /w/workspace/foundry_device-virtual-go_PR-257@tmp:/w/workspace/foundry_device-virtual-go_PR-257@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 ******** ci-base-image-x86_64 cat 11:04:41 $ docker top c4e7ccc39ca8e860e797b3354ecb6219918e70e2ed3795dddb5ed60899a63cd9 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:42 + go version 11:04:42 go version go1.17.6 linux/amd64 [Pipeline] } 11:04:42 $ docker stop --time=1 c4e7ccc39ca8e860e797b3354ecb6219918e70e2ed3795dddb5ed60899a63cd9 11:04:43 $ docker rm -f c4e7ccc39ca8e860e797b3354ecb6219918e70e2ed3795dddb5ed60899a63cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:04:44 + docker inspect -f . ci-base-image-x86_64 11:04:44 . [Pipeline] withDockerContainer 11:04:44 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 11:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-257 -v /w/workspace/foundry_device-virtual-go_PR-257:/w/workspace/foundry_device-virtual-go_PR-257:rw,z -v /w/workspace/foundry_device-virtual-go_PR-257@tmp:/w/workspace/foundry_device-virtual-go_PR-257@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 ******** ci-base-image-x86_64 cat 11:04:44 $ docker top eb11955a037a4853ecf81caca7beaa7ade4ef6a6a5d3d61b5fd7c7bbd5d32cae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:04:45 + make test 11:04:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:04:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.191s coverage: 64.6% of statements 11:05:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:08 ./bin/test-attribution-txt.sh [Pipeline] echo 11:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:09 $ docker stop --time=1 eb11955a037a4853ecf81caca7beaa7ade4ef6a6a5d3d61b5fd7c7bbd5d32cae 11:05:10 $ docker rm -f eb11955a037a4853ecf81caca7beaa7ade4ef6a6a5d3d61b5fd7c7bbd5d32cae [Pipeline] // withDockerContainer [Pipeline] sh 11:05:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:12 + ls -al . 11:05:12 total 176 11:05:12 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 17 11:05 . 11:05:12 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 11:03 .. 11:05:12 -rw-rw-r--. 1 jenkins jenkins 8449 Jan 17 11:03 Attribution.txt 11:05:12 drwxrwxr-x. 2 jenkins jenkins 37 Jan 17 11:03 bin 11:05:12 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 17 11:03 CHANGELOG.md 11:05:12 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 11:03 cmd 11:05:12 -rw-r--r--. 1 jenkins jenkins 46339 Jan 17 11:05 coverage.out 11:05:12 -rw-rw-r--. 1 jenkins jenkins 1951 Jan 17 11:03 Dockerfile 11:05:12 drwxrwxr-x. 8 jenkins jenkins 179 Jan 17 11:03 .git 11:05:12 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 11:03 .github 11:05:12 -rw-rw-r--. 1 jenkins jenkins 270 Jan 17 11:03 .gitignore 11:05:12 -rw-rw-r--. 1 jenkins jenkins 350 Jan 17 11:03 go.mod 11:05:12 -rw-rw-r--. 1 jenkins jenkins 52323 Jan 17 11:03 go.sum 11:05:12 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 11:03 GOVERNANCE.md 11:05:12 drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 11:03 internal 11:05:12 -rw-rw-r--. 1 jenkins jenkins 660 Jan 17 11:03 Jenkinsfile 11:05:12 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 11:03 LICENSE 11:05:12 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 17 11:03 Makefile 11:05:12 -rw-rw-r--. 1 jenkins jenkins 623 Jan 17 11:03 OWNERS.md 11:05:12 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 17 11:03 README.md 11:05:12 drwx------. 3 jenkins jenkins 71 Jan 17 11:03 .semver 11:05:12 -rw-rw-r--. 1 jenkins jenkins 5 Jan 17 11:03 VERSION 11:05:12 -rw-rw-r--. 1 jenkins jenkins 235 Jan 17 11:03 version.go [Pipeline] isUnix [Pipeline] sh 11:05:13 + 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=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e --label arch=amd64 --label version=0.0.0 . 11:05:13 Sending build context to Docker daemon 22.87MB 11:05:13 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 11:05:13 Step 2/25 : FROM ${BASE} AS builder 11:05:13 ---> 96ecd788cee1 11:05:13 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:13 ---> Running in 29c8572e503a 11:05:13 Removing intermediate container 29c8572e503a 11:05:13 ---> dbadbc2b6cd0 11:05:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:05:13 ---> Running in 6f750ca6540c 11:05:13 Removing intermediate container 6f750ca6540c 11:05:13 ---> ed54b2373b6b 11:05:13 Step 5/25 : WORKDIR /device-virtual-go 11:05:13 ---> Running in 72a9dfb67b48 11:05:13 Removing intermediate container 72a9dfb67b48 11:05:13 ---> 77bbfc3ea485 11:05:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:13 ---> Running in b64e26104019 11:05:13 Removing intermediate container b64e26104019 11:05:13 ---> a0e3efb0bfb4 11:05:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:13 ---> Running in 73293ccae94e 11:05:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:05:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:05:15 OK: 224 MiB in 56 packages 11:05:15 Removing intermediate container 73293ccae94e 11:05:15 ---> e0ef4f2ddb8d 11:05:15 Step 8/25 : COPY . . 11:05:16 ---> e70b811d0886 11:05:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:16 ---> Running in f9ce10ec5a93 11:05:16 Removing intermediate container f9ce10ec5a93 11:05:16 ---> 4441779fcd17 11:05:16 Step 10/25 : ARG MAKE='make build' 11:05:16 ---> Running in 2ce0e8921af0 11:05:16 Removing intermediate container 2ce0e8921af0 11:05:16 ---> 8450cc88cb53 11:05:16 Step 11/25 : RUN $MAKE 11:05:16 ---> Running in a36aa1b8760b 11:05:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 11:05:35 Removing intermediate container a36aa1b8760b 11:05:35 ---> f4ce36e8a120 11:05:35 Step 12/25 : FROM alpine:3.14 11:05:35 3.14: Pulling from library/alpine 11:05:35 97518928ae5f: Pulling fs layer 11:05:35 97518928ae5f: Verifying Checksum 11:05:35 97518928ae5f: Download complete 11:05:35 97518928ae5f: Pull complete 11:05:35 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:05:35 Status: Downloaded newer image for alpine:3.14 11:05:35 ---> 0a97eee8041e 11:05:35 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:05:35 ---> Running in c60461e76101 11:05:35 Removing intermediate container c60461e76101 11:05:35 ---> 09ae256b0675 11:05:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:35 ---> Running in 496016ce9241 11:05:35 Removing intermediate container 496016ce9241 11:05:35 ---> 67255b44894b 11:05:35 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 11:05:35 ---> Running in 5e66db7c6708 11:05:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:05:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:05:35 (1/6) Installing dumb-init (1.2.5-r1) 11:05:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:05:35 (3/6) Installing libsodium (1.0.18-r0) 11:05:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:05:35 (5/6) Installing libzmq (4.3.4-r0) 11:05:35 (6/6) Installing zeromq (4.3.4-r0) 11:05:35 Executing busybox-1.33.1-r6.trigger 11:05:35 OK: 8 MiB in 20 packages 11:05:36 Removing intermediate container 5e66db7c6708 11:05:36 ---> dca1c5fa8cda 11:05:36 Step 16/25 : WORKDIR / 11:05:36 ---> Running in 2efd745c5782 11:05:36 Removing intermediate container 2efd745c5782 11:05:36 ---> 1fe815855e37 11:05:36 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:05:36 ---> 33f4252893f6 11:05:36 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:05:36 ---> 9fcd35fefc47 11:05:36 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:05:37 ---> e076f8269ae2 11:05:37 Step 20/25 : EXPOSE 59900 11:05:37 ---> Running in ae86d4e80794 11:05:37 Removing intermediate container ae86d4e80794 11:05:37 ---> b873d5fc7226 11:05:37 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:05:37 ---> Running in a763998672d9 11:05:37 Removing intermediate container a763998672d9 11:05:37 ---> 18a8b73d56f7 11:05:37 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:05:37 ---> Running in d19912bd6804 11:05:37 Removing intermediate container d19912bd6804 11:05:37 ---> d9d98998d2a2 11:05:37 Step 23/25 : LABEL arch=amd64 11:05:37 ---> Running in 53d85663308b 11:05:37 Removing intermediate container 53d85663308b 11:05:37 ---> 1e7ffc410150 11:05:37 Step 24/25 : LABEL git_sha=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e 11:05:37 ---> Running in d473f9ec5516 11:05:37 Removing intermediate container d473f9ec5516 11:05:37 ---> a62c10b0206a 11:05:37 Step 25/25 : LABEL version=0.0.0 11:05:37 ---> Running in 4440c282421a 11:05:37 Removing intermediate container 4440c282421a 11:05:37 ---> ba315b60de62 11:05:37 [Warning] One or more build-args [ARCH] were not consumed 11:05:37 Successfully built ba315b60de62 11:05:37 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 11:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:38 11:05:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:05:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1668 in /w/workspace/foundry_device-virtual-go_PR-257 [Pipeline] { [Pipeline] ws 11:05:38 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:05:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:38 latest: Pulling from edgex-lftools-log-publisher 11:05:38 b4d181a07f80: Pulling fs layer 11:05:38 a1111a8f2ec3: Pulling fs layer 11:05:38 ed53099fbce6: Pulling fs layer 11:05:38 dc539afda2c1: Pulling fs layer 11:05:38 77bc0d833cb6: Pulling fs layer 11:05:38 9065ff56babe: Pulling fs layer 11:05:38 d287ab97295c: Pulling fs layer 11:05:38 dc539afda2c1: Waiting 11:05:38 9065ff56babe: Waiting 11:05:38 d287ab97295c: Waiting 11:05:38 77bc0d833cb6: Waiting 11:05:38 a1111a8f2ec3: Verifying Checksum 11:05:38 a1111a8f2ec3: Download complete 11:05:38 dc539afda2c1: Verifying Checksum 11:05:38 dc539afda2c1: Download complete 11:05:38 ed53099fbce6: Verifying Checksum 11:05:38 ed53099fbce6: Download complete 11:05:38 77bc0d833cb6: Verifying Checksum 11:05:38 77bc0d833cb6: Download complete 11:05:38 9065ff56babe: Verifying Checksum 11:05:38 9065ff56babe: Download complete 11:05:38 The recommended git tool is: git 11:05:38 b4d181a07f80: Verifying Checksum 11:05:38 b4d181a07f80: Download complete 11:05:39 d287ab97295c: Verifying Checksum 11:05:39 d287ab97295c: Download complete 11:05:40 b4d181a07f80: Pull complete 11:05:40 a1111a8f2ec3: Pull complete 11:05:40 ed53099fbce6: Pull complete 11:05:40 dc539afda2c1: Pull complete 11:05:41 77bc0d833cb6: Pull complete 11:05:41 9065ff56babe: Pull complete 11:05:43 using credential edgex-jenkins-ssh 11:05:43 Cloning the remote Git repository 11:05:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:05:43 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:05:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:05:43 > git --version # timeout=10 11:05:43 > git --version # 'git version 2.17.1' 11:05:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:05:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:05:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:05:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:05:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:05:46 Merging remotes/origin/main commit f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 into PR head commit b439f0bc84bf1d3b5dc3a29352d45168f4a2321e 11:05:46 d287ab97295c: Pull complete 11:05:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:05:46 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 11:05:46 Merge succeeded, producing b439f0bc84bf1d3b5dc3a29352d45168f4a2321e 11:05:46 Checking out Revision b439f0bc84bf1d3b5dc3a29352d45168f4a2321e (PR-257) 11:05:46 $ 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-257 -v /w/workspace/foundry_device-virtual-go_PR-257:/w/workspace/foundry_device-virtual-go_PR-257:rw,z -v /w/workspace/foundry_device-virtual-go_PR-257@tmp:/w/workspace/foundry_device-virtual-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:05:46 > git config core.sparsecheckout # timeout=10 11:05:46 > git checkout -f b439f0bc84bf1d3b5dc3a29352d45168f4a2321e # timeout=10 11:05:46 > git remote # timeout=10 11:05:46 > git config --get remote.origin.url # timeout=10 11:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:46 > git merge f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 # timeout=10 11:05:46 > git rev-parse HEAD^{commit} # timeout=10 11:05:46 > git config core.sparsecheckout # timeout=10 11:05:46 > git checkout -f b439f0bc84bf1d3b5dc3a29352d45168f4a2321e # timeout=10 11:05:48 $ docker top ef1858e37856f448146686ded48efaa2a1a4d0118400487535ebeae86703fa39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:49 ---> job-cost.sh 11:05:49 lf-activate-venv: SKIPPING 11:05:49 INFO: No Stack... 11:05:49 INFO: Retrieving Pricing Info for: v3-standard-2 11:05:49 INFO: Archiving Costs [Pipeline] sh 11:05:50 + cat /w/workspace/foundry_device-virtual-go_PR-257/archives/cost.csv 11:05:50 + cut -d, -f6 [Pipeline] lock 11:05:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] 11:05:50 Resource [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] did not exist. Created. 11:05:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:05:50 + echo total: 0.05999999865889549 [Pipeline] stash 11:05:50 Stashed 1 file(s) [Pipeline] } 11:05:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] 11:05:50 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] // lock [Pipeline] } 11:05:50 $ docker stop --time=1 ef1858e37856f448146686ded48efaa2a1a4d0118400487535ebeae86703fa39 11:05:50 > git --version # timeout=10 11:05:50 > git --version # 'git version 2.17.1' 11:05:50 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 11:05:51 11:05:51 GitHub has been notified of this commit’s build result 11:05:51 11:05:51 $ docker rm -f ef1858e37856f448146686ded48efaa2a1a4d0118400487535ebeae86703fa39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:05:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:05:52 % Total % Received % Xferd Average Speed Time Time Time Current 11:05:52 Dload Upload Total Spent Left Speed 11:05:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81116 [Pipeline] sh 11:05:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:05:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:05:53 + sudo tee /etc/docker/daemon.new 11:05:53 { 11:05:53 "registry-mirrors": [ 11:05:53 "https://nexus3.edgexfoundry.org:10001" 11:05:53 ], 11:05:53 "bip": "10.250.0.254/24", 11:05:53 "hosts": [ 11:05:53 "tcp://0.0.0.0:5555", 11:05:53 "unix:///var/run/docker.sock" 11:05:53 ], 11:05:53 "mtu": 1458, 11:05:53 "selinux-enabled": true, 11:05:53 "seccomp-profile": "/etc/docker/seccomp.json" 11:05:53 } [Pipeline] sh 11:05:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:05:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:13 provisioning config files... 11:06:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1410432893186495167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:13 ---> docker-login.sh 11:06:13 nexus3.edgexfoundry.org:10001 11:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:14 Configure a credential helper to remove this warning. See 11:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:14 11:06:14 Login Succeeded 11:06:14 nexus3.edgexfoundry.org:10002 11:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:14 Configure a credential helper to remove this warning. See 11:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:14 11:06:14 Login Succeeded 11:06:14 nexus3.edgexfoundry.org:10003 11:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:15 Configure a credential helper to remove this warning. See 11:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:15 11:06:15 Login Succeeded 11:06:15 nexus3.edgexfoundry.org:10004 11:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:15 Configure a credential helper to remove this warning. See 11:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:15 11:06:15 Login Succeeded 11:06:15 docker.io 11:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:16 Configure a credential helper to remove this warning. See 11:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:16 11:06:16 Login Succeeded 11:06:16 ---> docker-login.sh ends [Pipeline] } 11:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:16 ========================================================= 11:06:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:06:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:16 + 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 . 11:06:17 Sending build context to Docker daemon 11.55MB 11:06:17 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:06:17 Step 2/11 : FROM ${BASE} AS builder 11:06:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:06:17 9b3977197b4f: Pulling fs layer 11:06:17 1a89e8eeedd5: Pulling fs layer 11:06:17 94645a83ff95: Pulling fs layer 11:06:17 3f3a8bcf1eab: Pulling fs layer 11:06:17 0c92f367c5e7: Pulling fs layer 11:06:17 4b8299f9d1f4: Pulling fs layer 11:06:17 9a6b49a46696: Pulling fs layer 11:06:17 cf05db05a679: Pulling fs layer 11:06:17 0c92f367c5e7: Waiting 11:06:17 4b8299f9d1f4: Waiting 11:06:17 9a6b49a46696: Waiting 11:06:17 cf05db05a679: Waiting 11:06:17 3f3a8bcf1eab: Waiting 11:06:17 94645a83ff95: Verifying Checksum 11:06:17 94645a83ff95: Download complete 11:06:17 1a89e8eeedd5: Verifying Checksum 11:06:17 1a89e8eeedd5: Download complete 11:06:17 0c92f367c5e7: Verifying Checksum 11:06:17 0c92f367c5e7: Download complete 11:06:17 4b8299f9d1f4: Verifying Checksum 11:06:17 4b8299f9d1f4: Download complete 11:06:17 9b3977197b4f: Verifying Checksum 11:06:17 9b3977197b4f: Download complete 11:06:17 9a6b49a46696: Verifying Checksum 11:06:17 9a6b49a46696: Download complete 11:06:18 9b3977197b4f: Pull complete 11:06:18 1a89e8eeedd5: Pull complete 11:06:19 94645a83ff95: Pull complete 11:06:19 cf05db05a679: Verifying Checksum 11:06:19 cf05db05a679: Download complete 11:06:19 3f3a8bcf1eab: Verifying Checksum 11:06:19 3f3a8bcf1eab: Download complete 11:06:32 3f3a8bcf1eab: Pull complete 11:06:32 0c92f367c5e7: Pull complete 11:06:32 4b8299f9d1f4: Pull complete 11:06:32 9a6b49a46696: Pull complete 11:06:37 cf05db05a679: Pull complete 11:06:37 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 11:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:06:37 ---> 0ccda1f7e2ee 11:06:37 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:39 ---> Running in b5c1f7426be3 11:06:39 Removing intermediate container b5c1f7426be3 11:06:39 ---> 8293794ce3f6 11:06:39 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:06:39 ---> Running in 9961a9ba04d6 11:06:40 Removing intermediate container 9961a9ba04d6 11:06:40 ---> 8219b4bc2f81 11:06:40 Step 5/11 : WORKDIR /device-virtual-go 11:06:40 ---> Running in a617318e1d5b 11:06:40 Removing intermediate container a617318e1d5b 11:06:40 ---> c25ff12d318b 11:06:40 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:40 ---> Running in 4b6dbe625482 11:06:42 Removing intermediate container 4b6dbe625482 11:06:42 ---> 1c38f5a3116d 11:06:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:42 ---> Running in 78056d44ea44 11:06:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:06:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:06:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:06:45 (2/4) Installing libedit (20210910.3.1-r0) 11:06:45 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:06:45 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:06:45 Executing busybox-1.34.1-r3.trigger 11:06:45 OK: 224 MiB in 56 packages 11:06:46 Removing intermediate container 78056d44ea44 11:06:46 ---> 9c77bf450b53 11:06:46 Step 8/11 : COPY . . 11:06:47 ---> e8f6df6d5148 11:06:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:47 ---> Running in d144ed71749c 11:07:55 Removing intermediate container d144ed71749c 11:07:55 ---> ac9830cdfa0d 11:07:55 Step 10/11 : ARG MAKE='make build' 11:07:55 ---> Running in 1df3c5621044 11:07:55 Removing intermediate container 1df3c5621044 11:07:55 ---> 1349c7361c3c 11:07:55 Step 11/11 : RUN $MAKE 11:07:55 ---> Running in 4ae97c8f3fb7 11:07:56 noop 11:07:57 Removing intermediate container 4ae97c8f3fb7 11:07:57 ---> 4ac6ea4562ac 11:07:57 Successfully built 4ac6ea4562ac 11:07:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:07:57 + docker inspect -f . ci-base-image-arm64 11:07:57 . [Pipeline] withDockerContainer 11:07:57 prd-ubuntu18.04-docker-arm64-4c-16g-1668 does not seem to be running inside a container 11:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:07:59 $ docker top 4fe52a7904057a7a56892694b53ef3ff0be8bc9cedfd6776475ca13b450f1039 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:59 + go version 11:07:59 go version go1.17.6 linux/arm64 [Pipeline] } 11:07:59 $ docker stop --time=1 4fe52a7904057a7a56892694b53ef3ff0be8bc9cedfd6776475ca13b450f1039 11:08:01 $ docker rm -f 4fe52a7904057a7a56892694b53ef3ff0be8bc9cedfd6776475ca13b450f1039 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:02 + docker inspect -f . ci-base-image-arm64 11:08:02 . [Pipeline] withDockerContainer 11:08:02 prd-ubuntu18.04-docker-arm64-4c-16g-1668 does not seem to be running inside a container 11:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:03 $ docker top f5f2bb997e9fe85a8bd2f55fc985454ac232a220589d6ca31262a6e2ead526a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:04 + make test 11:08:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:09:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:09:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.682s coverage: 64.6% of statements 11:09:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:09:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:09:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:09:28 ./bin/test-attribution-txt.sh [Pipeline] echo 11:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:09:31 $ docker stop --time=1 f5f2bb997e9fe85a8bd2f55fc985454ac232a220589d6ca31262a6e2ead526a9 11:09:32 $ docker rm -f f5f2bb997e9fe85a8bd2f55fc985454ac232a220589d6ca31262a6e2ead526a9 [Pipeline] // withDockerContainer [Pipeline] sh 11:09:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:09:33 Warning: overwriting stash ‘coverage-report’ 11:09:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:35 + ls -al . 11:09:35 total 200 11:09:35 drwxrwxr-x 7 jenkins jenkins 4096 Jan 17 11:09 . 11:09:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 11:05 .. 11:09:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 11:05 .git 11:09:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 11:05 .github 11:09:35 -rw-rw-r-- 1 jenkins jenkins 270 Jan 17 11:05 .gitignore 11:09:35 -rw-rw-r-- 1 jenkins jenkins 8449 Jan 17 11:05 Attribution.txt 11:09:35 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 17 11:05 CHANGELOG.md 11:09:35 -rw-rw-r-- 1 jenkins jenkins 1951 Jan 17 11:05 Dockerfile 11:09:35 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 11:05 GOVERNANCE.md 11:09:35 -rw-rw-r-- 1 jenkins jenkins 660 Jan 17 11:05 Jenkinsfile 11:09:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 11:05 LICENSE 11:09:35 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 17 11:05 Makefile 11:09:35 -rw-rw-r-- 1 jenkins jenkins 623 Jan 17 11:05 OWNERS.md 11:09:35 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 17 11:05 README.md 11:09:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 11:03 VERSION 11:09:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 11:05 bin 11:09:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 11:05 cmd 11:09:35 -rw-r--r-- 1 jenkins jenkins 46339 Jan 17 11:09 coverage.out 11:09:35 -rw-rw-r-- 1 jenkins jenkins 350 Jan 17 11:05 go.mod 11:09:35 -rw-rw-r-- 1 jenkins jenkins 52323 Jan 17 11:05 go.sum 11:09:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 11:05 internal 11:09:35 -rw-rw-r-- 1 jenkins jenkins 235 Jan 17 11:05 version.go [Pipeline] isUnix [Pipeline] sh 11:09:35 + 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=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e --label arch=arm64 --label version=0.0.0 . 11:09:36 Sending build context to Docker daemon 11.6MB 11:09:36 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 11:09:36 Step 2/25 : FROM ${BASE} AS builder 11:09:36 ---> 4ac6ea4562ac 11:09:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:36 ---> Running in 7aff41aa6cd9 11:09:36 Removing intermediate container 7aff41aa6cd9 11:09:36 ---> c3bc2ee6f2a6 11:09:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:09:36 ---> Running in b143f68b6895 11:09:37 Removing intermediate container b143f68b6895 11:09:37 ---> c7c50425fa5b 11:09:37 Step 5/25 : WORKDIR /device-virtual-go 11:09:37 ---> Running in 5c98877f70a5 11:09:37 Removing intermediate container 5c98877f70a5 11:09:37 ---> d84a14db7bd1 11:09:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:37 ---> Running in a3adb7902aed 11:09:39 Removing intermediate container a3adb7902aed 11:09:39 ---> 710b8d79869d 11:09:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:39 ---> Running in cbfe4ca3ca26 11:09:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:09:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:09:42 OK: 224 MiB in 56 packages 11:09:43 Removing intermediate container cbfe4ca3ca26 11:09:43 ---> 8655ce30619c 11:09:43 Step 8/25 : COPY . . 11:09:44 ---> d9c499122128 11:09:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:44 ---> Running in e6d43dcec1bf 11:09:46 Removing intermediate container e6d43dcec1bf 11:09:46 ---> c72cb0520c71 11:09:46 Step 10/25 : ARG MAKE='make build' 11:09:46 ---> Running in b7a2dbad9f59 11:09:46 Removing intermediate container b7a2dbad9f59 11:09:46 ---> b9808af3c2b9 11:09:46 Step 11/25 : RUN $MAKE 11:09:46 ---> Running in 1a75ccf598d1 11:09:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 11:10:44 Removing intermediate container 1a75ccf598d1 11:10:44 ---> cb4666622736 11:10:44 Step 12/25 : FROM alpine:3.14 11:10:44 3.14: Pulling from library/alpine 11:10:44 be307f383ecc: Pulling fs layer 11:10:44 be307f383ecc: Verifying Checksum 11:10:44 be307f383ecc: Download complete 11:10:44 be307f383ecc: Pull complete 11:10:44 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:10:44 Status: Downloaded newer image for alpine:3.14 11:10:44 ---> 5b8b7b635229 11:10:44 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:10:44 ---> Running in 36dbce4b5f2c 11:10:44 Removing intermediate container 36dbce4b5f2c 11:10:44 ---> ae486798da9d 11:10:44 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:44 ---> Running in db7dbca8e808 11:10:45 Removing intermediate container db7dbca8e808 11:10:45 ---> 1df3424604e8 11:10:45 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 11:10:46 ---> Running in e320c5d878fd 11:10:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:10:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:10:48 (1/6) Installing dumb-init (1.2.5-r1) 11:10:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:10:48 (3/6) Installing libsodium (1.0.18-r0) 11:10:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:10:48 (5/6) Installing libzmq (4.3.4-r0) 11:10:49 (6/6) Installing zeromq (4.3.4-r0) 11:10:49 Executing busybox-1.33.1-r6.trigger 11:10:49 OK: 8 MiB in 20 packages 11:10:50 Removing intermediate container e320c5d878fd 11:10:50 ---> 38d93fa28c20 11:10:50 Step 16/25 : WORKDIR / 11:10:50 ---> Running in be038c587f39 11:10:50 Removing intermediate container be038c587f39 11:10:50 ---> 535ccf73cfe8 11:10:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:10:51 ---> 0f65eb6567a8 11:10:51 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:10:51 ---> 38f7d7c83afa 11:10:51 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:10:52 ---> cf23ef8f03f6 11:10:52 Step 20/25 : EXPOSE 59900 11:10:52 ---> Running in a447b6c097b3 11:10:53 Removing intermediate container a447b6c097b3 11:10:53 ---> 06c2acb05351 11:10:53 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:10:53 ---> Running in 72611c346379 11:10:53 Removing intermediate container 72611c346379 11:10:53 ---> 8a3a067f0d6f 11:10:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:10:53 ---> Running in ebe1365209c9 11:10:54 Removing intermediate container ebe1365209c9 11:10:54 ---> a0da20ecfc75 11:10:54 Step 23/25 : LABEL arch=arm64 11:10:54 ---> Running in db5dc07b7a7b 11:10:54 Removing intermediate container db5dc07b7a7b 11:10:54 ---> 793f8609171c 11:10:54 Step 24/25 : LABEL git_sha=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e 11:10:54 ---> Running in ef8921d1dfdd 11:10:55 Removing intermediate container ef8921d1dfdd 11:10:55 ---> 1dd64f14792a 11:10:55 Step 25/25 : LABEL version=0.0.0 11:10:55 ---> Running in 690f184aaa8c 11:10:55 Removing intermediate container 690f184aaa8c 11:10:55 ---> a477378cc3a1 11:10:55 [Warning] One or more build-args [ARCH] were not consumed 11:10:55 Successfully built a477378cc3a1 11:10: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 11:10:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:56 11:10:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:10:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:57 arm64: Pulling from edgex-lftools-log-publisher 11:10:57 448f6bf000e3: Pulling fs layer 11:10:57 f757da607395: Pulling fs layer 11:10:57 05883995daec: Pulling fs layer 11:10:57 8603b9c90790: Pulling fs layer 11:10:57 1560dd03e051: Pulling fs layer 11:10:57 27f5ce0e4adf: Pulling fs layer 11:10:57 c2d8d7efcc4b: Pulling fs layer 11:10:57 8603b9c90790: Waiting 11:10:57 1560dd03e051: Waiting 11:10:57 27f5ce0e4adf: Waiting 11:10:57 c2d8d7efcc4b: Waiting 11:10:57 f757da607395: Verifying Checksum 11:10:57 f757da607395: Download complete 11:10:57 8603b9c90790: Verifying Checksum 11:10:57 8603b9c90790: Download complete 11:10:57 1560dd03e051: Verifying Checksum 11:10:57 1560dd03e051: Download complete 11:10:57 27f5ce0e4adf: Download complete 11:10:57 05883995daec: Verifying Checksum 11:10:57 05883995daec: Download complete 11:10:57 448f6bf000e3: Verifying Checksum 11:10:57 448f6bf000e3: Download complete 11:11:00 c2d8d7efcc4b: Verifying Checksum 11:11:00 c2d8d7efcc4b: Download complete 11:11:01 448f6bf000e3: Pull complete 11:11:01 f757da607395: Pull complete 11:11:03 05883995daec: Pull complete 11:11:03 8603b9c90790: Pull complete 11:11:04 1560dd03e051: Pull complete 11:11:04 27f5ce0e4adf: Pull complete 11:11:19 c2d8d7efcc4b: Pull complete 11:11:19 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:11:19 prd-ubuntu18.04-docker-arm64-4c-16g-1668 does not seem to be running inside a container 11:11:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:11:22 $ docker top 72cd526e7b0cb3d3eb274ce11bdbc94c1cc8af304433197242a96823d034427b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:23 ---> job-cost.sh 11:11:23 lf-activate-venv: SKIPPING 11:11:23 INFO: No Stack... 11:11:24 INFO: Retrieving Pricing Info for: v3-standard-4 11:11:24 INFO: Archiving Costs [Pipeline] sh 11:11:25 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:11:25 + cut -d, -f6 [Pipeline] lock 11:11:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] 11:11:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] did not exist. Created. 11:11:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:11:25 /w/workspace/device-virtual-go/1@tmp/durable-a5ca15cd/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-a5ca15cd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:11:26 + echo total: 0.10999999940395355 [Pipeline] stash 11:11:26 Warning: overwriting stash ‘stack-cost’ 11:11:26 Stashed 1 file(s) [Pipeline] } 11:11:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-257-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:11:26 $ docker stop --time=1 72cd526e7b0cb3d3eb274ce11bdbc94c1cc8af304433197242a96823d034427b 11:11:28 $ docker rm -f 72cd526e7b0cb3d3eb274ce11bdbc94c1cc8af304433197242a96823d034427b [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 11:11:29 provisioning config files... 11:11:29 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-257@tmp/config4336139736028535723tmp [Pipeline] { [Pipeline] sh 11:11:29 + set +x 11:11:29 + bash -s -- 11:11:29 + curl -s https://codecov.io/bash 11:11:29 11:11:29 _____ _ 11:11:29 / ____| | | 11:11:29 | | ___ __| | ___ ___ _____ __ 11:11:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:11:29 | |___| (_) | (_| | __/ (_| (_) \ V / 11:11:29 \_____\___/ \__,_|\___|\___\___/ \_/ 11:11:29 Bash-1.0.6 11:11:29 11:11:29 11:11:29 ==> git version 2.24.4 found 11:11:29 ==> 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 11:11:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:11:29 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:11:29 ==> Jenkins CI detected. 11:11:29 current dir:  /w/workspace/foundry_device-virtual-go_PR-257 11:11:29 project root: . 11:11:29 --> token set from env 11:11:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:11:29 ==> Running gcov in . (disable via -X gcov) 11:11:29 ==> Python coveragepy not found 11:11:29 ==> Searching for coverage reports in: 11:11:29 + . 11:11:30 -> Found 1 reports 11:11:30 ==> Detecting git/mercurial file structure 11:11:30 ==> Reading reports 11:11:30 + ./coverage.out bytes=46339 11:11:30 ==> Appending adjustments 11:11:30 https://docs.codecov.io/docs/fixing-reports 11:11:30 + Found adjustments 11:11:30 ==> Gzipping contents 11:11:30 8.0K /tmp/codecov.rWFrm8.gz 11:11:30 ==> Uploading reports 11:11:30 url: https://codecov.io 11:11:30 query: branch=PR-257&commit=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=257&job=&cmd_args= 11:11:30 -> Pinging Codecov 11:11:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-257&commit=b439f0bc84bf1d3b5dc3a29352d45168f4a2321e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=257&job=&cmd_args= 11:11:30 -> Uploading to 11:11:30 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/5E52B4B073DB2E39498172D8E973AA87/b439f0bc84bf1d3b5dc3a29352d45168f4a2321e/5596ca3d-aca3-49da-a556-218271a1aaae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T111130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e5ef2756a76ddbf09c9b75bf657f854ca2f89d2bec1d2e737d9d39cb278ba9d 11:11:30 % Total % Received % Xferd Average Speed Time Time Time Current 11:11:30 Dload Upload Total Spent Left Speed 11:11:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5518 0 0 100 5518 0 17071 --:--:-- --:--:-- --:--:-- 17030 11:11:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b439f0bc84bf1d3b5dc3a29352d45168f4a2321e [Pipeline] } 11:11:30 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 11:11:32 + '[' -d /w/workspace/foundry_device-virtual-go_PR-257/archives ']' 11:11:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-257/archives 11:11:32 total 8 11:11:32 drwxr-xr-x. 3 root root 34 Jan 17 11:05 . 11:11:32 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 11:05 .. 11:11:32 drwxr-xr-x. 2 root root 6 Jan 17 11:05 cost 11:11:32 -rw-r--r--. 1 root root 88 Jan 17 11:05 cost.csv 11:11:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-257/archives 11:11:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-257/archives 11:11:32 total 8 11:11:32 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 11:05 . 11:11:32 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 11:05 .. 11:11:32 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 11:05 cost 11:11:32 -rw-r--r--. 1 jenkins jenkins 88 Jan 17 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:11:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:11:33 ---> package-listing.sh 11:11:33 ++ facter osfamily 11:11:33 ++ tr '[:upper:]' '[:lower:]' 11:11:33 + OS_FAMILY=redhat 11:11:33 + workspace=/w/workspace/foundry_device-virtual-go_PR-257 11:11:33 + START_PACKAGES=/tmp/packages_start.txt 11:11:33 + END_PACKAGES=/tmp/packages_end.txt 11:11:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:11:33 + PACKAGES=/tmp/packages_start.txt 11:11:33 + '[' /w/workspace/foundry_device-virtual-go_PR-257 ']' 11:11:33 + PACKAGES=/tmp/packages_end.txt 11:11:33 + case "${OS_FAMILY}" in 11:11:33 + rpm -qa 11:11:33 + sort 11:11:34 + '[' -f /tmp/packages_start.txt ']' 11:11:34 + '[' -f /tmp/packages_end.txt ']' 11:11:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:11:34 + '[' /w/workspace/foundry_device-virtual-go_PR-257 ']' 11:11:34 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-257/archives/ 11:11:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-257/archives/ [Pipeline] echo 11:11:34 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-257/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:11:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:11:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:11:35 . [Pipeline] withDockerContainer 11:11:35 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 11:11:35 $ 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-257/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-257 -v /w/workspace/foundry_device-virtual-go_PR-257:/w/workspace/foundry_device-virtual-go_PR-257:rw,z -v /w/workspace/foundry_device-virtual-go_PR-257@tmp:/w/workspace/foundry_device-virtual-go_PR-257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:11:35 $ docker top 123c83098d6d235993f73c51e5ad5e5da40d2a8dd649e7a4dd585b57d9f3618e -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:36 + touch /tmp/pre-build-complete [Pipeline] sh 11:11:36 + mkdir -p /var/log/sysstat [Pipeline] sh 11:11:36 + ls /var/log/sa-host 11:11:36 + sadf -c /var/log/sa-host/sa17 11:11:36 file_magic: OK 11:11:36 HZ: Using current value: 100 11:11:36 file_header: OK 11:11:36 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 11:11:36 Statistics: 11:11:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:11:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:37 provisioning config files... 11:11:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-257@tmp/config789758506678416298tmp [Pipeline] { [Pipeline] echo 11:11:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:11:37 ---> create-netrc.sh [Pipeline] } 11:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:11:37 ---> python-tools-install.sh [Pipeline] echo 11:11:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:11:38 ---> sudo-logs.sh 11:11:38 Archiving 'sudo' log.. 11:11:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-1666.novalocal: Name or service not known 11:11:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-1666.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:11:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:11:38 ---> job-cost.sh 11:11:38 lf-activate-venv: SKIPPING 11:11:38 DEBUG: total: 0.05999999865889549 11:11:38 INFO: Retrieving Stack Cost... 11:11:38 INFO: Retrieving Pricing Info for: v3-standard-2 11:11:39 INFO: Archiving Costs [Pipeline] echo 11:11:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:11:39 ---> logs-deploy.sh 11:11:39 lf-activate-venv: SKIPPING 11:11:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-257/1 11:11:39 INFO: archiving workspace using pattern(s): 11:11:40 Archives upload complete. 11:11:40 INFO: archiving logs to Nexus