Pull request #315 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 08ba88bbb8593175a348f49bf109086ae6b5bed8+4fde29d6fb1a32cee08b75cf09049e5481e19570 (e8574c4c2a369c20634da602ec6e654b5a52301b) 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-ssh17416013206162385259.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2985211623524979301.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-315/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-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh905422539390931818.key Verifying host key using known hosts file > 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-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9133073436019700819.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh12896129199761030222.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-315/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-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15012369968296514870.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8851’ Running on prd-ubuntu20.04-docker-8c-8g-8854 in /w/workspace/foundry_device-virtual-go_PR-315 [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-315 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4fde29d6fb1a32cee08b75cf09049e5481e19570 into PR head commit 08ba88bbb8593175a348f49bf109086ae6b5bed8 Merge succeeded, producing 08ba88bbb8593175a348f49bf109086ae6b5bed8 Checking out Revision 08ba88bbb8593175a348f49bf109086ae6b5bed8 (PR-315) > git config core.sparsecheckout # timeout=10 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 Commit message: "build: Updated to latest Device SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:13:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:13:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:13:22 ========================================================= 18:13:22 EdgeX Global Pipelines Version Info 18:13:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:13:24 ------------------- 18:13:24 stable info: 18:13:24 ------------------- 18:13:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:13:24 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:13:24 Message: update stable to v1.0.243 18:13:24 ------------------- 18:13:24 experimental info: 18:13:24 ------------------- 18:13:24 Commited By: **** collab-it+edgex@linuxfoundation.org 18:13:24 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:13:24 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-315 [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-315 [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-315 [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08ba88b [Pipeline] echo 18:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:25 provisioning config files... 18:13:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config4706535430227068366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:26 ---> docker-login.sh 18:13:26 nexus3.edgexfoundry.org:10001 18:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:26 Configure a credential helper to remove this warning. See 18:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:26 18:13:26 Login Succeeded 18:13:26 nexus3.edgexfoundry.org:10002 18:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:26 Configure a credential helper to remove this warning. See 18:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:26 18:13:26 Login Succeeded 18:13:26 nexus3.edgexfoundry.org:10003 18:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:26 Configure a credential helper to remove this warning. See 18:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:26 18:13:26 Login Succeeded 18:13:26 nexus3.edgexfoundry.org:10004 18:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:26 Configure a credential helper to remove this warning. See 18:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:26 18:13:26 Login Succeeded 18:13:26 docker.io 18:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:27 Configure a credential helper to remove this warning. See 18:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:27 18:13:27 Login Succeeded 18:13:27 ---> docker-login.sh ends [Pipeline] } 18:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:13:28 + git rev-list -1 --merges 08ba88bbb8593175a348f49bf109086ae6b5bed8~1..08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo 18:13:28 -----------> git rev-list -1 --merges 08ba88bbb8593175a348f49bf109086ae6b5bed8~1..08ba88bbb8593175a348f49bf109086ae6b5bed8 08ba88bbb8593175a348f49bf109086ae6b5bed8 [false] [Pipeline] sh 18:13:28 + git log --format=format:%s -1 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo 18:13:28 ========================================================= 18:13:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:13:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:28 + git log --format=format:%s -1 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo 18:13:28 [semverPrep] GIT_COMMIT: 08ba88bbb8593175a348f49bf109086ae6b5bed8, Commit Message: build: Updated to latest Device SDK [Pipeline] echo 18:13:28 [semverPrep] This is not a build commit. [Pipeline] sh 18:13:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:13:29 + grep -v github /etc/ssh/ssh_known_hosts 18:13:29 + [ -e /tmp/ssh_known_hosts ] 18:13:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:13:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 18:13:29 sudo tee -a /etc/ssh/ssh_known_hosts 18:13:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:29 18:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:30 0.1.4: Pulling from edgex-devops/py-git-semver 18:13:30 b85a868b505f: Pulling fs layer 18:13:30 e2be974225ed: Pulling fs layer 18:13:30 339a4e72a1f5: Pulling fs layer 18:13:30 988bab9f4d93: Pulling fs layer 18:13:30 1469e6f7b9e6: Pulling fs layer 18:13:30 eaf3925da568: Pulling fs layer 18:13:30 bab4dde63d76: Pulling fs layer 18:13:30 bde34c3a00c8: Pulling fs layer 18:13:30 b352a97aabf1: Pulling fs layer 18:13:30 4872d77fe225: Pulling fs layer 18:13:30 5851b861e8e6: Pulling fs layer 18:13:30 988bab9f4d93: Waiting 18:13:30 1469e6f7b9e6: Waiting 18:13:30 eaf3925da568: Waiting 18:13:30 bab4dde63d76: Waiting 18:13:30 bde34c3a00c8: Waiting 18:13:30 b352a97aabf1: Waiting 18:13:30 4872d77fe225: Waiting 18:13:30 e2be974225ed: Verifying Checksum 18:13:30 e2be974225ed: Download complete 18:13:30 988bab9f4d93: Download complete 18:13:30 1469e6f7b9e6: Verifying Checksum 18:13:30 1469e6f7b9e6: Download complete 18:13:30 eaf3925da568: Verifying Checksum 18:13:30 eaf3925da568: Download complete 18:13:30 339a4e72a1f5: Verifying Checksum 18:13:30 339a4e72a1f5: Download complete 18:13:30 bde34c3a00c8: Verifying Checksum 18:13:30 bde34c3a00c8: Download complete 18:13:30 b352a97aabf1: Verifying Checksum 18:13:30 b352a97aabf1: Download complete 18:13:30 4872d77fe225: Verifying Checksum 18:13:30 4872d77fe225: Download complete 18:13:30 5851b861e8e6: Download complete 18:13:30 b85a868b505f: Verifying Checksum 18:13:30 b85a868b505f: Download complete 18:13:30 bab4dde63d76: Verifying Checksum 18:13:30 bab4dde63d76: Download complete 18:13:31 b85a868b505f: Pull complete 18:13:31 e2be974225ed: Pull complete 18:13:32 339a4e72a1f5: Pull complete 18:13:32 988bab9f4d93: Pull complete 18:13:32 1469e6f7b9e6: Pull complete 18:13:32 eaf3925da568: Pull complete 18:13:34 bab4dde63d76: Pull complete 18:13:34 bde34c3a00c8: Pull complete 18:13:34 b352a97aabf1: Pull complete 18:13:34 4872d77fe225: Pull complete 18:13:34 5851b861e8e6: Pull complete 18:13:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:35 prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container 18:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@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-devops/py-git-semver:0.1.4 cat 18:13:36 $ docker top 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 -eo pid,comm 18:13:36 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). 18:13:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:36 [ssh-agent] Looking for ssh-agent implementation... 18:13:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:36 $ docker exec 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent 18:13:36 SSH_AUTH_SOCK=/tmp/ssh-KymLyv3fkXBC/agent.32 18:13:36 SSH_AGENT_PID=38 18:13:36 Running ssh-add (command line suppressed) 18:13:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_1440948255388077825.key (/w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_1440948255388077825.key) 18:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:37 + git tag --points-at HEAD [Pipeline] } 18:13:37 $ docker exec --env ******** --env ******** 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent -k 18:13:37 unset SSH_AUTH_SOCK; 18:13:37 unset SSH_AGENT_PID; 18:13:37 echo Agent pid 38 killed; 18:13:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:13:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:37 [ssh-agent] Looking for ssh-agent implementation... 18:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:37 $ docker exec 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent 18:13:37 SSH_AUTH_SOCK=/tmp/ssh-zwiYwzk0xH8i/agent.70 18:13:37 SSH_AGENT_PID=76 18:13:37 Running ssh-add (command line suppressed) 18:13:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_6174281084445425048.key (/w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_6174281084445425048.key) 18:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:38 + git semver init 18:13:38 2022-10-22 18:13:38,488 [run_init] DEBUG init version:0.0.0 force:False 18:13:38 2022-10-22 18:13:38,488 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-315/.semver 18:13:38 2022-10-22 18:13:38,489 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-315/.semver 18:13:38 2022-10-22 18:13:38,489 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-315/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-315, universal_newlines=False, shell=None, istream=None) 18:13:39 2022-10-22 18:13:39,595 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-315/.git/info/exclude 18:13:39 2022-10-22 18:13:39,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 with force:False 18:13:39 2022-10-22 18:13:39,596 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 18:13:39 2022-10-22 18:13:39,600 [execute] INFO git cat-file --batch-check 18:13:39 2022-10-22 18:13:39,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 18:13:39 2022-10-22 18:13:39,605 [execute] INFO git cat-file --batch 18:13:39 2022-10-22 18:13:39,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) 18:13:39 2022-10-22 18:13:39,611 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 18:13:39 0.0.0 [Pipeline] } 18:13:39 $ docker exec --env ******** --env ******** 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent -k 18:13:40 unset SSH_AUTH_SOCK; 18:13:40 unset SSH_AGENT_PID; 18:13:40 echo Agent pid 76 killed; 18:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:13:40 + git semver [Pipeline] } 18:13:40 $ docker stop --time=1 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 18:13:42 $ docker rm -f 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 [Pipeline] // withDockerContainer [Pipeline] sh 18:13:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:13:42 Stashed 1 file(s) [Pipeline] echo 18:13:42 [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 18:13:43 provisioning config files... 18:13:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config14868708741104976949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:43 ---> docker-login.sh 18:13:43 nexus3.edgexfoundry.org:10001 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10002 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10003 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10004 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 docker.io 18:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:44 Configure a credential helper to remove this warning. See 18:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:44 18:13:44 Login Succeeded 18:13:44 ---> docker-login.sh ends [Pipeline] } 18:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:13:44 ========================================================= 18:13:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:13:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:13:45 Sending build context to Docker daemon 23.23MB 18:13:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:13:45 Step 2/13 : FROM ${BASE} AS builder 18:13:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:13:45 213ec9aee27d: Pulling fs layer 18:13:45 4583459ba037: Pulling fs layer 18:13:45 93c1e223e6f2: Pulling fs layer 18:13:45 53926ce57604: Pulling fs layer 18:13:45 21b2b0c7a3f4: Pulling fs layer 18:13:45 30f14e443154: Pulling fs layer 18:13:45 801331c1e519: Pulling fs layer 18:13:45 99cc6dd402b0: Pulling fs layer 18:13:45 7d9ed39f4882: Pulling fs layer 18:13:45 30f14e443154: Waiting 18:13:45 99cc6dd402b0: Waiting 18:13:45 801331c1e519: Waiting 18:13:45 7d9ed39f4882: Waiting 18:13:45 21b2b0c7a3f4: Waiting 18:13:45 53926ce57604: Waiting 18:13:45 93c1e223e6f2: Verifying Checksum 18:13:45 93c1e223e6f2: Download complete 18:13:45 4583459ba037: Download complete 18:13:45 21b2b0c7a3f4: Verifying Checksum 18:13:45 30f14e443154: Download complete 18:13:45 213ec9aee27d: Verifying Checksum 18:13:45 213ec9aee27d: Download complete 18:13:45 801331c1e519: Verifying Checksum 18:13:45 801331c1e519: Download complete 18:13:45 213ec9aee27d: Pull complete 18:13:45 4583459ba037: Pull complete 18:13:45 93c1e223e6f2: Pull complete 18:13:45 7d9ed39f4882: Verifying Checksum 18:13:45 7d9ed39f4882: Download complete 18:13:45 99cc6dd402b0: Verifying Checksum 18:13:45 99cc6dd402b0: Download complete 18:13:46 53926ce57604: Verifying Checksum 18:13:46 53926ce57604: Download complete 18:13:50 53926ce57604: Pull complete 18:13:50 21b2b0c7a3f4: Pull complete 18:13:50 30f14e443154: Pull complete 18:13:50 801331c1e519: Pull complete 18:13:52 99cc6dd402b0: Pull complete 18:13:52 7d9ed39f4882: Pull complete 18:13:53 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:13:53 ---> 1dedd983c030 18:13:53 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:13:54 ---> Running in 10dbfc4816f5 18:13:54 Removing intermediate container 10dbfc4816f5 18:13:54 ---> d399a4ad0217 18:13:54 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:13:54 ---> Running in 2636af22339f 18:13:54 Removing intermediate container 2636af22339f 18:13:54 ---> c7ed352d8132 18:13:54 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:13:54 ---> Running in ae2647f3f384 18:13:55 Removing intermediate container ae2647f3f384 18:13:55 ---> 1d775dc81cfd 18:13:55 Step 6/13 : WORKDIR /device-virtual-go 18:13:55 ---> Running in 0898a6b8e489 18:13:55 Removing intermediate container 0898a6b8e489 18:13:55 ---> dbd6773c8e85 18:13:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:13:55 ---> Running in 333351f6570e 18:13:55 Removing intermediate container 333351f6570e 18:13:55 ---> 7e5119ce9aeb 18:13:55 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:55 ---> Running in 12c0b959fe4f 18:13:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:13:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:13:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:13:57 (2/4) Installing libedit (20210910.3.1-r0) 18:13:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:13:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:13:57 Executing busybox-1.35.0-r17.trigger 18:13:57 OK: 216 MiB in 55 packages 18:13:57 Removing intermediate container 12c0b959fe4f 18:13:57 ---> 20a9d5523973 18:13:57 Step 9/13 : COPY go.mod vendor* ./ 18:13:58 ---> aea9bc444a43 18:13:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:58 ---> Running in 3aafe8092757 18:13:58 Still waiting to schedule task 18:13:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8852’ 18:14:16 Removing intermediate container 3aafe8092757 18:14:16 ---> c8ae408f843d 18:14:16 Step 11/13 : COPY . . 18:14:16 ---> 19426f7c6e7b 18:14:16 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:14:16 ---> Running in 95747e10ad1e 18:14:16 Removing intermediate container 95747e10ad1e 18:14:16 ---> 74d0dd0b0ba2 18:14:16 Step 13/13 : RUN $MAKE 18:14:16 ---> Running in f928183e03fe 18:14:16 noop 18:14:16 Removing intermediate container f928183e03fe 18:14:16 ---> 92de26c7b435 18:14:16 Successfully built 92de26c7b435 18:14:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:16 + docker inspect -f . ci-base-image-x86_64 18:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:16 prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container 18:14:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:14:17 $ docker top 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:17 + go version 18:14:17 go version go1.18.7 linux/amd64 [Pipeline] } 18:14:17 $ docker stop --time=1 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 18:14:19 $ docker rm -f 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:19 + docker inspect -f . ci-base-image-x86_64 18:14:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:19 prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container 18:14:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:14:20 $ docker top 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:20 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-315 [Pipeline] fileExists [Pipeline] sh 18:14:20 + make test 18:14:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:14:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:14:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:14:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 18:14:38 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:14:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:14:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:14:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:14:41 ./bin/test-attribution-txt.sh [Pipeline] echo 18:14:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:14:41 $ docker stop --time=1 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af 18:14:43 $ docker rm -f 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af [Pipeline] // withDockerContainer [Pipeline] sh 18:14:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:14:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:14:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:14:44 + ls -al . 18:14:44 total 200 18:14:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:14 . 18:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:13 .. 18:14:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:14 .git 18:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 .github 18:14:44 -rw-rw-r-- 1 jenkins jenkins 337 Oct 22 18:13 .gitignore 18:14:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 18:13 .golangci.yml 18:14:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:13 .semver 18:14:44 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 22 18:13 Attribution.txt 18:14:44 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 22 18:13 CHANGELOG.md 18:14:44 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 22 18:13 Dockerfile 18:14:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:13 GOVERNANCE.md 18:14:44 -rw-rw-r-- 1 jenkins jenkins 660 Oct 22 18:13 Jenkinsfile 18:14:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:13 LICENSE 18:14:44 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 22 18:13 Makefile 18:14:44 -rw-rw-r-- 1 jenkins jenkins 623 Oct 22 18:13 OWNERS.md 18:14:44 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 22 18:13 README.md 18:14:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:13 VERSION 18:14:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:13 bin 18:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 cmd 18:14:44 -rw-r--r-- 1 jenkins jenkins 44128 Oct 22 18:14 coverage.out 18:14:44 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 22 18:13 go.mod 18:14:44 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 22 18:13 go.sum 18:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 internal 18:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:13 snap 18:14:44 -rw-rw-r-- 1 jenkins jenkins 235 Oct 22 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:45 + 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=08ba88bbb8593175a348f49bf109086ae6b5bed8 --label arch=amd64 --label version=0.0.0 . 18:14:45 Sending build context to Docker daemon 23.28MB 18:14:45 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:14:45 Step 2/27 : FROM ${BASE} AS builder 18:14:45 ---> 92de26c7b435 18:14:45 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:14:45 ---> Running in 63f1288780ff 18:14:45 Removing intermediate container 63f1288780ff 18:14:45 ---> f0419e6e4650 18:14:45 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 18:14:45 ---> Running in 921f2c57cca9 18:14:45 Removing intermediate container 921f2c57cca9 18:14:45 ---> dc0ad7eb75e9 18:14:45 Step 5/27 : ARG ADD_BUILD_TAGS="" 18:14:45 ---> Running in 9863c26521b6 18:14:45 Removing intermediate container 9863c26521b6 18:14:45 ---> 7f25a6ff7725 18:14:45 Step 6/27 : WORKDIR /device-virtual-go 18:14:45 ---> Running in de178c38a3bc 18:14:45 Removing intermediate container de178c38a3bc 18:14:45 ---> 59c2d6154302 18:14:45 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:45 ---> Running in ae2b1b6e192e 18:14:46 Removing intermediate container ae2b1b6e192e 18:14:46 ---> f5c09c181839 18:14:46 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:46 ---> Running in 9b4b42054d04 18:14:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:14:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:14:47 OK: 216 MiB in 55 packages 18:14:47 Removing intermediate container 9b4b42054d04 18:14:47 ---> 549ff8f5b84b 18:14:47 Step 9/27 : COPY go.mod vendor* ./ 18:14:48 ---> b6cb56d25f1c 18:14:48 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:48 ---> Running in 81927bcf2ec2 18:14:49 Removing intermediate container 81927bcf2ec2 18:14:49 ---> 3c07bb48c505 18:14:49 Step 11/27 : COPY . . 18:14:49 ---> 758c19342968 18:14:49 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:14:49 ---> Running in c7d133bbd993 18:14:49 Removing intermediate container c7d133bbd993 18:14:49 ---> 970bf26734d4 18:14:49 Step 13/27 : RUN $MAKE 18:14:49 ---> Running in fd84bad7e2d5 18:14:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:15:11 Removing intermediate container fd84bad7e2d5 18:15:11 ---> 29b9156d5826 18:15:11 Step 14/27 : FROM alpine:3.16 18:15:11 3.16: Pulling from library/alpine 18:15:11 213ec9aee27d: Already exists 18:15:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:15:11 Status: Downloaded newer image for alpine:3.16 18:15:11 ---> 9c6f07244728 18:15:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:15:11 ---> Running in ffbe4dcb95d5 18:15:11 Removing intermediate container ffbe4dcb95d5 18:15:11 ---> eeca5a38a7da 18:15:11 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:15:11 ---> Running in 2b3c040bf575 18:15:11 Removing intermediate container 2b3c040bf575 18:15:11 ---> 20d7841b193f 18:15:11 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:15:11 ---> Running in 683b9c8aeffe 18:15:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:15:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:15:11 (1/6) Installing dumb-init (1.2.5-r1) 18:15:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:15:12 (3/6) Installing libsodium (1.0.18-r0) 18:15:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:15:12 (5/6) Installing libzmq (4.3.4-r0) 18:15:12 (6/6) Installing zeromq (4.3.4-r0) 18:15:12 Executing busybox-1.35.0-r17.trigger 18:15:12 OK: 8 MiB in 20 packages 18:15:12 Removing intermediate container 683b9c8aeffe 18:15:12 ---> d07a36b6dde7 18:15:12 Step 18/27 : WORKDIR / 18:15:12 ---> Running in 7f9e5bf5a54f 18:15:12 Removing intermediate container 7f9e5bf5a54f 18:15:12 ---> 7d299306b0b5 18:15:12 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:15:13 ---> e34a8bb5c298 18:15:13 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 18:15:13 ---> 329342d2caf7 18:15:13 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 18:15:13 ---> b6485c1ff00d 18:15:13 Step 22/27 : EXPOSE 59900 18:15:14 ---> Running in 67ede30c816e 18:15:14 Removing intermediate container 67ede30c816e 18:15:14 ---> 87f944a97e7e 18:15:14 Step 23/27 : ENTRYPOINT ["/device-virtual"] 18:15:14 ---> Running in e5b13a00e81c 18:15:14 Removing intermediate container e5b13a00e81c 18:15:14 ---> dca48d05a848 18:15:14 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:15:14 ---> Running in 1878794547c9 18:15:14 Removing intermediate container 1878794547c9 18:15:14 ---> 4c1586e12ce2 18:15:14 Step 25/27 : LABEL arch=amd64 18:15:14 ---> Running in d7d369f28950 18:15:14 Removing intermediate container d7d369f28950 18:15:14 ---> afd0af6dff60 18:15:14 Step 26/27 : LABEL git_sha=08ba88bbb8593175a348f49bf109086ae6b5bed8 18:15:14 ---> Running in bf029984abda 18:15:14 Removing intermediate container bf029984abda 18:15:14 ---> c674f95ded77 18:15:14 Step 27/27 : LABEL version=0.0.0 18:15:14 ---> Running in f0ecb6107f98 18:15:14 Removing intermediate container f0ecb6107f98 18:15:14 ---> f5e44c6512ae 18:15:14 [Warning] One or more build-args [ARCH] were not consumed 18:15:14 Successfully built f5e44c6512ae 18:15:14 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 18:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:15 18:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:15 latest: Pulling from edgex-lftools-log-publisher 18:15:15 5eb5b503b376: Pulling fs layer 18:15:15 5c69ac0246d0: Pulling fs layer 18:15:15 ec43610c2a17: Pulling fs layer 18:15:15 3a2ae6a8a46f: Pulling fs layer 18:15:15 33b1e0a273af: Pulling fs layer 18:15:15 5d3b04190fa2: Pulling fs layer 18:15:15 2f39f015ded8: Pulling fs layer 18:15:15 3a2ae6a8a46f: Waiting 18:15:15 33b1e0a273af: Waiting 18:15:15 5d3b04190fa2: Waiting 18:15:15 2f39f015ded8: Waiting 18:15:15 5c69ac0246d0: Download complete 18:15:15 3a2ae6a8a46f: Verifying Checksum 18:15:15 3a2ae6a8a46f: Download complete 18:15:15 33b1e0a273af: Verifying Checksum 18:15:15 33b1e0a273af: Download complete 18:15:16 5d3b04190fa2: Verifying Checksum 18:15:16 5d3b04190fa2: Download complete 18:15:16 ec43610c2a17: Download complete 18:15:16 5eb5b503b376: Verifying Checksum 18:15:16 5eb5b503b376: Download complete 18:15:16 2f39f015ded8: Verifying Checksum 18:15:16 2f39f015ded8: Download complete 18:15:17 5eb5b503b376: Pull complete 18:15:17 5c69ac0246d0: Pull complete 18:15:17 ec43610c2a17: Pull complete 18:15:17 3a2ae6a8a46f: Pull complete 18:15:17 33b1e0a273af: Pull complete 18:15:17 5d3b04190fa2: Pull complete 18:15:22 2f39f015ded8: Pull complete 18:15:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:22 prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container 18:15:22 $ 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-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:15:23 $ docker top 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:24 ---> job-cost.sh 18:15:24 lf-activate-venv: SKIPPING 18:15:24 INFO: No Stack... 18:15:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:15:24 INFO: Archiving Costs [Pipeline] sh 18:15:25 + cat /w/workspace/foundry_device-virtual-go_PR-315/archives/cost.csv 18:15:25 + cut -d, -f6 [Pipeline] lock 18:15:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] 18:15:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] did not exist. Created. 18:15:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:15:25 + echo total: 0.2199999988079071 [Pipeline] stash 18:15:25 Stashed 1 file(s) [Pipeline] } 18:15:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:15:25 $ docker stop --time=1 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 18:15:27 $ docker rm -f 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:16:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8856 in /w/workspace/foundry_device-virtual-go_PR-315 [Pipeline] { [Pipeline] ws 18:16:50 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:16:50 The recommended git tool is: git 18:16:55 using credential edgex-jenkins-ssh 18:16:55 Cloning the remote Git repository 18:16:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:16:56 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:16:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:16:56 > git --version # timeout=10 18:16:56 > git --version # 'git version 2.25.1' 18:16:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:56 Verifying host key using known hosts file 18:16:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:16:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:16:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:00 Merging remotes/origin/main commit 4fde29d6fb1a32cee08b75cf09049e5481e19570 into PR head commit 08ba88bbb8593175a348f49bf109086ae6b5bed8 18:17:00 Merge succeeded, producing 08ba88bbb8593175a348f49bf109086ae6b5bed8 18:17:00 Checking out Revision 08ba88bbb8593175a348f49bf109086ae6b5bed8 (PR-315) 18:16:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:16:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:16:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:59 Verifying host key using known hosts file 18:16:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:16:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:17:00 > git config core.sparsecheckout # timeout=10 18:17:00 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 18:17:00 > git remote # timeout=10 18:17:00 > git config --get remote.origin.url # timeout=10 18:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:00 Verifying host key using known hosts file 18:17:00 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:17:00 > git merge 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 18:17:00 > git rev-parse HEAD^{commit} # timeout=10 18:17:00 > git config core.sparsecheckout # timeout=10 18:17:00 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 18:17:04 Commit message: "build: Updated to latest Device SDK" 18:17:04 > git --version # timeout=10 18:17:04 > git --version # 'git version 2.25.1' 18:17:04 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:17:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:05 Dload Upload Total Spent Left Speed 18:17:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 18:17:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:17:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:17:06 + sudo tee /etc/docker/daemon.new 18:17:06 { 18:17:06 "registry-mirrors": [ 18:17:06 "https://nexus3.edgexfoundry.org:10001" 18:17:06 ], 18:17:06 "bip": "10.250.0.254/24", 18:17:06 "hosts": [ 18:17:06 "tcp://0.0.0.0:5555", 18:17:06 "unix:///var/run/docker.sock" 18:17:06 ], 18:17:06 "mtu": 1458, 18:17:06 "selinux-enabled": true, 18:17:06 "seccomp-profile": "/etc/docker/seccomp.json" 18:17:06 } [Pipeline] sh 18:17:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:17:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:25 provisioning config files... 18:17:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12962450873051109411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:25 ---> docker-login.sh 18:17:25 nexus3.edgexfoundry.org:10001 18:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:26 Configure a credential helper to remove this warning. See 18:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:26 18:17:26 Login Succeeded 18:17:26 nexus3.edgexfoundry.org:10002 18:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:26 Configure a credential helper to remove this warning. See 18:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:26 18:17:26 Login Succeeded 18:17:26 nexus3.edgexfoundry.org:10003 18:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:27 Configure a credential helper to remove this warning. See 18:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:27 18:17:27 Login Succeeded 18:17:27 nexus3.edgexfoundry.org:10004 18:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:27 Configure a credential helper to remove this warning. See 18:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:27 18:17:27 Login Succeeded 18:17:27 docker.io 18:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:28 Configure a credential helper to remove this warning. See 18:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:28 18:17:28 Login Succeeded 18:17:28 ---> docker-login.sh ends [Pipeline] } 18:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:28 ========================================================= 18:17:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:17:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:17:29 Sending build context to Docker daemon 11.77MB 18:17:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:17:29 Step 2/13 : FROM ${BASE} AS builder 18:17:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:17:29 9b18e9b68314: Pulling fs layer 18:17:29 d32db5db7311: Pulling fs layer 18:17:29 d0c4b47475fc: Pulling fs layer 18:17:29 5831b945b038: Pulling fs layer 18:17:29 86bbec2aaacd: Pulling fs layer 18:17:29 e10730c5d714: Pulling fs layer 18:17:29 5dd5c2283517: Pulling fs layer 18:17:29 d5ac0230b979: Pulling fs layer 18:17:29 5831b945b038: Waiting 18:17:29 86bbec2aaacd: Waiting 18:17:29 e10730c5d714: Waiting 18:17:29 5dd5c2283517: Waiting 18:17:29 d5ac0230b979: Waiting 18:17:29 d0c4b47475fc: Verifying Checksum 18:17:29 d0c4b47475fc: Download complete 18:17:29 d32db5db7311: Download complete 18:17:29 86bbec2aaacd: Verifying Checksum 18:17:29 86bbec2aaacd: Download complete 18:17:29 e10730c5d714: Verifying Checksum 18:17:29 e10730c5d714: Download complete 18:17:29 9b18e9b68314: Download complete 18:17:30 9b18e9b68314: Pull complete 18:17:31 d5ac0230b979: Verifying Checksum 18:17:31 d5ac0230b979: Download complete 18:17:31 d32db5db7311: Pull complete 18:17:31 d0c4b47475fc: Pull complete 18:17:32 5dd5c2283517: Verifying Checksum 18:17:32 5dd5c2283517: Download complete 18:17:32 5831b945b038: Download complete 18:17:45 5831b945b038: Pull complete 18:17:45 86bbec2aaacd: Pull complete 18:17:45 e10730c5d714: Pull complete 18:17:49 5dd5c2283517: Pull complete 18:17:50 d5ac0230b979: Pull complete 18:17:50 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:17:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:17:50 ---> 59b3b1a385d4 18:17:50 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:17:52 ---> Running in 7aac95a1e348 18:17:53 Removing intermediate container 7aac95a1e348 18:17:53 ---> 22f6c20c480d 18:17:53 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:17:53 ---> Running in 2ae48c816f9b 18:17:53 Removing intermediate container 2ae48c816f9b 18:17:53 ---> 6eb65cc49a1d 18:17:53 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:17:53 ---> Running in 010a266f245d 18:17:54 Removing intermediate container 010a266f245d 18:17:54 ---> 858d2d2e6113 18:17:54 Step 6/13 : WORKDIR /device-virtual-go 18:17:54 ---> Running in 7204f39472f1 18:17:54 Removing intermediate container 7204f39472f1 18:17:54 ---> 438fd760922d 18:17:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:17:54 ---> Running in 10a70760b23d 18:17:56 Removing intermediate container 10a70760b23d 18:17:56 ---> 534e691e6109 18:17:56 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:17:56 ---> Running in 9f378c93152e 18:17:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:17:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:17:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:17:59 (2/4) Installing libedit (20210910.3.1-r0) 18:17:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:17:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:17:59 Executing busybox-1.35.0-r17.trigger 18:17:59 OK: 226 MiB in 55 packages 18:18:00 Removing intermediate container 9f378c93152e 18:18:00 ---> 54af5a4d32ac 18:18:00 Step 9/13 : COPY go.mod vendor* ./ 18:18:01 ---> 2e059533ae01 18:18:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:01 ---> Running in ceb55bef687d 18:18:57 Removing intermediate container ceb55bef687d 18:18:57 ---> 355bb9c5d024 18:18:57 Step 11/13 : COPY . . 18:18:57 ---> 22351e42dc46 18:18:57 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:57 ---> Running in f4e7f70913da 18:18:57 Removing intermediate container f4e7f70913da 18:18:57 ---> f31c76e5a9f0 18:18:57 Step 13/13 : RUN $MAKE 18:18:57 ---> Running in e021d930cec6 18:18:57 noop 18:18:57 Removing intermediate container e021d930cec6 18:18:57 ---> c57145e2015b 18:18:57 Successfully built c57145e2015b 18:18:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:58 + docker inspect -f . ci-base-image-arm64 18:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:58 prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container 18:18:58 $ 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 18:18:59 $ docker top 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:00 + go version 18:19:00 go version go1.18.7 linux/arm64 [Pipeline] } 18:19:00 $ docker stop --time=1 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a 18:19:04 $ docker rm -f 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:04 + docker inspect -f . ci-base-image-arm64 18:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:05 prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container 18:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 18:19:06 $ docker top 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:07 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 18:19:07 + make test 18:19:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:19:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:20:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:20:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.141s coverage: 65.7% of statements 18:20:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:20:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:21:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:01 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:01 $ docker stop --time=1 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 18:21:03 $ docker rm -f 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:04 Warning: overwriting stash ‘coverage-report’ 18:21:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:06 + ls -al . 18:21:06 total 196 18:21:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:19 . 18:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 .. 18:21:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:17 .git 18:21:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 .github 18:21:06 -rw-rw-r-- 1 jenkins jenkins 337 Oct 22 18:17 .gitignore 18:21:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 18:17 .golangci.yml 18:21:06 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 22 18:17 Attribution.txt 18:21:06 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 22 18:17 CHANGELOG.md 18:21:06 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 22 18:17 Dockerfile 18:21:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:17 GOVERNANCE.md 18:21:06 -rw-rw-r-- 1 jenkins jenkins 660 Oct 22 18:17 Jenkinsfile 18:21:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:17 LICENSE 18:21:06 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 22 18:17 Makefile 18:21:06 -rw-rw-r-- 1 jenkins jenkins 623 Oct 22 18:17 OWNERS.md 18:21:06 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 22 18:17 README.md 18:21:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:13 VERSION 18:21:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:17 bin 18:21:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 cmd 18:21:06 -rw-r--r-- 1 jenkins jenkins 44128 Oct 22 18:20 coverage.out 18:21:06 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 22 18:17 go.mod 18:21:06 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 22 18:17 go.sum 18:21:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 internal 18:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:17 snap 18:21:06 -rw-rw-r-- 1 jenkins jenkins 235 Oct 22 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:06 + 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=08ba88bbb8593175a348f49bf109086ae6b5bed8 --label arch=arm64 --label version=0.0.0 . 18:21:06 Sending build context to Docker daemon 11.82MB 18:21:07 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:21:07 Step 2/27 : FROM ${BASE} AS builder 18:21:07 ---> c57145e2015b 18:21:07 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:21:07 ---> Running in 78b5c888987d 18:21:07 Removing intermediate container 78b5c888987d 18:21:07 ---> 89dc73c87d8d 18:21:07 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 18:21:07 ---> Running in 05e5852b5971 18:21:07 Removing intermediate container 05e5852b5971 18:21:07 ---> 9eb6a9d56714 18:21:07 Step 5/27 : ARG ADD_BUILD_TAGS="" 18:21:07 ---> Running in eac45005677a 18:21:08 Removing intermediate container eac45005677a 18:21:08 ---> de91e560be30 18:21:08 Step 6/27 : WORKDIR /device-virtual-go 18:21:08 ---> Running in a505ae759baa 18:21:08 Removing intermediate container a505ae759baa 18:21:08 ---> 7e14651411ce 18:21:08 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:09 ---> Running in e4bdc52c0653 18:21:10 Removing intermediate container e4bdc52c0653 18:21:10 ---> 92e07c814abc 18:21:10 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:10 ---> Running in 41dc6976917b 18:21:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:21:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:21:13 OK: 226 MiB in 55 packages 18:21:14 Removing intermediate container 41dc6976917b 18:21:14 ---> 4e8719203a04 18:21:14 Step 9/27 : COPY go.mod vendor* ./ 18:21:15 ---> aa416795426a 18:21:15 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:15 ---> Running in e91dfb9143b5 18:21:18 Removing intermediate container e91dfb9143b5 18:21:18 ---> bd349f5b43e0 18:21:18 Step 11/27 : COPY . . 18:21:19 ---> d0f1e7beac68 18:21:19 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:19 ---> Running in 2a549dc5596b 18:21:19 Removing intermediate container 2a549dc5596b 18:21:19 ---> bd0f67c1197c 18:21:19 Step 13/27 : RUN $MAKE 18:21:19 ---> Running in 3c558f69386b 18:21:20 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:23:57 Removing intermediate container 3c558f69386b 18:23:57 ---> eaa7234b393a 18:23:57 Step 14/27 : FROM alpine:3.16 18:23:57 3.16: Pulling from library/alpine 18:23:57 9b18e9b68314: Already exists 18:23:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:23:57 Status: Downloaded newer image for alpine:3.16 18:23:57 ---> a6215f271958 18:23:57 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:23:57 ---> Running in 6807b8da027f 18:23:57 Removing intermediate container 6807b8da027f 18:23:57 ---> e5c9c7c8c5c6 18:23:57 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:57 ---> Running in 1e6be2397523 18:23:58 Removing intermediate container 1e6be2397523 18:23:58 ---> b860b02d6771 18:23:58 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:23:58 ---> Running in 96cf00894cbe 18:23:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:01 (1/6) Installing dumb-init (1.2.5-r1) 18:24:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:24:01 (3/6) Installing libsodium (1.0.18-r0) 18:24:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:24:02 (5/6) Installing libzmq (4.3.4-r0) 18:24:02 (6/6) Installing zeromq (4.3.4-r0) 18:24:02 Executing busybox-1.35.0-r17.trigger 18:24:02 OK: 8 MiB in 20 packages 18:24:03 Removing intermediate container 96cf00894cbe 18:24:03 ---> 11fe0584f8bc 18:24:03 Step 18/27 : WORKDIR / 18:24:03 ---> Running in 0362b285d7bb 18:24:03 Removing intermediate container 0362b285d7bb 18:24:03 ---> 93f372405472 18:24:03 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:24:04 ---> ca85db822268 18:24:04 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 18:24:04 ---> afcd1628fe72 18:24:04 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 18:24:06 ---> 4fc619982cb3 18:24:06 Step 22/27 : EXPOSE 59900 18:24:06 ---> Running in 383c40d3f31f 18:24:06 Removing intermediate container 383c40d3f31f 18:24:06 ---> 4aef8b94a855 18:24:06 Step 23/27 : ENTRYPOINT ["/device-virtual"] 18:24:06 ---> Running in 39de19918114 18:24:06 Removing intermediate container 39de19918114 18:24:06 ---> 40b1328963ea 18:24:06 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:24:07 ---> Running in f1d22e6c3246 18:24:07 Removing intermediate container f1d22e6c3246 18:24:07 ---> 431b926895bb 18:24:07 Step 25/27 : LABEL arch=arm64 18:24:07 ---> Running in f85f1b5f4731 18:24:07 Removing intermediate container f85f1b5f4731 18:24:07 ---> 39e971be0aff 18:24:07 Step 26/27 : LABEL git_sha=08ba88bbb8593175a348f49bf109086ae6b5bed8 18:24:07 ---> Running in 41af03ec70a0 18:24:07 Removing intermediate container 41af03ec70a0 18:24:07 ---> fea6bb4586b4 18:24:07 Step 27/27 : LABEL version=0.0.0 18:24:07 ---> Running in 7c09b398bb2b 18:24:08 Removing intermediate container 7c09b398bb2b 18:24:08 ---> a3511950e00c 18:24:08 [Warning] One or more build-args [ARCH] were not consumed 18:24:08 Successfully built a3511950e00c 18:24:08 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 18:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:09 18:24:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:09 arm64: Pulling from edgex-lftools-log-publisher 18:24:09 8998bd30e6a1: Pulling fs layer 18:24:09 04944245beec: Pulling fs layer 18:24:09 699f458cf7ca: Pulling fs layer 18:24:09 765212b225bb: Pulling fs layer 18:24:09 f23df028b6ca: Pulling fs layer 18:24:09 d65c8cfc05b1: Pulling fs layer 18:24:09 2437ff75d9bd: Pulling fs layer 18:24:09 765212b225bb: Waiting 18:24:09 f23df028b6ca: Waiting 18:24:09 d65c8cfc05b1: Waiting 18:24:09 2437ff75d9bd: Waiting 18:24:09 04944245beec: Verifying Checksum 18:24:09 04944245beec: Download complete 18:24:09 765212b225bb: Verifying Checksum 18:24:09 765212b225bb: Download complete 18:24:09 f23df028b6ca: Verifying Checksum 18:24:09 f23df028b6ca: Download complete 18:24:09 d65c8cfc05b1: Verifying Checksum 18:24:09 d65c8cfc05b1: Download complete 18:24:10 699f458cf7ca: Verifying Checksum 18:24:10 699f458cf7ca: Download complete 18:24:10 8998bd30e6a1: Verifying Checksum 18:24:10 8998bd30e6a1: Download complete 18:24:13 2437ff75d9bd: Verifying Checksum 18:24:13 2437ff75d9bd: Download complete 18:24:14 8998bd30e6a1: Pull complete 18:24:15 04944245beec: Pull complete 18:24:16 699f458cf7ca: Pull complete 18:24:16 765212b225bb: Pull complete 18:24:17 f23df028b6ca: Pull complete 18:24:17 d65c8cfc05b1: Pull complete 18:24:32 2437ff75d9bd: Pull complete 18:24:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:24:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:32 prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container 18:24:33 $ 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 18:24:35 $ docker top c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:36 ---> job-cost.sh 18:24:36 lf-activate-venv: SKIPPING 18:24:36 INFO: No Stack... 18:24:36 INFO: Retrieving Pricing Info for: v3-standard-4 18:24:37 INFO: Archiving Costs [Pipeline] sh 18:24:38 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 18:24:38 + cut -d, -f6 [Pipeline] lock 18:24:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] 18:24:38 Resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] did not exist. Created. 18:24:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:39 /w/workspace/device-virtual-go/1@tmp/durable-105931a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:24:39 + echo total: 0.10999999940395355 [Pipeline] stash 18:24:39 Warning: overwriting stash ‘stack-cost’ 18:24:39 Stashed 1 file(s) [Pipeline] } 18:24:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:39 $ docker stop --time=1 c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 18:24:41 $ docker rm -f c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 [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 18:24:42 provisioning config files... 18:24:42 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config4275992751086429558tmp [Pipeline] { [Pipeline] sh 18:24:42 + set +x 18:24:42 + + bash -s -- 18:24:42 curl -s https://codecov.io/bash 18:24:42 18:24:42 _____ _ 18:24:42 / ____| | | 18:24:42 | | ___ __| | ___ ___ _____ __ 18:24:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:24:42 | |___| (_) | (_| | __/ (_| (_) \ V / 18:24:42 \_____\___/ \__,_|\___|\___\___/ \_/ 18:24:42 Bash-1.0.6 18:24:42 18:24:42 18:24:42 ==> git version 2.25.1 found 18:24:42 ==> 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 18:24:42 Release-Date: 2020-01-08 18:24:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:24:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:24:42 ==> Jenkins CI detected. 18:24:42 current dir:  /w/workspace/foundry_device-virtual-go_PR-315 18:24:42 project root: . 18:24:42 --> token set from env 18:24:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:24:42 ==> Running gcov in . (disable via -X gcov) 18:24:42 ==> Python coveragepy not found 18:24:42 ==> Searching for coverage reports in: 18:24:42 + . 18:24:42 -> Found 1 reports 18:24:42 ==> Detecting git/mercurial file structure 18:24:42 ==> Reading reports 18:24:42 + ./coverage.out bytes=44128 18:24:42 ==> Appending adjustments 18:24:42 https://docs.codecov.io/docs/fixing-reports 18:24:43 + Found adjustments 18:24:43 ==> Gzipping contents 18:24:43 8.0K /tmp/codecov.fecZuB.gz 18:24:43 ==> Uploading reports 18:24:43 url: https://codecov.io 18:24:43 query: branch=PR-315&commit=08ba88bbb8593175a348f49bf109086ae6b5bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=315&job=&cmd_args= 18:24:43 -> Pinging Codecov 18:24: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-315&commit=08ba88bbb8593175a348f49bf109086ae6b5bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=315&job=&cmd_args= 18:24:43 -> Uploading to 18:24:43 https://storage.googleapis.com/codecov/v4/raw/2022-10-22/5E52B4B073DB2E39498172D8E973AA87/08ba88bbb8593175a348f49bf109086ae6b5bed8/3ebb0b6e-2a70-45cb-8478-4a7b108fa91e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221022%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221022T182443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d74a45ddcfaed17f2bc2b39c2fd99b8d82478a40232f3b0e4f7ba1834cd4810e 18:24:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:43 Dload Upload Total Spent Left Speed 18:24:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5464 0 0 100 5464 0 24392 --:--:-- --:--:-- --:--:-- 24392 18:24:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] } 18:24:43 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 18:24:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-315/archives ] 18:24:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-315/archives 18:24:45 total 16 18:24:45 drwxr-xr-x 3 root root 4096 Oct 22 18:15 . 18:24:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:15 .. 18:24:45 drwxr-xr-x 2 root root 4096 Oct 22 18:15 cost 18:24:45 -rw-r--r-- 1 root root 89 Oct 22 18:15 cost.csv 18:24:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-315/archives 18:24:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-315/archives 18:24:45 total 16 18:24:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:15 . 18:24:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:15 .. 18:24:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:15 cost 18:24:45 -rw-r--r-- 1 jenkins jenkins 89 Oct 22 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:24:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:24:46 ---> package-listing.sh 18:24:46 ++ facter osfamily 18:24:46 ++ tr '[:upper:]' '[:lower:]' 18:24:46 + OS_FAMILY=debian 18:24:46 + workspace=/w/workspace/foundry_device-virtual-go_PR-315 18:24:46 + START_PACKAGES=/tmp/packages_start.txt 18:24:46 + END_PACKAGES=/tmp/packages_end.txt 18:24:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:24:46 + PACKAGES=/tmp/packages_start.txt 18:24:46 + '[' /w/workspace/foundry_device-virtual-go_PR-315 ']' 18:24:46 + PACKAGES=/tmp/packages_end.txt 18:24:46 + case "${OS_FAMILY}" in 18:24:46 + dpkg -l 18:24:46 + grep '^ii' 18:24:46 + '[' -f /tmp/packages_start.txt ']' 18:24:46 + '[' -f /tmp/packages_end.txt ']' 18:24:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:24:46 + '[' /w/workspace/foundry_device-virtual-go_PR-315 ']' 18:24:46 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-315/archives/ 18:24:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-315/archives/ [Pipeline] echo 18:24:46 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-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:24:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:47 prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container 18:24:47 $ 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-315/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-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:24:48 $ docker top 6fa74e860d70688d1d65645ddb6050b853d79dc5659d2d22839a2e0abf588ea2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:48 + touch /tmp/pre-build-complete [Pipeline] sh 18:24:48 + mkdir -p /var/log/sysstat [Pipeline] sh 18:24:49 + ls /var/log/sa-host 18:24:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:49 provisioning config files... 18:24:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config17993078313074890401tmp [Pipeline] { [Pipeline] echo 18:24:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:24:49 ---> create-netrc.sh [Pipeline] } 18:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:24:50 ---> python-tools-install.sh [Pipeline] echo 18:24:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:24:50 ---> sudo-logs.sh 18:24:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:24:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:24:50 ---> job-cost.sh 18:24:50 lf-activate-venv: SKIPPING 18:24:50 DEBUG: total: 0.2199999988079071 18:24:50 INFO: Retrieving Stack Cost... 18:24:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:24:52 INFO: Archiving Costs [Pipeline] echo 18:24:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:24:52 ---> logs-deploy.sh 18:24:52 lf-activate-venv: SKIPPING 18:24:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-315/1 18:24:52 INFO: archiving workspace using pattern(s): 18:24:53 Archives upload complete. 18:24:53 INFO: archiving logs to Nexus 18:24:54 ---> uname -a: 18:24:54 Linux prd-ubuntu20-04-docker-8c-8g-8854 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:24:54 18:24:54