Pull request #323 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9c4b646866407ddf8f0af98db0b309af843b4dee+e07a2b47d6b01394d573ef881097266a6362f197 (4fba1df3ee7fa9f1ebd00d84b7141c17a6ccc93a) 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-ssh18250691313747345802.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8848797232054941167.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-323/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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15587656157349456141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8246672579085251413.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-323/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-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2660482117354683865.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-916 in /w/workspace/foundry_device-virtual-go_PR-323 [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-323 # 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/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 9c4b646866407ddf8f0af98db0b309af843b4dee Merge succeeded, producing 9c4b646866407ddf8f0af98db0b309af843b4dee Checking out Revision 9c4b646866407ddf8f0af98db0b309af843b4dee (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # 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 e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git rev-list --no-walk 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:50 ========================================================= 17:52:50 EdgeX Global Pipelines Version Info 17:52:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:50 ------------------- 17:52:50 stable info: 17:52:50 ------------------- 17:52:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:50 Message: update stable to v1.0.244 17:52:51 ------------------- 17:52:51 experimental info: 17:52:51 ------------------- 17:52:51 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c4b646 [Pipeline] echo 17:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:52 provisioning config files... 17:52:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config10489222111208469150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:52 ---> docker-login.sh 17:52:52 nexus3.edgexfoundry.org:10001 17:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:52 Configure a credential helper to remove this warning. See 17:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:52 17:52:52 Login Succeeded 17:52:52 nexus3.edgexfoundry.org:10002 17:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:52 Configure a credential helper to remove this warning. See 17:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:52 17:52:52 Login Succeeded 17:52:52 nexus3.edgexfoundry.org:10003 17:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:53 Configure a credential helper to remove this warning. See 17:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:53 17:52:53 Login Succeeded 17:52:53 nexus3.edgexfoundry.org:10004 17:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:53 Configure a credential helper to remove this warning. See 17:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:53 17:52:53 Login Succeeded 17:52:53 docker.io 17:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:53 Configure a credential helper to remove this warning. See 17:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:53 17:52:53 Login Succeeded 17:52:53 ---> docker-login.sh ends [Pipeline] } 17:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:53 + git rev-list -1 --merges 9c4b646866407ddf8f0af98db0b309af843b4dee~1..9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo 17:52:53 -----------> git rev-list -1 --merges 9c4b646866407ddf8f0af98db0b309af843b4dee~1..9c4b646866407ddf8f0af98db0b309af843b4dee 9c4b646866407ddf8f0af98db0b309af843b4dee [false] [Pipeline] sh 17:52:54 + git log --format=format:%s -1 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo 17:52:54 ========================================================= 17:52:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:54 + git log --format=format:%s -1 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo 17:52:54 [semverPrep] GIT_COMMIT: 9c4b646866407ddf8f0af98db0b309af843b4dee, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 17:52:54 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:54 + grep -v github /etc/ssh/ssh_known_hosts 17:52:54 + [ -e /tmp/ssh_known_hosts ] 17:52:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:54 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:55 17:52:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:55 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:55 b85a868b505f: Pulling fs layer 17:52:55 e2be974225ed: Pulling fs layer 17:52:55 339a4e72a1f5: Pulling fs layer 17:52:55 988bab9f4d93: Pulling fs layer 17:52:55 1469e6f7b9e6: Pulling fs layer 17:52:55 988bab9f4d93: Waiting 17:52:55 eaf3925da568: Pulling fs layer 17:52:55 bab4dde63d76: Pulling fs layer 17:52:55 eaf3925da568: Waiting 17:52:55 bab4dde63d76: Waiting 17:52:55 1469e6f7b9e6: Waiting 17:52:55 bde34c3a00c8: Pulling fs layer 17:52:55 b352a97aabf1: Pulling fs layer 17:52:55 4872d77fe225: Pulling fs layer 17:52:55 b352a97aabf1: Waiting 17:52:55 bde34c3a00c8: Waiting 17:52:55 5851b861e8e6: Pulling fs layer 17:52:55 4872d77fe225: Waiting 17:52:55 e2be974225ed: Verifying Checksum 17:52:55 e2be974225ed: Download complete 17:52:55 988bab9f4d93: Verifying Checksum 17:52:55 988bab9f4d93: Download complete 17:52:55 1469e6f7b9e6: Verifying Checksum 17:52:55 1469e6f7b9e6: Download complete 17:52:55 eaf3925da568: Download complete 17:52:55 339a4e72a1f5: Verifying Checksum 17:52:55 339a4e72a1f5: Download complete 17:52:55 bde34c3a00c8: Download complete 17:52:55 b352a97aabf1: Download complete 17:52:55 4872d77fe225: Verifying Checksum 17:52:55 4872d77fe225: Download complete 17:52:55 5851b861e8e6: Verifying Checksum 17:52:55 5851b861e8e6: Download complete 17:52:55 b85a868b505f: Verifying Checksum 17:52:55 b85a868b505f: Download complete 17:52:56 bab4dde63d76: Verifying Checksum 17:52:56 bab4dde63d76: Download complete 17:52:56 b85a868b505f: Pull complete 17:52:57 e2be974225ed: Pull complete 17:52:57 339a4e72a1f5: Pull complete 17:52:57 988bab9f4d93: Pull complete 17:52:58 1469e6f7b9e6: Pull complete 17:52:58 eaf3925da568: Pull complete 17:52:59 bab4dde63d76: Pull complete 17:53:00 bde34c3a00c8: Pull complete 17:53:00 b352a97aabf1: Pull complete 17:53:00 4872d77fe225: Pull complete 17:53:00 5851b861e8e6: Pull complete 17:53:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:00 prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container 17:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@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 17:53:02 $ docker top 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 -eo pid,comm 17:53:02 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). 17:53:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:53:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:02 [ssh-agent] Looking for ssh-agent implementation... 17:53:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:02 $ docker exec 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent 17:53:02 SSH_AUTH_SOCK=/tmp/ssh-O48nAFFAfFRb/agent.33 17:53:02 SSH_AGENT_PID=39 17:53:02 Running ssh-add (command line suppressed) 17:53:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_2269944898301329575.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_2269944898301329575.key) 17:53:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:03 + git tag --points-at HEAD [Pipeline] } 17:53:03 $ docker exec --env ******** --env ******** 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent -k 17:53:03 unset SSH_AUTH_SOCK; 17:53:03 unset SSH_AGENT_PID; 17:53:03 echo Agent pid 39 killed; 17:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:03 [ssh-agent] Looking for ssh-agent implementation... 17:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:03 $ docker exec 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent 17:53:03 SSH_AUTH_SOCK=/tmp/ssh-hZlEuM99jSqr/agent.71 17:53:03 SSH_AGENT_PID=77 17:53:03 Running ssh-add (command line suppressed) 17:53:03 Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_15598264493295764623.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_15598264493295764623.key) 17:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:03 + git semver init 17:53:04 2023-01-03 17:53:04,059 [run_init] DEBUG init version:0.0.0 force:False 17:53:04 2023-01-03 17:53:04,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-323/.semver 17:53:04 2023-01-03 17:53:04,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-323/.semver 17:53:04 2023-01-03 17:53:04,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-323/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-323, universal_newlines=False, shell=None, istream=None) 17:53:05 2023-01-03 17:53:05,329 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-323/.git/info/exclude 17:53:05 2023-01-03 17:53:05,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 with force:False 17:53:05 2023-01-03 17:53:05,330 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 17:53:05 2023-01-03 17:53:05,334 [execute] INFO git cat-file --batch-check 17:53:05 2023-01-03 17:53:05,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) 17:53:05 2023-01-03 17:53:05,341 [execute] INFO git cat-file --batch 17:53:05 2023-01-03 17:53:05,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) 17:53:05 2023-01-03 17:53:05,347 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 17:53:05 0.0.0 [Pipeline] } 17:53:05 $ docker exec --env ******** --env ******** 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent -k 17:53:05 unset SSH_AUTH_SOCK; 17:53:05 unset SSH_AGENT_PID; 17:53:05 echo Agent pid 77 killed; 17:53:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:53:05 + git semver [Pipeline] } 17:53:06 $ docker stop --time=1 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 17:53:07 $ docker rm -f --volumes 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 [Pipeline] // withDockerContainer [Pipeline] sh 17:53:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:53:08 Stashed 1 file(s) [Pipeline] echo 17:53:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:08 provisioning config files... 17:53:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12824938139814904809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:08 ---> docker-login.sh 17:53:08 nexus3.edgexfoundry.org:10001 17:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:08 Configure a credential helper to remove this warning. See 17:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:08 17:53:08 Login Succeeded 17:53:08 nexus3.edgexfoundry.org:10002 17:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:08 Configure a credential helper to remove this warning. See 17:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:08 17:53:08 Login Succeeded 17:53:08 nexus3.edgexfoundry.org:10003 17:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:08 Configure a credential helper to remove this warning. See 17:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:08 17:53:08 Login Succeeded 17:53:08 nexus3.edgexfoundry.org:10004 17:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:08 Configure a credential helper to remove this warning. See 17:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:08 17:53:08 Login Succeeded 17:53:08 docker.io 17:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:09 Configure a credential helper to remove this warning. See 17:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:09 17:53:09 Login Succeeded 17:53:09 ---> docker-login.sh ends [Pipeline] } 17:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:09 ========================================================= 17:53:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:53:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:53:09 Sending build context to Docker daemon 23.37MB 17:53:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:53:09 Step 2/12 : FROM ${BASE} AS builder 17:53:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:09 213ec9aee27d: Pulling fs layer 17:53:09 4583459ba037: Pulling fs layer 17:53:09 93c1e223e6f2: Pulling fs layer 17:53:09 53926ce57604: Pulling fs layer 17:53:09 21b2b0c7a3f4: Pulling fs layer 17:53:09 22ff95d597cd: Pulling fs layer 17:53:09 12d6caf4c0d1: Pulling fs layer 17:53:09 96b7cbca73a9: Pulling fs layer 17:53:09 a7acece74701: Pulling fs layer 17:53:09 53926ce57604: Waiting 17:53:09 21b2b0c7a3f4: Waiting 17:53:09 22ff95d597cd: Waiting 17:53:09 12d6caf4c0d1: Waiting 17:53:09 96b7cbca73a9: Waiting 17:53:09 a7acece74701: Waiting 17:53:09 93c1e223e6f2: Download complete 17:53:09 4583459ba037: Verifying Checksum 17:53:09 4583459ba037: Download complete 17:53:09 21b2b0c7a3f4: Verifying Checksum 17:53:09 21b2b0c7a3f4: Download complete 17:53:09 22ff95d597cd: Verifying Checksum 17:53:09 22ff95d597cd: Download complete 17:53:09 213ec9aee27d: Verifying Checksum 17:53:09 213ec9aee27d: Download complete 17:53:09 12d6caf4c0d1: Download complete 17:53:10 213ec9aee27d: Pull complete 17:53:10 4583459ba037: Pull complete 17:53:10 93c1e223e6f2: Pull complete 17:53:10 a7acece74701: Verifying Checksum 17:53:10 a7acece74701: Download complete 17:53:11 96b7cbca73a9: Download complete 17:53:11 53926ce57604: Verifying Checksum 17:53:11 53926ce57604: Download complete 17:53:15 53926ce57604: Pull complete 17:53:15 21b2b0c7a3f4: Pull complete 17:53:15 22ff95d597cd: Pull complete 17:53:15 12d6caf4c0d1: Pull complete 17:53:17 96b7cbca73a9: Pull complete 17:53:18 a7acece74701: Pull complete 17:53:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:53:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:53:18 ---> db6d94c90886 17:53:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:53:20 ---> Running in de353504ac78 17:53:20 Removing intermediate container de353504ac78 17:53:20 ---> 44a7f78516c8 17:53:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:53:21 ---> Running in 52cc81338b98 17:53:21 Removing intermediate container 52cc81338b98 17:53:21 ---> e8b01ca64943 17:53:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:53:21 ---> Running in 8daec682cdf3 17:53:21 Removing intermediate container 8daec682cdf3 17:53:21 ---> c28058b0e650 17:53:21 Step 6/12 : WORKDIR /device-virtual-go 17:53:21 ---> Running in a31e4144d9e1 17:53:21 Removing intermediate container a31e4144d9e1 17:53:21 ---> da373e4185c7 17:53:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:21 ---> Running in e8490955c335 17:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:53:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:53:22 (2/4) Installing libedit (20210910.3.1-r0) 17:53:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:53:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:53:22 Executing busybox-1.35.0-r17.trigger 17:53:22 OK: 216 MiB in 55 packages 17:53:22 Removing intermediate container e8490955c335 17:53:22 ---> 842fc82f14b9 17:53:22 Step 8/12 : COPY go.mod vendor* ./ 17:53:22 ---> 8ed6500b1698 17:53:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:22 ---> Running in 6f8f17181559 17:53:23 Still waiting to schedule task 17:53:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:53:40 Removing intermediate container 6f8f17181559 17:53:40 ---> 768a2ce555b1 17:53:40 Step 10/12 : COPY . . 17:53:40 ---> eec53d18d6fe 17:53:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:40 ---> Running in 9912abc45181 17:53:40 Removing intermediate container 9912abc45181 17:53:40 ---> beeed03fee0b 17:53:40 Step 12/12 : RUN $MAKE 17:53:40 ---> Running in c76a4ae0bdee 17:53:40 noop 17:53:41 Removing intermediate container c76a4ae0bdee 17:53:41 ---> 6cb320f4a20c 17:53:41 Successfully built 6cb320f4a20c 17:53:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:41 + docker inspect -f . ci-base-image-x86_64 17:53:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:41 prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container 17:53:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@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 17:53:41 $ docker top 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:42 + go version 17:53:42 go version go1.18.7 linux/amd64 [Pipeline] } 17:53:42 $ docker stop --time=1 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b 17:53:43 $ docker rm -f --volumes 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:44 + docker inspect -f . ci-base-image-x86_64 17:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:44 prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container 17:53:44 $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@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 17:53:44 $ docker top 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:45 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] fileExists [Pipeline] sh 17:53:45 + make test 17:53:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:53:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:53:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:53:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 17:54:03 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:54:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:54:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:06 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:06 $ docker stop --time=1 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 17:54:08 $ docker rm -f --volumes 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:09 + ls -al . 17:54:09 total 204 17:54:09 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 17:53 . 17:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:52 .. 17:54:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:53 .git 17:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 .github 17:54:09 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:52 .gitignore 17:54:09 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:52 .golangci.yml 17:54:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:53 .semver 17:54:09 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:52 Attribution.txt 17:54:09 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:52 CHANGELOG.md 17:54:09 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:52 Dockerfile 17:54:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:52 GOVERNANCE.md 17:54:09 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:52 Jenkinsfile 17:54:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:52 LICENSE 17:54:09 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:52 Makefile 17:54:09 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:52 OWNERS.md 17:54:09 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:52 README.md 17:54:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:53 VERSION 17:54:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:52 bin 17:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 cmd 17:54:09 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:53 coverage.out 17:54:09 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:52 go.mod 17:54:09 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:52 go.sum 17:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 internal 17:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:52 snap 17:54:09 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:09 + 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=9c4b646866407ddf8f0af98db0b309af843b4dee --label arch=amd64 --label version=0.0.0 . 17:54:09 Sending build context to Docker daemon 23.42MB 17:54:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:54:09 Step 2/25 : FROM ${BASE} AS builder 17:54:09 ---> 6cb320f4a20c 17:54:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:54:09 ---> Running in 5f1975fa33b4 17:54:09 Removing intermediate container 5f1975fa33b4 17:54:09 ---> 52c4e4d9b82d 17:54:09 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:54:09 ---> Running in 5d7f7274f6aa 17:54:10 Removing intermediate container 5d7f7274f6aa 17:54:10 ---> d241a821af11 17:54:10 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:54:10 ---> Running in 55fcbbd62e78 17:54:10 Removing intermediate container 55fcbbd62e78 17:54:10 ---> 261738e4b342 17:54:10 Step 6/25 : WORKDIR /device-virtual-go 17:54:10 ---> Running in c98f8833c87c 17:54:10 Removing intermediate container c98f8833c87c 17:54:10 ---> e716c483418b 17:54:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:10 ---> Running in b821c73251c5 17:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:10 OK: 216 MiB in 55 packages 17:54:11 Removing intermediate container b821c73251c5 17:54:11 ---> b3211e47febe 17:54:11 Step 8/25 : COPY go.mod vendor* ./ 17:54:11 ---> 0845b213a7c8 17:54:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:11 ---> Running in 2150df502e85 17:54:12 Removing intermediate container 2150df502e85 17:54:12 ---> e2ff74540c82 17:54:12 Step 10/25 : COPY . . 17:54:12 ---> bdb92fbe7473 17:54:12 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:12 ---> Running in d1279ae81a60 17:54:12 Removing intermediate container d1279ae81a60 17:54:12 ---> d4d23127348a 17:54:12 Step 12/25 : RUN $MAKE 17:54:12 ---> Running in f21ad1634363 17:54:13 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:54:35 Removing intermediate container f21ad1634363 17:54:35 ---> d921d1175181 17:54:35 Step 13/25 : FROM alpine:3.16 17:54:35 3.16: Pulling from library/alpine 17:54:35 ca7dd9ec2225: Pulling fs layer 17:54:35 ca7dd9ec2225: Verifying Checksum 17:54:35 ca7dd9ec2225: Download complete 17:54:35 ca7dd9ec2225: Pull complete 17:54:35 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:54:35 Status: Downloaded newer image for alpine:3.16 17:54:35 ---> bfe296a52501 17:54:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:54:35 ---> Running in 5d6b0a77686e 17:54:35 Removing intermediate container 5d6b0a77686e 17:54:35 ---> c2f456df2f47 17:54:35 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 17:54:35 ---> Running in 6b3efbcd8669 17:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:35 (1/6) Installing dumb-init (1.2.5-r1) 17:54:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:54:35 (3/6) Installing libsodium (1.0.18-r0) 17:54:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:54:35 (5/6) Installing libzmq (4.3.4-r0) 17:54:35 (6/6) Installing zeromq (4.3.4-r0) 17:54:35 Executing busybox-1.35.0-r17.trigger 17:54:35 OK: 8 MiB in 20 packages 17:54:35 Removing intermediate container 6b3efbcd8669 17:54:35 ---> b4bf2385a5d5 17:54:35 Step 16/25 : WORKDIR / 17:54:35 ---> Running in d86fee8fe59a 17:54:35 Removing intermediate container d86fee8fe59a 17:54:35 ---> b039d2792eda 17:54:35 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:54:35 ---> 6f03efb75dba 17:54:35 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:54:35 ---> 93e3da0a482c 17:54:35 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:54:36 ---> 717454d29c22 17:54:36 Step 20/25 : EXPOSE 59900 17:54:36 ---> Running in e776bdd648c3 17:54:36 Removing intermediate container e776bdd648c3 17:54:36 ---> a6cbe059e74e 17:54:36 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:54:36 ---> Running in a6163ceed551 17:54:36 Removing intermediate container a6163ceed551 17:54:36 ---> 370409a153e0 17:54:36 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:54:36 ---> Running in c547f258da0e 17:54:36 Removing intermediate container c547f258da0e 17:54:36 ---> 1dd42d7ab9e9 17:54:36 Step 23/25 : LABEL arch=amd64 17:54:36 ---> Running in 7260c09c1335 17:54:36 Removing intermediate container 7260c09c1335 17:54:36 ---> a0fcd831e0ea 17:54:36 Step 24/25 : LABEL git_sha=9c4b646866407ddf8f0af98db0b309af843b4dee 17:54:36 ---> Running in 14f5cb87f6e8 17:54:36 Removing intermediate container 14f5cb87f6e8 17:54:36 ---> 2691b903bae0 17:54:36 Step 25/25 : LABEL version=0.0.0 17:54:36 ---> Running in adfa893188d7 17:54:36 Removing intermediate container adfa893188d7 17:54:36 ---> af2f409783fa 17:54:36 [Warning] One or more build-args [ARCH] were not consumed 17:54:36 Successfully built af2f409783fa 17:54:36 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 17:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:37 17:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:37 latest: Pulling from edgex-lftools-log-publisher 17:54:37 5eb5b503b376: Pulling fs layer 17:54:37 5c69ac0246d0: Pulling fs layer 17:54:37 ec43610c2a17: Pulling fs layer 17:54:37 3a2ae6a8a46f: Pulling fs layer 17:54:37 33b1e0a273af: Pulling fs layer 17:54:37 5d3b04190fa2: Pulling fs layer 17:54:37 2f39f015ded8: Pulling fs layer 17:54:37 3a2ae6a8a46f: Waiting 17:54:37 33b1e0a273af: Waiting 17:54:37 5d3b04190fa2: Waiting 17:54:37 2f39f015ded8: Waiting 17:54:37 5c69ac0246d0: Download complete 17:54:37 3a2ae6a8a46f: Download complete 17:54:37 33b1e0a273af: Verifying Checksum 17:54:37 33b1e0a273af: Download complete 17:54:37 5d3b04190fa2: Download complete 17:54:37 ec43610c2a17: Verifying Checksum 17:54:37 ec43610c2a17: Download complete 17:54:37 5eb5b503b376: Verifying Checksum 17:54:37 5eb5b503b376: Download complete 17:54:38 2f39f015ded8: Download complete 17:54:38 5eb5b503b376: Pull complete 17:54:38 5c69ac0246d0: Pull complete 17:54:39 ec43610c2a17: Pull complete 17:54:39 3a2ae6a8a46f: Pull complete 17:54:39 33b1e0a273af: Pull complete 17:54:39 5d3b04190fa2: Pull complete 17:54:43 2f39f015ded8: Pull complete 17:54:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:44 prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container 17:54:44 $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@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 17:54:45 $ docker top 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:46 ---> job-cost.sh 17:54:46 lf-activate-venv: SKIPPING 17:54:46 INFO: No Stack... 17:54:46 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:47 INFO: Archiving Costs [Pipeline] sh 17:54:47 + cat /w/workspace/foundry_device-virtual-go_PR-323/archives/cost.csv 17:54:47 + cut -d, -f6 [Pipeline] lock 17:54:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] 17:54:47 Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] did not exist. Created. 17:54:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:47 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:47 Stashed 1 file(s) [Pipeline] } 17:54:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:47 $ docker stop --time=1 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf 17:54:48 $ docker rm -f --volumes 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-917 in /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] { [Pipeline] ws 17:54:53 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 17:54:53 The recommended git tool is: git 17:54:58 using credential edgex-jenkins-ssh 17:54:58 Cloning the remote Git repository 17:54:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:54:58 > git init /w/workspace/device-virtual-go/2 # timeout=10 17:54:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:54:58 > git --version # timeout=10 17:54:58 > git --version # 'git version 2.25.1' 17:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:55:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:55:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:55:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:55:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:55:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:55:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:55:02 Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 9c4b646866407ddf8f0af98db0b309af843b4dee 17:55:02 Merge succeeded, producing 9c4b646866407ddf8f0af98db0b309af843b4dee 17:55:02 Checking out Revision 9c4b646866407ddf8f0af98db0b309af843b4dee (PR-323) 17:55:02 > git config core.sparsecheckout # timeout=10 17:55:02 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 17:55:02 > git remote # timeout=10 17:55:02 > git config --get remote.origin.url # timeout=10 17:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:55:02 > git merge e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 17:55:02 > git rev-parse HEAD^{commit} # timeout=10 17:55:02 > git config core.sparsecheckout # timeout=10 17:55:02 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 17:55:06 Commit message: "refactor!: Rename command line flags for the sake of consistency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 17:55:07 Dload Upload Total Spent Left Speed 17:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 41806 0 --:--:-- --:--:-- --:--:-- 41669 [Pipeline] sh 17:55:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:55:08 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 17:55:08 /etc/docker/daemon.new 17:55:08 { 17:55:08 "registry-mirrors": [ 17:55:08 "https://nexus3.edgexfoundry.org:10001" 17:55:08 ], 17:55:08 "bip": "10.250.0.254/24", 17:55:08 "hosts": [ 17:55:08 "tcp://0.0.0.0:5555", 17:55:08 "unix:///var/run/docker.sock" 17:55:08 ], 17:55:08 "mtu": 1458, 17:55:08 "selinux-enabled": true, 17:55:08 "seccomp-profile": "/etc/docker/seccomp.json" 17:55:08 } [Pipeline] sh 17:55:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:55:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:27 provisioning config files... 17:55:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3188650610079903553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:27 ---> docker-login.sh 17:55:27 nexus3.edgexfoundry.org:10001 17:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:28 Configure a credential helper to remove this warning. See 17:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:28 17:55:28 Login Succeeded 17:55:28 nexus3.edgexfoundry.org:10002 17:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:28 Configure a credential helper to remove this warning. See 17:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:28 17:55:28 Login Succeeded 17:55:28 nexus3.edgexfoundry.org:10003 17:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:28 Configure a credential helper to remove this warning. See 17:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:28 17:55:28 Login Succeeded 17:55:28 nexus3.edgexfoundry.org:10004 17:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:29 Configure a credential helper to remove this warning. See 17:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:29 17:55:29 Login Succeeded 17:55:29 docker.io 17:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:29 Configure a credential helper to remove this warning. See 17:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:29 17:55:29 Login Succeeded 17:55:29 ---> docker-login.sh ends [Pipeline] } 17:55:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:55:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:30 ========================================================= 17:55:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:55:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:55:30 Sending build context to Docker daemon 11.85MB 17:55:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:55:30 Step 2/12 : FROM ${BASE} AS builder 17:55:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:55:30 9b18e9b68314: Pulling fs layer 17:55:30 35d82f9e3411: Pulling fs layer 17:55:30 e16973657156: Pulling fs layer 17:55:30 fc693d55d65f: Pulling fs layer 17:55:30 7e9fc2657dce: Pulling fs layer 17:55:30 dda99020689f: Pulling fs layer 17:55:30 db1c61fa0a46: Pulling fs layer 17:55:30 891c053d2c06: Pulling fs layer 17:55:30 fc693d55d65f: Waiting 17:55:30 7e9fc2657dce: Waiting 17:55:30 dda99020689f: Waiting 17:55:30 db1c61fa0a46: Waiting 17:55:30 891c053d2c06: Waiting 17:55:30 e16973657156: Download complete 17:55:30 35d82f9e3411: Download complete 17:55:30 7e9fc2657dce: Verifying Checksum 17:55:30 7e9fc2657dce: Download complete 17:55:30 9b18e9b68314: Verifying Checksum 17:55:30 9b18e9b68314: Download complete 17:55:30 dda99020689f: Verifying Checksum 17:55:30 dda99020689f: Download complete 17:55:31 9b18e9b68314: Pull complete 17:55:32 891c053d2c06: Verifying Checksum 17:55:32 891c053d2c06: Download complete 17:55:32 35d82f9e3411: Pull complete 17:55:32 e16973657156: Pull complete 17:55:33 db1c61fa0a46: Verifying Checksum 17:55:33 db1c61fa0a46: Download complete 17:55:33 fc693d55d65f: Verifying Checksum 17:55:33 fc693d55d65f: Download complete 17:55:46 fc693d55d65f: Pull complete 17:55:46 7e9fc2657dce: Pull complete 17:55:46 dda99020689f: Pull complete 17:55:54 db1c61fa0a46: Pull complete 17:55:55 891c053d2c06: Pull complete 17:55:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:55:55 ---> f96f9c87975a 17:55:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:55:57 ---> Running in 584c16b741db 17:55:57 Removing intermediate container 584c16b741db 17:55:57 ---> ccf9a6011736 17:55:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:55:57 ---> Running in 340380ec444b 17:55:57 Removing intermediate container 340380ec444b 17:55:57 ---> c8a737071e0c 17:55:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:55:57 ---> Running in a6c9748cb2cc 17:55:58 Removing intermediate container a6c9748cb2cc 17:55:58 ---> 3ceb209b0c03 17:55:58 Step 6/12 : WORKDIR /device-virtual-go 17:55:58 ---> Running in 92d3f344af90 17:55:58 Removing intermediate container 92d3f344af90 17:55:58 ---> c5aebe466f58 17:55:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:58 ---> Running in 0a2bcc1d5706 17:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:56:00 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:56:01 (2/4) Installing libedit (20210910.3.1-r0) 17:56:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:56:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:56:01 Executing busybox-1.35.0-r17.trigger 17:56:01 OK: 226 MiB in 55 packages 17:56:02 Removing intermediate container 0a2bcc1d5706 17:56:02 ---> e91f8533e513 17:56:02 Step 8/12 : COPY go.mod vendor* ./ 17:56:02 ---> b6c080338e5c 17:56:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:02 ---> Running in 2731ebfaad0d 17:56:59 Removing intermediate container 2731ebfaad0d 17:56:59 ---> cf47323ebb5a 17:56:59 Step 10/12 : COPY . . 17:56:59 ---> 081d71c036b7 17:56:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:59 ---> Running in dfaf716c6f07 17:56:59 Removing intermediate container dfaf716c6f07 17:56:59 ---> 9f227ab87c63 17:56:59 Step 12/12 : RUN $MAKE 17:56:59 ---> Running in a2d23c7948e6 17:56:59 noop 17:56:59 Removing intermediate container a2d23c7948e6 17:56:59 ---> 597d6a0a2217 17:56:59 Successfully built 597d6a0a2217 17:56:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:59 + docker inspect -f . ci-base-image-arm64 17:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:59 prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container 17:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat 17:57:01 $ docker top 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:01 + go version 17:57:01 go version go1.18.7 linux/arm64 [Pipeline] } 17:57:02 $ docker stop --time=1 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc 17:57:03 $ docker rm -f --volumes 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:04 + docker inspect -f . ci-base-image-arm64 17:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container 17:57: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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat 17:57:07 $ docker top 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:08 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 17:57:09 + make test 17:57:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:57:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:58:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:58:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.120s coverage: 65.7% of statements 17:58:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:58:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:58:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:58:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:58:45 ./bin/test-attribution-txt.sh [Pipeline] echo 17:58:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:58:45 $ docker stop --time=1 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 17:58:47 $ docker rm -f --volumes 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:58:48 Warning: overwriting stash ‘coverage-report’ 17:58:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:58:49 + ls -al . 17:58:49 total 200 17:58:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:57 . 17:58:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:54 .. 17:58:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:55 .git 17:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 .github 17:58:49 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:55 .gitignore 17:58:49 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:55 .golangci.yml 17:58:49 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:55 Attribution.txt 17:58:49 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:55 CHANGELOG.md 17:58:49 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:55 Dockerfile 17:58:49 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:55 GOVERNANCE.md 17:58:49 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:55 Jenkinsfile 17:58:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:55 LICENSE 17:58:49 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:55 Makefile 17:58:49 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:55 OWNERS.md 17:58:49 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:55 README.md 17:58:49 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:53 VERSION 17:58:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:55 bin 17:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 cmd 17:58:49 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:58 coverage.out 17:58:49 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:55 go.mod 17:58:49 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:55 go.sum 17:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 internal 17:58:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:55 snap 17:58:49 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:49 + 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=9c4b646866407ddf8f0af98db0b309af843b4dee --label arch=arm64 --label version=0.0.0 . 17:58:49 Sending build context to Docker daemon 11.9MB 17:58:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:58:49 Step 2/25 : FROM ${BASE} AS builder 17:58:49 ---> 597d6a0a2217 17:58:49 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:58:50 ---> Running in 61b4ea897236 17:58:50 Removing intermediate container 61b4ea897236 17:58:50 ---> 82e03a5238c1 17:58:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:58:50 ---> Running in c13b719a806f 17:58:50 Removing intermediate container c13b719a806f 17:58:50 ---> e99189da0c4e 17:58:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:58:50 ---> Running in 52d7cdd36640 17:58:50 Removing intermediate container 52d7cdd36640 17:58:50 ---> cacb211ef424 17:58:50 Step 6/25 : WORKDIR /device-virtual-go 17:58:50 ---> Running in 94003e805e25 17:58:51 Removing intermediate container 94003e805e25 17:58:51 ---> 8083f3c8ff5b 17:58:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:51 ---> Running in 89951a7fc033 17:58:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:58:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:58:53 OK: 226 MiB in 55 packages 17:58:54 Removing intermediate container 89951a7fc033 17:58:54 ---> 81e795bac663 17:58:54 Step 8/25 : COPY go.mod vendor* ./ 17:58:54 ---> 98ab22a92382 17:58:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:54 ---> Running in ba2d79e51156 17:58:56 Removing intermediate container ba2d79e51156 17:58:56 ---> 150d30752698 17:58:56 Step 10/25 : COPY . . 17:58:57 ---> e70dbd9bb44e 17:58:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:57 ---> Running in 64795ab349cc 17:58:57 Removing intermediate container 64795ab349cc 17:58:57 ---> fb136d2182e2 17:58:57 Step 12/25 : RUN $MAKE 17:58:57 ---> Running in c6af1ab21800 17:58:58 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:01:20 Removing intermediate container c6af1ab21800 18:01:20 ---> cae6e91653af 18:01:20 Step 13/25 : FROM alpine:3.16 18:01:20 3.16: Pulling from library/alpine 18:01:20 6875df1f5354: Pulling fs layer 18:01:20 6875df1f5354: Download complete 18:01:20 6875df1f5354: Pull complete 18:01:20 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:01:20 Status: Downloaded newer image for alpine:3.16 18:01:20 ---> 2b4661558fb8 18:01:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:01:20 ---> Running in d542636ff746 18:01:20 Removing intermediate container d542636ff746 18:01:20 ---> 8f1e51145320 18:01:20 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:01:20 ---> Running in 038f92f2d89f 18:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:01:20 (1/6) Installing dumb-init (1.2.5-r1) 18:01:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:01:20 (3/6) Installing libsodium (1.0.18-r0) 18:01:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:01:20 (5/6) Installing libzmq (4.3.4-r0) 18:01:20 (6/6) Installing zeromq (4.3.4-r0) 18:01:20 Executing busybox-1.35.0-r17.trigger 18:01:20 OK: 8 MiB in 20 packages 18:01:20 Removing intermediate container 038f92f2d89f 18:01:20 ---> 2ace587b51ac 18:01:20 Step 16/25 : WORKDIR / 18:01:20 ---> Running in 39e237ab96b2 18:01:20 Removing intermediate container 39e237ab96b2 18:01:20 ---> 74a0be91e688 18:01:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:01:21 ---> cb1a748cc168 18:01:21 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:01:21 ---> f2ddd28a59d9 18:01:21 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:01:23 ---> 57d85581785e 18:01:23 Step 20/25 : EXPOSE 59900 18:01:23 ---> Running in 39df07988325 18:01:23 Removing intermediate container 39df07988325 18:01:23 ---> de979cc238dd 18:01:23 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:01:23 ---> Running in c06558edea66 18:01:23 Removing intermediate container c06558edea66 18:01:23 ---> b5cfbafe5723 18:01:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:01:23 ---> Running in 6d3bb0358c55 18:01:23 Removing intermediate container 6d3bb0358c55 18:01:23 ---> b5ad67812b09 18:01:23 Step 23/25 : LABEL arch=arm64 18:01:23 ---> Running in 62d557d43d8f 18:01:24 Removing intermediate container 62d557d43d8f 18:01:24 ---> e629ec96bb95 18:01:24 Step 24/25 : LABEL git_sha=9c4b646866407ddf8f0af98db0b309af843b4dee 18:01:24 ---> Running in 54385ed442fd 18:01:24 Removing intermediate container 54385ed442fd 18:01:24 ---> 57eb5519a56a 18:01:24 Step 25/25 : LABEL version=0.0.0 18:01:24 ---> Running in 016360472f63 18:01:25 Removing intermediate container 016360472f63 18:01:25 ---> 0e690b8fcdd3 18:01:25 [Warning] One or more build-args [ARCH] were not consumed 18:01:25 Successfully built 0e690b8fcdd3 18:01:25 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:25 18:01:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:25 arm64: Pulling from edgex-lftools-log-publisher 18:01:25 8998bd30e6a1: Pulling fs layer 18:01:25 04944245beec: Pulling fs layer 18:01:25 699f458cf7ca: Pulling fs layer 18:01:25 765212b225bb: Pulling fs layer 18:01:25 f23df028b6ca: Pulling fs layer 18:01:25 d65c8cfc05b1: Pulling fs layer 18:01:25 2437ff75d9bd: Pulling fs layer 18:01:25 f23df028b6ca: Waiting 18:01:25 d65c8cfc05b1: Waiting 18:01:25 2437ff75d9bd: Waiting 18:01:25 765212b225bb: Waiting 18:01:26 04944245beec: Verifying Checksum 18:01:26 04944245beec: Download complete 18:01:26 765212b225bb: Verifying Checksum 18:01:26 765212b225bb: Download complete 18:01:26 f23df028b6ca: Verifying Checksum 18:01:26 f23df028b6ca: Download complete 18:01:26 d65c8cfc05b1: Verifying Checksum 18:01:26 d65c8cfc05b1: Download complete 18:01:26 699f458cf7ca: Verifying Checksum 18:01:26 699f458cf7ca: Download complete 18:01:26 8998bd30e6a1: Verifying Checksum 18:01:26 8998bd30e6a1: Download complete 18:01:28 2437ff75d9bd: Verifying Checksum 18:01:28 2437ff75d9bd: Download complete 18:01:30 8998bd30e6a1: Pull complete 18:01:30 04944245beec: Pull complete 18:01:31 699f458cf7ca: Pull complete 18:01:31 765212b225bb: Pull complete 18:01:32 f23df028b6ca: Pull complete 18:01:32 d65c8cfc05b1: Pull complete 18:01:45 2437ff75d9bd: Pull complete 18:01:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:45 prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container 18:01:45 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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:arm64 cat 18:01:47 $ docker top cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:48 ---> job-cost.sh 18:01:48 lf-activate-venv: SKIPPING 18:01:48 INFO: No Stack... 18:01:48 INFO: Retrieving Pricing Info for: v3-standard-4 18:01:49 INFO: Archiving Costs [Pipeline] sh 18:01:49 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 18:01:49 + cut -d, -f6 [Pipeline] lock 18:01:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] 18:01:50 Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] did not exist. Created. 18:01:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:50 /w/workspace/device-virtual-go/2@tmp/durable-b9e384bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:01:51 + echo total: 0.10999999940395355 [Pipeline] stash 18:01:51 Warning: overwriting stash ‘stack-cost’ 18:01:51 Stashed 1 file(s) [Pipeline] } 18:01:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:01:51 $ docker stop --time=1 cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d 18:01:52 $ docker rm -f --volumes cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:01:53 provisioning config files... 18:01:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12498881320686502933tmp [Pipeline] { [Pipeline] sh 18:01:53 + set +x 18:01:53 + curl -s https://codecov.io/bash 18:01:53 + bash -s -- 18:01:53 18:01:53 _____ _ 18:01:53 / ____| | | 18:01:53 | | ___ __| | ___ ___ _____ __ 18:01:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:01:53 | |___| (_) | (_| | __/ (_| (_) \ V / 18:01:53 \_____\___/ \__,_|\___|\___\___/ \_/ 18:01:53 Bash-1.0.6 18:01:53 18:01:53 18:01:53 ==> git version 2.25.1 found 18:01:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:01:53 Release-Date: 2020-01-08 18:01:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:01:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:01:53 ==> Jenkins CI detected. 18:01:53 current dir:  /w/workspace/foundry_device-virtual-go_PR-323 18:01:53 project root: . 18:01:53 --> token set from env 18:01:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:01:53 ==> Running gcov in . (disable via -X gcov) 18:01:53 ==> Python coveragepy not found 18:01:53 ==> Searching for coverage reports in: 18:01:53 + . 18:01:53 -> Found 1 reports 18:01:53 ==> Detecting git/mercurial file structure 18:01:53 ==> Reading reports 18:01:53 + ./coverage.out bytes=44128 18:01:53 ==> Appending adjustments 18:01:53 https://docs.codecov.io/docs/fixing-reports 18:01:53 + Found adjustments 18:01:53 ==> Gzipping contents 18:01:53 8.0K /tmp/codecov.tEtxTU.gz 18:01:53 ==> Uploading reports 18:01:53 url: https://codecov.io 18:01:53 query: branch=PR-323&commit=9c4b646866407ddf8f0af98db0b309af843b4dee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= 18:01:53 -> Pinging Codecov 18:01:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-323&commit=9c4b646866407ddf8f0af98db0b309af843b4dee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= 18:01:53 -> Uploading to 18:01:53 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/9c4b646866407ddf8f0af98db0b309af843b4dee/7b516bc8-88d5-4bde-810c-3aebb1cba7f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T180153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8a19e6328d9ffe11d7913d9618e73deb2bdcc7571fbb71dcdb2fa40133cb9d2 18:01:54 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:54 Dload Upload Total Spent Left Speed 18:01:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5488 0 0 100 5488 0 24609 --:--:-- --:--:-- --:--:-- 24609 18:01:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] } 18:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:01:54 + [ -d /w/workspace/foundry_device-virtual-go_PR-323/archives ] 18:01:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives 18:01:54 total 16 18:01:54 drwxr-xr-x 3 root root 4096 Jan 3 17:54 . 18:01:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:54 .. 18:01:54 drwxr-xr-x 2 root root 4096 Jan 3 17:54 cost 18:01:54 -rw-r--r-- 1 root root 89 Jan 3 17:54 cost.csv 18:01:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-323/archives 18:01:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives 18:01:54 total 16 18:01:54 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:54 . 18:01:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:54 .. 18:01:54 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 17:54 cost 18:01:54 -rw-r--r-- 1 jenkins jenkins 89 Jan 3 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:01:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:56 ---> package-listing.sh 18:01:56 ++ facter osfamily 18:01:56 ++ tr '[:upper:]' '[:lower:]' 18:01:56 + OS_FAMILY=debian 18:01:56 + workspace=/w/workspace/foundry_device-virtual-go_PR-323 18:01:56 + START_PACKAGES=/tmp/packages_start.txt 18:01:56 + END_PACKAGES=/tmp/packages_end.txt 18:01:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:56 + PACKAGES=/tmp/packages_start.txt 18:01:56 + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' 18:01:56 + PACKAGES=/tmp/packages_end.txt 18:01:56 + case "${OS_FAMILY}" in 18:01:56 + grep '^ii' 18:01:56 + dpkg -l 18:01:56 + '[' -f /tmp/packages_start.txt ']' 18:01:56 + '[' -f /tmp/packages_end.txt ']' 18:01:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:56 + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' 18:01:56 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-323/archives/ 18:01:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-323/archives/ [Pipeline] echo 18:01:56 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-323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:01:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:57 prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container 18:01:57 $ 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-323/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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@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 18:01:57 $ docker top 9bcc31d1f3c2d2e109d0ad460e6729c114755248afbbc665557c09a730a4a60a -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:57 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:58 + mkdir -p /var/log/sysstat [Pipeline] sh 18:01:58 + ls /var/log/sa-host 18:01:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:58 provisioning config files... 18:01:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config16474311244203807874tmp [Pipeline] { [Pipeline] echo 18:01:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:58 ---> create-netrc.sh [Pipeline] } 18:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:01:59 ---> python-tools-install.sh [Pipeline] echo 18:01:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:59 ---> sudo-logs.sh 18:01:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:01:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:59 ---> job-cost.sh 18:01:59 lf-activate-venv: SKIPPING 18:01:59 DEBUG: total: 0.2199999988079071 18:01:59 INFO: Retrieving Stack Cost... 18:01:59 INFO: Retrieving Pricing Info for: v3-standard-8 18:02:00 INFO: Archiving Costs [Pipeline] echo 18:02:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:02:00 ---> logs-deploy.sh 18:02:00 lf-activate-venv: SKIPPING 18:02:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-323/2 18:02:00 INFO: archiving workspace using pattern(s): 18:02:01 Archives upload complete. 18:02:01 INFO: archiving logs to Nexus