Pull request #402 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8fea351daed1303ad2575dcccfd73564a7f5289b+e88a56d1e6585e93dcd7e4f327c101309364504a (123e63f0c07940c51ed24f7d525f94636a8e24da) 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-ssh12618704064083221509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4771804973643347107.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2648646212157760496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17133500452475743022.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17259472871093021552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12472106220147185293.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14783 in /w/workspace/foundry_device-virtual-go_PR-402 [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-402 # 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/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e88a56d1e6585e93dcd7e4f327c101309364504a into PR head commit 8fea351daed1303ad2575dcccfd73564a7f5289b Merge succeeded, producing 8fea351daed1303ad2575dcccfd73564a7f5289b Checking out Revision 8fea351daed1303ad2575dcccfd73564a7f5289b (PR-402) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f 8fea351daed1303ad2575dcccfd73564a7f5289b # 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 e88a56d1e6585e93dcd7e4f327c101309364504a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fea351daed1303ad2575dcccfd73564a7f5289b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:17:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:17:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:17:13 ========================================================= 22:17:13 EdgeX Global Pipelines Version Info 22:17:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:17:14 ------------------- 22:17:14 stable info: 22:17:14 ------------------- 22:17:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:17:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:17:14 Message: update stable to v1.0.249 22:17:14 ------------------- 22:17:14 experimental info: 22:17:14 ------------------- 22:17:14 Commited By: **** collab-it+edgex@linuxfoundation.org 22:17:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:17:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:17:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-402 [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-402 [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-402 [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fea351daed1303ad2575dcccfd73564a7f5289b [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fea351 [Pipeline] echo 22:17:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:16 provisioning config files... 22:17:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-402@tmp/config4983866704199039609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:17 ---> docker-login.sh 22:17:17 nexus3.edgexfoundry.org:10001 22:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:17 Configure a credential helper to remove this warning. See 22:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:17 22:17:17 Login Succeeded 22:17:17 nexus3.edgexfoundry.org:10002 22:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:17 Configure a credential helper to remove this warning. See 22:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:17 22:17:17 Login Succeeded 22:17:17 nexus3.edgexfoundry.org:10003 22:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:17 Configure a credential helper to remove this warning. See 22:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:17 22:17:17 Login Succeeded 22:17:17 nexus3.edgexfoundry.org:10004 22:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:17 Configure a credential helper to remove this warning. See 22:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:17 22:17:17 Login Succeeded 22:17:17 docker.io 22:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:18 Configure a credential helper to remove this warning. See 22:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:18 22:17:18 Login Succeeded 22:17:18 ---> docker-login.sh ends [Pipeline] } 22:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:17:18 + git rev-list -1 --merges 8fea351daed1303ad2575dcccfd73564a7f5289b~1..8fea351daed1303ad2575dcccfd73564a7f5289b [Pipeline] echo 22:17:18 -----------> git rev-list -1 --merges 8fea351daed1303ad2575dcccfd73564a7f5289b~1..8fea351daed1303ad2575dcccfd73564a7f5289b 8fea351daed1303ad2575dcccfd73564a7f5289b [false] [Pipeline] sh 22:17:19 + git log --format=format:%s -1 8fea351daed1303ad2575dcccfd73564a7f5289b [Pipeline] echo 22:17:19 ========================================================= 22:17:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:17:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:17:19 + git log --format=format:%s -1 8fea351daed1303ad2575dcccfd73564a7f5289b [Pipeline] echo 22:17:19 [semverPrep] GIT_COMMIT: 8fea351daed1303ad2575dcccfd73564a7f5289b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 22:17:19 [semverPrep] This is not a build commit. [Pipeline] sh 22:17:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:17:20 + grep -v github /etc/ssh/ssh_known_hosts 22:17:20 + [ -e /tmp/ssh_known_hosts ] 22:17:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:17:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:17:20 + sudo tee -a /etc/ssh/ssh_known_hosts 22:17:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:17:20 22:17:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:17:20 0.1.4: Pulling from edgex-devops/py-git-semver 22:17:20 b85a868b505f: Pulling fs layer 22:17:20 e2be974225ed: Pulling fs layer 22:17:20 339a4e72a1f5: Pulling fs layer 22:17:20 988bab9f4d93: Pulling fs layer 22:17:20 1469e6f7b9e6: Pulling fs layer 22:17:20 eaf3925da568: Pulling fs layer 22:17:20 bab4dde63d76: Pulling fs layer 22:17:20 bde34c3a00c8: Pulling fs layer 22:17:20 b352a97aabf1: Pulling fs layer 22:17:20 4872d77fe225: Pulling fs layer 22:17:20 5851b861e8e6: Pulling fs layer 22:17:20 eaf3925da568: Waiting 22:17:20 bab4dde63d76: Waiting 22:17:20 bde34c3a00c8: Waiting 22:17:20 b352a97aabf1: Waiting 22:17:20 4872d77fe225: Waiting 22:17:20 5851b861e8e6: Waiting 22:17:20 988bab9f4d93: Waiting 22:17:20 1469e6f7b9e6: Waiting 22:17:20 e2be974225ed: Verifying Checksum 22:17:20 e2be974225ed: Download complete 22:17:20 988bab9f4d93: Verifying Checksum 22:17:20 988bab9f4d93: Download complete 22:17:20 1469e6f7b9e6: Verifying Checksum 22:17:20 1469e6f7b9e6: Download complete 22:17:20 339a4e72a1f5: Download complete 22:17:21 eaf3925da568: Verifying Checksum 22:17:21 eaf3925da568: Download complete 22:17:21 bde34c3a00c8: Download complete 22:17:21 b352a97aabf1: Verifying Checksum 22:17:21 b352a97aabf1: Download complete 22:17:21 4872d77fe225: Verifying Checksum 22:17:21 4872d77fe225: Download complete 22:17:21 5851b861e8e6: Verifying Checksum 22:17:21 5851b861e8e6: Download complete 22:17:21 b85a868b505f: Verifying Checksum 22:17:21 b85a868b505f: Download complete 22:17:21 bab4dde63d76: Verifying Checksum 22:17:21 bab4dde63d76: Download complete 22:17:22 b85a868b505f: Pull complete 22:17:22 e2be974225ed: Pull complete 22:17:23 339a4e72a1f5: Pull complete 22:17:23 988bab9f4d93: Pull complete 22:17:23 1469e6f7b9e6: Pull complete 22:17:23 eaf3925da568: Pull complete 22:17:25 bab4dde63d76: Pull complete 22:17:25 bde34c3a00c8: Pull complete 22:17:25 b352a97aabf1: Pull complete 22:17:25 4872d77fe225: Pull complete 22:17:25 5851b861e8e6: Pull complete 22:17:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:17:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:26 prd-ubuntu20.04-docker-8c-8g-14783 does not seem to be running inside a container 22:17:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-402 -v /w/workspace/foundry_device-virtual-go_PR-402:/w/workspace/foundry_device-virtual-go_PR-402:rw,z -v /w/workspace/foundry_device-virtual-go_PR-402@tmp:/w/workspace/foundry_device-virtual-go_PR-402@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:17:28 $ docker top 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e -eo pid,comm 22:17:28 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). 22:17:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:17:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:17:28 [ssh-agent] Looking for ssh-agent implementation... 22:17:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:17:28 $ docker exec 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e ssh-agent 22:17:28 SSH_AUTH_SOCK=/tmp/ssh-RoilCuEUnMbs/agent.32 22:17:28 SSH_AGENT_PID=38 22:17:28 Running ssh-add (command line suppressed) 22:17:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-402@tmp/private_key_15375353646952525696.key (/w/workspace/foundry_device-virtual-go_PR-402@tmp/private_key_15375353646952525696.key) 22:17:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:17:29 + git tag --points-at HEAD [Pipeline] } 22:17:29 $ docker exec --env ******** --env ******** 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e ssh-agent -k 22:17:29 unset SSH_AUTH_SOCK; 22:17:29 unset SSH_AGENT_PID; 22:17:29 echo Agent pid 38 killed; 22:17:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:17:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:17:29 [ssh-agent] Looking for ssh-agent implementation... 22:17:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:17:29 $ docker exec 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e ssh-agent 22:17:29 SSH_AUTH_SOCK=/tmp/ssh-b9KOEnaCczm5/agent.70 22:17:29 SSH_AGENT_PID=76 22:17:29 Running ssh-add (command line suppressed) 22:17:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-402@tmp/private_key_6697809048114877883.key (/w/workspace/foundry_device-virtual-go_PR-402@tmp/private_key_6697809048114877883.key) 22:17:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:17:30 + git semver init 22:17:30 2023-05-09 22:17:30,185 [run_init] DEBUG init version:0.0.0 force:False 22:17:30 2023-05-09 22:17:30,187 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-402/.semver 22:17:30 2023-05-09 22:17:30,188 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-402/.semver 22:17:30 2023-05-09 22:17:30,188 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-402/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-402, universal_newlines=False, shell=None, istream=None) 22:17:31 2023-05-09 22:17:31,179 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-402/.git/info/exclude 22:17:31 2023-05-09 22:17:31,179 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-402/.semver/PR-402 with force:False 22:17:31 2023-05-09 22:17:31,180 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-402/.semver/PR-402 22:17:31 2023-05-09 22:17:31,184 [execute] INFO git cat-file --batch-check 22:17:31 2023-05-09 22:17:31,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) 22:17:31 2023-05-09 22:17:31,192 [execute] INFO git cat-file --batch 22:17:31 2023-05-09 22:17:31,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-402/.semver, universal_newlines=False, shell=None, istream=) 22:17:31 2023-05-09 22:17:31,199 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-402/.semver/PR-402 22:17:31 0.0.0 [Pipeline] } 22:17:31 $ docker exec --env ******** --env ******** 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e ssh-agent -k 22:17:31 unset SSH_AUTH_SOCK; 22:17:31 unset SSH_AGENT_PID; 22:17:31 echo Agent pid 76 killed; 22:17:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:17:32 + git semver [Pipeline] } 22:17:32 $ docker stop --time=1 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e 22:17:33 $ docker rm -f --volumes 7bd6b12015a9432c07c446c82836bffbe6da6df6244d5afea4b9d6375bae1f4e [Pipeline] // withDockerContainer [Pipeline] sh 22:17:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:17:34 Stashed 1 file(s) [Pipeline] echo 22:17:34 [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 22:17:35 provisioning config files... 22:17:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-402@tmp/config15773094490619330034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:35 ---> docker-login.sh 22:17:35 nexus3.edgexfoundry.org:10001 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 nexus3.edgexfoundry.org:10002 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 nexus3.edgexfoundry.org:10003 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 nexus3.edgexfoundry.org:10004 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 docker.io 22:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:36 Configure a credential helper to remove this warning. See 22:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:36 22:17:36 Login Succeeded 22:17:36 ---> docker-login.sh ends [Pipeline] } 22:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:36 ========================================================= 22:17:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:17:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:36 + 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 . 22:17:36 Sending build context to Docker daemon 23.64MB 22:17:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:17:36 Step 2/12 : FROM ${BASE} AS builder 22:17:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:17:37 f56be85fc22e: Pulling fs layer 22:17:37 85791d961cd3: Pulling fs layer 22:17:37 d694b5ae8c79: Pulling fs layer 22:17:37 9f32a84ed3da: Pulling fs layer 22:17:37 4d19c01a9841: Pulling fs layer 22:17:37 9325e15d5711: Pulling fs layer 22:17:37 556b6ee489ea: Pulling fs layer 22:17:37 c5a4b2cf53e6: Pulling fs layer 22:17:37 9325e15d5711: Waiting 22:17:37 556b6ee489ea: Waiting 22:17:37 4d19c01a9841: Waiting 22:17:37 c5a4b2cf53e6: Waiting 22:17:37 9f32a84ed3da: Waiting 22:17:37 85791d961cd3: Verifying Checksum 22:17:37 85791d961cd3: Download complete 22:17:37 9f32a84ed3da: Download complete 22:17:37 4d19c01a9841: Verifying Checksum 22:17:37 4d19c01a9841: Download complete 22:17:37 f56be85fc22e: Verifying Checksum 22:17:37 f56be85fc22e: Download complete 22:17:37 9325e15d5711: Verifying Checksum 22:17:37 9325e15d5711: Download complete 22:17:37 f56be85fc22e: Pull complete 22:17:37 85791d961cd3: Pull complete 22:17:37 c5a4b2cf53e6: Verifying Checksum 22:17:37 c5a4b2cf53e6: Download complete 22:17:37 d694b5ae8c79: Verifying Checksum 22:17:37 d694b5ae8c79: Download complete 22:17:37 556b6ee489ea: Verifying Checksum 22:17:37 556b6ee489ea: Download complete 22:17:41 d694b5ae8c79: Pull complete 22:17:41 9f32a84ed3da: Pull complete 22:17:41 4d19c01a9841: Pull complete 22:17:41 9325e15d5711: Pull complete 22:17:43 556b6ee489ea: Pull complete 22:17:44 c5a4b2cf53e6: Pull complete 22:17:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:17:44 ---> c4be618373d6 22:17:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:47 ---> Running in 8812d50b9c13 22:17:48 Removing intermediate container 8812d50b9c13 22:17:48 ---> ea42e864101b 22:17:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:17:48 ---> Running in 20a066e4533f 22:17:48 Removing intermediate container 20a066e4533f 22:17:48 ---> e7f8b84ecf1c 22:17:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:17:48 ---> Running in 813988a29075 22:17:48 Removing intermediate container 813988a29075 22:17:48 ---> 89e70ef648d0 22:17:48 Step 6/12 : WORKDIR /device-virtual-go 22:17:48 ---> Running in ee22b7995b08 22:17:48 Removing intermediate container ee22b7995b08 22:17:48 ---> eec1479815cc 22:17:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:48 ---> Running in 52d82794145e 22:17:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:17:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:17:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:17:49 (2/4) Installing libedit (20221030.3.1-r0) 22:17:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:17:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:17:49 Executing busybox-1.35.0-r29.trigger 22:17:49 OK: 269 MiB in 57 packages 22:17:49 Removing intermediate container 52d82794145e 22:17:49 ---> 71206e917829 22:17:49 Step 8/12 : COPY go.mod vendor* ./ 22:17:49 ---> 968ff7f88757 22:17:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:49 ---> Running in 9f6363e2f5ba 22:17:49 Still waiting to schedule task 22:17:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14784’ is offline 22:18:16 Removing intermediate container 9f6363e2f5ba 22:18:16 ---> 6359a3afeac2 22:18:16 Step 10/12 : COPY . . 22:18:16 ---> 6bed7a4aa68c 22:18:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:16 ---> Running in 791c7a95579b 22:18:16 Removing intermediate container 791c7a95579b 22:18:16 ---> 99aac1223788 22:18:16 Step 12/12 : RUN $MAKE 22:18:16 ---> Running in 7a1cd0867ba1 22:18:16 noop 22:18:16 Removing intermediate container 7a1cd0867ba1 22:18:16 ---> ba881fcf4c2f 22:18:16 Successfully built ba881fcf4c2f 22:18:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:16 + docker inspect -f . ci-base-image-x86_64 22:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:16 prd-ubuntu20.04-docker-8c-8g-14783 does not seem to be running inside a container 22:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-402 -v /w/workspace/foundry_device-virtual-go_PR-402:/w/workspace/foundry_device-virtual-go_PR-402:rw,z -v /w/workspace/foundry_device-virtual-go_PR-402@tmp:/w/workspace/foundry_device-virtual-go_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:18:17 $ docker top 3fb918c89185dcc4569cef9d86c75444add27174eccb331305393929fcf0df56 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:17 + go version 22:18:17 go version go1.20.2 linux/amd64 [Pipeline] } 22:18:17 $ docker stop --time=1 3fb918c89185dcc4569cef9d86c75444add27174eccb331305393929fcf0df56 22:18:19 $ docker rm -f --volumes 3fb918c89185dcc4569cef9d86c75444add27174eccb331305393929fcf0df56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:19 + docker inspect -f . ci-base-image-x86_64 22:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:19 prd-ubuntu20.04-docker-8c-8g-14783 does not seem to be running inside a container 22:18:20 $ 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-402 -v /w/workspace/foundry_device-virtual-go_PR-402:/w/workspace/foundry_device-virtual-go_PR-402:rw,z -v /w/workspace/foundry_device-virtual-go_PR-402@tmp:/w/workspace/foundry_device-virtual-go_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:18:20 $ docker top c9e45ff8f0b24e74805d4b0624a347590e1a8d759ab89502d44c1e9c1f5c72b8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:20 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-402 [Pipeline] fileExists [Pipeline] sh 22:18:21 + make test 22:18:21 go test ./... -coverprofile=coverage.out 22:18:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:18:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:18:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 22:18:43 go vet ./... 22:18:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:47 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:47 $ docker stop --time=1 c9e45ff8f0b24e74805d4b0624a347590e1a8d759ab89502d44c1e9c1f5c72b8 22:18:50 $ docker rm -f --volumes c9e45ff8f0b24e74805d4b0624a347590e1a8d759ab89502d44c1e9c1f5c72b8 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:18:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:51 + ls -al . 22:18:51 total 192 22:18:51 drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:18 . 22:18:51 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:17 .. 22:18:51 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:17 .git 22:18:51 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:17 .github 22:18:51 -rw-rw-r-- 1 jenkins jenkins 337 May 9 22:17 .gitignore 22:18:51 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:17 .golangci.yml 22:18:51 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:17 .semver 22:18:51 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 22:17 Attribution.txt 22:18:51 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 22:17 CHANGELOG.md 22:18:51 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 22:17 Dockerfile 22:18:51 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:17 GOVERNANCE.md 22:18:51 -rw-rw-r-- 1 jenkins jenkins 660 May 9 22:17 Jenkinsfile 22:18:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:17 LICENSE 22:18:51 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 22:17 Makefile 22:18:51 -rw-rw-r-- 1 jenkins jenkins 623 May 9 22:17 OWNERS.md 22:18:51 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 22:17 README.md 22:18:51 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:17 VERSION 22:18:51 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:17 bin 22:18:51 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:17 cmd 22:18:51 -rw-r--r-- 1 jenkins jenkins 43063 May 9 22:18 coverage.out 22:18:51 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 22:17 go.mod 22:18:51 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 22:17 go.sum 22:18:51 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:17 internal 22:18:51 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:17 snap 22:18:51 -rw-rw-r-- 1 jenkins jenkins 235 May 9 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:52 + 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=8fea351daed1303ad2575dcccfd73564a7f5289b --label arch=amd64 --label version=0.0.0 . 22:18:52 Sending build context to Docker daemon 23.68MB 22:18:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:18:52 Step 2/25 : FROM ${BASE} AS builder 22:18:52 ---> ba881fcf4c2f 22:18:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:18:52 ---> Running in 35ead14f9d5c 22:18:52 Removing intermediate container 35ead14f9d5c 22:18:52 ---> 416d1c08a5e8 22:18:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:18:52 ---> Running in 1847c73997d7 22:18:52 Removing intermediate container 1847c73997d7 22:18:52 ---> eacc6e065c0f 22:18:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:18:52 ---> Running in 9caa2f7b0420 22:18:52 Removing intermediate container 9caa2f7b0420 22:18:52 ---> 3554f168c684 22:18:52 Step 6/25 : WORKDIR /device-virtual-go 22:18:52 ---> Running in 92aa0dc1a976 22:18:52 Removing intermediate container 92aa0dc1a976 22:18:52 ---> 1816ab57cbed 22:18:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:52 ---> Running in 71b711cba078 22:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:18:53 OK: 269 MiB in 57 packages 22:18:53 Removing intermediate container 71b711cba078 22:18:53 ---> e51c56a77a6c 22:18:53 Step 8/25 : COPY go.mod vendor* ./ 22:18:53 ---> 7bbc00ab0b87 22:18:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:53 ---> Running in 9514eea2038f 22:18:54 Removing intermediate container 9514eea2038f 22:18:54 ---> 65f8743767c6 22:18:54 Step 10/25 : COPY . . 22:18:55 ---> 48464c2cf146 22:18:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:55 ---> Running in 2894d371aa4e 22:18:55 Removing intermediate container 2894d371aa4e 22:18:55 ---> da6bcb7d3906 22:18:55 Step 12/25 : RUN $MAKE 22:18:55 ---> Running in 9c96ac700f65 22:18:56 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 22:19:18 Removing intermediate container 9c96ac700f65 22:19:18 ---> c32957b37247 22:19:18 Step 13/25 : FROM alpine:3.17 22:19:18 3.17: Pulling from library/alpine 22:19:18 f56be85fc22e: Already exists 22:19:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:19:18 Status: Downloaded newer image for alpine:3.17 22:19:18 ---> 9ed4aefc74f6 22:19:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:19:18 ---> Running in c74cb2a975e3 22:19:18 Removing intermediate container c74cb2a975e3 22:19:18 ---> b4bd754fa742 22:19:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:19:18 ---> Running in b51ef425c269 22:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:19:18 (1/1) Installing dumb-init (1.2.5-r2) 22:19:18 Executing busybox-1.35.0-r29.trigger 22:19:18 OK: 7 MiB in 16 packages 22:19:18 Removing intermediate container b51ef425c269 22:19:18 ---> f404a43d23a4 22:19:18 Step 16/25 : WORKDIR / 22:19:18 ---> Running in 50de21ba8bbb 22:19:18 Removing intermediate container 50de21ba8bbb 22:19:18 ---> daf3e5ae993d 22:19:18 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:19:18 ---> ad24fc702c99 22:19:18 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:19:18 ---> ba043a519843 22:19:18 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:19:18 ---> 42342fd602ab 22:19:18 Step 20/25 : EXPOSE 59900 22:19:18 ---> Running in 274047c1c74d 22:19:18 Removing intermediate container 274047c1c74d 22:19:18 ---> 922d1050b210 22:19:18 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:19:18 ---> Running in 2b6bc93467ed 22:19:18 Removing intermediate container 2b6bc93467ed 22:19:18 ---> 2b8ff28b1d81 22:19:18 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:19:18 ---> Running in c990ed4b0467 22:19:18 Removing intermediate container c990ed4b0467 22:19:18 ---> 1f066421283b 22:19:18 Step 23/25 : LABEL arch=amd64 22:19:18 ---> Running in 8e888c493237 22:19:18 Removing intermediate container 8e888c493237 22:19:18 ---> 9a3b620cd12d 22:19:18 Step 24/25 : LABEL git_sha=8fea351daed1303ad2575dcccfd73564a7f5289b 22:19:18 ---> Running in 32e2df70074e 22:19:18 Removing intermediate container 32e2df70074e 22:19:18 ---> 2a838a311e4f 22:19:18 Step 25/25 : LABEL version=0.0.0 22:19:18 ---> Running in 61dbb3b6b469 22:19:18 Removing intermediate container 61dbb3b6b469 22:19:18 ---> 42b5b39b3bb3 22:19:18 [Warning] One or more build-args [ARCH] were not consumed 22:19:18 Successfully built 42b5b39b3bb3 22:19:18 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 22:19:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:19 22:19:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:19 latest: Pulling from edgex-lftools-log-publisher 22:19:19 5eb5b503b376: Pulling fs layer 22:19:19 5c69ac0246d0: Pulling fs layer 22:19:19 ec43610c2a17: Pulling fs layer 22:19:19 3a2ae6a8a46f: Pulling fs layer 22:19:19 33b1e0a273af: Pulling fs layer 22:19:19 5d3b04190fa2: Pulling fs layer 22:19:19 2f39f015ded8: Pulling fs layer 22:19:19 33b1e0a273af: Waiting 22:19:19 5d3b04190fa2: Waiting 22:19:19 2f39f015ded8: Waiting 22:19:19 3a2ae6a8a46f: Waiting 22:19:19 5c69ac0246d0: Download complete 22:19:19 3a2ae6a8a46f: Verifying Checksum 22:19:19 3a2ae6a8a46f: Download complete 22:19:19 33b1e0a273af: Verifying Checksum 22:19:19 33b1e0a273af: Download complete 22:19:19 5d3b04190fa2: Verifying Checksum 22:19:19 5d3b04190fa2: Download complete 22:19:19 ec43610c2a17: Verifying Checksum 22:19:19 ec43610c2a17: Download complete 22:19:20 5eb5b503b376: Verifying Checksum 22:19:20 5eb5b503b376: Download complete 22:19:20 2f39f015ded8: Download complete 22:19:21 5eb5b503b376: Pull complete 22:19:21 5c69ac0246d0: Pull complete 22:19:22 ec43610c2a17: Pull complete 22:19:22 3a2ae6a8a46f: Pull complete 22:19:22 33b1e0a273af: Pull complete 22:19:22 5d3b04190fa2: Pull complete 22:19:27 2f39f015ded8: Pull complete 22:19:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:19:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:27 prd-ubuntu20.04-docker-8c-8g-14783 does not seem to be running inside a container 22:19:28 $ 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-402 -v /w/workspace/foundry_device-virtual-go_PR-402:/w/workspace/foundry_device-virtual-go_PR-402:rw,z -v /w/workspace/foundry_device-virtual-go_PR-402@tmp:/w/workspace/foundry_device-virtual-go_PR-402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:19:31 $ docker top ee892297d1b843ddbf2dad3e130d66699fb7c4b9c62242a2ca79b5c8a49f2da1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:31 ---> job-cost.sh 22:19:31 lf-activate-venv: SKIPPING 22:19:31 INFO: No Stack... 22:19:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:19:32 INFO: Archiving Costs [Pipeline] sh 22:19:32 + cat /w/workspace/foundry_device-virtual-go_PR-402/archives/cost.csv 22:19:32 + cut -d, -f6 [Pipeline] lock 22:19:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] 22:19:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] did not exist. Created. 22:19:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:33 + echo total: 0.2199999988079071 [Pipeline] stash 22:19:33 Stashed 1 file(s) [Pipeline] } 22:19:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:33 $ docker stop --time=1 ee892297d1b843ddbf2dad3e130d66699fb7c4b9c62242a2ca79b5c8a49f2da1 22:19:34 $ docker rm -f --volumes ee892297d1b843ddbf2dad3e130d66699fb7c4b9c62242a2ca79b5c8a49f2da1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:20:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14788 in /w/workspace/foundry_device-virtual-go_PR-402 [Pipeline] { [Pipeline] ws 22:20:11 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:20:11 The recommended git tool is: git 22:20:18 using credential edgex-jenkins-ssh 22:20:18 Cloning the remote Git repository 22:20:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:20:18 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:20:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:20:18 > git --version # timeout=10 22:20:18 > git --version # 'git version 2.25.1' 22:20:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:20:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:20:20 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:20:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:20:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:20:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:20:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:20:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:20:22 Merging remotes/origin/main commit e88a56d1e6585e93dcd7e4f327c101309364504a into PR head commit 8fea351daed1303ad2575dcccfd73564a7f5289b 22:20:22 Merge succeeded, producing 8fea351daed1303ad2575dcccfd73564a7f5289b 22:20:22 Checking out Revision 8fea351daed1303ad2575dcccfd73564a7f5289b (PR-402) 22:20:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 22:20:22 > git config core.sparsecheckout # timeout=10 22:20:22 > git checkout -f 8fea351daed1303ad2575dcccfd73564a7f5289b # timeout=10 22:20:22 > git remote # timeout=10 22:20:22 > git config --get remote.origin.url # timeout=10 22:20:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:20:22 > git merge e88a56d1e6585e93dcd7e4f327c101309364504a # timeout=10 22:20:22 > git rev-parse HEAD^{commit} # timeout=10 22:20:22 > git config core.sparsecheckout # timeout=10 22:20:22 > git checkout -f 8fea351daed1303ad2575dcccfd73564a7f5289b # timeout=10 22:20:23 > git --version # timeout=10 22:20:23 > git --version # 'git version 2.25.1' 22:20:23 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:20:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:20:24 % Total % Received % Xferd Average Speed Time Time Time Current 22:20:24 Dload Upload Total Spent Left Speed 22:20:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 22:20:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:20:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:20:25 + sudo tee /etc/docker/daemon.new 22:20:25 { 22:20:25 "registry-mirrors": [ 22:20:25 "https://nexus3.edgexfoundry.org:10001" 22:20:25 ], 22:20:25 "bip": "10.250.0.254/24", 22:20:25 "hosts": [ 22:20:25 "tcp://0.0.0.0:5555", 22:20:25 "unix:///var/run/docker.sock" 22:20:25 ], 22:20:25 "mtu": 1458, 22:20:25 "selinux-enabled": true, 22:20:25 "seccomp-profile": "/etc/docker/seccomp.json" 22:20:25 } [Pipeline] sh 22:20:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:20:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:44 provisioning config files... 22:20:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9110035733468803042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:45 ---> docker-login.sh 22:20:45 nexus3.edgexfoundry.org:10001 22:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:45 Configure a credential helper to remove this warning. See 22:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:45 22:20:45 Login Succeeded 22:20:45 nexus3.edgexfoundry.org:10002 22:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:46 Configure a credential helper to remove this warning. See 22:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:46 22:20:46 Login Succeeded 22:20:46 nexus3.edgexfoundry.org:10003 22:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:46 Configure a credential helper to remove this warning. See 22:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:46 22:20:46 Login Succeeded 22:20:46 nexus3.edgexfoundry.org:10004 22:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:47 Configure a credential helper to remove this warning. See 22:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:47 22:20:47 Login Succeeded 22:20:47 docker.io 22:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:47 Configure a credential helper to remove this warning. See 22:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:47 22:20:47 Login Succeeded 22:20:47 ---> docker-login.sh ends [Pipeline] } 22:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:20:48 ========================================================= 22:20:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:20:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + 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 . 22:20:49 Sending build context to Docker daemon 11.98MB 22:20:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:20:49 Step 2/12 : FROM ${BASE} AS builder 22:20:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:20:49 c41833b44d91: Pulling fs layer 22:20:49 ed15518f5707: Pulling fs layer 22:20:49 feae8fd75edb: Pulling fs layer 22:20:49 242c74f7c9fa: Pulling fs layer 22:20:49 3cdef696dda3: Pulling fs layer 22:20:49 2ced38df9373: Pulling fs layer 22:20:49 58f1dce35555: Pulling fs layer 22:20:49 242c74f7c9fa: Waiting 22:20:49 2ced38df9373: Waiting 22:20:49 3cdef696dda3: Waiting 22:20:49 58f1dce35555: Waiting 22:20:49 ed15518f5707: Verifying Checksum 22:20:49 ed15518f5707: Download complete 22:20:49 242c74f7c9fa: Verifying Checksum 22:20:49 242c74f7c9fa: Download complete 22:20:49 3cdef696dda3: Verifying Checksum 22:20:49 3cdef696dda3: Download complete 22:20:49 c41833b44d91: Verifying Checksum 22:20:49 c41833b44d91: Download complete 22:20:50 c41833b44d91: Pull complete 22:20:51 58f1dce35555: Verifying Checksum 22:20:51 58f1dce35555: Download complete 22:20:51 ed15518f5707: Pull complete 22:20:52 feae8fd75edb: Verifying Checksum 22:20:52 feae8fd75edb: Download complete 22:20:52 2ced38df9373: Verifying Checksum 22:20:52 2ced38df9373: Download complete 22:21:02 feae8fd75edb: Pull complete 22:21:02 242c74f7c9fa: Pull complete 22:21:02 3cdef696dda3: Pull complete 22:21:09 2ced38df9373: Pull complete 22:21:12 58f1dce35555: Pull complete 22:21:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:21:12 ---> fadd8f120f05 22:21:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:21:14 ---> Running in 6a0a6ca3a85a 22:21:14 Removing intermediate container 6a0a6ca3a85a 22:21:14 ---> af66061a02ba 22:21:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:21:14 ---> Running in 719d7640a413 22:21:14 Removing intermediate container 719d7640a413 22:21:14 ---> 0b97f35d8c9d 22:21:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:21:15 ---> Running in fc99d8625e39 22:21:15 Removing intermediate container fc99d8625e39 22:21:15 ---> ff0b0be146f3 22:21:15 Step 6/12 : WORKDIR /device-virtual-go 22:21:15 ---> Running in 103a73cc71b4 22:21:15 Removing intermediate container 103a73cc71b4 22:21:15 ---> 2579d9c30177 22:21:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:16 ---> Running in 094464d53dd8 22:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:21:19 (2/4) Installing libedit (20221030.3.1-r0) 22:21:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:21:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:21:19 Executing busybox-1.35.0-r29.trigger 22:21:19 OK: 268 MiB in 57 packages 22:21:20 Removing intermediate container 094464d53dd8 22:21:20 ---> 7bd0702758fa 22:21:20 Step 8/12 : COPY go.mod vendor* ./ 22:21:21 ---> 433c76f71130 22:21:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:21 ---> Running in 551b6eace411 22:22:29 Removing intermediate container 551b6eace411 22:22:29 ---> 6ac4152ea1e6 22:22:29 Step 10/12 : COPY . . 22:22:29 ---> d240b9ab87d2 22:22:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:29 ---> Running in 201a194fcff1 22:22:29 Removing intermediate container 201a194fcff1 22:22:29 ---> 40edb4633426 22:22:29 Step 12/12 : RUN $MAKE 22:22:29 ---> Running in 852de3f8d49c 22:22:29 noop 22:22:29 Removing intermediate container 852de3f8d49c 22:22:29 ---> ce21fa894601 22:22:29 Successfully built ce21fa894601 22:22:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:29 + docker inspect -f . ci-base-image-arm64 22:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:30 prd-ubuntu20.04-docker-arm64-4c-16g-14788 does not seem to be running inside a container 22:22:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:31 $ docker top f8fb4ad4e71a622882f027d46b88101decb49ae5eaefbf15c5364366fd861425 -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:32 + go version 22:22:32 go version go1.20.2 linux/arm64 [Pipeline] } 22:22:32 $ docker stop --time=1 f8fb4ad4e71a622882f027d46b88101decb49ae5eaefbf15c5364366fd861425 22:22:34 $ docker rm -f --volumes f8fb4ad4e71a622882f027d46b88101decb49ae5eaefbf15c5364366fd861425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:35 + docker inspect -f . ci-base-image-arm64 22:22:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-14788 does not seem to be running inside a container 22:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:36 $ docker top 5bf9dd350b40e01308fac3eaaedaad34a59408bdc915a922557ab79db7e54b78 -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 22:22:37 + make test 22:22:37 go test ./... -coverprofile=coverage.out 22:23:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:25:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:25:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.110s coverage: 58.4% of statements 22:25:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:25:39 go vet ./... 22:26:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:26:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:26:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:26:11 $ docker stop --time=1 5bf9dd350b40e01308fac3eaaedaad34a59408bdc915a922557ab79db7e54b78 22:26:13 $ docker rm -f --volumes 5bf9dd350b40e01308fac3eaaedaad34a59408bdc915a922557ab79db7e54b78 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:26:14 Warning: overwriting stash ‘coverage-report’ 22:26:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:26:15 + ls -al . 22:26:15 total 188 22:26:15 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:22 . 22:26:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:20 .. 22:26:15 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:20 .git 22:26:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:20 .github 22:26:15 -rw-rw-r-- 1 jenkins jenkins 337 May 9 22:20 .gitignore 22:26:15 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:20 .golangci.yml 22:26:15 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 22:20 Attribution.txt 22:26:15 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 22:20 CHANGELOG.md 22:26:15 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 22:20 Dockerfile 22:26:15 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:20 GOVERNANCE.md 22:26:15 -rw-rw-r-- 1 jenkins jenkins 660 May 9 22:20 Jenkinsfile 22:26:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:20 LICENSE 22:26:15 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 22:20 Makefile 22:26:15 -rw-rw-r-- 1 jenkins jenkins 623 May 9 22:20 OWNERS.md 22:26:15 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 22:20 README.md 22:26:15 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:17 VERSION 22:26:15 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:20 bin 22:26:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:20 cmd 22:26:15 -rw-r--r-- 1 jenkins jenkins 43063 May 9 22:25 coverage.out 22:26:15 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 22:20 go.mod 22:26:15 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 22:20 go.sum 22:26:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:20 internal 22:26:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:20 snap 22:26:15 -rw-rw-r-- 1 jenkins jenkins 235 May 9 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:16 + 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=8fea351daed1303ad2575dcccfd73564a7f5289b --label arch=arm64 --label version=0.0.0 . 22:26:17 Sending build context to Docker daemon 12.03MB 22:26:17 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:26:17 Step 2/25 : FROM ${BASE} AS builder 22:26:17 ---> ce21fa894601 22:26:17 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:26:17 ---> Running in 1341ff73f3d6 22:26:17 Removing intermediate container 1341ff73f3d6 22:26:17 ---> 3a179ac5dda3 22:26:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:26:17 ---> Running in b69b4f55a53d 22:26:17 Removing intermediate container b69b4f55a53d 22:26:17 ---> 3f1aa0aad2bc 22:26:17 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:26:17 ---> Running in 41573fe4da42 22:26:18 Removing intermediate container 41573fe4da42 22:26:18 ---> c3ded96fa60e 22:26:18 Step 6/25 : WORKDIR /device-virtual-go 22:26:18 ---> Running in 7f7ffbd6b905 22:26:18 Removing intermediate container 7f7ffbd6b905 22:26:18 ---> 174d66351bb9 22:26:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:18 ---> Running in 734059b49584 22:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:26:21 OK: 268 MiB in 57 packages 22:26:22 Removing intermediate container 734059b49584 22:26:22 ---> 07fe24b81d0a 22:26:22 Step 8/25 : COPY go.mod vendor* ./ 22:26:22 ---> b067c098be98 22:26:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:23 ---> Running in 7eec40843353 22:26:25 Removing intermediate container 7eec40843353 22:26:25 ---> 7e3823f805b8 22:26:25 Step 10/25 : COPY . . 22:26:27 ---> e0d881ac9cb1 22:26:27 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:27 ---> Running in c18bb047d78d 22:26:27 Removing intermediate container c18bb047d78d 22:26:27 ---> 8a2cc2d36fbd 22:26:27 Step 12/25 : RUN $MAKE 22:26:27 ---> Running in 53e80c01d128 22:26:28 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 22:29:05 Removing intermediate container 53e80c01d128 22:29:05 ---> 28dbeaa1c818 22:29:05 Step 13/25 : FROM alpine:3.17 22:29:05 3.17: Pulling from library/alpine 22:29:05 c41833b44d91: Already exists 22:29:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:29:05 Status: Downloaded newer image for alpine:3.17 22:29:05 ---> 51e60588ff2c 22:29:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:29:05 ---> Running in e19d494aaa2e 22:29:05 Removing intermediate container e19d494aaa2e 22:29:05 ---> 792e99b8e8f1 22:29:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:29:05 ---> Running in 7b4a15f2d2e0 22:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:29:05 (1/1) Installing dumb-init (1.2.5-r2) 22:29:05 Executing busybox-1.35.0-r29.trigger 22:29:05 OK: 8 MiB in 16 packages 22:29:05 Removing intermediate container 7b4a15f2d2e0 22:29:05 ---> a87e50c9887a 22:29:05 Step 16/25 : WORKDIR / 22:29:05 ---> Running in 837a7b234e57 22:29:05 Removing intermediate container 837a7b234e57 22:29:05 ---> b97a939d0ad0 22:29:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:29:05 ---> f8813ad707b3 22:29:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:29:05 ---> 76b9c6535cee 22:29:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:29:05 ---> 6942a73f0e63 22:29:05 Step 20/25 : EXPOSE 59900 22:29:05 ---> Running in 7c835fdb2152 22:29:05 Removing intermediate container 7c835fdb2152 22:29:05 ---> efe4ca0a90b5 22:29:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:29:05 ---> Running in 7f595251f618 22:29:05 Removing intermediate container 7f595251f618 22:29:05 ---> 50b5055d7c1b 22:29:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:29:05 ---> Running in b2d5e675941a 22:29:05 Removing intermediate container b2d5e675941a 22:29:05 ---> 8c07fc3ade06 22:29:05 Step 23/25 : LABEL arch=arm64 22:29:05 ---> Running in a58fdf86821b 22:29:05 Removing intermediate container a58fdf86821b 22:29:05 ---> 4ac0049c63a0 22:29:05 Step 24/25 : LABEL git_sha=8fea351daed1303ad2575dcccfd73564a7f5289b 22:29:05 ---> Running in 4a4211d1b5e6 22:29:05 Removing intermediate container 4a4211d1b5e6 22:29:05 ---> 6b7e90702339 22:29:05 Step 25/25 : LABEL version=0.0.0 22:29:05 ---> Running in e966dd9bfc86 22:29:05 Removing intermediate container e966dd9bfc86 22:29:05 ---> 1dfd9ac1e826 22:29:05 [Warning] One or more build-args [ARCH] were not consumed 22:29:05 Successfully built 1dfd9ac1e826 22:29:05 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 22:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:06 22:29:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:06 arm64: Pulling from edgex-lftools-log-publisher 22:29:06 8998bd30e6a1: Pulling fs layer 22:29:06 04944245beec: Pulling fs layer 22:29:06 699f458cf7ca: Pulling fs layer 22:29:06 765212b225bb: Pulling fs layer 22:29:06 f23df028b6ca: Pulling fs layer 22:29:06 d65c8cfc05b1: Pulling fs layer 22:29:06 2437ff75d9bd: Pulling fs layer 22:29:06 765212b225bb: Waiting 22:29:06 d65c8cfc05b1: Waiting 22:29:06 f23df028b6ca: Waiting 22:29:06 2437ff75d9bd: Waiting 22:29:07 04944245beec: Verifying Checksum 22:29:07 04944245beec: Download complete 22:29:07 765212b225bb: Verifying Checksum 22:29:07 765212b225bb: Download complete 22:29:07 f23df028b6ca: Verifying Checksum 22:29:07 f23df028b6ca: Download complete 22:29:07 d65c8cfc05b1: Verifying Checksum 22:29:07 d65c8cfc05b1: Download complete 22:29:07 699f458cf7ca: Verifying Checksum 22:29:07 8998bd30e6a1: Verifying Checksum 22:29:07 8998bd30e6a1: Download complete 22:29:10 2437ff75d9bd: Verifying Checksum 22:29:10 2437ff75d9bd: Download complete 22:29:11 8998bd30e6a1: Pull complete 22:29:11 04944245beec: Pull complete 22:29:13 699f458cf7ca: Pull complete 22:29:13 765212b225bb: Pull complete 22:29:14 f23df028b6ca: Pull complete 22:29:14 d65c8cfc05b1: Pull complete 22:29:29 2437ff75d9bd: Pull complete 22:29:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:29:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:29 prd-ubuntu20.04-docker-arm64-4c-16g-14788 does not seem to be running inside a container 22:29:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:29:32 $ docker top 91325b98711e8bc77ea5bfdb8ddcc9e443ec30a7415efa01b5ab950e728cd850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:33 ---> job-cost.sh 22:29:33 lf-activate-venv: SKIPPING 22:29:33 INFO: No Stack... 22:29:33 INFO: Retrieving Pricing Info for: v3-standard-4 22:29:34 INFO: Archiving Costs [Pipeline] sh 22:29:35 + cat+ /w/workspace/device-virtual-go/1/archives/cost.csv 22:29:35 cut -d, -f6 [Pipeline] lock 22:29:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] 22:29:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] did not exist. Created. 22:29:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:29:36 /w/workspace/device-virtual-go/1@tmp/durable-ab987445/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:29:36 + echo total: 0.10999999940395355 [Pipeline] stash 22:29:36 Warning: overwriting stash ‘stack-cost’ 22:29:36 Stashed 1 file(s) [Pipeline] } 22:29:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:29:36 $ docker stop --time=1 91325b98711e8bc77ea5bfdb8ddcc9e443ec30a7415efa01b5ab950e728cd850 22:29:38 $ docker rm -f --volumes 91325b98711e8bc77ea5bfdb8ddcc9e443ec30a7415efa01b5ab950e728cd850 [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 22:29:39 provisioning config files... 22:29:39 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-402@tmp/config3162554756095269836tmp [Pipeline] { [Pipeline] sh 22:29:39 + set +x 22:29:39 + bash -s -- 22:29:39 + curl -s https://codecov.io/bash 22:29:39 22:29:39 _____ _ 22:29:39 / ____| | | 22:29:39 | | ___ __| | ___ ___ _____ __ 22:29:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:29:39 | |___| (_) | (_| | __/ (_| (_) \ V / 22:29:39 \_____\___/ \__,_|\___|\___\___/ \_/ 22:29:39 Bash-1.0.6 22:29:39 22:29:39 22:29:39 ==> git version 2.25.1 found 22:29:39 ==> 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 22:29:39 Release-Date: 2020-01-08 22:29:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:29:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:29:39 ==> Jenkins CI detected. 22:29:39 current dir:  /w/workspace/foundry_device-virtual-go_PR-402 22:29:39 project root: . 22:29:39 --> token set from env 22:29:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:29:39 ==> Running gcov in . (disable via -X gcov) 22:29:39 ==> Python coveragepy not found 22:29:39 ==> Searching for coverage reports in: 22:29:39 + . 22:29:39 -> Found 1 reports 22:29:39 ==> Detecting git/mercurial file structure 22:29:40 ==> Reading reports 22:29:40 + ./coverage.out bytes=43063 22:29:40 ==> Appending adjustments 22:29:40 https://docs.codecov.io/docs/fixing-reports 22:29:40 + Found adjustments 22:29:40 ==> Gzipping contents 22:29:40 8.0K /tmp/codecov.Jwm0p3.gz 22:29:40 ==> Uploading reports 22:29:40 url: https://codecov.io 22:29:40 query: branch=PR-402&commit=8fea351daed1303ad2575dcccfd73564a7f5289b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=402&job=&cmd_args= 22:29:40 -> Pinging Codecov 22:29:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-402&commit=8fea351daed1303ad2575dcccfd73564a7f5289b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=402&job=&cmd_args= 22:29:40 -> Uploading to 22:29:40 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5E52B4B073DB2E39498172D8E973AA87/8fea351daed1303ad2575dcccfd73564a7f5289b/32c34054-f275-40ed-bf31-6989cacdb8be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T222940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb897422486684d83d0b954614327389268cb3a86c003a4cf07d2b71f2648627 22:29:40 % Total % Received % Xferd Average Speed Time Time Time Current 22:29:40 Dload Upload Total Spent Left Speed 22:29:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21159 --:--:-- --:--:-- --:--:-- 21159 22:29:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8fea351daed1303ad2575dcccfd73564a7f5289b [Pipeline] } 22:29:40 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 22:29:42 + [ -d /w/workspace/foundry_device-virtual-go_PR-402/archives ] 22:29:42 + ls -al /w/workspace/foundry_device-virtual-go_PR-402/archives 22:29:42 total 16 22:29:42 drwxr-xr-x 3 root root 4096 May 9 22:19 . 22:29:42 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:19 .. 22:29:42 drwxr-xr-x 2 root root 4096 May 9 22:19 cost 22:29:42 -rw-r--r-- 1 root root 89 May 9 22:19 cost.csv 22:29:42 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-402/archives 22:29:42 + ls -al /w/workspace/foundry_device-virtual-go_PR-402/archives 22:29:42 total 16 22:29:42 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:19 . 22:29:42 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:19 .. 22:29:42 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:19 cost 22:29:42 -rw-r--r-- 1 jenkins jenkins 89 May 9 22:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:29:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:29:43 ---> package-listing.sh 22:29:43 ++ tr '[:upper:]' '[:lower:]' 22:29:43 ++ facter osfamily 22:29:43 + OS_FAMILY=debian 22:29:43 + workspace=/w/workspace/foundry_device-virtual-go_PR-402 22:29:43 + START_PACKAGES=/tmp/packages_start.txt 22:29:43 + END_PACKAGES=/tmp/packages_end.txt 22:29:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:29:43 + PACKAGES=/tmp/packages_start.txt 22:29:43 + '[' /w/workspace/foundry_device-virtual-go_PR-402 ']' 22:29:43 + PACKAGES=/tmp/packages_end.txt 22:29:43 + case "${OS_FAMILY}" in 22:29:43 + dpkg -l 22:29:43 + grep '^ii' 22:29:43 + '[' -f /tmp/packages_start.txt ']' 22:29:43 + '[' -f /tmp/packages_end.txt ']' 22:29:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:29:43 + '[' /w/workspace/foundry_device-virtual-go_PR-402 ']' 22:29:43 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-402/archives/ 22:29:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-402/archives/ [Pipeline] echo 22:29:43 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-402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:29:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:45 prd-ubuntu20.04-docker-8c-8g-14783 does not seem to be running inside a container 22:29:45 $ 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-402/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-402 -v /w/workspace/foundry_device-virtual-go_PR-402:/w/workspace/foundry_device-virtual-go_PR-402:rw,z -v /w/workspace/foundry_device-virtual-go_PR-402@tmp:/w/workspace/foundry_device-virtual-go_PR-402@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:29:45 $ docker top 1af769ceac417fc93463f062ddac6340169a06007d7e1389037aac80d3c78354 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:45 + touch /tmp/pre-build-complete [Pipeline] sh 22:29:45 + mkdir -p /var/log/sysstat [Pipeline] sh 22:29:46 + ls /var/log/sa-host 22:29:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:46 provisioning config files... 22:29:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-402@tmp/config15092063042994527018tmp [Pipeline] { [Pipeline] echo 22:29:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:29:46 ---> create-netrc.sh [Pipeline] } 22:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:29:47 ---> python-tools-install.sh [Pipeline] echo 22:29:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:29:47 ---> sudo-logs.sh 22:29:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:29:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:29:48 ---> job-cost.sh 22:29:48 lf-activate-venv: SKIPPING 22:29:48 DEBUG: total: 0.2199999988079071 22:29:48 INFO: Retrieving Stack Cost... 22:29:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:29:48 INFO: Archiving Costs [Pipeline] echo 22:29:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:29:49 ---> logs-deploy.sh 22:29:49 lf-activate-venv: SKIPPING 22:29:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-402/1 22:29:49 INFO: archiving workspace using pattern(s): 22:29:50 Archives upload complete. 22:29:50 INFO: archiving logs to Nexus