Pull request #354 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from deec1eaa4d3cef402d0d658292a0f698ca130a04+3f1e673898a8ef42faca444c63d377d06123e36f (b12d286f1e9d54855aa6af565cde3985bdb63dea) 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-ssh6676471605944364231.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11635774438208106395.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12976599627359231778.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10971322429264428748.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17786764680131784309.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-155 in /w/workspace/foundry_device-virtual-go_PR-354 [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-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit deec1eaa4d3cef402d0d658292a0f698ca130a04 Merge succeeded, producing 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 Checking out Revision 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f deec1eaa4d3cef402d0d658292a0f698ca130a04 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 # timeout=10 Commit message: "Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f5c92b910491bd8bfecaf76a75232d586b2e8683 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:33 ========================================================= 13:13:33 EdgeX Global Pipelines Version Info 13:13:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:13:34 ------------------- 13:13:34 stable info: 13:13:34 ------------------- 13:13:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:13:34 Message: update stable to v1.0.245 13:13:35 ------------------- 13:13:35 experimental info: 13:13:35 ------------------- 13:13:35 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:13:35 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c064cd [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:35 provisioning config files... 13:13:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config4593206220541273428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:36 ---> docker-login.sh 13:13:36 nexus3.edgexfoundry.org:10001 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10002 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10003 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10004 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 docker.io 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 ---> docker-login.sh ends [Pipeline] } 13:13:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:13:37 + git rev-list -1 --merges 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25~1..6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [Pipeline] echo 13:13:37 -----------> git rev-list -1 --merges 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25~1..6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 13:13:37 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [false] [Pipeline] sh 13:13:37 + git log --format=format:%s -1 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [Pipeline] echo 13:13:37 ========================================================= 13:13:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:13:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:37 + git log --format=format:%s -1 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [Pipeline] echo 13:13:37 [semverPrep] GIT_COMMIT: 6c064cdbd4f1ad1775cc3cf6b5068ae956858f25, Commit Message: Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD [Pipeline] echo 13:13:37 [semverPrep] This is not a build commit. [Pipeline] sh 13:13:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:13:38 + grep -v github /etc/ssh/ssh_known_hosts 13:13:38 + [ -e /tmp/ssh_known_hosts ] 13:13:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:13:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:13:38 + sudo tee -a /etc/ssh/ssh_known_hosts 13:13:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:38 13:13:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:38 0.1.4: Pulling from edgex-devops/py-git-semver 13:13:38 b85a868b505f: Pulling fs layer 13:13:38 e2be974225ed: Pulling fs layer 13:13:38 339a4e72a1f5: Pulling fs layer 13:13:38 988bab9f4d93: Pulling fs layer 13:13:38 1469e6f7b9e6: Pulling fs layer 13:13:38 eaf3925da568: Pulling fs layer 13:13:38 bab4dde63d76: Pulling fs layer 13:13:38 bde34c3a00c8: Pulling fs layer 13:13:38 b352a97aabf1: Pulling fs layer 13:13:38 4872d77fe225: Pulling fs layer 13:13:38 5851b861e8e6: Pulling fs layer 13:13:38 988bab9f4d93: Waiting 13:13:38 1469e6f7b9e6: Waiting 13:13:38 eaf3925da568: Waiting 13:13:38 bab4dde63d76: Waiting 13:13:38 bde34c3a00c8: Waiting 13:13:38 b352a97aabf1: Waiting 13:13:38 4872d77fe225: Waiting 13:13:38 5851b861e8e6: Waiting 13:13:38 e2be974225ed: Verifying Checksum 13:13:38 e2be974225ed: Download complete 13:13:38 988bab9f4d93: Verifying Checksum 13:13:38 988bab9f4d93: Download complete 13:13:39 1469e6f7b9e6: Verifying Checksum 13:13:39 1469e6f7b9e6: Download complete 13:13:39 339a4e72a1f5: Verifying Checksum 13:13:39 339a4e72a1f5: Download complete 13:13:39 eaf3925da568: Verifying Checksum 13:13:39 eaf3925da568: Download complete 13:13:39 bde34c3a00c8: Verifying Checksum 13:13:39 bde34c3a00c8: Download complete 13:13:39 b352a97aabf1: Verifying Checksum 13:13:39 b352a97aabf1: Download complete 13:13:39 4872d77fe225: Download complete 13:13:39 5851b861e8e6: Verifying Checksum 13:13:39 5851b861e8e6: Download complete 13:13:39 b85a868b505f: Verifying Checksum 13:13:39 b85a868b505f: Download complete 13:13:39 bab4dde63d76: Verifying Checksum 13:13:39 bab4dde63d76: Download complete 13:13:40 b85a868b505f: Pull complete 13:13:40 e2be974225ed: Pull complete 13:13:40 339a4e72a1f5: Pull complete 13:13:40 988bab9f4d93: Pull complete 13:13:41 1469e6f7b9e6: Pull complete 13:13:41 eaf3925da568: Pull complete 13:13:43 bab4dde63d76: Pull complete 13:13:43 bde34c3a00c8: Pull complete 13:13:43 b352a97aabf1: Pull complete 13:13:43 4872d77fe225: Pull complete 13:13:43 5851b861e8e6: Pull complete 13:13:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:43 prd-ubuntu20.04-docker-8c-8g-155 does not seem to be running inside a container 13:13:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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-devops/py-git-semver:0.1.4 cat 13:13:44 $ docker top 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 -eo pid,comm 13:13:44 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). 13:13:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:44 [ssh-agent] Looking for ssh-agent implementation... 13:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:44 $ docker exec 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 ssh-agent 13:13:45 SSH_AUTH_SOCK=/tmp/ssh-4aODO0ifh2oH/agent.32 13:13:45 SSH_AGENT_PID=38 13:13:45 Running ssh-add (command line suppressed) 13:13:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_15967323161943755418.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_15967323161943755418.key) 13:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:45 + git tag --points-at HEAD [Pipeline] } 13:13:45 $ docker exec --env ******** --env ******** 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 ssh-agent -k 13:13:45 unset SSH_AUTH_SOCK; 13:13:45 unset SSH_AGENT_PID; 13:13:45 echo Agent pid 38 killed; 13:13:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:45 [ssh-agent] Looking for ssh-agent implementation... 13:13:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:45 $ docker exec 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 ssh-agent 13:13:45 SSH_AUTH_SOCK=/tmp/ssh-H8nCShfJl90m/agent.70 13:13:45 SSH_AGENT_PID=76 13:13:45 Running ssh-add (command line suppressed) 13:13:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_13737027808886850197.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_13737027808886850197.key) 13:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:46 + git semver init 13:13:46 2023-03-14 13:13:46,421 [run_init] DEBUG init version:0.0.0 force:False 13:13:46 2023-03-14 13:13:46,422 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-354/.semver 13:13:46 2023-03-14 13:13:46,422 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-354/.semver 13:13:46 2023-03-14 13:13:46,423 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-354/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-354, universal_newlines=False, shell=None, istream=None) 13:13:47 2023-03-14 13:13:47,587 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-354/.git/info/exclude 13:13:47 2023-03-14 13:13:47,588 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 with force:False 13:13:47 2023-03-14 13:13:47,588 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 13:13:47 2023-03-14 13:13:47,592 [execute] INFO git cat-file --batch-check 13:13:47 2023-03-14 13:13:47,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 13:13:47 2023-03-14 13:13:47,598 [execute] INFO git cat-file --batch 13:13:47 2023-03-14 13:13:47,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 13:13:47 2023-03-14 13:13:47,603 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 13:13:47 0.0.0 [Pipeline] } 13:13:47 $ docker exec --env ******** --env ******** 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 ssh-agent -k 13:13:47 unset SSH_AUTH_SOCK; 13:13:47 unset SSH_AGENT_PID; 13:13:47 echo Agent pid 76 killed; 13:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:48 + git semver [Pipeline] } 13:13:48 $ docker stop --time=1 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 13:13:49 $ docker rm -f --volumes 3e4e760772a2fb8ce77488de1dda130c177a6e03bccbd8c963df01256c2eaba7 [Pipeline] // withDockerContainer [Pipeline] sh 13:13:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:50 Stashed 1 file(s) [Pipeline] echo 13:13:50 [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 13:13:50 provisioning config files... 13:13:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config12117587167443614226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:50 ---> docker-login.sh 13:13:50 nexus3.edgexfoundry.org:10001 13:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:50 Configure a credential helper to remove this warning. See 13:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:50 13:13:50 Login Succeeded 13:13:50 nexus3.edgexfoundry.org:10002 13:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:50 Configure a credential helper to remove this warning. See 13:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:50 13:13:50 Login Succeeded 13:13:50 nexus3.edgexfoundry.org:10003 13:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:51 Configure a credential helper to remove this warning. See 13:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:51 13:13:51 Login Succeeded 13:13:51 nexus3.edgexfoundry.org:10004 13:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:51 Configure a credential helper to remove this warning. See 13:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:51 13:13:51 Login Succeeded 13:13:51 docker.io 13:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:51 Configure a credential helper to remove this warning. See 13:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:51 13:13:51 Login Succeeded 13:13:51 ---> docker-login.sh ends [Pipeline] } 13:13:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:51 ========================================================= 13:13:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:13:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:13:51 Sending build context to Docker daemon 23.46MB 13:13:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:13:51 Step 2/12 : FROM ${BASE} AS builder 13:13:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:13:52 63b65145d645: Pulling fs layer 13:13:52 a2d21d5440eb: Pulling fs layer 13:13:52 935e6c44a52c: Pulling fs layer 13:13:52 94cc34f8dd06: Pulling fs layer 13:13:52 30dea6a524f1: Pulling fs layer 13:13:52 a2aff8979fd8: Pulling fs layer 13:13:52 6808be2612f2: Pulling fs layer 13:13:52 f25807f1079a: Pulling fs layer 13:13:52 30dea6a524f1: Waiting 13:13:52 a2aff8979fd8: Waiting 13:13:52 f25807f1079a: Waiting 13:13:52 94cc34f8dd06: Waiting 13:13:52 6808be2612f2: Waiting 13:13:52 a2d21d5440eb: Download complete 13:13:52 94cc34f8dd06: Verifying Checksum 13:13:52 94cc34f8dd06: Download complete 13:13:52 30dea6a524f1: Download complete 13:13:52 63b65145d645: Verifying Checksum 13:13:52 63b65145d645: Download complete 13:13:52 a2aff8979fd8: Verifying Checksum 13:13:52 a2aff8979fd8: Download complete 13:13:52 63b65145d645: Pull complete 13:13:52 a2d21d5440eb: Pull complete 13:13:52 f25807f1079a: Verifying Checksum 13:13:52 f25807f1079a: Download complete 13:13:52 935e6c44a52c: Verifying Checksum 13:13:52 935e6c44a52c: Download complete 13:13:52 6808be2612f2: Verifying Checksum 13:13:52 6808be2612f2: Download complete 13:13:56 935e6c44a52c: Pull complete 13:13:56 94cc34f8dd06: Pull complete 13:13:56 30dea6a524f1: Pull complete 13:13:56 a2aff8979fd8: Pull complete 13:13:58 6808be2612f2: Pull complete 13:13:59 f25807f1079a: Pull complete 13:13:59 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:13:59 ---> 3b553350e43f 13:13:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:14:00 ---> Running in e7b42716d019 13:14:00 Removing intermediate container e7b42716d019 13:14:00 ---> 561f48b0898f 13:14:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:14:00 ---> Running in d103ffac1766 13:14:00 Removing intermediate container d103ffac1766 13:14:00 ---> ad257a37d9a6 13:14:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:14:00 ---> Running in d0a70ffeee00 13:14:00 Removing intermediate container d0a70ffeee00 13:14:00 ---> 7b630342c1ff 13:14:00 Step 6/12 : WORKDIR /device-virtual-go 13:14:00 ---> Running in 78c0e49dcfab 13:14:01 Removing intermediate container 78c0e49dcfab 13:14:01 ---> 8e39d22a8d87 13:14:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:01 ---> Running in ff333ae98bec 13:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:14:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:14:01 (2/4) Installing libedit (20221030.3.1-r0) 13:14:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:14:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:14:01 Executing busybox-1.35.0-r29.trigger 13:14:01 OK: 269 MiB in 57 packages 13:14:01 Removing intermediate container ff333ae98bec 13:14:01 ---> d01221a8460f 13:14:01 Step 8/12 : COPY go.mod vendor* ./ 13:14:02 ---> 75419fb50412 13:14:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:02 ---> Running in 51952ad06284 13:14:05 Still waiting to schedule task 13:14:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:14:24 Removing intermediate container 51952ad06284 13:14:24 ---> a883a35b0e0c 13:14:24 Step 10/12 : COPY . . 13:14:24 ---> 9a1024520d17 13:14:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:24 ---> Running in 918fe8efb25a 13:14:24 Removing intermediate container 918fe8efb25a 13:14:24 ---> c67b8c17a104 13:14:24 Step 12/12 : RUN $MAKE 13:14:24 ---> Running in 3adcee02ad0a 13:14:24 noop 13:14:24 Removing intermediate container 3adcee02ad0a 13:14:24 ---> c4dd30719c07 13:14:24 Successfully built c4dd30719c07 13:14:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:24 + docker inspect -f . ci-base-image-x86_64 13:14:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:24 prd-ubuntu20.04-docker-8c-8g-155 does not seem to be running inside a container 13:14:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:14:24 $ docker top 05937dd8d8323ec44e94a8a4683bd0909c6930d95be00e3bf2da2c9d0d52ca70 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:25 + go version 13:14:25 go version go1.20.2 linux/amd64 [Pipeline] } 13:14:25 $ docker stop --time=1 05937dd8d8323ec44e94a8a4683bd0909c6930d95be00e3bf2da2c9d0d52ca70 13:14:26 $ docker rm -f --volumes 05937dd8d8323ec44e94a8a4683bd0909c6930d95be00e3bf2da2c9d0d52ca70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:26 + docker inspect -f . ci-base-image-x86_64 13:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:26 prd-ubuntu20.04-docker-8c-8g-155 does not seem to be running inside a container 13:14:26 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:14:27 $ docker top bad81e7ddf8495b07a0997f0a7c50f61bcead035d2efade74178b11af90b304d -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:27 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] fileExists [Pipeline] sh 13:14:28 + make test 13:14:28 go test ./... -coverprofile=coverage.out 13:14:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:14:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:14:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements 13:14:48 go vet ./... 13:14:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:14:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:14:51 ./bin/test-attribution-txt.sh [Pipeline] echo 13:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:14:52 $ docker stop --time=1 bad81e7ddf8495b07a0997f0a7c50f61bcead035d2efade74178b11af90b304d 13:14:54 $ docker rm -f --volumes bad81e7ddf8495b07a0997f0a7c50f61bcead035d2efade74178b11af90b304d [Pipeline] // withDockerContainer [Pipeline] sh 13:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:14:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:14:55 + ls -al . 13:14:55 total 192 13:14:55 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 13:14 . 13:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:13 .. 13:14:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 13:13 .git 13:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:13 .github 13:14:55 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 13:13 .gitignore 13:14:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 13:13 .golangci.yml 13:14:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 13:13 .semver 13:14:55 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 13:13 Attribution.txt 13:14:55 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 13:13 CHANGELOG.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 13:13 Dockerfile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 13:13 GOVERNANCE.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 13:13 Jenkinsfile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 13:13 LICENSE 13:14:55 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 13:13 Makefile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 13:13 OWNERS.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 13:13 README.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 13:13 VERSION 13:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 13:13 bin 13:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:13 cmd 13:14:55 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 13:14 coverage.out 13:14:55 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 13:13 go.mod 13:14:55 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 13:13 go.sum 13:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:13 internal 13:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:13 snap 13:14:55 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 13:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:55 + 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=6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 --label arch=amd64 --label version=0.0.0 . 13:14:55 Sending build context to Docker daemon 23.51MB 13:14:55 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:14:55 Step 2/25 : FROM ${BASE} AS builder 13:14:55 ---> c4dd30719c07 13:14:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:14:56 ---> Running in 43fa51436b5d 13:14:56 Removing intermediate container 43fa51436b5d 13:14:56 ---> 542cc942bc36 13:14:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:14:56 ---> Running in 2dda973bda80 13:14:56 Removing intermediate container 2dda973bda80 13:14:56 ---> f34b2b174c1f 13:14:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:14:56 ---> Running in 92fde452350c 13:14:56 Removing intermediate container 92fde452350c 13:14:56 ---> 90e819783ba1 13:14:56 Step 6/25 : WORKDIR /device-virtual-go 13:14:56 ---> Running in 2e89593f3ac6 13:14:56 Removing intermediate container 2e89593f3ac6 13:14:56 ---> 99d21c1d6b87 13:14:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:56 ---> Running in c4e8adaff225 13:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:14:57 OK: 269 MiB in 57 packages 13:14:57 Removing intermediate container c4e8adaff225 13:14:57 ---> 97c4dbbdd4f5 13:14:57 Step 8/25 : COPY go.mod vendor* ./ 13:14:57 ---> e83ff9c9cdad 13:14:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:57 ---> Running in 6e4b38929d4e 13:14:58 Removing intermediate container 6e4b38929d4e 13:14:58 ---> 908bad5dd793 13:14:58 Step 10/25 : COPY . . 13:14:58 ---> 1668ca8b21c0 13:14:58 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:58 ---> Running in 5b0a062fd5f6 13:14:58 Removing intermediate container 5b0a062fd5f6 13:14:58 ---> bcb8abbe7604 13:14:58 Step 12/25 : RUN $MAKE 13:14:58 ---> Running in a035ce684560 13:14:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:15:17 Removing intermediate container a035ce684560 13:15:17 ---> 15286d69bbe1 13:15:17 Step 13/25 : FROM alpine:3.16 13:15:17 3.16: Pulling from library/alpine 13:15:17 ef5531b6e74e: Pulling fs layer 13:15:17 ef5531b6e74e: Verifying Checksum 13:15:17 ef5531b6e74e: Download complete 13:15:17 ef5531b6e74e: Pull complete 13:15:17 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 13:15:17 Status: Downloaded newer image for alpine:3.16 13:15:17 ---> dfd21b5a31f5 13:15:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:15:17 ---> Running in 5780930a869b 13:15:17 Removing intermediate container 5780930a869b 13:15:17 ---> 05eee2424202 13:15:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:15:17 ---> Running in 1af739aeb71a 13:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:15:18 (1/1) Installing dumb-init (1.2.5-r1) 13:15:18 Executing busybox-1.35.0-r17.trigger 13:15:18 OK: 6 MiB in 15 packages 13:15:18 Removing intermediate container 1af739aeb71a 13:15:18 ---> b7e5d319c665 13:15:18 Step 16/25 : WORKDIR / 13:15:18 ---> Running in 12a1338a3916 13:15:18 Removing intermediate container 12a1338a3916 13:15:18 ---> 73b42e56cc8f 13:15:18 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:15:18 ---> 5fb73747a262 13:15:18 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:15:18 ---> 3a57e5fa6147 13:15:18 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:15:19 ---> b6d9dadba069 13:15:19 Step 20/25 : EXPOSE 59900 13:15:19 ---> Running in 40bc721913c4 13:15:19 Removing intermediate container 40bc721913c4 13:15:19 ---> 08fe93cadbaa 13:15:19 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:15:19 ---> Running in 9ab16bc806e2 13:15:19 Removing intermediate container 9ab16bc806e2 13:15:19 ---> e2b008f091e4 13:15:19 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:15:19 ---> Running in d8b3b0446f9a 13:15:19 Removing intermediate container d8b3b0446f9a 13:15:19 ---> 8e497f9419c6 13:15:19 Step 23/25 : LABEL arch=amd64 13:15:19 ---> Running in a571fdfe9492 13:15:19 Removing intermediate container a571fdfe9492 13:15:19 ---> 038d808e4fb9 13:15:19 Step 24/25 : LABEL git_sha=6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 13:15:19 ---> Running in 4de845b2bf1e 13:15:19 Removing intermediate container 4de845b2bf1e 13:15:19 ---> 731df5132550 13:15:19 Step 25/25 : LABEL version=0.0.0 13:15:19 ---> Running in b31239a58f07 13:15:20 Removing intermediate container b31239a58f07 13:15:20 ---> b6819e16b6d7 13:15:20 [Warning] One or more build-args [ARCH] were not consumed 13:15:20 Successfully built b6819e16b6d7 13:15:20 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 13:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:20 13:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:20 latest: Pulling from edgex-lftools-log-publisher 13:15:20 5eb5b503b376: Pulling fs layer 13:15:20 5c69ac0246d0: Pulling fs layer 13:15:20 ec43610c2a17: Pulling fs layer 13:15:20 3a2ae6a8a46f: Pulling fs layer 13:15:20 33b1e0a273af: Pulling fs layer 13:15:20 5d3b04190fa2: Pulling fs layer 13:15:20 2f39f015ded8: Pulling fs layer 13:15:20 5d3b04190fa2: Waiting 13:15:20 3a2ae6a8a46f: Waiting 13:15:20 33b1e0a273af: Waiting 13:15:20 2f39f015ded8: Waiting 13:15:20 5c69ac0246d0: Verifying Checksum 13:15:20 5c69ac0246d0: Download complete 13:15:20 3a2ae6a8a46f: Verifying Checksum 13:15:20 3a2ae6a8a46f: Download complete 13:15:21 33b1e0a273af: Verifying Checksum 13:15:21 33b1e0a273af: Download complete 13:15:21 5d3b04190fa2: Download complete 13:15:21 ec43610c2a17: Verifying Checksum 13:15:21 ec43610c2a17: Download complete 13:15:21 5eb5b503b376: Verifying Checksum 13:15:21 5eb5b503b376: Download complete 13:15:21 2f39f015ded8: Download complete 13:15:22 5eb5b503b376: Pull complete 13:15:22 5c69ac0246d0: Pull complete 13:15:22 ec43610c2a17: Pull complete 13:15:23 3a2ae6a8a46f: Pull complete 13:15:23 33b1e0a273af: Pull complete 13:15:23 5d3b04190fa2: Pull complete 13:15:27 2f39f015ded8: Pull complete 13:15:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:27 prd-ubuntu20.04-docker-8c-8g-155 does not seem to be running inside a container 13:15:27 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:15:29 $ docker top e3ab3d0038240dda34d9483e13389326c06f52e1a1762a6547177be418cef81f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:29 ---> job-cost.sh 13:15:29 lf-activate-venv: SKIPPING 13:15:29 INFO: No Stack... 13:15:30 INFO: Retrieving Pricing Info for: v3-standard-8 13:15:30 INFO: Archiving Costs [Pipeline] sh 13:15:30 + cat /w/workspace/foundry_device-virtual-go_PR-354/archives/cost.csv 13:15:30 + cut -d, -f6 [Pipeline] lock 13:15:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] 13:15:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] did not exist. Created. 13:15:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:31 + echo total: 0.2199999988079071 [Pipeline] stash 13:15:31 Stashed 1 file(s) [Pipeline] } 13:15:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:31 $ docker stop --time=1 e3ab3d0038240dda34d9483e13389326c06f52e1a1762a6547177be418cef81f 13:15:32 $ docker rm -f --volumes e3ab3d0038240dda34d9483e13389326c06f52e1a1762a6547177be418cef81f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:15:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-156 in /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] { [Pipeline] ws 13:15:42 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 13:15:42 The recommended git tool is: git 13:15:47 using credential edgex-jenkins-ssh 13:15:47 Cloning the remote Git repository 13:15:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:15:47 > git init /w/workspace/device-virtual-go/3 # timeout=10 13:15:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:15:47 > git --version # timeout=10 13:15:47 > git --version # 'git version 2.25.1' 13:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:15:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:15:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:15:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:15:51 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit deec1eaa4d3cef402d0d658292a0f698ca130a04 13:15:51 Merge succeeded, producing ca47fed3ee780d34a8dcdedf8eceba5a14ede06a 13:15:51 Checking out Revision ca47fed3ee780d34a8dcdedf8eceba5a14ede06a (PR-354) 13:15:51 > git config core.sparsecheckout # timeout=10 13:15:51 > git checkout -f deec1eaa4d3cef402d0d658292a0f698ca130a04 # timeout=10 13:15:51 > git remote # timeout=10 13:15:51 > git config --get remote.origin.url # timeout=10 13:15:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:51 > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 13:15:51 > git rev-parse HEAD^{commit} # timeout=10 13:15:51 > git config core.sparsecheckout # timeout=10 13:15:51 > git checkout -f ca47fed3ee780d34a8dcdedf8eceba5a14ede06a # timeout=10 13:15:55 Commit message: "Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD" 13:15:55 First time build. Skipping changelog. 13:15:55 > git rev-list --no-walk f5c92b910491bd8bfecaf76a75232d586b2e8683 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:56 Dload Upload Total Spent Left Speed 13:15:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 68187 [Pipeline] sh 13:15:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:15:57 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 13:15:57 13:15:57 { 13:15:57 "registry-mirrors": [ 13:15:57 "https://nexus3.edgexfoundry.org:10001" 13:15:57 ], 13:15:57 "bip": "10.250.0.254/24", 13:15:57 "hosts": [ 13:15:57 "tcp://0.0.0.0:5555", 13:15:57 "unix:///var/run/docker.sock" 13:15:57 ], 13:15:57 "mtu": 1458, 13:15:57 "selinux-enabled": true, 13:15:57 "seccomp-profile": "/etc/docker/seccomp.json" 13:15:57 } [Pipeline] sh 13:15:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:15:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:16 provisioning config files... 13:16:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8810816809166453921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:16 ---> docker-login.sh 13:16:16 nexus3.edgexfoundry.org:10001 13:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:17 Configure a credential helper to remove this warning. See 13:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:17 13:16:17 Login Succeeded 13:16:17 nexus3.edgexfoundry.org:10002 13:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:17 Configure a credential helper to remove this warning. See 13:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:17 13:16:17 Login Succeeded 13:16:17 nexus3.edgexfoundry.org:10003 13:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:18 Configure a credential helper to remove this warning. See 13:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:18 13:16:18 Login Succeeded 13:16:18 nexus3.edgexfoundry.org:10004 13:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:18 Configure a credential helper to remove this warning. See 13:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:18 13:16:18 Login Succeeded 13:16:18 docker.io 13:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:19 Configure a credential helper to remove this warning. See 13:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:19 13:16:19 Login Succeeded 13:16:19 ---> docker-login.sh ends [Pipeline] } 13:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:19 ========================================================= 13:16:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:16:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:16:19 Sending build context to Docker daemon 11.9MB 13:16:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:16:20 Step 2/12 : FROM ${BASE} AS builder 13:16:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:16:21 af6eaf76a39c: Pulling fs layer 13:16:21 55522c791124: Pulling fs layer 13:16:21 ce5c4a1c91eb: Pulling fs layer 13:16:21 169dfbe0d373: Pulling fs layer 13:16:21 e1ff8fa3b103: Pulling fs layer 13:16:21 52ebb69f0ebf: Pulling fs layer 13:16:21 5abe8eddf0d5: Pulling fs layer 13:16:21 e1ff8fa3b103: Waiting 13:16:21 52ebb69f0ebf: Waiting 13:16:21 5abe8eddf0d5: Waiting 13:16:21 169dfbe0d373: Waiting 13:16:21 55522c791124: Download complete 13:16:21 169dfbe0d373: Verifying Checksum 13:16:21 169dfbe0d373: Download complete 13:16:21 e1ff8fa3b103: Verifying Checksum 13:16:21 e1ff8fa3b103: Download complete 13:16:21 af6eaf76a39c: Verifying Checksum 13:16:21 af6eaf76a39c: Download complete 13:16:22 af6eaf76a39c: Pull complete 13:16:22 5abe8eddf0d5: Verifying Checksum 13:16:22 5abe8eddf0d5: Download complete 13:16:23 55522c791124: Pull complete 13:16:24 ce5c4a1c91eb: Download complete 13:16:24 52ebb69f0ebf: Download complete 13:16:36 ce5c4a1c91eb: Pull complete 13:16:36 169dfbe0d373: Pull complete 13:16:36 e1ff8fa3b103: Pull complete 13:16:41 52ebb69f0ebf: Pull complete 13:16:44 5abe8eddf0d5: Pull complete 13:16:44 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:16:44 ---> 6cb57ee374ae 13:16:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:16:45 ---> Running in 01d08c00ae74 13:16:46 Removing intermediate container 01d08c00ae74 13:16:46 ---> da0fbc298826 13:16:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:16:46 ---> Running in cf3696853e92 13:16:46 Removing intermediate container cf3696853e92 13:16:46 ---> 5b70cf6b557b 13:16:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:16:46 ---> Running in 4e98f1e0d31f 13:16:46 Removing intermediate container 4e98f1e0d31f 13:16:46 ---> 70637ee21998 13:16:46 Step 6/12 : WORKDIR /device-virtual-go 13:16:46 ---> Running in d27900a06d17 13:16:47 Removing intermediate container d27900a06d17 13:16:47 ---> 542dd6dcc772 13:16:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:47 ---> Running in 350946ce1b4f 13:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:16:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:16:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:16:50 (2/4) Installing libedit (20221030.3.1-r0) 13:16:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:16:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:16:50 Executing busybox-1.35.0-r29.trigger 13:16:50 OK: 268 MiB in 57 packages 13:16:51 Removing intermediate container 350946ce1b4f 13:16:51 ---> 25d498522e06 13:16:51 Step 8/12 : COPY go.mod vendor* ./ 13:16:51 ---> 5771d003abb9 13:16:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:51 ---> Running in 44b04b093934 13:17:59 Removing intermediate container 44b04b093934 13:17:59 ---> c186d9bd768e 13:17:59 Step 10/12 : COPY . . 13:17:59 ---> 04004d797ac4 13:17:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:59 ---> Running in ec83b86723dc 13:17:59 Removing intermediate container ec83b86723dc 13:17:59 ---> 81e6158250f5 13:17:59 Step 12/12 : RUN $MAKE 13:17:59 ---> Running in f756e32397e2 13:17:59 noop 13:17:59 Removing intermediate container f756e32397e2 13:17:59 ---> 12c364d270fa 13:17:59 Successfully built 12c364d270fa 13:17:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:00 + docker inspect -f . ci-base-image-arm64 13:18:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:00 prd-ubuntu20.04-docker-arm64-4c-16g-156 does not seem to be running inside a container 13:18:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:01 $ docker top bb026d58508938237fb0493934bc96a615154721b20286eaa4505cc5ce1a834f -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:02 + go version 13:18:02 go version go1.20.2 linux/arm64 [Pipeline] } 13:18:02 $ docker stop --time=1 bb026d58508938237fb0493934bc96a615154721b20286eaa4505cc5ce1a834f 13:18:04 $ docker rm -f --volumes bb026d58508938237fb0493934bc96a615154721b20286eaa4505cc5ce1a834f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:04 + docker inspect -f . ci-base-image-arm64 13:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:04 prd-ubuntu20.04-docker-arm64-4c-16g-156 does not seem to be running inside a container 13:18:04 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:06 $ docker top 28e08be96a9e7d1ea42a760c82993142dc350be1578525cca15d26b7414b7275 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 13:18:07 + make test 13:18:07 go test ./... -coverprofile=coverage.out 13:18:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:20:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:20:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements 13:20:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:20:32 go vet ./... 13:21:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:21:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:21:11 ./bin/test-attribution-txt.sh [Pipeline] echo 13:21:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:21:11 $ docker stop --time=1 28e08be96a9e7d1ea42a760c82993142dc350be1578525cca15d26b7414b7275 13:21:14 $ docker rm -f --volumes 28e08be96a9e7d1ea42a760c82993142dc350be1578525cca15d26b7414b7275 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:21:15 Warning: overwriting stash ‘coverage-report’ 13:21:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:21:17 + ls -al . 13:21:17 total 188 13:21:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 13:18 . 13:21:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:15 .. 13:21:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 13:15 .git 13:21:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:15 .github 13:21:17 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 13:15 .gitignore 13:21:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 13:15 .golangci.yml 13:21:17 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 13:15 Attribution.txt 13:21:17 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 13:15 CHANGELOG.md 13:21:17 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 13:15 Dockerfile 13:21:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 13:15 GOVERNANCE.md 13:21:17 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 13:15 Jenkinsfile 13:21:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 13:15 LICENSE 13:21:17 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 13:15 Makefile 13:21:17 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 13:15 OWNERS.md 13:21:17 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 13:15 README.md 13:21:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 13:13 VERSION 13:21:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 13:15 bin 13:21:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:15 cmd 13:21:17 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 13:20 coverage.out 13:21:17 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 13:15 go.mod 13:21:17 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 13:15 go.sum 13:21:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:15 internal 13:21:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:15 snap 13:21:17 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:17 + 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=ca47fed3ee780d34a8dcdedf8eceba5a14ede06a --label arch=arm64 --label version=0.0.0 . 13:21:17 Sending build context to Docker daemon 11.95MB 13:21:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:21:18 Step 2/25 : FROM ${BASE} AS builder 13:21:18 ---> 12c364d270fa 13:21:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:21:18 ---> Running in 337ea872eadb 13:21:18 Removing intermediate container 337ea872eadb 13:21:18 ---> 0454e1f9e9eb 13:21:18 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:21:18 ---> Running in a8e63f498561 13:21:18 Removing intermediate container a8e63f498561 13:21:18 ---> 643a25d13d23 13:21:18 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:21:18 ---> Running in 660a677263fe 13:21:19 Removing intermediate container 660a677263fe 13:21:19 ---> 3e424ac8d360 13:21:19 Step 6/25 : WORKDIR /device-virtual-go 13:21:19 ---> Running in 120f55a97fd4 13:21:19 Removing intermediate container 120f55a97fd4 13:21:19 ---> 8c3228b47291 13:21:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:19 ---> Running in b0b75aad8e12 13:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:21:22 OK: 268 MiB in 57 packages 13:21:22 Removing intermediate container b0b75aad8e12 13:21:22 ---> bae1295c2658 13:21:22 Step 8/25 : COPY go.mod vendor* ./ 13:21:23 ---> 3ec164f231db 13:21:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:23 ---> Running in 4846c868f52d 13:21:26 Removing intermediate container 4846c868f52d 13:21:26 ---> 088ab9bbfa77 13:21:26 Step 10/25 : COPY . . 13:21:28 ---> e08877e146cf 13:21:28 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:28 ---> Running in a1232f785735 13:21:28 Removing intermediate container a1232f785735 13:21:28 ---> 46d555ed84d2 13:21:28 Step 12/25 : RUN $MAKE 13:21:28 ---> Running in 5f1c641eb1a8 13:21:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:23:35 Removing intermediate container 5f1c641eb1a8 13:23:35 ---> 12e2d58ff411 13:23:35 Step 13/25 : FROM alpine:3.16 13:23:35 3.16: Pulling from library/alpine 13:23:35 3760b48202b3: Pulling fs layer 13:23:35 3760b48202b3: Verifying Checksum 13:23:35 3760b48202b3: Download complete 13:23:35 3760b48202b3: Pull complete 13:23:35 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 13:23:35 Status: Downloaded newer image for alpine:3.16 13:23:35 ---> 4c81e5bf8899 13:23:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:23:35 ---> Running in 7184a9e0d8a4 13:23:35 Removing intermediate container 7184a9e0d8a4 13:23:35 ---> f4f7757a1ed3 13:23:35 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:23:35 ---> Running in f1db9515ee21 13:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:23:35 (1/1) Installing dumb-init (1.2.5-r1) 13:23:35 Executing busybox-1.35.0-r17.trigger 13:23:35 OK: 5 MiB in 15 packages 13:23:36 Removing intermediate container f1db9515ee21 13:23:36 ---> 22973b98d5c0 13:23:36 Step 16/25 : WORKDIR / 13:23:36 ---> Running in 4645948cdc64 13:23:36 Removing intermediate container 4645948cdc64 13:23:36 ---> f2f520c33234 13:23:36 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:23:38 ---> 7b0b1d2e9e7d 13:23:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:23:38 ---> 12941f96e2dd 13:23:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:23:39 ---> ecde9e780191 13:23:39 Step 20/25 : EXPOSE 59900 13:23:39 ---> Running in 91dd05188e76 13:23:40 Removing intermediate container 91dd05188e76 13:23:40 ---> 856b254d42ce 13:23:40 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:23:40 ---> Running in 038c13d5b10a 13:23:40 Removing intermediate container 038c13d5b10a 13:23:40 ---> 890e050b46f8 13:23:40 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:40 ---> Running in dfb302514826 13:23:40 Removing intermediate container dfb302514826 13:23:40 ---> 2b744a1c6f95 13:23:40 Step 23/25 : LABEL arch=arm64 13:23:40 ---> Running in 1eea33652854 13:23:41 Removing intermediate container 1eea33652854 13:23:41 ---> 68fa985d24c2 13:23:41 Step 24/25 : LABEL git_sha=ca47fed3ee780d34a8dcdedf8eceba5a14ede06a 13:23:41 ---> Running in 82fe3bee2a70 13:23:41 Removing intermediate container 82fe3bee2a70 13:23:41 ---> 3969c36aa503 13:23:41 Step 25/25 : LABEL version=0.0.0 13:23:41 ---> Running in b693639a7268 13:23:41 Removing intermediate container b693639a7268 13:23:41 ---> 2f2f5e8ddaab 13:23:41 [Warning] One or more build-args [ARCH] were not consumed 13:23:41 Successfully built 2f2f5e8ddaab 13:23:41 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 13:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:42 13:23:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:42 arm64: Pulling from edgex-lftools-log-publisher 13:23:42 8998bd30e6a1: Pulling fs layer 13:23:42 04944245beec: Pulling fs layer 13:23:42 699f458cf7ca: Pulling fs layer 13:23:42 765212b225bb: Pulling fs layer 13:23:42 f23df028b6ca: Pulling fs layer 13:23:42 d65c8cfc05b1: Pulling fs layer 13:23:42 2437ff75d9bd: Pulling fs layer 13:23:42 765212b225bb: Waiting 13:23:42 f23df028b6ca: Waiting 13:23:42 d65c8cfc05b1: Waiting 13:23:42 2437ff75d9bd: Waiting 13:23:42 04944245beec: Verifying Checksum 13:23:42 04944245beec: Download complete 13:23:42 765212b225bb: Verifying Checksum 13:23:42 765212b225bb: Download complete 13:23:42 f23df028b6ca: Verifying Checksum 13:23:42 f23df028b6ca: Download complete 13:23:42 d65c8cfc05b1: Verifying Checksum 13:23:42 d65c8cfc05b1: Download complete 13:23:42 699f458cf7ca: Verifying Checksum 13:23:42 699f458cf7ca: Download complete 13:23:43 8998bd30e6a1: Verifying Checksum 13:23:43 8998bd30e6a1: Download complete 13:23:45 2437ff75d9bd: Verifying Checksum 13:23:45 2437ff75d9bd: Download complete 13:23:46 8998bd30e6a1: Pull complete 13:23:47 04944245beec: Pull complete 13:23:48 699f458cf7ca: Pull complete 13:23:48 765212b225bb: Pull complete 13:23:49 f23df028b6ca: Pull complete 13:23:50 d65c8cfc05b1: Pull complete 13:24:03 2437ff75d9bd: Pull complete 13:24:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:24:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:03 prd-ubuntu20.04-docker-arm64-4c-16g-156 does not seem to be running inside a container 13:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:24:05 $ docker top 019544544ca63671fab769efe312514edb75a5b9115e1c8465361b13e9b1d6a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:06 ---> job-cost.sh 13:24:06 lf-activate-venv: SKIPPING 13:24:06 INFO: No Stack... 13:24:07 INFO: Retrieving Pricing Info for: v3-standard-4 13:24:08 INFO: Archiving Costs [Pipeline] sh 13:24:08 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 13:24:08 + cut -d, -f6 [Pipeline] lock 13:24:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] 13:24:08 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] did not exist. Created. 13:24:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:09 /w/workspace/device-virtual-go/3@tmp/durable-14483906/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:09 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:09 Warning: overwriting stash ‘stack-cost’ 13:24:09 Stashed 1 file(s) [Pipeline] } 13:24:09 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:09 $ docker stop --time=1 019544544ca63671fab769efe312514edb75a5b9115e1c8465361b13e9b1d6a0 13:24:11 $ docker rm -f --volumes 019544544ca63671fab769efe312514edb75a5b9115e1c8465361b13e9b1d6a0 [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 13:24:11 provisioning config files... 13:24:11 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config2006217613887936865tmp [Pipeline] { [Pipeline] sh 13:24:11 + set +x 13:24:11 + curl -s https://codecov.io/bash 13:24:11 + bash -s -- 13:24:11 13:24:11 _____ _ 13:24:11 / ____| | | 13:24:11 | | ___ __| | ___ ___ _____ __ 13:24:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:11 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:11 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:11 Bash-1.0.6 13:24:11 13:24:11 13:24:11 ==> git version 2.25.1 found 13:24:11 ==> 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 13:24:11 Release-Date: 2020-01-08 13:24:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:24:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:24:11 ==> Jenkins CI detected. 13:24:11 current dir:  /w/workspace/foundry_device-virtual-go_PR-354 13:24:11 project root: . 13:24:11 --> token set from env 13:24:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:11 ==> Running gcov in . (disable via -X gcov) 13:24:11 ==> Python coveragepy not found 13:24:11 ==> Searching for coverage reports in: 13:24:11 + . 13:24:11 -> Found 1 reports 13:24:11 ==> Detecting git/mercurial file structure 13:24:12 ==> Reading reports 13:24:12 + ./coverage.out bytes=44127 13:24:12 ==> Appending adjustments 13:24:12 https://docs.codecov.io/docs/fixing-reports 13:24:12 + Found adjustments 13:24:12 ==> Gzipping contents 13:24:12 8.0K /tmp/codecov.DVQJNA.gz 13:24:12 ==> Uploading reports 13:24:12 url: https://codecov.io 13:24:12 query: branch=PR-354&commit=6c064cdbd4f1ad1775cc3cf6b5068ae956858f25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 13:24:12 -> Pinging Codecov 13:24:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-354&commit=6c064cdbd4f1ad1775cc3cf6b5068ae956858f25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 13:24:12 -> Uploading to 13:24:12 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/6c064cdbd4f1ad1775cc3cf6b5068ae956858f25/0a99bd32-faa5-413e-991d-53a6379c06e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T132412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee4cde03c5c8738bcee6d3e30856fb8e2d596c9ef8d1837c844c3261b9539f11 13:24:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:12 Dload Upload Total Spent Left Speed 13:24:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5418 0 0 100 5418 0 23763 --:--:-- --:--:-- --:--:-- 23659 100 5418 0 0 100 5418 0 18428 --:--:-- --:--:-- --:--:-- 18366 13:24:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6c064cdbd4f1ad1775cc3cf6b5068ae956858f25 [Pipeline] } 13:24:12 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 13:24:13 + [ -d /w/workspace/foundry_device-virtual-go_PR-354/archives ] 13:24:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 13:24:13 total 16 13:24:13 drwxr-xr-x 3 root root 4096 Mar 14 13:15 . 13:24:13 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 13:15 .. 13:24:13 drwxr-xr-x 2 root root 4096 Mar 14 13:15 cost 13:24:13 -rw-r--r-- 1 root root 89 Mar 14 13:15 cost.csv 13:24:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-354/archives 13:24:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 13:24:13 total 16 13:24:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 13:15 . 13:24:13 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 13:15 .. 13:24:13 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 13:15 cost 13:24:13 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:14 ---> package-listing.sh 13:24:14 ++ facter osfamily 13:24:14 ++ tr '[:upper:]' '[:lower:]' 13:24:14 + OS_FAMILY=debian 13:24:14 + workspace=/w/workspace/foundry_device-virtual-go_PR-354 13:24:14 + START_PACKAGES=/tmp/packages_start.txt 13:24:14 + END_PACKAGES=/tmp/packages_end.txt 13:24:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:14 + PACKAGES=/tmp/packages_start.txt 13:24:14 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 13:24:14 + PACKAGES=/tmp/packages_end.txt 13:24:14 + case "${OS_FAMILY}" in 13:24:14 + dpkg -l 13:24:14 + grep '^ii' 13:24:14 + '[' -f /tmp/packages_start.txt ']' 13:24:14 + '[' -f /tmp/packages_end.txt ']' 13:24:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:14 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 13:24:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-354/archives/ 13:24:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-354/archives/ [Pipeline] echo 13:24:14 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:15 prd-ubuntu20.04-docker-8c-8g-155 does not seem to be running inside a container 13:24:15 $ 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-354/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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:24:15 $ docker top 113f5b3d4c2598deccc5bfb6bcdc49a0d64bcc34bdbcf7db68107713737cf9f0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:16 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:16 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:16 + ls /var/log/sa-host 13:24:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:16 provisioning config files... 13:24:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config9660615993531672866tmp [Pipeline] { [Pipeline] echo 13:24:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:17 ---> create-netrc.sh [Pipeline] } 13:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:17 ---> python-tools-install.sh [Pipeline] echo 13:24:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:17 ---> sudo-logs.sh 13:24:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:18 ---> job-cost.sh 13:24:18 lf-activate-venv: SKIPPING 13:24:18 DEBUG: total: 0.2199999988079071 13:24:18 INFO: Retrieving Stack Cost... 13:24:18 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:18 INFO: Archiving Costs [Pipeline] echo 13:24:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:19 ---> logs-deploy.sh 13:24:19 lf-activate-venv: SKIPPING 13:24:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-354/3 13:24:19 INFO: archiving workspace using pattern(s): 13:24:20 Archives upload complete. 13:24:20 INFO: archiving logs to Nexus