Pull request #397 opened 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 jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at f8cb92a3d845b6daf1d0068b834535a64d8c37e9 rather than 9b4da6a455844a7b09d2bf62135249e0e7bfb5fe Obtained Jenkinsfile from f8cb92a3d845b6daf1d0068b834535a64d8c37e9 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-ssh14559171479108672408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3183202080494306564.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11737688105716540049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7296556833200555066.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8359219847476203421.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10895798668023795411.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13825 in /w/workspace/foundry_device-virtual-go_PR-397 [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-397 # 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f8cb92a3d845b6daf1d0068b834535a64d8c37e9 into PR head commit 9b4da6a455844a7b09d2bf62135249e0e7bfb5fe Merge succeeded, producing eb57e3d8d84416b6c80171ba4f245aafcd04889d Checking out Revision eb57e3d8d84416b6c80171ba4f245aafcd04889d (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b4da6a455844a7b09d2bf62135249e0e7bfb5fe # 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 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb57e3d8d84416b6c80171ba4f245aafcd04889d # timeout=10 Commit message: "Merge commit 'f8cb92a3d845b6daf1d0068b834535a64d8c37e9' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:39:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:39:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:39:32 ========================================================= 05:39:32 EdgeX Global Pipelines Version Info 05:39:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:33 ------------------- 05:39:33 stable info: 05:39:33 ------------------- 05:39:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:39:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:39:33 Message: update stable to v1.0.249 05:39:34 ------------------- 05:39:34 experimental info: 05:39:34 ------------------- 05:39:34 Commited By: **** collab-it+edgex@linuxfoundation.org 05:39:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:39:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:39:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb57e3d8d84416b6c80171ba4f245aafcd04889d [Pipeline] echo 05:39:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb57e3d [Pipeline] echo 05:39:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:36 provisioning config files... 05:39:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-397@tmp/config6704930380611391026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:36 ---> docker-login.sh 05:39:36 nexus3.edgexfoundry.org:10001 05:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:36 Configure a credential helper to remove this warning. See 05:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:36 05:39:36 Login Succeeded 05:39:36 nexus3.edgexfoundry.org:10002 05:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:36 Configure a credential helper to remove this warning. See 05:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:36 05:39:36 Login Succeeded 05:39:36 nexus3.edgexfoundry.org:10003 05:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:36 Configure a credential helper to remove this warning. See 05:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:36 05:39:36 Login Succeeded 05:39:36 nexus3.edgexfoundry.org:10004 05:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:36 Configure a credential helper to remove this warning. See 05:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:36 05:39:36 Login Succeeded 05:39:36 docker.io 05:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:37 Configure a credential helper to remove this warning. See 05:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:37 05:39:37 Login Succeeded 05:39:37 ---> docker-login.sh ends [Pipeline] } 05:39:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:39:37 + git rev-list -1 --merges eb57e3d8d84416b6c80171ba4f245aafcd04889d~1..eb57e3d8d84416b6c80171ba4f245aafcd04889d [Pipeline] echo 05:39:37 -----------> git rev-list -1 --merges eb57e3d8d84416b6c80171ba4f245aafcd04889d~1..eb57e3d8d84416b6c80171ba4f245aafcd04889d eb57e3d8d84416b6c80171ba4f245aafcd04889d 05:39:37 eb57e3d8d84416b6c80171ba4f245aafcd04889d [false] [Pipeline] sh 05:39:38 + git log --format=format:%s -1 eb57e3d8d84416b6c80171ba4f245aafcd04889d [Pipeline] echo 05:39:38 ========================================================= 05:39:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:39:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:38 + git log --format=format:%s -1 eb57e3d8d84416b6c80171ba4f245aafcd04889d [Pipeline] echo 05:39:38 [semverPrep] GIT_COMMIT: eb57e3d8d84416b6c80171ba4f245aafcd04889d, Commit Message: Merge commit 'f8cb92a3d845b6daf1d0068b834535a64d8c37e9' into HEAD [Pipeline] echo 05:39:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:39:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:39:39 + grep -v github /etc/ssh/ssh_known_hosts 05:39:39 + [ -e /tmp/ssh_known_hosts ] 05:39:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:39:39 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 05:39:39 tee -a /etc/ssh/ssh_known_hosts 05:39:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:39 05:39:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:40 0.1.4: Pulling from edgex-devops/py-git-semver 05:39:40 b85a868b505f: Pulling fs layer 05:39:40 e2be974225ed: Pulling fs layer 05:39:40 339a4e72a1f5: Pulling fs layer 05:39:40 988bab9f4d93: Pulling fs layer 05:39:40 1469e6f7b9e6: Pulling fs layer 05:39:40 eaf3925da568: Pulling fs layer 05:39:40 bab4dde63d76: Pulling fs layer 05:39:40 988bab9f4d93: Waiting 05:39:40 bde34c3a00c8: Pulling fs layer 05:39:40 b352a97aabf1: Pulling fs layer 05:39:40 4872d77fe225: Pulling fs layer 05:39:40 5851b861e8e6: Pulling fs layer 05:39:40 1469e6f7b9e6: Waiting 05:39:40 bde34c3a00c8: Waiting 05:39:40 eaf3925da568: Waiting 05:39:40 b352a97aabf1: Waiting 05:39:40 bab4dde63d76: Waiting 05:39:40 4872d77fe225: Waiting 05:39:40 5851b861e8e6: Waiting 05:39:40 e2be974225ed: Verifying Checksum 05:39:40 e2be974225ed: Download complete 05:39:40 988bab9f4d93: Download complete 05:39:40 339a4e72a1f5: Verifying Checksum 05:39:40 339a4e72a1f5: Download complete 05:39:40 1469e6f7b9e6: Verifying Checksum 05:39:40 1469e6f7b9e6: Download complete 05:39:40 eaf3925da568: Verifying Checksum 05:39:40 eaf3925da568: Download complete 05:39:40 bde34c3a00c8: Verifying Checksum 05:39:40 bde34c3a00c8: Download complete 05:39:40 b352a97aabf1: Verifying Checksum 05:39:40 b352a97aabf1: Download complete 05:39:40 4872d77fe225: Verifying Checksum 05:39:40 4872d77fe225: Download complete 05:39:40 5851b861e8e6: Verifying Checksum 05:39:40 5851b861e8e6: Download complete 05:39:40 b85a868b505f: Verifying Checksum 05:39:40 b85a868b505f: Download complete 05:39:40 bab4dde63d76: Verifying Checksum 05:39:40 bab4dde63d76: Download complete 05:39:41 b85a868b505f: Pull complete 05:39:41 e2be974225ed: Pull complete 05:39:42 339a4e72a1f5: Pull complete 05:39:42 988bab9f4d93: Pull complete 05:39:42 1469e6f7b9e6: Pull complete 05:39:43 eaf3925da568: Pull complete 05:39:44 bab4dde63d76: Pull complete 05:39:44 bde34c3a00c8: Pull complete 05:39:44 b352a97aabf1: Pull complete 05:39:44 4872d77fe225: Pull complete 05:39:44 5851b861e8e6: Pull complete 05:39:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:39:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:45 prd-ubuntu20.04-docker-8c-8g-13825 does not seem to be running inside a container 05:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-397 -v /w/workspace/foundry_device-virtual-go_PR-397:/w/workspace/foundry_device-virtual-go_PR-397:rw,z -v /w/workspace/foundry_device-virtual-go_PR-397@tmp:/w/workspace/foundry_device-virtual-go_PR-397@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:39:48 $ docker top 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae -eo pid,comm 05:39: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). 05:39:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:39:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:48 [ssh-agent] Looking for ssh-agent implementation... 05:39:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:48 $ docker exec 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae ssh-agent 05:39:49 SSH_AUTH_SOCK=/tmp/ssh-uIwEPFppzHb2/agent.33 05:39:49 SSH_AGENT_PID=39 05:39:49 Running ssh-add (command line suppressed) 05:39:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-397@tmp/private_key_13002954011942285171.key (/w/workspace/foundry_device-virtual-go_PR-397@tmp/private_key_13002954011942285171.key) 05:39:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:49 + git tag --points-at HEAD [Pipeline] } 05:39:49 $ docker exec --env ******** --env ******** 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae ssh-agent -k 05:39:49 unset SSH_AUTH_SOCK; 05:39:49 unset SSH_AGENT_PID; 05:39:49 echo Agent pid 39 killed; 05:39:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:39:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:49 [ssh-agent] Looking for ssh-agent implementation... 05:39:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:49 $ docker exec 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae ssh-agent 05:39:49 SSH_AUTH_SOCK=/tmp/ssh-cROWmyHFTcFx/agent.73 05:39:49 SSH_AGENT_PID=79 05:39:49 Running ssh-add (command line suppressed) 05:39:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-397@tmp/private_key_2373011598131670812.key (/w/workspace/foundry_device-virtual-go_PR-397@tmp/private_key_2373011598131670812.key) 05:39:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:50 + git semver init 05:39:50 2023-05-05 05:39:50,595 [run_init] DEBUG init version:0.0.0 force:False 05:39:50 2023-05-05 05:39:50,595 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-397/.semver 05:39:50 2023-05-05 05:39:50,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-397/.semver 05:39:50 2023-05-05 05:39:50,596 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-397/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-397, universal_newlines=False, shell=None, istream=None) 05:39:51 2023-05-05 05:39:51,549 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-397/.git/info/exclude 05:39:51 2023-05-05 05:39:51,550 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-397/.semver/PR-397 with force:False 05:39:51 2023-05-05 05:39:51,550 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-397/.semver/PR-397 05:39:51 2023-05-05 05:39:51,554 [execute] INFO git cat-file --batch-check 05:39:51 2023-05-05 05:39:51,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 05:39:51 2023-05-05 05:39:51,559 [execute] INFO git cat-file --batch 05:39:51 2023-05-05 05:39:51,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 05:39:51 2023-05-05 05:39:51,564 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-397/.semver/PR-397 05:39:51 0.0.0 [Pipeline] } 05:39:51 $ docker exec --env ******** --env ******** 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae ssh-agent -k 05:39:51 unset SSH_AUTH_SOCK; 05:39:51 unset SSH_AGENT_PID; 05:39:51 echo Agent pid 79 killed; 05:39:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:52 + git semver [Pipeline] } 05:39:52 $ docker stop --time=1 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae 05:39:53 $ docker rm -f --volumes 64216c740f7c5b75139539aecdafed3c654f62b234f1b68ecb6f6988b599b8ae [Pipeline] // withDockerContainer [Pipeline] sh 05:39:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:39:54 Stashed 1 file(s) [Pipeline] echo 05:39: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 05:39:55 provisioning config files... 05:39:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-397@tmp/config8797530070158215463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:55 ---> docker-login.sh 05:39:55 nexus3.edgexfoundry.org:10001 05:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:55 Configure a credential helper to remove this warning. See 05:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:55 05:39:55 Login Succeeded 05:39:55 nexus3.edgexfoundry.org:10002 05:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:55 Configure a credential helper to remove this warning. See 05:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:55 05:39:55 Login Succeeded 05:39:55 nexus3.edgexfoundry.org:10003 05:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:55 Configure a credential helper to remove this warning. See 05:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:55 05:39:55 Login Succeeded 05:39:55 nexus3.edgexfoundry.org:10004 05:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:55 Configure a credential helper to remove this warning. See 05:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:55 05:39:55 Login Succeeded 05:39:55 docker.io 05:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:55 Configure a credential helper to remove this warning. See 05:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:55 05:39:55 Login Succeeded 05:39:55 ---> docker-login.sh ends [Pipeline] } 05:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:39:56 ========================================================= 05:39:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:39:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39: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 . 05:39:56 Sending build context to Docker daemon 23.6MB 05:39:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:39:56 Step 2/12 : FROM ${BASE} AS builder 05:39:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:39:57 f56be85fc22e: Pulling fs layer 05:39:57 85791d961cd3: Pulling fs layer 05:39:57 d694b5ae8c79: Pulling fs layer 05:39:57 9f32a84ed3da: Pulling fs layer 05:39:57 4d19c01a9841: Pulling fs layer 05:39:57 9325e15d5711: Pulling fs layer 05:39:57 556b6ee489ea: Pulling fs layer 05:39:57 c5a4b2cf53e6: Pulling fs layer 05:39:57 9f32a84ed3da: Waiting 05:39:57 9325e15d5711: Waiting 05:39:57 4d19c01a9841: Waiting 05:39:57 c5a4b2cf53e6: Waiting 05:39:57 556b6ee489ea: Waiting 05:39:57 85791d961cd3: Verifying Checksum 05:39:57 85791d961cd3: Download complete 05:39:57 9f32a84ed3da: Download complete 05:39:57 4d19c01a9841: Verifying Checksum 05:39:57 4d19c01a9841: Download complete 05:39:57 f56be85fc22e: Verifying Checksum 05:39:57 f56be85fc22e: Download complete 05:39:57 9325e15d5711: Verifying Checksum 05:39:57 9325e15d5711: Download complete 05:39:57 f56be85fc22e: Pull complete 05:39:57 85791d961cd3: Pull complete 05:39:57 c5a4b2cf53e6: Verifying Checksum 05:39:57 c5a4b2cf53e6: Download complete 05:39:57 d694b5ae8c79: Verifying Checksum 05:39:57 d694b5ae8c79: Download complete 05:39:57 556b6ee489ea: Verifying Checksum 05:39:57 556b6ee489ea: Download complete 05:40:01 d694b5ae8c79: Pull complete 05:40:01 9f32a84ed3da: Pull complete 05:40:01 4d19c01a9841: Pull complete 05:40:01 9325e15d5711: Pull complete 05:40:03 556b6ee489ea: Pull complete 05:40:03 c5a4b2cf53e6: Pull complete 05:40:03 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:40:03 ---> c4be618373d6 05:40:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:40:08 ---> Running in c0ed4cf94521 05:40:08 Removing intermediate container c0ed4cf94521 05:40:08 ---> baab167b2c8a 05:40:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:40:08 ---> Running in c2d1da4bc933 05:40:08 Removing intermediate container c2d1da4bc933 05:40:08 ---> f219f34c9d8f 05:40:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:40:08 ---> Running in 259b97528f98 05:40:08 Removing intermediate container 259b97528f98 05:40:08 ---> 89b3395a35d4 05:40:08 Step 6/12 : WORKDIR /device-virtual-go 05:40:08 ---> Running in dbbac7ff1ebf 05:40:08 Removing intermediate container dbbac7ff1ebf 05:40:08 ---> 74204abf397c 05:40:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:40:08 ---> Running in c051838db18e 05:40:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:40:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:40:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:40:09 (2/4) Installing libedit (20221030.3.1-r0) 05:40:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:40:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:40:09 Executing busybox-1.35.0-r29.trigger 05:40:09 OK: 269 MiB in 57 packages 05:40:09 Removing intermediate container c051838db18e 05:40:09 ---> 371c5f5e98d0 05:40:09 Step 8/12 : COPY go.mod vendor* ./ 05:40:09 ---> 0d1f4208dff1 05:40:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:09 ---> Running in c0f370cee0c7 05:40:09 Still waiting to schedule task 05:40:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:40:36 Removing intermediate container c0f370cee0c7 05:40:36 ---> 54ae0911841c 05:40:36 Step 10/12 : COPY . . 05:40:36 ---> 9baa23006fd4 05:40:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:40:36 ---> Running in 704d89ec2634 05:40:36 Removing intermediate container 704d89ec2634 05:40:36 ---> d6fc32b363c9 05:40:36 Step 12/12 : RUN $MAKE 05:40:36 ---> Running in 43cca5c1ae71 05:40:36 noop 05:40:36 Removing intermediate container 43cca5c1ae71 05:40:36 ---> d75013b035b0 05:40:36 Successfully built d75013b035b0 05:40:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:36 + docker inspect -f . ci-base-image-x86_64 05:40:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:37 prd-ubuntu20.04-docker-8c-8g-13825 does not seem to be running inside a container 05:40:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-397 -v /w/workspace/foundry_device-virtual-go_PR-397:/w/workspace/foundry_device-virtual-go_PR-397:rw,z -v /w/workspace/foundry_device-virtual-go_PR-397@tmp:/w/workspace/foundry_device-virtual-go_PR-397@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 ******** ci-base-image-x86_64 cat 05:40:37 $ docker top eccb9520dd28bce7f0504f3a4ef50b38b6bd089ebcc3bb903cdd62e5b7f982d6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:37 + go version 05:40:37 go version go1.20.2 linux/amd64 [Pipeline] } 05:40:37 $ docker stop --time=1 eccb9520dd28bce7f0504f3a4ef50b38b6bd089ebcc3bb903cdd62e5b7f982d6 05:40:39 $ docker rm -f --volumes eccb9520dd28bce7f0504f3a4ef50b38b6bd089ebcc3bb903cdd62e5b7f982d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:39 + docker inspect -f . ci-base-image-x86_64 05:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:39 prd-ubuntu20.04-docker-8c-8g-13825 does not seem to be running inside a container 05:40:39 $ 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-397 -v /w/workspace/foundry_device-virtual-go_PR-397:/w/workspace/foundry_device-virtual-go_PR-397:rw,z -v /w/workspace/foundry_device-virtual-go_PR-397@tmp:/w/workspace/foundry_device-virtual-go_PR-397@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 ******** ci-base-image-x86_64 cat 05:40:40 $ docker top efd1c879ce1c9354a58b79aaa4bf24c5a3b4bba8747912e5bae2cd7e8ed3f97c -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:40 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-397 [Pipeline] fileExists [Pipeline] sh 05:40:40 + make test 05:40:40 go test ./... -coverprofile=coverage.out 05:40:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:40:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:40:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 05:41:00 go vet ./... 05:41:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:03 ./bin/test-attribution-txt.sh [Pipeline] echo 05:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:41:03 $ docker stop --time=1 efd1c879ce1c9354a58b79aaa4bf24c5a3b4bba8747912e5bae2cd7e8ed3f97c 05:41:06 $ docker rm -f --volumes efd1c879ce1c9354a58b79aaa4bf24c5a3b4bba8747912e5bae2cd7e8ed3f97c [Pipeline] // withDockerContainer [Pipeline] sh 05:41:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:41:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:08 + ls -al . 05:41:08 total 192 05:41:08 drwxrwxr-x 9 jenkins jenkins 4096 May 5 05:40 . 05:41:08 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:39 .. 05:41:08 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:39 .git 05:41:08 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:39 .github 05:41:08 -rw-rw-r-- 1 jenkins jenkins 337 May 5 05:39 .gitignore 05:41:08 -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:39 .golangci.yml 05:41:08 drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:39 .semver 05:41:08 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 05:39 Attribution.txt 05:41:08 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 05:39 CHANGELOG.md 05:41:08 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 05:39 Dockerfile 05:41:08 -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:39 GOVERNANCE.md 05:41:08 -rw-rw-r-- 1 jenkins jenkins 660 May 5 05:39 Jenkinsfile 05:41:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 05:39 LICENSE 05:41:08 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 05:39 Makefile 05:41:08 -rw-rw-r-- 1 jenkins jenkins 623 May 5 05:39 OWNERS.md 05:41:08 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 05:39 README.md 05:41:08 -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:39 VERSION 05:41:08 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:39 bin 05:41:08 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:39 cmd 05:41:08 -rw-r--r-- 1 jenkins jenkins 43063 May 5 05:40 coverage.out 05:41:08 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 05:39 go.mod 05:41:08 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 05:39 go.sum 05:41:08 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:39 internal 05:41:08 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:39 snap 05:41:08 -rw-rw-r-- 1 jenkins jenkins 235 May 5 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:08 + 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=eb57e3d8d84416b6c80171ba4f245aafcd04889d --label arch=amd64 --label version=0.0.0 . 05:41:08 Sending build context to Docker daemon 23.65MB 05:41:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:41:08 Step 2/25 : FROM ${BASE} AS builder 05:41:08 ---> d75013b035b0 05:41:08 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:41:08 ---> Running in 9762d65efd4e 05:41:08 Removing intermediate container 9762d65efd4e 05:41:08 ---> c5bdb8054ec9 05:41:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:41:08 ---> Running in 982a37d94a5b 05:41:09 Removing intermediate container 982a37d94a5b 05:41:09 ---> 3f89f151f3fc 05:41:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:41:09 ---> Running in e6e09b1f3596 05:41:09 Removing intermediate container e6e09b1f3596 05:41:09 ---> fa5b2de48366 05:41:09 Step 6/25 : WORKDIR /device-virtual-go 05:41:09 ---> Running in 082bc2789314 05:41:09 Removing intermediate container 082bc2789314 05:41:09 ---> 2ebb20b0be90 05:41:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:41:09 ---> Running in 48ba585e1cd1 05:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:41:09 OK: 269 MiB in 57 packages 05:41:10 Removing intermediate container 48ba585e1cd1 05:41:10 ---> bc4d5a732de8 05:41:10 Step 8/25 : COPY go.mod vendor* ./ 05:41:10 ---> c958f7fb8393 05:41:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:10 ---> Running in c158354975fb 05:41:11 Removing intermediate container c158354975fb 05:41:11 ---> c7461ca59be7 05:41:11 Step 10/25 : COPY . . 05:41:11 ---> ec745527b937 05:41:11 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:11 ---> Running in b46681eca894 05:41:11 Removing intermediate container b46681eca894 05:41:11 ---> 46270653e9cc 05:41:11 Step 12/25 : RUN $MAKE 05:41:11 ---> Running in af33f3ba2687 05:41:11 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 05:41:33 Removing intermediate container af33f3ba2687 05:41:33 ---> 01884e3dc912 05:41:33 Step 13/25 : FROM alpine:3.17 05:41:33 3.17: Pulling from library/alpine 05:41:33 f56be85fc22e: Already exists 05:41:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:41:33 Status: Downloaded newer image for alpine:3.17 05:41:33 ---> 9ed4aefc74f6 05:41:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:41:33 ---> Running in 8ccd178d74b0 05:41:33 Removing intermediate container 8ccd178d74b0 05:41:33 ---> ba4d0d4b58f4 05:41:33 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:41:33 ---> Running in ab2f55516ea7 05:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:41:33 (1/1) Installing dumb-init (1.2.5-r2) 05:41:33 Executing busybox-1.35.0-r29.trigger 05:41:33 OK: 7 MiB in 16 packages 05:41:33 Removing intermediate container ab2f55516ea7 05:41:33 ---> 98992ad15485 05:41:33 Step 16/25 : WORKDIR / 05:41:33 ---> Running in b4ac24de1648 05:41:33 Removing intermediate container b4ac24de1648 05:41:33 ---> 553dcf73bbaf 05:41:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:41:33 ---> 67ef4b2f2e3b 05:41:33 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:41:33 ---> 7cec5f950227 05:41:33 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:41:33 ---> 1507b746e9fe 05:41:33 Step 20/25 : EXPOSE 59900 05:41:33 ---> Running in bd83306a9193 05:41:33 Removing intermediate container bd83306a9193 05:41:33 ---> d68f10375cb4 05:41:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:41:33 ---> Running in 1c124c91b149 05:41:33 Removing intermediate container 1c124c91b149 05:41:33 ---> 753df983a593 05:41:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:41:33 ---> Running in 7ac41fa708ec 05:41:33 Removing intermediate container 7ac41fa708ec 05:41:33 ---> 702f0077dca2 05:41:33 Step 23/25 : LABEL arch=amd64 05:41:33 ---> Running in 74f73a2cac1b 05:41:33 Removing intermediate container 74f73a2cac1b 05:41:33 ---> 009f6d046c56 05:41:33 Step 24/25 : LABEL git_sha=eb57e3d8d84416b6c80171ba4f245aafcd04889d 05:41:33 ---> Running in c4e2a5b50ebe 05:41:33 Removing intermediate container c4e2a5b50ebe 05:41:33 ---> 760eec9d67c8 05:41:33 Step 25/25 : LABEL version=0.0.0 05:41:33 ---> Running in f50d1b5215b4 05:41:33 Removing intermediate container f50d1b5215b4 05:41:33 ---> aec03cf7590d 05:41:33 [Warning] One or more build-args [ARCH] were not consumed 05:41:33 Successfully built aec03cf7590d 05:41:33 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 05:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:34 05:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:35 latest: Pulling from edgex-lftools-log-publisher 05:41:35 5eb5b503b376: Pulling fs layer 05:41:35 5c69ac0246d0: Pulling fs layer 05:41:35 ec43610c2a17: Pulling fs layer 05:41:35 3a2ae6a8a46f: Pulling fs layer 05:41:35 33b1e0a273af: Pulling fs layer 05:41:35 5d3b04190fa2: Pulling fs layer 05:41:35 2f39f015ded8: Pulling fs layer 05:41:35 33b1e0a273af: Waiting 05:41:35 3a2ae6a8a46f: Waiting 05:41:35 5c69ac0246d0: Verifying Checksum 05:41:35 5c69ac0246d0: Download complete 05:41:35 3a2ae6a8a46f: Verifying Checksum 05:41:35 3a2ae6a8a46f: Download complete 05:41:35 33b1e0a273af: Verifying Checksum 05:41:35 33b1e0a273af: Download complete 05:41:35 5d3b04190fa2: Verifying Checksum 05:41:35 5d3b04190fa2: Download complete 05:41:35 ec43610c2a17: Verifying Checksum 05:41:35 ec43610c2a17: Download complete 05:41:35 5eb5b503b376: Verifying Checksum 05:41:35 5eb5b503b376: Download complete 05:41:35 2f39f015ded8: Download complete 05:41:36 5eb5b503b376: Pull complete 05:41:36 5c69ac0246d0: Pull complete 05:41:37 ec43610c2a17: Pull complete 05:41:37 3a2ae6a8a46f: Pull complete 05:41:37 33b1e0a273af: Pull complete 05:41:37 5d3b04190fa2: Pull complete 05:41:41 2f39f015ded8: Pull complete 05:41:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:41 prd-ubuntu20.04-docker-8c-8g-13825 does not seem to be running inside a container 05:41:41 $ 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-397 -v /w/workspace/foundry_device-virtual-go_PR-397:/w/workspace/foundry_device-virtual-go_PR-397:rw,z -v /w/workspace/foundry_device-virtual-go_PR-397@tmp:/w/workspace/foundry_device-virtual-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:41:45 $ docker top 6f45c4b1161606ec10fc53f768e06d428a57bdc055328b80bd6514a3f5f2158e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:46 ---> job-cost.sh 05:41:46 lf-activate-venv: SKIPPING 05:41:46 INFO: No Stack... 05:41:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:41:46 INFO: Archiving Costs [Pipeline] sh 05:41:47 + cat /w/workspace/foundry_device-virtual-go_PR-397/archives/cost.csv 05:41:47 + cut -d, -f6 [Pipeline] lock 05:41:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] 05:41:47 Resource [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] did not exist. Created. 05:41:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:41:47 + echo total: 0.2199999988079071 [Pipeline] stash 05:41:47 Stashed 1 file(s) [Pipeline] } 05:41:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:41:47 $ docker stop --time=1 6f45c4b1161606ec10fc53f768e06d428a57bdc055328b80bd6514a3f5f2158e 05:41:48 $ docker rm -f --volumes 6f45c4b1161606ec10fc53f768e06d428a57bdc055328b80bd6514a3f5f2158e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:42:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13827 in /w/workspace/foundry_device-virtual-go_PR-397 [Pipeline] { [Pipeline] ws 05:42:55 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:42:55 The recommended git tool is: git 05:43:05 using credential edgex-jenkins-ssh 05:43:05 Cloning the remote Git repository 05:43:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:43:05 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:43:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:43:05 > git --version # timeout=10 05:43:05 > git --version # 'git version 2.25.1' 05:43:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:43:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:10 Merging remotes/origin/main commit f8cb92a3d845b6daf1d0068b834535a64d8c37e9 into PR head commit 9b4da6a455844a7b09d2bf62135249e0e7bfb5fe 05:43:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:43:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:43:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:43:10 > git config core.sparsecheckout # timeout=10 05:43:10 > git checkout -f 9b4da6a455844a7b09d2bf62135249e0e7bfb5fe # timeout=10 05:43:10 > git remote # timeout=10 05:43:10 > git config --get remote.origin.url # timeout=10 05:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:10 Merge succeeded, producing d8dd2e33813d379c498bae7e752a423ce39efdf4 05:43:10 Checking out Revision d8dd2e33813d379c498bae7e752a423ce39efdf4 (PR-397) 05:43:10 > git merge f8cb92a3d845b6daf1d0068b834535a64d8c37e9 # timeout=10 05:43:10 > git rev-parse HEAD^{commit} # timeout=10 05:43:10 > git config core.sparsecheckout # timeout=10 05:43:10 > git checkout -f d8dd2e33813d379c498bae7e752a423ce39efdf4 # timeout=10 05:43:14 Commit message: "Merge commit 'f8cb92a3d845b6daf1d0068b834535a64d8c37e9' into HEAD" 05:43:14 First time build. Skipping changelog. 05:43:14 > git --version # timeout=10 05:43:14 > git --version # 'git version 2.25.1' 05:43:14 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:43:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:43:15 Dload Upload Total Spent Left Speed 05:43:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 05:43:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:43:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:43:16 + sudo tee /etc/docker/daemon.new 05:43:16 { 05:43:16 "registry-mirrors": [ 05:43:16 "https://nexus3.edgexfoundry.org:10001" 05:43:16 ], 05:43:16 "bip": "10.250.0.254/24", 05:43:16 "hosts": [ 05:43:16 "tcp://0.0.0.0:5555", 05:43:16 "unix:///var/run/docker.sock" 05:43:16 ], 05:43:16 "mtu": 1458, 05:43:16 "selinux-enabled": true, 05:43:16 "seccomp-profile": "/etc/docker/seccomp.json" 05:43:16 } [Pipeline] sh 05:43:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:43:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:35 provisioning config files... 05:43:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config14030998115129364168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:36 ---> docker-login.sh 05:43:36 nexus3.edgexfoundry.org:10001 05:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:37 Configure a credential helper to remove this warning. See 05:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:37 05:43:37 Login Succeeded 05:43:37 nexus3.edgexfoundry.org:10002 05:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:37 Configure a credential helper to remove this warning. See 05:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:37 05:43:37 Login Succeeded 05:43:37 nexus3.edgexfoundry.org:10003 05:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:38 Configure a credential helper to remove this warning. See 05:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:38 05:43:38 Login Succeeded 05:43:38 nexus3.edgexfoundry.org:10004 05:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:38 Configure a credential helper to remove this warning. See 05:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:38 05:43:38 Login Succeeded 05:43:38 docker.io 05:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:38 Configure a credential helper to remove this warning. See 05:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:38 05:43:38 Login Succeeded 05:43:38 ---> docker-login.sh ends [Pipeline] } 05:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:39 ========================================================= 05:43:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:43:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:39 + 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 . 05:43:40 Sending build context to Docker daemon 11.97MB 05:43:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:43:40 Step 2/12 : FROM ${BASE} AS builder 05:43:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:43:40 c41833b44d91: Pulling fs layer 05:43:40 ed15518f5707: Pulling fs layer 05:43:40 feae8fd75edb: Pulling fs layer 05:43:40 242c74f7c9fa: Pulling fs layer 05:43:40 3cdef696dda3: Pulling fs layer 05:43:40 2ced38df9373: Pulling fs layer 05:43:40 58f1dce35555: Pulling fs layer 05:43:40 3cdef696dda3: Waiting 05:43:40 2ced38df9373: Waiting 05:43:40 58f1dce35555: Waiting 05:43:40 242c74f7c9fa: Waiting 05:43:40 ed15518f5707: Verifying Checksum 05:43:40 ed15518f5707: Download complete 05:43:40 242c74f7c9fa: Verifying Checksum 05:43:40 242c74f7c9fa: Download complete 05:43:40 3cdef696dda3: Verifying Checksum 05:43:40 3cdef696dda3: Download complete 05:43:40 c41833b44d91: Verifying Checksum 05:43:40 c41833b44d91: Download complete 05:43:41 c41833b44d91: Pull complete 05:43:42 58f1dce35555: Verifying Checksum 05:43:42 58f1dce35555: Download complete 05:43:43 feae8fd75edb: Verifying Checksum 05:43:43 feae8fd75edb: Download complete 05:43:43 2ced38df9373: Verifying Checksum 05:43:43 2ced38df9373: Download complete 05:43:44 ed15518f5707: Pull complete 05:43:54 feae8fd75edb: Pull complete 05:43:54 242c74f7c9fa: Pull complete 05:43:54 3cdef696dda3: Pull complete 05:44:01 2ced38df9373: Pull complete 05:44:03 58f1dce35555: Pull complete 05:44:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:44:03 ---> fadd8f120f05 05:44:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:44:05 ---> Running in cecb1b3cb28a 05:44:05 Removing intermediate container cecb1b3cb28a 05:44:05 ---> 8141e0f884f6 05:44:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:44:05 ---> Running in e1d873866345 05:44:05 Removing intermediate container e1d873866345 05:44:05 ---> cfb9420a8287 05:44:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:44:05 ---> Running in 21e4a84ead5c 05:44:06 Removing intermediate container 21e4a84ead5c 05:44:06 ---> 5eb035d9924a 05:44:06 Step 6/12 : WORKDIR /device-virtual-go 05:44:06 ---> Running in 77b6edee3b25 05:44:06 Removing intermediate container 77b6edee3b25 05:44:06 ---> ed8ff13e07a9 05:44:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:06 ---> Running in 725149222c8c 05:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:44:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:44:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:44:09 (2/4) Installing libedit (20221030.3.1-r0) 05:44:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:44:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:44:09 Executing busybox-1.35.0-r29.trigger 05:44:09 OK: 268 MiB in 57 packages 05:44:10 Removing intermediate container 725149222c8c 05:44:10 ---> 9ff4cd45801e 05:44:10 Step 8/12 : COPY go.mod vendor* ./ 05:44:11 ---> bf92cf1f4a20 05:44:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:11 ---> Running in f000ae124f19 05:45:19 Removing intermediate container f000ae124f19 05:45:19 ---> cc92b35c4f03 05:45:19 Step 10/12 : COPY . . 05:45:19 ---> 9e270bd343ad 05:45:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:45:19 ---> Running in a83faba4f858 05:45:19 Removing intermediate container a83faba4f858 05:45:19 ---> 23a842a08af0 05:45:19 Step 12/12 : RUN $MAKE 05:45:19 ---> Running in 6b245c9bfc6f 05:45:19 noop 05:45:19 Removing intermediate container 6b245c9bfc6f 05:45:19 ---> df71eddeecc5 05:45:19 Successfully built df71eddeecc5 05:45:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:19 + docker inspect -f . ci-base-image-arm64 05:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:20 prd-ubuntu20.04-docker-arm64-4c-16g-13827 does not seem to be running inside a container 05:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 05:45:21 $ docker top bdd618a57f79abdd66404d2c9ca319cb624208a6a3d6e7fbc01e246d91a4c359 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:22 + go version 05:45:22 go version go1.20.2 linux/arm64 [Pipeline] } 05:45:22 $ docker stop --time=1 bdd618a57f79abdd66404d2c9ca319cb624208a6a3d6e7fbc01e246d91a4c359 05:45:24 $ docker rm -f --volumes bdd618a57f79abdd66404d2c9ca319cb624208a6a3d6e7fbc01e246d91a4c359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:24 + docker inspect -f . ci-base-image-arm64 05:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:25 prd-ubuntu20.04-docker-arm64-4c-16g-13827 does not seem to be running inside a container 05:45:25 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 05:45:26 $ docker top e778b87e7d2b8480a7a5b3c8138b72e87b75844e98e0b0dfbadf6cf66c90b932 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:27 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 05:45:28 + make test 05:45:28 go test ./... -coverprofile=coverage.out 05:46:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:48:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:48:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.090s coverage: 58.4% of statements 05:48:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:48:28 go vet ./... 05:48:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:48:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:48:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:48:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:48:43 $ docker stop --time=1 e778b87e7d2b8480a7a5b3c8138b72e87b75844e98e0b0dfbadf6cf66c90b932 05:48:45 $ docker rm -f --volumes e778b87e7d2b8480a7a5b3c8138b72e87b75844e98e0b0dfbadf6cf66c90b932 [Pipeline] // withDockerContainer [Pipeline] sh 05:48:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:48:47 Warning: overwriting stash ‘coverage-report’ 05:48:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:48 + ls -al . 05:48:48 total 188 05:48:48 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:45 . 05:48:48 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:43 .. 05:48:48 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:43 .git 05:48:48 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 .github 05:48:48 -rw-rw-r-- 1 jenkins jenkins 337 May 5 05:43 .gitignore 05:48:48 -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:43 .golangci.yml 05:48:48 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 05:43 Attribution.txt 05:48:48 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 05:43 CHANGELOG.md 05:48:48 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 05:43 Dockerfile 05:48:48 -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:43 GOVERNANCE.md 05:48:48 -rw-rw-r-- 1 jenkins jenkins 660 May 5 05:43 Jenkinsfile 05:48:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 05:43 LICENSE 05:48:48 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 05:43 Makefile 05:48:48 -rw-rw-r-- 1 jenkins jenkins 623 May 5 05:43 OWNERS.md 05:48:48 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 05:43 README.md 05:48:48 -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:39 VERSION 05:48:48 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:43 bin 05:48:48 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 cmd 05:48:48 -rw-r--r-- 1 jenkins jenkins 43063 May 5 05:48 coverage.out 05:48:48 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 05:43 go.mod 05:48:48 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 05:43 go.sum 05:48:48 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 internal 05:48:48 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:43 snap 05:48:48 -rw-rw-r-- 1 jenkins jenkins 235 May 5 05:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:49 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d8dd2e33813d379c498bae7e752a423ce39efdf4 --label arch=arm64 --label version=0.0.0 . 05:48:49 Sending build context to Docker daemon 12.01MB 05:48:49 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:48:49 Step 2/25 : FROM ${BASE} AS builder 05:48:49 ---> df71eddeecc5 05:48:49 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:48:49 ---> Running in 418bb865bcb6 05:48:50 Removing intermediate container 418bb865bcb6 05:48:50 ---> e50b837788e3 05:48:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:48:50 ---> Running in 4178b7989563 05:48:50 Removing intermediate container 4178b7989563 05:48:50 ---> 67ce19b8c04e 05:48:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:48:50 ---> Running in 2cd10f06d24d 05:48:50 Removing intermediate container 2cd10f06d24d 05:48:50 ---> 811f533bb5d6 05:48:50 Step 6/25 : WORKDIR /device-virtual-go 05:48:50 ---> Running in 89ee6bb53096 05:48:51 Removing intermediate container 89ee6bb53096 05:48:51 ---> 8f8bfdff5a62 05:48:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:48:51 ---> Running in f8cc142b873e 05:48:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:48:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:48:54 OK: 268 MiB in 57 packages 05:48:55 Removing intermediate container f8cc142b873e 05:48:55 ---> 570e3618c1a2 05:48:55 Step 8/25 : COPY go.mod vendor* ./ 05:48:55 ---> a843c0bb1691 05:48:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:55 ---> Running in 312186897c19 05:48:58 Removing intermediate container 312186897c19 05:48:58 ---> f4ed4c16545e 05:48:58 Step 10/25 : COPY . . 05:48:59 ---> 6bd643c3e832 05:48:59 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:48:59 ---> Running in 31a3daf9a408 05:48:59 Removing intermediate container 31a3daf9a408 05:48:59 ---> b6c477d66339 05:48:59 Step 12/25 : RUN $MAKE 05:48:59 ---> Running in e3433ac3fd98 05:49:00 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 05:51:22 Removing intermediate container e3433ac3fd98 05:51:22 ---> 739af52f8c36 05:51:22 Step 13/25 : FROM alpine:3.17 05:51:31 3.17: Pulling from library/alpine 05:51:31 c41833b44d91: Already exists 05:51:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:51:31 Status: Downloaded newer image for alpine:3.17 05:51:31 ---> 51e60588ff2c 05:51:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:51:31 ---> Running in 106cd0a99f64 05:51:31 Removing intermediate container 106cd0a99f64 05:51:31 ---> 9c714bf3d5c1 05:51:31 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:51:31 ---> Running in 8f3efd2c71b4 05:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:51:33 (1/1) Installing dumb-init (1.2.5-r2) 05:51:33 Executing busybox-1.35.0-r29.trigger 05:51:33 OK: 8 MiB in 16 packages 05:51:34 Removing intermediate container 8f3efd2c71b4 05:51:34 ---> f94e00ed6b15 05:51:34 Step 16/25 : WORKDIR / 05:51:34 ---> Running in 361ac3f97c42 05:51:35 Removing intermediate container 361ac3f97c42 05:51:35 ---> 152f43e4fb11 05:51:35 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:51:35 ---> 2ac4e808567f 05:51:35 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:51:36 ---> 46cada6327bf 05:51:36 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:51:37 ---> ea142fa72396 05:51:37 Step 20/25 : EXPOSE 59900 05:51:37 ---> Running in 87c08b467803 05:51:37 Removing intermediate container 87c08b467803 05:51:37 ---> 22ffb7730878 05:51:37 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:51:37 ---> Running in 81f12d6cebbb 05:51:38 Removing intermediate container 81f12d6cebbb 05:51:38 ---> 2bc079e52528 05:51:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:51:38 ---> Running in c5103cd4f716 05:51:38 Removing intermediate container c5103cd4f716 05:51:38 ---> b4af9737a19b 05:51:38 Step 23/25 : LABEL arch=arm64 05:51:38 ---> Running in 0b931ad3dc3a 05:51:38 Removing intermediate container 0b931ad3dc3a 05:51:38 ---> c5da35cde8fa 05:51:38 Step 24/25 : LABEL git_sha=d8dd2e33813d379c498bae7e752a423ce39efdf4 05:51:38 ---> Running in 0a1cabb6f4f9 05:51:39 Removing intermediate container 0a1cabb6f4f9 05:51:39 ---> 0f22b9f149fd 05:51:39 Step 25/25 : LABEL version=0.0.0 05:51:39 ---> Running in f5f79a965667 05:51:39 Removing intermediate container f5f79a965667 05:51:39 ---> b023ea5bd9a0 05:51:39 [Warning] One or more build-args [ARCH] were not consumed 05:51:39 Successfully built b023ea5bd9a0 05:51:39 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 05:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:40 05:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:50 arm64: Pulling from edgex-lftools-log-publisher 05:51:50 8998bd30e6a1: Pulling fs layer 05:51:50 04944245beec: Pulling fs layer 05:51:50 699f458cf7ca: Pulling fs layer 05:51:50 765212b225bb: Pulling fs layer 05:51:50 f23df028b6ca: Pulling fs layer 05:51:50 d65c8cfc05b1: Pulling fs layer 05:51:50 2437ff75d9bd: Pulling fs layer 05:51:50 765212b225bb: Waiting 05:51:50 f23df028b6ca: Waiting 05:51:50 d65c8cfc05b1: Waiting 05:51:50 2437ff75d9bd: Waiting 05:52:29 699f458cf7ca: Verifying Checksum 05:52:29 699f458cf7ca: Download complete 05:52:29 765212b225bb: Download complete 05:52:29 f23df028b6ca: Verifying Checksum 05:52:29 f23df028b6ca: Download complete 05:52:29 d65c8cfc05b1: Download complete 05:52:29 8998bd30e6a1: Verifying Checksum 05:52:29 8998bd30e6a1: Download complete 05:52:30 04944245beec: Verifying Checksum 05:52:30 04944245beec: Download complete 05:52:31 2437ff75d9bd: Verifying Checksum 05:52:31 2437ff75d9bd: Download complete 05:52:32 8998bd30e6a1: Pull complete 05:52:33 04944245beec: Pull complete 05:52:34 699f458cf7ca: Pull complete 05:52:35 765212b225bb: Pull complete 05:52:35 f23df028b6ca: Pull complete 05:52:35 d65c8cfc05b1: Pull complete 05:52:50 2437ff75d9bd: Pull complete 05:52:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-13827 does not seem to be running inside a container 05:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:52:54 $ docker top 7afb32a736051889ed1fe85519a88d1242cc4c4051e0b8af933e41721c4ec122 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:54 ---> job-cost.sh 05:52:54 lf-activate-venv: SKIPPING 05:52:54 INFO: No Stack... 05:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 05:52:56 INFO: Archiving Costs [Pipeline] sh 05:52:56 + cut -d, -f6 05:52:56 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 05:52:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] 05:52:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] did not exist. Created. 05:52:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:57 /w/workspace/device-virtual-go/1@tmp/durable-b8df1dfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:52:58 + echo total: 0.10999999940395355 [Pipeline] stash 05:52:58 Warning: overwriting stash ‘stack-cost’ 05:52:58 Stashed 1 file(s) [Pipeline] } 05:52:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:52:58 $ docker stop --time=1 7afb32a736051889ed1fe85519a88d1242cc4c4051e0b8af933e41721c4ec122 05:52:59 $ docker rm -f --volumes 7afb32a736051889ed1fe85519a88d1242cc4c4051e0b8af933e41721c4ec122 [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 05:53:00 provisioning config files... 05:53:00 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-397@tmp/config13137715752410540805tmp [Pipeline] { [Pipeline] sh 05:53:01 + set +x 05:53:01 + curl -s https://codecov.io/bash 05:53:01 + bash -s -- 05:53:01 05:53:01 _____ _ 05:53:01 / ____| | | 05:53:01 | | ___ __| | ___ ___ _____ __ 05:53:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:01 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:01 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:01 Bash-1.0.6 05:53:01 05:53:01 05:53:01 ==> git version 2.25.1 found 05:53:01 ==> 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 05:53:01 Release-Date: 2020-01-08 05:53:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:53:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:01 ==> Jenkins CI detected. 05:53:01 current dir:  /w/workspace/foundry_device-virtual-go_PR-397 05:53:01 project root: . 05:53:01 --> token set from env 05:53:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:01 ==> Running gcov in . (disable via -X gcov) 05:53:01 ==> Python coveragepy not found 05:53:01 ==> Searching for coverage reports in: 05:53:01 + . 05:53:01 -> Found 1 reports 05:53:01 ==> Detecting git/mercurial file structure 05:53:01 ==> Reading reports 05:53:01 + ./coverage.out bytes=43063 05:53:01 ==> Appending adjustments 05:53:01 https://docs.codecov.io/docs/fixing-reports 05:53:01 + Found adjustments 05:53:01 ==> Gzipping contents 05:53:01 8.0K /tmp/codecov.kx6AOR.gz 05:53:01 ==> Uploading reports 05:53:01 url: https://codecov.io 05:53:01 query: branch=PR-397&commit=eb57e3d8d84416b6c80171ba4f245aafcd04889d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=397&job=&cmd_args= 05:53:01 -> Pinging Codecov 05:53:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-397&commit=eb57e3d8d84416b6c80171ba4f245aafcd04889d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=397&job=&cmd_args= 05:53:01 -> Uploading to 05:53:01 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/5E52B4B073DB2E39498172D8E973AA87/eb57e3d8d84416b6c80171ba4f245aafcd04889d/aef6a32b-743e-4f53-97d0-3688d5244f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T055301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf455f3f5b79c1417fbf6b71b081f9f721a7c8e854532f76d3a370d8ca41af6d 05:53:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:01 Dload Upload Total Spent Left Speed 05:53:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23351 --:--:-- --:--:-- --:--:-- 23351 05:53:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/eb57e3d8d84416b6c80171ba4f245aafcd04889d [Pipeline] } 05:53:01 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 05:53:03 + [ -d /w/workspace/foundry_device-virtual-go_PR-397/archives ] 05:53:03 + ls -al /w/workspace/foundry_device-virtual-go_PR-397/archives 05:53:03 total 16 05:53:03 drwxr-xr-x 3 root root 4096 May 5 05:41 . 05:53:03 drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:41 .. 05:53:03 drwxr-xr-x 2 root root 4096 May 5 05:41 cost 05:53:03 -rw-r--r-- 1 root root 89 May 5 05:41 cost.csv 05:53:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-397/archives 05:53:03 + ls -al /w/workspace/foundry_device-virtual-go_PR-397/archives 05:53:03 total 16 05:53:03 drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:41 . 05:53:03 drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:41 .. 05:53:03 drwxr-xr-x 2 jenkins jenkins 4096 May 5 05:41 cost 05:53:03 -rw-r--r-- 1 jenkins jenkins 89 May 5 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:05 ---> package-listing.sh 05:53:05 ++ facter osfamily 05:53:05 ++ tr '[:upper:]' '[:lower:]' 05:53:05 + OS_FAMILY=debian 05:53:05 + workspace=/w/workspace/foundry_device-virtual-go_PR-397 05:53:05 + START_PACKAGES=/tmp/packages_start.txt 05:53:05 + END_PACKAGES=/tmp/packages_end.txt 05:53:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:05 + PACKAGES=/tmp/packages_start.txt 05:53:05 + '[' /w/workspace/foundry_device-virtual-go_PR-397 ']' 05:53:05 + PACKAGES=/tmp/packages_end.txt 05:53:05 + case "${OS_FAMILY}" in 05:53:05 + dpkg -l 05:53:05 + grep '^ii' 05:53:05 + '[' -f /tmp/packages_start.txt ']' 05:53:05 + '[' -f /tmp/packages_end.txt ']' 05:53:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:05 + '[' /w/workspace/foundry_device-virtual-go_PR-397 ']' 05:53:05 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-397/archives/ 05:53:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-397/archives/ [Pipeline] echo 05:53:05 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:06 prd-ubuntu20.04-docker-8c-8g-13825 does not seem to be running inside a container 05:53:06 $ 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-397/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-397 -v /w/workspace/foundry_device-virtual-go_PR-397:/w/workspace/foundry_device-virtual-go_PR-397:rw,z -v /w/workspace/foundry_device-virtual-go_PR-397@tmp:/w/workspace/foundry_device-virtual-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:06 $ docker top b26b04767b89f5880f23674f4e90e7f9f212fa4b06ecdca98ee24b056433c4d6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:06 + touch /tmp/pre-build-complete [Pipeline] sh 05:53:07 + mkdir -p /var/log/sysstat [Pipeline] sh 05:53:07 + ls /var/log/sa-host 05:53:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:07 provisioning config files... 05:53:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-397@tmp/config10563985642314616216tmp [Pipeline] { [Pipeline] echo 05:53:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:08 ---> create-netrc.sh [Pipeline] } 05:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:53:08 ---> python-tools-install.sh [Pipeline] echo 05:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:53:08 ---> sudo-logs.sh 05:53:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:53:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:53:09 ---> job-cost.sh 05:53:09 lf-activate-venv: SKIPPING 05:53:09 DEBUG: total: 0.2199999988079071 05:53:09 INFO: Retrieving Stack Cost... 05:53:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:10 INFO: Archiving Costs [Pipeline] echo 05:53:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:10 ---> logs-deploy.sh 05:53:10 lf-activate-venv: SKIPPING 05:53:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-397/1 05:53:10 INFO: archiving workspace using pattern(s): 05:53:11 Archives upload complete. 05:53:11 INFO: archiving logs to Nexus