Pull request #338 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 jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 rather than 5351041dac5b69342adc5f304c7234e72385c54e Obtained Jenkinsfile from bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 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-ssh17924437812499699095.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-ssh7208979466453171903.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-338/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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9536168471778759183.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-ssh11997142576911671559.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-338/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-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18302059329629094301.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 ‘prd-ubuntu20.04-docker-8c-8g-5494’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5495 in /w/workspace/foundry_device-virtual-go_PR-338 [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-338 # 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 Merging remotes/origin/main commit bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 5351041dac5b69342adc5f304c7234e72385c54e Merge succeeded, producing 5351041dac5b69342adc5f304c7234e72385c54e Checking out Revision 5351041dac5b69342adc5f304c7234e72385c54e (PR-338) > 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/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # 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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:18:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:18:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:18:15 ========================================================= 07:18:15 EdgeX Global Pipelines Version Info 07:18:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 078c265f9abc1776f984bc8ca80ae715da7e2ec5 # timeout=10 07:18:15 ------------------- 07:18:15 stable info: 07:18:15 ------------------- 07:18:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:18:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:18:15 Message: update stable to v1.0.244 07:18:16 ------------------- 07:18:16 experimental info: 07:18:16 ------------------- 07:18:16 Commited By: **** collab-it+edgex@linuxfoundation.org 07:18:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:18:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-338 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-338 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-338 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5351041 [Pipeline] echo 07:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:17 provisioning config files... 07:18:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config10901460303608409991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:17 ---> docker-login.sh 07:18:17 nexus3.edgexfoundry.org:10001 07:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:17 Configure a credential helper to remove this warning. See 07:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:17 07:18:17 Login Succeeded 07:18:17 nexus3.edgexfoundry.org:10002 07:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:17 Configure a credential helper to remove this warning. See 07:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:17 07:18:17 Login Succeeded 07:18:17 nexus3.edgexfoundry.org:10003 07:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:17 Configure a credential helper to remove this warning. See 07:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:17 07:18:17 Login Succeeded 07:18:17 nexus3.edgexfoundry.org:10004 07:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:18 Configure a credential helper to remove this warning. See 07:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:18 07:18:18 Login Succeeded 07:18:18 docker.io 07:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:18 Configure a credential helper to remove this warning. See 07:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:18 07:18:18 Login Succeeded 07:18:18 ---> docker-login.sh ends [Pipeline] } 07:18:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:18:18 + git rev-list -1 --merges 5351041dac5b69342adc5f304c7234e72385c54e~1..5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo 07:18:18 -----------> git rev-list -1 --merges 5351041dac5b69342adc5f304c7234e72385c54e~1..5351041dac5b69342adc5f304c7234e72385c54e 5351041dac5b69342adc5f304c7234e72385c54e [false] [Pipeline] sh 07:18:19 + git log --format=format:%s -1 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo 07:18:19 ========================================================= 07:18:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:18:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:19 + git log --format=format:%s -1 5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] echo 07:18:19 [semverPrep] GIT_COMMIT: 5351041dac5b69342adc5f304c7234e72385c54e, Commit Message: build(deps)!: bump device-sdk-go and go-mod-core-contracts versions [Pipeline] echo 07:18:19 [semverPrep] This is not a build commit. [Pipeline] sh 07:18:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:18:19 + grep -v github /etc/ssh/ssh_known_hosts 07:18:19 + [ -e /tmp/ssh_known_hosts ] 07:18:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:18:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:18:19 + sudo tee -a /etc/ssh/ssh_known_hosts 07:18:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:20 07:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:20 0.1.4: Pulling from edgex-devops/py-git-semver 07:18:20 b85a868b505f: Pulling fs layer 07:18:20 e2be974225ed: Pulling fs layer 07:18:20 339a4e72a1f5: Pulling fs layer 07:18:20 988bab9f4d93: Pulling fs layer 07:18:20 1469e6f7b9e6: Pulling fs layer 07:18:20 eaf3925da568: Pulling fs layer 07:18:20 bab4dde63d76: Pulling fs layer 07:18:20 bde34c3a00c8: Pulling fs layer 07:18:20 b352a97aabf1: Pulling fs layer 07:18:20 4872d77fe225: Pulling fs layer 07:18:20 5851b861e8e6: Pulling fs layer 07:18:20 bab4dde63d76: Waiting 07:18:20 bde34c3a00c8: Waiting 07:18:20 b352a97aabf1: Waiting 07:18:20 4872d77fe225: Waiting 07:18:20 5851b861e8e6: Waiting 07:18:20 988bab9f4d93: Waiting 07:18:20 1469e6f7b9e6: Waiting 07:18:20 eaf3925da568: Waiting 07:18:20 e2be974225ed: Download complete 07:18:20 988bab9f4d93: Verifying Checksum 07:18:20 988bab9f4d93: Download complete 07:18:21 1469e6f7b9e6: Verifying Checksum 07:18:21 1469e6f7b9e6: Download complete 07:18:21 339a4e72a1f5: Verifying Checksum 07:18:21 339a4e72a1f5: Download complete 07:18:21 eaf3925da568: Download complete 07:18:21 bde34c3a00c8: Verifying Checksum 07:18:21 bde34c3a00c8: Download complete 07:18:21 b352a97aabf1: Download complete 07:18:21 4872d77fe225: Download complete 07:18:21 5851b861e8e6: Verifying Checksum 07:18:21 5851b861e8e6: Download complete 07:18:21 b85a868b505f: Verifying Checksum 07:18:21 b85a868b505f: Download complete 07:18:21 bab4dde63d76: Verifying Checksum 07:18:21 bab4dde63d76: Download complete 07:18:22 b85a868b505f: Pull complete 07:18:22 e2be974225ed: Pull complete 07:18:23 339a4e72a1f5: Pull complete 07:18:23 988bab9f4d93: Pull complete 07:18:23 1469e6f7b9e6: Pull complete 07:18:23 eaf3925da568: Pull complete 07:18:25 bab4dde63d76: Pull complete 07:18:25 bde34c3a00c8: Pull complete 07:18:25 b352a97aabf1: Pull complete 07:18:25 4872d77fe225: Pull complete 07:18:25 5851b861e8e6: Pull complete 07:18:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:25 prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container 07:18:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:18:29 $ docker top cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 -eo pid,comm 07:18:29 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). 07:18:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:18:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:29 [ssh-agent] Looking for ssh-agent implementation... 07:18:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:29 $ docker exec cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent 07:18:29 SSH_AUTH_SOCK=/tmp/ssh-5GiB4wclzcmI/agent.32 07:18:29 SSH_AGENT_PID=38 07:18:29 Running ssh-add (command line suppressed) 07:18:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_9415096436337851689.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_9415096436337851689.key) 07:18:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:30 + git tag --points-at HEAD [Pipeline] } 07:18:30 $ docker exec --env ******** --env ******** cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent -k 07:18:30 unset SSH_AUTH_SOCK; 07:18:30 unset SSH_AGENT_PID; 07:18:30 echo Agent pid 38 killed; 07:18:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:18:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:30 [ssh-agent] Looking for ssh-agent implementation... 07:18:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:30 $ docker exec cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent 07:18:30 SSH_AUTH_SOCK=/tmp/ssh-FzvPqn8fVgzn/agent.70 07:18:30 SSH_AGENT_PID=76 07:18:30 Running ssh-add (command line suppressed) 07:18:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_8488337097385036743.key (/w/workspace/foundry_device-virtual-go_PR-338@tmp/private_key_8488337097385036743.key) 07:18:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:31 + git semver init 07:18:31 2023-02-13 07:18:31,183 [run_init] DEBUG init version:0.0.0 force:False 07:18:31 2023-02-13 07:18:31,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-338/.semver 07:18:31 2023-02-13 07:18:31,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-338/.semver 07:18:31 2023-02-13 07:18:31,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-338/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-338, universal_newlines=False, shell=None, istream=None) 07:18:32 2023-02-13 07:18:32,465 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-338/.git/info/exclude 07:18:32 2023-02-13 07:18:32,465 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 with force:False 07:18:32 2023-02-13 07:18:32,465 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 07:18:32 2023-02-13 07:18:32,469 [execute] INFO git cat-file --batch-check 07:18:32 2023-02-13 07:18:32,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) 07:18:32 2023-02-13 07:18:32,475 [execute] INFO git cat-file --batch 07:18:32 2023-02-13 07:18:32,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) 07:18:32 2023-02-13 07:18:32,480 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-338/.semver/PR-338 07:18:32 0.0.0 [Pipeline] } 07:18:32 $ docker exec --env ******** --env ******** cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 ssh-agent -k 07:18:32 unset SSH_AUTH_SOCK; 07:18:32 unset SSH_AGENT_PID; 07:18:32 echo Agent pid 76 killed; 07:18:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:18:33 + git semver [Pipeline] } 07:18:33 $ docker stop --time=1 cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 07:18:34 $ docker rm -f --volumes cb308162ef95f47393895b04e75cdeb4643dd4e44fd477e231ce344d83a0ee79 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:18:35 Stashed 1 file(s) [Pipeline] echo 07:18:35 [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 07:18:35 provisioning config files... 07:18:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config14363185832440662134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:35 ---> docker-login.sh 07:18:35 nexus3.edgexfoundry.org:10001 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 nexus3.edgexfoundry.org:10002 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 nexus3.edgexfoundry.org:10003 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 nexus3.edgexfoundry.org:10004 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 docker.io 07:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:36 Configure a credential helper to remove this warning. See 07:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:36 07:18:36 Login Succeeded 07:18:36 ---> docker-login.sh ends [Pipeline] } 07:18:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:36 ========================================================= 07:18:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:18:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:36 + 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 . 07:18:36 Sending build context to Docker daemon 23.38MB 07:18:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:18:36 Step 2/12 : FROM ${BASE} AS builder 07:18:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:18:36 213ec9aee27d: Pulling fs layer 07:18:36 4583459ba037: Pulling fs layer 07:18:36 93c1e223e6f2: Pulling fs layer 07:18:36 53926ce57604: Pulling fs layer 07:18:36 21b2b0c7a3f4: Pulling fs layer 07:18:36 22ff95d597cd: Pulling fs layer 07:18:36 12d6caf4c0d1: Pulling fs layer 07:18:36 96b7cbca73a9: Pulling fs layer 07:18:36 a7acece74701: Pulling fs layer 07:18:36 53926ce57604: Waiting 07:18:36 12d6caf4c0d1: Waiting 07:18:36 96b7cbca73a9: Waiting 07:18:36 21b2b0c7a3f4: Waiting 07:18:36 a7acece74701: Waiting 07:18:36 93c1e223e6f2: Verifying Checksum 07:18:36 93c1e223e6f2: Download complete 07:18:36 4583459ba037: Verifying Checksum 07:18:36 4583459ba037: Download complete 07:18:36 21b2b0c7a3f4: Verifying Checksum 07:18:36 21b2b0c7a3f4: Download complete 07:18:36 22ff95d597cd: Verifying Checksum 07:18:36 22ff95d597cd: Download complete 07:18:36 213ec9aee27d: Verifying Checksum 07:18:36 213ec9aee27d: Download complete 07:18:36 12d6caf4c0d1: Verifying Checksum 07:18:37 213ec9aee27d: Pull complete 07:18:37 4583459ba037: Pull complete 07:18:37 93c1e223e6f2: Pull complete 07:18:37 a7acece74701: Verifying Checksum 07:18:37 a7acece74701: Download complete 07:18:37 53926ce57604: Verifying Checksum 07:18:37 53926ce57604: Download complete 07:18:38 96b7cbca73a9: Verifying Checksum 07:18:38 96b7cbca73a9: Download complete 07:18:42 53926ce57604: Pull complete 07:18:42 21b2b0c7a3f4: Pull complete 07:18:42 22ff95d597cd: Pull complete 07:18:42 12d6caf4c0d1: Pull complete 07:18:44 96b7cbca73a9: Pull complete 07:18:45 a7acece74701: Pull complete 07:18:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:18:45 ---> db6d94c90886 07:18:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:18:50 Still waiting to schedule task 07:18:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5491’ is offline 07:18:51 ---> Running in dd371bfeeb4d 07:18:51 Removing intermediate container dd371bfeeb4d 07:18:51 ---> 74d2afe6dbaa 07:18:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:18:51 ---> Running in 40a0d7417a14 07:18:51 Removing intermediate container 40a0d7417a14 07:18:51 ---> 60e78a9757d2 07:18:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:18:51 ---> Running in cded4cb96285 07:18:51 Removing intermediate container cded4cb96285 07:18:51 ---> 5d7a135b076f 07:18:51 Step 6/12 : WORKDIR /device-virtual-go 07:18:51 ---> Running in f1f11c777545 07:18:51 Removing intermediate container f1f11c777545 07:18:51 ---> 05ca9e8a3be4 07:18:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:51 ---> Running in a22656146bf0 07:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:18:52 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:18:52 (2/4) Installing libedit (20210910.3.1-r0) 07:18:52 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:18:52 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:18:52 Executing busybox-1.35.0-r17.trigger 07:18:52 OK: 216 MiB in 55 packages 07:18:52 Removing intermediate container a22656146bf0 07:18:52 ---> f95bd39bd73f 07:18:52 Step 8/12 : COPY go.mod vendor* ./ 07:18:52 ---> 63f70c931f62 07:18:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:52 ---> Running in e89d8df35331 07:20:00 Removing intermediate container e89d8df35331 07:20:00 ---> 606dab718a16 07:20:00 Step 10/12 : COPY . . 07:20:00 ---> 0cb0144c6880 07:20:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:00 ---> Running in c923067d440c 07:20:00 Removing intermediate container c923067d440c 07:20:00 ---> 1710b39ba044 07:20:00 Step 12/12 : RUN $MAKE 07:20:00 ---> Running in 6638d1d67bdc 07:20:00 noop 07:20:00 Removing intermediate container 6638d1d67bdc 07:20:00 ---> 726ed216655a 07:20:00 Successfully built 726ed216655a 07:20:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:01 + docker inspect -f . ci-base-image-x86_64 07:20:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:01 prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container 07:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:02 $ docker top 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:02 + go version 07:20:02 go version go1.18.7 linux/amd64 [Pipeline] } 07:20:02 $ docker stop --time=1 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 07:20:05 $ docker rm -f --volumes 132f6bb16d5f3299b5faeeb6c2ee130b04c82710efbfa1d5cd7cdc74cc727e36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:06 + docker inspect -f . ci-base-image-x86_64 07:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:06 prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container 07:20:06 $ 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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:08 $ docker top d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:08 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] fileExists [Pipeline] sh 07:20:09 + make test 07:20:09 go test ./... -coverprofile=coverage.out 07:20:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:20:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:20:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements 07:20:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5496 in /w/workspace/foundry_device-virtual-go_PR-338 [Pipeline] { [Pipeline] ws 07:20:22 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 07:20:22 The recommended git tool is: git 07:20:25 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." 07:20:25 go vet ./... 07:20:27 using credential edgex-jenkins-ssh 07:20:27 Cloning the remote Git repository 07:20:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:28 ./bin/test-attribution-txt.sh 07:20:28 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:20:28 An attribution for golang.org/x/tools is missing from Attribution.txt, please add 07:20:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:20:27 > git init /w/workspace/device-virtual-go/2 # timeout=10 07:20:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:20:27 > git --version # timeout=10 07:20:27 > git --version # 'git version 2.25.1' 07:20:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:20:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] echo 07:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:28 $ docker stop --time=1 d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 07:20:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:20:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:20:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:20:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:20:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:20:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:20:31 Merging remotes/origin/main commit bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 into PR head commit 5351041dac5b69342adc5f304c7234e72385c54e 07:20:31 $ docker rm -f --volumes d64a0c77f5bbc2af5b80228033e17636bead9e7511ef370302b5bbbf860d87a0 07:20:31 Merge succeeded, producing 5351041dac5b69342adc5f304c7234e72385c54e 07:20:31 Checking out Revision 5351041dac5b69342adc5f304c7234e72385c54e (PR-338) [Pipeline] // withDockerContainer [Pipeline] sh 07:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:31 > git config core.sparsecheckout # timeout=10 07:20:31 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 07:20:31 > git remote # timeout=10 07:20:31 > git config --get remote.origin.url # timeout=10 07:20:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:20:31 > git merge bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 07:20:31 > git rev-parse HEAD^{commit} # timeout=10 07:20:31 > git config core.sparsecheckout # timeout=10 07:20:31 > git checkout -f 5351041dac5b69342adc5f304c7234e72385c54e # timeout=10 07:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:32 + ls -al . 07:20:32 total 192 07:20:32 drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:20 . 07:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:18 .. 07:20:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:20 .git 07:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 .github 07:20:32 -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:18 .gitignore 07:20:32 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:18 .golangci.yml 07:20:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:18 .semver 07:20:32 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:18 Attribution.txt 07:20:32 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:18 CHANGELOG.md 07:20:32 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:18 Dockerfile 07:20:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:18 GOVERNANCE.md 07:20:32 -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:18 Jenkinsfile 07:20:32 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:18 LICENSE 07:20:32 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:18 Makefile 07:20:32 -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:18 OWNERS.md 07:20:32 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:18 README.md 07:20:32 -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:18 VERSION 07:20:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:18 bin 07:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 cmd 07:20:32 -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:20 coverage.out 07:20:32 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:18 go.mod 07:20:32 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:18 go.sum 07:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:18 internal 07:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:18 snap 07:20:32 -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:33 + 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=5351041dac5b69342adc5f304c7234e72385c54e --label arch=amd64 --label version=0.0.0 . 07:20:33 Sending build context to Docker daemon 23.42MB 07:20:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:20:33 Step 2/25 : FROM ${BASE} AS builder 07:20:33 ---> 726ed216655a 07:20:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:20:33 ---> Running in 1177fc01abb3 07:20:33 Removing intermediate container 1177fc01abb3 07:20:33 ---> f9523e896228 07:20:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:20:33 ---> Running in 59d871279b72 07:20:33 Removing intermediate container 59d871279b72 07:20:33 ---> e6e6c54b16bf 07:20:33 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:20:33 ---> Running in 924b83bc26c4 07:20:33 Removing intermediate container 924b83bc26c4 07:20:33 ---> 15f100b481c5 07:20:33 Step 6/25 : WORKDIR /device-virtual-go 07:20:33 ---> Running in 987cc9557b70 07:20:34 Removing intermediate container 987cc9557b70 07:20:34 ---> dfb1752a9244 07:20:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:34 ---> Running in aca82eaab81a 07:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:20:34 OK: 216 MiB in 55 packages 07:20:35 Removing intermediate container aca82eaab81a 07:20:35 ---> bded98b45cf0 07:20:35 Step 8/25 : COPY go.mod vendor* ./ 07:20:35 ---> a68ef5a862e0 07:20:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:35 ---> Running in 20d213c6dca6 07:20:35 Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:36 Removing intermediate container 20d213c6dca6 07:20:36 ---> e4ac20f22fb7 07:20:36 Step 10/25 : COPY . . 07:20:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:20:36 % Total % Received % Xferd Average Speed Time Time Time Current 07:20:36 Dload Upload Total Spent Left Speed 07:20:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 07:20:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:20:37 ---> b71a99894ab8 07:20:37 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:37 ---> Running in 3e4d13299b1a 07:20:37 Removing intermediate container 3e4d13299b1a 07:20:37 ---> 59fb691deee5 07:20:37 Step 12/25 : RUN $MAKE 07:20:37 ---> Running in b8e029d4c075 07:20:37 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 07:20:37 + sudo tee /etc/docker/daemon.new 07:20:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:20:37 { 07:20:37 "registry-mirrors": [ 07:20:37 "https://nexus3.edgexfoundry.org:10001" 07:20:37 ], 07:20:37 "bip": "10.250.0.254/24", 07:20:37 "hosts": [ 07:20:37 "tcp://0.0.0.0:5555", 07:20:37 "unix:///var/run/docker.sock" 07:20:37 ], 07:20:37 "mtu": 1458, 07:20:37 "selinux-enabled": true, 07:20:37 "seccomp-profile": "/etc/docker/seccomp.json" 07:20:37 } [Pipeline] sh 07:20:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:20:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:56 provisioning config files... 07:20:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config17687439828999667109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:56 ---> docker-login.sh 07:20:56 nexus3.edgexfoundry.org:10001 07:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:57 Configure a credential helper to remove this warning. See 07:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:57 07:20:57 Login Succeeded 07:20:57 nexus3.edgexfoundry.org:10002 07:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:57 Configure a credential helper to remove this warning. See 07:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:57 07:20:57 Login Succeeded 07:20:57 nexus3.edgexfoundry.org:10003 07:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:57 Configure a credential helper to remove this warning. See 07:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:57 07:20:57 Login Succeeded 07:20:57 nexus3.edgexfoundry.org:10004 07:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:58 Configure a credential helper to remove this warning. See 07:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:58 07:20:58 Login Succeeded 07:20:58 docker.io 07:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:58 Configure a credential helper to remove this warning. See 07:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:58 07:20:58 Login Succeeded 07:20:58 ---> docker-login.sh ends [Pipeline] } 07:20:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:59 ========================================================= 07:20:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:20:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:59 + 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 . 07:20:59 Sending build context to Docker daemon 11.85MB 07:20:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:20:59 Step 2/12 : FROM ${BASE} AS builder 07:21:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:21:00 9b18e9b68314: Pulling fs layer 07:21:00 35d82f9e3411: Pulling fs layer 07:21:00 e16973657156: Pulling fs layer 07:21:00 fc693d55d65f: Pulling fs layer 07:21:00 7e9fc2657dce: Pulling fs layer 07:21:00 dda99020689f: Pulling fs layer 07:21:00 db1c61fa0a46: Pulling fs layer 07:21:00 891c053d2c06: Pulling fs layer 07:21:00 fc693d55d65f: Waiting 07:21:00 7e9fc2657dce: Waiting 07:21:00 dda99020689f: Waiting 07:21:00 db1c61fa0a46: Waiting 07:21:00 891c053d2c06: Waiting 07:21:00 e16973657156: Download complete 07:21:00 35d82f9e3411: Verifying Checksum 07:21:00 35d82f9e3411: Download complete 07:21:00 7e9fc2657dce: Verifying Checksum 07:21:00 7e9fc2657dce: Download complete 07:21:00 dda99020689f: Verifying Checksum 07:21:00 dda99020689f: Download complete 07:21:00 9b18e9b68314: Verifying Checksum 07:21:00 9b18e9b68314: Download complete 07:21:01 9b18e9b68314: Pull complete 07:21:01 891c053d2c06: Verifying Checksum 07:21:01 891c053d2c06: Download complete 07:21:02 35d82f9e3411: Pull complete 07:21:02 e16973657156: Pull complete 07:21:03 db1c61fa0a46: Verifying Checksum 07:21:03 db1c61fa0a46: Download complete 07:21:03 fc693d55d65f: Verifying Checksum 07:21:03 fc693d55d65f: Download complete 07:21:05 Removing intermediate container b8e029d4c075 07:21:05 ---> 6f109db076f0 07:21:05 Step 13/25 : FROM alpine:3.16 07:21:05 3.16: Pulling from library/alpine 07:21:05 ef5531b6e74e: Pulling fs layer 07:21:05 ef5531b6e74e: Verifying Checksum 07:21:05 ef5531b6e74e: Download complete 07:21:05 ef5531b6e74e: Pull complete 07:21:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:21:05 Status: Downloaded newer image for alpine:3.16 07:21:05 ---> dfd21b5a31f5 07:21:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:21:05 ---> Running in c05541c7bcac 07:21:05 Removing intermediate container c05541c7bcac 07:21:05 ---> 13420f60a89f 07:21:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:21:05 ---> Running in 511f72a47550 07:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:21:05 (1/1) Installing dumb-init (1.2.5-r1) 07:21:05 Executing busybox-1.35.0-r17.trigger 07:21:05 OK: 6 MiB in 15 packages 07:21:05 Removing intermediate container 511f72a47550 07:21:05 ---> 452ddf732e42 07:21:05 Step 16/25 : WORKDIR / 07:21:05 ---> Running in edc4f974fd2a 07:21:05 Removing intermediate container edc4f974fd2a 07:21:05 ---> efaff8368624 07:21:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:21:05 ---> 5f5b9b82d311 07:21:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:21:05 ---> eac5fd770bc6 07:21:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:21:05 ---> 73f7560a94b2 07:21:05 Step 20/25 : EXPOSE 59900 07:21:05 ---> Running in 2e24f71ab1fa 07:21:06 Removing intermediate container 2e24f71ab1fa 07:21:06 ---> ac8e3bc3d735 07:21:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:21:06 ---> Running in e77d5c8174fc 07:21:06 Removing intermediate container e77d5c8174fc 07:21:06 ---> 51704d0b8dca 07:21:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:21:06 ---> Running in 8d7c6e7ad493 07:21:06 Removing intermediate container 8d7c6e7ad493 07:21:06 ---> 358bdb00b922 07:21:06 Step 23/25 : LABEL arch=amd64 07:21:06 ---> Running in 6992e75e02ca 07:21:06 Removing intermediate container 6992e75e02ca 07:21:06 ---> 90b74be647db 07:21:06 Step 24/25 : LABEL git_sha=5351041dac5b69342adc5f304c7234e72385c54e 07:21:06 ---> Running in 067259d7c3fc 07:21:06 Removing intermediate container 067259d7c3fc 07:21:06 ---> d6a90b229ba5 07:21:06 Step 25/25 : LABEL version=0.0.0 07:21:06 ---> Running in d114bec85b4e 07:21:06 Removing intermediate container d114bec85b4e 07:21:06 ---> c32603e6f867 07:21:06 [Warning] One or more build-args [ARCH] were not consumed 07:21:06 Successfully built c32603e6f867 07:21:06 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 07:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:07 07:21:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:07 latest: Pulling from edgex-lftools-log-publisher 07:21:07 5eb5b503b376: Pulling fs layer 07:21:07 5c69ac0246d0: Pulling fs layer 07:21:07 ec43610c2a17: Pulling fs layer 07:21:07 3a2ae6a8a46f: Pulling fs layer 07:21:07 33b1e0a273af: Pulling fs layer 07:21:07 5d3b04190fa2: Pulling fs layer 07:21:07 2f39f015ded8: Pulling fs layer 07:21:07 3a2ae6a8a46f: Waiting 07:21:07 33b1e0a273af: Waiting 07:21:07 5d3b04190fa2: Waiting 07:21:07 2f39f015ded8: Waiting 07:21:07 5c69ac0246d0: Verifying Checksum 07:21:07 5c69ac0246d0: Download complete 07:21:07 3a2ae6a8a46f: Verifying Checksum 07:21:07 3a2ae6a8a46f: Download complete 07:21:07 33b1e0a273af: Verifying Checksum 07:21:07 33b1e0a273af: Download complete 07:21:07 5d3b04190fa2: Download complete 07:21:07 ec43610c2a17: Verifying Checksum 07:21:07 ec43610c2a17: Download complete 07:21:07 5eb5b503b376: Verifying Checksum 07:21:07 5eb5b503b376: Download complete 07:21:08 2f39f015ded8: Download complete 07:21:09 5eb5b503b376: Pull complete 07:21:09 5c69ac0246d0: Pull complete 07:21:09 ec43610c2a17: Pull complete 07:21:09 3a2ae6a8a46f: Pull complete 07:21:09 33b1e0a273af: Pull complete 07:21:09 5d3b04190fa2: Pull complete 07:21:14 2f39f015ded8: Pull complete 07:21:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:21:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:14 prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container 07:21:14 $ 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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:21:16 fc693d55d65f: Pull complete 07:21:16 7e9fc2657dce: Pull complete 07:21:16 dda99020689f: Pull complete 07:21:20 $ docker top 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:20 ---> job-cost.sh 07:21:20 lf-activate-venv: SKIPPING 07:21:20 INFO: No Stack... 07:21:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:21 INFO: Archiving Costs [Pipeline] sh 07:21:22 + cat /w/workspace/foundry_device-virtual-go_PR-338/archives/cost.csv 07:21:22 + cut -d, -f6 [Pipeline] lock 07:21:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] 07:21:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] did not exist. Created. 07:21:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:22 Stashed 1 file(s) [Pipeline] } 07:21:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:22 $ docker stop --time=1 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 07:21:22 db1c61fa0a46: Pull complete 07:21:23 $ docker rm -f --volumes 08eebfeeff321631091965b0624cab6b797165d599a4c53a926e2f7d3f03d797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:21:25 891c053d2c06: Pull complete 07:21:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:21:25 ---> f96f9c87975a 07:21:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:21:26 ---> Running in 1c14003dfedc 07:21:26 Removing intermediate container 1c14003dfedc 07:21:26 ---> 8e4629e5b314 07:21:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:21:26 ---> Running in 734f67aff0cf 07:21:26 Removing intermediate container 734f67aff0cf 07:21:26 ---> d46ba178f3e6 07:21:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:21:26 ---> Running in 3369240b3cc2 07:21:27 Removing intermediate container 3369240b3cc2 07:21:27 ---> a84bc2fa8e4f 07:21:27 Step 6/12 : WORKDIR /device-virtual-go 07:21:27 ---> Running in 485b1fffc82e 07:21:27 Removing intermediate container 485b1fffc82e 07:21:27 ---> 71c44d9ac4b8 07:21:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:27 ---> Running in 87db1349a019 07:21:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:21:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:21:30 (2/4) Installing libedit (20210910.3.1-r0) 07:21:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:21:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:21:30 Executing busybox-1.35.0-r17.trigger 07:21:30 OK: 226 MiB in 55 packages 07:21:31 Removing intermediate container 87db1349a019 07:21:31 ---> 5a7898882939 07:21:31 Step 8/12 : COPY go.mod vendor* ./ 07:21:31 ---> ee2a304b8470 07:21:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:31 ---> Running in 38291f90b919 07:22:39 Removing intermediate container 38291f90b919 07:22:39 ---> 94204ab384f4 07:22:39 Step 10/12 : COPY . . 07:22:39 ---> fe45cd5c6259 07:22:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:22:39 ---> Running in 26dd409194bd 07:22:39 Removing intermediate container 26dd409194bd 07:22:39 ---> cd1515aafc57 07:22:39 Step 12/12 : RUN $MAKE 07:22:39 ---> Running in b9b4c773d49c 07:22:39 noop 07:22:39 Removing intermediate container b9b4c773d49c 07:22:39 ---> c2612afd137a 07:22:39 Successfully built c2612afd137a 07:22:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:40 + docker inspect -f . ci-base-image-arm64 07:22:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:40 prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container 07:22:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:22:43 $ docker top 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:44 + go version 07:22:44 go version go1.18.7 linux/arm64 [Pipeline] } 07:22:44 $ docker stop --time=1 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a 07:22:45 $ docker rm -f --volumes 47f6460465239282d282be6c89c29c62f2208ec38ac532061c8bb86be889a77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:46 + docker inspect -f . ci-base-image-arm64 07:22:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:46 prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container 07:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:22:47 $ docker top 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:48 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 07:22:49 + make test 07:22:49 go test ./... -coverprofile=coverage.out 07:22:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:24:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:24:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 07:24:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:24:13 go vet ./... 07:24:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:24:40 ./bin/test-attribution-txt.sh 07:24:40 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:24:40 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:24:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:24:40 $ docker stop --time=1 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c 07:24:42 $ docker rm -f --volumes 6397261b2d2308a64af73541f4f85268d88cd81c0d4dcfc46f38f7d1478f7a6c [Pipeline] // withDockerContainer [Pipeline] sh 07:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:43 Warning: overwriting stash ‘coverage-report’ 07:24:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:24:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:44 + ls -al . 07:24:44 total 188 07:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:22 . 07:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 .. 07:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:20 .git 07:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 .github 07:24:44 -rw-rw-r-- 1 jenkins jenkins 337 Feb 13 07:20 .gitignore 07:24:44 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:20 .golangci.yml 07:24:44 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 13 07:20 Attribution.txt 07:24:44 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 13 07:20 CHANGELOG.md 07:24:44 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 13 07:20 Dockerfile 07:24:44 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:20 GOVERNANCE.md 07:24:44 -rw-rw-r-- 1 jenkins jenkins 660 Feb 13 07:20 Jenkinsfile 07:24:44 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:20 LICENSE 07:24:44 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 13 07:20 Makefile 07:24:44 -rw-rw-r-- 1 jenkins jenkins 623 Feb 13 07:20 OWNERS.md 07:24:44 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 13 07:20 README.md 07:24:44 -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:18 VERSION 07:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:20 bin 07:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 cmd 07:24:44 -rw-r--r-- 1 jenkins jenkins 44128 Feb 13 07:24 coverage.out 07:24:44 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 13 07:20 go.mod 07:24:44 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 13 07:20 go.sum 07:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 internal 07:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 snap 07:24:44 -rw-rw-r-- 1 jenkins jenkins 235 Feb 13 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:45 + 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=5351041dac5b69342adc5f304c7234e72385c54e --label arch=arm64 --label version=0.0.0 . 07:24:45 Sending build context to Docker daemon 11.89MB 07:24:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:24:45 Step 2/25 : FROM ${BASE} AS builder 07:24:45 ---> c2612afd137a 07:24:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:24:45 ---> Running in c47d1ec77eab 07:24:47 Removing intermediate container c47d1ec77eab 07:24:47 ---> d30983266dc1 07:24:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:24:47 ---> Running in 4933a0094fdc 07:24:47 Removing intermediate container 4933a0094fdc 07:24:47 ---> edf7b40e5176 07:24:47 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:24:47 ---> Running in 72118801c28a 07:24:48 Removing intermediate container 72118801c28a 07:24:48 ---> abf242267059 07:24:48 Step 6/25 : WORKDIR /device-virtual-go 07:24:48 ---> Running in 6350b6543ed8 07:24:48 Removing intermediate container 6350b6543ed8 07:24:48 ---> c3989e2c4529 07:24:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:48 ---> Running in 157379fb0576 07:24:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:24:51 OK: 226 MiB in 55 packages 07:24:52 Removing intermediate container 157379fb0576 07:24:52 ---> 61e38f862cc3 07:24:52 Step 8/25 : COPY go.mod vendor* ./ 07:24:52 ---> 2b795c6f83fb 07:24:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:52 ---> Running in c236eebe2fa5 07:24:56 Removing intermediate container c236eebe2fa5 07:24:56 ---> bd376122d794 07:24:56 Step 10/25 : COPY . . 07:24:57 ---> ed40bcc7f887 07:24:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:57 ---> Running in 8ad789dc18c1 07:24:57 Removing intermediate container 8ad789dc18c1 07:24:57 ---> da05fb602adf 07:24:57 Step 12/25 : RUN $MAKE 07:24:57 ---> Running in 7aab4fb8f2e0 07:24:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:27:36 Removing intermediate container 7aab4fb8f2e0 07:27:36 ---> a0b87c74ec26 07:27:36 Step 13/25 : FROM alpine:3.16 07:27:36 3.16: Pulling from library/alpine 07:27:36 3760b48202b3: Pulling fs layer 07:27:36 3760b48202b3: Verifying Checksum 07:27:36 3760b48202b3: Download complete 07:27:36 3760b48202b3: Pull complete 07:27:36 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:27:36 Status: Downloaded newer image for alpine:3.16 07:27:36 ---> 4c81e5bf8899 07:27:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:27:36 ---> Running in ba22683cb77c 07:27:36 Removing intermediate container ba22683cb77c 07:27:36 ---> bb7675800578 07:27:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:27:36 ---> Running in 126c5b0203a1 07:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:27:36 (1/1) Installing dumb-init (1.2.5-r1) 07:27:36 Executing busybox-1.35.0-r17.trigger 07:27:36 OK: 5 MiB in 15 packages 07:27:36 Removing intermediate container 126c5b0203a1 07:27:36 ---> 645fb59c2fbf 07:27:36 Step 16/25 : WORKDIR / 07:27:36 ---> Running in b4b8aa711d91 07:27:36 Removing intermediate container b4b8aa711d91 07:27:36 ---> 38fc31781d8f 07:27:36 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:27:36 ---> 01a14312fcb8 07:27:36 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:27:36 ---> 36e3a0448e6b 07:27:36 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:27:36 ---> b233b5edeeef 07:27:36 Step 20/25 : EXPOSE 59900 07:27:36 ---> Running in 6dde5fad3c9a 07:27:36 Removing intermediate container 6dde5fad3c9a 07:27:36 ---> dc6f088a8de5 07:27:36 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:27:36 ---> Running in 42693003ccda 07:27:36 Removing intermediate container 42693003ccda 07:27:36 ---> 2eb0e58fdae1 07:27:36 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:27:36 ---> Running in 850ba19452e7 07:27:36 Removing intermediate container 850ba19452e7 07:27:36 ---> e8d94541a623 07:27:36 Step 23/25 : LABEL arch=arm64 07:27:36 ---> Running in 5b89640ebdba 07:27:36 Removing intermediate container 5b89640ebdba 07:27:36 ---> 760337bbc8bb 07:27:36 Step 24/25 : LABEL git_sha=5351041dac5b69342adc5f304c7234e72385c54e 07:27:36 ---> Running in bc5c1a430954 07:27:36 Removing intermediate container bc5c1a430954 07:27:36 ---> c504ed70b6a9 07:27:36 Step 25/25 : LABEL version=0.0.0 07:27:36 ---> Running in 287fb40a2645 07:27:36 Removing intermediate container 287fb40a2645 07:27:36 ---> bcefb559c742 07:27:36 [Warning] One or more build-args [ARCH] were not consumed 07:27:36 Successfully built bcefb559c742 07:27:36 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 07:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:36 07:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:36 arm64: Pulling from edgex-lftools-log-publisher 07:27:36 8998bd30e6a1: Pulling fs layer 07:27:36 04944245beec: Pulling fs layer 07:27:36 699f458cf7ca: Pulling fs layer 07:27:36 765212b225bb: Pulling fs layer 07:27:36 f23df028b6ca: Pulling fs layer 07:27:36 d65c8cfc05b1: Pulling fs layer 07:27:36 2437ff75d9bd: Pulling fs layer 07:27:36 f23df028b6ca: Waiting 07:27:36 d65c8cfc05b1: Waiting 07:27:36 2437ff75d9bd: Waiting 07:27:36 765212b225bb: Waiting 07:27:37 04944245beec: Verifying Checksum 07:27:37 04944245beec: Download complete 07:27:37 765212b225bb: Verifying Checksum 07:27:37 765212b225bb: Download complete 07:27:37 f23df028b6ca: Verifying Checksum 07:27:37 f23df028b6ca: Download complete 07:27:37 d65c8cfc05b1: Verifying Checksum 07:27:37 d65c8cfc05b1: Download complete 07:27:37 699f458cf7ca: Verifying Checksum 07:27:37 699f458cf7ca: Download complete 07:27:37 8998bd30e6a1: Verifying Checksum 07:27:37 8998bd30e6a1: Download complete 07:27:40 2437ff75d9bd: Verifying Checksum 07:27:40 2437ff75d9bd: Download complete 07:27:41 8998bd30e6a1: Pull complete 07:27:42 04944245beec: Pull complete 07:27:43 699f458cf7ca: Pull complete 07:27:43 765212b225bb: Pull complete 07:27:44 f23df028b6ca: Pull complete 07:27:44 d65c8cfc05b1: Pull complete 07:27:56 2437ff75d9bd: Pull complete 07:27:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:57 prd-ubuntu20.04-docker-arm64-4c-16g-5496 does not seem to be running inside a container 07:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:27:59 $ docker top 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:00 ---> job-cost.sh 07:28:00 lf-activate-venv: SKIPPING 07:28:00 INFO: No Stack... 07:28:00 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:01 INFO: Archiving Costs [Pipeline] sh 07:28:02 + cut -d, -f6 07:28:02 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 07:28:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] 07:28:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] did not exist. Created. 07:28:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:03 /w/workspace/device-virtual-go/2@tmp/durable-ecda8292/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:03 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:03 Warning: overwriting stash ‘stack-cost’ 07:28:03 Stashed 1 file(s) [Pipeline] } 07:28:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-338-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:04 $ docker stop --time=1 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 07:28:05 $ docker rm -f --volumes 1038b435ac16f8a8b635ec9d112fb0b37e3cb466f44296641a63fbbc31e0b7f0 [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 07:28:05 provisioning config files... 07:28:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config16897612970056074574tmp [Pipeline] { [Pipeline] sh 07:28:06 + set +x 07:28:06 + + bash -scurl -- -s 07:28:06 https://codecov.io/bash 07:28:06 07:28:06 _____ _ 07:28:06 / ____| | | 07:28:06 | | ___ __| | ___ ___ _____ __ 07:28:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:28:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:28:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:28:06 Bash-1.0.6 07:28:06 07:28:06 07:28:06 ==> git version 2.25.1 found 07:28:06 ==> 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 07:28:06 Release-Date: 2020-01-08 07:28:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:28:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:28:06 ==> Jenkins CI detected. 07:28:06 current dir:  /w/workspace/foundry_device-virtual-go_PR-338 07:28:06 project root: . 07:28:06 --> token set from env 07:28:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:28:06 ==> Running gcov in . (disable via -X gcov) 07:28:06 ==> Python coveragepy not found 07:28:06 ==> Searching for coverage reports in: 07:28:06 + . 07:28:06 -> Found 1 reports 07:28:06 ==> Detecting git/mercurial file structure 07:28:06 ==> Reading reports 07:28:06 + ./coverage.out bytes=44128 07:28:06 ==> Appending adjustments 07:28:06 https://docs.codecov.io/docs/fixing-reports 07:28:06 + Found adjustments 07:28:06 ==> Gzipping contents 07:28:06 8.0K /tmp/codecov.oU3joY.gz 07:28:06 ==> Uploading reports 07:28:06 url: https://codecov.io 07:28:06 query: branch=PR-338&commit=5351041dac5b69342adc5f304c7234e72385c54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= 07:28:06 -> Pinging Codecov 07:28:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-338&commit=5351041dac5b69342adc5f304c7234e72385c54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-338%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=338&job=&cmd_args= 07:28:06 -> Uploading to 07:28:06 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/5E52B4B073DB2E39498172D8E973AA87/5351041dac5b69342adc5f304c7234e72385c54e/3567f174-8a89-4ec4-87ff-38fbaba84480.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T072806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d82a139e880102e0f973d7658c58ac63eaca18452c0b91c8df25a0a5915b395f 07:28:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:06 Dload Upload Total Spent Left Speed 07:28:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 23164 --:--:-- --:--:-- --:--:-- 23164 07:28:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5351041dac5b69342adc5f304c7234e72385c54e [Pipeline] } 07:28:07 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 07:28:07 + [ -d /w/workspace/foundry_device-virtual-go_PR-338/archives ] 07:28:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives 07:28:07 total 16 07:28:07 drwxr-xr-x 3 root root 4096 Feb 13 07:21 . 07:28:07 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:21 .. 07:28:07 drwxr-xr-x 2 root root 4096 Feb 13 07:21 cost 07:28:07 -rw-r--r-- 1 root root 89 Feb 13 07:21 cost.csv 07:28:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-338/archives 07:28:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-338/archives 07:28:07 total 16 07:28:07 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:21 . 07:28:07 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:21 .. 07:28:07 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:21 cost 07:28:07 -rw-r--r-- 1 jenkins jenkins 89 Feb 13 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:28:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:28:08 ---> package-listing.sh 07:28:08 ++ facter osfamily 07:28:08 ++ tr '[:upper:]' '[:lower:]' 07:28:09 + OS_FAMILY=debian 07:28:09 + workspace=/w/workspace/foundry_device-virtual-go_PR-338 07:28:09 + START_PACKAGES=/tmp/packages_start.txt 07:28:09 + END_PACKAGES=/tmp/packages_end.txt 07:28:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:28:09 + PACKAGES=/tmp/packages_start.txt 07:28:09 + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' 07:28:09 + PACKAGES=/tmp/packages_end.txt 07:28:09 + case "${OS_FAMILY}" in 07:28:09 + dpkg -l 07:28:09 + grep '^ii' 07:28:09 + '[' -f /tmp/packages_start.txt ']' 07:28:09 + '[' -f /tmp/packages_end.txt ']' 07:28:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:28:09 + '[' /w/workspace/foundry_device-virtual-go_PR-338 ']' 07:28:09 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-338/archives/ 07:28:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-338/archives/ [Pipeline] echo 07:28:09 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-338/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:28:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:28:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:10 prd-ubuntu20.04-docker-8c-8g-5495 does not seem to be running inside a container 07:28:10 $ 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-338/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-338 -v /w/workspace/foundry_device-virtual-go_PR-338:/w/workspace/foundry_device-virtual-go_PR-338:rw,z -v /w/workspace/foundry_device-virtual-go_PR-338@tmp:/w/workspace/foundry_device-virtual-go_PR-338@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 07:28:10 $ docker top 66566b2848436e34494b03a4ee41b4833d5bd75201f8f87ed687d709e2725f26 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:10 + touch /tmp/pre-build-complete [Pipeline] sh 07:28:10 + mkdir -p /var/log/sysstat [Pipeline] sh 07:28:11 + ls /var/log/sa-host 07:28:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:11 provisioning config files... 07:28:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-338@tmp/config11206143598225212648tmp [Pipeline] { [Pipeline] echo 07:28:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:28:11 ---> create-netrc.sh [Pipeline] } 07:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:28:12 ---> python-tools-install.sh [Pipeline] echo 07:28:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:28:12 ---> sudo-logs.sh 07:28:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:28:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:28:12 ---> job-cost.sh 07:28:12 lf-activate-venv: SKIPPING 07:28:12 DEBUG: total: 0.2199999988079071 07:28:12 INFO: Retrieving Stack Cost... 07:28:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:28:13 INFO: Archiving Costs [Pipeline] echo 07:28:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:28:13 ---> logs-deploy.sh 07:28:13 lf-activate-venv: SKIPPING 07:28:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-338/2 07:28:13 INFO: archiving workspace using pattern(s): 07:28:14 Archives upload complete. 07:28:14 INFO: archiving logs to Nexus