Pull request #407 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd5d9daae729a5188b85bed1fe7eeb810f7f183d+6a6923f6f990075cc9d362fe0d250c605a9d159f (06b168722d00c5e973efa259e0c2f4ad220d54af) 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-ssh959794012329509681.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-ssh1253258562278027483.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-407/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-407/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8405977953772125929.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-407/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17700678058766832659.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-ssh6582907227862985417.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-407/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-407/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2947675851564298556.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15511 in /w/workspace/foundry_device-virtual-go_PR-407 [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-407 # 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/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a6923f6f990075cc9d362fe0d250c605a9d159f into PR head commit fd5d9daae729a5188b85bed1fe7eeb810f7f183d Merge succeeded, producing fd5d9daae729a5188b85bed1fe7eeb810f7f183d Checking out Revision fd5d9daae729a5188b85bed1fe7eeb810f7f183d (PR-407) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" 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 07:45:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f fd5d9daae729a5188b85bed1fe7eeb810f7f183d # 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 6a6923f6f990075cc9d362fe0d250c605a9d159f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd5d9daae729a5188b85bed1fe7eeb810f7f183d # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:45:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:45:54 ========================================================= 07:45:54 EdgeX Global Pipelines Version Info 07:45:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:45:55 ------------------- 07:45:55 stable info: 07:45:55 ------------------- 07:45:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:45:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:45:55 Message: update stable to v1.0.249 07:45:55 ------------------- 07:45:55 experimental info: 07:45:55 ------------------- 07:45:55 Commited By: **** collab-it+edgex@linuxfoundation.org 07:45:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:45:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:45:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:45:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:45:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:45:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:45:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo 07:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo 07:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo 07:45:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd5d9daae729a5188b85bed1fe7eeb810f7f183d [Pipeline] echo 07:45:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd5d9da [Pipeline] echo 07:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:57 provisioning config files... 07:45:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-407@tmp/config9355934558652014657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:45:57 ---> docker-login.sh 07:45:57 nexus3.edgexfoundry.org:10001 07:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:58 Configure a credential helper to remove this warning. See 07:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:58 07:45:58 Login Succeeded 07:45:58 nexus3.edgexfoundry.org:10002 07:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:58 Configure a credential helper to remove this warning. See 07:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:58 07:45:58 Login Succeeded 07:45:58 nexus3.edgexfoundry.org:10003 07:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:58 Configure a credential helper to remove this warning. See 07:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:58 07:45:58 Login Succeeded 07:45:58 nexus3.edgexfoundry.org:10004 07:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:58 Configure a credential helper to remove this warning. See 07:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:58 07:45:58 Login Succeeded 07:45:58 docker.io 07:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:58 Configure a credential helper to remove this warning. See 07:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:58 07:45:58 Login Succeeded 07:45:58 ---> docker-login.sh ends [Pipeline] } 07:45:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:45:59 + git rev-list -1 --merges fd5d9daae729a5188b85bed1fe7eeb810f7f183d~1..fd5d9daae729a5188b85bed1fe7eeb810f7f183d [Pipeline] echo 07:45:59 -----------> git rev-list -1 --merges fd5d9daae729a5188b85bed1fe7eeb810f7f183d~1..fd5d9daae729a5188b85bed1fe7eeb810f7f183d fd5d9daae729a5188b85bed1fe7eeb810f7f183d [false] [Pipeline] sh 07:45:59 + git log --format=format:%s -1 fd5d9daae729a5188b85bed1fe7eeb810f7f183d [Pipeline] echo 07:45:59 ========================================================= 07:45:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:45:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:00 + git log --format=format:%s -1 fd5d9daae729a5188b85bed1fe7eeb810f7f183d [Pipeline] echo 07:46:00 [semverPrep] GIT_COMMIT: fd5d9daae729a5188b85bed1fe7eeb810f7f183d, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 07:46:00 [semverPrep] This is not a build commit. [Pipeline] sh 07:46:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:46:00 + grep -v github /etc/ssh/ssh_known_hosts 07:46:00 + [ -e /tmp/ssh_known_hosts ] 07:46:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:46:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:46:00 + sudo tee -a /etc/ssh/ssh_known_hosts 07:46:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:01 07:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:01 0.1.4: Pulling from edgex-devops/py-git-semver 07:46:01 b85a868b505f: Pulling fs layer 07:46:01 e2be974225ed: Pulling fs layer 07:46:01 339a4e72a1f5: Pulling fs layer 07:46:01 988bab9f4d93: Pulling fs layer 07:46:01 1469e6f7b9e6: Pulling fs layer 07:46:01 988bab9f4d93: Waiting 07:46:01 eaf3925da568: Pulling fs layer 07:46:01 1469e6f7b9e6: Waiting 07:46:01 bab4dde63d76: Pulling fs layer 07:46:01 eaf3925da568: Waiting 07:46:01 bde34c3a00c8: Pulling fs layer 07:46:01 bab4dde63d76: Waiting 07:46:01 b352a97aabf1: Pulling fs layer 07:46:01 4872d77fe225: Pulling fs layer 07:46:01 5851b861e8e6: Pulling fs layer 07:46:01 4872d77fe225: Waiting 07:46:01 bde34c3a00c8: Waiting 07:46:01 5851b861e8e6: Waiting 07:46:01 b352a97aabf1: Waiting 07:46:01 e2be974225ed: Verifying Checksum 07:46:01 e2be974225ed: Download complete 07:46:01 988bab9f4d93: Download complete 07:46:01 1469e6f7b9e6: Verifying Checksum 07:46:01 1469e6f7b9e6: Download complete 07:46:01 339a4e72a1f5: Verifying Checksum 07:46:01 339a4e72a1f5: Download complete 07:46:01 eaf3925da568: Verifying Checksum 07:46:01 eaf3925da568: Download complete 07:46:01 bde34c3a00c8: Download complete 07:46:01 b352a97aabf1: Download complete 07:46:01 4872d77fe225: Verifying Checksum 07:46:01 4872d77fe225: Download complete 07:46:01 5851b861e8e6: Verifying Checksum 07:46:01 5851b861e8e6: Download complete 07:46:01 b85a868b505f: Verifying Checksum 07:46:01 b85a868b505f: Download complete 07:46:02 bab4dde63d76: Verifying Checksum 07:46:02 bab4dde63d76: Download complete 07:46:03 b85a868b505f: Pull complete 07:46:03 e2be974225ed: Pull complete 07:46:03 339a4e72a1f5: Pull complete 07:46:03 988bab9f4d93: Pull complete 07:46:04 1469e6f7b9e6: Pull complete 07:46:04 eaf3925da568: Pull complete 07:46:06 bab4dde63d76: Pull complete 07:46:06 bde34c3a00c8: Pull complete 07:46:06 b352a97aabf1: Pull complete 07:46:06 4872d77fe225: Pull complete 07:46:06 5851b861e8e6: Pull complete 07:46:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:06 prd-ubuntu20.04-docker-8c-8g-15511 does not seem to be running inside a container 07:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-407 -v /w/workspace/foundry_device-virtual-go_PR-407:/w/workspace/foundry_device-virtual-go_PR-407:rw,z -v /w/workspace/foundry_device-virtual-go_PR-407@tmp:/w/workspace/foundry_device-virtual-go_PR-407@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:46:09 $ docker top 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 -eo pid,comm 07:46:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:46:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:46:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:09 [ssh-agent] Looking for ssh-agent implementation... 07:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:09 $ docker exec 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 ssh-agent 07:46:09 SSH_AUTH_SOCK=/tmp/ssh-ynD4ingBIzNq/agent.33 07:46:09 SSH_AGENT_PID=39 07:46:09 Running ssh-add (command line suppressed) 07:46:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-407@tmp/private_key_10340754010139327948.key (/w/workspace/foundry_device-virtual-go_PR-407@tmp/private_key_10340754010139327948.key) 07:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:10 + git tag --points-at HEAD [Pipeline] } 07:46:10 $ docker exec --env ******** --env ******** 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 ssh-agent -k 07:46:10 unset SSH_AUTH_SOCK; 07:46:10 unset SSH_AGENT_PID; 07:46:10 echo Agent pid 39 killed; 07:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:10 [ssh-agent] Looking for ssh-agent implementation... 07:46:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:10 $ docker exec 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 ssh-agent 07:46:10 SSH_AUTH_SOCK=/tmp/ssh-84FGq6sAsas4/agent.71 07:46:10 SSH_AGENT_PID=77 07:46:10 Running ssh-add (command line suppressed) 07:46:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-407@tmp/private_key_11435122550086264628.key (/w/workspace/foundry_device-virtual-go_PR-407@tmp/private_key_11435122550086264628.key) 07:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:11 + git semver init 07:46:11 2023-05-16 07:46:11,441 [run_init] DEBUG init version:0.0.0 force:False 07:46:11 2023-05-16 07:46:11,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-407/.semver 07:46:11 2023-05-16 07:46:11,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-407/.semver 07:46:11 2023-05-16 07:46:11,442 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-407/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-407, universal_newlines=False, shell=None, istream=None) 07:46:12 2023-05-16 07:46:12,622 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-407/.git/info/exclude 07:46:12 2023-05-16 07:46:12,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-407/.semver/PR-407 with force:False 07:46:12 2023-05-16 07:46:12,622 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-407/.semver/PR-407 07:46:12 2023-05-16 07:46:12,626 [execute] INFO git cat-file --batch-check 07:46:12 2023-05-16 07:46:12,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-407/.semver, universal_newlines=False, shell=None, istream=) 07:46:12 2023-05-16 07:46:12,634 [execute] INFO git cat-file --batch 07:46:12 2023-05-16 07:46:12,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-407/.semver, universal_newlines=False, shell=None, istream=) 07:46:12 2023-05-16 07:46:12,640 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-407/.semver/PR-407 07:46:12 0.0.0 [Pipeline] } 07:46:12 $ docker exec --env ******** --env ******** 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 ssh-agent -k 07:46:13 unset SSH_AUTH_SOCK; 07:46:13 unset SSH_AGENT_PID; 07:46:13 echo Agent pid 77 killed; 07:46:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:46:13 + git semver [Pipeline] } 07:46:13 $ docker stop --time=1 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 07:46:15 $ docker rm -f --volumes 3b50b5fcded076d606883f39ed38ad058126dbc201846849cb3af58683b55c73 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:46:15 Stashed 1 file(s) [Pipeline] echo 07:46:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:16 provisioning config files... 07:46:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-407@tmp/config12175129240298512622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:16 ---> docker-login.sh 07:46:16 nexus3.edgexfoundry.org:10001 07:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:16 Configure a credential helper to remove this warning. See 07:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:16 07:46:16 Login Succeeded 07:46:16 nexus3.edgexfoundry.org:10002 07:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:16 Configure a credential helper to remove this warning. See 07:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:16 07:46:16 Login Succeeded 07:46:16 nexus3.edgexfoundry.org:10003 07:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:17 Configure a credential helper to remove this warning. See 07:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:17 07:46:17 Login Succeeded 07:46:17 nexus3.edgexfoundry.org:10004 07:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:17 Configure a credential helper to remove this warning. See 07:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:17 07:46:17 Login Succeeded 07:46:17 docker.io 07:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:17 Configure a credential helper to remove this warning. See 07:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:17 07:46:17 Login Succeeded 07:46:17 ---> docker-login.sh ends [Pipeline] } 07:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:46:17 ========================================================= 07:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:46:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:18 + 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 . 07:46:18 Sending build context to Docker daemon 23.66MB 07:46:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:46:18 Step 2/12 : FROM ${BASE} AS builder 07:46:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:46:18 f56be85fc22e: Pulling fs layer 07:46:18 85791d961cd3: Pulling fs layer 07:46:18 d694b5ae8c79: Pulling fs layer 07:46:18 9f32a84ed3da: Pulling fs layer 07:46:18 4d19c01a9841: Pulling fs layer 07:46:18 9325e15d5711: Pulling fs layer 07:46:18 556b6ee489ea: Pulling fs layer 07:46:18 c5a4b2cf53e6: Pulling fs layer 07:46:18 9f32a84ed3da: Waiting 07:46:18 4d19c01a9841: Waiting 07:46:18 9325e15d5711: Waiting 07:46:18 556b6ee489ea: Waiting 07:46:18 c5a4b2cf53e6: Waiting 07:46:18 85791d961cd3: Download complete 07:46:18 9f32a84ed3da: Download complete 07:46:18 4d19c01a9841: Verifying Checksum 07:46:18 4d19c01a9841: Download complete 07:46:18 f56be85fc22e: Verifying Checksum 07:46:18 f56be85fc22e: Download complete 07:46:18 9325e15d5711: Verifying Checksum 07:46:18 9325e15d5711: Download complete 07:46:18 f56be85fc22e: Pull complete 07:46:18 85791d961cd3: Pull complete 07:46:18 c5a4b2cf53e6: Verifying Checksum 07:46:18 c5a4b2cf53e6: Download complete 07:46:18 d694b5ae8c79: Verifying Checksum 07:46:18 d694b5ae8c79: Download complete 07:46:19 556b6ee489ea: Verifying Checksum 07:46:19 556b6ee489ea: Download complete 07:46:22 d694b5ae8c79: Pull complete 07:46:22 9f32a84ed3da: Pull complete 07:46:22 4d19c01a9841: Pull complete 07:46:22 9325e15d5711: Pull complete 07:46:25 556b6ee489ea: Pull complete 07:46:26 c5a4b2cf53e6: Pull complete 07:46:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:46:26 ---> c4be618373d6 07:46:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:46:31 Still waiting to schedule task 07:46:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:46:31 ---> Running in bb26f927e8fd 07:46:31 Removing intermediate container bb26f927e8fd 07:46:31 ---> 98434fa40d51 07:46:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:46:31 ---> Running in 751164039cff 07:46:31 Removing intermediate container 751164039cff 07:46:31 ---> 17c56ee99c16 07:46:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:46:31 ---> Running in 2bcfa1270b01 07:46:31 Removing intermediate container 2bcfa1270b01 07:46:31 ---> b279e4c7ed6b 07:46:31 Step 6/12 : WORKDIR /device-virtual-go 07:46:31 ---> Running in 9fef7bbcb178 07:46:31 Removing intermediate container 9fef7bbcb178 07:46:31 ---> 87cf357999c1 07:46:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:31 ---> Running in b1569f7ce833 07:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:46:31 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:46:31 (2/4) Installing libedit (20221030.3.1-r0) 07:46:31 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:46:31 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:46:31 Executing busybox-1.35.0-r29.trigger 07:46:31 OK: 269 MiB in 57 packages 07:46:31 Removing intermediate container b1569f7ce833 07:46:31 ---> 405e0fc8fa8f 07:46:31 Step 8/12 : COPY go.mod vendor* ./ 07:46:32 ---> 8a0ffd88e1d0 07:46:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:32 ---> Running in b6cf871bf4c8 07:47:28 Removing intermediate container b6cf871bf4c8 07:47:28 ---> 0cf82534e5e1 07:47:28 Step 10/12 : COPY . . 07:47:28 ---> 6535f0d40608 07:47:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:28 ---> Running in 17265f006e6a 07:47:28 Removing intermediate container 17265f006e6a 07:47:28 ---> 9c99da1c8708 07:47:28 Step 12/12 : RUN $MAKE 07:47:28 ---> Running in c4df865b1744 07:47:28 noop 07:47:28 Removing intermediate container c4df865b1744 07:47:28 ---> 4c793eedbad5 07:47:28 Successfully built 4c793eedbad5 07:47:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:28 + docker inspect -f . ci-base-image-x86_64 07:47:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:29 prd-ubuntu20.04-docker-8c-8g-15511 does not seem to be running inside a container 07:47:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-407 -v /w/workspace/foundry_device-virtual-go_PR-407:/w/workspace/foundry_device-virtual-go_PR-407:rw,z -v /w/workspace/foundry_device-virtual-go_PR-407@tmp:/w/workspace/foundry_device-virtual-go_PR-407@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 ******** ci-base-image-x86_64 cat 07:47:29 $ docker top a7e02a40ca5e8c2971baa87bcf183e03a9de26a41f365b611c2b99af8519d7ac -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:29 + go version 07:47:29 go version go1.20.2 linux/amd64 [Pipeline] } 07:47:29 $ docker stop --time=1 a7e02a40ca5e8c2971baa87bcf183e03a9de26a41f365b611c2b99af8519d7ac 07:47:31 $ docker rm -f --volumes a7e02a40ca5e8c2971baa87bcf183e03a9de26a41f365b611c2b99af8519d7ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:32 + docker inspect -f . ci-base-image-x86_64 07:47:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:32 prd-ubuntu20.04-docker-8c-8g-15511 does not seem to be running inside a container 07:47:32 $ 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-407 -v /w/workspace/foundry_device-virtual-go_PR-407:/w/workspace/foundry_device-virtual-go_PR-407:rw,z -v /w/workspace/foundry_device-virtual-go_PR-407@tmp:/w/workspace/foundry_device-virtual-go_PR-407@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 ******** ci-base-image-x86_64 cat 07:47:33 $ docker top 53fe21334c3b283520b72a4dd210e667f38e946b17a655e1b54e2f348d66446b -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:33 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-407 [Pipeline] fileExists [Pipeline] sh 07:47:33 + make test 07:47:33 go test ./... -coverprofile=coverage.out 07:47:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:47:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:47:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 07:47:57 go vet ./... 07:48:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:48:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:48:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:48:00 $ docker stop --time=1 53fe21334c3b283520b72a4dd210e667f38e946b17a655e1b54e2f348d66446b 07:48:04 $ docker rm -f --volumes 53fe21334c3b283520b72a4dd210e667f38e946b17a655e1b54e2f348d66446b [Pipeline] // withDockerContainer [Pipeline] sh 07:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:48:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:48:05 + ls -al . 07:48:05 total 192 07:48:05 drwxrwxr-x 9 jenkins jenkins 4096 May 16 07:47 . 07:48:05 drwxrwxr-x 4 jenkins jenkins 4096 May 16 07:45 .. 07:48:05 drwxrwxr-x 8 jenkins jenkins 4096 May 16 07:46 .git 07:48:05 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:45 .github 07:48:05 -rw-rw-r-- 1 jenkins jenkins 337 May 16 07:45 .gitignore 07:48:05 -rw-rw-r-- 1 jenkins jenkins 41 May 16 07:45 .golangci.yml 07:48:05 drwxr-xr-x 3 jenkins jenkins 4096 May 16 07:46 .semver 07:48:05 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 07:45 Attribution.txt 07:48:05 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 07:45 CHANGELOG.md 07:48:05 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 07:45 Dockerfile 07:48:05 -rw-rw-r-- 1 jenkins jenkins 677 May 16 07:45 GOVERNANCE.md 07:48:05 -rw-rw-r-- 1 jenkins jenkins 660 May 16 07:45 Jenkinsfile 07:48:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 07:45 LICENSE 07:48:05 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 07:45 Makefile 07:48:05 -rw-rw-r-- 1 jenkins jenkins 623 May 16 07:45 OWNERS.md 07:48:05 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 07:45 README.md 07:48:05 -rw-rw-r-- 1 jenkins jenkins 5 May 16 07:46 VERSION 07:48:05 drwxrwxr-x 2 jenkins jenkins 4096 May 16 07:45 bin 07:48:05 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:45 cmd 07:48:05 -rw-r--r-- 1 jenkins jenkins 43063 May 16 07:47 coverage.out 07:48:05 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 07:45 go.mod 07:48:05 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 07:45 go.sum 07:48:05 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:45 internal 07:48:05 drwxrwxr-x 4 jenkins jenkins 4096 May 16 07:45 snap 07:48:05 -rw-rw-r-- 1 jenkins jenkins 235 May 16 07:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:06 + 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=fd5d9daae729a5188b85bed1fe7eeb810f7f183d --label arch=amd64 --label version=0.0.0 . 07:48:06 Sending build context to Docker daemon 23.71MB 07:48:06 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:48:06 Step 2/25 : FROM ${BASE} AS builder 07:48:06 ---> 4c793eedbad5 07:48:06 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:48:06 ---> Running in b5696063bbc9 07:48:06 Removing intermediate container b5696063bbc9 07:48:06 ---> e79487d71209 07:48:06 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:48:06 ---> Running in 0a917cb5ab1c 07:48:06 Removing intermediate container 0a917cb5ab1c 07:48:06 ---> e276e987862c 07:48:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:48:07 ---> Running in a844a732bca7 07:48:07 Removing intermediate container a844a732bca7 07:48:07 ---> 9ca65e866244 07:48:07 Step 6/25 : WORKDIR /device-virtual-go 07:48:07 ---> Running in c8ecda374aa7 07:48:07 Removing intermediate container c8ecda374aa7 07:48:07 ---> 3ece23359df2 07:48:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:07 ---> Running in d2f1f5ca096e 07:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:48:07 OK: 269 MiB in 57 packages 07:48:08 Removing intermediate container d2f1f5ca096e 07:48:08 ---> f7bbc070c2b2 07:48:08 Step 8/25 : COPY go.mod vendor* ./ 07:48:08 ---> 8327f612a78f 07:48:08 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:08 ---> Running in 4e1f3a0aacd6 07:48:09 Removing intermediate container 4e1f3a0aacd6 07:48:09 ---> dbc8688a820a 07:48:09 Step 10/25 : COPY . . 07:48:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15512 in /w/workspace/foundry_device-virtual-go_PR-407 [Pipeline] { [Pipeline] ws 07:48:09 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 07:48:09 The recommended git tool is: git 07:48:09 ---> 9e05ddf80434 07:48:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:09 ---> Running in 1b812e630789 07:48:09 Removing intermediate container 1b812e630789 07:48:09 ---> db1e9b923afa 07:48:09 Step 12/25 : RUN $MAKE 07:48:09 ---> Running in 8bcf29cb19cb 07:48:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:48:14 using credential edgex-jenkins-ssh 07:48:14 Cloning the remote Git repository 07:48:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:48:15 > git init /w/workspace/device-virtual-go/1 # timeout=10 07:48:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:48:15 > git --version # timeout=10 07:48:15 > git --version # 'git version 2.25.1' 07:48:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:48:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:48:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:48:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:48:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:48:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:48:18 Merging remotes/origin/main commit 6a6923f6f990075cc9d362fe0d250c605a9d159f into PR head commit fd5d9daae729a5188b85bed1fe7eeb810f7f183d 07:48:19 Merge succeeded, producing fd5d9daae729a5188b85bed1fe7eeb810f7f183d 07:48:19 Checking out Revision fd5d9daae729a5188b85bed1fe7eeb810f7f183d (PR-407) 07:48:19 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" 07:48:19 > git --version # timeout=10 07:48:19 > git --version # 'git version 2.25.1' 07:48:19 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:48:18 > git config core.sparsecheckout # timeout=10 07:48:19 > git checkout -f fd5d9daae729a5188b85bed1fe7eeb810f7f183d # timeout=10 07:48:19 > git remote # timeout=10 07:48:19 > git config --get remote.origin.url # timeout=10 07:48:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:48:19 > git merge 6a6923f6f990075cc9d362fe0d250c605a9d159f # timeout=10 07:48:19 > git rev-parse HEAD^{commit} # timeout=10 07:48:19 > git config core.sparsecheckout # timeout=10 07:48:19 > git checkout -f fd5d9daae729a5188b85bed1fe7eeb810f7f183d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:48:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:48:21 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:21 Dload Upload Total Spent Left Speed 07:48:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 07:48:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:48:22 + sudo tee /etc/docker/daemon.new 07:48:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:48:22 { 07:48:22 "registry-mirrors": [ 07:48:22 "https://nexus3.edgexfoundry.org:10001" 07:48:22 ], 07:48:22 "bip": "10.250.0.254/24", 07:48:22 "hosts": [ 07:48:22 "tcp://0.0.0.0:5555", 07:48:22 "unix:///var/run/docker.sock" 07:48:22 ], 07:48:22 "mtu": 1458, 07:48:22 "selinux-enabled": true, 07:48:22 "seccomp-profile": "/etc/docker/seccomp.json" 07:48:22 } [Pipeline] sh 07:48:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:48:22 + sudo service docker restart 07:48:32 Removing intermediate container 8bcf29cb19cb 07:48:32 ---> e07ba9685cb9 07:48:32 Step 13/25 : FROM alpine:3.17 07:48:32 3.17: Pulling from library/alpine 07:48:32 f56be85fc22e: Already exists 07:48:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:48:32 Status: Downloaded newer image for alpine:3.17 07:48:32 ---> 9ed4aefc74f6 07:48:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:48:32 ---> Running in 761891c5cf0b 07:48:32 Removing intermediate container 761891c5cf0b 07:48:32 ---> 69141c209c0c 07:48:32 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:48:32 ---> Running in 5a6d13fc66a4 07:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:48:32 (1/1) Installing dumb-init (1.2.5-r2) 07:48:32 Executing busybox-1.35.0-r29.trigger 07:48:32 OK: 7 MiB in 16 packages 07:48:32 Removing intermediate container 5a6d13fc66a4 07:48:32 ---> 43cf1d0d27fb 07:48:32 Step 16/25 : WORKDIR / 07:48:32 ---> Running in 6e338f36c600 07:48:32 Removing intermediate container 6e338f36c600 07:48:32 ---> 317d5e5eb298 07:48:32 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:48:32 ---> bf9e05e5b25d 07:48:32 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:48:32 ---> de5af6cac1c3 07:48:32 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:48:33 ---> d723ff11fbc6 07:48:33 Step 20/25 : EXPOSE 59900 07:48:33 ---> Running in b1fad6b8bbc6 07:48:33 Removing intermediate container b1fad6b8bbc6 07:48:33 ---> d70c242fceef 07:48:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:48:33 ---> Running in 9b8235b932d4 07:48:33 Removing intermediate container 9b8235b932d4 07:48:33 ---> 7bfcebcef4d8 07:48:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:48:33 ---> Running in 57d212ba5fee 07:48:33 Removing intermediate container 57d212ba5fee 07:48:33 ---> e82159cc5fa8 07:48:33 Step 23/25 : LABEL arch=amd64 07:48:33 ---> Running in a3d8a75f4fff 07:48:34 Removing intermediate container a3d8a75f4fff 07:48:34 ---> 05df123bb4b0 07:48:34 Step 24/25 : LABEL git_sha=fd5d9daae729a5188b85bed1fe7eeb810f7f183d 07:48:34 ---> Running in e7a59a79497a 07:48:34 Removing intermediate container e7a59a79497a 07:48:34 ---> d7a63236f4f7 07:48:34 Step 25/25 : LABEL version=0.0.0 07:48:34 ---> Running in 95d3ac141058 07:48:34 Removing intermediate container 95d3ac141058 07:48:34 ---> 692a1a0a8953 07:48:34 [Warning] One or more build-args [ARCH] were not consumed 07:48:34 Successfully built 692a1a0a8953 07:48:34 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:35 07:48:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:35 latest: Pulling from edgex-lftools-log-publisher 07:48:35 5eb5b503b376: Pulling fs layer 07:48:35 5c69ac0246d0: Pulling fs layer 07:48:35 ec43610c2a17: Pulling fs layer 07:48:35 3a2ae6a8a46f: Pulling fs layer 07:48:35 33b1e0a273af: Pulling fs layer 07:48:35 5d3b04190fa2: Pulling fs layer 07:48:35 2f39f015ded8: Pulling fs layer 07:48:35 33b1e0a273af: Waiting 07:48:35 5d3b04190fa2: Waiting 07:48:35 2f39f015ded8: Waiting 07:48:35 3a2ae6a8a46f: Waiting 07:48:35 5c69ac0246d0: Download complete 07:48:35 3a2ae6a8a46f: Verifying Checksum 07:48:35 3a2ae6a8a46f: Download complete 07:48:35 33b1e0a273af: Verifying Checksum 07:48:35 33b1e0a273af: Download complete 07:48:35 5d3b04190fa2: Verifying Checksum 07:48:35 5d3b04190fa2: Download complete 07:48:36 ec43610c2a17: Verifying Checksum 07:48:36 ec43610c2a17: Download complete 07:48:36 5eb5b503b376: Download complete 07:48:36 2f39f015ded8: Download complete 07:48:37 5eb5b503b376: Pull complete 07:48:37 5c69ac0246d0: Pull complete 07:48:38 ec43610c2a17: Pull complete 07:48:38 3a2ae6a8a46f: Pull complete 07:48:38 33b1e0a273af: Pull complete 07:48:38 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:41 provisioning config files... 07:48:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11092968158363529966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:41 ---> docker-login.sh 07:48:41 nexus3.edgexfoundry.org:10001 07:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:42 Configure a credential helper to remove this warning. See 07:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:42 07:48:42 Login Succeeded 07:48:42 nexus3.edgexfoundry.org:10002 07:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:42 Configure a credential helper to remove this warning. See 07:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:42 07:48:42 Login Succeeded 07:48:42 nexus3.edgexfoundry.org:10003 07:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:42 Configure a credential helper to remove this warning. See 07:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:42 07:48:42 Login Succeeded 07:48:42 nexus3.edgexfoundry.org:10004 07:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:43 Configure a credential helper to remove this warning. See 07:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:43 07:48:43 Login Succeeded 07:48:43 docker.io 07:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:43 2f39f015ded8: Pull complete 07:48:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 07:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:43 Configure a credential helper to remove this warning. See 07:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:43 07:48:43 Login Succeeded 07:48:43 ---> docker-login.sh ends [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:43 prd-ubuntu20.04-docker-8c-8g-15511 does not seem to be running inside a container 07:48:43 $ 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-407 -v /w/workspace/foundry_device-virtual-go_PR-407:/w/workspace/foundry_device-virtual-go_PR-407:rw,z -v /w/workspace/foundry_device-virtual-go_PR-407@tmp:/w/workspace/foundry_device-virtual-go_PR-407@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-lftools-log-publisher:latest cat 07:48:48 $ docker top f67744dc649ce07b296b1f1d81910fe7b09efa84e20ffc70f374afddb5c76bb4 -eo pid,comm [Pipeline] { [Pipeline] } 07:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] unstash 07:48:48 ---> job-cost.sh 07:48:48 lf-activate-venv: SKIPPING 07:48:48 INFO: No Stack... [Pipeline] echo 07:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:49 ========================================================= 07:48:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:48:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv 07:48:49 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] { [Pipeline] sh 07:48:49 INFO: Archiving Costs [Pipeline] sh 07:48:49 + 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 . 07:48:49 + cat /w/workspace/foundry_device-virtual-go_PR-407/archives/cost.csv 07:48:49 + cut -d, -f6 [Pipeline] lock 07:48:49 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] 07:48:49 Resource [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] did not exist. Created. 07:48:49 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] 07:48:49 Sending build context to Docker daemon 12MB 07:48:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:48:49 Step 2/12 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:48:50 c41833b44d91: Pulling fs layer 07:48:50 ed15518f5707: Pulling fs layer 07:48:50 feae8fd75edb: Pulling fs layer 07:48:50 242c74f7c9fa: Pulling fs layer 07:48:50 3cdef696dda3: Pulling fs layer 07:48:50 2ced38df9373: Pulling fs layer 07:48:50 58f1dce35555: Pulling fs layer 07:48:50 3cdef696dda3: Waiting 07:48:50 2ced38df9373: Waiting 07:48:50 58f1dce35555: Waiting 07:48:50 242c74f7c9fa: Waiting 07:48:50 ed15518f5707: Verifying Checksum 07:48:50 ed15518f5707: Download complete 07:48:50 242c74f7c9fa: Verifying Checksum 07:48:50 242c74f7c9fa: Download complete 07:48:50 3cdef696dda3: Verifying Checksum 07:48:50 3cdef696dda3: Download complete 07:48:50 c41833b44d91: Verifying Checksum 07:48:50 + echo total: 0.2199999988079071 [Pipeline] stash 07:48:50 Stashed 1 file(s) [Pipeline] } 07:48:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:50 $ docker stop --time=1 f67744dc649ce07b296b1f1d81910fe7b09efa84e20ffc70f374afddb5c76bb4 07:48:51 c41833b44d91: Pull complete 07:48:51 58f1dce35555: Verifying Checksum 07:48:51 58f1dce35555: Download complete 07:48:51 $ docker rm -f --volumes f67744dc649ce07b296b1f1d81910fe7b09efa84e20ffc70f374afddb5c76bb4 07:48:51 ed15518f5707: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:48:52 feae8fd75edb: Verifying Checksum 07:48:52 feae8fd75edb: Download complete 07:48:52 2ced38df9373: Verifying Checksum 07:48:52 2ced38df9373: Download complete 07:49:02 feae8fd75edb: Pull complete 07:49:02 242c74f7c9fa: Pull complete 07:49:02 3cdef696dda3: Pull complete 07:49:09 2ced38df9373: Pull complete 07:49:11 58f1dce35555: Pull complete 07:49:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 07:49:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:49:11 ---> fadd8f120f05 07:49:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:49:12 ---> Running in 42c08214ecec 07:49:12 Removing intermediate container 42c08214ecec 07:49:12 ---> 4b82ea18e266 07:49:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:49:13 ---> Running in 4faa51675402 07:49:13 Removing intermediate container 4faa51675402 07:49:13 ---> 05a53bf80e23 07:49:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:49:13 ---> Running in 8bbbdb79f4a5 07:49:13 Removing intermediate container 8bbbdb79f4a5 07:49:13 ---> 370957c7f48b 07:49:13 Step 6/12 : WORKDIR /device-virtual-go 07:49:13 ---> Running in 9ae4e6241b44 07:49:14 Removing intermediate container 9ae4e6241b44 07:49:14 ---> 6e1a743cbe77 07:49:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:14 ---> Running in 5b23c5f94d11 07:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:49:16 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:49:16 (2/4) Installing libedit (20221030.3.1-r0) 07:49:16 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:49:16 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:49:16 Executing busybox-1.35.0-r29.trigger 07:49:16 OK: 268 MiB in 57 packages 07:49:17 Removing intermediate container 5b23c5f94d11 07:49:17 ---> bad07b4588f8 07:49:17 Step 8/12 : COPY go.mod vendor* ./ 07:49:18 ---> 7cf9e5128105 07:49:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:18 ---> Running in 28209d566f72 07:50:26 Removing intermediate container 28209d566f72 07:50:26 ---> afb763528988 07:50:26 Step 10/12 : COPY . . 07:50:26 ---> 3a07b6d93d43 07:50:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:50:26 ---> Running in 8d5241262a44 07:50:26 Removing intermediate container 8d5241262a44 07:50:26 ---> b26c03f05745 07:50:26 Step 12/12 : RUN $MAKE 07:50:26 ---> Running in b94b88296de2 07:50:26 noop 07:50:26 Removing intermediate container b94b88296de2 07:50:26 ---> f4ac37e1970a 07:50:26 Successfully built f4ac37e1970a 07:50:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:26 + docker inspect -f . ci-base-image-arm64 07:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:27 prd-ubuntu20.04-docker-arm64-4c-16g-15512 does not seem to be running inside a container 07:50:27 $ 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 ******** ci-base-image-arm64 cat 07:50:28 $ docker top 3cd6e733ac10debbaf54491b8394ba63780eb0c6e44e3177101463590a6197ea -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:29 + go version 07:50:29 go version go1.20.2 linux/arm64 [Pipeline] } 07:50:29 $ docker stop --time=1 3cd6e733ac10debbaf54491b8394ba63780eb0c6e44e3177101463590a6197ea 07:50:30 $ docker rm -f --volumes 3cd6e733ac10debbaf54491b8394ba63780eb0c6e44e3177101463590a6197ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:31 + docker inspect -f . ci-base-image-arm64 07:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:31 prd-ubuntu20.04-docker-arm64-4c-16g-15512 does not seem to be running inside a container 07:50:32 $ 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 ******** ci-base-image-arm64 cat 07:50:33 $ docker top cbb092351b22cf95748812a2fca46de33ba947c3be6d69341a98b225bfb2f71d -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:33 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 07:50:34 + make test 07:50:34 go test ./... -coverprofile=coverage.out 07:51:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:52:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:52:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.086s coverage: 58.4% of statements 07:52:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:52:58 go vet ./... 07:53:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:53:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:53:30 ./bin/test-attribution-txt.sh [Pipeline] echo 07:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:53:30 $ docker stop --time=1 cbb092351b22cf95748812a2fca46de33ba947c3be6d69341a98b225bfb2f71d 07:53:34 $ docker rm -f --volumes cbb092351b22cf95748812a2fca46de33ba947c3be6d69341a98b225bfb2f71d [Pipeline] // withDockerContainer [Pipeline] sh 07:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:53:35 Warning: overwriting stash ‘coverage-report’ 07:53:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:53:36 + ls -al . 07:53:36 total 188 07:53:36 drwxrwxr-x 8 jenkins jenkins 4096 May 16 07:50 . 07:53:36 drwxrwxr-x 4 jenkins jenkins 4096 May 16 07:48 .. 07:53:36 drwxrwxr-x 8 jenkins jenkins 4096 May 16 07:48 .git 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:48 .github 07:53:36 -rw-rw-r-- 1 jenkins jenkins 337 May 16 07:48 .gitignore 07:53:36 -rw-rw-r-- 1 jenkins jenkins 41 May 16 07:48 .golangci.yml 07:53:36 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 07:48 Attribution.txt 07:53:36 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 07:48 CHANGELOG.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 07:48 Dockerfile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 677 May 16 07:48 GOVERNANCE.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 660 May 16 07:48 Jenkinsfile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 07:48 LICENSE 07:53:36 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 07:48 Makefile 07:53:36 -rw-rw-r-- 1 jenkins jenkins 623 May 16 07:48 OWNERS.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 07:48 README.md 07:53:36 -rw-rw-r-- 1 jenkins jenkins 5 May 16 07:46 VERSION 07:53:36 drwxrwxr-x 2 jenkins jenkins 4096 May 16 07:48 bin 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:48 cmd 07:53:36 -rw-r--r-- 1 jenkins jenkins 43063 May 16 07:52 coverage.out 07:53:36 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 07:48 go.mod 07:53:36 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 07:48 go.sum 07:53:36 drwxrwxr-x 3 jenkins jenkins 4096 May 16 07:48 internal 07:53:36 drwxrwxr-x 4 jenkins jenkins 4096 May 16 07:48 snap 07:53:36 -rw-rw-r-- 1 jenkins jenkins 235 May 16 07:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:37 + 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=fd5d9daae729a5188b85bed1fe7eeb810f7f183d --label arch=arm64 --label version=0.0.0 . 07:53:37 Sending build context to Docker daemon 12.05MB 07:53:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:53:37 Step 2/25 : FROM ${BASE} AS builder 07:53:37 ---> f4ac37e1970a 07:53:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:53:37 ---> Running in f5f76292e334 07:53:38 Removing intermediate container f5f76292e334 07:53:38 ---> dfd398c1d269 07:53:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:53:38 ---> Running in f480b87b18fa 07:53:38 Removing intermediate container f480b87b18fa 07:53:38 ---> ecc8acf8d6e2 07:53:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:53:38 ---> Running in d3590fb60877 07:53:38 Removing intermediate container d3590fb60877 07:53:38 ---> 93aeda45897c 07:53:38 Step 6/25 : WORKDIR /device-virtual-go 07:53:38 ---> Running in 8c3cea068c24 07:53:39 Removing intermediate container 8c3cea068c24 07:53:39 ---> 43dc39482c86 07:53:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:53:39 ---> Running in 26cc5f8d39ec 07:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:53:42 OK: 268 MiB in 57 packages 07:53:42 Removing intermediate container 26cc5f8d39ec 07:53:42 ---> d9fcca51cd43 07:53:42 Step 8/25 : COPY go.mod vendor* ./ 07:53:43 ---> 066af28a350e 07:53:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:53:43 ---> Running in 76e1cba72cb3 07:53:46 Removing intermediate container 76e1cba72cb3 07:53:46 ---> 53fbe106831b 07:53:46 Step 10/25 : COPY . . 07:53:48 ---> ed140e96eacd 07:53:48 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:53:48 ---> Running in 504f22ceccf7 07:53:48 Removing intermediate container 504f22ceccf7 07:53:48 ---> b74d9549a820 07:53:48 Step 12/25 : RUN $MAKE 07:53:48 ---> Running in 477f610a7745 07:53:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:55:56 Removing intermediate container 477f610a7745 07:55:56 ---> f2ead836724b 07:55:56 Step 13/25 : FROM alpine:3.17 07:55:56 3.17: Pulling from library/alpine 07:55:56 c41833b44d91: Already exists 07:55:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:55:56 Status: Downloaded newer image for alpine:3.17 07:55:56 ---> 51e60588ff2c 07:55:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:55:56 ---> Running in bc1fac12c228 07:55:57 Removing intermediate container bc1fac12c228 07:55:57 ---> 5a95b3a4cc89 07:55:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:55:57 ---> Running in 9b81827a1f33 07:55:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:56:00 (1/1) Installing dumb-init (1.2.5-r2) 07:56:00 Executing busybox-1.35.0-r29.trigger 07:56:00 OK: 8 MiB in 16 packages 07:56:03 Removing intermediate container 9b81827a1f33 07:56:03 ---> 1ef5a73d264f 07:56:03 Step 16/25 : WORKDIR / 07:56:03 ---> Running in 11701ad32e03 07:56:03 Removing intermediate container 11701ad32e03 07:56:03 ---> 514a656ef402 07:56:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:56:03 ---> 934c851c602d 07:56:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:56:04 ---> b39df4bdd104 07:56:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:56:05 ---> c25413ff2ddf 07:56:05 Step 20/25 : EXPOSE 59900 07:56:05 ---> Running in 6a9a31954b24 07:56:05 Removing intermediate container 6a9a31954b24 07:56:05 ---> 3ba93e0cdbd3 07:56:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:56:06 ---> Running in edd81c77f9d1 07:56:06 Removing intermediate container edd81c77f9d1 07:56:06 ---> 40a4c3f64a65 07:56:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:56:06 ---> Running in 00270ab40caa 07:56:06 Removing intermediate container 00270ab40caa 07:56:06 ---> 2a6eba7e2c4e 07:56:06 Step 23/25 : LABEL arch=arm64 07:56:06 ---> Running in 0c983999fa5a 07:56:07 Removing intermediate container 0c983999fa5a 07:56:07 ---> e0fcb70df2b2 07:56:07 Step 24/25 : LABEL git_sha=fd5d9daae729a5188b85bed1fe7eeb810f7f183d 07:56:07 ---> Running in 2f6d942d56d9 07:56:07 Removing intermediate container 2f6d942d56d9 07:56:07 ---> 170885c00536 07:56:07 Step 25/25 : LABEL version=0.0.0 07:56:07 ---> Running in fa55b957fa63 07:56:07 Removing intermediate container fa55b957fa63 07:56:07 ---> a5cbf3048842 07:56:07 [Warning] One or more build-args [ARCH] were not consumed 07:56:07 Successfully built a5cbf3048842 07:56:07 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:08 07:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:09 arm64: Pulling from edgex-lftools-log-publisher 07:56:09 8998bd30e6a1: Pulling fs layer 07:56:09 04944245beec: Pulling fs layer 07:56:09 699f458cf7ca: Pulling fs layer 07:56:09 765212b225bb: Pulling fs layer 07:56:09 f23df028b6ca: Pulling fs layer 07:56:09 d65c8cfc05b1: Pulling fs layer 07:56:09 2437ff75d9bd: Pulling fs layer 07:56:09 f23df028b6ca: Waiting 07:56:09 d65c8cfc05b1: Waiting 07:56:09 765212b225bb: Waiting 07:56:09 2437ff75d9bd: Waiting 07:56:09 04944245beec: Verifying Checksum 07:56:09 04944245beec: Download complete 07:56:09 765212b225bb: Verifying Checksum 07:56:09 765212b225bb: Download complete 07:56:09 f23df028b6ca: Verifying Checksum 07:56:09 f23df028b6ca: Download complete 07:56:09 d65c8cfc05b1: Verifying Checksum 07:56:09 d65c8cfc05b1: Download complete 07:56:09 699f458cf7ca: Verifying Checksum 07:56:09 699f458cf7ca: Download complete 07:56:09 8998bd30e6a1: Verifying Checksum 07:56:09 8998bd30e6a1: Download complete 07:56:11 2437ff75d9bd: Verifying Checksum 07:56:11 2437ff75d9bd: Download complete 07:56:13 8998bd30e6a1: Pull complete 07:56:15 04944245beec: Pull complete 07:56:17 699f458cf7ca: Pull complete 07:56:17 765212b225bb: Pull complete 07:56:17 f23df028b6ca: Pull complete 07:56:18 d65c8cfc05b1: Pull complete 07:56:33 2437ff75d9bd: Pull complete 07:56:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:33 prd-ubuntu20.04-docker-arm64-4c-16g-15512 does not seem to be running inside a container 07:56:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:56:36 $ docker top 054ad8ffc207b65229826a189b0eae3bbf6536b5cbb9fa2d36b20327903dafb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:37 ---> job-cost.sh 07:56:37 lf-activate-venv: SKIPPING 07:56:37 INFO: No Stack... 07:56:37 INFO: Retrieving Pricing Info for: v3-standard-4 07:56:38 INFO: Archiving Costs [Pipeline] sh 07:56:38 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 07:56:38 + cut -d, -f6 [Pipeline] lock 07:56:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] 07:56:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] did not exist. Created. 07:56:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:39 /w/workspace/device-virtual-go/1@tmp/durable-b45df6dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:56:40 + echo total: 0.10999999940395355 [Pipeline] stash 07:56:40 Warning: overwriting stash ‘stack-cost’ 07:56:40 Stashed 1 file(s) [Pipeline] } 07:56:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:40 $ docker stop --time=1 054ad8ffc207b65229826a189b0eae3bbf6536b5cbb9fa2d36b20327903dafb2 07:56:41 $ docker rm -f --volumes 054ad8ffc207b65229826a189b0eae3bbf6536b5cbb9fa2d36b20327903dafb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:56:42 provisioning config files... 07:56:42 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-407@tmp/config4321660671960635049tmp [Pipeline] { [Pipeline] sh 07:56:43 + set +x 07:56:43 + curl -s https://codecov.io/bash 07:56:43 + bash -s -- 07:56:43 07:56:43 _____ _ 07:56:43 / ____| | | 07:56:43 | | ___ __| | ___ ___ _____ __ 07:56:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:43 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:43 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:43 Bash-1.0.6 07:56:43 07:56:43 07:56:43 ==> git version 2.25.1 found 07:56:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:56:43 Release-Date: 2020-01-08 07:56:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:56:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:56:43 ==> Jenkins CI detected. 07:56:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-407 07:56:43 project root: . 07:56:43 --> token set from env 07:56:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:56:43 ==> Running gcov in . (disable via -X gcov) 07:56:43 ==> Python coveragepy not found 07:56:43 ==> Searching for coverage reports in: 07:56:43 + . 07:56:43 -> Found 1 reports 07:56:43 ==> Detecting git/mercurial file structure 07:56:43 ==> Reading reports 07:56:43 + ./coverage.out bytes=43063 07:56:43 ==> Appending adjustments 07:56:43 https://docs.codecov.io/docs/fixing-reports 07:56:43 + Found adjustments 07:56:43 ==> Gzipping contents 07:56:43 8.0K /tmp/codecov.Dz5BEs.gz 07:56:43 ==> Uploading reports 07:56:43 url: https://codecov.io 07:56:43 query: branch=PR-407&commit=fd5d9daae729a5188b85bed1fe7eeb810f7f183d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=407&job=&cmd_args= 07:56:43 -> Pinging Codecov 07:56:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-407&commit=fd5d9daae729a5188b85bed1fe7eeb810f7f183d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=407&job=&cmd_args= 07:56:43 -> Uploading to 07:56:43 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/5E52B4B073DB2E39498172D8E973AA87/fd5d9daae729a5188b85bed1fe7eeb810f7f183d/dc5ca7c8-e065-4a4a-8952-69ef145f0d84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T075643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d850987a945d218356ab315b415e9188789fc18dbc0f3a45b30b144aced64e23 07:56:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:43 Dload Upload Total Spent Left Speed 07:56:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24452 --:--:-- --:--:-- --:--:-- 24452 07:56:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fd5d9daae729a5188b85bed1fe7eeb810f7f183d [Pipeline] } 07:56:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:56:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-407/archives ] 07:56:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-407/archives 07:56:45 total 16 07:56:45 drwxr-xr-x 3 root root 4096 May 16 07:48 . 07:56:45 drwxrwxr-x 10 jenkins jenkins 4096 May 16 07:48 .. 07:56:45 drwxr-xr-x 2 root root 4096 May 16 07:48 cost 07:56:45 -rw-r--r-- 1 root root 89 May 16 07:48 cost.csv 07:56:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-407/archives 07:56:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-407/archives 07:56:45 total 16 07:56:45 drwxr-xr-x 3 jenkins jenkins 4096 May 16 07:48 . 07:56:45 drwxrwxr-x 10 jenkins jenkins 4096 May 16 07:48 .. 07:56:45 drwxr-xr-x 2 jenkins jenkins 4096 May 16 07:48 cost 07:56:45 -rw-r--r-- 1 jenkins jenkins 89 May 16 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:56:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:46 ---> package-listing.sh 07:56:46 ++ facter osfamily 07:56:46 ++ tr '[:upper:]' '[:lower:]' 07:56:47 + OS_FAMILY=debian 07:56:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-407 07:56:47 + START_PACKAGES=/tmp/packages_start.txt 07:56:47 + END_PACKAGES=/tmp/packages_end.txt 07:56:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:47 + PACKAGES=/tmp/packages_start.txt 07:56:47 + '[' /w/workspace/foundry_device-virtual-go_PR-407 ']' 07:56:47 + PACKAGES=/tmp/packages_end.txt 07:56:47 + case "${OS_FAMILY}" in 07:56:47 + dpkg -l 07:56:47 + grep '^ii' 07:56:47 + '[' -f /tmp/packages_start.txt ']' 07:56:47 + '[' -f /tmp/packages_end.txt ']' 07:56:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:56:47 + '[' /w/workspace/foundry_device-virtual-go_PR-407 ']' 07:56:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-407/archives/ 07:56:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-407/archives/ [Pipeline] echo 07:56:47 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-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:56:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:48 prd-ubuntu20.04-docker-8c-8g-15511 does not seem to be running inside a container 07:56:48 $ 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-407/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-407 -v /w/workspace/foundry_device-virtual-go_PR-407:/w/workspace/foundry_device-virtual-go_PR-407:rw,z -v /w/workspace/foundry_device-virtual-go_PR-407@tmp:/w/workspace/foundry_device-virtual-go_PR-407@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:56:48 $ docker top ef8d58c3033b3d77a4b6ce0909cacdde10f486ffd298e421e9b00acbbedba9f8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:49 + touch /tmp/pre-build-complete [Pipeline] sh 07:56:49 + mkdir -p /var/log/sysstat [Pipeline] sh 07:56:49 + ls /var/log/sa-host 07:56:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:50 provisioning config files... 07:56:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-407@tmp/config4812660184847504305tmp [Pipeline] { [Pipeline] echo 07:56:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:56:50 ---> create-netrc.sh [Pipeline] } 07:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:56:50 ---> python-tools-install.sh [Pipeline] echo 07:56:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:56:51 ---> sudo-logs.sh 07:56:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:56:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:56:51 ---> job-cost.sh 07:56:51 lf-activate-venv: SKIPPING 07:56:51 DEBUG: total: 0.2199999988079071 07:56:51 INFO: Retrieving Stack Cost... 07:56:51 INFO: Retrieving Pricing Info for: v3-standard-8 07:56:52 INFO: Archiving Costs [Pipeline] echo 07:56:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:56:52 ---> logs-deploy.sh 07:56:52 lf-activate-venv: SKIPPING 07:56:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-407/1 07:56:52 INFO: archiving workspace using pattern(s): 07:56:53 Archives upload complete. 07:56:53 INFO: archiving logs to Nexus