Pull request #289 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 5d9fbc30fdbf57281ebc7690ca69915c47e60c15+c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 (8494625a4f6511814caa05d31f2aada00d59907a) 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-ssh15846309169410401685.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh18381131655190141357.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1659604704960784287.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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3350299323694790752.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh12841894805163145577.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10551799817894504897.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-734 in /w/workspace/foundry_device-virtual-go_PR-289 [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-289 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/jakarta commit c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 into PR head commit 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 Merge succeeded, producing 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 Checking out Revision 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 (PR-289) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:20 ========================================================= 23:52:20 EdgeX Global Pipelines Version Info 23:52:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:20 ------------------- 23:52:20 stable info: 23:52:20 ------------------- 23:52:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:52:20 Message: update stable to v1.0.230 23:52:21 ------------------- 23:52:21 experimental info: 23:52:21 ------------------- 23:52:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:21 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:52:21 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:52:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:52:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-289 [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-289 [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-289 [Pipeline] echo 23:52:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [Pipeline] echo 23:52:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d9fbc3 [Pipeline] echo 23:52:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:23 provisioning config files... 23:52:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-289@tmp/config2290134621842440706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:23 ---> docker-login.sh 23:52:23 nexus3.edgexfoundry.org:10001 23:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:23 Configure a credential helper to remove this warning. See 23:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:23 23:52:23 Login Succeeded 23:52:23 nexus3.edgexfoundry.org:10002 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 nexus3.edgexfoundry.org:10003 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 nexus3.edgexfoundry.org:10004 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 docker.io 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 ---> docker-login.sh ends [Pipeline] } 23:52:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:25 + git rev-list -1 --merges 5d9fbc30fdbf57281ebc7690ca69915c47e60c15~1..5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [Pipeline] echo 23:52:25 -----------> git rev-list -1 --merges 5d9fbc30fdbf57281ebc7690ca69915c47e60c15~1..5d9fbc30fdbf57281ebc7690ca69915c47e60c15 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [false] [Pipeline] sh 23:52:25 + git log --format=format:%s -1 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [Pipeline] echo 23:52:25 ========================================================= 23:52:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:26 + git log --format=format:%s -1 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [Pipeline] echo 23:52:26 [semverPrep] GIT_COMMIT: 5d9fbc30fdbf57281ebc7690ca69915c47e60c15, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo 23:52:26 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:26 + grep -v github /etc/ssh/ssh_known_hosts 23:52:26 + [ -e /tmp/ssh_known_hosts ] 23:52:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:26 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:52:26 23:52:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:52:27 latest: Pulling from edgex-devops/py-git-semver 23:52:27 42c077c10790: Pulling fs layer 23:52:27 f63e77b7563a: Pulling fs layer 23:52:27 bd5fdadae976: Pulling fs layer 23:52:27 205491f53016: Pulling fs layer 23:52:27 df18705c85c3: Pulling fs layer 23:52:27 bdb3f477010e: Pulling fs layer 23:52:27 c8a8fc8e1c8f: Pulling fs layer 23:52:27 2c6e9b1d212d: Pulling fs layer 23:52:27 bdb8f0575790: Pulling fs layer 23:52:27 386e3cb2ff24: Pulling fs layer 23:52:27 2343380bae48: Pulling fs layer 23:52:27 205491f53016: Waiting 23:52:27 df18705c85c3: Waiting 23:52:27 bdb3f477010e: Waiting 23:52:27 c8a8fc8e1c8f: Waiting 23:52:27 386e3cb2ff24: Waiting 23:52:27 2343380bae48: Waiting 23:52:27 bdb8f0575790: Waiting 23:52:27 f63e77b7563a: Download complete 23:52:27 205491f53016: Verifying Checksum 23:52:27 205491f53016: Download complete 23:52:27 bd5fdadae976: Verifying Checksum 23:52:27 bd5fdadae976: Download complete 23:52:27 df18705c85c3: Verifying Checksum 23:52:27 df18705c85c3: Download complete 23:52:27 bdb3f477010e: Verifying Checksum 23:52:27 bdb3f477010e: Download complete 23:52:27 2c6e9b1d212d: Verifying Checksum 23:52:27 2c6e9b1d212d: Download complete 23:52:27 bdb8f0575790: Download complete 23:52:27 386e3cb2ff24: Verifying Checksum 23:52:27 386e3cb2ff24: Download complete 23:52:27 2343380bae48: Verifying Checksum 23:52:27 2343380bae48: Download complete 23:52:27 42c077c10790: Verifying Checksum 23:52:27 42c077c10790: Download complete 23:52:27 c8a8fc8e1c8f: Download complete 23:52:28 42c077c10790: Pull complete 23:52:29 f63e77b7563a: Pull complete 23:52:29 bd5fdadae976: Pull complete 23:52:29 205491f53016: Pull complete 23:52:29 df18705c85c3: Pull complete 23:52:30 bdb3f477010e: Pull complete 23:52:32 c8a8fc8e1c8f: Pull complete 23:52:32 2c6e9b1d212d: Pull complete 23:52:32 bdb8f0575790: Pull complete 23:52:32 386e3cb2ff24: Pull complete 23:52:32 2343380bae48: Pull complete 23:52:32 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 23:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:52:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:32 prd-ubuntu20.04-docker-8c-8g-734 does not seem to be running inside a container 23:52:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-289 -v /w/workspace/foundry_device-virtual-go_PR-289:/w/workspace/foundry_device-virtual-go_PR-289:rw,z -v /w/workspace/foundry_device-virtual-go_PR-289@tmp:/w/workspace/foundry_device-virtual-go_PR-289@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-devops/py-git-semver:latest cat 23:52:33 $ docker top 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e -eo pid,comm 23:52:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:52:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:34 [ssh-agent] Looking for ssh-agent implementation... 23:52:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:34 $ docker exec 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e ssh-agent 23:52:34 SSH_AUTH_SOCK=/tmp/ssh-jEjTeZCnmbAh/agent.33 23:52:34 SSH_AGENT_PID=39 23:52:34 Running ssh-add (command line suppressed) 23:52:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-289@tmp/private_key_2202112671179144255.key (/w/workspace/foundry_device-virtual-go_PR-289@tmp/private_key_2202112671179144255.key) 23:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:34 + git tag --points-at HEAD [Pipeline] } 23:52:34 $ docker exec --env ******** --env ******** 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e ssh-agent -k 23:52:35 unset SSH_AUTH_SOCK; 23:52:35 unset SSH_AGENT_PID; 23:52:35 echo Agent pid 39 killed; 23:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:52:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:35 [ssh-agent] Looking for ssh-agent implementation... 23:52:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:35 $ docker exec 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e ssh-agent 23:52:35 SSH_AUTH_SOCK=/tmp/ssh-2M2spz26FYyL/agent.71 23:52:35 SSH_AGENT_PID=77 23:52:35 Running ssh-add (command line suppressed) 23:52:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-289@tmp/private_key_7488155070542597783.key (/w/workspace/foundry_device-virtual-go_PR-289@tmp/private_key_7488155070542597783.key) 23:52:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:35 + git semver init 23:52:36 2022-06-02 23:52:36,126 [run_init] DEBUG init version:0.0.0 force:False 23:52:36 2022-06-02 23:52:36,126 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-289/.semver 23:52:36 2022-06-02 23:52:36,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-289/.semver 23:52:36 2022-06-02 23:52:36,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-289/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-289, universal_newlines=False, shell=None, istream=None) 23:52:37 2022-06-02 23:52:37,055 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-289/.git/info/exclude 23:52:37 2022-06-02 23:52:37,056 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-289/.semver/PR-289 with force:False 23:52:37 2022-06-02 23:52:37,056 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-289/.semver/PR-289 23:52:37 2022-06-02 23:52:37,060 [execute] INFO git cat-file --batch-check 23:52:37 2022-06-02 23:52:37,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) 23:52:37 2022-06-02 23:52:37,066 [execute] INFO git cat-file --batch 23:52:37 2022-06-02 23:52:37,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) 23:52:37 2022-06-02 23:52:37,072 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-289/.semver/PR-289 23:52:37 0.0.0 [Pipeline] } 23:52:37 $ docker exec --env ******** --env ******** 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e ssh-agent -k 23:52:37 unset SSH_AUTH_SOCK; 23:52:37 unset SSH_AGENT_PID; 23:52:37 echo Agent pid 77 killed; 23:52:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:37 + git semver [Pipeline] } 23:52:38 $ docker stop --time=1 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e 23:52:39 $ docker rm -f 353c0096b8959e53df7d92ca27e79e8ec1e0ca78e87bbcc5fe00ca8dfc2d5b5e [Pipeline] // withDockerContainer [Pipeline] sh 23:52:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:52:40 Stashed 1 file(s) [Pipeline] echo 23:52:40 [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 23:52:40 provisioning config files... 23:52:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-289@tmp/config8540425435776622016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:41 ---> docker-login.sh 23:52:41 nexus3.edgexfoundry.org:10001 23:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:41 Configure a credential helper to remove this warning. See 23:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:41 23:52:41 Login Succeeded 23:52:41 nexus3.edgexfoundry.org:10002 23:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:41 Configure a credential helper to remove this warning. See 23:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:41 23:52:41 Login Succeeded 23:52:41 nexus3.edgexfoundry.org:10003 23:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:41 Configure a credential helper to remove this warning. See 23:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:41 23:52:41 Login Succeeded 23:52:41 nexus3.edgexfoundry.org:10004 23:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:41 Configure a credential helper to remove this warning. See 23:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:41 23:52:41 Login Succeeded 23:52:41 docker.io 23:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:41 Configure a credential helper to remove this warning. See 23:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:41 23:52:41 Login Succeeded 23:52:41 ---> docker-login.sh ends [Pipeline] } 23:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:42 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:42 ========================================================= 23:52:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:52:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:52:42 Sending build context to Docker daemon 37.48MB 23:52:42 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:52:42 Step 2/11 : FROM ${BASE} AS builder 23:52:42 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:52:42 59bf1c3509f3: Pulling fs layer 23:52:42 666ba61612fd: Pulling fs layer 23:52:42 8ed8ca486205: Pulling fs layer 23:52:42 4fe6c5a15a65: Pulling fs layer 23:52:42 22a0e8bec74d: Pulling fs layer 23:52:42 812f408151ee: Pulling fs layer 23:52:42 bab7bd504b26: Pulling fs layer 23:52:42 070449caade9: Pulling fs layer 23:52:42 8f1a5288e3a6: Pulling fs layer 23:52:42 4fe6c5a15a65: Waiting 23:52:42 22a0e8bec74d: Waiting 23:52:42 812f408151ee: Waiting 23:52:42 070449caade9: Waiting 23:52:42 bab7bd504b26: Waiting 23:52:42 8ed8ca486205: Verifying Checksum 23:52:42 8ed8ca486205: Download complete 23:52:42 666ba61612fd: Verifying Checksum 23:52:42 666ba61612fd: Download complete 23:52:42 22a0e8bec74d: Download complete 23:52:42 812f408151ee: Verifying Checksum 23:52:42 812f408151ee: Download complete 23:52:42 59bf1c3509f3: Verifying Checksum 23:52:42 59bf1c3509f3: Download complete 23:52:42 bab7bd504b26: Download complete 23:52:43 070449caade9: Verifying Checksum 23:52:43 070449caade9: Download complete 23:52:43 59bf1c3509f3: Pull complete 23:52:43 666ba61612fd: Pull complete 23:52:43 8ed8ca486205: Pull complete 23:52:43 8f1a5288e3a6: Verifying Checksum 23:52:43 8f1a5288e3a6: Download complete 23:52:43 4fe6c5a15a65: Verifying Checksum 23:52:43 4fe6c5a15a65: Download complete 23:52:47 4fe6c5a15a65: Pull complete 23:52:47 22a0e8bec74d: Pull complete 23:52:47 812f408151ee: Pull complete 23:52:47 bab7bd504b26: Pull complete 23:52:47 070449caade9: Pull complete 23:52:50 8f1a5288e3a6: Pull complete 23:52:50 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:52:50 ---> c47586b81864 23:52:50 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:52:51 ---> Running in ebc9e19194b6 23:52:51 Removing intermediate container ebc9e19194b6 23:52:51 ---> 932bb666bfa5 23:52:51 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:52:51 ---> Running in d2b111758178 23:52:51 Removing intermediate container d2b111758178 23:52:51 ---> 6fe7c6882e5c 23:52:51 Step 5/11 : WORKDIR /device-virtual-go 23:52:51 ---> Running in 658974aa5641 23:52:51 Removing intermediate container 658974aa5641 23:52:51 ---> fb2406657afb 23:52:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:52:51 ---> Running in 5a7b2e4c8915 23:52:52 Removing intermediate container 5a7b2e4c8915 23:52:52 ---> f6ca7b57680f 23:52:52 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:52 ---> Running in 46caa2e0e586 23:52:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:52:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:52:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:52:53 (2/4) Installing libedit (20210910.3.1-r0) 23:52:53 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:52:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:52:54 Executing busybox-1.34.1-r3.trigger 23:52:54 OK: 224 MiB in 56 packages 23:52:54 Removing intermediate container 46caa2e0e586 23:52:54 ---> 156861aca7a6 23:52:54 Step 8/11 : COPY . . 23:52:55 Still waiting to schedule task 23:52:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:52:56 ---> cf7c68d093ca 23:52:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:56 ---> Running in 87f56643c474 23:52:56 skipping... 23:52:56 Removing intermediate container 87f56643c474 23:52:56 ---> 4e0ee8ccdb83 23:52:56 Step 10/11 : ARG MAKE='make build' 23:52:56 ---> Running in c228d84cd216 23:52:56 Removing intermediate container c228d84cd216 23:52:56 ---> 0f5ec58336fe 23:52:56 Step 11/11 : RUN $MAKE 23:52:56 ---> Running in 467855279a7f 23:52:56 noop 23:52:57 Removing intermediate container 467855279a7f 23:52:57 ---> 10e228cfdfb0 23:52:57 Successfully built 10e228cfdfb0 23:52:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:57 + docker inspect -f . ci-base-image-x86_64 23:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:57 prd-ubuntu20.04-docker-8c-8g-734 does not seem to be running inside a container 23:52:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-289 -v /w/workspace/foundry_device-virtual-go_PR-289:/w/workspace/foundry_device-virtual-go_PR-289:rw,z -v /w/workspace/foundry_device-virtual-go_PR-289@tmp:/w/workspace/foundry_device-virtual-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:58 $ docker top 245f840bf24a7c9b410ac085d82d73552f1f3c9d91768c717a8f60ff682f8236 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:58 + go version 23:52:58 go version go1.17.6 linux/amd64 [Pipeline] } 23:52:58 $ docker stop --time=1 245f840bf24a7c9b410ac085d82d73552f1f3c9d91768c717a8f60ff682f8236 23:52:59 $ docker rm -f 245f840bf24a7c9b410ac085d82d73552f1f3c9d91768c717a8f60ff682f8236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:00 + docker inspect -f . ci-base-image-x86_64 23:53:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:00 prd-ubuntu20.04-docker-8c-8g-734 does not seem to be running inside a container 23:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-289 -v /w/workspace/foundry_device-virtual-go_PR-289:/w/workspace/foundry_device-virtual-go_PR-289:rw,z -v /w/workspace/foundry_device-virtual-go_PR-289@tmp:/w/workspace/foundry_device-virtual-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:01 $ docker top ed741e0769defde266cf885d91d0f1184b522a7b0b00943dcc26a51d656780b0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:53:01 + make test 23:53:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:53:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:53:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:53:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.260s coverage: 64.6% of statements 23:53:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:53:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:13 ./bin/test-attribution-txt.sh 23:53:14 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 23:53:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:53:14 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:53:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:53:14 go: downloading github.com/google/uuid v1.3.0 23:53:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:53:14 go: downloading modernc.org/ql v1.0.0 23:53:14 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:53:14 go: downloading github.com/pelletier/go-toml v1.9.4 23:53:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:53:14 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:53:14 go: downloading github.com/gorilla/mux v1.8.0 23:53:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:53:14 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:53:14 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:53:14 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:53:14 go: downloading github.com/hashicorp/consul/api v1.9.1 23:53:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:53:14 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:53:14 go: downloading github.com/go-kit/kit v0.11.0 23:53:14 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:53:14 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:53:14 go: downloading github.com/pebbe/zmq4 v1.2.7 23:53:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:53:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:53:14 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:53:14 go: downloading github.com/mitchellh/copystructure v1.0.0 23:53:14 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:53:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:53:14 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:53:14 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:53:14 go: downloading golang.org/x/text v0.3.6 23:53:14 go: downloading modernc.org/mathutil v1.4.1 23:53:14 go: downloading modernc.org/internal v1.0.2 23:53:14 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:53:14 go: downloading modernc.org/fileutil v1.0.0 23:53:14 go: downloading modernc.org/b v1.0.2 23:53:14 go: downloading modernc.org/db v1.0.3 23:53:14 go: downloading modernc.org/file v1.0.3 23:53:14 go: downloading modernc.org/golex v1.0.1 23:53:14 go: downloading modernc.org/lldb v1.0.2 23:53:14 go: downloading modernc.org/strutil v1.1.1 23:53:14 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:53:14 go: downloading github.com/hashicorp/errwrap v1.0.0 23:53:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:53:14 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:53:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:53:14 go: downloading github.com/hashicorp/serf v0.9.5 23:53:14 go: downloading github.com/x448/float16 v0.8.4 23:53:14 go: downloading github.com/gorilla/websocket v1.4.2 23:53:14 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:53:14 go: downloading github.com/go-playground/universal-translator v0.18.0 23:53:14 go: downloading github.com/leodido/go-urn v1.2.1 23:53:14 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:53:14 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 23:53:14 go: downloading github.com/fatih/color v1.9.0 23:53:14 go: downloading github.com/mattn/go-colorable v0.1.6 23:53:14 go: downloading github.com/mattn/go-isatty v0.0.12 23:53:14 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:53:14 go: downloading github.com/go-playground/locales v0.14.0 23:53:14 go: downloading modernc.org/sortutil v1.1.0 23:53:14 go: downloading modernc.org/zappy v1.0.3 [Pipeline] echo 23:53:15 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:53:16 + go mod tidy 23:53:16 go: downloading github.com/stretchr/testify v1.7.0 23:53:16 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:53:16 go: downloading github.com/go-stack/stack v1.8.0 23:53:16 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:53:16 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:53:16 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:53:16 go: downloading github.com/golang/snappy v0.0.3 23:53:16 go: downloading github.com/onsi/ginkgo v1.10.1 23:53:16 go: downloading github.com/onsi/gomega v1.7.0 23:53:16 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:53:16 go: downloading github.com/hashicorp/memberlist v0.2.2 23:53:16 go: downloading github.com/pkg/errors v0.9.1 23:53:16 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:53:16 go: downloading github.com/kr/pretty v0.3.0 23:53:16 go: downloading github.com/davecgh/go-spew v1.1.1 23:53:16 go: downloading github.com/pmezard/go-difflib v1.0.0 23:53:16 go: downloading github.com/stretchr/objx v0.1.1 23:53:16 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:53:16 go: downloading github.com/kr/text v0.2.0 23:53:16 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:53:16 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:53:16 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:53:16 go: downloading github.com/miekg/dns v1.1.26 23:53:16 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:53:16 go: downloading github.com/hpcloud/tail v1.0.0 23:53:16 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:53:16 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:53:16 go: downloading gopkg.in/yaml.v2 v2.3.0 [Pipeline] } 23:53:16 $ docker stop --time=1 ed741e0769defde266cf885d91d0f1184b522a7b0b00943dcc26a51d656780b0 23:53:18 $ docker rm -f ed741e0769defde266cf885d91d0f1184b522a7b0b00943dcc26a51d656780b0 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:20 + ls -al . 23:53:20 total 208 23:53:20 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 23:53 . 23:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:52 .. 23:53:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:52 .git 23:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:52 .github 23:53:20 -rw-rw-r-- 1 jenkins jenkins 262 Jun 2 23:52 .gitignore 23:53:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:52 .semver 23:53:20 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 2 23:52 Attribution.txt 23:53:20 -rw-rw-r-- 1 jenkins jenkins 6608 Jun 2 23:52 CHANGELOG.md 23:53:20 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 2 23:52 Dockerfile 23:53:20 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:52 GOVERNANCE.md 23:53:20 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 23:52 Jenkinsfile 23:53:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 23:52 LICENSE 23:53:20 -rw-rw-r-- 1 jenkins jenkins 999 Jun 2 23:52 Makefile 23:53:20 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 23:52 OWNERS.md 23:53:20 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 23:52 README.md 23:53:20 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:52 VERSION 23:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:52 bin 23:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:52 cmd 23:53:20 -rw-r--r-- 1 jenkins jenkins 46339 Jun 2 23:53 coverage.out 23:53:20 -rw-rw-r-- 1 jenkins jenkins 344 Jun 2 23:53 go.mod 23:53:20 -rw-rw-r-- 1 jenkins jenkins 52299 Jun 2 23:52 go.sum 23:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:52 internal 23:53:20 drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 23:52 vendor 23:53:20 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:20 + 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=5d9fbc30fdbf57281ebc7690ca69915c47e60c15 --label arch=amd64 --label version=0.0.0 . 23:53:21 Sending build context to Docker daemon 37.53MB 23:53:21 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:53:21 Step 2/25 : FROM ${BASE} AS builder 23:53:21 ---> 10e228cfdfb0 23:53:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:53:21 ---> Running in a5bd27ae9b41 23:53:21 Removing intermediate container a5bd27ae9b41 23:53:21 ---> 9f7d191ba5ea 23:53:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:53:21 ---> Running in 3efc407fbef0 23:53:21 Removing intermediate container 3efc407fbef0 23:53:21 ---> 329e8071e7d7 23:53:21 Step 5/25 : WORKDIR /device-virtual-go 23:53:21 ---> Running in a8e0b3c84f66 23:53:21 Removing intermediate container a8e0b3c84f66 23:53:21 ---> 7493ee45f143 23:53:21 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:53:21 ---> Running in 80bd8c85c250 23:53:22 Removing intermediate container 80bd8c85c250 23:53:22 ---> 9bd6b2357f94 23:53:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:22 ---> Running in c98b76640028 23:53:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:53:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:53:23 OK: 224 MiB in 56 packages 23:53:24 Removing intermediate container c98b76640028 23:53:24 ---> 3a7dd32d1c41 23:53:24 Step 8/25 : COPY . . 23:53:25 ---> d80e84f8d8f8 23:53:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:25 ---> Running in 4c2a75708e37 23:53:26 skipping... 23:53:26 Removing intermediate container 4c2a75708e37 23:53:26 ---> 3601e250050c 23:53:26 Step 10/25 : ARG MAKE='make build' 23:53:26 ---> Running in 2e86885fea87 23:53:26 Removing intermediate container 2e86885fea87 23:53:26 ---> e96914f5f7b3 23:53:26 Step 11/25 : RUN $MAKE 23:53:26 ---> Running in 6b705005100d 23:53:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:53:36 Removing intermediate container 6b705005100d 23:53:36 ---> 934ac017e55f 23:53:36 Step 12/25 : FROM alpine:3.14 23:53:36 3.14: Pulling from library/alpine 23:53:36 8663204ce13b: Pulling fs layer 23:53:36 8663204ce13b: Verifying Checksum 23:53:36 8663204ce13b: Download complete 23:53:36 8663204ce13b: Pull complete 23:53:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:53:36 Status: Downloaded newer image for alpine:3.14 23:53:36 ---> e04c818066af 23:53:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:53:36 ---> Running in 58c90e6fdff8 23:53:37 Removing intermediate container 58c90e6fdff8 23:53:37 ---> 0e94df8a5dd3 23:53:37 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:53:37 ---> Running in ce8ee5c7a02b 23:53:37 Removing intermediate container ce8ee5c7a02b 23:53:37 ---> 5ed51c0b787c 23:53:37 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 23:53:37 ---> Running in 136711af1729 23:53:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:53:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:53:39 (1/6) Installing dumb-init (1.2.5-r1) 23:53:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:53:39 (3/6) Installing libsodium (1.0.18-r0) 23:53:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:53:39 (5/6) Installing libzmq (4.3.4-r0) 23:53:39 (6/6) Installing zeromq (4.3.4-r0) 23:53:39 Executing busybox-1.33.1-r7.trigger 23:53:39 OK: 8 MiB in 20 packages 23:53:40 Removing intermediate container 136711af1729 23:53:40 ---> 588437dfe944 23:53:40 Step 16/25 : WORKDIR / 23:53:40 ---> Running in 6558651001ef 23:53:40 Removing intermediate container 6558651001ef 23:53:40 ---> d5f12558bf6a 23:53:40 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:53:40 ---> 0934c6c5d33e 23:53:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:53:40 ---> e96595955d9a 23:53:40 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:53:41 ---> c53739c711ec 23:53:41 Step 20/25 : EXPOSE 59900 23:53:41 ---> Running in 1e6f291b8e3a 23:53:41 Removing intermediate container 1e6f291b8e3a 23:53:41 ---> ac0b58df342c 23:53:41 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:53:41 ---> Running in 2ff55fb9bf7b 23:53:41 Removing intermediate container 2ff55fb9bf7b 23:53:41 ---> b24333de8106 23:53:41 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:53:41 ---> Running in eecc8bdc73e1 23:53:41 Removing intermediate container eecc8bdc73e1 23:53:41 ---> 1bea8da69b8e 23:53:41 Step 23/25 : LABEL arch=amd64 23:53:41 ---> Running in 9c1ae3332eb9 23:53:41 Removing intermediate container 9c1ae3332eb9 23:53:41 ---> 3b58b5bf359b 23:53:41 Step 24/25 : LABEL git_sha=5d9fbc30fdbf57281ebc7690ca69915c47e60c15 23:53:41 ---> Running in 997d21f53c70 23:53:41 Removing intermediate container 997d21f53c70 23:53:41 ---> 2739f6511cd7 23:53:41 Step 25/25 : LABEL version=0.0.0 23:53:41 ---> Running in 279fc87c70ac 23:53:41 Removing intermediate container 279fc87c70ac 23:53:41 ---> c3dee62f1a47 23:53:41 [Warning] One or more build-args [ARCH] were not consumed 23:53:41 Successfully built c3dee62f1a47 23:53:41 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 23:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:42 23:53:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:43 latest: Pulling from edgex-lftools-log-publisher 23:53:43 5eb5b503b376: Pulling fs layer 23:53:43 5c69ac0246d0: Pulling fs layer 23:53:43 ec43610c2a17: Pulling fs layer 23:53:43 3a2ae6a8a46f: Pulling fs layer 23:53:43 33b1e0a273af: Pulling fs layer 23:53:43 5d3b04190fa2: Pulling fs layer 23:53:43 2f39f015ded8: Pulling fs layer 23:53:43 3a2ae6a8a46f: Waiting 23:53:43 33b1e0a273af: Waiting 23:53:43 5d3b04190fa2: Waiting 23:53:43 2f39f015ded8: Waiting 23:53:43 5c69ac0246d0: Download complete 23:53:43 3a2ae6a8a46f: Verifying Checksum 23:53:43 3a2ae6a8a46f: Download complete 23:53:43 33b1e0a273af: Verifying Checksum 23:53:43 33b1e0a273af: Download complete 23:53:43 5d3b04190fa2: Download complete 23:53:43 ec43610c2a17: Verifying Checksum 23:53:43 ec43610c2a17: Download complete 23:53:43 5eb5b503b376: Verifying Checksum 23:53:43 5eb5b503b376: Download complete 23:53:43 2f39f015ded8: Download complete 23:53:44 5eb5b503b376: Pull complete 23:53:44 5c69ac0246d0: Pull complete 23:53:44 ec43610c2a17: Pull complete 23:53:44 3a2ae6a8a46f: Pull complete 23:53:45 33b1e0a273af: Pull complete 23:53:45 5d3b04190fa2: Pull complete 23:53:49 2f39f015ded8: Pull complete 23:53:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:53:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:49 prd-ubuntu20.04-docker-8c-8g-734 does not seem to be running inside a container 23:53:49 $ 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-289 -v /w/workspace/foundry_device-virtual-go_PR-289:/w/workspace/foundry_device-virtual-go_PR-289:rw,z -v /w/workspace/foundry_device-virtual-go_PR-289@tmp:/w/workspace/foundry_device-virtual-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:53:51 $ docker top 3e113110524e1ef593f48d85367fb992c396dac01295e5e86f0caeec9b478ced -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:52 ---> job-cost.sh 23:53:52 lf-activate-venv: SKIPPING 23:53:52 INFO: No Stack... 23:53:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:53 INFO: Archiving Costs [Pipeline] sh 23:53:53 + cat /w/workspace/foundry_device-virtual-go_PR-289/archives/cost.csv 23:53:53 + cut -d, -f6 [Pipeline] lock 23:53:53 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] 23:53:53 Resource [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] did not exist. Created. 23:53:53 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:53 + echo total: 0.2199999988079071 [Pipeline] stash 23:53:53 Stashed 1 file(s) [Pipeline] } 23:53:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:53:53 $ docker stop --time=1 3e113110524e1ef593f48d85367fb992c396dac01295e5e86f0caeec9b478ced 23:53:55 $ docker rm -f 3e113110524e1ef593f48d85367fb992c396dac01295e5e86f0caeec9b478ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-735 in /w/workspace/foundry_device-virtual-go_PR-289 [Pipeline] { [Pipeline] ws 23:54:28 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:54:28 The recommended git tool is: git 23:54:35 using credential edgex-jenkins-ssh 23:54:35 Cloning the remote Git repository 23:54:35 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:54:35 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:54:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:54:35 > git --version # timeout=10 23:54:35 > git --version # 'git version 2.25.1' 23:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:38 Merging remotes/origin/jakarta commit c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 into PR head commit 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 23:54:39 Merge succeeded, producing 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 23:54:39 Checking out Revision 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 (PR-289) 23:54:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:54:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:54:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 23:54:38 > git config core.sparsecheckout # timeout=10 23:54:38 > git checkout -f 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 # timeout=10 23:54:39 > git remote # timeout=10 23:54:39 > git config --get remote.origin.url # timeout=10 23:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:39 > git merge c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 # timeout=10 23:54:39 > git rev-parse HEAD^{commit} # timeout=10 23:54:39 > git config core.sparsecheckout # timeout=10 23:54:39 > git checkout -f 5d9fbc30fdbf57281ebc7690ca69915c47e60c15 # timeout=10 23:54:43 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" 23:54:43 > git --version # timeout=10 23:54:43 > git --version # 'git version 2.25.1' 23:54:43 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:54:44 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:44 Dload Upload Total Spent Left Speed 23:54:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 23:54:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:54:45 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:54:45 sudo tee /etc/docker/daemon.new 23:54:45 { 23:54:45 "registry-mirrors": [ 23:54:45 "https://nexus3.edgexfoundry.org:10001" 23:54:45 ], 23:54:45 "bip": "10.250.0.254/24", 23:54:45 "hosts": [ 23:54:45 "tcp://0.0.0.0:5555", 23:54:45 "unix:///var/run/docker.sock" 23:54:45 ], 23:54:45 "mtu": 1458, 23:54:45 "selinux-enabled": true, 23:54:45 "seccomp-profile": "/etc/docker/seccomp.json" 23:54:45 } [Pipeline] sh 23:54:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:54:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:04 provisioning config files... 23:55:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6862343626217065667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:05 ---> docker-login.sh 23:55:05 nexus3.edgexfoundry.org:10001 23:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:06 Configure a credential helper to remove this warning. See 23:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:06 23:55:06 Login Succeeded 23:55:06 nexus3.edgexfoundry.org:10002 23:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:06 Configure a credential helper to remove this warning. See 23:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:06 23:55:06 Login Succeeded 23:55:06 nexus3.edgexfoundry.org:10003 23:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:07 Configure a credential helper to remove this warning. See 23:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:07 23:55:07 Login Succeeded 23:55:07 nexus3.edgexfoundry.org:10004 23:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:07 Configure a credential helper to remove this warning. See 23:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:07 23:55:07 Login Succeeded 23:55:07 docker.io 23:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:08 Configure a credential helper to remove this warning. See 23:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:08 23:55:08 Login Succeeded 23:55:08 ---> docker-login.sh ends [Pipeline] } 23:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:08 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:08 ========================================================= 23:55:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:55:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:55:10 Sending build context to Docker daemon 26.13MB 23:55:10 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:55:10 Step 2/11 : FROM ${BASE} AS builder 23:55:10 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:55:10 9b3977197b4f: Pulling fs layer 23:55:10 1a89e8eeedd5: Pulling fs layer 23:55:10 94645a83ff95: Pulling fs layer 23:55:10 3f3a8bcf1eab: Pulling fs layer 23:55:10 0c92f367c5e7: Pulling fs layer 23:55:10 63b1bc5785f6: Pulling fs layer 23:55:10 626d30ff41c6: Pulling fs layer 23:55:10 de1d54c125be: Pulling fs layer 23:55:10 3f3a8bcf1eab: Waiting 23:55:10 63b1bc5785f6: Waiting 23:55:10 0c92f367c5e7: Waiting 23:55:10 626d30ff41c6: Waiting 23:55:10 de1d54c125be: Waiting 23:55:10 94645a83ff95: Verifying Checksum 23:55:10 94645a83ff95: Download complete 23:55:10 1a89e8eeedd5: Verifying Checksum 23:55:10 1a89e8eeedd5: Download complete 23:55:10 0c92f367c5e7: Verifying Checksum 23:55:10 0c92f367c5e7: Download complete 23:55:10 63b1bc5785f6: Verifying Checksum 23:55:10 63b1bc5785f6: Download complete 23:55:10 9b3977197b4f: Verifying Checksum 23:55:10 9b3977197b4f: Download complete 23:55:10 626d30ff41c6: Verifying Checksum 23:55:10 626d30ff41c6: Download complete 23:55:11 9b3977197b4f: Pull complete 23:55:12 1a89e8eeedd5: Pull complete 23:55:12 94645a83ff95: Pull complete 23:55:12 de1d54c125be: Verifying Checksum 23:55:12 de1d54c125be: Download complete 23:55:13 3f3a8bcf1eab: Verifying Checksum 23:55:13 3f3a8bcf1eab: Download complete 23:55:25 3f3a8bcf1eab: Pull complete 23:55:25 0c92f367c5e7: Pull complete 23:55:25 63b1bc5785f6: Pull complete 23:55:25 626d30ff41c6: Pull complete 23:55:32 de1d54c125be: Pull complete 23:55:32 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 23:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:55:32 ---> 5f011755c4a2 23:55:32 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:55:33 ---> Running in d1e7c7eff172 23:55:33 Removing intermediate container d1e7c7eff172 23:55:33 ---> cb375046b9be 23:55:33 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:55:33 ---> Running in 708365bbfee6 23:55:34 Removing intermediate container 708365bbfee6 23:55:34 ---> a58352fb80a2 23:55:34 Step 5/11 : WORKDIR /device-virtual-go 23:55:34 ---> Running in 81f2a41f2588 23:55:34 Removing intermediate container 81f2a41f2588 23:55:34 ---> 382f1feccb89 23:55:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:34 ---> Running in ef09aed4d452 23:55:37 Removing intermediate container ef09aed4d452 23:55:37 ---> 48603ba8e461 23:55:37 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:37 ---> Running in 7dcc847ce4f6 23:55:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:55:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:55:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:55:40 (2/4) Installing libedit (20210910.3.1-r0) 23:55:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:55:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:55:40 Executing busybox-1.34.1-r3.trigger 23:55:40 OK: 224 MiB in 56 packages 23:55:41 Removing intermediate container 7dcc847ce4f6 23:55:41 ---> 3892030f7234 23:55:41 Step 8/11 : COPY . . 23:55:45 ---> b81f302e9a6e 23:55:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:45 ---> Running in 0a9a13c7c5b1 23:55:46 skipping... 23:55:47 Removing intermediate container 0a9a13c7c5b1 23:55:47 ---> d547a46e3f4e 23:55:47 Step 10/11 : ARG MAKE='make build' 23:55:47 ---> Running in 3e955d34c965 23:55:47 Removing intermediate container 3e955d34c965 23:55:47 ---> e7c14b4b30fb 23:55:47 Step 11/11 : RUN $MAKE 23:55:48 ---> Running in 25008515d1b6 23:55:49 noop 23:55:49 Removing intermediate container 25008515d1b6 23:55:49 ---> 071af7997d9a 23:55:49 Successfully built 071af7997d9a 23:55:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:50 + docker inspect -f . ci-base-image-arm64 23:55:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:50 prd-ubuntu20.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 23:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:55:51 $ docker top 46c858d8a04c3c169ede4143277f1afe6ea5eeef5ba94627dcaa1d969270c545 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:52 + go version 23:55:52 go version go1.17.6 linux/arm64 [Pipeline] } 23:55:52 $ docker stop --time=1 46c858d8a04c3c169ede4143277f1afe6ea5eeef5ba94627dcaa1d969270c545 23:55:54 $ docker rm -f 46c858d8a04c3c169ede4143277f1afe6ea5eeef5ba94627dcaa1d969270c545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:55 + docker inspect -f . ci-base-image-arm64 23:55:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:55 prd-ubuntu20.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 23:55:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:55:56 $ docker top 65e55f4062cdd5661732db274c814fa4225d2d8bf466ace54b8e7c5777eab020 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:55:57 + make test 23:55:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:55:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:57:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:57:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.685s coverage: 64.6% of statements 23:57:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:57:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:57:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:57:25 ./bin/test-attribution-txt.sh 23:57:25 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 23:57:25 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:57:25 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:57:25 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:57:25 go: downloading modernc.org/ql v1.0.0 23:57:25 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:57:25 go: downloading github.com/google/uuid v1.3.0 23:57:25 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:57:25 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:57:25 go: downloading github.com/pelletier/go-toml v1.9.4 23:57:25 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:57:25 go: downloading github.com/gorilla/mux v1.8.0 23:57:25 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:57:25 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:57:25 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:57:25 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:57:25 go: downloading github.com/hashicorp/consul/api v1.9.1 23:57:25 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:57:25 go: downloading github.com/go-kit/kit v0.11.0 23:57:25 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:57:25 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:57:25 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:57:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:57:25 go: downloading github.com/pebbe/zmq4 v1.2.7 23:57:25 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:57:25 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:57:25 go: downloading github.com/mitchellh/copystructure v1.0.0 23:57:25 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:57:25 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:57:25 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:57:25 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:57:26 go: downloading golang.org/x/text v0.3.6 23:57:26 go: downloading modernc.org/internal v1.0.2 23:57:26 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:57:26 go: downloading modernc.org/fileutil v1.0.0 23:57:26 go: downloading modernc.org/mathutil v1.4.1 23:57:26 go: downloading modernc.org/b v1.0.2 23:57:26 go: downloading modernc.org/db v1.0.3 23:57:26 go: downloading modernc.org/file v1.0.3 23:57:26 go: downloading modernc.org/golex v1.0.1 23:57:26 go: downloading modernc.org/lldb v1.0.2 23:57:26 go: downloading modernc.org/strutil v1.1.1 23:57:26 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:57:26 go: downloading github.com/hashicorp/errwrap v1.0.0 23:57:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:57:26 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:57:26 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:57:26 go: downloading github.com/hashicorp/serf v0.9.5 23:57:27 go: downloading github.com/x448/float16 v0.8.4 23:57:27 go: downloading github.com/go-playground/universal-translator v0.18.0 23:57:27 go: downloading github.com/leodido/go-urn v1.2.1 23:57:27 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:57:29 go: downloading github.com/gorilla/websocket v1.4.2 23:57:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:57:29 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 23:57:29 go: downloading modernc.org/sortutil v1.1.0 23:57:29 go: downloading modernc.org/zappy v1.0.3 23:57:29 go: downloading github.com/fatih/color v1.9.0 23:57:29 go: downloading github.com/mattn/go-colorable v0.1.6 23:57:29 go: downloading github.com/mattn/go-isatty v0.0.12 23:57:29 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:57:29 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:57:34 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:57:35 + go mod tidy 23:57:35 go: downloading github.com/stretchr/testify v1.7.0 23:57:35 go: downloading github.com/go-stack/stack v1.8.0 23:57:35 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:57:35 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:57:35 go: downloading github.com/davecgh/go-spew v1.1.1 23:57:35 go: downloading github.com/pmezard/go-difflib v1.0.0 23:57:35 go: downloading github.com/stretchr/objx v0.1.1 23:57:35 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:57:35 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:57:35 go: downloading github.com/kr/pretty v0.3.0 23:57:35 go: downloading github.com/golang/snappy v0.0.3 23:57:35 go: downloading github.com/onsi/ginkgo v1.10.1 23:57:35 go: downloading github.com/onsi/gomega v1.7.0 23:57:35 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:57:35 go: downloading github.com/hashicorp/memberlist v0.2.2 23:57:35 go: downloading github.com/pkg/errors v0.9.1 23:57:35 go: downloading github.com/kr/text v0.2.0 23:57:36 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:57:36 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:57:36 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:57:36 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:57:36 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:57:36 go: downloading github.com/miekg/dns v1.1.26 23:57:36 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:57:36 go: downloading gopkg.in/yaml.v2 v2.3.0 23:57:36 go: downloading github.com/hpcloud/tail v1.0.0 23:57:36 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:57:36 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:57:36 $ docker stop --time=1 65e55f4062cdd5661732db274c814fa4225d2d8bf466ace54b8e7c5777eab020 23:57:38 $ docker rm -f 65e55f4062cdd5661732db274c814fa4225d2d8bf466ace54b8e7c5777eab020 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:57:41 Warning: overwriting stash ‘coverage-report’ 23:57:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:57:42 + ls -al . 23:57:42 total 204 23:57:42 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:57 . 23:57:42 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:54 .. 23:57:42 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:54 .git 23:57:42 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:54 .github 23:57:42 -rw-rw-r-- 1 jenkins jenkins 262 Jun 2 23:54 .gitignore 23:57:42 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 2 23:54 Attribution.txt 23:57:42 -rw-rw-r-- 1 jenkins jenkins 6608 Jun 2 23:54 CHANGELOG.md 23:57:42 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 2 23:54 Dockerfile 23:57:42 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:54 GOVERNANCE.md 23:57:42 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 23:54 Jenkinsfile 23:57:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 23:54 LICENSE 23:57:42 -rw-rw-r-- 1 jenkins jenkins 999 Jun 2 23:54 Makefile 23:57:42 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 23:54 OWNERS.md 23:57:42 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 23:54 README.md 23:57:42 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:52 VERSION 23:57:42 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:54 bin 23:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:54 cmd 23:57:42 -rw-r--r-- 1 jenkins jenkins 46339 Jun 2 23:57 coverage.out 23:57:42 -rw-rw-r-- 1 jenkins jenkins 344 Jun 2 23:57 go.mod 23:57:42 -rw-rw-r-- 1 jenkins jenkins 52299 Jun 2 23:54 go.sum 23:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:54 internal 23:57:42 drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 23:54 vendor 23:57:42 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:43 + 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=5d9fbc30fdbf57281ebc7690ca69915c47e60c15 --label arch=arm64 --label version=0.0.0 . 23:57:44 Sending build context to Docker daemon 26.18MB 23:57:44 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:57:44 Step 2/25 : FROM ${BASE} AS builder 23:57:44 ---> 071af7997d9a 23:57:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:57:44 ---> Running in d1c27bf4fdca 23:57:45 Removing intermediate container d1c27bf4fdca 23:57:45 ---> 4daafbadb2a1 23:57:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:57:45 ---> Running in ffb2d1318208 23:57:45 Removing intermediate container ffb2d1318208 23:57:45 ---> c3596d233698 23:57:45 Step 5/25 : WORKDIR /device-virtual-go 23:57:45 ---> Running in dfae17f37dd8 23:57:46 Removing intermediate container dfae17f37dd8 23:57:46 ---> 58c55b2ff673 23:57:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:46 ---> Running in ea3dfc1cb4bb 23:57:47 Removing intermediate container ea3dfc1cb4bb 23:57:47 ---> b2288ce8ba51 23:57:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:47 ---> Running in ef3b812c1fd1 23:57:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:57:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:57:50 OK: 224 MiB in 56 packages 23:57:51 Removing intermediate container ef3b812c1fd1 23:57:51 ---> 7d8a7d9ccfb7 23:57:51 Step 8/25 : COPY . . 23:57:56 ---> 625a4292a8d6 23:57:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:56 ---> Running in 4ab94671fb30 23:57:57 skipping... 23:57:57 Removing intermediate container 4ab94671fb30 23:57:57 ---> 7bdabfad8079 23:57:57 Step 10/25 : ARG MAKE='make build' 23:57:57 ---> Running in 1584fd8e3889 23:57:57 Removing intermediate container 1584fd8e3889 23:57:57 ---> 67b81d3e780e 23:57:57 Step 11/25 : RUN $MAKE 23:57:58 ---> Running in e9c6a7424e3e 23:57:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:58:55 Removing intermediate container e9c6a7424e3e 23:58:55 ---> 4d07299e9e42 23:58:55 Step 12/25 : FROM alpine:3.14 23:58:55 3.14: Pulling from library/alpine 23:58:55 455c02918c45: Pulling fs layer 23:58:56 455c02918c45: Verifying Checksum 23:58:56 455c02918c45: Download complete 23:58:56 455c02918c45: Pull complete 23:58:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:58:56 Status: Downloaded newer image for alpine:3.14 23:58:56 ---> ac73e934f311 23:58:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:58:56 ---> Running in 432048a609a3 23:58:56 Removing intermediate container 432048a609a3 23:58:56 ---> 9f9a6bc5cbf6 23:58:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:58:57 ---> Running in dd06aa805cc2 23:58:58 Removing intermediate container dd06aa805cc2 23:58:58 ---> f92230df6cd6 23:58:58 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 23:58:58 ---> Running in e05dc49c75bc 23:58:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:59:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:59:01 (1/6) Installing dumb-init (1.2.5-r1) 23:59:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:59:01 (3/6) Installing libsodium (1.0.18-r0) 23:59:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:59:01 (5/6) Installing libzmq (4.3.4-r0) 23:59:01 (6/6) Installing zeromq (4.3.4-r0) 23:59:02 Executing busybox-1.33.1-r7.trigger 23:59:02 OK: 8 MiB in 20 packages 23:59:02 Removing intermediate container e05dc49c75bc 23:59:02 ---> 6da9461c2be9 23:59:02 Step 16/25 : WORKDIR / 23:59:03 ---> Running in f88e956e0a22 23:59:03 Removing intermediate container f88e956e0a22 23:59:03 ---> 27df7bbefe42 23:59:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:59:03 ---> d8f5fcc4ba03 23:59:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:59:04 ---> 2665ed71ba80 23:59:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:59:05 ---> b6e9a465a143 23:59:05 Step 20/25 : EXPOSE 59900 23:59:05 ---> Running in f6794b80f066 23:59:05 Removing intermediate container f6794b80f066 23:59:05 ---> 59869bec576e 23:59:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:59:05 ---> Running in 2f890a308a06 23:59:06 Removing intermediate container 2f890a308a06 23:59:06 ---> 150d927d5781 23:59:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:59:06 ---> Running in 9f57aba7eccf 23:59:06 Removing intermediate container 9f57aba7eccf 23:59:06 ---> d88e2c2f8767 23:59:06 Step 23/25 : LABEL arch=arm64 23:59:06 ---> Running in 57ae49a73523 23:59:06 Removing intermediate container 57ae49a73523 23:59:06 ---> 7400a1f5a087 23:59:06 Step 24/25 : LABEL git_sha=5d9fbc30fdbf57281ebc7690ca69915c47e60c15 23:59:07 ---> Running in 1f30ced7e6ac 23:59:07 Removing intermediate container 1f30ced7e6ac 23:59:07 ---> 203aae985c92 23:59:07 Step 25/25 : LABEL version=0.0.0 23:59:07 ---> Running in 0e7d9199ecb9 23:59:07 Removing intermediate container 0e7d9199ecb9 23:59:07 ---> 5d07acc2dcd6 23:59:07 [Warning] One or more build-args [ARCH] were not consumed 23:59:07 Successfully built 5d07acc2dcd6 23:59:07 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 23:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:59:08 23:59:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:59:09 arm64: Pulling from edgex-lftools-log-publisher 23:59:09 8998bd30e6a1: Pulling fs layer 23:59:09 04944245beec: Pulling fs layer 23:59:09 699f458cf7ca: Pulling fs layer 23:59:09 765212b225bb: Pulling fs layer 23:59:09 f23df028b6ca: Pulling fs layer 23:59:09 d65c8cfc05b1: Pulling fs layer 23:59:09 2437ff75d9bd: Pulling fs layer 23:59:09 f23df028b6ca: Waiting 23:59:09 d65c8cfc05b1: Waiting 23:59:09 2437ff75d9bd: Waiting 23:59:09 765212b225bb: Waiting 23:59:09 04944245beec: Verifying Checksum 23:59:09 04944245beec: Download complete 23:59:09 765212b225bb: Verifying Checksum 23:59:09 765212b225bb: Download complete 23:59:09 f23df028b6ca: Verifying Checksum 23:59:09 f23df028b6ca: Download complete 23:59:09 d65c8cfc05b1: Verifying Checksum 23:59:09 d65c8cfc05b1: Download complete 23:59:09 699f458cf7ca: Verifying Checksum 23:59:09 699f458cf7ca: Download complete 23:59:09 8998bd30e6a1: Verifying Checksum 23:59:09 8998bd30e6a1: Download complete 23:59:12 2437ff75d9bd: Verifying Checksum 23:59:12 2437ff75d9bd: Download complete 23:59:13 8998bd30e6a1: Pull complete 23:59:14 04944245beec: Pull complete 23:59:15 699f458cf7ca: Pull complete 23:59:16 765212b225bb: Pull complete 23:59:17 f23df028b6ca: Pull complete 23:59:17 d65c8cfc05b1: Pull complete 23:59:32 2437ff75d9bd: Pull complete 23:59:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:59:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:32 prd-ubuntu20.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 23:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:59:35 $ docker top 7b7a82d8fb4e058352f90911084b71e9211d5f5602ef0358dcb2a78fc6cdd34b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:36 ---> job-cost.sh 23:59:36 lf-activate-venv: SKIPPING 23:59:36 INFO: No Stack... 23:59:36 INFO: Retrieving Pricing Info for: v3-standard-4 23:59:37 INFO: Archiving Costs [Pipeline] sh 23:59:38 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:59:38 + cut -d, -f6 [Pipeline] lock 23:59:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] 23:59:38 Resource [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] did not exist. Created. 23:59:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:59:39 /w/workspace/device-virtual-go/1@tmp/durable-aa76ae53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:59:40 + echo total: 0.10999999940395355 [Pipeline] stash 23:59:40 Warning: overwriting stash ‘stack-cost’ 23:59:40 Stashed 1 file(s) [Pipeline] } 23:59:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:59:40 $ docker stop --time=1 7b7a82d8fb4e058352f90911084b71e9211d5f5602ef0358dcb2a78fc6cdd34b 23:59:42 $ docker rm -f 7b7a82d8fb4e058352f90911084b71e9211d5f5602ef0358dcb2a78fc6cdd34b [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 23:59:43 provisioning config files... 23:59:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-289@tmp/config1254978149510563324tmp [Pipeline] { [Pipeline] sh 23:59:43 + set +x 23:59:43 + curl -s https://codecov.io/bash 23:59:43 + bash -s -- 23:59:43 23:59:43 _____ _ 23:59:43 / ____| | | 23:59:43 | | ___ __| | ___ ___ _____ __ 23:59:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:59:43 | |___| (_) | (_| | __/ (_| (_) \ V / 23:59:43 \_____\___/ \__,_|\___|\___\___/ \_/ 23:59:43 Bash-1.0.6 23:59:43 23:59:43 23:59:43 ==> git version 2.25.1 found 23:59:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:59:43 Release-Date: 2020-01-08 23:59:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:59:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:59:43 ==> Jenkins CI detected. 23:59:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-289 23:59:43 project root: . 23:59:43 --> token set from env 23:59:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:59:43 ==> Running gcov in . (disable via -X gcov) 23:59:43 ==> Python coveragepy not found 23:59:43 ==> Searching for coverage reports in: 23:59:43 + . 23:59:43 -> Found 1 reports 23:59:43 ==> Detecting git/mercurial file structure 23:59:43 ==> Reading reports 23:59:43 + ./coverage.out bytes=46339 23:59:43 ==> Appending adjustments 23:59:43 https://docs.codecov.io/docs/fixing-reports 23:59:43 + Found adjustments 23:59:43 ==> Gzipping contents 23:59:43 16K /tmp/codecov.9kU4ot.gz 23:59:43 ==> Uploading reports 23:59:43 url: https://codecov.io 23:59:43 query: branch=PR-289&commit=5d9fbc30fdbf57281ebc7690ca69915c47e60c15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=289&job=&cmd_args= 23:59:43 -> Pinging Codecov 23:59:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-289&commit=5d9fbc30fdbf57281ebc7690ca69915c47e60c15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=289&job=&cmd_args= 23:59:43 -> Uploading to 23:59:43 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/5E52B4B073DB2E39498172D8E973AA87/5d9fbc30fdbf57281ebc7690ca69915c47e60c15/795e6c86-8c0b-4a19-939b-58999123466c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T235943Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d110ecd3888af2dcebcf7028c9cdfab282f3e7e11aeb516979b2f036c47bfef3 23:59:43 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:43 Dload Upload Total Spent Left Speed 23:59:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13252 0 0 100 13252 0 58378 --:--:-- --:--:-- --:--:-- 58378 23:59:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5d9fbc30fdbf57281ebc7690ca69915c47e60c15 [Pipeline] } 23:59:44 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 23:59:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-289/archives ] 23:59:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-289/archives 23:59:45 total 16 23:59:45 drwxr-xr-x 3 root root 4096 Jun 2 23:53 . 23:59:45 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:53 .. 23:59:45 drwxr-xr-x 2 root root 4096 Jun 2 23:53 cost 23:59:45 -rw-r--r-- 1 root root 88 Jun 2 23:53 cost.csv 23:59:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-289/archives 23:59:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-289/archives 23:59:45 total 16 23:59:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:53 . 23:59:45 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:53 .. 23:59:45 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:53 cost 23:59:45 -rw-r--r-- 1 jenkins jenkins 88 Jun 2 23:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:59:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:59:47 ---> package-listing.sh 23:59:47 ++ tr '[:upper:]' '[:lower:]' 23:59:47 ++ facter osfamily 23:59:47 + OS_FAMILY=debian 23:59:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-289 23:59:47 + START_PACKAGES=/tmp/packages_start.txt 23:59:47 + END_PACKAGES=/tmp/packages_end.txt 23:59:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:59:47 + PACKAGES=/tmp/packages_start.txt 23:59:47 + '[' /w/workspace/foundry_device-virtual-go_PR-289 ']' 23:59:47 + PACKAGES=/tmp/packages_end.txt 23:59:47 + case "${OS_FAMILY}" in 23:59:47 + dpkg -l 23:59:47 + grep '^ii' 23:59:47 + '[' -f /tmp/packages_start.txt ']' 23:59:47 + '[' -f /tmp/packages_end.txt ']' 23:59:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:59:47 + '[' /w/workspace/foundry_device-virtual-go_PR-289 ']' 23:59:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-289/archives/ 23:59:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-289/archives/ [Pipeline] echo 23:59:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-289/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:59:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:48 prd-ubuntu20.04-docker-8c-8g-734 does not seem to be running inside a container 23:59:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-289/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-289 -v /w/workspace/foundry_device-virtual-go_PR-289:/w/workspace/foundry_device-virtual-go_PR-289:rw,z -v /w/workspace/foundry_device-virtual-go_PR-289@tmp:/w/workspace/foundry_device-virtual-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:59:48 $ docker top 1b1e9c36265db29d2e2d6abdf4d285bf2ef5744501f520cb20c050d1b93964f9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:49 + touch /tmp/pre-build-complete [Pipeline] sh 23:59:49 + mkdir -p /var/log/sysstat [Pipeline] sh 23:59:49 + ls /var/log/sa-host 23:59:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:50 provisioning config files... 23:59:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-289@tmp/config3813560528137999113tmp [Pipeline] { [Pipeline] echo 23:59:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:59:50 ---> create-netrc.sh [Pipeline] } 23:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:59:50 ---> python-tools-install.sh [Pipeline] echo 23:59:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:59:51 ---> sudo-logs.sh 23:59:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:59:51 ---> job-cost.sh 23:59:51 lf-activate-venv: SKIPPING 23:59:51 DEBUG: total: 0.2199999988079071 23:59:51 INFO: Retrieving Stack Cost... 23:59:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:52 INFO: Archiving Costs [Pipeline] echo 23:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:59:53 ---> logs-deploy.sh 23:59:53 lf-activate-venv: SKIPPING 23:59:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-289/1 23:59:53 INFO: archiving workspace using pattern(s): 23:59:54 Archives upload complete. 23:59:54 INFO: archiving logs to Nexus