Branch indexing 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9393cb199918d0b51a604a638f19df0ef5e84a0a rather than 0d6858b6f354b84f4e84d2f837640387bd5cc444 Obtained Jenkinsfile from 9393cb199918d0b51a604a638f19df0ef5e84a0a 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-ssh11564837999031972858.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-ssh1076697224195161633.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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12619021557626449925.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-ssh13936516819347508145.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12932975878363261202.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-7283 in /w/workspace/foundry_device-virtual-go_PR-376 [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-376 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9393cb199918d0b51a604a638f19df0ef5e84a0a into PR head commit 0d6858b6f354b84f4e84d2f837640387bd5cc444 Merge succeeded, producing 3219fbd9328c961f6f5027cc4cd107f9270924c0 Checking out Revision 3219fbd9328c961f6f5027cc4cd107f9270924c0 (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # 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 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3219fbd9328c961f6f5027cc4cd107f9270924c0 # timeout=10 Commit message: "Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD" > git rev-list --no-walk 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:13:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:13:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:33 ========================================================= 08:13:33 EdgeX Global Pipelines Version Info 08:13:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:13:33 ------------------- 08:13:33 stable info: 08:13:33 ------------------- 08:13:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:13:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:13:33 Message: update stable to v1.0.245 08:13:34 ------------------- 08:13:34 experimental info: 08:13:34 ------------------- 08:13:34 Commited By: **** collab-it+edgex@linuxfoundation.org 08:13:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:13:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 08:13:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 08:13:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3219fbd9328c961f6f5027cc4cd107f9270924c0 [Pipeline] echo 08:13:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3219fbd [Pipeline] echo 08:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:35 provisioning config files... 08:13:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config13102465572497445883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:35 ---> docker-login.sh 08:13:35 nexus3.edgexfoundry.org:10001 08:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:35 Configure a credential helper to remove this warning. See 08:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:35 08:13:35 Login Succeeded 08:13:35 nexus3.edgexfoundry.org:10002 08:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:35 Configure a credential helper to remove this warning. See 08:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:35 08:13:35 Login Succeeded 08:13:35 nexus3.edgexfoundry.org:10003 08:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:35 Configure a credential helper to remove this warning. See 08:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:35 08:13:35 Login Succeeded 08:13:35 nexus3.edgexfoundry.org:10004 08:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:36 Configure a credential helper to remove this warning. See 08:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:36 08:13:36 Login Succeeded 08:13:36 docker.io 08:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:36 Configure a credential helper to remove this warning. See 08:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:36 08:13:36 Login Succeeded 08:13:36 ---> docker-login.sh ends [Pipeline] } 08:13:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:13:36 + git rev-list -1 --merges 3219fbd9328c961f6f5027cc4cd107f9270924c0~1..3219fbd9328c961f6f5027cc4cd107f9270924c0 [Pipeline] echo 08:13:36 -----------> git rev-list -1 --merges 3219fbd9328c961f6f5027cc4cd107f9270924c0~1..3219fbd9328c961f6f5027cc4cd107f9270924c0 3219fbd9328c961f6f5027cc4cd107f9270924c0 08:13:36 3219fbd9328c961f6f5027cc4cd107f9270924c0 [false] [Pipeline] sh 08:13:37 + git log --format=format:%s -1 3219fbd9328c961f6f5027cc4cd107f9270924c0 [Pipeline] echo 08:13:37 ========================================================= 08:13:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:13:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:37 + git log --format=format:%s -1 3219fbd9328c961f6f5027cc4cd107f9270924c0 [Pipeline] echo 08:13:37 [semverPrep] GIT_COMMIT: 3219fbd9328c961f6f5027cc4cd107f9270924c0, Commit Message: Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD [Pipeline] echo 08:13:37 [semverPrep] This is not a build commit. [Pipeline] sh 08:13:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:13:38 + grep -v github /etc/ssh/ssh_known_hosts 08:13:38 + [ -e /tmp/ssh_known_hosts ] 08:13:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:13:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 08:13:38 sudo tee -a /etc/ssh/ssh_known_hosts 08:13:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:39 08:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:40 0.1.4: Pulling from edgex-devops/py-git-semver 08:13:40 b85a868b505f: Pulling fs layer 08:13:40 e2be974225ed: Pulling fs layer 08:13:40 339a4e72a1f5: Pulling fs layer 08:13:40 988bab9f4d93: Pulling fs layer 08:13:40 1469e6f7b9e6: Pulling fs layer 08:13:40 eaf3925da568: Pulling fs layer 08:13:40 bab4dde63d76: Pulling fs layer 08:13:40 bde34c3a00c8: Pulling fs layer 08:13:40 b352a97aabf1: Pulling fs layer 08:13:40 4872d77fe225: Pulling fs layer 08:13:40 5851b861e8e6: Pulling fs layer 08:13:40 bab4dde63d76: Waiting 08:13:40 4872d77fe225: Waiting 08:13:40 bde34c3a00c8: Waiting 08:13:40 b352a97aabf1: Waiting 08:13:40 988bab9f4d93: Waiting 08:13:40 1469e6f7b9e6: Waiting 08:13:40 5851b861e8e6: Waiting 08:13:40 eaf3925da568: Waiting 08:13:40 e2be974225ed: Verifying Checksum 08:13:40 e2be974225ed: Download complete 08:13:40 988bab9f4d93: Download complete 08:13:40 1469e6f7b9e6: Verifying Checksum 08:13:40 1469e6f7b9e6: Download complete 08:13:40 339a4e72a1f5: Verifying Checksum 08:13:40 339a4e72a1f5: Download complete 08:13:40 eaf3925da568: Verifying Checksum 08:13:40 eaf3925da568: Download complete 08:13:40 bde34c3a00c8: Verifying Checksum 08:13:40 bde34c3a00c8: Download complete 08:13:40 b352a97aabf1: Verifying Checksum 08:13:40 b352a97aabf1: Download complete 08:13:40 4872d77fe225: Verifying Checksum 08:13:40 4872d77fe225: Download complete 08:13:40 5851b861e8e6: Download complete 08:13:41 b85a868b505f: Verifying Checksum 08:13:41 b85a868b505f: Download complete 08:13:41 bab4dde63d76: Verifying Checksum 08:13:41 bab4dde63d76: Download complete 08:13:42 b85a868b505f: Pull complete 08:13:42 e2be974225ed: Pull complete 08:13:43 339a4e72a1f5: Pull complete 08:13:43 988bab9f4d93: Pull complete 08:13:43 1469e6f7b9e6: Pull complete 08:13:43 eaf3925da568: Pull complete 08:13:45 bab4dde63d76: Pull complete 08:13:45 bde34c3a00c8: Pull complete 08:13:45 b352a97aabf1: Pull complete 08:13:45 4872d77fe225: Pull complete 08:13:45 5851b861e8e6: Pull complete 08:13:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:45 prd-ubuntu20.04-docker-8c-8g-7283 does not seem to be running inside a container 08:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:48 $ docker top df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 -eo pid,comm 08:13:48 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). 08:13:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:13:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:48 [ssh-agent] Looking for ssh-agent implementation... 08:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:49 $ docker exec df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 ssh-agent 08:13:49 SSH_AUTH_SOCK=/tmp/ssh-ZkG7NwUMLLyX/agent.32 08:13:49 SSH_AGENT_PID=38 08:13:49 Running ssh-add (command line suppressed) 08:13:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_53148970318735273.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_53148970318735273.key) 08:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:49 + git tag --points-at HEAD [Pipeline] } 08:13:49 $ docker exec --env ******** --env ******** df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 ssh-agent -k 08:13:49 unset SSH_AUTH_SOCK; 08:13:49 unset SSH_AGENT_PID; 08:13:49 echo Agent pid 38 killed; 08:13:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:13:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:49 [ssh-agent] Looking for ssh-agent implementation... 08:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:49 $ docker exec df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 ssh-agent 08:13:50 SSH_AUTH_SOCK=/tmp/ssh-oCGWv2KEgKXn/agent.70 08:13:50 SSH_AGENT_PID=76 08:13:50 Running ssh-add (command line suppressed) 08:13:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_8346074272959759487.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_8346074272959759487.key) 08:13:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:50 + git semver init 08:13:50 2023-04-10 08:13:50,665 [run_init] DEBUG init version:0.0.0 force:False 08:13:50 2023-04-10 08:13:50,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-376/.semver 08:13:50 2023-04-10 08:13:50,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-376/.semver 08:13:50 2023-04-10 08:13:50,667 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-376/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-376, universal_newlines=False, shell=None, istream=None) 08:13:52 2023-04-10 08:13:51,764 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-376/.git/info/exclude 08:13:52 2023-04-10 08:13:51,765 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 with force:False 08:13:52 2023-04-10 08:13:51,765 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 08:13:52 2023-04-10 08:13:51,769 [execute] INFO git cat-file --batch-check 08:13:52 2023-04-10 08:13:51,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 08:13:52 2023-04-10 08:13:51,776 [execute] INFO git cat-file --batch 08:13:52 2023-04-10 08:13:51,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 08:13:52 2023-04-10 08:13:51,780 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 08:13:52 0.0.0 [Pipeline] } 08:13:52 $ docker exec --env ******** --env ******** df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 ssh-agent -k 08:13:52 unset SSH_AUTH_SOCK; 08:13:52 unset SSH_AGENT_PID; 08:13:52 echo Agent pid 76 killed; 08:13:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:52 + git semver [Pipeline] } 08:13:52 $ docker stop --time=1 df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 08:13:54 $ docker rm -f --volumes df745422be8236ee9f0edf8e4449b4724fa73c09a07acbe6595c3ecbd1f32001 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:13:54 Stashed 1 file(s) [Pipeline] echo 08:13:54 [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 08:13:54 provisioning config files... 08:13:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9282791053668935232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:55 ---> docker-login.sh 08:13:55 nexus3.edgexfoundry.org:10001 08:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:55 Configure a credential helper to remove this warning. See 08:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:55 08:13:55 Login Succeeded 08:13:55 nexus3.edgexfoundry.org:10002 08:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:55 Configure a credential helper to remove this warning. See 08:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:55 08:13:55 Login Succeeded 08:13:55 nexus3.edgexfoundry.org:10003 08:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:55 Configure a credential helper to remove this warning. See 08:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:55 08:13:55 Login Succeeded 08:13:55 nexus3.edgexfoundry.org:10004 08:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:55 Configure a credential helper to remove this warning. See 08:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:55 08:13:55 Login Succeeded 08:13:55 docker.io 08:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:55 Configure a credential helper to remove this warning. See 08:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:55 08:13:55 Login Succeeded 08:13:55 ---> docker-login.sh ends [Pipeline] } 08:13:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:13:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:13:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:13:55 ========================================================= 08:13:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:13:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:56 + 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 . 08:13:56 Sending build context to Docker daemon 23.55MB 08:13:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:13:56 Step 2/12 : FROM ${BASE} AS builder 08:13:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:13:56 63b65145d645: Pulling fs layer 08:13:56 a2d21d5440eb: Pulling fs layer 08:13:56 935e6c44a52c: Pulling fs layer 08:13:56 94cc34f8dd06: Pulling fs layer 08:13:56 30dea6a524f1: Pulling fs layer 08:13:56 a2aff8979fd8: Pulling fs layer 08:13:56 6808be2612f2: Pulling fs layer 08:13:56 f25807f1079a: Pulling fs layer 08:13:56 94cc34f8dd06: Waiting 08:13:56 30dea6a524f1: Waiting 08:13:56 a2aff8979fd8: Waiting 08:13:56 a2d21d5440eb: Verifying Checksum 08:13:56 a2d21d5440eb: Download complete 08:13:56 30dea6a524f1: Verifying Checksum 08:13:56 30dea6a524f1: Download complete 08:13:56 63b65145d645: Download complete 08:13:56 a2aff8979fd8: Verifying Checksum 08:13:56 a2aff8979fd8: Download complete 08:13:56 63b65145d645: Pull complete 08:13:56 a2d21d5440eb: Pull complete 08:13:57 f25807f1079a: Verifying Checksum 08:13:57 f25807f1079a: Download complete 08:13:57 935e6c44a52c: Download complete 08:13:57 6808be2612f2: Verifying Checksum 08:13:57 6808be2612f2: Download complete 08:14:00 935e6c44a52c: Pull complete 08:14:00 94cc34f8dd06: Pull complete 08:14:00 30dea6a524f1: Pull complete 08:14:00 a2aff8979fd8: Pull complete 08:14:03 6808be2612f2: Pull complete 08:14:03 f25807f1079a: Pull complete 08:14:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:14:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:14:03 ---> 3b553350e43f 08:14:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:14:09 ---> Running in 74bcd9a4582f 08:14:09 Removing intermediate container 74bcd9a4582f 08:14:09 ---> f3bc1992c669 08:14:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:14:09 ---> Running in 7dc8cf109a5f 08:14:09 Removing intermediate container 7dc8cf109a5f 08:14:09 ---> a5cc12115c5e 08:14:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:14:09 ---> Running in 264b59509cfa 08:14:09 Removing intermediate container 264b59509cfa 08:14:09 ---> e64068db974a 08:14:09 Step 6/12 : WORKDIR /device-virtual-go 08:14:09 ---> Running in a0e2c5d2885e 08:14:09 Removing intermediate container a0e2c5d2885e 08:14:09 ---> 6da500274a70 08:14:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:14:09 ---> Running in 08d41eaa117b 08:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:14:09 Still waiting to schedule task 08:14:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:14:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:14:09 (2/4) Installing libedit (20221030.3.1-r0) 08:14:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:14:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:14:09 Executing busybox-1.35.0-r29.trigger 08:14:09 OK: 269 MiB in 57 packages 08:14:10 Removing intermediate container 08d41eaa117b 08:14:10 ---> 3ec30cb7ac4f 08:14:10 Step 8/12 : COPY go.mod vendor* ./ 08:14:10 ---> df04d220dc4f 08:14:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:14:10 ---> Running in 0aae7c21048f 08:14:49 Removing intermediate container 0aae7c21048f 08:14:49 ---> 2875b8a83dc2 08:14:49 Step 10/12 : COPY . . 08:14:49 ---> 55ab98c94179 08:14:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:14:49 ---> Running in b64d649821c8 08:14:49 Removing intermediate container b64d649821c8 08:14:49 ---> 9829f4789beb 08:14:49 Step 12/12 : RUN $MAKE 08:14:49 ---> Running in d16b0324f1e3 08:14:49 noop 08:14:49 Removing intermediate container d16b0324f1e3 08:14:49 ---> a85286d3bd32 08:14:49 Successfully built a85286d3bd32 08:14:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:49 + docker inspect -f . ci-base-image-x86_64 08:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:49 prd-ubuntu20.04-docker-8c-8g-7283 does not seem to be running inside a container 08:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:50 $ docker top 82887d34f6c5222ab411bd5ba521ce456d27a2f8dd7b9246fa5afdd106435ce9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:50 + go version 08:14:50 go version go1.20.2 linux/amd64 [Pipeline] } 08:14:50 $ docker stop --time=1 82887d34f6c5222ab411bd5ba521ce456d27a2f8dd7b9246fa5afdd106435ce9 08:14:51 $ docker rm -f --volumes 82887d34f6c5222ab411bd5ba521ce456d27a2f8dd7b9246fa5afdd106435ce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:52 + docker inspect -f . ci-base-image-x86_64 08:14:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:52 prd-ubuntu20.04-docker-8c-8g-7283 does not seem to be running inside a container 08:14:52 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:52 $ docker top 2d64ac75777a1ef75a4390951fbf6f085c1920b2e7ba0b4553419ff5f0abd41d -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:52 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] fileExists [Pipeline] sh 08:14:53 + make test 08:14:53 go test ./... -coverprofile=coverage.out 08:14:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:15:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:15:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.7% of statements 08:15:13 go vet ./... 08:15:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:15:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:15:17 ./bin/test-attribution-txt.sh 08:15:17 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:15:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:15:17 $ docker stop --time=1 2d64ac75777a1ef75a4390951fbf6f085c1920b2e7ba0b4553419ff5f0abd41d 08:15:21 $ docker rm -f --volumes 2d64ac75777a1ef75a4390951fbf6f085c1920b2e7ba0b4553419ff5f0abd41d [Pipeline] // withDockerContainer [Pipeline] sh 08:15:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:15:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:22 + ls -al . 08:15:22 total 192 08:15:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 08:14 . 08:15:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 08:13 .. 08:15:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 08:13 .git 08:15:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:13 .github 08:15:22 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 08:13 .gitignore 08:15:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 08:13 .golangci.yml 08:15:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 08:13 .semver 08:15:22 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 08:13 Attribution.txt 08:15:22 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 08:13 CHANGELOG.md 08:15:22 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 08:13 Dockerfile 08:15:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 08:13 GOVERNANCE.md 08:15:22 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 08:13 Jenkinsfile 08:15:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 08:13 LICENSE 08:15:22 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 08:13 Makefile 08:15:22 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 08:13 OWNERS.md 08:15:22 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 08:13 README.md 08:15:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 08:13 VERSION 08:15:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 08:13 bin 08:15:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:13 cmd 08:15:22 -rw-r--r-- 1 jenkins jenkins 42970 Apr 10 08:15 coverage.out 08:15:22 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 08:13 go.mod 08:15:22 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 08:13 go.sum 08:15:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:13 internal 08:15:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 08:13 snap 08:15:22 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 08:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:22 + 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=3219fbd9328c961f6f5027cc4cd107f9270924c0 --label arch=amd64 --label version=0.0.0 . 08:15:22 Sending build context to Docker daemon 23.6MB 08:15:22 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:15:22 Step 2/25 : FROM ${BASE} AS builder 08:15:22 ---> a85286d3bd32 08:15:22 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:15:22 ---> Running in bf088b1fd1cb 08:15:22 Removing intermediate container bf088b1fd1cb 08:15:22 ---> 19b31ef3b4a0 08:15:22 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:15:23 ---> Running in 72ed05730bd0 08:15:23 Removing intermediate container 72ed05730bd0 08:15:23 ---> 9a3723be0ae3 08:15:23 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:15:23 ---> Running in aac12cd2eb4b 08:15:23 Removing intermediate container aac12cd2eb4b 08:15:23 ---> 086235f53dd8 08:15:23 Step 6/25 : WORKDIR /device-virtual-go 08:15:23 ---> Running in 9254320d6e93 08:15:23 Removing intermediate container 9254320d6e93 08:15:23 ---> 37cfb775d0da 08:15:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:23 ---> Running in f5cf2d6e366e 08:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:15:23 OK: 269 MiB in 57 packages 08:15:24 Removing intermediate container f5cf2d6e366e 08:15:24 ---> 24a433f8d7c8 08:15:24 Step 8/25 : COPY go.mod vendor* ./ 08:15:24 ---> 8b34983aa750 08:15:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:24 ---> Running in f137a6a31936 08:15:25 Removing intermediate container f137a6a31936 08:15:25 ---> ddd9a3828c7b 08:15:25 Step 10/25 : COPY . . 08:15:25 ---> 42acb432bf9d 08:15:25 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:15:25 ---> Running in 8719aaee630b 08:15:25 Removing intermediate container 8719aaee630b 08:15:25 ---> 176073a65000 08:15:25 Step 12/25 : RUN $MAKE 08:15:25 ---> Running in 063c806a575b 08:15:26 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 08:15:44 Removing intermediate container 063c806a575b 08:15:44 ---> 5f77f94d3dce 08:15:44 Step 13/25 : FROM alpine:3.17 08:15:44 3.17: Pulling from library/alpine 08:15:44 f56be85fc22e: Pulling fs layer 08:15:44 f56be85fc22e: Verifying Checksum 08:15:44 f56be85fc22e: Download complete 08:15:45 f56be85fc22e: Pull complete 08:15:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:15:45 Status: Downloaded newer image for alpine:3.17 08:15:45 ---> 9ed4aefc74f6 08:15:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:15:45 ---> Running in 4ee7a2bf06a8 08:15:45 Removing intermediate container 4ee7a2bf06a8 08:15:45 ---> 047c9415d1da 08:15:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:15:45 ---> Running in 66dcc275b795 08:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:15:45 (1/1) Installing dumb-init (1.2.5-r2) 08:15:45 Executing busybox-1.35.0-r29.trigger 08:15:45 OK: 7 MiB in 16 packages 08:15:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7285 in /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] { [Pipeline] ws 08:15:45 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 08:15:45 The recommended git tool is: git 08:15:46 Removing intermediate container 66dcc275b795 08:15:46 ---> cfbc2cc69c6a 08:15:46 Step 16/25 : WORKDIR / 08:15:46 ---> Running in 9080d4f83082 08:15:46 Removing intermediate container 9080d4f83082 08:15:46 ---> 1a7129b76c6c 08:15:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:15:46 ---> 7c26317dd961 08:15:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:15:46 ---> 0a0266e784a8 08:15:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:15:47 ---> bb19c0e60623 08:15:47 Step 20/25 : EXPOSE 59900 08:15:47 ---> Running in a787c3d38599 08:15:47 Removing intermediate container a787c3d38599 08:15:47 ---> 7537b2b62e23 08:15:47 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:15:47 ---> Running in 8ea49ce09c65 08:15:47 Removing intermediate container 8ea49ce09c65 08:15:47 ---> e7e2a2c5840b 08:15:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:15:47 ---> Running in f6c84bc8beca 08:15:47 Removing intermediate container f6c84bc8beca 08:15:47 ---> 74919cece2e8 08:15:47 Step 23/25 : LABEL arch=amd64 08:15:47 ---> Running in 39857cce7ce4 08:15:47 Removing intermediate container 39857cce7ce4 08:15:47 ---> 394c44adfa68 08:15:47 Step 24/25 : LABEL git_sha=3219fbd9328c961f6f5027cc4cd107f9270924c0 08:15:47 ---> Running in 10c0fcebf2ba 08:15:47 Removing intermediate container 10c0fcebf2ba 08:15:47 ---> 5656b66068ae 08:15:47 Step 25/25 : LABEL version=0.0.0 08:15:47 ---> Running in 810e1e87005c 08:15:47 Removing intermediate container 810e1e87005c 08:15:47 ---> bd04a849ce8f 08:15:47 [Warning] One or more build-args [ARCH] were not consumed 08:15:47 Successfully built bd04a849ce8f 08:15:47 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 08:15:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:48 08:15:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:48 latest: Pulling from edgex-lftools-log-publisher 08:15:48 5eb5b503b376: Pulling fs layer 08:15:48 5c69ac0246d0: Pulling fs layer 08:15:48 ec43610c2a17: Pulling fs layer 08:15:48 3a2ae6a8a46f: Pulling fs layer 08:15:48 33b1e0a273af: Pulling fs layer 08:15:48 5d3b04190fa2: Pulling fs layer 08:15:48 2f39f015ded8: Pulling fs layer 08:15:48 3a2ae6a8a46f: Waiting 08:15:48 33b1e0a273af: Waiting 08:15:48 5d3b04190fa2: Waiting 08:15:48 2f39f015ded8: Waiting 08:15:48 5c69ac0246d0: Verifying Checksum 08:15:48 5c69ac0246d0: Download complete 08:15:48 3a2ae6a8a46f: Verifying Checksum 08:15:48 3a2ae6a8a46f: Download complete 08:15:48 33b1e0a273af: Verifying Checksum 08:15:48 33b1e0a273af: Download complete 08:15:48 5d3b04190fa2: Verifying Checksum 08:15:48 5d3b04190fa2: Download complete 08:15:48 ec43610c2a17: Verifying Checksum 08:15:48 ec43610c2a17: Download complete 08:15:48 5eb5b503b376: Verifying Checksum 08:15:48 5eb5b503b376: Download complete 08:15:49 2f39f015ded8: Verifying Checksum 08:15:49 2f39f015ded8: Download complete 08:15:49 5eb5b503b376: Pull complete 08:15:50 5c69ac0246d0: Pull complete 08:15:50 ec43610c2a17: Pull complete 08:15:50 3a2ae6a8a46f: Pull complete 08:15:50 33b1e0a273af: Pull complete 08:15:50 5d3b04190fa2: Pull complete 08:15:51 using credential edgex-jenkins-ssh 08:15:51 Cloning the remote Git repository 08:15:51 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:15:51 > git init /w/workspace/device-virtual-go/4 # timeout=10 08:15:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:51 > git --version # timeout=10 08:15:51 > git --version # 'git version 2.25.1' 08:15:51 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:55 2f39f015ded8: Pull complete 08:15:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:55 prd-ubuntu20.04-docker-8c-8g-7283 does not seem to be running inside a container 08:15:55 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:15:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:15:56 Merging remotes/origin/main commit 9393cb199918d0b51a604a638f19df0ef5e84a0a into PR head commit 0d6858b6f354b84f4e84d2f837640387bd5cc444 08:15:56 Merge succeeded, producing a51802bff54128826bc26de9d5779a5b17bee141 08:15:56 Checking out Revision a51802bff54128826bc26de9d5779a5b17bee141 (PR-376) 08:15:56 > git config core.sparsecheckout # timeout=10 08:15:56 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 08:15:56 > git remote # timeout=10 08:15:56 > git config --get remote.origin.url # timeout=10 08:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:56 > git merge 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 08:15:56 > git rev-parse HEAD^{commit} # timeout=10 08:15:56 > git config core.sparsecheckout # timeout=10 08:15:56 > git checkout -f a51802bff54128826bc26de9d5779a5b17bee141 # timeout=10 08:16:00 Commit message: "Merge commit '9393cb199918d0b51a604a638f19df0ef5e84a0a' into HEAD" 08:16:00 > git rev-list --no-walk 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 08:16:00 08:16:00 GitHub has been notified of this commit’s build result 08:16:00 08:16:01 $ docker top fbf74c685999108cd2a454ed8ab6580ce20b94ff0ca60d61dadb48069a2c2196 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:01 ---> job-cost.sh 08:16:01 lf-activate-venv: SKIPPING 08:16:01 INFO: No Stack... 08:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:16:02 % Total % Received % Xferd Average Speed Time Time Time Current 08:16:02 Dload Upload Total Spent Left Speed 08:16:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 08:16:02 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 08:16:02 + cat /w/workspace/foundry_device-virtual-go_PR-376/archives/cost.csv 08:16:02 + cut -d, -f6 [Pipeline] lock 08:16:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] 08:16:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] did not exist. Created. 08:16:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:16:02 + echo total: 0.2199999988079071 [Pipeline] stash 08:16:02 Stashed 1 file(s) [Pipeline] } 08:16:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:03 $ docker stop --time=1 fbf74c685999108cd2a454ed8ab6580ce20b94ff0ca60d61dadb48069a2c2196 08:16:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:16:03 + sudo tee /etc/docker/daemon.new 08:16:03 { 08:16:03 "registry-mirrors": [ 08:16:03 "https://nexus3.edgexfoundry.org:10001" 08:16:03 ], 08:16:03 "bip": "10.250.0.254/24", 08:16:03 "hosts": [ 08:16:03 "tcp://0.0.0.0:5555", 08:16:03 "unix:///var/run/docker.sock" 08:16:03 ], 08:16:03 "mtu": 1458, 08:16:03 "selinux-enabled": true, 08:16:03 "seccomp-profile": "/etc/docker/seccomp.json" 08:16:03 } 08:16:04 $ docker rm -f --volumes fbf74c685999108cd2a454ed8ab6580ce20b94ff0ca60d61dadb48069a2c2196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:16:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:16:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:23 provisioning config files... 08:16:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config17723810952309050430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:23 ---> docker-login.sh 08:16:23 nexus3.edgexfoundry.org:10001 08:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:24 Configure a credential helper to remove this warning. See 08:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:24 08:16:24 Login Succeeded 08:16:24 nexus3.edgexfoundry.org:10002 08:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:24 Configure a credential helper to remove this warning. See 08:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:24 08:16:24 Login Succeeded 08:16:24 nexus3.edgexfoundry.org:10003 08:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:24 Configure a credential helper to remove this warning. See 08:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:24 08:16:24 Login Succeeded 08:16:24 nexus3.edgexfoundry.org:10004 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 docker.io 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 ---> docker-login.sh ends [Pipeline] } 08:16:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:16:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:16:26 ========================================================= 08:16:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:16:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:26 + 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 . 08:16:26 Sending build context to Docker daemon 11.94MB 08:16:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:16:26 Step 2/12 : FROM ${BASE} AS builder 08:16:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:16:26 af6eaf76a39c: Pulling fs layer 08:16:26 55522c791124: Pulling fs layer 08:16:26 ce5c4a1c91eb: Pulling fs layer 08:16:26 169dfbe0d373: Pulling fs layer 08:16:26 e1ff8fa3b103: Pulling fs layer 08:16:26 52ebb69f0ebf: Pulling fs layer 08:16:26 5abe8eddf0d5: Pulling fs layer 08:16:26 169dfbe0d373: Waiting 08:16:26 e1ff8fa3b103: Waiting 08:16:26 52ebb69f0ebf: Waiting 08:16:26 5abe8eddf0d5: Waiting 08:16:26 55522c791124: Download complete 08:16:26 169dfbe0d373: Verifying Checksum 08:16:26 169dfbe0d373: Download complete 08:16:27 e1ff8fa3b103: Verifying Checksum 08:16:27 af6eaf76a39c: Verifying Checksum 08:16:28 af6eaf76a39c: Pull complete 08:16:28 5abe8eddf0d5: Verifying Checksum 08:16:28 5abe8eddf0d5: Download complete 08:16:28 55522c791124: Pull complete 08:16:29 ce5c4a1c91eb: Verifying Checksum 08:16:29 ce5c4a1c91eb: Download complete 08:16:29 52ebb69f0ebf: Verifying Checksum 08:16:29 52ebb69f0ebf: Download complete 08:16:39 ce5c4a1c91eb: Pull complete 08:16:40 169dfbe0d373: Pull complete 08:16:40 e1ff8fa3b103: Pull complete 08:16:47 52ebb69f0ebf: Pull complete 08:16:49 5abe8eddf0d5: Pull complete 08:16:49 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:16:49 ---> 6cb57ee374ae 08:16:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:16:51 ---> Running in aea0e2c468f2 08:16:51 Removing intermediate container aea0e2c468f2 08:16:51 ---> d99c760b3287 08:16:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:16:51 ---> Running in 46fea6fc7057 08:16:51 Removing intermediate container 46fea6fc7057 08:16:51 ---> 88b37a6f7c2b 08:16:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:16:51 ---> Running in ba34ecaab352 08:16:52 Removing intermediate container ba34ecaab352 08:16:52 ---> e3890b1643c0 08:16:52 Step 6/12 : WORKDIR /device-virtual-go 08:16:52 ---> Running in fce27bfdac66 08:16:52 Removing intermediate container fce27bfdac66 08:16:52 ---> 348eef052f88 08:16:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:52 ---> Running in 550772d8c99c 08:16:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:16:55 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:16:55 (2/4) Installing libedit (20221030.3.1-r0) 08:16:55 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:16:55 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:16:55 Executing busybox-1.35.0-r29.trigger 08:16:55 OK: 268 MiB in 57 packages 08:16:56 Removing intermediate container 550772d8c99c 08:16:56 ---> d06517830eb9 08:16:56 Step 8/12 : COPY go.mod vendor* ./ 08:16:56 ---> 3fc36249bc97 08:16:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:56 ---> Running in bf8ad36c680a 08:17:53 Removing intermediate container bf8ad36c680a 08:17:53 ---> cb721edcfce4 08:17:53 Step 10/12 : COPY . . 08:17:53 ---> 6e7eb59c1956 08:17:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:17:53 ---> Running in b8d88ca06e2b 08:17:53 Removing intermediate container b8d88ca06e2b 08:17:53 ---> 714891b1a7cf 08:17:53 Step 12/12 : RUN $MAKE 08:17:53 ---> Running in 2052e9b4194d 08:17:54 noop 08:17:55 Removing intermediate container 2052e9b4194d 08:17:55 ---> 88a40103b1b2 08:17:55 Successfully built 88a40103b1b2 08:17:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:55 + docker inspect -f . ci-base-image-arm64 08:17:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:55 prd-ubuntu20.04-docker-arm64-4c-16g-7285 does not seem to be running inside a container 08:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 08:17:56 $ docker top a3b03efcf6f00c84379eea0adb301cc5516357d2dd63070ac415e242b1a0aa1b -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:57 + go version 08:17:57 go version go1.20.2 linux/arm64 [Pipeline] } 08:17:57 $ docker stop --time=1 a3b03efcf6f00c84379eea0adb301cc5516357d2dd63070ac415e242b1a0aa1b 08:17:59 $ docker rm -f --volumes a3b03efcf6f00c84379eea0adb301cc5516357d2dd63070ac415e242b1a0aa1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:59 + docker inspect -f . ci-base-image-arm64 08:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:59 prd-ubuntu20.04-docker-arm64-4c-16g-7285 does not seem to be running inside a container 08:17:59 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 08:18:00 $ docker top dd66ef1a88b7bb8b8b4b34477e8d01fc69524fdfc36a06408fe47690eb0546d3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:01 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 08:18:01 + make test 08:18:01 go test ./... -coverprofile=coverage.out 08:18:40 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:20:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:20:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.094s coverage: 58.5% of statements 08:20:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:20:32 go vet ./... 08:21:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:21:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:21:04 ./bin/test-attribution-txt.sh 08:21:04 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:21:04 $ docker stop --time=1 dd66ef1a88b7bb8b8b4b34477e8d01fc69524fdfc36a06408fe47690eb0546d3 08:21:07 $ docker rm -f --volumes dd66ef1a88b7bb8b8b4b34477e8d01fc69524fdfc36a06408fe47690eb0546d3 [Pipeline] // withDockerContainer [Pipeline] sh 08:21:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:21:08 Warning: overwriting stash ‘coverage-report’ 08:21:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:21:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:21:09 + ls -al . 08:21:09 total 188 08:21:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 08:18 . 08:21:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 08:15 .. 08:21:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 08:15 .git 08:21:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:15 .github 08:21:09 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 08:15 .gitignore 08:21:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 08:15 .golangci.yml 08:21:09 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 08:15 Attribution.txt 08:21:09 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 08:15 CHANGELOG.md 08:21:09 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 08:15 Dockerfile 08:21:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 08:15 GOVERNANCE.md 08:21:09 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 08:15 Jenkinsfile 08:21:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 08:15 LICENSE 08:21:09 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 08:15 Makefile 08:21:09 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 08:15 OWNERS.md 08:21:09 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 08:15 README.md 08:21:09 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 08:13 VERSION 08:21:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 08:15 bin 08:21:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:15 cmd 08:21:09 -rw-r--r-- 1 jenkins jenkins 42970 Apr 10 08:20 coverage.out 08:21:09 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 08:15 go.mod 08:21:09 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 08:15 go.sum 08:21:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 08:15 internal 08:21:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 08:15 snap 08:21:09 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:10 + 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=a51802bff54128826bc26de9d5779a5b17bee141 --label arch=arm64 --label version=0.0.0 . 08:21:11 Sending build context to Docker daemon 11.98MB 08:21:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:21:11 Step 2/25 : FROM ${BASE} AS builder 08:21:11 ---> 88a40103b1b2 08:21:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:21:11 ---> Running in 5a1a9c13c15b 08:21:11 Removing intermediate container 5a1a9c13c15b 08:21:11 ---> a59f17c0f744 08:21:11 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:21:11 ---> Running in d1888e622348 08:21:12 Removing intermediate container d1888e622348 08:21:12 ---> 8fa920e87870 08:21:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:21:12 ---> Running in d5692e4ae04b 08:21:13 Removing intermediate container d5692e4ae04b 08:21:13 ---> 6a4b90809f4c 08:21:13 Step 6/25 : WORKDIR /device-virtual-go 08:21:13 ---> Running in df15ad60ae5c 08:21:13 Removing intermediate container df15ad60ae5c 08:21:13 ---> d2a827a01559 08:21:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:21:13 ---> Running in 77758412e94f 08:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:21:17 OK: 268 MiB in 57 packages 08:21:18 Removing intermediate container 77758412e94f 08:21:18 ---> 34dff3846a83 08:21:18 Step 8/25 : COPY go.mod vendor* ./ 08:21:19 ---> c345f74e2b6f 08:21:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:21:19 ---> Running in da747ac1bf5d 08:21:22 Removing intermediate container da747ac1bf5d 08:21:22 ---> 7c34394930cf 08:21:22 Step 10/25 : COPY . . 08:21:23 ---> bbb94a998309 08:21:23 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:21:23 ---> Running in e7003b95479f 08:21:23 Removing intermediate container e7003b95479f 08:21:23 ---> 2b2943ffbd68 08:21:23 Step 12/25 : RUN $MAKE 08:21:23 ---> Running in 5b183733f630 08:21:24 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 08:23:46 Removing intermediate container 5b183733f630 08:23:46 ---> d1327d843c9c 08:23:46 Step 13/25 : FROM alpine:3.17 08:23:46 3.17: Pulling from library/alpine 08:23:46 c41833b44d91: Pulling fs layer 08:23:46 c41833b44d91: Download complete 08:23:46 c41833b44d91: Pull complete 08:23:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:23:46 Status: Downloaded newer image for alpine:3.17 08:23:46 ---> 51e60588ff2c 08:23:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:23:46 ---> Running in 3b2588ab8d68 08:23:46 Removing intermediate container 3b2588ab8d68 08:23:46 ---> 2ffc997ec88e 08:23:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:23:46 ---> Running in 929baedb2586 08:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:23:46 (1/1) Installing dumb-init (1.2.5-r2) 08:23:46 Executing busybox-1.35.0-r29.trigger 08:23:46 OK: 8 MiB in 16 packages 08:23:46 Removing intermediate container 929baedb2586 08:23:46 ---> c6f3ea118258 08:23:46 Step 16/25 : WORKDIR / 08:23:46 ---> Running in 391cbad19298 08:23:46 Removing intermediate container 391cbad19298 08:23:46 ---> 027f91e28289 08:23:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:23:46 ---> e84d4088a9fd 08:23:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:23:46 ---> 164b7eb26db8 08:23:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:23:46 ---> 874dbcb6fb0a 08:23:46 Step 20/25 : EXPOSE 59900 08:23:46 ---> Running in 9d6e455b5e13 08:23:46 Removing intermediate container 9d6e455b5e13 08:23:46 ---> a83e6ff80586 08:23:46 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:23:46 ---> Running in 1836ff1875ca 08:23:46 Removing intermediate container 1836ff1875ca 08:23:46 ---> 1b339cb0c1b5 08:23:46 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:23:46 ---> Running in 01deb727a991 08:23:46 Removing intermediate container 01deb727a991 08:23:46 ---> 2177f70c82fc 08:23:46 Step 23/25 : LABEL arch=arm64 08:23:46 ---> Running in 39082b67932a 08:23:46 Removing intermediate container 39082b67932a 08:23:46 ---> 3e9dfe8d57e1 08:23:46 Step 24/25 : LABEL git_sha=a51802bff54128826bc26de9d5779a5b17bee141 08:23:46 ---> Running in 6f11bbb719ad 08:23:46 Removing intermediate container 6f11bbb719ad 08:23:46 ---> 534c7e2126fa 08:23:46 Step 25/25 : LABEL version=0.0.0 08:23:46 ---> Running in 1515d16eaf4e 08:23:46 Removing intermediate container 1515d16eaf4e 08:23:46 ---> d42df0273b96 08:23:46 [Warning] One or more build-args [ARCH] were not consumed 08:23:46 Successfully built d42df0273b96 08:23:46 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 08:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:47 08:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:47 arm64: Pulling from edgex-lftools-log-publisher 08:23:47 8998bd30e6a1: Pulling fs layer 08:23:47 04944245beec: Pulling fs layer 08:23:47 699f458cf7ca: Pulling fs layer 08:23:47 765212b225bb: Pulling fs layer 08:23:47 f23df028b6ca: Pulling fs layer 08:23:47 d65c8cfc05b1: Pulling fs layer 08:23:47 2437ff75d9bd: Pulling fs layer 08:23:47 765212b225bb: Waiting 08:23:47 f23df028b6ca: Waiting 08:23:47 d65c8cfc05b1: Waiting 08:23:47 2437ff75d9bd: Waiting 08:23:47 04944245beec: Verifying Checksum 08:23:47 04944245beec: Download complete 08:23:47 765212b225bb: Verifying Checksum 08:23:47 765212b225bb: Download complete 08:23:47 f23df028b6ca: Download complete 08:23:47 d65c8cfc05b1: Download complete 08:23:47 699f458cf7ca: Verifying Checksum 08:23:47 699f458cf7ca: Download complete 08:23:48 8998bd30e6a1: Download complete 08:23:50 2437ff75d9bd: Verifying Checksum 08:23:50 2437ff75d9bd: Download complete 08:23:52 8998bd30e6a1: Pull complete 08:23:52 04944245beec: Pull complete 08:23:53 699f458cf7ca: Pull complete 08:23:54 765212b225bb: Pull complete 08:23:54 f23df028b6ca: Pull complete 08:23:55 d65c8cfc05b1: Pull complete 08:24:10 2437ff75d9bd: Pull complete 08:24:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:24:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:10 prd-ubuntu20.04-docker-arm64-4c-16g-7285 does not seem to be running inside a container 08:24:10 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 08:24:12 $ docker top 52ca0455eb56fe61ed257d8a00006e0e8f49778fcc57e1a98f43d1f1e7326b4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:13 ---> job-cost.sh 08:24:13 lf-activate-venv: SKIPPING 08:24:13 INFO: No Stack... 08:24:14 INFO: Retrieving Pricing Info for: v3-standard-4 08:24:15 INFO: Archiving Costs [Pipeline] sh 08:24:15 + cat /w/workspace/device-virtual-go/4/archives/cost.csv 08:24:15 + cut -d, -f6 [Pipeline] lock 08:24:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] 08:24:15 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] did not exist. Created. 08:24:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:24:15 /w/workspace/device-virtual-go/4@tmp/durable-fc431a6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:24:16 + echo total: 0.10999999940395355 [Pipeline] stash 08:24:16 Warning: overwriting stash ‘stack-cost’ 08:24:16 Stashed 1 file(s) [Pipeline] } 08:24:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:24:16 $ docker stop --time=1 52ca0455eb56fe61ed257d8a00006e0e8f49778fcc57e1a98f43d1f1e7326b4c 08:24:17 $ docker rm -f --volumes 52ca0455eb56fe61ed257d8a00006e0e8f49778fcc57e1a98f43d1f1e7326b4c [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 08:24:17 provisioning config files... 08:24:17 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config13883305922282645615tmp [Pipeline] { [Pipeline] sh 08:24:18 + set +x 08:24:18 + curl -s https://codecov.io/bash 08:24:18 + bash -s -- 08:24:18 08:24:18 _____ _ 08:24:18 / ____| | | 08:24:18 | | ___ __| | ___ ___ _____ __ 08:24:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:24:18 | |___| (_) | (_| | __/ (_| (_) \ V / 08:24:18 \_____\___/ \__,_|\___|\___\___/ \_/ 08:24:18 Bash-1.0.6 08:24:18 08:24:18 08:24:18 ==> git version 2.25.1 found 08:24:18 ==> 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 08:24:18 Release-Date: 2020-01-08 08:24:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:24:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:24:18 ==> Jenkins CI detected. 08:24:18 current dir:  /w/workspace/foundry_device-virtual-go_PR-376 08:24:18 project root: . 08:24:18 --> token set from env 08:24:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:24:18 ==> Running gcov in . (disable via -X gcov) 08:24:18 ==> Python coveragepy not found 08:24:18 ==> Searching for coverage reports in: 08:24:18 + . 08:24:18 -> Found 1 reports 08:24:18 ==> Detecting git/mercurial file structure 08:24:18 ==> Reading reports 08:24:18 + ./coverage.out bytes=42970 08:24:18 ==> Appending adjustments 08:24:18 https://docs.codecov.io/docs/fixing-reports 08:24:18 + Found adjustments 08:24:18 ==> Gzipping contents 08:24:18 8.0K /tmp/codecov.2NeDak.gz 08:24:18 ==> Uploading reports 08:24:18 url: https://codecov.io 08:24:18 query: branch=PR-376&commit=3219fbd9328c961f6f5027cc4cd107f9270924c0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 08:24:18 -> Pinging Codecov 08:24:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-376&commit=3219fbd9328c961f6f5027cc4cd107f9270924c0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 08:24:18 -> Uploading to 08:24:18 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/5E52B4B073DB2E39498172D8E973AA87/3219fbd9328c961f6f5027cc4cd107f9270924c0/ab521022-d61b-4879-a845-d7c89c5c5173.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T082418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9cc91d926fc35635995bbdbd32d6d3e7acd8515356d8a911622404163ab413b 08:24:18 % Total % Received % Xferd Average Speed Time Time Time Current 08:24:18 Dload Upload Total Spent Left Speed 08:24:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 18377 --:--:-- --:--:-- --:--:-- 18312 100 5164 0 0 100 5164 0 18377 --:--:-- --:--:-- --:--:-- 18312 08:24:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3219fbd9328c961f6f5027cc4cd107f9270924c0 [Pipeline] } 08:24:19 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 08:24:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-376/archives ] 08:24:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 08:24:19 total 16 08:24:19 drwxr-xr-x 3 root root 4096 Apr 10 08:16 . 08:24:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 08:16 .. 08:24:19 drwxr-xr-x 2 root root 4096 Apr 10 08:16 cost 08:24:19 -rw-r--r-- 1 root root 89 Apr 10 08:16 cost.csv 08:24:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-376/archives 08:24:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 08:24:19 total 16 08:24:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 08:16 . 08:24:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 08:16 .. 08:24:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 08:16 cost 08:24:19 -rw-r--r-- 1 jenkins jenkins 89 Apr 10 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:24:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:24:20 ---> package-listing.sh 08:24:20 ++ facter osfamily 08:24:20 ++ tr '[:upper:]' '[:lower:]' 08:24:21 + OS_FAMILY=debian 08:24:21 + workspace=/w/workspace/foundry_device-virtual-go_PR-376 08:24:21 + START_PACKAGES=/tmp/packages_start.txt 08:24:21 + END_PACKAGES=/tmp/packages_end.txt 08:24:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:24:21 + PACKAGES=/tmp/packages_start.txt 08:24:21 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 08:24:21 + PACKAGES=/tmp/packages_end.txt 08:24:21 + case "${OS_FAMILY}" in 08:24:21 + dpkg -l 08:24:21 + grep '^ii' 08:24:21 + '[' -f /tmp/packages_start.txt ']' 08:24:21 + '[' -f /tmp/packages_end.txt ']' 08:24:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:24:21 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 08:24:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-376/archives/ 08:24:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-376/archives/ [Pipeline] echo 08:24:21 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:24:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:22 prd-ubuntu20.04-docker-8c-8g-7283 does not seem to be running inside a container 08:24:22 $ 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-376/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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:24:22 $ docker top c846e71cd54465651ed490171122245f2e4a474aa0a32192cc17daaa6717097d -eo pid,comm [Pipeline] { [Pipeline] sh 08:24:22 + touch /tmp/pre-build-complete [Pipeline] sh 08:24:22 + mkdir -p /var/log/sysstat [Pipeline] sh 08:24:23 + ls /var/log/sa-host 08:24:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:23 provisioning config files... 08:24:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config1706674521822396130tmp [Pipeline] { [Pipeline] echo 08:24:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:24:23 ---> create-netrc.sh [Pipeline] } 08:24:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:24:23 ---> python-tools-install.sh [Pipeline] echo 08:24:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:24:24 ---> sudo-logs.sh 08:24:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:24:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:24:24 ---> job-cost.sh 08:24:24 lf-activate-venv: SKIPPING 08:24:24 DEBUG: total: 0.2199999988079071 08:24:24 INFO: Retrieving Stack Cost... 08:24:24 INFO: Retrieving Pricing Info for: v3-standard-8 08:24:25 INFO: Archiving Costs [Pipeline] echo 08:24:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:24:25 ---> logs-deploy.sh 08:24:25 lf-activate-venv: SKIPPING 08:24:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-376/4 08:24:25 INFO: archiving workspace using pattern(s): 08:24:26 Archives upload complete. 08:24:26 INFO: archiving logs to Nexus