Pull request #378 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than c9d512df29b4d04496ca9e726204ed8c0bf11f21 Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh15493257958826585634.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2438386974312677256.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-378/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-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5718932733449102743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2756987891869640743.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-378/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-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13186724750934775229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7267 in /w/workspace/foundry_device-virtual-go_PR-378 [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-378 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit c9d512df29b4d04496ca9e726204ed8c0bf11f21 Merge succeeded, producing c9d512df29b4d04496ca9e726204ed8c0bf11f21 Checking out Revision c9d512df29b4d04496ca9e726204ed8c0bf11f21 (PR-378) > 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/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9d512df29b4d04496ca9e726204ed8c0bf11f21 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9d512df29b4d04496ca9e726204ed8c0bf11f21 # timeout=10 Commit message: "feat: Remove deprecated rand.Seed function" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:42:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:42:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:42:36 ========================================================= 03:42:36 EdgeX Global Pipelines Version Info 03:42:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a253a423b6da74e95db5be6ffaf4040d942faf4b # timeout=10 03:42:37 ------------------- 03:42:37 stable info: 03:42:37 ------------------- 03:42:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:42:37 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:42:37 Message: update stable to v1.0.245 03:42:37 ------------------- 03:42:37 experimental info: 03:42:37 ------------------- 03:42:37 Commited By: **** collab-it+edgex@linuxfoundation.org 03:42:37 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 03:42:37 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:42:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9d512df29b4d04496ca9e726204ed8c0bf11f21 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9d512d [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:38 provisioning config files... 03:42:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config3897801834156925331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:38 ---> docker-login.sh 03:42:38 nexus3.edgexfoundry.org:10001 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 nexus3.edgexfoundry.org:10002 03:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 nexus3.edgexfoundry.org:10003 03:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 nexus3.edgexfoundry.org:10004 03:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 docker.io 03:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 ---> docker-login.sh ends [Pipeline] } 03:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:42:40 + git rev-list -1 --merges c9d512df29b4d04496ca9e726204ed8c0bf11f21~1..c9d512df29b4d04496ca9e726204ed8c0bf11f21 [Pipeline] echo 03:42:40 -----------> git rev-list -1 --merges c9d512df29b4d04496ca9e726204ed8c0bf11f21~1..c9d512df29b4d04496ca9e726204ed8c0bf11f21 c9d512df29b4d04496ca9e726204ed8c0bf11f21 [false] [Pipeline] sh 03:42:40 + git log --format=format:%s -1 c9d512df29b4d04496ca9e726204ed8c0bf11f21 [Pipeline] echo 03:42:40 ========================================================= 03:42:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:42:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:40 + git log --format=format:%s -1 c9d512df29b4d04496ca9e726204ed8c0bf11f21 [Pipeline] echo 03:42:40 [semverPrep] GIT_COMMIT: c9d512df29b4d04496ca9e726204ed8c0bf11f21, Commit Message: feat: Remove deprecated rand.Seed function [Pipeline] echo 03:42:40 [semverPrep] This is not a build commit. [Pipeline] sh 03:42:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:41 + grep -v github /etc/ssh/ssh_known_hosts 03:42:41 + [ -e /tmp/ssh_known_hosts ] 03:42:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:42:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:42:41 + sudo tee -a /etc/ssh/ssh_known_hosts 03:42:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:41 03:42:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:41 0.1.4: Pulling from edgex-devops/py-git-semver 03:42:41 b85a868b505f: Pulling fs layer 03:42:41 e2be974225ed: Pulling fs layer 03:42:41 339a4e72a1f5: Pulling fs layer 03:42:41 988bab9f4d93: Pulling fs layer 03:42:41 1469e6f7b9e6: Pulling fs layer 03:42:41 eaf3925da568: Pulling fs layer 03:42:41 1469e6f7b9e6: Waiting 03:42:41 bab4dde63d76: Pulling fs layer 03:42:41 bde34c3a00c8: Pulling fs layer 03:42:41 b352a97aabf1: Pulling fs layer 03:42:41 4872d77fe225: Pulling fs layer 03:42:41 5851b861e8e6: Pulling fs layer 03:42:41 eaf3925da568: Waiting 03:42:41 bde34c3a00c8: Waiting 03:42:41 b352a97aabf1: Waiting 03:42:41 4872d77fe225: Waiting 03:42:41 bab4dde63d76: Waiting 03:42:41 e2be974225ed: Verifying Checksum 03:42:41 e2be974225ed: Download complete 03:42:41 988bab9f4d93: Verifying Checksum 03:42:41 988bab9f4d93: Download complete 03:42:42 1469e6f7b9e6: Verifying Checksum 03:42:42 1469e6f7b9e6: Download complete 03:42:42 eaf3925da568: Download complete 03:42:42 339a4e72a1f5: Verifying Checksum 03:42:42 339a4e72a1f5: Download complete 03:42:42 bde34c3a00c8: Download complete 03:42:42 b352a97aabf1: Verifying Checksum 03:42:42 b352a97aabf1: Download complete 03:42:42 4872d77fe225: Verifying Checksum 03:42:42 4872d77fe225: Download complete 03:42:42 5851b861e8e6: Verifying Checksum 03:42:42 5851b861e8e6: Download complete 03:42:42 b85a868b505f: Verifying Checksum 03:42:42 b85a868b505f: Download complete 03:42:42 bab4dde63d76: Verifying Checksum 03:42:42 bab4dde63d76: Download complete 03:42:43 b85a868b505f: Pull complete 03:42:43 e2be974225ed: Pull complete 03:42:44 339a4e72a1f5: Pull complete 03:42:44 988bab9f4d93: Pull complete 03:42:44 1469e6f7b9e6: Pull complete 03:42:44 eaf3925da568: Pull complete 03:42:46 bab4dde63d76: Pull complete 03:42:46 bde34c3a00c8: Pull complete 03:42:46 b352a97aabf1: Pull complete 03:42:46 4872d77fe225: Pull complete 03:42:46 5851b861e8e6: Pull complete 03:42:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:47 prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container 03:42:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:42:50 $ docker top 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a -eo pid,comm 03:42:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:42:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:50 [ssh-agent] Looking for ssh-agent implementation... 03:42:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:50 $ docker exec 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a ssh-agent 03:42:50 SSH_AUTH_SOCK=/tmp/ssh-3ZxxEw3B2KMw/agent.32 03:42:50 SSH_AGENT_PID=38 03:42:50 Running ssh-add (command line suppressed) 03:42:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_154383910353399461.key (/w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_154383910353399461.key) 03:42:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:51 + git tag --points-at HEAD [Pipeline] } 03:42:51 $ docker exec --env ******** --env ******** 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a ssh-agent -k 03:42:51 unset SSH_AUTH_SOCK; 03:42:51 unset SSH_AGENT_PID; 03:42:51 echo Agent pid 38 killed; 03:42:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:51 [ssh-agent] Looking for ssh-agent implementation... 03:42:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:51 $ docker exec 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a ssh-agent 03:42:51 SSH_AUTH_SOCK=/tmp/ssh-kbifuafZT13m/agent.70 03:42:51 SSH_AGENT_PID=76 03:42:51 Running ssh-add (command line suppressed) 03:42:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_15629805340400071701.key (/w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_15629805340400071701.key) 03:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:52 + git semver init 03:42:52 2023-04-10 03:42:52,255 [run_init] DEBUG init version:0.0.0 force:False 03:42:52 2023-04-10 03:42:52,256 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-378/.semver 03:42:52 2023-04-10 03:42:52,256 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-378/.semver 03:42:52 2023-04-10 03:42:52,256 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-378/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-378, universal_newlines=False, shell=None, istream=None) 03:42:53 2023-04-10 03:42:53,341 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-378/.git/info/exclude 03:42:53 2023-04-10 03:42:53,342 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 with force:False 03:42:53 2023-04-10 03:42:53,342 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 03:42:53 2023-04-10 03:42:53,348 [execute] INFO git cat-file --batch-check 03:42:53 2023-04-10 03:42:53,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 03:42:53 2023-04-10 03:42:53,356 [execute] INFO git cat-file --batch 03:42:53 2023-04-10 03:42:53,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 03:42:53 2023-04-10 03:42:53,361 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 03:42:53 0.0.0 [Pipeline] } 03:42:53 $ docker exec --env ******** --env ******** 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a ssh-agent -k 03:42:53 unset SSH_AUTH_SOCK; 03:42:53 unset SSH_AGENT_PID; 03:42:53 echo Agent pid 76 killed; 03:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:54 + git semver [Pipeline] } 03:42:54 $ docker stop --time=1 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a 03:42:55 $ docker rm -f --volumes 8204c7cce925f6bfbbd642c46edb8a3e854b7860c819a0334b2f4cb0aadabe8a [Pipeline] // withDockerContainer [Pipeline] sh 03:42:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:42:56 Stashed 1 file(s) [Pipeline] echo 03:42:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:56 provisioning config files... 03:42:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config16001159198981553049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:56 ---> docker-login.sh 03:42:56 nexus3.edgexfoundry.org:10001 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 nexus3.edgexfoundry.org:10002 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 nexus3.edgexfoundry.org:10003 03:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:57 Configure a credential helper to remove this warning. See 03:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:57 03:42:57 Login Succeeded 03:42:57 nexus3.edgexfoundry.org:10004 03:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:57 Configure a credential helper to remove this warning. See 03:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:57 03:42:57 Login Succeeded 03:42:57 docker.io 03:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:57 Configure a credential helper to remove this warning. See 03:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:57 03:42:57 Login Succeeded 03:42:57 ---> docker-login.sh ends [Pipeline] } 03:42:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:57 ========================================================= 03:42:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:42:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:42:57 Sending build context to Docker daemon 23.54MB 03:42:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:42:57 Step 2/12 : FROM ${BASE} AS builder 03:42:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:42:57 63b65145d645: Pulling fs layer 03:42:57 a2d21d5440eb: Pulling fs layer 03:42:57 935e6c44a52c: Pulling fs layer 03:42:57 94cc34f8dd06: Pulling fs layer 03:42:57 30dea6a524f1: Pulling fs layer 03:42:57 a2aff8979fd8: Pulling fs layer 03:42:57 6808be2612f2: Pulling fs layer 03:42:57 f25807f1079a: Pulling fs layer 03:42:57 30dea6a524f1: Waiting 03:42:57 a2aff8979fd8: Waiting 03:42:57 6808be2612f2: Waiting 03:42:57 f25807f1079a: Waiting 03:42:57 94cc34f8dd06: Waiting 03:42:57 a2d21d5440eb: Verifying Checksum 03:42:57 a2d21d5440eb: Download complete 03:42:57 94cc34f8dd06: Verifying Checksum 03:42:57 94cc34f8dd06: Download complete 03:42:57 30dea6a524f1: Verifying Checksum 03:42:57 30dea6a524f1: Download complete 03:42:57 63b65145d645: Verifying Checksum 03:42:57 63b65145d645: Download complete 03:42:57 a2aff8979fd8: Verifying Checksum 03:42:57 a2aff8979fd8: Download complete 03:42:58 63b65145d645: Pull complete 03:42:58 a2d21d5440eb: Pull complete 03:42:58 f25807f1079a: Verifying Checksum 03:42:58 f25807f1079a: Download complete 03:42:58 935e6c44a52c: Verifying Checksum 03:42:58 935e6c44a52c: Download complete 03:42:58 6808be2612f2: Verifying Checksum 03:42:58 6808be2612f2: Download complete 03:43:02 935e6c44a52c: Pull complete 03:43:02 94cc34f8dd06: Pull complete 03:43:02 30dea6a524f1: Pull complete 03:43:02 a2aff8979fd8: Pull complete 03:43:04 6808be2612f2: Pull complete 03:43:05 f25807f1079a: Pull complete 03:43:05 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:43:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:43:05 ---> 3b553350e43f 03:43:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:43:11 Still waiting to schedule task 03:43:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:43:11 ---> Running in 6e92898766c2 03:43:11 Removing intermediate container 6e92898766c2 03:43:11 ---> 1c57a3220810 03:43:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:43:11 ---> Running in 90a8eb020dcb 03:43:11 Removing intermediate container 90a8eb020dcb 03:43:11 ---> 3478d7594237 03:43:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:43:11 ---> Running in 87e60f8cda79 03:43:11 Removing intermediate container 87e60f8cda79 03:43:11 ---> 17c4c077e9cb 03:43:11 Step 6/12 : WORKDIR /device-virtual-go 03:43:11 ---> Running in 5a62c582f374 03:43:11 Removing intermediate container 5a62c582f374 03:43:11 ---> 3622491d4cb2 03:43:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:11 ---> Running in 8e5de3e1cce5 03:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:43:12 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:43:12 (2/4) Installing libedit (20221030.3.1-r0) 03:43:12 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:43:12 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:43:12 Executing busybox-1.35.0-r29.trigger 03:43:12 OK: 269 MiB in 57 packages 03:43:13 Removing intermediate container 8e5de3e1cce5 03:43:13 ---> 6b2cc0cd6f46 03:43:13 Step 8/12 : COPY go.mod vendor* ./ 03:43:13 ---> f376a3a85b92 03:43:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:13 ---> Running in d2a8659251b6 03:43:45 Removing intermediate container d2a8659251b6 03:43:45 ---> 8ef47db49056 03:43:45 Step 10/12 : COPY . . 03:43:45 ---> d41dd0588b98 03:43:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:43:45 ---> Running in 40cbdd805db6 03:43:45 Removing intermediate container 40cbdd805db6 03:43:45 ---> 4b41012fdf48 03:43:45 Step 12/12 : RUN $MAKE 03:43:45 ---> Running in 4b6b1e5712a7 03:43:45 noop 03:43:45 Removing intermediate container 4b6b1e5712a7 03:43:45 ---> 44a6c59a66bf 03:43:45 Successfully built 44a6c59a66bf 03:43:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:46 + docker inspect -f . ci-base-image-x86_64 03:43:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:46 prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container 03:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:46 $ docker top 80d81e35f5a89879e67a57a482813809ddb8339e9da64757bb7664d7613ad0cd -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:47 + go version 03:43:47 go version go1.20.2 linux/amd64 [Pipeline] } 03:43:47 $ docker stop --time=1 80d81e35f5a89879e67a57a482813809ddb8339e9da64757bb7664d7613ad0cd 03:43:48 $ docker rm -f --volumes 80d81e35f5a89879e67a57a482813809ddb8339e9da64757bb7664d7613ad0cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:48 + docker inspect -f . ci-base-image-x86_64 03:43:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:49 prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container 03:43:49 $ 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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:49 $ docker top a1c5235843260c3a19fec4b290ded2f2f6faa11a7101f39255288451ab415e07 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:49 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-378 [Pipeline] fileExists [Pipeline] sh 03:43:49 + make test 03:43:49 go test ./... -coverprofile=coverage.out 03:43:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:44:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:44:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 59.0% of statements 03:44:09 go vet ./... 03:44:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:13 ./bin/test-attribution-txt.sh 03:44:13 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 03:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:44:13 $ docker stop --time=1 a1c5235843260c3a19fec4b290ded2f2f6faa11a7101f39255288451ab415e07 03:44:18 $ docker rm -f --volumes a1c5235843260c3a19fec4b290ded2f2f6faa11a7101f39255288451ab415e07 [Pipeline] // withDockerContainer [Pipeline] sh 03:44:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:44:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:19 + ls -al . 03:44:19 total 192 03:44:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 03:43 . 03:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:42 .. 03:44:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:42 .git 03:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:42 .github 03:44:19 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 03:42 .gitignore 03:44:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:42 .golangci.yml 03:44:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:42 .semver 03:44:19 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 03:42 Attribution.txt 03:44:19 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 03:42 CHANGELOG.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 03:42 Dockerfile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:42 GOVERNANCE.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 03:42 Jenkinsfile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:42 LICENSE 03:44:19 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 03:42 Makefile 03:44:19 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 03:42 OWNERS.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 03:42 README.md 03:44:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:42 VERSION 03:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:42 bin 03:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:42 cmd 03:44:19 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 03:44 coverage.out 03:44:19 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 03:42 go.mod 03:44:19 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 03:42 go.sum 03:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:42 internal 03:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:42 snap 03:44:19 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:20 + 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=c9d512df29b4d04496ca9e726204ed8c0bf11f21 --label arch=amd64 --label version=0.0.0 . 03:44:20 Sending build context to Docker daemon 23.58MB 03:44:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:44:20 Step 2/25 : FROM ${BASE} AS builder 03:44:20 ---> 44a6c59a66bf 03:44:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:44:21 ---> Running in c3b6eb989d95 03:44:21 Removing intermediate container c3b6eb989d95 03:44:21 ---> e9746083754c 03:44:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:44:21 ---> Running in 29b9ee6ea26f 03:44:21 Removing intermediate container 29b9ee6ea26f 03:44:21 ---> 025cd13fbcd2 03:44:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:44:22 ---> Running in acf18b136351 03:44:22 Removing intermediate container acf18b136351 03:44:22 ---> 576bed28680a 03:44:22 Step 6/25 : WORKDIR /device-virtual-go 03:44:22 ---> Running in 0cd032bf079a 03:44:23 Removing intermediate container 0cd032bf079a 03:44:23 ---> b80595f6be98 03:44:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:23 ---> Running in df29ddd8a604 03:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:44:24 OK: 269 MiB in 57 packages 03:44:25 Removing intermediate container df29ddd8a604 03:44:25 ---> d4b67c8a5930 03:44:25 Step 8/25 : COPY go.mod vendor* ./ 03:44:25 ---> f8445c52354f 03:44:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:25 ---> Running in 5893c795df90 03:44:25 Removing intermediate container 5893c795df90 03:44:25 ---> 7e1f7c23b54f 03:44:25 Step 10/25 : COPY . . 03:44:26 ---> 1d33c139e871 03:44:26 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:26 ---> Running in a46266a94742 03:44:26 Removing intermediate container a46266a94742 03:44:26 ---> 310fa9f9fa5a 03:44:26 Step 12/25 : RUN $MAKE 03:44:26 ---> Running in 462df6e23ae9 03:44:27 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 03:44:49 Removing intermediate container 462df6e23ae9 03:44:49 ---> b9057de854a2 03:44:49 Step 13/25 : FROM alpine:3.17 03:44:49 3.17: Pulling from library/alpine 03:44:49 f56be85fc22e: Pulling fs layer 03:44:49 f56be85fc22e: Pull complete 03:44:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:44:49 Status: Downloaded newer image for alpine:3.17 03:44:49 ---> 9ed4aefc74f6 03:44:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:44:49 ---> Running in ca8ee943a054 03:44:49 Removing intermediate container ca8ee943a054 03:44:49 ---> c57616d9e92a 03:44:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:44:49 ---> Running in 3d3164100d13 03:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:44:49 (1/1) Installing dumb-init (1.2.5-r2) 03:44:49 Executing busybox-1.35.0-r29.trigger 03:44:49 OK: 7 MiB in 16 packages 03:44:49 Removing intermediate container 3d3164100d13 03:44:49 ---> 900f5ebebd98 03:44:49 Step 16/25 : WORKDIR / 03:44:49 ---> Running in 1e81174340e4 03:44:49 Removing intermediate container 1e81174340e4 03:44:49 ---> f5efc4f49b8b 03:44:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:44:49 ---> abd8ea236815 03:44:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:44:49 ---> 8fa08e3608fa 03:44:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:44:50 ---> 452e331095d8 03:44:50 Step 20/25 : EXPOSE 59900 03:44:50 ---> Running in beb3ecde8f97 03:44:50 Removing intermediate container beb3ecde8f97 03:44:50 ---> a1bdb44c59b1 03:44:50 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:44:50 ---> Running in 9db316f399b6 03:44:50 Removing intermediate container 9db316f399b6 03:44:50 ---> 0a5387e6c936 03:44:50 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:44:50 ---> Running in 00fcb039b1be 03:44:50 Removing intermediate container 00fcb039b1be 03:44:50 ---> f48a418cb1e4 03:44:50 Step 23/25 : LABEL arch=amd64 03:44:50 ---> Running in 4104de549e10 03:44:50 Removing intermediate container 4104de549e10 03:44:50 ---> ef16e80729f2 03:44:50 Step 24/25 : LABEL git_sha=c9d512df29b4d04496ca9e726204ed8c0bf11f21 03:44:50 ---> Running in 61533fd3d459 03:44:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7268 in /w/workspace/foundry_device-virtual-go_PR-378 [Pipeline] { [Pipeline] ws 03:44:50 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 03:44:50 The recommended git tool is: git 03:44:50 Removing intermediate container 61533fd3d459 03:44:50 ---> dd2a89d144f2 03:44:50 Step 25/25 : LABEL version=0.0.0 03:44:50 ---> Running in 220fab1d2caa 03:44:50 Removing intermediate container 220fab1d2caa 03:44:50 ---> 4846923c5008 03:44:50 [Warning] One or more build-args [ARCH] were not consumed 03:44:50 Successfully built 4846923c5008 03:44:50 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 03:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:51 03:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:51 latest: Pulling from edgex-lftools-log-publisher 03:44:51 5eb5b503b376: Pulling fs layer 03:44:51 5c69ac0246d0: Pulling fs layer 03:44:51 ec43610c2a17: Pulling fs layer 03:44:51 3a2ae6a8a46f: Pulling fs layer 03:44:51 33b1e0a273af: Pulling fs layer 03:44:51 5d3b04190fa2: Pulling fs layer 03:44:51 2f39f015ded8: Pulling fs layer 03:44:51 3a2ae6a8a46f: Waiting 03:44:51 33b1e0a273af: Waiting 03:44:51 5d3b04190fa2: Waiting 03:44:51 2f39f015ded8: Waiting 03:44:51 5c69ac0246d0: Verifying Checksum 03:44:51 5c69ac0246d0: Download complete 03:44:51 3a2ae6a8a46f: Download complete 03:44:51 33b1e0a273af: Verifying Checksum 03:44:51 33b1e0a273af: Download complete 03:44:51 5d3b04190fa2: Verifying Checksum 03:44:51 5d3b04190fa2: Download complete 03:44:51 ec43610c2a17: Verifying Checksum 03:44:51 ec43610c2a17: Download complete 03:44:51 5eb5b503b376: Verifying Checksum 03:44:51 5eb5b503b376: Download complete 03:44:52 2f39f015ded8: Download complete 03:44:53 5eb5b503b376: Pull complete 03:44:53 5c69ac0246d0: Pull complete 03:44:53 ec43610c2a17: Pull complete 03:44:53 3a2ae6a8a46f: Pull complete 03:44:54 33b1e0a273af: Pull complete 03:44:54 5d3b04190fa2: Pull complete 03:44:56 using credential edgex-jenkins-ssh 03:44:56 Cloning the remote Git repository 03:44:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:44:56 > git init /w/workspace/device-virtual-go/2 # timeout=10 03:44:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:44:56 > git --version # timeout=10 03:44:56 > git --version # 'git version 2.25.1' 03:44:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:58 2f39f015ded8: Pull complete 03:44:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:58 prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container 03:44:58 $ 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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@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 03:44:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:44:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:45:00 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit c9d512df29b4d04496ca9e726204ed8c0bf11f21 03:45:00 Merge succeeded, producing c9d512df29b4d04496ca9e726204ed8c0bf11f21 03:45:00 Checking out Revision c9d512df29b4d04496ca9e726204ed8c0bf11f21 (PR-378) 03:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:45:00 > git config core.sparsecheckout # timeout=10 03:45:00 > git checkout -f c9d512df29b4d04496ca9e726204ed8c0bf11f21 # timeout=10 03:45:00 > git remote # timeout=10 03:45:00 > git config --get remote.origin.url # timeout=10 03:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:00 > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 03:45:00 > git rev-parse HEAD^{commit} # timeout=10 03:45:00 > git config core.sparsecheckout # timeout=10 03:45:00 > git checkout -f c9d512df29b4d04496ca9e726204ed8c0bf11f21 # timeout=10 03:45:04 Commit message: "feat: Remove deprecated rand.Seed function" 03:45:04 03:45:04 GitHub has been notified of this commit’s build result 03:45:04 03:45:04 $ docker top e5c3ed42bdcf1b9655a77f71e1b8bc5632a63bcb3bc3f6e75beac917c0013f95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:05 ---> job-cost.sh 03:45:05 lf-activate-venv: SKIPPING 03:45:05 INFO: No Stack... 03:45:05 INFO: Retrieving Pricing Info for: v3-standard-8 03:45:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:45:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:45:05 Dload Upload Total Spent Left Speed 03:45:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 03:45:06 INFO: Archiving Costs [Pipeline] sh 03:45:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:45:06 + cat /w/workspace/foundry_device-virtual-go_PR-378/archives/cost.csv 03:45:06 + cut -d, -f6 [Pipeline] lock 03:45:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] 03:45:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] did not exist. Created. 03:45:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:45:06 + sudo tee /etc/docker/daemon.new 03:45:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:45:06 { 03:45:06 "registry-mirrors": [ 03:45:06 "https://nexus3.edgexfoundry.org:10001" 03:45:06 ], 03:45:06 "bip": "10.250.0.254/24", 03:45:06 "hosts": [ 03:45:06 "tcp://0.0.0.0:5555", 03:45:06 "unix:///var/run/docker.sock" 03:45:06 ], 03:45:06 "mtu": 1458, 03:45:06 "selinux-enabled": true, 03:45:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:45:06 } [Pipeline] sh 03:45:06 + echo total: 0.2199999988079071 [Pipeline] stash 03:45:06 Stashed 1 file(s) [Pipeline] } 03:45:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:45:06 $ docker stop --time=1 e5c3ed42bdcf1b9655a77f71e1b8bc5632a63bcb3bc3f6e75beac917c0013f95 03:45:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 03:45:08 $ docker rm -f --volumes e5c3ed42bdcf1b9655a77f71e1b8bc5632a63bcb3bc3f6e75beac917c0013f95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:45:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:26 provisioning config files... 03:45:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config16216455361636573367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:27 ---> docker-login.sh 03:45:27 nexus3.edgexfoundry.org:10001 03:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:27 Configure a credential helper to remove this warning. See 03:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:27 03:45:27 Login Succeeded 03:45:27 nexus3.edgexfoundry.org:10002 03:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:27 Configure a credential helper to remove this warning. See 03:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:27 03:45:27 Login Succeeded 03:45:27 nexus3.edgexfoundry.org:10003 03:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:28 Configure a credential helper to remove this warning. See 03:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:28 03:45:28 Login Succeeded 03:45:28 nexus3.edgexfoundry.org:10004 03:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:28 Configure a credential helper to remove this warning. See 03:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:28 03:45:28 Login Succeeded 03:45:28 docker.io 03:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:29 Configure a credential helper to remove this warning. See 03:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:29 03:45:29 Login Succeeded 03:45:29 ---> docker-login.sh ends [Pipeline] } 03:45:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:29 ========================================================= 03:45:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:45:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:45:30 Sending build context to Docker daemon 11.94MB 03:45:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:45:30 Step 2/12 : FROM ${BASE} AS builder 03:45:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:45:30 af6eaf76a39c: Pulling fs layer 03:45:30 55522c791124: Pulling fs layer 03:45:30 ce5c4a1c91eb: Pulling fs layer 03:45:30 169dfbe0d373: Pulling fs layer 03:45:30 e1ff8fa3b103: Pulling fs layer 03:45:30 52ebb69f0ebf: Pulling fs layer 03:45:30 5abe8eddf0d5: Pulling fs layer 03:45:30 169dfbe0d373: Waiting 03:45:30 e1ff8fa3b103: Waiting 03:45:30 52ebb69f0ebf: Waiting 03:45:30 5abe8eddf0d5: Waiting 03:45:30 55522c791124: Verifying Checksum 03:45:30 55522c791124: Download complete 03:45:30 169dfbe0d373: Verifying Checksum 03:45:30 169dfbe0d373: Download complete 03:45:30 e1ff8fa3b103: Verifying Checksum 03:45:30 e1ff8fa3b103: Download complete 03:45:30 af6eaf76a39c: Verifying Checksum 03:45:31 5abe8eddf0d5: Verifying Checksum 03:45:31 5abe8eddf0d5: Download complete 03:45:31 af6eaf76a39c: Pull complete 03:45:32 ce5c4a1c91eb: Verifying Checksum 03:45:32 ce5c4a1c91eb: Download complete 03:45:32 52ebb69f0ebf: Verifying Checksum 03:45:32 52ebb69f0ebf: Download complete 03:45:34 55522c791124: Pull complete 03:45:46 ce5c4a1c91eb: Pull complete 03:45:46 169dfbe0d373: Pull complete 03:45:46 e1ff8fa3b103: Pull complete 03:45:51 52ebb69f0ebf: Pull complete 03:45:53 5abe8eddf0d5: Pull complete 03:45:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:45:53 ---> 6cb57ee374ae 03:45:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:45:55 ---> Running in 6f94df0532bc 03:45:55 Removing intermediate container 6f94df0532bc 03:45:55 ---> 564a92d11cc7 03:45:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:45:55 ---> Running in 791722dd5bd2 03:45:55 Removing intermediate container 791722dd5bd2 03:45:55 ---> 42c65e826d54 03:45:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:45:55 ---> Running in 2190d0629e9f 03:45:55 Removing intermediate container 2190d0629e9f 03:45:55 ---> 1ab80a7f122a 03:45:55 Step 6/12 : WORKDIR /device-virtual-go 03:45:55 ---> Running in 817520a58a3e 03:45:56 Removing intermediate container 817520a58a3e 03:45:56 ---> 8b21f4e2e3e4 03:45:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:56 ---> Running in 303f14a08585 03:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:45:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:45:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:45:58 (2/4) Installing libedit (20221030.3.1-r0) 03:45:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:45:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:45:58 Executing busybox-1.35.0-r29.trigger 03:45:58 OK: 268 MiB in 57 packages 03:46:00 Removing intermediate container 303f14a08585 03:46:00 ---> 4f43372115a1 03:46:00 Step 8/12 : COPY go.mod vendor* ./ 03:46:00 ---> e4a2be612bf9 03:46:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:00 ---> Running in 1d73b51a8013 03:46:57 Removing intermediate container 1d73b51a8013 03:46:57 ---> ff66aabc3322 03:46:57 Step 10/12 : COPY . . 03:46:57 ---> 7d9ebc09ebe6 03:46:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:57 ---> Running in c7ea0d167c3d 03:46:57 Removing intermediate container c7ea0d167c3d 03:46:57 ---> d2a315357383 03:46:57 Step 12/12 : RUN $MAKE 03:46:57 ---> Running in 7c3a8c768bd4 03:46:58 noop 03:46:59 Removing intermediate container 7c3a8c768bd4 03:46:59 ---> 9d790d7e2dba 03:46:59 Successfully built 9d790d7e2dba 03:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:59 + docker inspect -f . ci-base-image-arm64 03:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:59 prd-ubuntu20.04-docker-arm64-4c-16g-7268 does not seem to be running inside a container 03:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:47:00 $ docker top 402e16922cc1152b3085bc7caf797f77c8078a361d68b5d36e659741b8648191 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:01 + go version 03:47:01 go version go1.20.2 linux/arm64 [Pipeline] } 03:47:01 $ docker stop --time=1 402e16922cc1152b3085bc7caf797f77c8078a361d68b5d36e659741b8648191 03:47:03 $ docker rm -f --volumes 402e16922cc1152b3085bc7caf797f77c8078a361d68b5d36e659741b8648191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:03 + docker inspect -f . ci-base-image-arm64 03:47:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:03 prd-ubuntu20.04-docker-arm64-4c-16g-7268 does not seem to be running inside a container 03:47:03 $ 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 03:47:04 $ docker top bd1f3c50a6fd1d9751b6e2083d0d2b914ec8537712163b7397e7022372cd5cc3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:05 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 03:47:05 + make test 03:47:05 go test ./... -coverprofile=coverage.out 03:47:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:49:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:49:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.093s coverage: 58.8% of statements 03:49:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:49:29 go vet ./... 03:49:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:49:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:49:56 ./bin/test-attribution-txt.sh 03:49:56 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 03:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:49:56 $ docker stop --time=1 bd1f3c50a6fd1d9751b6e2083d0d2b914ec8537712163b7397e7022372cd5cc3 03:49:58 $ docker rm -f --volumes bd1f3c50a6fd1d9751b6e2083d0d2b914ec8537712163b7397e7022372cd5cc3 [Pipeline] // withDockerContainer [Pipeline] sh 03:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:49:59 Warning: overwriting stash ‘coverage-report’ 03:49:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:50:00 + ls -al . 03:50:00 total 188 03:50:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:47 . 03:50:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:44 .. 03:50:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:45 .git 03:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:45 .github 03:50:00 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 03:45 .gitignore 03:50:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:45 .golangci.yml 03:50:00 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 03:45 Attribution.txt 03:50:00 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 03:45 CHANGELOG.md 03:50:00 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 03:45 Dockerfile 03:50:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:45 GOVERNANCE.md 03:50:00 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 03:45 Jenkinsfile 03:50:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:45 LICENSE 03:50:00 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 03:45 Makefile 03:50:00 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 03:45 OWNERS.md 03:50:00 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 03:45 README.md 03:50:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:42 VERSION 03:50:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:45 bin 03:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:45 cmd 03:50:00 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 03:49 coverage.out 03:50:00 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 03:45 go.mod 03:50:00 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 03:45 go.sum 03:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:45 internal 03:50:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:45 snap 03:50:00 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:01 + 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=c9d512df29b4d04496ca9e726204ed8c0bf11f21 --label arch=arm64 --label version=0.0.0 . 03:50:01 Sending build context to Docker daemon 11.98MB 03:50:01 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:50:01 Step 2/25 : FROM ${BASE} AS builder 03:50:01 ---> 9d790d7e2dba 03:50:01 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:50:01 ---> Running in a4b3f1b13fc7 03:50:02 Removing intermediate container a4b3f1b13fc7 03:50:02 ---> be3444278ab8 03:50:02 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:50:02 ---> Running in c020b1f1a925 03:50:02 Removing intermediate container c020b1f1a925 03:50:02 ---> 49465f3f7e52 03:50:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:50:02 ---> Running in 0e9089d347e7 03:50:03 Removing intermediate container 0e9089d347e7 03:50:03 ---> 0825d022c72a 03:50:03 Step 6/25 : WORKDIR /device-virtual-go 03:50:03 ---> Running in ed6760468039 03:50:03 Removing intermediate container ed6760468039 03:50:03 ---> 359ff4c7a9b8 03:50:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:50:03 ---> Running in 76b0c298bd64 03:50:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:50:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:50:05 OK: 268 MiB in 57 packages 03:50:06 Removing intermediate container 76b0c298bd64 03:50:06 ---> db6ae7f6c0c7 03:50:06 Step 8/25 : COPY go.mod vendor* ./ 03:50:07 ---> 223c2f6c380e 03:50:07 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:07 ---> Running in a215adc699ea 03:50:11 Removing intermediate container a215adc699ea 03:50:11 ---> 280e55b27925 03:50:11 Step 10/25 : COPY . . 03:50:13 ---> 3b13911902cc 03:50:13 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:50:13 ---> Running in 7c32f4f00a28 03:50:13 Removing intermediate container 7c32f4f00a28 03:50:13 ---> cd08f22e8b9d 03:50:13 Step 12/25 : RUN $MAKE 03:50:13 ---> Running in 056c98d7af33 03:50:14 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 03:52:21 Removing intermediate container 056c98d7af33 03:52:21 ---> f9fd8e2b3e5a 03:52:21 Step 13/25 : FROM alpine:3.17 03:52:21 3.17: Pulling from library/alpine 03:52:21 c41833b44d91: Pulling fs layer 03:52:21 c41833b44d91: Verifying Checksum 03:52:21 c41833b44d91: Download complete 03:52:21 c41833b44d91: Pull complete 03:52:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:52:21 Status: Downloaded newer image for alpine:3.17 03:52:21 ---> 51e60588ff2c 03:52:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:52:21 ---> Running in 54b7b272dd26 03:52:21 Removing intermediate container 54b7b272dd26 03:52:21 ---> 0b760030ec95 03:52:21 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:52:21 ---> Running in e64ffce00a67 03:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:52:21 (1/1) Installing dumb-init (1.2.5-r2) 03:52:21 Executing busybox-1.35.0-r29.trigger 03:52:21 OK: 8 MiB in 16 packages 03:52:22 Removing intermediate container e64ffce00a67 03:52:22 ---> a91d6d9579fa 03:52:22 Step 16/25 : WORKDIR / 03:52:22 ---> Running in 0598a0ec4ac0 03:52:22 Removing intermediate container 0598a0ec4ac0 03:52:22 ---> 845f1402304d 03:52:22 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:52:23 ---> 9cc87fdb9c6f 03:52:23 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:52:23 ---> 1f8ea99fe3d4 03:52:23 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:52:25 ---> e21b5fdd87d6 03:52:25 Step 20/25 : EXPOSE 59900 03:52:25 ---> Running in 2fdee5670b4c 03:52:25 Removing intermediate container 2fdee5670b4c 03:52:25 ---> 6f3632f6f836 03:52:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:52:25 ---> Running in 4609617ee046 03:52:25 Removing intermediate container 4609617ee046 03:52:25 ---> e181f844d69d 03:52:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:52:25 ---> Running in 4931bd726e37 03:52:26 Removing intermediate container 4931bd726e37 03:52:26 ---> e8fdeb67dfaf 03:52:26 Step 23/25 : LABEL arch=arm64 03:52:26 ---> Running in fd65991dc8b7 03:52:26 Removing intermediate container fd65991dc8b7 03:52:26 ---> 0fd7b162e9d3 03:52:26 Step 24/25 : LABEL git_sha=c9d512df29b4d04496ca9e726204ed8c0bf11f21 03:52:26 ---> Running in bb0913c86ffb 03:52:26 Removing intermediate container bb0913c86ffb 03:52:26 ---> d00a91a8c6c6 03:52:26 Step 25/25 : LABEL version=0.0.0 03:52:26 ---> Running in 609395498aed 03:52:27 Removing intermediate container 609395498aed 03:52:27 ---> e349b53eaf71 03:52:27 [Warning] One or more build-args [ARCH] were not consumed 03:52:27 Successfully built e349b53eaf71 03:52:27 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 03:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:27 03:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:27 arm64: Pulling from edgex-lftools-log-publisher 03:52:27 8998bd30e6a1: Pulling fs layer 03:52:27 04944245beec: Pulling fs layer 03:52:27 699f458cf7ca: Pulling fs layer 03:52:27 765212b225bb: Pulling fs layer 03:52:27 f23df028b6ca: Pulling fs layer 03:52:27 d65c8cfc05b1: Pulling fs layer 03:52:27 2437ff75d9bd: Pulling fs layer 03:52:27 f23df028b6ca: Waiting 03:52:27 d65c8cfc05b1: Waiting 03:52:27 2437ff75d9bd: Waiting 03:52:27 765212b225bb: Waiting 03:52:28 04944245beec: Verifying Checksum 03:52:28 04944245beec: Download complete 03:52:28 765212b225bb: Verifying Checksum 03:52:28 765212b225bb: Download complete 03:52:28 f23df028b6ca: Verifying Checksum 03:52:28 f23df028b6ca: Download complete 03:52:28 d65c8cfc05b1: Verifying Checksum 03:52:28 d65c8cfc05b1: Download complete 03:52:28 699f458cf7ca: Verifying Checksum 03:52:28 699f458cf7ca: Download complete 03:52:28 8998bd30e6a1: Verifying Checksum 03:52:28 8998bd30e6a1: Download complete 03:52:31 2437ff75d9bd: Download complete 03:52:32 8998bd30e6a1: Pull complete 03:52:33 04944245beec: Pull complete 03:52:34 699f458cf7ca: Pull complete 03:52:35 765212b225bb: Pull complete 03:52:36 f23df028b6ca: Pull complete 03:52:36 d65c8cfc05b1: Pull complete 03:52:51 2437ff75d9bd: Pull complete 03:52:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-7268 does not seem to be running inside a container 03:52:51 $ 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 03:52:54 $ docker top 20083ecb28b190713221023f1089f951054c98444194be147b20ed5ead9adb1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:54 ---> job-cost.sh 03:52:55 lf-activate-venv: SKIPPING 03:52:55 INFO: No Stack... 03:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 03:52:56 INFO: Archiving Costs [Pipeline] sh 03:52:56 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 03:52:56 + cut -d, -f6 [Pipeline] lock 03:52:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] 03:52:57 Resource [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] did not exist. Created. 03:52:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:52:57 /w/workspace/device-virtual-go/2@tmp/durable-18f2c83c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:52:57 + echo total: 0.10999999940395355 [Pipeline] stash 03:52:57 Warning: overwriting stash ‘stack-cost’ 03:52:58 Stashed 1 file(s) [Pipeline] } 03:52:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-378-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:52:58 $ docker stop --time=1 20083ecb28b190713221023f1089f951054c98444194be147b20ed5ead9adb1b 03:52:59 $ docker rm -f --volumes 20083ecb28b190713221023f1089f951054c98444194be147b20ed5ead9adb1b [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 03:52:59 provisioning config files... 03:52:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config15561414741573227188tmp [Pipeline] { [Pipeline] sh 03:53:00 + set +x 03:53:00 + curl -s https://codecov.io/bash 03:53:00 + bash -s -- 03:53:00 03:53:00 _____ _ 03:53:00 / ____| | | 03:53:00 | | ___ __| | ___ ___ _____ __ 03:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 03:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 03:53:00 Bash-1.0.6 03:53:00 03:53:00 03:53:00 ==> git version 2.25.1 found 03:53:00 ==> 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 03:53:00 Release-Date: 2020-01-08 03:53:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:53:00 ==> Jenkins CI detected. 03:53:00 current dir:  /w/workspace/foundry_device-virtual-go_PR-378 03:53:00 project root: . 03:53:00 --> token set from env 03:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:53:00 ==> Running gcov in . (disable via -X gcov) 03:53:00 ==> Python coveragepy not found 03:53:00 ==> Searching for coverage reports in: 03:53:00 + . 03:53:00 -> Found 1 reports 03:53:00 ==> Detecting git/mercurial file structure 03:53:00 ==> Reading reports 03:53:00 + ./coverage.out bytes=42786 03:53:00 ==> Appending adjustments 03:53:00 https://docs.codecov.io/docs/fixing-reports 03:53:00 + Found adjustments 03:53:00 ==> Gzipping contents 03:53:00 8.0K /tmp/codecov.ShbxnK.gz 03:53:00 ==> Uploading reports 03:53:00 url: https://codecov.io 03:53:00 query: branch=PR-378&commit=c9d512df29b4d04496ca9e726204ed8c0bf11f21&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-378%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=378&job=&cmd_args= 03:53:00 -> Pinging Codecov 03:53:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-378&commit=c9d512df29b4d04496ca9e726204ed8c0bf11f21&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-378%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=378&job=&cmd_args= 03:53:00 -> Uploading to 03:53:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/5E52B4B073DB2E39498172D8E973AA87/c9d512df29b4d04496ca9e726204ed8c0bf11f21/a9e0ae76-d9bc-4e35-ba21-b84eb8ddd3d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T035300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=990b788b37349b066fa7ab9a547617ecdbc4b97586fa1f92deb15d1253623019 03:53:00 % Total % Received % Xferd Average Speed Time Time Time Current 03:53:00 Dload Upload Total Spent Left Speed 03:53:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5136 0 0 100 5136 0 18342 --:--:-- --:--:-- --:--:-- 18342 03:53:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c9d512df29b4d04496ca9e726204ed8c0bf11f21 [Pipeline] } 03:53:00 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 03:53:01 + [ -d /w/workspace/foundry_device-virtual-go_PR-378/archives ] 03:53:01 + ls -al /w/workspace/foundry_device-virtual-go_PR-378/archives 03:53:01 total 16 03:53:01 drwxr-xr-x 3 root root 4096 Apr 10 03:45 . 03:53:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:45 .. 03:53:01 drwxr-xr-x 2 root root 4096 Apr 10 03:45 cost 03:53:01 -rw-r--r-- 1 root root 89 Apr 10 03:45 cost.csv 03:53:01 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-378/archives 03:53:01 + ls -al /w/workspace/foundry_device-virtual-go_PR-378/archives 03:53:01 total 16 03:53:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:45 . 03:53:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:45 .. 03:53:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 03:45 cost 03:53:01 -rw-r--r-- 1 jenkins jenkins 89 Apr 10 03:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:53:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:53:02 ---> package-listing.sh 03:53:02 ++ facter osfamily 03:53:02 ++ tr '[:upper:]' '[:lower:]' 03:53:03 + OS_FAMILY=debian 03:53:03 + workspace=/w/workspace/foundry_device-virtual-go_PR-378 03:53:03 + START_PACKAGES=/tmp/packages_start.txt 03:53:03 + END_PACKAGES=/tmp/packages_end.txt 03:53:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:53:03 + PACKAGES=/tmp/packages_start.txt 03:53:03 + '[' /w/workspace/foundry_device-virtual-go_PR-378 ']' 03:53:03 + PACKAGES=/tmp/packages_end.txt 03:53:03 + case "${OS_FAMILY}" in 03:53:03 + dpkg -l 03:53:03 + grep '^ii' 03:53:03 + '[' -f /tmp/packages_start.txt ']' 03:53:03 + '[' -f /tmp/packages_end.txt ']' 03:53:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:53:03 + '[' /w/workspace/foundry_device-virtual-go_PR-378 ']' 03:53:03 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-378/archives/ 03:53:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-378/archives/ [Pipeline] echo 03:53:03 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:53:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:04 prd-ubuntu20.04-docker-8c-8g-7267 does not seem to be running inside a container 03:53:04 $ 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-378/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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:53:04 $ docker top 0227b9e68e9939b91f22191054c10bd44a69ebc2ae95b9caaec8cdd63b29fb88 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:53:04 + mkdir -p /var/log/sysstat [Pipeline] sh 03:53:05 + ls /var/log/sa-host 03:53:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:05 provisioning config files... 03:53:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config16612170966275708492tmp [Pipeline] { [Pipeline] echo 03:53:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:53:05 ---> create-netrc.sh [Pipeline] } 03:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:53:05 ---> python-tools-install.sh [Pipeline] echo 03:53:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:53:06 ---> sudo-logs.sh 03:53:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:53:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:53:06 ---> job-cost.sh 03:53:06 lf-activate-venv: SKIPPING 03:53:06 DEBUG: total: 0.2199999988079071 03:53:06 INFO: Retrieving Stack Cost... 03:53:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:53:07 INFO: Archiving Costs [Pipeline] echo 03:53:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:53:07 ---> logs-deploy.sh 03:53:07 lf-activate-venv: SKIPPING 03:53:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-378/2 03:53:07 INFO: archiving workspace using pattern(s): 03:53:08 Archives upload complete. 03:53:08 INFO: archiving logs to Nexus