Pull request #410 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e00e7f8d0316fd8322fe59074d727e4571f3013d+92ded1a488adcb2150b1bb4ba73aa6220ca027a9 (091c3c379c65a69992756274f694364dfd893836) 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-ssh7969688781870001554.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-ssh5547509519506150164.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-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13626434186339816789.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8858577946864612476.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-ssh11646738542909265702.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11537610890822075612.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 ‘prd-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16358’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16360 in /w/workspace/foundry_device-virtual-go_PR-410 [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-410 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 into PR head commit e00e7f8d0316fd8322fe59074d727e4571f3013d Merge succeeded, producing e00e7f8d0316fd8322fe59074d727e4571f3013d Checking out Revision e00e7f8d0316fd8322fe59074d727e4571f3013d (PR-410) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e00e7f8d0316fd8322fe59074d727e4571f3013d # 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 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e00e7f8d0316fd8322fe59074d727e4571f3013d # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:27:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:27:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:27:43 ========================================================= 21:27:43 EdgeX Global Pipelines Version Info 21:27:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:27:44 ------------------- 21:27:44 stable info: 21:27:44 ------------------- 21:27:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:27:44 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:27:44 Message: update stable to v1.0.249 21:27:44 ------------------- 21:27:44 experimental info: 21:27:44 ------------------- 21:27:44 Commited By: **** collab-it+edgex@linuxfoundation.org 21:27:44 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:27:44 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:27:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e00e7f8d0316fd8322fe59074d727e4571f3013d [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e00e7f8 [Pipeline] echo 21:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:46 provisioning config files... 21:27:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-410@tmp/config11086447166224299152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:47 ---> docker-login.sh 21:27:47 nexus3.edgexfoundry.org:10001 21:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:47 Configure a credential helper to remove this warning. See 21:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:47 21:27:47 Login Succeeded 21:27:47 nexus3.edgexfoundry.org:10002 21:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:47 Configure a credential helper to remove this warning. See 21:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:47 21:27:47 Login Succeeded 21:27:47 nexus3.edgexfoundry.org:10003 21:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:47 Configure a credential helper to remove this warning. See 21:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:47 21:27:47 Login Succeeded 21:27:47 nexus3.edgexfoundry.org:10004 21:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:47 Configure a credential helper to remove this warning. See 21:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:47 21:27:47 Login Succeeded 21:27:47 docker.io 21:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:47 Configure a credential helper to remove this warning. See 21:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:47 21:27:47 Login Succeeded 21:27:47 ---> docker-login.sh ends [Pipeline] } 21:27:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:27:48 + git rev-list -1 --merges e00e7f8d0316fd8322fe59074d727e4571f3013d~1..e00e7f8d0316fd8322fe59074d727e4571f3013d [Pipeline] echo 21:27:48 -----------> git rev-list -1 --merges e00e7f8d0316fd8322fe59074d727e4571f3013d~1..e00e7f8d0316fd8322fe59074d727e4571f3013d e00e7f8d0316fd8322fe59074d727e4571f3013d [false] [Pipeline] sh 21:27:48 + git log --format=format:%s -1 e00e7f8d0316fd8322fe59074d727e4571f3013d [Pipeline] echo 21:27:48 ========================================================= 21:27:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:27:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:49 + git log --format=format:%s -1 e00e7f8d0316fd8322fe59074d727e4571f3013d [Pipeline] echo 21:27:49 [semverPrep] GIT_COMMIT: e00e7f8d0316fd8322fe59074d727e4571f3013d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:27:49 [semverPrep] This is not a build commit. [Pipeline] sh 21:27:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:49 + grep -v github /etc/ssh/ssh_known_hosts 21:27:49 + [ -e /tmp/ssh_known_hosts ] 21:27:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:27:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:27:49 + sudo tee -a /etc/ssh/ssh_known_hosts 21:27:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:50 21:27:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:50 0.1.4: Pulling from edgex-devops/py-git-semver 21:27:50 b85a868b505f: Pulling fs layer 21:27:50 e2be974225ed: Pulling fs layer 21:27:50 339a4e72a1f5: Pulling fs layer 21:27:50 988bab9f4d93: Pulling fs layer 21:27:50 1469e6f7b9e6: Pulling fs layer 21:27:50 eaf3925da568: Pulling fs layer 21:27:50 bab4dde63d76: Pulling fs layer 21:27:50 bde34c3a00c8: Pulling fs layer 21:27:50 b352a97aabf1: Pulling fs layer 21:27:50 4872d77fe225: Pulling fs layer 21:27:50 5851b861e8e6: Pulling fs layer 21:27:50 988bab9f4d93: Waiting 21:27:50 1469e6f7b9e6: Waiting 21:27:50 b352a97aabf1: Waiting 21:27:50 eaf3925da568: Waiting 21:27:50 4872d77fe225: Waiting 21:27:50 5851b861e8e6: Waiting 21:27:50 bab4dde63d76: Waiting 21:27:50 bde34c3a00c8: Waiting 21:27:50 e2be974225ed: Download complete 21:27:50 988bab9f4d93: Download complete 21:27:50 1469e6f7b9e6: Verifying Checksum 21:27:50 1469e6f7b9e6: Download complete 21:27:50 eaf3925da568: Download complete 21:27:50 339a4e72a1f5: Verifying Checksum 21:27:50 339a4e72a1f5: Download complete 21:27:50 bde34c3a00c8: Download complete 21:27:50 b352a97aabf1: Verifying Checksum 21:27:50 b352a97aabf1: Download complete 21:27:50 4872d77fe225: Verifying Checksum 21:27:50 4872d77fe225: Download complete 21:27:50 5851b861e8e6: Verifying Checksum 21:27:50 5851b861e8e6: Download complete 21:27:50 b85a868b505f: Verifying Checksum 21:27:50 b85a868b505f: Download complete 21:27:51 bab4dde63d76: Verifying Checksum 21:27:51 bab4dde63d76: Download complete 21:27:52 b85a868b505f: Pull complete 21:27:52 e2be974225ed: Pull complete 21:27:53 339a4e72a1f5: Pull complete 21:27:53 988bab9f4d93: Pull complete 21:27:53 1469e6f7b9e6: Pull complete 21:27:53 eaf3925da568: Pull complete 21:27:55 bab4dde63d76: Pull complete 21:27:55 bde34c3a00c8: Pull complete 21:27:55 b352a97aabf1: Pull complete 21:27:55 4872d77fe225: Pull complete 21:27:55 5851b861e8e6: Pull complete 21:27:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:27:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:55 prd-ubuntu20.04-docker-8c-8g-16360 does not seem to be running inside a container 21:27:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-410 -v /w/workspace/foundry_device-virtual-go_PR-410:/w/workspace/foundry_device-virtual-go_PR-410:rw,z -v /w/workspace/foundry_device-virtual-go_PR-410@tmp:/w/workspace/foundry_device-virtual-go_PR-410@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 21:27:58 $ docker top 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 -eo pid,comm 21:27:58 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). 21:27:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:58 [ssh-agent] Looking for ssh-agent implementation... 21:27:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:59 $ docker exec 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 ssh-agent 21:27:59 SSH_AUTH_SOCK=/tmp/ssh-nqRg0lHGjHiu/agent.32 21:27:59 SSH_AGENT_PID=38 21:27:59 Running ssh-add (command line suppressed) 21:27:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-410@tmp/private_key_11034668355759267305.key (/w/workspace/foundry_device-virtual-go_PR-410@tmp/private_key_11034668355759267305.key) 21:27:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:59 + git tag --points-at HEAD [Pipeline] } 21:27:59 $ docker exec --env ******** --env ******** 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 ssh-agent -k 21:27:59 unset SSH_AUTH_SOCK; 21:27:59 unset SSH_AGENT_PID; 21:27:59 echo Agent pid 38 killed; 21:27:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:27:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:59 [ssh-agent] Looking for ssh-agent implementation... 21:27:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:59 $ docker exec 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 ssh-agent 21:27:59 SSH_AUTH_SOCK=/tmp/ssh-Ub1B60HiNlh8/agent.70 21:27:59 SSH_AGENT_PID=76 21:27:59 Running ssh-add (command line suppressed) 21:28:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-410@tmp/private_key_15542781276445271189.key (/w/workspace/foundry_device-virtual-go_PR-410@tmp/private_key_15542781276445271189.key) 21:28:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:00 + git semver init 21:28:00 2023-05-22 21:28:00,617 [run_init] DEBUG init version:0.0.0 force:False 21:28:00 2023-05-22 21:28:00,618 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-410/.semver 21:28:00 2023-05-22 21:28:00,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-410/.semver 21:28:00 2023-05-22 21:28:00,619 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-410/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-410, universal_newlines=False, shell=None, istream=None) 21:28:02 2023-05-22 21:28:01,768 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-410/.git/info/exclude 21:28:02 2023-05-22 21:28:01,769 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-410/.semver/PR-410 with force:False 21:28:02 2023-05-22 21:28:01,769 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-410/.semver/PR-410 21:28:02 2023-05-22 21:28:01,773 [execute] INFO git cat-file --batch-check 21:28:02 2023-05-22 21:28:01,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 21:28:02 2023-05-22 21:28:01,778 [execute] INFO git cat-file --batch 21:28:02 2023-05-22 21:28:01,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 21:28:02 2023-05-22 21:28:01,783 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-410/.semver/PR-410 21:28:02 0.0.0 [Pipeline] } 21:28:02 $ docker exec --env ******** --env ******** 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 ssh-agent -k 21:28:02 unset SSH_AUTH_SOCK; 21:28:02 unset SSH_AGENT_PID; 21:28:02 echo Agent pid 76 killed; 21:28:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:02 + git semver [Pipeline] } 21:28:02 $ docker stop --time=1 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 21:28:04 $ docker rm -f --volumes 57c3f9b2e952bd38ca09075c8096185c641b52f07c2f03d4419e0c5736a53c41 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:28:04 Stashed 1 file(s) [Pipeline] echo 21:28:04 [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 21:28:05 provisioning config files... 21:28:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-410@tmp/config17728489763288988616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:05 ---> docker-login.sh 21:28:05 nexus3.edgexfoundry.org:10001 21:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:05 Configure a credential helper to remove this warning. See 21:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:05 21:28:05 Login Succeeded 21:28:05 nexus3.edgexfoundry.org:10002 21:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:06 Configure a credential helper to remove this warning. See 21:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:06 21:28:06 Login Succeeded 21:28:06 nexus3.edgexfoundry.org:10003 21:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:06 Configure a credential helper to remove this warning. See 21:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:06 21:28:06 Login Succeeded 21:28:06 nexus3.edgexfoundry.org:10004 21:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:06 Configure a credential helper to remove this warning. See 21:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:06 21:28:06 Login Succeeded 21:28:06 docker.io 21:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:06 Configure a credential helper to remove this warning. See 21:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:06 21:28:06 Login Succeeded 21:28:06 ---> docker-login.sh ends [Pipeline] } 21:28:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:06 ========================================================= 21:28:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:28:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:07 + 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 . 21:28:07 Sending build context to Docker daemon 23.69MB 21:28:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:28:07 Step 2/12 : FROM ${BASE} AS builder 21:28:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:28:07 f56be85fc22e: Pulling fs layer 21:28:07 85791d961cd3: Pulling fs layer 21:28:07 d694b5ae8c79: Pulling fs layer 21:28:07 9f32a84ed3da: Pulling fs layer 21:28:07 4d19c01a9841: Pulling fs layer 21:28:07 9325e15d5711: Pulling fs layer 21:28:07 556b6ee489ea: Pulling fs layer 21:28:07 c5a4b2cf53e6: Pulling fs layer 21:28:07 9325e15d5711: Waiting 21:28:07 556b6ee489ea: Waiting 21:28:07 c5a4b2cf53e6: Waiting 21:28:07 4d19c01a9841: Waiting 21:28:07 9f32a84ed3da: Waiting 21:28:07 85791d961cd3: Download complete 21:28:07 9f32a84ed3da: Verifying Checksum 21:28:07 9f32a84ed3da: Download complete 21:28:07 4d19c01a9841: Verifying Checksum 21:28:07 4d19c01a9841: Download complete 21:28:07 f56be85fc22e: Verifying Checksum 21:28:07 f56be85fc22e: Download complete 21:28:07 9325e15d5711: Verifying Checksum 21:28:07 9325e15d5711: Download complete 21:28:07 f56be85fc22e: Pull complete 21:28:07 85791d961cd3: Pull complete 21:28:09 d694b5ae8c79: Verifying Checksum 21:28:09 d694b5ae8c79: Download complete 21:28:09 c5a4b2cf53e6: Verifying Checksum 21:28:09 c5a4b2cf53e6: Download complete 21:28:09 556b6ee489ea: Verifying Checksum 21:28:09 556b6ee489ea: Download complete 21:28:13 d694b5ae8c79: Pull complete 21:28:13 9f32a84ed3da: Pull complete 21:28:13 4d19c01a9841: Pull complete 21:28:13 9325e15d5711: Pull complete 21:28:15 556b6ee489ea: Pull complete 21:28:16 c5a4b2cf53e6: Pull complete 21:28:16 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:28:16 ---> c4be618373d6 21:28:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:28:20 Still waiting to schedule task 21:28:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16357’ 21:28:21 ---> Running in befcd0b9598f 21:28:21 Removing intermediate container befcd0b9598f 21:28:21 ---> f2698cf5de38 21:28:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:28:21 ---> Running in 60e94a24bc60 21:28:21 Removing intermediate container 60e94a24bc60 21:28:21 ---> 6aca6578653e 21:28:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:28:21 ---> Running in e0bcaaac6e36 21:28:21 Removing intermediate container e0bcaaac6e36 21:28:21 ---> 1fe0169e4541 21:28:21 Step 6/12 : WORKDIR /device-virtual-go 21:28:21 ---> Running in 02ee87bf92ee 21:28:21 Removing intermediate container 02ee87bf92ee 21:28:21 ---> 4406dd4c5c24 21:28:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:21 ---> Running in fdf4c721d444 21:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:28:21 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:28:21 (2/4) Installing libedit (20221030.3.1-r0) 21:28:21 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:28:21 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:28:21 Executing busybox-1.35.0-r29.trigger 21:28:21 OK: 269 MiB in 57 packages 21:28:22 Removing intermediate container fdf4c721d444 21:28:22 ---> 0953fbb0ef5d 21:28:22 Step 8/12 : COPY go.mod vendor* ./ 21:28:22 ---> 8ad8b4a83ff4 21:28:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:22 ---> Running in 6d31ed159fdc 21:28:49 Removing intermediate container 6d31ed159fdc 21:28:49 ---> b946a49703a7 21:28:49 Step 10/12 : COPY . . 21:28:49 ---> adaa88430abf 21:28:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:49 ---> Running in b3e30e9844af 21:28:49 Removing intermediate container b3e30e9844af 21:28:49 ---> 6b1e04358750 21:28:49 Step 12/12 : RUN $MAKE 21:28:49 ---> Running in f7b1eb4bd27a 21:28:49 noop 21:28:50 Removing intermediate container f7b1eb4bd27a 21:28:50 ---> c8e6e6853d64 21:28:50 Successfully built c8e6e6853d64 21:28:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:50 + docker inspect -f . ci-base-image-x86_64 21:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:50 prd-ubuntu20.04-docker-8c-8g-16360 does not seem to be running inside a container 21:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-410 -v /w/workspace/foundry_device-virtual-go_PR-410:/w/workspace/foundry_device-virtual-go_PR-410:rw,z -v /w/workspace/foundry_device-virtual-go_PR-410@tmp:/w/workspace/foundry_device-virtual-go_PR-410@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 21:28:51 $ docker top 0027e5147a0d8d4adbd565b903993b4ab7f819f52bdb14f85dc98b0a5b720a5a -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:51 + go version 21:28:51 go version go1.20.2 linux/amd64 [Pipeline] } 21:28:51 $ docker stop --time=1 0027e5147a0d8d4adbd565b903993b4ab7f819f52bdb14f85dc98b0a5b720a5a 21:28:52 $ docker rm -f --volumes 0027e5147a0d8d4adbd565b903993b4ab7f819f52bdb14f85dc98b0a5b720a5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:53 + docker inspect -f . ci-base-image-x86_64 21:28:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:53 prd-ubuntu20.04-docker-8c-8g-16360 does not seem to be running inside a container 21:28:53 $ 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-410 -v /w/workspace/foundry_device-virtual-go_PR-410:/w/workspace/foundry_device-virtual-go_PR-410:rw,z -v /w/workspace/foundry_device-virtual-go_PR-410@tmp:/w/workspace/foundry_device-virtual-go_PR-410@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 21:28:54 $ docker top 30504928560f8d1bdcddd70365c278e8ed2e07f7ac3a6d92990a410ffd485bde -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:54 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-410 [Pipeline] fileExists [Pipeline] sh 21:28:54 + make test 21:28:54 go test ./... -coverprofile=coverage.out 21:28:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:29:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:29:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 21:29:15 go vet ./... 21:29:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:29:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:29:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:29:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:29:18 $ docker stop --time=1 30504928560f8d1bdcddd70365c278e8ed2e07f7ac3a6d92990a410ffd485bde 21:29:21 $ docker rm -f --volumes 30504928560f8d1bdcddd70365c278e8ed2e07f7ac3a6d92990a410ffd485bde [Pipeline] // withDockerContainer [Pipeline] sh 21:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:29:22 + ls -al . 21:29:22 total 192 21:29:22 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:28 . 21:29:22 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:27 .. 21:29:22 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:28 .git 21:29:22 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:27 .github 21:29:22 -rw-rw-r-- 1 jenkins jenkins 337 May 22 21:27 .gitignore 21:29:22 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:27 .golangci.yml 21:29:22 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:28 .semver 21:29:22 -rw-rw-r-- 1 jenkins jenkins 8652 May 22 21:27 Attribution.txt 21:29:22 -rw-rw-r-- 1 jenkins jenkins 11367 May 22 21:27 CHANGELOG.md 21:29:22 -rw-rw-r-- 1 jenkins jenkins 1646 May 22 21:27 Dockerfile 21:29:22 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:27 GOVERNANCE.md 21:29:22 -rw-rw-r-- 1 jenkins jenkins 660 May 22 21:27 Jenkinsfile 21:29:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:27 LICENSE 21:29:22 -rw-rw-r-- 1 jenkins jenkins 1696 May 22 21:27 Makefile 21:29:22 -rw-rw-r-- 1 jenkins jenkins 623 May 22 21:27 OWNERS.md 21:29:22 -rw-rw-r-- 1 jenkins jenkins 4087 May 22 21:27 README.md 21:29:22 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:28 VERSION 21:29:22 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:27 bin 21:29:22 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:27 cmd 21:29:22 -rw-r--r-- 1 jenkins jenkins 43063 May 22 21:29 coverage.out 21:29:22 -rw-rw-r-- 1 jenkins jenkins 3209 May 22 21:27 go.mod 21:29:22 -rw-rw-r-- 1 jenkins jenkins 30994 May 22 21:27 go.sum 21:29:22 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:27 internal 21:29:22 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:27 snap 21:29:22 -rw-rw-r-- 1 jenkins jenkins 235 May 22 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:23 + 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=e00e7f8d0316fd8322fe59074d727e4571f3013d --label arch=amd64 --label version=0.0.0 . 21:29:23 Sending build context to Docker daemon 23.73MB 21:29:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:29:23 Step 2/25 : FROM ${BASE} AS builder 21:29:23 ---> c8e6e6853d64 21:29:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:29:23 ---> Running in a38293d9ed11 21:29:23 Removing intermediate container a38293d9ed11 21:29:23 ---> a707461c213a 21:29:23 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:29:23 ---> Running in c002828d468e 21:29:23 Removing intermediate container c002828d468e 21:29:23 ---> c519c2cb17be 21:29:23 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:29:23 ---> Running in 3ee021e62935 21:29:23 Removing intermediate container 3ee021e62935 21:29:23 ---> 5b0beff6e2ae 21:29:23 Step 6/25 : WORKDIR /device-virtual-go 21:29:23 ---> Running in f339776f526d 21:29:23 Removing intermediate container f339776f526d 21:29:23 ---> ccb2b1781dde 21:29:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:23 ---> Running in 7dda2ac2ee7d 21:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:24 OK: 269 MiB in 57 packages 21:29:25 Removing intermediate container 7dda2ac2ee7d 21:29:25 ---> bb93d7d252a2 21:29:25 Step 8/25 : COPY go.mod vendor* ./ 21:29:25 ---> 499dc3a244ab 21:29:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:25 ---> Running in f1a5373a0ca2 21:29:25 Removing intermediate container f1a5373a0ca2 21:29:25 ---> cd16a43c0b9a 21:29:25 Step 10/25 : COPY . . 21:29:26 ---> 7c9f2522b656 21:29:26 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:26 ---> Running in 56fe82e60720 21:29:26 Removing intermediate container 56fe82e60720 21:29:26 ---> e959d0c9afb5 21:29:26 Step 12/25 : RUN $MAKE 21:29:26 ---> Running in 16326acdfbc3 21:29:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:29:45 Removing intermediate container 16326acdfbc3 21:29:45 ---> 054ce80dadec 21:29:45 Step 13/25 : FROM alpine:3.17 21:29:45 3.17: Pulling from library/alpine 21:29:45 f56be85fc22e: Already exists 21:29:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:29:45 Status: Downloaded newer image for alpine:3.17 21:29:45 ---> 9ed4aefc74f6 21:29:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:29:45 ---> Running in f81b641b95e8 21:29:45 Removing intermediate container f81b641b95e8 21:29:45 ---> 13534987e69b 21:29:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:29:45 ---> Running in c0b798ed4347 21:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:46 (1/1) Installing dumb-init (1.2.5-r2) 21:29:46 Executing busybox-1.35.0-r29.trigger 21:29:46 OK: 7 MiB in 16 packages 21:29:46 Removing intermediate container c0b798ed4347 21:29:46 ---> 94d4d916415c 21:29:46 Step 16/25 : WORKDIR / 21:29:46 ---> Running in 83bd41ee955c 21:29:46 Removing intermediate container 83bd41ee955c 21:29:46 ---> af1ce3629721 21:29:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:29:47 ---> 75c0ccd695e1 21:29:47 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:29:47 ---> e1d295c4633e 21:29:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:29:48 ---> dd323624c601 21:29:48 Step 20/25 : EXPOSE 59900 21:29:48 ---> Running in 0f02f4189504 21:29:48 Removing intermediate container 0f02f4189504 21:29:48 ---> e4e56c04e236 21:29:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:29:48 ---> Running in 1a9ec78d6e5d 21:29:48 Removing intermediate container 1a9ec78d6e5d 21:29:48 ---> 456cd55c8ddf 21:29:48 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:29:48 ---> Running in 316343350c77 21:29:48 Removing intermediate container 316343350c77 21:29:48 ---> cd6eebf9a17b 21:29:48 Step 23/25 : LABEL arch=amd64 21:29:48 ---> Running in d00d876311b5 21:29:48 Removing intermediate container d00d876311b5 21:29:48 ---> 6aaa02986554 21:29:48 Step 24/25 : LABEL git_sha=e00e7f8d0316fd8322fe59074d727e4571f3013d 21:29:48 ---> Running in eeba2ab8d650 21:29:48 Removing intermediate container eeba2ab8d650 21:29:48 ---> f7e0dd032b8a 21:29:48 Step 25/25 : LABEL version=0.0.0 21:29:48 ---> Running in e818ccb6d48f 21:29:48 Removing intermediate container e818ccb6d48f 21:29:48 ---> bc5486f55dfc 21:29:48 [Warning] One or more build-args [ARCH] were not consumed 21:29:48 Successfully built bc5486f55dfc 21:29:48 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 21:29:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:49 21:29:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:49 latest: Pulling from edgex-lftools-log-publisher 21:29:49 5eb5b503b376: Pulling fs layer 21:29:49 5c69ac0246d0: Pulling fs layer 21:29:49 ec43610c2a17: Pulling fs layer 21:29:49 3a2ae6a8a46f: Pulling fs layer 21:29:49 33b1e0a273af: Pulling fs layer 21:29:49 5d3b04190fa2: Pulling fs layer 21:29:49 2f39f015ded8: Pulling fs layer 21:29:49 3a2ae6a8a46f: Waiting 21:29:49 33b1e0a273af: Waiting 21:29:49 5d3b04190fa2: Waiting 21:29:49 2f39f015ded8: Waiting 21:29:49 5c69ac0246d0: Download complete 21:29:49 3a2ae6a8a46f: Download complete 21:29:49 33b1e0a273af: Verifying Checksum 21:29:49 33b1e0a273af: Download complete 21:29:49 5d3b04190fa2: Verifying Checksum 21:29:49 5d3b04190fa2: Download complete 21:29:49 ec43610c2a17: Verifying Checksum 21:29:49 ec43610c2a17: Download complete 21:29:49 5eb5b503b376: Verifying Checksum 21:29:49 5eb5b503b376: Download complete 21:29:50 2f39f015ded8: Download complete 21:29:51 5eb5b503b376: Pull complete 21:29:51 5c69ac0246d0: Pull complete 21:29:51 ec43610c2a17: Pull complete 21:29:51 3a2ae6a8a46f: Pull complete 21:29:51 33b1e0a273af: Pull complete 21:29:51 5d3b04190fa2: Pull complete 21:29:56 2f39f015ded8: Pull complete 21:29:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:56 prd-ubuntu20.04-docker-8c-8g-16360 does not seem to be running inside a container 21:29:56 $ 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-410 -v /w/workspace/foundry_device-virtual-go_PR-410:/w/workspace/foundry_device-virtual-go_PR-410:rw,z -v /w/workspace/foundry_device-virtual-go_PR-410@tmp:/w/workspace/foundry_device-virtual-go_PR-410@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 21:29:59 $ docker top f9b52966133bea8a64defcfc0b78b1bb7de970dd1f423b2a609b28923d3110da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:00 ---> job-cost.sh 21:30:00 lf-activate-venv: SKIPPING 21:30:00 INFO: No Stack... 21:30:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:01 INFO: Archiving Costs [Pipeline] sh 21:30:01 + cat /w/workspace/foundry_device-virtual-go_PR-410/archives/cost.csv 21:30:01 + cut -d, -f6 [Pipeline] lock 21:30:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] 21:30:01 Resource [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] did not exist. Created. 21:30:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:01 + echo total: 0.2199999988079071 [Pipeline] stash 21:30:01 Stashed 1 file(s) [Pipeline] } 21:30:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:02 $ docker stop --time=1 f9b52966133bea8a64defcfc0b78b1bb7de970dd1f423b2a609b28923d3110da 21:30:03 $ docker rm -f --volumes f9b52966133bea8a64defcfc0b78b1bb7de970dd1f423b2a609b28923d3110da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16363 in /w/workspace/foundry_device-virtual-go_PR-410 [Pipeline] { [Pipeline] ws 21:31:13 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 21:31:13 The recommended git tool is: git 21:31:20 using credential edgex-jenkins-ssh 21:31:20 Cloning the remote Git repository 21:31:20 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:31:20 > git init /w/workspace/device-virtual-go/1 # timeout=10 21:31:20 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:31:20 > git --version # timeout=10 21:31:20 > git --version # 'git version 2.25.1' 21:31:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:31:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:24 Merging remotes/origin/main commit 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 into PR head commit e00e7f8d0316fd8322fe59074d727e4571f3013d 21:31:25 Merge succeeded, producing e00e7f8d0316fd8322fe59074d727e4571f3013d 21:31:25 Checking out Revision e00e7f8d0316fd8322fe59074d727e4571f3013d (PR-410) 21:31:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:31:25 > git config core.sparsecheckout # timeout=10 21:31:25 > git checkout -f e00e7f8d0316fd8322fe59074d727e4571f3013d # timeout=10 21:31:25 > git remote # timeout=10 21:31:25 > git config --get remote.origin.url # timeout=10 21:31:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:25 > git merge 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 # timeout=10 21:31:25 > git rev-parse HEAD^{commit} # timeout=10 21:31:25 > git config core.sparsecheckout # timeout=10 21:31:25 > git checkout -f e00e7f8d0316fd8322fe59074d727e4571f3013d # timeout=10 21:31:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:31:26 > git --version # timeout=10 21:31:26 > git --version # 'git version 2.25.1' 21:31:26 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:31:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:27 Dload Upload Total Spent Left Speed 21:31:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 21:31:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:31:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:31:28 + sudo tee /etc/docker/daemon.new 21:31:28 { 21:31:28 "registry-mirrors": [ 21:31:28 "https://nexus3.edgexfoundry.org:10001" 21:31:28 ], 21:31:28 "bip": "10.250.0.254/24", 21:31:28 "hosts": [ 21:31:28 "tcp://0.0.0.0:5555", 21:31:28 "unix:///var/run/docker.sock" 21:31:28 ], 21:31:28 "mtu": 1458, 21:31:28 "selinux-enabled": true, 21:31:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:31:28 } [Pipeline] sh 21:31:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:31:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:47 provisioning config files... 21:31:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12244349308008109335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:47 ---> docker-login.sh 21:31:47 nexus3.edgexfoundry.org:10001 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 nexus3.edgexfoundry.org:10002 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 nexus3.edgexfoundry.org:10003 21:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:49 Configure a credential helper to remove this warning. See 21:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:49 21:31:49 Login Succeeded 21:31:49 nexus3.edgexfoundry.org:10004 21:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:49 Configure a credential helper to remove this warning. See 21:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:49 21:31:49 Login Succeeded 21:31:49 docker.io 21:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:50 Configure a credential helper to remove this warning. See 21:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:50 21:31:50 Login Succeeded 21:31:50 ---> docker-login.sh ends [Pipeline] } 21:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:50 ========================================================= 21:31:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:31:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:51 + 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 . 21:31:51 Sending build context to Docker daemon 12.01MB 21:31:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:31:51 Step 2/12 : FROM ${BASE} AS builder 21:31:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:51 c41833b44d91: Pulling fs layer 21:31:51 ed15518f5707: Pulling fs layer 21:31:51 feae8fd75edb: Pulling fs layer 21:31:51 242c74f7c9fa: Pulling fs layer 21:31:51 3cdef696dda3: Pulling fs layer 21:31:51 2ced38df9373: Pulling fs layer 21:31:51 58f1dce35555: Pulling fs layer 21:31:51 242c74f7c9fa: Waiting 21:31:51 3cdef696dda3: Waiting 21:31:51 58f1dce35555: Waiting 21:31:51 2ced38df9373: Waiting 21:31:51 ed15518f5707: Verifying Checksum 21:31:51 ed15518f5707: Download complete 21:31:51 242c74f7c9fa: Verifying Checksum 21:31:51 242c74f7c9fa: Download complete 21:31:51 3cdef696dda3: Download complete 21:31:51 c41833b44d91: Verifying Checksum 21:31:51 c41833b44d91: Download complete 21:31:53 c41833b44d91: Pull complete 21:31:53 58f1dce35555: Verifying Checksum 21:31:53 58f1dce35555: Download complete 21:31:53 ed15518f5707: Pull complete 21:31:54 feae8fd75edb: Verifying Checksum 21:31:54 feae8fd75edb: Download complete 21:31:54 2ced38df9373: Verifying Checksum 21:31:54 2ced38df9373: Download complete 21:32:07 feae8fd75edb: Pull complete 21:32:07 242c74f7c9fa: Pull complete 21:32:07 3cdef696dda3: Pull complete 21:32:13 2ced38df9373: Pull complete 21:32:20 58f1dce35555: Pull complete 21:32:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:32:20 ---> fadd8f120f05 21:32:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:32:21 ---> Running in 1ca36516b081 21:32:22 Removing intermediate container 1ca36516b081 21:32:22 ---> fa037091b1ff 21:32:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:32:22 ---> Running in 6504d3053a2d 21:32:22 Removing intermediate container 6504d3053a2d 21:32:22 ---> 7dff0ba80356 21:32:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:32:22 ---> Running in 6a09f5a322e3 21:32:23 Removing intermediate container 6a09f5a322e3 21:32:23 ---> 15216af6fb50 21:32:23 Step 6/12 : WORKDIR /device-virtual-go 21:32:23 ---> Running in 96bbf12e0642 21:32:23 Removing intermediate container 96bbf12e0642 21:32:23 ---> 2ed67ea952c7 21:32:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:23 ---> Running in 0ba2d32678d7 21:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:32:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:32:26 (2/4) Installing libedit (20221030.3.1-r0) 21:32:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:32:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:32:26 Executing busybox-1.35.0-r29.trigger 21:32:26 OK: 268 MiB in 57 packages 21:32:27 Removing intermediate container 0ba2d32678d7 21:32:27 ---> 5d1d2e93e1b7 21:32:27 Step 8/12 : COPY go.mod vendor* ./ 21:32:28 ---> 20e1068f24f8 21:32:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:28 ---> Running in 34e8a43c608a 21:33:36 Removing intermediate container 34e8a43c608a 21:33:36 ---> 7998e22d5ede 21:33:36 Step 10/12 : COPY . . 21:33:36 ---> 899fc5572772 21:33:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:36 ---> Running in 5a893dc30d3f 21:33:36 Removing intermediate container 5a893dc30d3f 21:33:36 ---> 42d872c4bae5 21:33:36 Step 12/12 : RUN $MAKE 21:33:36 ---> Running in 06c64534233c 21:33:36 noop 21:33:36 Removing intermediate container 06c64534233c 21:33:36 ---> 1d78b5e44a51 21:33:36 Successfully built 1d78b5e44a51 21:33:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:37 + docker inspect -f . ci-base-image-arm64 21:33:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 21:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:33:38 $ docker top 2138813f05cccd5bea1a94a412f80388ec0d99a75248c9a362fecac8209ec4c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:39 + go version 21:33:39 go version go1.20.2 linux/arm64 [Pipeline] } 21:33:39 $ docker stop --time=1 2138813f05cccd5bea1a94a412f80388ec0d99a75248c9a362fecac8209ec4c7 21:33:41 $ docker rm -f --volumes 2138813f05cccd5bea1a94a412f80388ec0d99a75248c9a362fecac8209ec4c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:42 + docker inspect -f . ci-base-image-arm64 21:33:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:42 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 21:33:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:33:44 $ docker top e0325653191b1b555f6d0aaeebe5b281c36567cabf396c30421edf6396df1678 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:45 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 21:33:45 + make test 21:33:45 go test ./... -coverprofile=coverage.out 21:34:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:37:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:37:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.116s coverage: 58.4% of statements 21:37:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:37:01 go vet ./... 21:37:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:28 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:28 $ docker stop --time=1 e0325653191b1b555f6d0aaeebe5b281c36567cabf396c30421edf6396df1678 21:37:32 $ docker rm -f --volumes e0325653191b1b555f6d0aaeebe5b281c36567cabf396c30421edf6396df1678 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:34 Warning: overwriting stash ‘coverage-report’ 21:37:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:35 + ls -al . 21:37:35 total 188 21:37:35 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:33 . 21:37:35 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:31 .. 21:37:35 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:31 .git 21:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:31 .github 21:37:35 -rw-rw-r-- 1 jenkins jenkins 337 May 22 21:31 .gitignore 21:37:35 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:31 .golangci.yml 21:37:35 -rw-rw-r-- 1 jenkins jenkins 8652 May 22 21:31 Attribution.txt 21:37:35 -rw-rw-r-- 1 jenkins jenkins 11367 May 22 21:31 CHANGELOG.md 21:37:35 -rw-rw-r-- 1 jenkins jenkins 1646 May 22 21:31 Dockerfile 21:37:35 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:31 GOVERNANCE.md 21:37:35 -rw-rw-r-- 1 jenkins jenkins 660 May 22 21:31 Jenkinsfile 21:37:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:31 LICENSE 21:37:35 -rw-rw-r-- 1 jenkins jenkins 1696 May 22 21:31 Makefile 21:37:35 -rw-rw-r-- 1 jenkins jenkins 623 May 22 21:31 OWNERS.md 21:37:35 -rw-rw-r-- 1 jenkins jenkins 4087 May 22 21:31 README.md 21:37:35 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:28 VERSION 21:37:35 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:31 bin 21:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:31 cmd 21:37:35 -rw-r--r-- 1 jenkins jenkins 43063 May 22 21:36 coverage.out 21:37:35 -rw-rw-r-- 1 jenkins jenkins 3209 May 22 21:31 go.mod 21:37:35 -rw-rw-r-- 1 jenkins jenkins 30994 May 22 21:31 go.sum 21:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:31 internal 21:37:35 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:31 snap 21:37:35 -rw-rw-r-- 1 jenkins jenkins 235 May 22 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:36 + 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=e00e7f8d0316fd8322fe59074d727e4571f3013d --label arch=arm64 --label version=0.0.0 . 21:37:36 Sending build context to Docker daemon 12.05MB 21:37:36 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:37:36 Step 2/25 : FROM ${BASE} AS builder 21:37:36 ---> 1d78b5e44a51 21:37:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:36 ---> Running in 8dc2f85d85fd 21:37:37 Removing intermediate container 8dc2f85d85fd 21:37:37 ---> e457c3a62b1c 21:37:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:37:37 ---> Running in 40f7efe68f4e 21:37:37 Removing intermediate container 40f7efe68f4e 21:37:37 ---> 864508b2b1c9 21:37:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:37:38 ---> Running in 544a48d98051 21:37:38 Removing intermediate container 544a48d98051 21:37:38 ---> 4227167ec0e4 21:37:38 Step 6/25 : WORKDIR /device-virtual-go 21:37:38 ---> Running in 4c017dc84942 21:37:38 Removing intermediate container 4c017dc84942 21:37:38 ---> 1e74cd3fbfb1 21:37:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:38 ---> Running in d5a6e02e1e69 21:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:37:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:37:42 OK: 268 MiB in 57 packages 21:37:43 Removing intermediate container d5a6e02e1e69 21:37:43 ---> e7f67740263b 21:37:43 Step 8/25 : COPY go.mod vendor* ./ 21:37:45 ---> 776cec87101a 21:37:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:45 ---> Running in 963c2f8af033 21:37:48 Removing intermediate container 963c2f8af033 21:37:48 ---> a28b91532898 21:37:48 Step 10/25 : COPY . . 21:37:50 ---> 34fe84abfcab 21:37:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:51 ---> Running in 8906c49a34b1 21:37:51 Removing intermediate container 8906c49a34b1 21:37:51 ---> bf817abcf1ef 21:37:51 Step 12/25 : RUN $MAKE 21:37:51 ---> Running in 2ace65d0467b 21:37:52 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 21:40:46 Removing intermediate container 2ace65d0467b 21:40:46 ---> ff5c1e0217f6 21:40:46 Step 13/25 : FROM alpine:3.17 21:40:46 3.17: Pulling from library/alpine 21:40:46 c41833b44d91: Already exists 21:40:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:40:46 Status: Downloaded newer image for alpine:3.17 21:40:46 ---> 51e60588ff2c 21:40:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:40:46 ---> Running in bf832e1221d7 21:40:46 Removing intermediate container bf832e1221d7 21:40:46 ---> e55dbba12919 21:40:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:40:46 ---> Running in f458f3e7fe14 21:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:46 (1/1) Installing dumb-init (1.2.5-r2) 21:40:46 Executing busybox-1.35.0-r29.trigger 21:40:46 OK: 8 MiB in 16 packages 21:40:46 Removing intermediate container f458f3e7fe14 21:40:46 ---> 94b64c42d20c 21:40:46 Step 16/25 : WORKDIR / 21:40:46 ---> Running in 3c85a88b2795 21:40:46 Removing intermediate container 3c85a88b2795 21:40:46 ---> 31308fa60aaf 21:40:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:40:46 ---> be95fcfcc5d4 21:40:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:40:46 ---> b1a9770f5a07 21:40:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:40:48 ---> 47e9178d632b 21:40:48 Step 20/25 : EXPOSE 59900 21:40:48 ---> Running in 1ac32291e312 21:40:48 Removing intermediate container 1ac32291e312 21:40:48 ---> 23474be2ddec 21:40:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:40:48 ---> Running in 85d7f9b0cf47 21:40:49 Removing intermediate container 85d7f9b0cf47 21:40:49 ---> acd69cf13f73 21:40:49 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:40:49 ---> Running in d232df117fc2 21:40:49 Removing intermediate container d232df117fc2 21:40:49 ---> 5fc63968aa5c 21:40:49 Step 23/25 : LABEL arch=arm64 21:40:49 ---> Running in 0722b132fec3 21:40:49 Removing intermediate container 0722b132fec3 21:40:49 ---> 2bcf939783c6 21:40:49 Step 24/25 : LABEL git_sha=e00e7f8d0316fd8322fe59074d727e4571f3013d 21:40:50 ---> Running in 1b88b4353cc0 21:40:50 Removing intermediate container 1b88b4353cc0 21:40:50 ---> b77e82866524 21:40:50 Step 25/25 : LABEL version=0.0.0 21:40:50 ---> Running in d94d7c6c02aa 21:40:50 Removing intermediate container d94d7c6c02aa 21:40:50 ---> bf0cc3ad4d4a 21:40:50 [Warning] One or more build-args [ARCH] were not consumed 21:40:50 Successfully built bf0cc3ad4d4a 21:40:50 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 21:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:51 21:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:52 arm64: Pulling from edgex-lftools-log-publisher 21:40:52 8998bd30e6a1: Pulling fs layer 21:40:52 04944245beec: Pulling fs layer 21:40:52 699f458cf7ca: Pulling fs layer 21:40:52 765212b225bb: Pulling fs layer 21:40:52 f23df028b6ca: Pulling fs layer 21:40:52 d65c8cfc05b1: Pulling fs layer 21:40:52 2437ff75d9bd: Pulling fs layer 21:40:52 f23df028b6ca: Waiting 21:40:52 d65c8cfc05b1: Waiting 21:40:52 2437ff75d9bd: Waiting 21:40:52 765212b225bb: Waiting 21:40:52 04944245beec: Verifying Checksum 21:40:52 04944245beec: Download complete 21:40:52 765212b225bb: Verifying Checksum 21:40:52 765212b225bb: Download complete 21:40:52 f23df028b6ca: Verifying Checksum 21:40:52 f23df028b6ca: Download complete 21:40:52 d65c8cfc05b1: Download complete 21:40:52 699f458cf7ca: Download complete 21:40:53 8998bd30e6a1: Verifying Checksum 21:40:53 8998bd30e6a1: Download complete 21:40:55 2437ff75d9bd: Verifying Checksum 21:40:55 2437ff75d9bd: Download complete 21:40:57 8998bd30e6a1: Pull complete 21:40:57 04944245beec: Pull complete 21:40:59 699f458cf7ca: Pull complete 21:40:59 765212b225bb: Pull complete 21:41:00 f23df028b6ca: Pull complete 21:41:00 d65c8cfc05b1: Pull complete 21:41:15 2437ff75d9bd: Pull complete 21:41:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:16 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 21:41:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:41:19 $ docker top 8c840d76931e454b91b431143772a8ee3ac524c166aa727071ae956e5fe3c48b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:20 ---> job-cost.sh 21:41:20 lf-activate-venv: SKIPPING 21:41:20 INFO: No Stack... 21:41:21 INFO: Retrieving Pricing Info for: v3-standard-4 21:41:21 INFO: Archiving Costs [Pipeline] sh 21:41:22 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 21:41:22 + cut -d, -f6 [Pipeline] lock 21:41:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] 21:41:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] did not exist. Created. 21:41:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:41:23 /w/workspace/device-virtual-go/1@tmp/durable-ab8c46fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:41:23 + echo total: 0.10999999940395355 [Pipeline] stash 21:41:23 Warning: overwriting stash ‘stack-cost’ 21:41:24 Stashed 1 file(s) [Pipeline] } 21:41:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:41:24 $ docker stop --time=1 8c840d76931e454b91b431143772a8ee3ac524c166aa727071ae956e5fe3c48b 21:41:25 $ docker rm -f --volumes 8c840d76931e454b91b431143772a8ee3ac524c166aa727071ae956e5fe3c48b [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 21:41:26 provisioning config files... 21:41:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-410@tmp/config16915795834903308635tmp [Pipeline] { [Pipeline] sh 21:41:27 + set +x 21:41:27 + curl+ -s https://codecov.io/bash 21:41:27 bash -s -- 21:41:27 21:41:27 _____ _ 21:41:27 / ____| | | 21:41:27 | | ___ __| | ___ ___ _____ __ 21:41:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:41:27 | |___| (_) | (_| | __/ (_| (_) \ V / 21:41:27 \_____\___/ \__,_|\___|\___\___/ \_/ 21:41:27 Bash-1.0.6 21:41:27 21:41:27 21:41:27 ==> git version 2.25.1 found 21:41:27 ==> 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 21:41:27 Release-Date: 2020-01-08 21:41:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:41:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:41:27 ==> Jenkins CI detected. 21:41:27 current dir:  /w/workspace/foundry_device-virtual-go_PR-410 21:41:27 project root: . 21:41:27 --> token set from env 21:41:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:41:27 ==> Running gcov in . (disable via -X gcov) 21:41:27 ==> Python coveragepy not found 21:41:27 ==> Searching for coverage reports in: 21:41:27 + . 21:41:27 -> Found 1 reports 21:41:27 ==> Detecting git/mercurial file structure 21:41:27 ==> Reading reports 21:41:27 + ./coverage.out bytes=43063 21:41:27 ==> Appending adjustments 21:41:27 https://docs.codecov.io/docs/fixing-reports 21:41:27 + Found adjustments 21:41:27 ==> Gzipping contents 21:41:27 8.0K /tmp/codecov.rYw9ua.gz 21:41:27 ==> Uploading reports 21:41:27 url: https://codecov.io 21:41:27 query: branch=PR-410&commit=e00e7f8d0316fd8322fe59074d727e4571f3013d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=410&job=&cmd_args= 21:41:27 -> Pinging Codecov 21:41:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-410&commit=e00e7f8d0316fd8322fe59074d727e4571f3013d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=410&job=&cmd_args= 21:41:27 -> Uploading to 21:41:27 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/5E52B4B073DB2E39498172D8E973AA87/e00e7f8d0316fd8322fe59074d727e4571f3013d/5ca64cab-ed21-4fb6-84e8-91c07690cff6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2ed61d9a1ddf4b82fba87f469b8e775c78ca496529b661e29d87eff17aa6a0e 21:41:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:27 Dload Upload Total Spent Left Speed 21:41:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27721 --:--:-- --:--:-- --:--:-- 27721 21:41:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e00e7f8d0316fd8322fe59074d727e4571f3013d [Pipeline] } 21:41:27 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 21:41:29 + [ -d /w/workspace/foundry_device-virtual-go_PR-410/archives ] 21:41:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-410/archives 21:41:29 total 16 21:41:29 drwxr-xr-x 3 root root 4096 May 22 21:30 . 21:41:29 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:30 .. 21:41:29 drwxr-xr-x 2 root root 4096 May 22 21:30 cost 21:41:29 -rw-r--r-- 1 root root 89 May 22 21:30 cost.csv 21:41:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-410/archives 21:41:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-410/archives 21:41:29 total 16 21:41:29 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:30 . 21:41:29 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:30 .. 21:41:29 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:30 cost 21:41:29 -rw-r--r-- 1 jenkins jenkins 89 May 22 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:41:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:41:30 ---> package-listing.sh 21:41:30 ++ facter osfamily 21:41:30 ++ tr '[:upper:]' '[:lower:]' 21:41:31 + OS_FAMILY=debian 21:41:31 + workspace=/w/workspace/foundry_device-virtual-go_PR-410 21:41:31 + START_PACKAGES=/tmp/packages_start.txt 21:41:31 + END_PACKAGES=/tmp/packages_end.txt 21:41:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:41:31 + PACKAGES=/tmp/packages_start.txt 21:41:31 + '[' /w/workspace/foundry_device-virtual-go_PR-410 ']' 21:41:31 + PACKAGES=/tmp/packages_end.txt 21:41:31 + case "${OS_FAMILY}" in 21:41:31 + dpkg -l 21:41:31 + grep '^ii' 21:41:31 + '[' -f /tmp/packages_start.txt ']' 21:41:31 + '[' -f /tmp/packages_end.txt ']' 21:41:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:41:31 + '[' /w/workspace/foundry_device-virtual-go_PR-410 ']' 21:41:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-410/archives/ 21:41:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-410/archives/ [Pipeline] echo 21:41:31 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:41:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:32 prd-ubuntu20.04-docker-8c-8g-16360 does not seem to be running inside a container 21:41:32 $ 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-410/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-410 -v /w/workspace/foundry_device-virtual-go_PR-410:/w/workspace/foundry_device-virtual-go_PR-410:rw,z -v /w/workspace/foundry_device-virtual-go_PR-410@tmp:/w/workspace/foundry_device-virtual-go_PR-410@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 21:41:32 $ docker top 0b79aa8dda917690cc2a9ad2a38aa56b0d3ee041cfd987cc6eabd0f58ee48b01 -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:32 + touch /tmp/pre-build-complete [Pipeline] sh 21:41:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:41:33 + ls /var/log/sa-host 21:41:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:33 provisioning config files... 21:41:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-410@tmp/config10036384675451093444tmp [Pipeline] { [Pipeline] echo 21:41:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:41:33 ---> create-netrc.sh [Pipeline] } 21:41:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:41:34 ---> python-tools-install.sh [Pipeline] echo 21:41:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:41:34 ---> sudo-logs.sh 21:41:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:41:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:41:35 ---> job-cost.sh 21:41:35 lf-activate-venv: SKIPPING 21:41:35 DEBUG: total: 0.2199999988079071 21:41:35 INFO: Retrieving Stack Cost... 21:41:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:41:35 INFO: Archiving Costs [Pipeline] echo 21:41:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:41:36 ---> logs-deploy.sh 21:41:36 lf-activate-venv: SKIPPING 21:41:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-410/1 21:41:36 INFO: archiving workspace using pattern(s): 21:41:37 Archives upload complete. 21:41:37 INFO: archiving logs to Nexus