Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from deec1eaa4d3cef402d0d658292a0f698ca130a04+1705bfbb6261e298477ee3ade5426f3d03c5e783 (f78510a2451bb90f906a1ce80aa8acd703a6485e) 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-ssh16190576249003606968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15457322654194597483.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6660627309279629037.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16196270554683861024.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17500290690318584541.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-375’ Running on prd-ubuntu20.04-docker-8c-8g-377 in /w/workspace/foundry_device-virtual-go_PR-354 [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-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1705bfbb6261e298477ee3ade5426f3d03c5e783 into PR head commit deec1eaa4d3cef402d0d658292a0f698ca130a04 Merge succeeded, producing afe9e90b392c42d95eb41295e5b8026d130a71ee Checking out Revision afe9e90b392c42d95eb41295e5b8026d130a71ee (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f deec1eaa4d3cef402d0d658292a0f698ca130a04 # 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 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afe9e90b392c42d95eb41295e5b8026d130a71ee # timeout=10 Commit message: "Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:51 ========================================================= 08:14:51 EdgeX Global Pipelines Version Info 08:14:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:14:52 ------------------- 08:14:52 stable info: 08:14:52 ------------------- 08:14:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:14:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:14:52 Message: update stable to v1.0.245 > git rev-list --no-walk ca47fed3ee780d34a8dcdedf8eceba5a14ede06a # timeout=10 08:14:52 ------------------- 08:14:52 experimental info: 08:14:52 ------------------- 08:14:52 Commited By: **** collab-it+edgex@linuxfoundation.org 08:14:52 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 08:14:52 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe9e90b392c42d95eb41295e5b8026d130a71ee [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe9e90 [Pipeline] echo 08:14:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:53 provisioning config files... 08:14:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config16565768816175628373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:53 ---> docker-login.sh 08:14:53 nexus3.edgexfoundry.org:10001 08:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:54 Configure a credential helper to remove this warning. See 08:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:54 08:14:54 Login Succeeded 08:14:54 nexus3.edgexfoundry.org:10002 08:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:54 Configure a credential helper to remove this warning. See 08:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:54 08:14:54 Login Succeeded 08:14:54 nexus3.edgexfoundry.org:10003 08:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:54 Configure a credential helper to remove this warning. See 08:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:54 08:14:54 Login Succeeded 08:14:54 nexus3.edgexfoundry.org:10004 08:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:54 Configure a credential helper to remove this warning. See 08:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:54 08:14:54 Login Succeeded 08:14:54 docker.io 08:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:54 Configure a credential helper to remove this warning. See 08:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:54 08:14:54 Login Succeeded 08:14:54 ---> docker-login.sh ends [Pipeline] } 08:14:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:14:55 + git rev-list -1 --merges afe9e90b392c42d95eb41295e5b8026d130a71ee~1..afe9e90b392c42d95eb41295e5b8026d130a71ee [Pipeline] echo 08:14:55 -----------> git rev-list -1 --merges afe9e90b392c42d95eb41295e5b8026d130a71ee~1..afe9e90b392c42d95eb41295e5b8026d130a71ee afe9e90b392c42d95eb41295e5b8026d130a71ee 08:14:55 afe9e90b392c42d95eb41295e5b8026d130a71ee [false] [Pipeline] sh 08:14:55 + git log --format=format:%s -1 afe9e90b392c42d95eb41295e5b8026d130a71ee [Pipeline] echo 08:14:55 ========================================================= 08:14:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:14:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:55 + git log --format=format:%s -1 afe9e90b392c42d95eb41295e5b8026d130a71ee [Pipeline] echo 08:14:55 [semverPrep] GIT_COMMIT: afe9e90b392c42d95eb41295e5b8026d130a71ee, Commit Message: Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD [Pipeline] echo 08:14:55 [semverPrep] This is not a build commit. [Pipeline] sh 08:14:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:56 + grep -v github /etc/ssh/ssh_known_hosts 08:14:56 + [ -e /tmp/ssh_known_hosts ] 08:14:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:14:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:14:56 + sudo tee -a /etc/ssh/ssh_known_hosts 08:14:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:56 08:14:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:56 0.1.4: Pulling from edgex-devops/py-git-semver 08:14:56 b85a868b505f: Pulling fs layer 08:14:56 e2be974225ed: Pulling fs layer 08:14:56 339a4e72a1f5: Pulling fs layer 08:14:56 988bab9f4d93: Pulling fs layer 08:14:56 1469e6f7b9e6: Pulling fs layer 08:14:56 eaf3925da568: Pulling fs layer 08:14:56 bab4dde63d76: Pulling fs layer 08:14:56 bde34c3a00c8: Pulling fs layer 08:14:56 b352a97aabf1: Pulling fs layer 08:14:56 4872d77fe225: Pulling fs layer 08:14:56 5851b861e8e6: Pulling fs layer 08:14:56 eaf3925da568: Waiting 08:14:56 bab4dde63d76: Waiting 08:14:56 bde34c3a00c8: Waiting 08:14:56 b352a97aabf1: Waiting 08:14:56 4872d77fe225: Waiting 08:14:56 988bab9f4d93: Waiting 08:14:56 5851b861e8e6: Waiting 08:14:56 1469e6f7b9e6: Waiting 08:14:56 e2be974225ed: Download complete 08:14:56 988bab9f4d93: Verifying Checksum 08:14:56 988bab9f4d93: Download complete 08:14:57 1469e6f7b9e6: Verifying Checksum 08:14:57 1469e6f7b9e6: Download complete 08:14:57 eaf3925da568: Verifying Checksum 08:14:57 eaf3925da568: Download complete 08:14:57 339a4e72a1f5: Verifying Checksum 08:14:57 339a4e72a1f5: Download complete 08:14:57 bde34c3a00c8: Verifying Checksum 08:14:57 bde34c3a00c8: Download complete 08:14:57 b352a97aabf1: Download complete 08:14:57 4872d77fe225: Verifying Checksum 08:14:57 4872d77fe225: Download complete 08:14:57 5851b861e8e6: Download complete 08:14:57 b85a868b505f: Download complete 08:14:57 bab4dde63d76: Verifying Checksum 08:14:57 bab4dde63d76: Download complete 08:14:58 b85a868b505f: Pull complete 08:14:58 e2be974225ed: Pull complete 08:14:59 339a4e72a1f5: Pull complete 08:14:59 988bab9f4d93: Pull complete 08:14:59 1469e6f7b9e6: Pull complete 08:14:59 eaf3925da568: Pull complete 08:15:01 bab4dde63d76: Pull complete 08:15:01 bde34c3a00c8: Pull complete 08:15:01 b352a97aabf1: Pull complete 08:15:01 4872d77fe225: Pull complete 08:15:01 5851b861e8e6: Pull complete 08:15:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:01 prd-ubuntu20.04-docker-8c-8g-377 does not seem to be running inside a container 08:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:15:03 $ docker top 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b -eo pid,comm 08:15:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:15:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:03 [ssh-agent] Looking for ssh-agent implementation... 08:15:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:03 $ docker exec 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b ssh-agent 08:15:03 SSH_AUTH_SOCK=/tmp/ssh-rh8jCt61nOHY/agent.33 08:15:03 SSH_AGENT_PID=39 08:15:03 Running ssh-add (command line suppressed) 08:15:03 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_560461068141066753.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_560461068141066753.key) 08:15:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:04 + git tag --points-at HEAD [Pipeline] } 08:15:04 $ docker exec --env ******** --env ******** 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b ssh-agent -k 08:15:04 unset SSH_AUTH_SOCK; 08:15:04 unset SSH_AGENT_PID; 08:15:04 echo Agent pid 39 killed; 08:15:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:15:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:04 [ssh-agent] Looking for ssh-agent implementation... 08:15:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:04 $ docker exec 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b ssh-agent 08:15:04 SSH_AUTH_SOCK=/tmp/ssh-zaDdIrXoXgXQ/agent.71 08:15:04 SSH_AGENT_PID=77 08:15:04 Running ssh-add (command line suppressed) 08:15:04 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_637959301085975317.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_637959301085975317.key) 08:15:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:04 + git semver init 08:15:05 2023-03-15 08:15:05,061 [run_init] DEBUG init version:0.0.0 force:False 08:15:05 2023-03-15 08:15:05,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-354/.semver 08:15:05 2023-03-15 08:15:05,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-354/.semver 08:15:05 2023-03-15 08:15:05,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-354/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-354, universal_newlines=False, shell=None, istream=None) 08:15:06 2023-03-15 08:15:06,067 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-354/.git/info/exclude 08:15:06 2023-03-15 08:15:06,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 with force:False 08:15:06 2023-03-15 08:15:06,067 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 08:15:06 2023-03-15 08:15:06,070 [execute] INFO git cat-file --batch-check 08:15:06 2023-03-15 08:15:06,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 08:15:06 2023-03-15 08:15:06,076 [execute] INFO git cat-file --batch 08:15:06 2023-03-15 08:15:06,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 08:15:06 2023-03-15 08:15:06,080 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 08:15:06 0.0.0 [Pipeline] } 08:15:06 $ docker exec --env ******** --env ******** 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b ssh-agent -k 08:15:06 unset SSH_AUTH_SOCK; 08:15:06 unset SSH_AGENT_PID; 08:15:06 echo Agent pid 77 killed; 08:15:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:06 + git semver [Pipeline] } 08:15:07 $ docker stop --time=1 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b 08:15:08 $ docker rm -f --volumes 23e3ef8843f0ed4ca0e897fcb1de5c25e397c9d1f3584baa880ce0e80d16cd7b [Pipeline] // withDockerContainer [Pipeline] sh 08:15:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:15:09 Stashed 1 file(s) [Pipeline] echo 08:15:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:09 provisioning config files... 08:15:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config15459225381181059118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:09 ---> docker-login.sh 08:15:09 nexus3.edgexfoundry.org:10001 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10002 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10003 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 nexus3.edgexfoundry.org:10004 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 docker.io 08:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:09 Configure a credential helper to remove this warning. See 08:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:09 08:15:09 Login Succeeded 08:15:09 ---> docker-login.sh ends [Pipeline] } 08:15:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:15:10 ========================================================= 08:15:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:15:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:15:10 Sending build context to Docker daemon 23.49MB 08:15:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:15:10 Step 2/12 : FROM ${BASE} AS builder 08:15:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:15:10 63b65145d645: Pulling fs layer 08:15:10 a2d21d5440eb: Pulling fs layer 08:15:10 935e6c44a52c: Pulling fs layer 08:15:10 94cc34f8dd06: Pulling fs layer 08:15:10 30dea6a524f1: Pulling fs layer 08:15:10 a2aff8979fd8: Pulling fs layer 08:15:10 6808be2612f2: Pulling fs layer 08:15:10 f25807f1079a: Pulling fs layer 08:15:10 30dea6a524f1: Waiting 08:15:10 f25807f1079a: Waiting 08:15:10 a2aff8979fd8: Waiting 08:15:10 6808be2612f2: Waiting 08:15:10 94cc34f8dd06: Waiting 08:15:10 a2d21d5440eb: Verifying Checksum 08:15:10 a2d21d5440eb: Download complete 08:15:10 94cc34f8dd06: Verifying Checksum 08:15:10 94cc34f8dd06: Download complete 08:15:10 30dea6a524f1: Verifying Checksum 08:15:10 30dea6a524f1: Download complete 08:15:10 63b65145d645: Download complete 08:15:10 a2aff8979fd8: Verifying Checksum 08:15:10 a2aff8979fd8: Download complete 08:15:10 63b65145d645: Pull complete 08:15:10 a2d21d5440eb: Pull complete 08:15:11 935e6c44a52c: Verifying Checksum 08:15:11 935e6c44a52c: Download complete 08:15:11 f25807f1079a: Verifying Checksum 08:15:11 f25807f1079a: Download complete 08:15:11 6808be2612f2: Verifying Checksum 08:15:11 6808be2612f2: Download complete 08:15:15 935e6c44a52c: Pull complete 08:15:15 94cc34f8dd06: Pull complete 08:15:15 30dea6a524f1: Pull complete 08:15:15 a2aff8979fd8: Pull complete 08:15:17 6808be2612f2: Pull complete 08:15:18 f25807f1079a: Pull complete 08:15:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:15:18 ---> 3b553350e43f 08:15:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:15:20 ---> Running in f88d87ef1b78 08:15:20 Removing intermediate container f88d87ef1b78 08:15:20 ---> 2b15f7eeb4d8 08:15:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:15:20 ---> Running in 31c0755d62e5 08:15:20 Removing intermediate container 31c0755d62e5 08:15:20 ---> 099987e7aceb 08:15:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:15:20 ---> Running in 7e57dc5a9a31 08:15:20 Removing intermediate container 7e57dc5a9a31 08:15:20 ---> 03a977a00c50 08:15:20 Step 6/12 : WORKDIR /device-virtual-go 08:15:20 ---> Running in 5b440e121d08 08:15:20 Removing intermediate container 5b440e121d08 08:15:20 ---> eea3f30085bc 08:15:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:20 ---> Running in db79ffe20985 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:15:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:15:21 (2/4) Installing libedit (20221030.3.1-r0) 08:15:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:15:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:15:21 Executing busybox-1.35.0-r29.trigger 08:15:21 OK: 269 MiB in 57 packages 08:15:21 Removing intermediate container db79ffe20985 08:15:21 ---> b9b2de8b8d8b 08:15:21 Step 8/12 : COPY go.mod vendor* ./ 08:15:22 ---> e77ef82758c8 08:15:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:22 ---> Running in dec96b9058ef 08:15:24 Still waiting to schedule task 08:15:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-376’ 08:15:44 Removing intermediate container dec96b9058ef 08:15:44 ---> f037c4f251a5 08:15:44 Step 10/12 : COPY . . 08:15:44 ---> 837d9c112563 08:15:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:15:44 ---> Running in cf6e570b4617 08:15:44 Removing intermediate container cf6e570b4617 08:15:44 ---> 9d5bf0e785a1 08:15:44 Step 12/12 : RUN $MAKE 08:15:44 ---> Running in 756d196102b2 08:15:44 noop 08:15:45 Removing intermediate container 756d196102b2 08:15:45 ---> 55ac583fa1d4 08:15:45 Successfully built 55ac583fa1d4 08:15:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:45 + docker inspect -f . ci-base-image-x86_64 08:15:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:45 prd-ubuntu20.04-docker-8c-8g-377 does not seem to be running inside a container 08:15:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:45 $ docker top 2fbf6c3f8878b81c14f10a9193a6d5112d2e7fc5a28e92a84e2ee7af9cc1a513 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:46 + go version 08:15:46 go version go1.20.2 linux/amd64 [Pipeline] } 08:15:46 $ docker stop --time=1 2fbf6c3f8878b81c14f10a9193a6d5112d2e7fc5a28e92a84e2ee7af9cc1a513 08:15:47 $ docker rm -f --volumes 2fbf6c3f8878b81c14f10a9193a6d5112d2e7fc5a28e92a84e2ee7af9cc1a513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:47 + docker inspect -f . ci-base-image-x86_64 08:15:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:48 prd-ubuntu20.04-docker-8c-8g-377 does not seem to be running inside a container 08:15:48 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:48 $ docker top 0e35132555e6886ca5e9f634f8bd9b801354bcb22ba8ec8cdb826114e6c90da5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:48 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] fileExists [Pipeline] sh 08:15:48 + make test 08:15:48 go test ./... -coverprofile=coverage.out 08:15:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:16:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:16:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.031s coverage: 65.7% of statements 08:16:08 go vet ./... 08:16:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:16:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:16:10 ./bin/test-attribution-txt.sh [Pipeline] echo 08:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:16:11 $ docker stop --time=1 0e35132555e6886ca5e9f634f8bd9b801354bcb22ba8ec8cdb826114e6c90da5 08:16:13 $ docker rm -f --volumes 0e35132555e6886ca5e9f634f8bd9b801354bcb22ba8ec8cdb826114e6c90da5 [Pipeline] // withDockerContainer [Pipeline] sh 08:16:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:16:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:16:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:16:14 + ls -al . 08:16:14 total 192 08:16:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 08:15 . 08:16:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:14 .. 08:16:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 08:15 .git 08:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:14 .github 08:16:14 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 08:14 .gitignore 08:16:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 08:14 .golangci.yml 08:16:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 08:15 .semver 08:16:14 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 08:14 Attribution.txt 08:16:14 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 08:14 CHANGELOG.md 08:16:14 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 08:14 Dockerfile 08:16:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 08:14 GOVERNANCE.md 08:16:14 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 08:14 Jenkinsfile 08:16:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 08:14 LICENSE 08:16:14 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 08:14 Makefile 08:16:14 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 08:14 OWNERS.md 08:16:14 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 08:14 README.md 08:16:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 08:15 VERSION 08:16:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 08:14 bin 08:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:14 cmd 08:16:14 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 08:16 coverage.out 08:16:14 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 08:14 go.mod 08:16:14 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 08:14 go.sum 08:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:14 internal 08:16:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:14 snap 08:16:14 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 08:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:14 + 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=afe9e90b392c42d95eb41295e5b8026d130a71ee --label arch=amd64 --label version=0.0.0 . 08:16:14 Sending build context to Docker daemon 23.54MB 08:16:14 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:16:14 Step 2/25 : FROM ${BASE} AS builder 08:16:14 ---> 55ac583fa1d4 08:16:14 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:16:15 ---> Running in d02d87aed80a 08:16:15 Removing intermediate container d02d87aed80a 08:16:15 ---> f7071bd29dfd 08:16:15 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:16:15 ---> Running in d9d95b502a1e 08:16:15 Removing intermediate container d9d95b502a1e 08:16:15 ---> 3a1221af3bbb 08:16:15 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:16:15 ---> Running in 47c24f536a8b 08:16:15 Removing intermediate container 47c24f536a8b 08:16:15 ---> eb9ed63fa7c7 08:16:15 Step 6/25 : WORKDIR /device-virtual-go 08:16:15 ---> Running in e651f4545fc2 08:16:15 Removing intermediate container e651f4545fc2 08:16:15 ---> c918486b549a 08:16:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:15 ---> Running in 3dd984c4c71c 08:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:16:16 OK: 269 MiB in 57 packages 08:16:16 Removing intermediate container 3dd984c4c71c 08:16:16 ---> 70bf8acad129 08:16:16 Step 8/25 : COPY go.mod vendor* ./ 08:16:16 ---> b00741da9a82 08:16:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:16 ---> Running in fc52b576e838 08:16:17 Removing intermediate container fc52b576e838 08:16:17 ---> ec51f84cbd9c 08:16:17 Step 10/25 : COPY . . 08:16:18 ---> 22cb8a7bb8dd 08:16:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:16:18 ---> Running in 8cebc332290a 08:16:18 Removing intermediate container 8cebc332290a 08:16:18 ---> 8f51b3a32145 08:16:18 Step 12/25 : RUN $MAKE 08:16:18 ---> Running in 3bf4ecad410e 08:16:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:16:36 Removing intermediate container 3bf4ecad410e 08:16:36 ---> 8cb5299d925e 08:16:36 Step 13/25 : FROM alpine:3.17 08:16:36 3.17: Pulling from library/alpine 08:16:36 63b65145d645: Already exists 08:16:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:16:36 Status: Downloaded newer image for alpine:3.17 08:16:36 ---> b2aa39c304c2 08:16:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:16:36 ---> Running in c6b407205c2c 08:16:36 Removing intermediate container c6b407205c2c 08:16:36 ---> a60253f07cee 08:16:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:16:36 ---> Running in 58a1fe16b96b 08:16:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:16:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:16:36 (1/1) Installing dumb-init (1.2.5-r2) 08:16:36 Executing busybox-1.35.0-r29.trigger 08:16:36 OK: 7 MiB in 16 packages 08:16:36 Removing intermediate container 58a1fe16b96b 08:16:36 ---> 0c418e690bcd 08:16:36 Step 16/25 : WORKDIR / 08:16:36 ---> Running in 62bc2aa894a6 08:16:36 Removing intermediate container 62bc2aa894a6 08:16:36 ---> 12489b747471 08:16:36 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:16:36 ---> 510774c40338 08:16:36 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:16:36 ---> f182d03d47c2 08:16:36 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:16:37 ---> c39d2cc0f901 08:16:37 Step 20/25 : EXPOSE 59900 08:16:37 ---> Running in c6aa5b9308fc 08:16:37 Removing intermediate container c6aa5b9308fc 08:16:37 ---> b66cd2f21db4 08:16:37 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:16:37 ---> Running in a3ffc29203fe 08:16:37 Removing intermediate container a3ffc29203fe 08:16:37 ---> 31b4b2c4ee6b 08:16:37 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:16:37 ---> Running in 216d49a0a525 08:16:37 Removing intermediate container 216d49a0a525 08:16:37 ---> d6d32790c962 08:16:37 Step 23/25 : LABEL arch=amd64 08:16:37 ---> Running in a171dad7e641 08:16:37 Removing intermediate container a171dad7e641 08:16:37 ---> 8c433160d5ba 08:16:37 Step 24/25 : LABEL git_sha=afe9e90b392c42d95eb41295e5b8026d130a71ee 08:16:37 ---> Running in 2431348615f3 08:16:37 Removing intermediate container 2431348615f3 08:16:37 ---> 92df289e06dd 08:16:37 Step 25/25 : LABEL version=0.0.0 08:16:37 ---> Running in 292a406a9b6e 08:16:37 Removing intermediate container 292a406a9b6e 08:16:37 ---> 77126a73037d 08:16:37 [Warning] One or more build-args [ARCH] were not consumed 08:16:37 Successfully built 77126a73037d 08:16:37 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:38 08:16:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:38 latest: Pulling from edgex-lftools-log-publisher 08:16:38 5eb5b503b376: Pulling fs layer 08:16:38 5c69ac0246d0: Pulling fs layer 08:16:38 ec43610c2a17: Pulling fs layer 08:16:38 3a2ae6a8a46f: Pulling fs layer 08:16:38 33b1e0a273af: Pulling fs layer 08:16:38 5d3b04190fa2: Pulling fs layer 08:16:38 2f39f015ded8: Pulling fs layer 08:16:38 5d3b04190fa2: Waiting 08:16:38 3a2ae6a8a46f: Waiting 08:16:38 2f39f015ded8: Waiting 08:16:38 5c69ac0246d0: Download complete 08:16:38 3a2ae6a8a46f: Verifying Checksum 08:16:38 3a2ae6a8a46f: Download complete 08:16:38 33b1e0a273af: Verifying Checksum 08:16:38 33b1e0a273af: Download complete 08:16:38 5d3b04190fa2: Download complete 08:16:38 ec43610c2a17: Verifying Checksum 08:16:38 ec43610c2a17: Download complete 08:16:38 5eb5b503b376: Verifying Checksum 08:16:38 5eb5b503b376: Download complete 08:16:39 2f39f015ded8: Verifying Checksum 08:16:39 2f39f015ded8: Download complete 08:16:39 5eb5b503b376: Pull complete 08:16:39 5c69ac0246d0: Pull complete 08:16:40 ec43610c2a17: Pull complete 08:16:40 3a2ae6a8a46f: Pull complete 08:16:40 33b1e0a273af: Pull complete 08:16:40 5d3b04190fa2: Pull complete 08:16:44 2f39f015ded8: Pull complete 08:16:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:44 prd-ubuntu20.04-docker-8c-8g-377 does not seem to be running inside a container 08:16:44 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:16:46 $ docker top 45fb3e74eb22352f2e4e0896d3dc1545fc725176ac31091766d7763d4aa919a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:46 ---> job-cost.sh 08:16:46 lf-activate-venv: SKIPPING 08:16:46 INFO: No Stack... 08:16:47 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:47 INFO: Archiving Costs [Pipeline] sh 08:16:47 + cat /w/workspace/foundry_device-virtual-go_PR-354/archives/cost.csv 08:16:47 + cut -d, -f6 [Pipeline] lock 08:16:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] 08:16:47 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] did not exist. Created. 08:16:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:48 + echo total: 0.2199999988079071 [Pipeline] stash 08:16:48 Stashed 1 file(s) [Pipeline] } 08:16:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:48 $ docker stop --time=1 45fb3e74eb22352f2e4e0896d3dc1545fc725176ac31091766d7763d4aa919a0 08:16:49 $ docker rm -f --volumes 45fb3e74eb22352f2e4e0896d3dc1545fc725176ac31091766d7763d4aa919a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:18:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-378 in /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] { [Pipeline] ws 08:18:16 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 08:18:16 The recommended git tool is: git 08:18:24 using credential edgex-jenkins-ssh 08:18:24 Cloning the remote Git repository 08:18:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:18:25 > git init /w/workspace/device-virtual-go/4 # timeout=10 08:18:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:18:25 > git --version # timeout=10 08:18:25 > git --version # 'git version 2.25.1' 08:18:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:18:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:18:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:18:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:18:28 Merging remotes/origin/main commit 1705bfbb6261e298477ee3ade5426f3d03c5e783 into PR head commit deec1eaa4d3cef402d0d658292a0f698ca130a04 08:18:29 Merge succeeded, producing 91171111dd57ea4fc0aaa446ddbd6e411b2deece 08:18:29 Checking out Revision 91171111dd57ea4fc0aaa446ddbd6e411b2deece (PR-354) 08:18:28 > git config core.sparsecheckout # timeout=10 08:18:29 > git checkout -f deec1eaa4d3cef402d0d658292a0f698ca130a04 # timeout=10 08:18:29 > git remote # timeout=10 08:18:29 > git config --get remote.origin.url # timeout=10 08:18:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:29 > git merge 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 08:18:29 > git rev-parse HEAD^{commit} # timeout=10 08:18:29 > git config core.sparsecheckout # timeout=10 08:18:29 > git checkout -f 91171111dd57ea4fc0aaa446ddbd6e411b2deece # timeout=10 08:18:32 Commit message: "Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD" 08:18:32 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:18:33 % Total % Received % Xferd Average Speed Time Time Time Current 08:18:33 Dload Upload Total Spent Left Speed 08:18:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k 08:18:32 > git rev-list --no-walk ca47fed3ee780d34a8dcdedf8eceba5a14ede06a # timeout=10 [Pipeline] sh 08:18:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:18:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:18:34 + sudo tee /etc/docker/daemon.new 08:18:34 { 08:18:34 "registry-mirrors": [ 08:18:34 "https://nexus3.edgexfoundry.org:10001" 08:18:34 ], 08:18:34 "bip": "10.250.0.254/24", 08:18:34 "hosts": [ 08:18:34 "tcp://0.0.0.0:5555", 08:18:34 "unix:///var/run/docker.sock" 08:18:34 ], 08:18:34 "mtu": 1458, 08:18:34 "selinux-enabled": true, 08:18:34 "seccomp-profile": "/etc/docker/seccomp.json" 08:18:34 } [Pipeline] sh 08:18:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:18:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:53 provisioning config files... 08:18:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config10139416560715666132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:53 ---> docker-login.sh 08:18:53 nexus3.edgexfoundry.org:10001 08:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:54 Configure a credential helper to remove this warning. See 08:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:54 08:18:54 Login Succeeded 08:18:54 nexus3.edgexfoundry.org:10002 08:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:55 Configure a credential helper to remove this warning. See 08:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:55 08:18:55 Login Succeeded 08:18:55 nexus3.edgexfoundry.org:10003 08:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:55 Configure a credential helper to remove this warning. See 08:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:55 08:18:55 Login Succeeded 08:18:55 nexus3.edgexfoundry.org:10004 08:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:55 Configure a credential helper to remove this warning. See 08:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:55 08:18:55 Login Succeeded 08:18:55 docker.io 08:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:56 Configure a credential helper to remove this warning. See 08:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:56 08:18:56 Login Succeeded 08:18:56 ---> docker-login.sh ends [Pipeline] } 08:18:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:18:56 ========================================================= 08:18:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:18:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:18:58 Sending build context to Docker daemon 11.93MB 08:18:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:18:59 Step 2/12 : FROM ${BASE} AS builder 08:18:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:18:59 af6eaf76a39c: Pulling fs layer 08:18:59 55522c791124: Pulling fs layer 08:18:59 ce5c4a1c91eb: Pulling fs layer 08:18:59 169dfbe0d373: Pulling fs layer 08:18:59 e1ff8fa3b103: Pulling fs layer 08:18:59 52ebb69f0ebf: Pulling fs layer 08:18:59 5abe8eddf0d5: Pulling fs layer 08:18:59 e1ff8fa3b103: Waiting 08:18:59 52ebb69f0ebf: Waiting 08:18:59 5abe8eddf0d5: Waiting 08:18:59 169dfbe0d373: Waiting 08:18:59 55522c791124: Verifying Checksum 08:18:59 55522c791124: Download complete 08:18:59 169dfbe0d373: Verifying Checksum 08:18:59 169dfbe0d373: Download complete 08:18:59 e1ff8fa3b103: Verifying Checksum 08:18:59 e1ff8fa3b103: Download complete 08:18:59 af6eaf76a39c: Verifying Checksum 08:18:59 af6eaf76a39c: Download complete 08:19:00 af6eaf76a39c: Pull complete 08:19:00 5abe8eddf0d5: Verifying Checksum 08:19:00 5abe8eddf0d5: Download complete 08:19:00 55522c791124: Pull complete 08:19:01 ce5c4a1c91eb: Verifying Checksum 08:19:01 ce5c4a1c91eb: Download complete 08:19:01 52ebb69f0ebf: Verifying Checksum 08:19:01 52ebb69f0ebf: Download complete 08:19:14 ce5c4a1c91eb: Pull complete 08:19:14 169dfbe0d373: Pull complete 08:19:14 e1ff8fa3b103: Pull complete 08:19:20 52ebb69f0ebf: Pull complete 08:19:25 5abe8eddf0d5: Pull complete 08:19:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:19:25 ---> 6cb57ee374ae 08:19:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:19:27 ---> Running in 0aafd02266cf 08:19:27 Removing intermediate container 0aafd02266cf 08:19:27 ---> 6ea451244d9d 08:19:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:19:27 ---> Running in 844d4859b314 08:19:27 Removing intermediate container 844d4859b314 08:19:27 ---> c8ac10d89076 08:19:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:19:27 ---> Running in 9fe59d3fdf3f 08:19:28 Removing intermediate container 9fe59d3fdf3f 08:19:28 ---> aea73a13901f 08:19:28 Step 6/12 : WORKDIR /device-virtual-go 08:19:28 ---> Running in d5a0054d8824 08:19:28 Removing intermediate container d5a0054d8824 08:19:28 ---> 0bc90a955918 08:19:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:19:28 ---> Running in 25ec38a955c4 08:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:19:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:19:31 (2/4) Installing libedit (20221030.3.1-r0) 08:19:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:19:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:19:31 Executing busybox-1.35.0-r29.trigger 08:19:31 OK: 268 MiB in 57 packages 08:19:32 Removing intermediate container 25ec38a955c4 08:19:32 ---> 8a0598eb322b 08:19:32 Step 8/12 : COPY go.mod vendor* ./ 08:19:33 ---> 1ba68c847267 08:19:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:19:33 ---> Running in 3496106a4f7a 08:20:41 Removing intermediate container 3496106a4f7a 08:20:41 ---> d4d5d263c5f6 08:20:41 Step 10/12 : COPY . . 08:20:41 ---> 02e80e61dd48 08:20:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:20:41 ---> Running in 5f37ca154691 08:20:41 Removing intermediate container 5f37ca154691 08:20:41 ---> ef8b61416b6d 08:20:41 Step 12/12 : RUN $MAKE 08:20:41 ---> Running in 5f622e156562 08:20:41 noop 08:20:41 Removing intermediate container 5f622e156562 08:20:41 ---> b623f2a9c52e 08:20:41 Successfully built b623f2a9c52e 08:20:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:41 + docker inspect -f . ci-base-image-arm64 08:20:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:41 prd-ubuntu20.04-docker-arm64-4c-16g-378 does not seem to be running inside a container 08:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:20:43 $ docker top edf37f8a87e2f7c865b673702ae4c93b4afd400b6ef679b1b8ca6b5cfc19556a -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:44 + go version 08:20:44 go version go1.20.2 linux/arm64 [Pipeline] } 08:20:44 $ docker stop --time=1 edf37f8a87e2f7c865b673702ae4c93b4afd400b6ef679b1b8ca6b5cfc19556a 08:20:46 $ docker rm -f --volumes edf37f8a87e2f7c865b673702ae4c93b4afd400b6ef679b1b8ca6b5cfc19556a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:46 + docker inspect -f . ci-base-image-arm64 08:20:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:47 prd-ubuntu20.04-docker-arm64-4c-16g-378 does not seem to be running inside a container 08:20:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:20:48 $ docker top b987289353f0496b75e0475996e435ef7167d1a49ae843069fe266a6975d3151 -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:49 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 08:20:49 + make test 08:20:49 go test ./... -coverprofile=coverage.out 08:21:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:23:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:23:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements 08:23:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:23:28 go vet ./... 08:23:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:23:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:23:55 ./bin/test-attribution-txt.sh [Pipeline] echo 08:23:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:23:55 $ docker stop --time=1 b987289353f0496b75e0475996e435ef7167d1a49ae843069fe266a6975d3151 08:23:57 $ docker rm -f --volumes b987289353f0496b75e0475996e435ef7167d1a49ae843069fe266a6975d3151 [Pipeline] // withDockerContainer [Pipeline] sh 08:23:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:58 Warning: overwriting stash ‘coverage-report’ 08:23:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:59 + ls -al . 08:23:59 total 188 08:23:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 08:20 . 08:23:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:18 .. 08:23:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 08:18 .git 08:23:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:18 .github 08:23:59 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 08:18 .gitignore 08:23:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 08:18 .golangci.yml 08:23:59 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 08:18 Attribution.txt 08:23:59 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 08:18 CHANGELOG.md 08:23:59 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 08:18 Dockerfile 08:23:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 08:18 GOVERNANCE.md 08:23:59 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 08:18 Jenkinsfile 08:23:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 08:18 LICENSE 08:23:59 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 08:18 Makefile 08:23:59 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 08:18 OWNERS.md 08:23:59 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 08:18 README.md 08:23:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 08:15 VERSION 08:23:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 08:18 bin 08:23:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:18 cmd 08:23:59 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 08:23 coverage.out 08:23:59 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 08:18 go.mod 08:23:59 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 08:18 go.sum 08:23:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 08:18 internal 08:23:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 08:18 snap 08:23:59 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 08:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:59 + 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=91171111dd57ea4fc0aaa446ddbd6e411b2deece --label arch=arm64 --label version=0.0.0 . 08:24:00 Sending build context to Docker daemon 11.97MB 08:24:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:24:00 Step 2/25 : FROM ${BASE} AS builder 08:24:00 ---> b623f2a9c52e 08:24:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:24:00 ---> Running in 46c3725d8267 08:24:01 Removing intermediate container 46c3725d8267 08:24:01 ---> a33d8e630fa5 08:24:01 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:24:01 ---> Running in f03ff94e087d 08:24:01 Removing intermediate container f03ff94e087d 08:24:01 ---> fd2fbfa09553 08:24:01 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:24:01 ---> Running in 587b66cd027a 08:24:01 Removing intermediate container 587b66cd027a 08:24:01 ---> 7648abd88b2e 08:24:01 Step 6/25 : WORKDIR /device-virtual-go 08:24:02 ---> Running in 8bdd779298f8 08:24:02 Removing intermediate container 8bdd779298f8 08:24:02 ---> d3a8e07651f9 08:24:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:24:02 ---> Running in 85f3914621a0 08:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:24:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:24:05 OK: 268 MiB in 57 packages 08:24:05 Removing intermediate container 85f3914621a0 08:24:05 ---> 25d2858a0ecb 08:24:05 Step 8/25 : COPY go.mod vendor* ./ 08:24:06 ---> 8ae52056ff3c 08:24:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:06 ---> Running in f956f00a13f7 08:24:09 Removing intermediate container f956f00a13f7 08:24:09 ---> d03d0ca4eeb1 08:24:09 Step 10/25 : COPY . . 08:24:10 ---> 23d2fefcf7bc 08:24:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:24:10 ---> Running in c968ea5c3823 08:24:10 Removing intermediate container c968ea5c3823 08:24:10 ---> 7bcc31cd0a6b 08:24:10 Step 12/25 : RUN $MAKE 08:24:11 ---> Running in 163934e2d8ae 08:24:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:26:18 Removing intermediate container 163934e2d8ae 08:26:18 ---> 27637fe9bdc5 08:26:18 Step 13/25 : FROM alpine:3.17 08:26:18 3.17: Pulling from library/alpine 08:26:18 af6eaf76a39c: Already exists 08:26:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:26:18 Status: Downloaded newer image for alpine:3.17 08:26:18 ---> d74e625d9115 08:26:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:26:18 ---> Running in 65322b8029a5 08:26:18 Removing intermediate container 65322b8029a5 08:26:18 ---> 4f8431f96471 08:26:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:26:18 ---> Running in d99b058e3f52 08:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:26:20 (1/1) Installing dumb-init (1.2.5-r2) 08:26:20 Executing busybox-1.35.0-r29.trigger 08:26:20 OK: 8 MiB in 16 packages 08:26:20 Removing intermediate container d99b058e3f52 08:26:20 ---> 00f6acb8ef5e 08:26:20 Step 16/25 : WORKDIR / 08:26:21 ---> Running in 03392c52b2b7 08:26:21 Removing intermediate container 03392c52b2b7 08:26:21 ---> eb5894b30be1 08:26:21 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:26:22 ---> 1a7501a6abce 08:26:22 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:26:22 ---> a5a854093583 08:26:22 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:26:23 ---> 45e5a6275019 08:26:23 Step 20/25 : EXPOSE 59900 08:26:23 ---> Running in c2b15626281f 08:26:27 Removing intermediate container c2b15626281f 08:26:27 ---> 7c60003afefa 08:26:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:26:27 ---> Running in 22fbae9b831d 08:26:27 Removing intermediate container 22fbae9b831d 08:26:27 ---> b166746d8961 08:26:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:26:27 ---> Running in 53d4a8a90308 08:26:27 Removing intermediate container 53d4a8a90308 08:26:27 ---> fbff839b5cbd 08:26:27 Step 23/25 : LABEL arch=arm64 08:26:27 ---> Running in 9de1392c4d87 08:26:28 Removing intermediate container 9de1392c4d87 08:26:28 ---> 40f149e53865 08:26:28 Step 24/25 : LABEL git_sha=91171111dd57ea4fc0aaa446ddbd6e411b2deece 08:26:28 ---> Running in 8e68cba1c083 08:26:28 Removing intermediate container 8e68cba1c083 08:26:28 ---> fd793a26468a 08:26:28 Step 25/25 : LABEL version=0.0.0 08:26:28 ---> Running in 95629ca86ab8 08:26:29 Removing intermediate container 95629ca86ab8 08:26:29 ---> ad82ca7bee9e 08:26:29 [Warning] One or more build-args [ARCH] were not consumed 08:26:29 Successfully built ad82ca7bee9e 08:26:29 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:29 08:26:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:29 arm64: Pulling from edgex-lftools-log-publisher 08:26:29 8998bd30e6a1: Pulling fs layer 08:26:29 04944245beec: Pulling fs layer 08:26:29 699f458cf7ca: Pulling fs layer 08:26:29 765212b225bb: Pulling fs layer 08:26:29 f23df028b6ca: Pulling fs layer 08:26:29 d65c8cfc05b1: Pulling fs layer 08:26:29 2437ff75d9bd: Pulling fs layer 08:26:29 765212b225bb: Waiting 08:26:29 f23df028b6ca: Waiting 08:26:29 d65c8cfc05b1: Waiting 08:26:29 2437ff75d9bd: Waiting 08:26:30 04944245beec: Verifying Checksum 08:26:30 04944245beec: Download complete 08:26:30 765212b225bb: Download complete 08:26:30 f23df028b6ca: Verifying Checksum 08:26:30 f23df028b6ca: Download complete 08:26:30 d65c8cfc05b1: Verifying Checksum 08:26:30 d65c8cfc05b1: Download complete 08:26:30 699f458cf7ca: Verifying Checksum 08:26:30 699f458cf7ca: Download complete 08:26:30 8998bd30e6a1: Verifying Checksum 08:26:30 8998bd30e6a1: Download complete 08:26:32 2437ff75d9bd: Verifying Checksum 08:26:32 2437ff75d9bd: Download complete 08:26:34 8998bd30e6a1: Pull complete 08:26:34 04944245beec: Pull complete 08:26:36 699f458cf7ca: Pull complete 08:26:36 765212b225bb: Pull complete 08:26:36 f23df028b6ca: Pull complete 08:26:36 d65c8cfc05b1: Pull complete 08:26:49 2437ff75d9bd: Pull complete 08:26:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:26:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:49 prd-ubuntu20.04-docker-arm64-4c-16g-378 does not seem to be running inside a container 08:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:26:51 $ docker top 7078b8f2427a48dfe85fce03778b452c6c62066862ed89c9156c72ebc032fdde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:26:52 ---> job-cost.sh 08:26:52 lf-activate-venv: SKIPPING 08:26:52 INFO: No Stack... 08:26:53 INFO: Retrieving Pricing Info for: v3-standard-4 08:26:54 INFO: Archiving Costs [Pipeline] sh 08:26:54 + cut -d, -f6 08:26:54 + cat /w/workspace/device-virtual-go/4/archives/cost.csv [Pipeline] lock 08:26:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] 08:26:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] did not exist. Created. 08:26:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:26:55 /w/workspace/device-virtual-go/4@tmp/durable-4d0a7105/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:26:55 + echo total: 0.10999999940395355 [Pipeline] stash 08:26:55 Warning: overwriting stash ‘stack-cost’ 08:26:55 Stashed 1 file(s) [Pipeline] } 08:26:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:26:55 $ docker stop --time=1 7078b8f2427a48dfe85fce03778b452c6c62066862ed89c9156c72ebc032fdde 08:26:57 $ docker rm -f --volumes 7078b8f2427a48dfe85fce03778b452c6c62066862ed89c9156c72ebc032fdde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:26:57 provisioning config files... 08:26:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config10609949870871799522tmp [Pipeline] { [Pipeline] sh 08:26:57 + set +x 08:26:57 + curl -s https://codecov.io/bash 08:26:57 + bash -s -- 08:26:57 08:26:57 _____ _ 08:26:57 / ____| | | 08:26:57 | | ___ __| | ___ ___ _____ __ 08:26:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:26:57 | |___| (_) | (_| | __/ (_| (_) \ V / 08:26:57 \_____\___/ \__,_|\___|\___\___/ \_/ 08:26:57 Bash-1.0.6 08:26:57 08:26:57 08:26:57 ==> git version 2.25.1 found 08:26:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:26:57 Release-Date: 2020-01-08 08:26:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:26:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:26:57 ==> Jenkins CI detected. 08:26:57 current dir:  /w/workspace/foundry_device-virtual-go_PR-354 08:26:57 project root: . 08:26:57 --> token set from env 08:26:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:26:57 ==> Running gcov in . (disable via -X gcov) 08:26:57 ==> Python coveragepy not found 08:26:57 ==> Searching for coverage reports in: 08:26:57 + . 08:26:57 -> Found 1 reports 08:26:57 ==> Detecting git/mercurial file structure 08:26:57 ==> Reading reports 08:26:57 + ./coverage.out bytes=44311 08:26:57 ==> Appending adjustments 08:26:57 https://docs.codecov.io/docs/fixing-reports 08:26:58 + Found adjustments 08:26:58 ==> Gzipping contents 08:26:58 8.0K /tmp/codecov.BweGAy.gz 08:26:58 ==> Uploading reports 08:26:58 url: https://codecov.io 08:26:58 query: branch=PR-354&commit=afe9e90b392c42d95eb41295e5b8026d130a71ee&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 08:26:58 -> Pinging Codecov 08:26:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-354&commit=afe9e90b392c42d95eb41295e5b8026d130a71ee&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 08:26:58 -> Uploading to 08:26:58 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/afe9e90b392c42d95eb41295e5b8026d130a71ee/4e235971-cbfc-461d-acd9-00c8a0fa4be4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T082658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bce4cd86c4052795b4623b711373a7194438736defa604fa3dcd838526e61ff7 08:26:58 % Total % Received % Xferd Average Speed Time Time Time Current 08:26:58 Dload Upload Total Spent Left Speed 08:26:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 20884 --:--:-- --:--:-- --:--:-- 20884 08:26:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/afe9e90b392c42d95eb41295e5b8026d130a71ee [Pipeline] } 08:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:26:59 + [ -d /w/workspace/foundry_device-virtual-go_PR-354/archives ] 08:26:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 08:26:59 total 16 08:26:59 drwxr-xr-x 3 root root 4096 Mar 15 08:16 . 08:26:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 08:16 .. 08:26:59 drwxr-xr-x 2 root root 4096 Mar 15 08:16 cost 08:26:59 -rw-r--r-- 1 root root 89 Mar 15 08:16 cost.csv 08:26:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-354/archives 08:26:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 08:26:59 total 16 08:26:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 08:16 . 08:26:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 08:16 .. 08:26:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 08:16 cost 08:26:59 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:26:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:27:00 ---> package-listing.sh 08:27:00 ++ facter osfamily 08:27:00 ++ tr '[:upper:]' '[:lower:]' 08:27:00 + OS_FAMILY=debian 08:27:00 + workspace=/w/workspace/foundry_device-virtual-go_PR-354 08:27:00 + START_PACKAGES=/tmp/packages_start.txt 08:27:00 + END_PACKAGES=/tmp/packages_end.txt 08:27:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:27:00 + PACKAGES=/tmp/packages_start.txt 08:27:00 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 08:27:00 + PACKAGES=/tmp/packages_end.txt 08:27:00 + case "${OS_FAMILY}" in 08:27:00 + dpkg -l 08:27:00 + grep '^ii' 08:27:00 + '[' -f /tmp/packages_start.txt ']' 08:27:00 + '[' -f /tmp/packages_end.txt ']' 08:27:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:27:00 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 08:27:00 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-354/archives/ 08:27:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-354/archives/ [Pipeline] echo 08:27:00 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:27:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:01 prd-ubuntu20.04-docker-8c-8g-377 does not seem to be running inside a container 08:27:01 $ 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-354/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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:27:01 $ docker top fe728cf32bddf6e185453f9d8ed7f1186233d91b1b7e2bd4a64cbf2871a0c7a2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:02 + touch /tmp/pre-build-complete [Pipeline] sh 08:27:02 + mkdir -p /var/log/sysstat [Pipeline] sh 08:27:02 + ls /var/log/sa-host 08:27:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:02 provisioning config files... 08:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config9114820287974769693tmp [Pipeline] { [Pipeline] echo 08:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:27:03 ---> create-netrc.sh [Pipeline] } 08:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:27:03 ---> python-tools-install.sh [Pipeline] echo 08:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:27:03 ---> sudo-logs.sh 08:27:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:27:03 ---> job-cost.sh 08:27:03 lf-activate-venv: SKIPPING 08:27:03 DEBUG: total: 0.2199999988079071 08:27:03 INFO: Retrieving Stack Cost... 08:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:04 INFO: Archiving Costs [Pipeline] echo 08:27:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:27:05 ---> logs-deploy.sh 08:27:05 lf-activate-venv: SKIPPING 08:27:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-354/4 08:27:05 INFO: archiving workspace using pattern(s): 08:27:05 Archives upload complete. 08:27:05 INFO: archiving logs to Nexus