Pull request #355 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 2792140bb3070a79365b077863fdf6b5434988de+0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (383dd03fe8d1797cc83615d87d0c1f80f428a0e8) 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-ssh6507343883933680254.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-ssh5591828497950914977.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-355/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-355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11334580435184937948.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-ssh5380631701046301208.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-355/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-355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8880690333241601388.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-9920 in /w/workspace/foundry_device-virtual-go_PR-355 [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-355 # 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/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2792140bb3070a79365b077863fdf6b5434988de Merge succeeded, producing 2792140bb3070a79365b077863fdf6b5434988de Checking out Revision 2792140bb3070a79365b077863fdf6b5434988de (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # 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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 Commit message: "refactor(snap): Remove external metadata sourcing" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:37 ========================================================= 17:21:37 EdgeX Global Pipelines Version Info 17:21:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:38 ------------------- 17:21:38 stable info: 17:21:38 ------------------- 17:21:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:38 Message: update stable to v1.0.244 17:21:38 ------------------- 17:21:38 experimental info: 17:21:38 ------------------- 17:21:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:21:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:21:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2792140 [Pipeline] echo 17:21:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:39 provisioning config files... 17:21:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config5215833264265076774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:39 ---> docker-login.sh 17:21:39 nexus3.edgexfoundry.org:10001 17:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:39 Configure a credential helper to remove this warning. See 17:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:39 17:21:39 Login Succeeded 17:21:39 nexus3.edgexfoundry.org:10002 17:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:39 Configure a credential helper to remove this warning. See 17:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:39 17:21:39 Login Succeeded 17:21:39 nexus3.edgexfoundry.org:10003 17:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:40 Configure a credential helper to remove this warning. See 17:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:40 17:21:40 Login Succeeded 17:21:40 nexus3.edgexfoundry.org:10004 17:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:40 Configure a credential helper to remove this warning. See 17:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:40 17:21:40 Login Succeeded 17:21:40 docker.io 17:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:40 Configure a credential helper to remove this warning. See 17:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:40 17:21:40 Login Succeeded 17:21:40 ---> docker-login.sh ends [Pipeline] } 17:21:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:21:40 + git rev-list -1 --merges 2792140bb3070a79365b077863fdf6b5434988de~1..2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo 17:21:40 -----------> git rev-list -1 --merges 2792140bb3070a79365b077863fdf6b5434988de~1..2792140bb3070a79365b077863fdf6b5434988de 2792140bb3070a79365b077863fdf6b5434988de [false] [Pipeline] sh 17:21:41 + git log --format=format:%s -1 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo 17:21:41 ========================================================= 17:21:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:21:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:41 + git log --format=format:%s -1 2792140bb3070a79365b077863fdf6b5434988de [Pipeline] echo 17:21:41 [semverPrep] GIT_COMMIT: 2792140bb3070a79365b077863fdf6b5434988de, Commit Message: refactor(snap): Remove external metadata sourcing [Pipeline] echo 17:21:41 [semverPrep] This is not a build commit. [Pipeline] sh 17:21:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:21:41 + grep -v github /etc/ssh/ssh_known_hosts 17:21:41 + [ -e /tmp/ssh_known_hosts ] 17:21:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:21:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:21:41 sudo tee -a /etc/ssh/ssh_known_hosts 17:21:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:42 17:21:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:42 0.1.4: Pulling from edgex-devops/py-git-semver 17:21:42 b85a868b505f: Pulling fs layer 17:21:42 e2be974225ed: Pulling fs layer 17:21:42 339a4e72a1f5: Pulling fs layer 17:21:42 988bab9f4d93: Pulling fs layer 17:21:42 1469e6f7b9e6: Pulling fs layer 17:21:42 eaf3925da568: Pulling fs layer 17:21:42 bab4dde63d76: Pulling fs layer 17:21:42 988bab9f4d93: Waiting 17:21:42 eaf3925da568: Waiting 17:21:42 bab4dde63d76: Waiting 17:21:42 bde34c3a00c8: Pulling fs layer 17:21:42 1469e6f7b9e6: Waiting 17:21:42 b352a97aabf1: Pulling fs layer 17:21:42 bde34c3a00c8: Waiting 17:21:42 b352a97aabf1: Waiting 17:21:42 4872d77fe225: Pulling fs layer 17:21:42 5851b861e8e6: Pulling fs layer 17:21:42 4872d77fe225: Waiting 17:21:42 e2be974225ed: Verifying Checksum 17:21:42 e2be974225ed: Download complete 17:21:42 988bab9f4d93: Download complete 17:21:42 1469e6f7b9e6: Verifying Checksum 17:21:42 1469e6f7b9e6: Download complete 17:21:42 eaf3925da568: Verifying Checksum 17:21:42 eaf3925da568: Download complete 17:21:42 339a4e72a1f5: Verifying Checksum 17:21:42 339a4e72a1f5: Download complete 17:21:42 bde34c3a00c8: Download complete 17:21:42 b352a97aabf1: Download complete 17:21:42 4872d77fe225: Verifying Checksum 17:21:42 4872d77fe225: Download complete 17:21:42 5851b861e8e6: Verifying Checksum 17:21:42 5851b861e8e6: Download complete 17:21:43 b85a868b505f: Verifying Checksum 17:21:43 b85a868b505f: Download complete 17:21:43 bab4dde63d76: Verifying Checksum 17:21:43 bab4dde63d76: Download complete 17:21:43 b85a868b505f: Pull complete 17:21:44 e2be974225ed: Pull complete 17:21:44 339a4e72a1f5: Pull complete 17:21:44 988bab9f4d93: Pull complete 17:21:44 1469e6f7b9e6: Pull complete 17:21:44 eaf3925da568: Pull complete 17:21:46 bab4dde63d76: Pull complete 17:21:46 bde34c3a00c8: Pull complete 17:21:46 b352a97aabf1: Pull complete 17:21:46 4872d77fe225: Pull complete 17:21:46 5851b861e8e6: Pull complete 17:21:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:21:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:46 prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container 17:21:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:21:50 $ docker top 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b -eo pid,comm 17:21:50 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:21:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:21:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:50 [ssh-agent] Looking for ssh-agent implementation... 17:21:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:50 $ docker exec 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent 17:21:50 SSH_AUTH_SOCK=/tmp/ssh-PZClRvbZDzqq/agent.32 17:21:50 SSH_AGENT_PID=38 17:21:50 Running ssh-add (command line suppressed) 17:21:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_2553764355462758470.key (/w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_2553764355462758470.key) 17:21:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:51 + git tag --points-at HEAD [Pipeline] } 17:21:51 $ docker exec --env ******** --env ******** 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent -k 17:21:51 unset SSH_AUTH_SOCK; 17:21:51 unset SSH_AGENT_PID; 17:21:51 echo Agent pid 38 killed; 17:21:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:21:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:51 [ssh-agent] Looking for ssh-agent implementation... 17:21:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:51 $ docker exec 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent 17:21:51 SSH_AUTH_SOCK=/tmp/ssh-i0xUQQBpGUjq/agent.70 17:21:51 SSH_AGENT_PID=76 17:21:51 Running ssh-add (command line suppressed) 17:21:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_9592099185841136714.key (/w/workspace/foundry_device-virtual-go_PR-355@tmp/private_key_9592099185841136714.key) 17:21:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:51 + git semver init 17:21:52 2023-03-13 17:21:52,099 [run_init] DEBUG init version:0.0.0 force:False 17:21:52 2023-03-13 17:21:52,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-355/.semver 17:21:52 2023-03-13 17:21:52,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-355/.semver 17:21:52 2023-03-13 17:21:52,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-355/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-355, universal_newlines=False, shell=None, istream=None) 17:21:53 2023-03-13 17:21:53,235 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-355/.git/info/exclude 17:21:53 2023-03-13 17:21:53,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 with force:False 17:21:53 2023-03-13 17:21:53,236 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 17:21:53 2023-03-13 17:21:53,241 [execute] INFO git cat-file --batch-check 17:21:53 2023-03-13 17:21:53,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) 17:21:53 2023-03-13 17:21:53,246 [execute] INFO git cat-file --batch 17:21:53 2023-03-13 17:21:53,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) 17:21:53 2023-03-13 17:21:53,251 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-355/.semver/PR-355 17:21:53 0.0.0 [Pipeline] } 17:21:53 $ docker exec --env ******** --env ******** 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b ssh-agent -k 17:21:53 unset SSH_AUTH_SOCK; 17:21:53 unset SSH_AGENT_PID; 17:21:53 echo Agent pid 76 killed; 17:21:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:53 + git semver [Pipeline] } 17:21:54 $ docker stop --time=1 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b 17:21:55 $ docker rm -f --volumes 8212f100fa1533be533924b3fdb8397e804e0ac61cd29ea497039ccf3e240e3b [Pipeline] // withDockerContainer [Pipeline] sh 17:21:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:21:56 Stashed 1 file(s) [Pipeline] echo 17:21:56 [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:21:56 provisioning config files... 17:21:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config13731584670509715169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:56 ---> docker-login.sh 17:21:56 nexus3.edgexfoundry.org:10001 17:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:56 Configure a credential helper to remove this warning. See 17:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:56 17:21:56 Login Succeeded 17:21:56 nexus3.edgexfoundry.org:10002 17:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:56 Configure a credential helper to remove this warning. See 17:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:56 17:21:56 Login Succeeded 17:21:56 nexus3.edgexfoundry.org:10003 17:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:56 Configure a credential helper to remove this warning. See 17:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:56 17:21:56 Login Succeeded 17:21:56 nexus3.edgexfoundry.org:10004 17:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:56 Configure a credential helper to remove this warning. See 17:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:56 17:21:56 Login Succeeded 17:21:56 docker.io 17:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:57 Configure a credential helper to remove this warning. See 17:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:57 17:21:57 Login Succeeded 17:21:57 ---> docker-login.sh ends [Pipeline] } 17:21:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:57 ========================================================= 17:21:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:21:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:57 + 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:21:57 Sending build context to Docker daemon 23.44MB 17:21:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:21:57 Step 2/12 : FROM ${BASE} AS builder 17:21:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:21:57 213ec9aee27d: Pulling fs layer 17:21:57 4583459ba037: Pulling fs layer 17:21:57 93c1e223e6f2: Pulling fs layer 17:21:57 53926ce57604: Pulling fs layer 17:21:57 21b2b0c7a3f4: Pulling fs layer 17:21:57 22ff95d597cd: Pulling fs layer 17:21:57 12d6caf4c0d1: Pulling fs layer 17:21:57 96b7cbca73a9: Pulling fs layer 17:21:57 a7acece74701: Pulling fs layer 17:21:57 22ff95d597cd: Waiting 17:21:57 96b7cbca73a9: Waiting 17:21:57 12d6caf4c0d1: Waiting 17:21:57 a7acece74701: Waiting 17:21:57 93c1e223e6f2: Verifying Checksum 17:21:57 93c1e223e6f2: Download complete 17:21:57 4583459ba037: Download complete 17:21:57 21b2b0c7a3f4: Download complete 17:21:57 22ff95d597cd: Verifying Checksum 17:21:57 22ff95d597cd: Download complete 17:21:57 213ec9aee27d: Verifying Checksum 17:21:57 213ec9aee27d: Download complete 17:21:57 12d6caf4c0d1: Download complete 17:21:57 213ec9aee27d: Pull complete 17:21:58 4583459ba037: Pull complete 17:21:58 93c1e223e6f2: Pull complete 17:21:58 a7acece74701: Verifying Checksum 17:21:58 a7acece74701: Download complete 17:21:59 53926ce57604: Verifying Checksum 17:21:59 53926ce57604: Download complete 17:21:59 96b7cbca73a9: Download complete 17:22:03 53926ce57604: Pull complete 17:22:03 21b2b0c7a3f4: Pull complete 17:22:03 22ff95d597cd: Pull complete 17:22:03 12d6caf4c0d1: Pull complete 17:22:04 96b7cbca73a9: Pull complete 17:22:05 a7acece74701: Pull complete 17:22:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:22:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:22:05 ---> db6d94c90886 17:22:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:22:10 ---> Running in 3c08461e401d 17:22:10 Removing intermediate container 3c08461e401d 17:22:10 ---> 7119694cf290 17:22:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:22:10 ---> Running in 621a18844c6f 17:22:10 Removing intermediate container 621a18844c6f 17:22:10 ---> e95523513784 17:22:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:22:10 ---> Running in 1c5b513940f6 17:22:10 Removing intermediate container 1c5b513940f6 17:22:10 ---> 39a7344c4b20 17:22:10 Step 6/12 : WORKDIR /device-virtual-go 17:22:10 ---> Running in f01676a5cc47 17:22:10 Removing intermediate container f01676a5cc47 17:22:10 ---> cea54a71364e 17:22:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:11 ---> Running in 28d2f12ffc64 17:22:11 Still waiting to schedule task 17:22:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:22:11 (2/4) Installing libedit (20210910.3.1-r0) 17:22:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:22:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:22:11 Executing busybox-1.35.0-r17.trigger 17:22:11 OK: 216 MiB in 55 packages 17:22:12 Removing intermediate container 28d2f12ffc64 17:22:12 ---> 0893aa19662c 17:22:12 Step 8/12 : COPY go.mod vendor* ./ 17:22:12 ---> ace090c9f2f8 17:22:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:12 ---> Running in 7018f50efc5c 17:22:44 Removing intermediate container 7018f50efc5c 17:22:44 ---> cdccdd2b1c83 17:22:44 Step 10/12 : COPY . . 17:22:44 ---> a0b6dd6a72d8 17:22:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:44 ---> Running in 456892de997d 17:22:44 Removing intermediate container 456892de997d 17:22:44 ---> e48aecaf64c0 17:22:44 Step 12/12 : RUN $MAKE 17:22:44 ---> Running in 22a131921731 17:22:44 noop 17:22:44 Removing intermediate container 22a131921731 17:22:44 ---> 9e8fb3523ebe 17:22:44 Successfully built 9e8fb3523ebe 17:22:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:45 + docker inspect -f . ci-base-image-x86_64 17:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:45 prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container 17:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** ci-base-image-x86_64 cat 17:22:45 $ docker top bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:45 + go version 17:22:45 go version go1.18.7 linux/amd64 [Pipeline] } 17:22:45 $ docker stop --time=1 bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 17:22:47 $ docker rm -f --volumes bf02a5de91dc041d439b54debb2f3f9d3e74eb4d47fab553657216f04c55f3c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:47 + docker inspect -f . ci-base-image-x86_64 17:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:47 prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container 17:22:47 $ 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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** ci-base-image-x86_64 cat 17:22:48 $ docker top 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:48 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-355 [Pipeline] fileExists [Pipeline] sh 17:22:48 + make test 17:22:48 go test ./... -coverprofile=coverage.out 17:22:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:22:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:22:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements 17:23:05 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:23:05 go vet ./... 17:23:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:09 $ docker stop --time=1 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 17:23:12 $ docker rm -f --volumes 617c2132d26bef93f98ebddcaf9aa8e6957c79d9dc122225243a71db63179c12 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:13 + ls -al . 17:23:13 total 192 17:23:13 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:22 . 17:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:21 .. 17:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:22 .git 17:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 .github 17:23:13 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 17:21 .gitignore 17:23:13 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 17:21 .golangci.yml 17:23:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:21 .semver 17:23:13 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 17:21 Attribution.txt 17:23:13 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 17:21 CHANGELOG.md 17:23:13 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 17:21 Dockerfile 17:23:13 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:21 GOVERNANCE.md 17:23:13 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 17:21 Jenkinsfile 17:23:13 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 17:21 LICENSE 17:23:13 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 17:21 Makefile 17:23:13 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 17:21 OWNERS.md 17:23:13 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 17:21 README.md 17:23:13 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:21 VERSION 17:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:21 bin 17:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 cmd 17:23:13 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 17:22 coverage.out 17:23:13 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 17:21 go.mod 17:23:13 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 17:21 go.sum 17:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:21 internal 17:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:21 snap 17:23:13 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:14 + 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=2792140bb3070a79365b077863fdf6b5434988de --label arch=amd64 --label version=0.0.0 . 17:23:14 Sending build context to Docker daemon 23.48MB 17:23:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:23:14 Step 2/25 : FROM ${BASE} AS builder 17:23:14 ---> 9e8fb3523ebe 17:23:14 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:23:14 ---> Running in f055af7d5b8b 17:23:14 Removing intermediate container f055af7d5b8b 17:23:14 ---> 6e7f7bb3b4bb 17:23:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:23:14 ---> Running in a9ecaf796256 17:23:14 Removing intermediate container a9ecaf796256 17:23:14 ---> aea3cedb4476 17:23:14 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:23:14 ---> Running in 6bcf43ee2bf5 17:23:14 Removing intermediate container 6bcf43ee2bf5 17:23:14 ---> f448d6ab2513 17:23:14 Step 6/25 : WORKDIR /device-virtual-go 17:23:14 ---> Running in 4e2295166580 17:23:14 Removing intermediate container 4e2295166580 17:23:14 ---> c5ad59aa4b33 17:23:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:14 ---> Running in ac6042d1097c 17:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:15 OK: 216 MiB in 55 packages 17:23:15 Removing intermediate container ac6042d1097c 17:23:15 ---> b8434016d058 17:23:15 Step 8/25 : COPY go.mod vendor* ./ 17:23:15 ---> 3d41c65b8c88 17:23:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:15 ---> Running in 988cfae9f921 17:23:16 Removing intermediate container 988cfae9f921 17:23:16 ---> b90e0c1cf94e 17:23:16 Step 10/25 : COPY . . 17:23:17 ---> 76444fe111f4 17:23:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:17 ---> Running in 609a8ba1ce41 17:23:17 Removing intermediate container 609a8ba1ce41 17:23:17 ---> a9226cdd2615 17:23:17 Step 12/25 : RUN $MAKE 17:23:17 ---> Running in 0c9ee238107d 17:23:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 17:23:39 Removing intermediate container 0c9ee238107d 17:23:39 ---> 4e677a669882 17:23:39 Step 13/25 : FROM alpine:3.16 17:23:39 3.16: Pulling from library/alpine 17:23:39 ef5531b6e74e: Pulling fs layer 17:23:39 ef5531b6e74e: Download complete 17:23:39 ef5531b6e74e: Pull complete 17:23:39 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:23:39 Status: Downloaded newer image for alpine:3.16 17:23:39 ---> dfd21b5a31f5 17:23:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:23:39 ---> Running in 15cd74fb89ef 17:23:39 Removing intermediate container 15cd74fb89ef 17:23:39 ---> 1032838b58ca 17:23:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:23:39 ---> Running in 5109675aedd3 17:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:39 (1/1) Installing dumb-init (1.2.5-r1) 17:23:39 Executing busybox-1.35.0-r17.trigger 17:23:39 OK: 6 MiB in 15 packages 17:23:39 Removing intermediate container 5109675aedd3 17:23:39 ---> e3eb325f5f76 17:23:39 Step 16/25 : WORKDIR / 17:23:39 ---> Running in 321f8fe853c1 17:23:39 Removing intermediate container 321f8fe853c1 17:23:39 ---> ec60884b2a8d 17:23:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:23:40 ---> 35e2c57fc491 17:23:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:23:40 ---> 522ef101af5b 17:23:40 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:23:41 ---> ae878382fd23 17:23:41 Step 20/25 : EXPOSE 59900 17:23:41 ---> Running in 5d6abcfed023 17:23:41 Removing intermediate container 5d6abcfed023 17:23:41 ---> 2648ef026287 17:23:41 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:23:41 ---> Running in 270fcc4edd6f 17:23:41 Removing intermediate container 270fcc4edd6f 17:23:41 ---> 38c22303c76f 17:23:41 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:23:41 ---> Running in 467d174e78fc 17:23:41 Removing intermediate container 467d174e78fc 17:23:41 ---> 7f977ea0af2c 17:23:41 Step 23/25 : LABEL arch=amd64 17:23:41 ---> Running in 5bdcffb3756a 17:23:41 Removing intermediate container 5bdcffb3756a 17:23:41 ---> 6b107cd41f73 17:23:41 Step 24/25 : LABEL git_sha=2792140bb3070a79365b077863fdf6b5434988de 17:23:41 ---> Running in 0ca64f1a111e 17:23:41 Removing intermediate container 0ca64f1a111e 17:23:41 ---> 0b04191ced12 17:23:41 Step 25/25 : LABEL version=0.0.0 17:23:41 ---> Running in 21b6ccaf76b6 17:23:41 Removing intermediate container 21b6ccaf76b6 17:23:41 ---> bb74433892bb 17:23:41 [Warning] One or more build-args [ARCH] were not consumed 17:23:41 Successfully built bb74433892bb 17:23:41 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:42 17:23:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:42 latest: Pulling from edgex-lftools-log-publisher 17:23:42 5eb5b503b376: Pulling fs layer 17:23:42 5c69ac0246d0: Pulling fs layer 17:23:42 ec43610c2a17: Pulling fs layer 17:23:42 3a2ae6a8a46f: Pulling fs layer 17:23:42 33b1e0a273af: Pulling fs layer 17:23:42 5d3b04190fa2: Pulling fs layer 17:23:42 33b1e0a273af: Waiting 17:23:42 2f39f015ded8: Pulling fs layer 17:23:42 5d3b04190fa2: Waiting 17:23:42 2f39f015ded8: Waiting 17:23:42 5c69ac0246d0: Verifying Checksum 17:23:42 5c69ac0246d0: Download complete 17:23:42 3a2ae6a8a46f: Download complete 17:23:42 33b1e0a273af: Verifying Checksum 17:23:42 33b1e0a273af: Download complete 17:23:42 5d3b04190fa2: Verifying Checksum 17:23:42 5d3b04190fa2: Download complete 17:23:42 ec43610c2a17: Verifying Checksum 17:23:42 ec43610c2a17: Download complete 17:23:42 5eb5b503b376: Verifying Checksum 17:23:42 5eb5b503b376: Download complete 17:23:43 2f39f015ded8: Verifying Checksum 17:23:43 2f39f015ded8: Download complete 17:23:44 5eb5b503b376: Pull complete 17:23:44 5c69ac0246d0: Pull complete 17:23:44 ec43610c2a17: Pull complete 17:23:44 3a2ae6a8a46f: Pull complete 17:23:44 33b1e0a273af: Pull complete 17:23:44 5d3b04190fa2: Pull complete 17:23:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9922 in /w/workspace/foundry_device-virtual-go_PR-355 [Pipeline] { [Pipeline] ws 17:23:45 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 17:23:45 The recommended git tool is: git 17:23:48 2f39f015ded8: Pull complete 17:23:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:48 prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container 17:23:48 $ 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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:23:50 using credential edgex-jenkins-ssh 17:23:50 Cloning the remote Git repository 17:23:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:23:50 > git init /w/workspace/device-virtual-go/2 # timeout=10 17:23:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:23:52 > git --version # timeout=10 17:23:52 > git --version # 'git version 2.25.1' 17:23:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:53 $ docker top fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:23:54 ---> job-cost.sh 17:23:54 lf-activate-venv: SKIPPING 17:23:54 INFO: No Stack... 17:23:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:54 INFO: Archiving Costs [Pipeline] sh 17:23:55 + cat /w/workspace/foundry_device-virtual-go_PR-355/archives/cost.csv 17:23:55 + cut -d, -f6 [Pipeline] lock 17:23:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] 17:23:55 Resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] did not exist. Created. 17:23:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:23:55 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:55 Stashed 1 file(s) [Pipeline] } 17:23:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:23:55 $ docker stop --time=1 fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd 17:23:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:23:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:23:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:23:55 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2792140bb3070a79365b077863fdf6b5434988de 17:23:55 Merge succeeded, producing 2792140bb3070a79365b077863fdf6b5434988de 17:23:55 Checking out Revision 2792140bb3070a79365b077863fdf6b5434988de (PR-355) 17:23:56 $ docker rm -f --volumes fa48736c6cec7582b5e3495f608adefcc17abc827ead8da0e7635bd6a7873fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:23:55 > git config core.sparsecheckout # timeout=10 17:23:55 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 17:23:55 > git remote # timeout=10 17:23:55 > git config --get remote.origin.url # timeout=10 17:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:55 > git merge 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 17:23:55 > git rev-parse HEAD^{commit} # timeout=10 17:23:55 > git config core.sparsecheckout # timeout=10 17:23:55 > git checkout -f 2792140bb3070a79365b077863fdf6b5434988de # timeout=10 17:23:59 Commit message: "refactor(snap): Remove external metadata sourcing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:00 Dload Upload Total Spent Left Speed 17:24:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 17:24:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:24:01 + sudo tee /etc/docker/daemon.new 17:24:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:24:01 { 17:24:01 "registry-mirrors": [ 17:24:01 "https://nexus3.edgexfoundry.org:10001" 17:24:01 ], 17:24:01 "bip": "10.250.0.254/24", 17:24:01 "hosts": [ 17:24:01 "tcp://0.0.0.0:5555", 17:24:01 "unix:///var/run/docker.sock" 17:24:01 ], 17:24:01 "mtu": 1458, 17:24:01 "selinux-enabled": true, 17:24:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:24:01 } [Pipeline] sh 17:24:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:24:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:20 provisioning config files... 17:24:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14013247444110825824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:20 ---> docker-login.sh 17:24:20 nexus3.edgexfoundry.org:10001 17:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:21 Configure a credential helper to remove this warning. See 17:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:21 17:24:21 Login Succeeded 17:24:21 nexus3.edgexfoundry.org:10002 17:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:21 Configure a credential helper to remove this warning. See 17:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:21 17:24:21 Login Succeeded 17:24:21 nexus3.edgexfoundry.org:10003 17:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:21 Configure a credential helper to remove this warning. See 17:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:21 17:24:21 Login Succeeded 17:24:21 nexus3.edgexfoundry.org:10004 17:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:22 Configure a credential helper to remove this warning. See 17:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:22 17:24:22 Login Succeeded 17:24:22 docker.io 17:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:22 Configure a credential helper to remove this warning. See 17:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:22 17:24:22 Login Succeeded 17:24:22 ---> docker-login.sh ends [Pipeline] } 17:24:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:22 ========================================================= 17:24:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:24:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:23 + 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:24:23 Sending build context to Docker daemon 11.87MB 17:24:23 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:24:23 Step 2/12 : FROM ${BASE} AS builder 17:24:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:24:23 9b18e9b68314: Pulling fs layer 17:24:23 35d82f9e3411: Pulling fs layer 17:24:23 e16973657156: Pulling fs layer 17:24:23 fc693d55d65f: Pulling fs layer 17:24:23 7e9fc2657dce: Pulling fs layer 17:24:23 dda99020689f: Pulling fs layer 17:24:23 db1c61fa0a46: Pulling fs layer 17:24:23 891c053d2c06: Pulling fs layer 17:24:23 fc693d55d65f: Waiting 17:24:23 7e9fc2657dce: Waiting 17:24:23 dda99020689f: Waiting 17:24:23 db1c61fa0a46: Waiting 17:24:23 891c053d2c06: Waiting 17:24:23 e16973657156: Verifying Checksum 17:24:23 e16973657156: Download complete 17:24:23 35d82f9e3411: Verifying Checksum 17:24:23 35d82f9e3411: Download complete 17:24:23 7e9fc2657dce: Verifying Checksum 17:24:23 7e9fc2657dce: Download complete 17:24:23 dda99020689f: Download complete 17:24:23 9b18e9b68314: Verifying Checksum 17:24:23 9b18e9b68314: Download complete 17:24:24 9b18e9b68314: Pull complete 17:24:25 891c053d2c06: Verifying Checksum 17:24:25 891c053d2c06: Download complete 17:24:25 35d82f9e3411: Pull complete 17:24:25 e16973657156: Pull complete 17:24:26 db1c61fa0a46: Verifying Checksum 17:24:26 db1c61fa0a46: Download complete 17:24:26 fc693d55d65f: Verifying Checksum 17:24:26 fc693d55d65f: Download complete 17:24:39 fc693d55d65f: Pull complete 17:24:39 7e9fc2657dce: Pull complete 17:24:39 dda99020689f: Pull complete 17:24:45 db1c61fa0a46: Pull complete 17:24:47 891c053d2c06: Pull complete 17:24:47 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:24:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:24:47 ---> f96f9c87975a 17:24:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:24:49 ---> Running in 5b991341f82e 17:24:49 Removing intermediate container 5b991341f82e 17:24:49 ---> 8d0ed8c30f34 17:24:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:24:49 ---> Running in 4f1b93e1c8fd 17:24:49 Removing intermediate container 4f1b93e1c8fd 17:24:49 ---> 47991efac4c1 17:24:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:24:50 ---> Running in 3eac925137b9 17:24:50 Removing intermediate container 3eac925137b9 17:24:50 ---> 6c3b50427ef5 17:24:50 Step 6/12 : WORKDIR /device-virtual-go 17:24:50 ---> Running in b95f8f27e9a2 17:24:50 Removing intermediate container b95f8f27e9a2 17:24:50 ---> d9a5055b1151 17:24:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:50 ---> Running in 7fcf5577b444 17:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:24:52 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:24:52 (2/4) Installing libedit (20210910.3.1-r0) 17:24:52 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:24:52 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:24:52 Executing busybox-1.35.0-r17.trigger 17:24:52 OK: 226 MiB in 55 packages 17:24:54 Removing intermediate container 7fcf5577b444 17:24:54 ---> 6406ccf774b3 17:24:54 Step 8/12 : COPY go.mod vendor* ./ 17:24:54 ---> 940884248b2f 17:24:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:54 ---> Running in 072cf6ac4877 17:26:02 Removing intermediate container 072cf6ac4877 17:26:02 ---> 13dac2c92c05 17:26:02 Step 10/12 : COPY . . 17:26:02 ---> deebba26eec4 17:26:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:02 ---> Running in ae62998fb6c5 17:26:02 Removing intermediate container ae62998fb6c5 17:26:02 ---> adf0f33df788 17:26:02 Step 12/12 : RUN $MAKE 17:26:02 ---> Running in 44eec0d1913b 17:26:02 noop 17:26:02 Removing intermediate container 44eec0d1913b 17:26:02 ---> 982ad812f146 17:26:02 Successfully built 982ad812f146 17:26:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:02 + docker inspect -f . ci-base-image-arm64 17:26:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:03 prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container 17:26:03 $ 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 ******** ci-base-image-arm64 cat 17:26:04 $ docker top d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:04 + go version 17:26:04 go version go1.18.7 linux/arm64 [Pipeline] } 17:26:04 $ docker stop --time=1 d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 17:26:06 $ docker rm -f --volumes d11c206a8a3f8a0ae6ba89f44e2119a66e7f555f2276f29cac57b9162ed7be84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:07 + docker inspect -f . ci-base-image-arm64 17:26:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container 17:26:07 $ 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 ******** ci-base-image-arm64 cat 17:26:08 $ docker top a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:08 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 17:26:09 + make test 17:26:09 go test ./... -coverprofile=coverage.out 17:26:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:27:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:27:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.115s coverage: 65.7% of statements 17:27:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:27:32 go vet ./... 17:27:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:27:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:27:47 ./bin/test-attribution-txt.sh [Pipeline] echo 17:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:27:47 $ docker stop --time=1 a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 17:27:49 $ docker rm -f --volumes a4b17cf95f872b25d190043bf53e615ff6049418fc77dcc5209660f0b94b2083 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:27:50 Warning: overwriting stash ‘coverage-report’ 17:27:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:27:51 + ls -al . 17:27:51 total 188 17:27:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:26 . 17:27:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:23 .. 17:27:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 17:23 .git 17:27:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 .github 17:27:51 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 17:23 .gitignore 17:27:51 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 17:23 .golangci.yml 17:27:51 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 17:23 Attribution.txt 17:27:51 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 17:23 CHANGELOG.md 17:27:51 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 17:23 Dockerfile 17:27:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 17:23 GOVERNANCE.md 17:27:51 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 17:23 Jenkinsfile 17:27:51 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 17:23 LICENSE 17:27:51 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 17:23 Makefile 17:27:51 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 17:23 OWNERS.md 17:27:51 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 17:23 README.md 17:27:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 17:21 VERSION 17:27:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 17:23 bin 17:27:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 cmd 17:27:51 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 17:27 coverage.out 17:27:51 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 17:23 go.mod 17:27:51 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 17:23 go.sum 17:27:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 17:23 internal 17:27:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 17:23 snap 17:27:51 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:51 + 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=2792140bb3070a79365b077863fdf6b5434988de --label arch=arm64 --label version=0.0.0 . 17:27:51 Sending build context to Docker daemon 11.92MB 17:27:51 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:27:51 Step 2/25 : FROM ${BASE} AS builder 17:27:51 ---> 982ad812f146 17:27:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:27:52 ---> Running in 5b04409324cb 17:27:52 Removing intermediate container 5b04409324cb 17:27:52 ---> 13418438341e 17:27:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:27:52 ---> Running in af4b1de555ca 17:27:52 Removing intermediate container af4b1de555ca 17:27:52 ---> 582e49bfd34d 17:27:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:27:52 ---> Running in 3045c78be555 17:27:53 Removing intermediate container 3045c78be555 17:27:53 ---> 93796afaf607 17:27:53 Step 6/25 : WORKDIR /device-virtual-go 17:27:53 ---> Running in 8c348486b9cc 17:27:53 Removing intermediate container 8c348486b9cc 17:27:53 ---> 9753f665ec1a 17:27:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:53 ---> Running in 3f8fdf8e8115 17:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:27:55 OK: 226 MiB in 55 packages 17:27:56 Removing intermediate container 3f8fdf8e8115 17:27:56 ---> c63d62431288 17:27:56 Step 8/25 : COPY go.mod vendor* ./ 17:27:57 ---> e435d3cd8d88 17:27:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:57 ---> Running in f40f8d766f6b 17:27:59 Removing intermediate container f40f8d766f6b 17:27:59 ---> d78f4d311dcf 17:27:59 Step 10/25 : COPY . . 17:28:01 ---> 5f13009029f2 17:28:01 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:28:01 ---> Running in 24958639a0d4 17:28:01 Removing intermediate container 24958639a0d4 17:28:01 ---> 0da61c786871 17:28:01 Step 12/25 : RUN $MAKE 17:28:01 ---> Running in 9ceac23903a8 17:28:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 17:30:24 Removing intermediate container 9ceac23903a8 17:30:24 ---> 9ea3bf1815a4 17:30:24 Step 13/25 : FROM alpine:3.16 17:30:24 3.16: Pulling from library/alpine 17:30:24 3760b48202b3: Pulling fs layer 17:30:24 3760b48202b3: Verifying Checksum 17:30:24 3760b48202b3: Download complete 17:30:24 3760b48202b3: Pull complete 17:30:25 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:30:25 Status: Downloaded newer image for alpine:3.16 17:30:25 ---> 4c81e5bf8899 17:30:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:30:25 ---> Running in 93a802815d90 17:30:25 Removing intermediate container 93a802815d90 17:30:25 ---> 4be8685dafcf 17:30:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:30:25 ---> Running in 59e6b849b7e3 17:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:28 (1/1) Installing dumb-init (1.2.5-r1) 17:30:28 Executing busybox-1.35.0-r17.trigger 17:30:28 OK: 5 MiB in 15 packages 17:30:29 Removing intermediate container 59e6b849b7e3 17:30:29 ---> 354033b701ce 17:30:29 Step 16/25 : WORKDIR / 17:30:29 ---> Running in 51b19e7f49e5 17:30:29 Removing intermediate container 51b19e7f49e5 17:30:29 ---> 0f76d326ffcf 17:30:29 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:30:29 ---> a9f23e6aed50 17:30:29 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:30:30 ---> e868f90b16d3 17:30:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:30:31 ---> ee20af6d99ef 17:30:31 Step 20/25 : EXPOSE 59900 17:30:31 ---> Running in 762001468d45 17:30:31 Removing intermediate container 762001468d45 17:30:31 ---> 73354cae20cd 17:30:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:30:31 ---> Running in 0779b2a7c279 17:30:32 Removing intermediate container 0779b2a7c279 17:30:32 ---> 24ea8e28ce24 17:30:32 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:30:32 ---> Running in f6c365842737 17:30:32 Removing intermediate container f6c365842737 17:30:32 ---> c14263b838a3 17:30:32 Step 23/25 : LABEL arch=arm64 17:30:32 ---> Running in 8893f505c088 17:30:33 Removing intermediate container 8893f505c088 17:30:33 ---> 05b566ffe5bd 17:30:33 Step 24/25 : LABEL git_sha=2792140bb3070a79365b077863fdf6b5434988de 17:30:33 ---> Running in 6cf88c7a30cc 17:30:33 Removing intermediate container 6cf88c7a30cc 17:30:33 ---> bbbbf2d08918 17:30:33 Step 25/25 : LABEL version=0.0.0 17:30:33 ---> Running in d64b7d03c6b5 17:30:33 Removing intermediate container d64b7d03c6b5 17:30:33 ---> 7b4e1d03da8e 17:30:33 [Warning] One or more build-args [ARCH] were not consumed 17:30:33 Successfully built 7b4e1d03da8e 17:30:33 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 17:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:34 17:30:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:34 arm64: Pulling from edgex-lftools-log-publisher 17:30:34 8998bd30e6a1: Pulling fs layer 17:30:34 04944245beec: Pulling fs layer 17:30:34 699f458cf7ca: Pulling fs layer 17:30:34 765212b225bb: Pulling fs layer 17:30:34 f23df028b6ca: Pulling fs layer 17:30:34 d65c8cfc05b1: Pulling fs layer 17:30:34 2437ff75d9bd: Pulling fs layer 17:30:34 f23df028b6ca: Waiting 17:30:34 d65c8cfc05b1: Waiting 17:30:34 2437ff75d9bd: Waiting 17:30:34 765212b225bb: Waiting 17:30:34 04944245beec: Verifying Checksum 17:30:34 04944245beec: Download complete 17:30:34 765212b225bb: Verifying Checksum 17:30:34 765212b225bb: Download complete 17:30:34 f23df028b6ca: Verifying Checksum 17:30:34 f23df028b6ca: Download complete 17:30:34 d65c8cfc05b1: Verifying Checksum 17:30:34 d65c8cfc05b1: Download complete 17:30:34 699f458cf7ca: Verifying Checksum 17:30:34 699f458cf7ca: Download complete 17:30:35 8998bd30e6a1: Verifying Checksum 17:30:35 8998bd30e6a1: Download complete 17:30:37 2437ff75d9bd: Verifying Checksum 17:30:37 2437ff75d9bd: Download complete 17:30:39 8998bd30e6a1: Pull complete 17:30:39 04944245beec: Pull complete 17:30:40 699f458cf7ca: Pull complete 17:30:40 765212b225bb: Pull complete 17:30:41 f23df028b6ca: Pull complete 17:30:41 d65c8cfc05b1: Pull complete 17:30:56 2437ff75d9bd: Pull complete 17:30:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:30:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-9922 does not seem to be running inside a container 17:30:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:30:59 $ docker top bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:00 ---> job-cost.sh 17:31:00 lf-activate-venv: SKIPPING 17:31:00 INFO: No Stack... 17:31:00 INFO: Retrieving Pricing Info for: v3-standard-4 17:31:01 INFO: Archiving Costs [Pipeline] sh 17:31:01 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 17:31:01 + cut -d, -f6 [Pipeline] lock 17:31:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] 17:31:01 Resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] did not exist. Created. 17:31:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:02 /w/workspace/device-virtual-go/2@tmp/durable-a45f5bc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:31:03 + echo total: 0.10999999940395355 [Pipeline] stash 17:31:03 Warning: overwriting stash ‘stack-cost’ 17:31:03 Stashed 1 file(s) [Pipeline] } 17:31:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:03 $ docker stop --time=1 bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b 17:31:04 $ docker rm -f --volumes bd2c64d6d2f08d8b4221827409d40b67aa271dfc0cbf35139cc42c65cad4be7b [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 17:31:05 provisioning config files... 17:31:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config11031526614511822471tmp [Pipeline] { [Pipeline] sh 17:31:05 + set +x 17:31:05 + curl -s https://codecov.io/bash 17:31:05 + bash -s -- 17:31:05 17:31:05 _____ _ 17:31:05 / ____| | | 17:31:05 | | ___ __| | ___ ___ _____ __ 17:31:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:31:05 | |___| (_) | (_| | __/ (_| (_) \ V / 17:31:05 \_____\___/ \__,_|\___|\___\___/ \_/ 17:31:05 Bash-1.0.6 17:31:05 17:31:05 17:31:05 ==> git version 2.25.1 found 17:31:05 ==> 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 17:31:05 Release-Date: 2020-01-08 17:31:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:31:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:31:05 ==> Jenkins CI detected. 17:31:05 current dir:  /w/workspace/foundry_device-virtual-go_PR-355 17:31:05 project root: . 17:31:05 --> token set from env 17:31:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:31:05 ==> Running gcov in . (disable via -X gcov) 17:31:05 ==> Python coveragepy not found 17:31:05 ==> Searching for coverage reports in: 17:31:05 + . 17:31:05 -> Found 1 reports 17:31:05 ==> Detecting git/mercurial file structure 17:31:05 ==> Reading reports 17:31:05 + ./coverage.out bytes=44127 17:31:05 ==> Appending adjustments 17:31:05 https://docs.codecov.io/docs/fixing-reports 17:31:05 + Found adjustments 17:31:05 ==> Gzipping contents 17:31:05 8.0K /tmp/codecov.OKa4Vv.gz 17:31:05 ==> Uploading reports 17:31:05 url: https://codecov.io 17:31:05 query: branch=PR-355&commit=2792140bb3070a79365b077863fdf6b5434988de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=355&job=&cmd_args= 17:31:05 -> Pinging Codecov 17:31:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-355&commit=2792140bb3070a79365b077863fdf6b5434988de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=355&job=&cmd_args= 17:31:05 -> Uploading to 17:31:05 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/5E52B4B073DB2E39498172D8E973AA87/2792140bb3070a79365b077863fdf6b5434988de/e24c1f05-0d36-455a-8973-fd16890e0a5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T173105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf9db6fb15449bc086bb25057e67dad330212890446106af6dcae2568157a164 17:31:06 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:06 Dload Upload Total Spent Left Speed 17:31:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 23388 --:--:-- --:--:-- --:--:-- 23388 17:31:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2792140bb3070a79365b077863fdf6b5434988de [Pipeline] } 17:31:06 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 17:31:06 + [ -d /w/workspace/foundry_device-virtual-go_PR-355/archives ] 17:31:06 + ls -al /w/workspace/foundry_device-virtual-go_PR-355/archives 17:31:06 total 16 17:31:06 drwxr-xr-x 3 root root 4096 Mar 13 17:23 . 17:31:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:23 .. 17:31:06 drwxr-xr-x 2 root root 4096 Mar 13 17:23 cost 17:31:06 -rw-r--r-- 1 root root 89 Mar 13 17:23 cost.csv 17:31:06 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-355/archives 17:31:06 + ls -al /w/workspace/foundry_device-virtual-go_PR-355/archives 17:31:06 total 16 17:31:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 17:23 . 17:31:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 17:23 .. 17:31:06 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 17:23 cost 17:31:06 -rw-r--r-- 1 jenkins jenkins 89 Mar 13 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:31:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:31:08 ---> package-listing.sh 17:31:08 ++ facter osfamily 17:31:08 ++ tr '[:upper:]' '[:lower:]' 17:31:08 + OS_FAMILY=debian 17:31:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-355 17:31:08 + START_PACKAGES=/tmp/packages_start.txt 17:31:08 + END_PACKAGES=/tmp/packages_end.txt 17:31:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:31:08 + PACKAGES=/tmp/packages_start.txt 17:31:08 + '[' /w/workspace/foundry_device-virtual-go_PR-355 ']' 17:31:08 + PACKAGES=/tmp/packages_end.txt 17:31:08 + case "${OS_FAMILY}" in 17:31:08 + dpkg -l 17:31:08 + grep '^ii' 17:31:08 + '[' -f /tmp/packages_start.txt ']' 17:31:08 + '[' -f /tmp/packages_end.txt ']' 17:31:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:31:08 + '[' /w/workspace/foundry_device-virtual-go_PR-355 ']' 17:31:08 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-355/archives/ 17:31:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-355/archives/ [Pipeline] echo 17:31:08 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:31:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:08 prd-ubuntu20.04-docker-8c-8g-9920 does not seem to be running inside a container 17:31:09 $ 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-355/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-355 -v /w/workspace/foundry_device-virtual-go_PR-355:/w/workspace/foundry_device-virtual-go_PR-355:rw,z -v /w/workspace/foundry_device-virtual-go_PR-355@tmp:/w/workspace/foundry_device-virtual-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:09 $ docker top 174817f675e57965788386e15b190ccbece7b94ac312792974cb76bb94e6d478 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:09 + touch /tmp/pre-build-complete [Pipeline] sh 17:31:09 + mkdir -p /var/log/sysstat [Pipeline] sh 17:31:10 + ls /var/log/sa-host 17:31:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:10 provisioning config files... 17:31:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-355@tmp/config3073173041184549648tmp [Pipeline] { [Pipeline] echo 17:31:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:31:10 ---> create-netrc.sh [Pipeline] } 17:31:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:31:10 ---> python-tools-install.sh [Pipeline] echo 17:31:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:31:11 ---> sudo-logs.sh 17:31:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:31:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:31:11 ---> job-cost.sh 17:31:11 lf-activate-venv: SKIPPING 17:31:11 DEBUG: total: 0.2199999988079071 17:31:11 INFO: Retrieving Stack Cost... 17:31:11 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:12 INFO: Archiving Costs [Pipeline] echo 17:31:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:31:12 ---> logs-deploy.sh 17:31:12 lf-activate-venv: SKIPPING 17:31:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-355/2 17:31:12 INFO: archiving workspace using pattern(s): 17:31:13 Archives upload complete. 17:31:13 INFO: archiving logs to Nexus