Pull request #415 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 rather than 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 Obtained Jenkinsfile from 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 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-ssh8817936569951778603.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15476596925170874653.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-415/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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11188004853484613028.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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15417198287118443490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh14328750893361057894.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-415/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-415/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3581238440271270786.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1522 in /w/workspace/foundry_device-virtual-go_PR-415 [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-415 # 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/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 into PR head commit 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 Merge succeeded, producing 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 Checking out Revision 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 (PR-415) > git config core.sparsecheckout # timeout=10 > git checkout -f 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 # 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 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 # timeout=10 Commit message: "fix: Add missing SDKVERSION variable in Makefile for version API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:47:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:47:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:47:26 ========================================================= 08:47:26 EdgeX Global Pipelines Version Info 08:47:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:47:27 ------------------- 08:47:27 stable info: 08:47:27 ------------------- 08:47:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:47:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 08:47:27 Message: update stable to v1.0.250 08:47:28 ------------------- 08:47:28 experimental info: 08:47:28 ------------------- 08:47:28 Commited By: **** collab-it+edgex@linuxfoundation.org 08:47:28 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 08:47:28 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:47:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-415 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-415 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-415 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94d9a94 [Pipeline] echo 08:47:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:47:29 provisioning config files... 08:47:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-415@tmp/config6155468949103689874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:30 ---> docker-login.sh 08:47:30 nexus3.edgexfoundry.org:10001 08:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:30 Configure a credential helper to remove this warning. See 08:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:30 08:47:30 Login Succeeded 08:47:30 nexus3.edgexfoundry.org:10002 08:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:30 Configure a credential helper to remove this warning. See 08:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:30 08:47:30 Login Succeeded 08:47:30 nexus3.edgexfoundry.org:10003 08:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:30 Configure a credential helper to remove this warning. See 08:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:30 08:47:30 Login Succeeded 08:47:30 nexus3.edgexfoundry.org:10004 08:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:30 Configure a credential helper to remove this warning. See 08:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:30 08:47:30 Login Succeeded 08:47:30 docker.io 08:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:31 Configure a credential helper to remove this warning. See 08:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:31 08:47:31 Login Succeeded 08:47:31 ---> docker-login.sh ends [Pipeline] } 08:47:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:47:31 + git rev-list -1 --merges 94d9a94124bf97c3d6296d2f62bb772b3a6290e0~1..94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [Pipeline] echo 08:47:31 -----------> git rev-list -1 --merges 94d9a94124bf97c3d6296d2f62bb772b3a6290e0~1..94d9a94124bf97c3d6296d2f62bb772b3a6290e0 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [false] [Pipeline] sh 08:47:32 + git log --format=format:%s -1 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [Pipeline] echo 08:47:32 ========================================================= 08:47:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:47:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:32 + git log --format=format:%s -1 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [Pipeline] echo 08:47:32 [semverPrep] GIT_COMMIT: 94d9a94124bf97c3d6296d2f62bb772b3a6290e0, Commit Message: fix: Add missing SDKVERSION variable in Makefile for version API [Pipeline] echo 08:47:32 [semverPrep] This is not a build commit. [Pipeline] sh 08:47:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:47:33 + grep -v github /etc/ssh/ssh_known_hosts 08:47:33 + [ -e /tmp/ssh_known_hosts ] 08:47:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:47:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:47:33 + sudo tee -a /etc/ssh/ssh_known_hosts 08:47:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:47:33 08:47:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:47:34 0.1.4: Pulling from edgex-devops/py-git-semver 08:47:34 b85a868b505f: Pulling fs layer 08:47:34 e2be974225ed: Pulling fs layer 08:47:34 339a4e72a1f5: Pulling fs layer 08:47:34 988bab9f4d93: Pulling fs layer 08:47:34 1469e6f7b9e6: Pulling fs layer 08:47:34 eaf3925da568: Pulling fs layer 08:47:34 bab4dde63d76: Pulling fs layer 08:47:34 bde34c3a00c8: Pulling fs layer 08:47:34 b352a97aabf1: Pulling fs layer 08:47:34 4872d77fe225: Pulling fs layer 08:47:34 5851b861e8e6: Pulling fs layer 08:47:34 988bab9f4d93: Waiting 08:47:34 1469e6f7b9e6: Waiting 08:47:34 b352a97aabf1: Waiting 08:47:34 4872d77fe225: Waiting 08:47:34 5851b861e8e6: Waiting 08:47:34 bab4dde63d76: Waiting 08:47:34 bde34c3a00c8: Waiting 08:47:34 eaf3925da568: Waiting 08:47:34 e2be974225ed: Download complete 08:47:34 988bab9f4d93: Download complete 08:47:34 1469e6f7b9e6: Verifying Checksum 08:47:34 1469e6f7b9e6: Download complete 08:47:34 339a4e72a1f5: Verifying Checksum 08:47:34 339a4e72a1f5: Download complete 08:47:34 eaf3925da568: Verifying Checksum 08:47:34 eaf3925da568: Download complete 08:47:34 bde34c3a00c8: Verifying Checksum 08:47:34 bde34c3a00c8: Download complete 08:47:34 b352a97aabf1: Download complete 08:47:34 4872d77fe225: Download complete 08:47:34 5851b861e8e6: Download complete 08:47:34 b85a868b505f: Verifying Checksum 08:47:34 b85a868b505f: Download complete 08:47:34 bab4dde63d76: Verifying Checksum 08:47:34 bab4dde63d76: Download complete 08:47:35 b85a868b505f: Pull complete 08:47:35 e2be974225ed: Pull complete 08:47:36 339a4e72a1f5: Pull complete 08:47:36 988bab9f4d93: Pull complete 08:47:36 1469e6f7b9e6: Pull complete 08:47:36 eaf3925da568: Pull complete 08:47:38 bab4dde63d76: Pull complete 08:47:38 bde34c3a00c8: Pull complete 08:47:38 b352a97aabf1: Pull complete 08:47:38 4872d77fe225: Pull complete 08:47:39 5851b861e8e6: Pull complete 08:47:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:47:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:47:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:39 prd-ubuntu20.04-docker-8c-8g-1522 does not seem to be running inside a container 08:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-415 -v /w/workspace/foundry_device-virtual-go_PR-415:/w/workspace/foundry_device-virtual-go_PR-415:rw,z -v /w/workspace/foundry_device-virtual-go_PR-415@tmp:/w/workspace/foundry_device-virtual-go_PR-415@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-devops/py-git-semver:0.1.4 cat 08:47:40 $ docker top 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 -eo pid,comm 08:47:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:47:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:47:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:40 [ssh-agent] Looking for ssh-agent implementation... 08:47:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:41 $ docker exec 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 ssh-agent 08:47:41 SSH_AUTH_SOCK=/tmp/ssh-EJUJJYLruCfW/agent.32 08:47:41 SSH_AGENT_PID=38 08:47:41 Running ssh-add (command line suppressed) 08:47:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-415@tmp/private_key_15997124498050918944.key (/w/workspace/foundry_device-virtual-go_PR-415@tmp/private_key_15997124498050918944.key) 08:47:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:41 + git tag --points-at HEAD [Pipeline] } 08:47:41 $ docker exec --env ******** --env ******** 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 ssh-agent -k 08:47:41 unset SSH_AUTH_SOCK; 08:47:41 unset SSH_AGENT_PID; 08:47:41 echo Agent pid 38 killed; 08:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:47:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:41 [ssh-agent] Looking for ssh-agent implementation... 08:47:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:41 $ docker exec 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 ssh-agent 08:47:42 SSH_AUTH_SOCK=/tmp/ssh-KO7kUUaC3kpk/agent.71 08:47:42 SSH_AGENT_PID=78 08:47:42 Running ssh-add (command line suppressed) 08:47:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-415@tmp/private_key_11151265909296868815.key (/w/workspace/foundry_device-virtual-go_PR-415@tmp/private_key_11151265909296868815.key) 08:47:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:42 + git semver init 08:47:42 2023-07-19 08:47:42,727 [run_init] DEBUG init version:0.0.0 force:False 08:47:42 2023-07-19 08:47:42,728 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-415/.semver 08:47:42 2023-07-19 08:47:42,728 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-415/.semver 08:47:42 2023-07-19 08:47:42,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-415/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-415, universal_newlines=False, shell=None, istream=None) 08:47:44 2023-07-19 08:47:43,794 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-415/.git/info/exclude 08:47:44 2023-07-19 08:47:43,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-415/.semver/PR-415 with force:False 08:47:44 2023-07-19 08:47:43,794 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-415/.semver/PR-415 08:47:44 2023-07-19 08:47:43,799 [execute] INFO git cat-file --batch-check 08:47:44 2023-07-19 08:47:43,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 08:47:44 2023-07-19 08:47:43,805 [execute] INFO git cat-file --batch 08:47:44 2023-07-19 08:47:43,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 08:47:44 2023-07-19 08:47:43,810 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-415/.semver/PR-415 08:47:44 0.0.0 [Pipeline] } 08:47:44 $ docker exec --env ******** --env ******** 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 ssh-agent -k 08:47:44 unset SSH_AUTH_SOCK; 08:47:44 unset SSH_AGENT_PID; 08:47:44 echo Agent pid 78 killed; 08:47:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:44 + git semver [Pipeline] } 08:47:45 $ docker stop --time=1 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 08:47:46 $ docker rm -f --volumes 84b65492b21322aa548227e18fcf02452ad8b393e80d67b73b454314bc8acdd2 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:47:47 Stashed 1 file(s) [Pipeline] echo 08:47:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:47:47 provisioning config files... 08:47:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-415@tmp/config11197308074411752676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:48 ---> docker-login.sh 08:47:48 nexus3.edgexfoundry.org:10001 08:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:48 Configure a credential helper to remove this warning. See 08:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:48 08:47:48 Login Succeeded 08:47:48 nexus3.edgexfoundry.org:10002 08:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:48 Configure a credential helper to remove this warning. See 08:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:48 08:47:48 Login Succeeded 08:47:48 nexus3.edgexfoundry.org:10003 08:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:48 Configure a credential helper to remove this warning. See 08:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:48 08:47:48 Login Succeeded 08:47:48 nexus3.edgexfoundry.org:10004 08:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:48 Configure a credential helper to remove this warning. See 08:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:48 08:47:48 Login Succeeded 08:47:48 docker.io 08:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:48 Configure a credential helper to remove this warning. See 08:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:48 08:47:48 Login Succeeded 08:47:48 ---> docker-login.sh ends [Pipeline] } 08:47:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:47:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:47:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:47:48 ========================================================= 08:47:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:47:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:47:49 Sending build context to Docker daemon 23.55MB 08:47:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:47:49 Step 2/12 : FROM ${BASE} AS builder 08:47:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:47:49 4db1b89c0bd1: Pulling fs layer 08:47:49 6911f1a30b25: Pulling fs layer 08:47:49 e194b8c5c2a9: Pulling fs layer 08:47:49 6863d3e3a2b1: Pulling fs layer 08:47:49 ec0bb842ea78: Pulling fs layer 08:47:49 40a00589a448: Pulling fs layer 08:47:49 6c08303d61cc: Pulling fs layer 08:47:49 798269fcf238: Pulling fs layer 08:47:49 6863d3e3a2b1: Waiting 08:47:49 ec0bb842ea78: Waiting 08:47:49 798269fcf238: Waiting 08:47:49 40a00589a448: Waiting 08:47:49 6c08303d61cc: Waiting 08:47:49 6911f1a30b25: Verifying Checksum 08:47:49 6911f1a30b25: Download complete 08:47:49 6863d3e3a2b1: Verifying Checksum 08:47:49 6863d3e3a2b1: Download complete 08:47:49 4db1b89c0bd1: Verifying Checksum 08:47:49 4db1b89c0bd1: Download complete 08:47:49 40a00589a448: Verifying Checksum 08:47:49 40a00589a448: Download complete 08:47:49 4db1b89c0bd1: Pull complete 08:47:49 6911f1a30b25: Pull complete 08:47:50 798269fcf238: Verifying Checksum 08:47:50 e194b8c5c2a9: Verifying Checksum 08:47:50 e194b8c5c2a9: Download complete 08:47:50 6c08303d61cc: Verifying Checksum 08:47:50 6c08303d61cc: Download complete 08:47:53 e194b8c5c2a9: Pull complete 08:47:53 6863d3e3a2b1: Pull complete 08:47:53 ec0bb842ea78: Pull complete 08:47:53 40a00589a448: Pull complete 08:47:56 6c08303d61cc: Pull complete 08:47:57 798269fcf238: Pull complete 08:47:57 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 08:47:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:47:57 ---> ec979cd7f677 08:47:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:47:58 ---> Running in d611b730c3dd 08:47:59 Removing intermediate container d611b730c3dd 08:47:59 ---> 99003e003642 08:47:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:47:59 ---> Running in 38879d7912c3 08:47:59 Removing intermediate container 38879d7912c3 08:47:59 ---> b2c1b6aa1d6a 08:47:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:47:59 ---> Running in 659abbefed11 08:47:59 Removing intermediate container 659abbefed11 08:47:59 ---> 5bafea5f3086 08:47:59 Step 6/12 : WORKDIR /device-virtual-go 08:47:59 ---> Running in f46c9e5d6dec 08:47:59 Removing intermediate container f46c9e5d6dec 08:47:59 ---> d842dad71639 08:47:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:59 ---> Running in 042f0430dd2e 08:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:48:00 (1/4) Installing openssh-keygen (9.1_p1-r3) 08:48:00 (2/4) Installing libedit (20221030.3.1-r0) 08:48:00 (3/4) Installing openssh-client-common (9.1_p1-r3) 08:48:00 (4/4) Installing openssh-client-default (9.1_p1-r3) 08:48:00 Executing busybox-1.35.0-r29.trigger 08:48:00 OK: 269 MiB in 57 packages 08:48:00 Removing intermediate container 042f0430dd2e 08:48:00 ---> c80c4d4312b9 08:48:00 Step 8/12 : COPY go.mod vendor* ./ 08:48:00 ---> eefcbf2d4d2f 08:48:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:48:00 ---> Running in 99be400d5439 08:48:02 Still waiting to schedule task 08:48:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1520’ 08:48:27 Removing intermediate container 99be400d5439 08:48:27 ---> 0a4c4a901b6b 08:48:27 Step 10/12 : COPY . . 08:48:27 ---> 31532dd5f799 08:48:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:48:27 ---> Running in d4e9e6c07adc 08:48:27 Removing intermediate container d4e9e6c07adc 08:48:27 ---> c9db42799f3c 08:48:27 Step 12/12 : RUN $MAKE 08:48:27 ---> Running in 55ffef672cc1 08:48:27 noop 08:48:27 Removing intermediate container 55ffef672cc1 08:48:27 ---> 04c027294ac5 08:48:27 Successfully built 04c027294ac5 08:48:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:27 + docker inspect -f . ci-base-image-x86_64 08:48:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:27 prd-ubuntu20.04-docker-8c-8g-1522 does not seem to be running inside a container 08:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-415 -v /w/workspace/foundry_device-virtual-go_PR-415:/w/workspace/foundry_device-virtual-go_PR-415:rw,z -v /w/workspace/foundry_device-virtual-go_PR-415@tmp:/w/workspace/foundry_device-virtual-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:28 $ docker top 3ba59e6be3d303cdb1adcce61b565d02d8ccf652b6c22094f8ce52c6df6f568b -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:28 + go version 08:48:28 go version go1.20.6 linux/amd64 [Pipeline] } 08:48:28 $ docker stop --time=1 3ba59e6be3d303cdb1adcce61b565d02d8ccf652b6c22094f8ce52c6df6f568b 08:48:29 $ docker rm -f --volumes 3ba59e6be3d303cdb1adcce61b565d02d8ccf652b6c22094f8ce52c6df6f568b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:30 + docker inspect -f . ci-base-image-x86_64 08:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:30 prd-ubuntu20.04-docker-8c-8g-1522 does not seem to be running inside a container 08:48:30 $ 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-415 -v /w/workspace/foundry_device-virtual-go_PR-415:/w/workspace/foundry_device-virtual-go_PR-415:rw,z -v /w/workspace/foundry_device-virtual-go_PR-415@tmp:/w/workspace/foundry_device-virtual-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:31 $ docker top 48edf561aa3070f058f5c4e4cb0a77b7bb53395b89c412ee9ae70b23e428db5a -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:31 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-415 [Pipeline] fileExists [Pipeline] sh 08:48:31 + make test 08:48:31 go test ./... -coverprofile=coverage.out 08:48:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:48:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:48:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 08:48:52 go vet ./... 08:48:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:48:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:48:55 ./bin/test-attribution-txt.sh [Pipeline] echo 08:48:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:48:55 $ docker stop --time=1 48edf561aa3070f058f5c4e4cb0a77b7bb53395b89c412ee9ae70b23e428db5a 08:49:00 $ docker rm -f --volumes 48edf561aa3070f058f5c4e4cb0a77b7bb53395b89c412ee9ae70b23e428db5a [Pipeline] // withDockerContainer [Pipeline] sh 08:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:49:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:49:01 + ls -al . 08:49:01 total 200 08:49:01 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 08:48 . 08:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 08:47 .. 08:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 08:47 .git 08:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:47 .github 08:49:01 -rw-rw-r-- 1 jenkins jenkins 337 Jul 19 08:47 .gitignore 08:49:01 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 08:47 .golangci.yml 08:49:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 08:47 .semver 08:49:01 -rw-rw-r-- 1 jenkins jenkins 9050 Jul 19 08:47 Attribution.txt 08:49:01 -rw-rw-r-- 1 jenkins jenkins 14372 Jul 19 08:47 CHANGELOG.md 08:49:01 -rw-rw-r-- 1 jenkins jenkins 1646 Jul 19 08:47 Dockerfile 08:49:01 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 08:47 GOVERNANCE.md 08:49:01 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 08:47 Jenkinsfile 08:49:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 08:47 LICENSE 08:49:01 -rw-rw-r-- 1 jenkins jenkins 1947 Jul 19 08:47 Makefile 08:49:01 -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 08:47 OWNERS.md 08:49:01 -rw-rw-r-- 1 jenkins jenkins 4111 Jul 19 08:47 README.md 08:49:01 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 08:47 VERSION 08:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 08:47 bin 08:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:47 cmd 08:49:01 -rw-r--r-- 1 jenkins jenkins 43063 Jul 19 08:48 coverage.out 08:49:01 -rw-rw-r-- 1 jenkins jenkins 3375 Jul 19 08:47 go.mod 08:49:01 -rw-rw-r-- 1 jenkins jenkins 32023 Jul 19 08:47 go.sum 08:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:47 internal 08:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 08:47 snap 08:49:01 -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 08:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:02 + 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=94d9a94124bf97c3d6296d2f62bb772b3a6290e0 --label arch=amd64 --label version=0.0.0 . 08:49:02 Sending build context to Docker daemon 23.59MB 08:49:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:49:02 Step 2/25 : FROM ${BASE} AS builder 08:49:02 ---> 04c027294ac5 08:49:02 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:49:02 ---> Running in b702e487b689 08:49:02 Removing intermediate container b702e487b689 08:49:02 ---> 266e20b2760f 08:49:02 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:49:02 ---> Running in 6ddc98dfe575 08:49:02 Removing intermediate container 6ddc98dfe575 08:49:02 ---> 5305c6c784d1 08:49:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:49:02 ---> Running in 031db05fe101 08:49:03 Removing intermediate container 031db05fe101 08:49:03 ---> 5d6bf23a59c9 08:49:03 Step 6/25 : WORKDIR /device-virtual-go 08:49:03 ---> Running in 34635bef9549 08:49:03 Removing intermediate container 34635bef9549 08:49:03 ---> fbea17fed409 08:49:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:49:03 ---> Running in e0d5712b6398 08:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:49:03 OK: 269 MiB in 57 packages 08:49:04 Removing intermediate container e0d5712b6398 08:49:04 ---> c989b09ab038 08:49:04 Step 8/25 : COPY go.mod vendor* ./ 08:49:04 ---> d91afe15b54e 08:49:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:49:04 ---> Running in 8dc4d352279a 08:49:05 Removing intermediate container 8dc4d352279a 08:49:05 ---> c88395b0d605 08:49:05 Step 10/25 : COPY . . 08:49:05 ---> 28197fbd6fc2 08:49:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:49:05 ---> Running in d5cfaa23f0fc 08:49:05 Removing intermediate container d5cfaa23f0fc 08:49:05 ---> 8787dece52c5 08:49:05 Step 12/25 : RUN $MAKE 08:49:05 ---> Running in e1fe12c4dade 08:49:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:49:28 Removing intermediate container e1fe12c4dade 08:49:28 ---> 14cec4a66452 08:49:28 Step 13/25 : FROM alpine:3.17 08:49:28 3.17: Pulling from library/alpine 08:49:28 4db1b89c0bd1: Already exists 08:49:28 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 08:49:28 Status: Downloaded newer image for alpine:3.17 08:49:28 ---> 1f73a9d63274 08:49:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:49:28 ---> Running in dbbee901d5e0 08:49:28 Removing intermediate container dbbee901d5e0 08:49:28 ---> 51cca2edf2c1 08:49:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:49:28 ---> Running in d68c7c8c6d7e 08:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:49:29 (1/1) Installing dumb-init (1.2.5-r2) 08:49:29 Executing busybox-1.35.0-r29.trigger 08:49:29 OK: 7 MiB in 16 packages 08:49:30 Removing intermediate container d68c7c8c6d7e 08:49:30 ---> 74fe5d5adcf0 08:49:30 Step 16/25 : WORKDIR / 08:49:30 ---> Running in 8d9d720f775d 08:49:30 Removing intermediate container 8d9d720f775d 08:49:30 ---> 717b068f74e5 08:49:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:49:30 ---> eab14e3434a0 08:49:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:49:30 ---> 33784038eef1 08:49:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:49:31 ---> 4d15ce52aeea 08:49:31 Step 20/25 : EXPOSE 59900 08:49:31 ---> Running in b19816e2e987 08:49:31 Removing intermediate container b19816e2e987 08:49:31 ---> bf0fac754d7d 08:49:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:49:31 ---> Running in b590bc9c70d9 08:49:31 Removing intermediate container b590bc9c70d9 08:49:31 ---> c10f1ca311aa 08:49:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:49:31 ---> Running in 38f1350b48fd 08:49:31 Removing intermediate container 38f1350b48fd 08:49:31 ---> f5af88a39067 08:49:31 Step 23/25 : LABEL arch=amd64 08:49:31 ---> Running in 5d861eff4269 08:49:31 Removing intermediate container 5d861eff4269 08:49:31 ---> e6c6d2ae77f2 08:49:31 Step 24/25 : LABEL git_sha=94d9a94124bf97c3d6296d2f62bb772b3a6290e0 08:49:31 ---> Running in c819f00c777e 08:49:31 Removing intermediate container c819f00c777e 08:49:31 ---> 9cc2f7b08496 08:49:31 Step 25/25 : LABEL version=0.0.0 08:49:31 ---> Running in 1ecc577d9cbb 08:49:31 Removing intermediate container 1ecc577d9cbb 08:49:31 ---> 46e3a2e22984 08:49:31 [Warning] One or more build-args [ARCH] were not consumed 08:49:31 Successfully built 46e3a2e22984 08:49:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:32 08:49:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:32 latest: Pulling from edgex-lftools-log-publisher 08:49:32 5eb5b503b376: Pulling fs layer 08:49:32 5c69ac0246d0: Pulling fs layer 08:49:32 ec43610c2a17: Pulling fs layer 08:49:32 3a2ae6a8a46f: Pulling fs layer 08:49:32 33b1e0a273af: Pulling fs layer 08:49:32 5d3b04190fa2: Pulling fs layer 08:49:32 2f39f015ded8: Pulling fs layer 08:49:32 33b1e0a273af: Waiting 08:49:32 5d3b04190fa2: Waiting 08:49:32 2f39f015ded8: Waiting 08:49:32 3a2ae6a8a46f: Waiting 08:49:32 5c69ac0246d0: Download complete 08:49:32 3a2ae6a8a46f: Download complete 08:49:32 33b1e0a273af: Verifying Checksum 08:49:32 33b1e0a273af: Download complete 08:49:32 ec43610c2a17: Verifying Checksum 08:49:32 ec43610c2a17: Download complete 08:49:32 5d3b04190fa2: Verifying Checksum 08:49:32 5d3b04190fa2: Download complete 08:49:33 5eb5b503b376: Download complete 08:49:33 2f39f015ded8: Download complete 08:49:34 5eb5b503b376: Pull complete 08:49:34 5c69ac0246d0: Pull complete 08:49:34 ec43610c2a17: Pull complete 08:49:34 3a2ae6a8a46f: Pull complete 08:49:35 33b1e0a273af: Pull complete 08:49:35 5d3b04190fa2: Pull complete 08:49:39 2f39f015ded8: Pull complete 08:49:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:39 prd-ubuntu20.04-docker-8c-8g-1522 does not seem to be running inside a container 08:49:39 $ 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-415 -v /w/workspace/foundry_device-virtual-go_PR-415:/w/workspace/foundry_device-virtual-go_PR-415:rw,z -v /w/workspace/foundry_device-virtual-go_PR-415@tmp:/w/workspace/foundry_device-virtual-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:49:45 $ docker top d2bd2583a21d89063b8b8eb4531c73724f77177334c7a8124c2dde0424a04d61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:45 ---> job-cost.sh 08:49:45 lf-activate-venv: SKIPPING 08:49:45 INFO: No Stack... 08:49:45 INFO: Retrieving Pricing Info for: v3-standard-8 08:49:46 INFO: Archiving Costs [Pipeline] sh 08:49:46 + cat /w/workspace/foundry_device-virtual-go_PR-415/archives/cost.csv 08:49:46 + cut -d, -f6 [Pipeline] lock 08:49:46 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] 08:49:46 Resource [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] did not exist. Created. 08:49:46 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:49:46 + echo total: 0.2199999988079071 [Pipeline] stash 08:49:46 Stashed 1 file(s) [Pipeline] } 08:49:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:49:46 $ docker stop --time=1 d2bd2583a21d89063b8b8eb4531c73724f77177334c7a8124c2dde0424a04d61 08:49:48 $ docker rm -f --volumes d2bd2583a21d89063b8b8eb4531c73724f77177334c7a8124c2dde0424a04d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:51:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1523 in /w/workspace/foundry_device-virtual-go_PR-415 [Pipeline] { [Pipeline] ws 08:51:30 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:51:30 The recommended git tool is: git 08:51:36 using credential edgex-jenkins-ssh 08:51:36 Cloning the remote Git repository 08:51:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:51:37 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:51:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:51:37 > git --version # timeout=10 08:51:37 > git --version # 'git version 2.25.1' 08:51:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:51:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:41 Merging remotes/origin/main commit 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 into PR head commit 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 08:51:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:51:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:51:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:51:41 > git config core.sparsecheckout # timeout=10 08:51:41 Merge succeeded, producing 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 08:51:41 Checking out Revision 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 (PR-415) 08:51:41 > git checkout -f 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 # timeout=10 08:51:41 > git remote # timeout=10 08:51:41 > git config --get remote.origin.url # timeout=10 08:51:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:41 > git merge 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 # timeout=10 08:51:41 > git rev-parse HEAD^{commit} # timeout=10 08:51:41 > git config core.sparsecheckout # timeout=10 08:51:41 > git checkout -f 94d9a94124bf97c3d6296d2f62bb772b3a6290e0 # timeout=10 08:51:44 Commit message: "fix: Add missing SDKVERSION variable in Makefile for version API" 08:51:44 > git --version # timeout=10 08:51:44 > git --version # 'git version 2.25.1' 08:51:44 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:51:46 % Total % Received % Xferd Average Speed Time Time Time Current 08:51:46 Dload Upload Total Spent Left Speed 08:51:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 08:51:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:51:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:51:47 + sudo tee /etc/docker/daemon.new 08:51:47 { 08:51:47 "registry-mirrors": [ 08:51:47 "https://nexus3.edgexfoundry.org:10001" 08:51:47 ], 08:51:47 "bip": "10.250.0.254/24", 08:51:47 "hosts": [ 08:51:47 "tcp://0.0.0.0:5555", 08:51:47 "unix:///var/run/docker.sock" 08:51:47 ], 08:51:47 "mtu": 1458, 08:51:47 "selinux-enabled": true, 08:51:47 "seccomp-profile": "/etc/docker/seccomp.json" 08:51:47 } [Pipeline] sh 08:51:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:51:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:52:06 provisioning config files... 08:52:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7761059899846652303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:52:06 ---> docker-login.sh 08:52:06 nexus3.edgexfoundry.org:10001 08:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:07 Configure a credential helper to remove this warning. See 08:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:07 08:52:07 Login Succeeded 08:52:07 nexus3.edgexfoundry.org:10002 08:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:07 Configure a credential helper to remove this warning. See 08:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:07 08:52:07 Login Succeeded 08:52:07 nexus3.edgexfoundry.org:10003 08:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:08 Configure a credential helper to remove this warning. See 08:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:08 08:52:08 Login Succeeded 08:52:08 nexus3.edgexfoundry.org:10004 08:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:08 Configure a credential helper to remove this warning. See 08:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:08 08:52:08 Login Succeeded 08:52:08 docker.io 08:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:08 Configure a credential helper to remove this warning. See 08:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:08 08:52:08 Login Succeeded 08:52:08 ---> docker-login.sh ends [Pipeline] } 08:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:52:09 ========================================================= 08:52:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:52:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:52:10 Sending build context to Docker daemon 11.91MB 08:52:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:52:10 Step 2/12 : FROM ${BASE} AS builder 08:52:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:52:10 edb6bdbacee9: Pulling fs layer 08:52:10 5f9638ab2659: Pulling fs layer 08:52:10 8d51d6327a98: Pulling fs layer 08:52:10 8b374f2dd631: Pulling fs layer 08:52:10 ec14aa9079de: Pulling fs layer 08:52:10 2f466654f4bb: Pulling fs layer 08:52:10 554e91adad29: Pulling fs layer 08:52:10 8b374f2dd631: Waiting 08:52:10 ec14aa9079de: Waiting 08:52:10 2f466654f4bb: Waiting 08:52:10 554e91adad29: Waiting 08:52:10 5f9638ab2659: Download complete 08:52:10 8b374f2dd631: Verifying Checksum 08:52:10 8b374f2dd631: Download complete 08:52:10 ec14aa9079de: Verifying Checksum 08:52:10 ec14aa9079de: Download complete 08:52:10 edb6bdbacee9: Verifying Checksum 08:52:10 edb6bdbacee9: Download complete 08:52:12 554e91adad29: Verifying Checksum 08:52:12 554e91adad29: Download complete 08:52:13 8d51d6327a98: Verifying Checksum 08:52:13 8d51d6327a98: Download complete 08:52:13 2f466654f4bb: Verifying Checksum 08:52:13 2f466654f4bb: Download complete 08:52:13 edb6bdbacee9: Pull complete 08:52:13 5f9638ab2659: Pull complete 08:52:26 8d51d6327a98: Pull complete 08:52:26 8b374f2dd631: Pull complete 08:52:26 ec14aa9079de: Pull complete 08:52:32 2f466654f4bb: Pull complete 08:52:34 554e91adad29: Pull complete 08:52:34 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 08:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:52:34 ---> 1e15ea492957 08:52:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:52:36 ---> Running in 5344b77268d1 08:52:36 Removing intermediate container 5344b77268d1 08:52:36 ---> 41f97d6b5e21 08:52:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:52:36 ---> Running in 255d3d6c6147 08:52:36 Removing intermediate container 255d3d6c6147 08:52:36 ---> a27b25c73598 08:52:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:52:36 ---> Running in 522ec477db6a 08:52:37 Removing intermediate container 522ec477db6a 08:52:37 ---> 773fc75f018f 08:52:37 Step 6/12 : WORKDIR /device-virtual-go 08:52:37 ---> Running in 235640bc53c0 08:52:37 Removing intermediate container 235640bc53c0 08:52:37 ---> 3673455bb6d2 08:52:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:37 ---> Running in b2b350508bfa 08:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:52:40 (1/4) Installing openssh-keygen (9.1_p1-r3) 08:52:40 (2/4) Installing libedit (20221030.3.1-r0) 08:52:40 (3/4) Installing openssh-client-common (9.1_p1-r3) 08:52:40 (4/4) Installing openssh-client-default (9.1_p1-r3) 08:52:40 Executing busybox-1.35.0-r29.trigger 08:52:40 OK: 268 MiB in 57 packages 08:52:41 Removing intermediate container b2b350508bfa 08:52:41 ---> a5dd70c2e7d8 08:52:41 Step 8/12 : COPY go.mod vendor* ./ 08:52:42 ---> 5bf3aa572afd 08:52:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:42 ---> Running in dc74c2744469 08:54:18 Removing intermediate container dc74c2744469 08:54:18 ---> 9cca11520b01 08:54:18 Step 10/12 : COPY . . 08:54:18 ---> e2e7019cd164 08:54:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:54:18 ---> Running in 6f1ef7ae93df 08:54:18 Removing intermediate container 6f1ef7ae93df 08:54:18 ---> 9b9f681ce467 08:54:18 Step 12/12 : RUN $MAKE 08:54:18 ---> Running in d59b8b8cfd08 08:54:19 noop 08:54:20 Removing intermediate container d59b8b8cfd08 08:54:20 ---> 8a2c3d4324d4 08:54:20 Successfully built 8a2c3d4324d4 08:54:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:20 + docker inspect -f . ci-base-image-arm64 08:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-1523 does not seem to be running inside a container 08:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:54:22 $ docker top 99d41e0abd0ae3c38ba94cf670da195912759691b9525dd988f82a9cdf853c47 -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:23 + go version 08:54:23 go version go1.20.6 linux/arm64 [Pipeline] } 08:54:23 $ docker stop --time=1 99d41e0abd0ae3c38ba94cf670da195912759691b9525dd988f82a9cdf853c47 08:54:24 $ docker rm -f --volumes 99d41e0abd0ae3c38ba94cf670da195912759691b9525dd988f82a9cdf853c47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:25 + docker inspect -f . ci-base-image-arm64 08:54:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:25 prd-ubuntu20.04-docker-arm64-4c-16g-1523 does not seem to be running inside a container 08:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:54:27 $ docker top 4ce5183ae25200780d7cad8520c686d37c5584345e72c531cfd86c2ce21116fd -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:28 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 08:54:28 + make test 08:54:28 go test ./... -coverprofile=coverage.out 08:55:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:57:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:57:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.092s coverage: 58.4% of statements 08:57:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:57:30 go vet ./... 08:57:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:57:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:57:52 ./bin/test-attribution-txt.sh [Pipeline] echo 08:57:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:57:52 $ docker stop --time=1 4ce5183ae25200780d7cad8520c686d37c5584345e72c531cfd86c2ce21116fd 08:57:54 $ docker rm -f --volumes 4ce5183ae25200780d7cad8520c686d37c5584345e72c531cfd86c2ce21116fd [Pipeline] // withDockerContainer [Pipeline] sh 08:57:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:57:55 Warning: overwriting stash ‘coverage-report’ 08:57:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:57:57 + ls -al . 08:57:57 total 196 08:57:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 08:54 . 08:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 08:51 .. 08:57:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 08:51 .git 08:57:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:51 .github 08:57:57 -rw-rw-r-- 1 jenkins jenkins 337 Jul 19 08:51 .gitignore 08:57:57 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 08:51 .golangci.yml 08:57:57 -rw-rw-r-- 1 jenkins jenkins 9050 Jul 19 08:51 Attribution.txt 08:57:57 -rw-rw-r-- 1 jenkins jenkins 14372 Jul 19 08:51 CHANGELOG.md 08:57:57 -rw-rw-r-- 1 jenkins jenkins 1646 Jul 19 08:51 Dockerfile 08:57:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 08:51 GOVERNANCE.md 08:57:57 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 08:51 Jenkinsfile 08:57:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 08:51 LICENSE 08:57:57 -rw-rw-r-- 1 jenkins jenkins 1947 Jul 19 08:51 Makefile 08:57:57 -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 08:51 OWNERS.md 08:57:57 -rw-rw-r-- 1 jenkins jenkins 4111 Jul 19 08:51 README.md 08:57:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 08:47 VERSION 08:57:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 08:51 bin 08:57:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:51 cmd 08:57:57 -rw-r--r-- 1 jenkins jenkins 43063 Jul 19 08:57 coverage.out 08:57:57 -rw-rw-r-- 1 jenkins jenkins 3375 Jul 19 08:51 go.mod 08:57:57 -rw-rw-r-- 1 jenkins jenkins 32023 Jul 19 08:51 go.sum 08:57:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 08:51 internal 08:57:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 08:51 snap 08:57:57 -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 08:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:57 + 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=94d9a94124bf97c3d6296d2f62bb772b3a6290e0 --label arch=arm64 --label version=0.0.0 . 08:57:58 Sending build context to Docker daemon 11.95MB 08:57:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:57:58 Step 2/25 : FROM ${BASE} AS builder 08:57:58 ---> 8a2c3d4324d4 08:57:58 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:57:58 ---> Running in 5b87f041aa63 08:57:58 Removing intermediate container 5b87f041aa63 08:57:58 ---> e2ccecec1958 08:57:58 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:57:58 ---> Running in 8d7e3477b64b 08:57:58 Removing intermediate container 8d7e3477b64b 08:57:58 ---> 05cc84d26879 08:57:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:57:59 ---> Running in 7244cee92bc8 08:57:59 Removing intermediate container 7244cee92bc8 08:57:59 ---> a960609e2964 08:57:59 Step 6/25 : WORKDIR /device-virtual-go 08:57:59 ---> Running in 59b9cced0107 08:57:59 Removing intermediate container 59b9cced0107 08:57:59 ---> 060d35738657 08:57:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:59 ---> Running in 85c8577f51ca 08:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:58:02 OK: 268 MiB in 57 packages 08:58:03 Removing intermediate container 85c8577f51ca 08:58:03 ---> 0a1e844ead75 08:58:03 Step 8/25 : COPY go.mod vendor* ./ 08:58:04 ---> daf0b2bf7dc2 08:58:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:58:04 ---> Running in dc7e681bbe48 08:58:07 Removing intermediate container dc7e681bbe48 08:58:07 ---> 665766f2722e 08:58:07 Step 10/25 : COPY . . 08:58:08 ---> fc30b009fdfb 08:58:08 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:58:08 ---> Running in fc7f30ba4421 08:58:08 Removing intermediate container fc7f30ba4421 08:58:08 ---> 46c6e3b373c9 08:58:08 Step 12/25 : RUN $MAKE 08:58:08 ---> Running in f67417ea66cd 08:58:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 09:00:32 Removing intermediate container f67417ea66cd 09:00:32 ---> 056122df88c5 09:00:32 Step 13/25 : FROM alpine:3.17 09:00:32 3.17: Pulling from library/alpine 09:00:32 edb6bdbacee9: Already exists 09:00:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 09:00:32 Status: Downloaded newer image for alpine:3.17 09:00:32 ---> 779605e5fbc0 09:00:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:00:32 ---> Running in e04442353456 09:00:32 Removing intermediate container e04442353456 09:00:32 ---> 3f957cd204d7 09:00:32 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:00:32 ---> Running in 7d5281f8b684 09:00:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:00:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:00:32 (1/1) Installing dumb-init (1.2.5-r2) 09:00:32 Executing busybox-1.35.0-r29.trigger 09:00:32 OK: 8 MiB in 16 packages 09:00:32 Removing intermediate container 7d5281f8b684 09:00:32 ---> 54e6638d0297 09:00:32 Step 16/25 : WORKDIR / 09:00:32 ---> Running in 2fb4b7f0df1c 09:00:32 Removing intermediate container 2fb4b7f0df1c 09:00:32 ---> 4299a6de9ba7 09:00:32 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:00:32 ---> e91f23a11917 09:00:32 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:00:32 ---> 2ff936b6443e 09:00:32 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:00:33 ---> b419447b1e35 09:00:33 Step 20/25 : EXPOSE 59900 09:00:33 ---> Running in 17e509f10ac7 09:00:33 Removing intermediate container 17e509f10ac7 09:00:33 ---> 7e5dd7a2076b 09:00:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:00:33 ---> Running in 2a7a4951e195 09:00:33 Removing intermediate container 2a7a4951e195 09:00:33 ---> 155f0240e94d 09:00:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:00:33 ---> Running in 5517300e89ad 09:00:33 Removing intermediate container 5517300e89ad 09:00:33 ---> b759b6365287 09:00:33 Step 23/25 : LABEL arch=arm64 09:00:34 ---> Running in 286b55fd2f71 09:00:34 Removing intermediate container 286b55fd2f71 09:00:34 ---> e17cee0b7b96 09:00:34 Step 24/25 : LABEL git_sha=94d9a94124bf97c3d6296d2f62bb772b3a6290e0 09:00:34 ---> Running in 256ec9aa56f2 09:00:34 Removing intermediate container 256ec9aa56f2 09:00:34 ---> 100946311557 09:00:34 Step 25/25 : LABEL version=0.0.0 09:00:34 ---> Running in a0a9fad8e83f 09:00:34 Removing intermediate container a0a9fad8e83f 09:00:34 ---> 4e5c28e6de93 09:00:34 [Warning] One or more build-args [ARCH] were not consumed 09:00:34 Successfully built 4e5c28e6de93 09:00:34 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 09:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:35 09:00:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:36 arm64: Pulling from edgex-lftools-log-publisher 09:00:36 8998bd30e6a1: Pulling fs layer 09:00:36 04944245beec: Pulling fs layer 09:00:36 699f458cf7ca: Pulling fs layer 09:00:36 765212b225bb: Pulling fs layer 09:00:36 f23df028b6ca: Pulling fs layer 09:00:36 d65c8cfc05b1: Pulling fs layer 09:00:36 2437ff75d9bd: Pulling fs layer 09:00:36 765212b225bb: Waiting 09:00:36 f23df028b6ca: Waiting 09:00:36 d65c8cfc05b1: Waiting 09:00:36 2437ff75d9bd: Waiting 09:00:36 04944245beec: Verifying Checksum 09:00:36 04944245beec: Download complete 09:00:36 765212b225bb: Verifying Checksum 09:00:36 765212b225bb: Download complete 09:00:36 f23df028b6ca: Download complete 09:00:36 d65c8cfc05b1: Verifying Checksum 09:00:36 d65c8cfc05b1: Download complete 09:00:36 699f458cf7ca: Verifying Checksum 09:00:36 699f458cf7ca: Download complete 09:00:36 8998bd30e6a1: Verifying Checksum 09:00:36 8998bd30e6a1: Download complete 09:00:38 2437ff75d9bd: Verifying Checksum 09:00:38 2437ff75d9bd: Download complete 09:00:40 8998bd30e6a1: Pull complete 09:00:41 04944245beec: Pull complete 09:00:42 699f458cf7ca: Pull complete 09:00:42 765212b225bb: Pull complete 09:00:43 f23df028b6ca: Pull complete 09:00:43 d65c8cfc05b1: Pull complete 09:00:58 2437ff75d9bd: Pull complete 09:00:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:59 prd-ubuntu20.04-docker-arm64-4c-16g-1523 does not seem to be running inside a container 09:00:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:01:01 $ docker top 3270ac05baff3191d9c93ee1c8b9112a8c81f9fa1392dfdf2faf6de87ad74f7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:02 ---> job-cost.sh 09:01:02 lf-activate-venv: SKIPPING 09:01:02 INFO: No Stack... 09:01:03 INFO: Retrieving Pricing Info for: v3-standard-4 09:01:03 INFO: Archiving Costs [Pipeline] sh 09:01:04 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 09:01:04 + cut -d, -f6 [Pipeline] lock 09:01:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] 09:01:04 Resource [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] did not exist. Created. 09:01:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:01:05 /w/workspace/device-virtual-go/1@tmp/durable-1e702f11/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:01:06 + echo total: 0.10999999940395355 [Pipeline] stash 09:01:06 Warning: overwriting stash ‘stack-cost’ 09:01:06 Stashed 1 file(s) [Pipeline] } 09:01:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:01:06 $ docker stop --time=1 3270ac05baff3191d9c93ee1c8b9112a8c81f9fa1392dfdf2faf6de87ad74f7b 09:01:07 $ docker rm -f --volumes 3270ac05baff3191d9c93ee1c8b9112a8c81f9fa1392dfdf2faf6de87ad74f7b [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 09:01:08 provisioning config files... 09:01:08 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-415@tmp/config3973976632547942045tmp [Pipeline] { [Pipeline] sh 09:01:09 + set +x 09:01:09 + curl -s https://codecov.io/bash 09:01:09 + bash -s -- 09:01:09 09:01:09 _____ _ 09:01:09 / ____| | | 09:01:09 | | ___ __| | ___ ___ _____ __ 09:01:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:01:09 | |___| (_) | (_| | __/ (_| (_) \ V / 09:01:09 \_____\___/ \__,_|\___|\___\___/ \_/ 09:01:09 Bash-1.0.6 09:01:09 09:01:09 09:01:09 ==> git version 2.25.1 found 09:01:09 ==> 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 09:01:09 Release-Date: 2020-01-08 09:01:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:01:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:01:09 ==> Jenkins CI detected. 09:01:09 current dir:  /w/workspace/foundry_device-virtual-go_PR-415 09:01:09 project root: . 09:01:09 --> token set from env 09:01:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:01:09 ==> Running gcov in . (disable via -X gcov) 09:01:09 ==> Python coveragepy not found 09:01:09 ==> Searching for coverage reports in: 09:01:09 + . 09:01:09 -> Found 1 reports 09:01:09 ==> Detecting git/mercurial file structure 09:01:09 ==> Reading reports 09:01:09 + ./coverage.out bytes=43063 09:01:09 ==> Appending adjustments 09:01:09 https://docs.codecov.io/docs/fixing-reports 09:01:09 + Found adjustments 09:01:09 ==> Gzipping contents 09:01:09 8.0K /tmp/codecov.cWB4k3.gz 09:01:09 ==> Uploading reports 09:01:09 url: https://codecov.io 09:01:09 query: branch=PR-415&commit=94d9a94124bf97c3d6296d2f62bb772b3a6290e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=415&job=&cmd_args= 09:01:09 -> Pinging Codecov 09:01:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-415&commit=94d9a94124bf97c3d6296d2f62bb772b3a6290e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=415&job=&cmd_args= 09:01:09 -> Uploading to 09:01:09 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/5E52B4B073DB2E39498172D8E973AA87/94d9a94124bf97c3d6296d2f62bb772b3a6290e0/c1fd4262-59fe-49b0-862b-d064734c655e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T090109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f4daffd02ce2c668bcbedcb2ba7544d073976c4aaf86142be33979fd8d35e23 09:01:09 % Total % Received % Xferd Average Speed Time Time Time Current 09:01:09 Dload Upload Total Spent Left Speed 09:01:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21690 --:--:-- --:--:-- --:--:-- 21690 09:01:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/94d9a94124bf97c3d6296d2f62bb772b3a6290e0 [Pipeline] } 09:01:10 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 09:01:11 + [ -d /w/workspace/foundry_device-virtual-go_PR-415/archives ] 09:01:11 + ls -al /w/workspace/foundry_device-virtual-go_PR-415/archives 09:01:11 total 16 09:01:11 drwxr-xr-x 3 root root 4096 Jul 19 08:49 . 09:01:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 08:49 .. 09:01:11 drwxr-xr-x 2 root root 4096 Jul 19 08:49 cost 09:01:11 -rw-r--r-- 1 root root 89 Jul 19 08:49 cost.csv 09:01:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-415/archives 09:01:11 + ls -al /w/workspace/foundry_device-virtual-go_PR-415/archives 09:01:11 total 16 09:01:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 08:49 . 09:01:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 08:49 .. 09:01:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 08:49 cost 09:01:11 -rw-r--r-- 1 jenkins jenkins 89 Jul 19 08:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:01:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:01:13 ---> package-listing.sh 09:01:13 ++ facter osfamily 09:01:13 ++ tr '[:upper:]' '[:lower:]' 09:01:13 + OS_FAMILY=debian 09:01:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-415 09:01:13 + START_PACKAGES=/tmp/packages_start.txt 09:01:13 + END_PACKAGES=/tmp/packages_end.txt 09:01:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:01:13 + PACKAGES=/tmp/packages_start.txt 09:01:13 + '[' /w/workspace/foundry_device-virtual-go_PR-415 ']' 09:01:13 + PACKAGES=/tmp/packages_end.txt 09:01:13 + case "${OS_FAMILY}" in 09:01:13 + dpkg -l 09:01:13 + grep '^ii' 09:01:13 + '[' -f /tmp/packages_start.txt ']' 09:01:13 + '[' -f /tmp/packages_end.txt ']' 09:01:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:01:13 + '[' /w/workspace/foundry_device-virtual-go_PR-415 ']' 09:01:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-415/archives/ 09:01:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-415/archives/ [Pipeline] echo 09:01:13 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-415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:01:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:14 prd-ubuntu20.04-docker-8c-8g-1522 does not seem to be running inside a container 09:01:14 $ 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-415/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-415 -v /w/workspace/foundry_device-virtual-go_PR-415:/w/workspace/foundry_device-virtual-go_PR-415:rw,z -v /w/workspace/foundry_device-virtual-go_PR-415@tmp:/w/workspace/foundry_device-virtual-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:01:15 $ docker top 2f2d1036fe3555a40acc5b99f88adf3cf5ec0060d5cd990028f79ad55418a68f -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:15 + touch /tmp/pre-build-complete [Pipeline] sh 09:01:16 + mkdir -p /var/log/sysstat [Pipeline] sh 09:01:16 + ls /var/log/sa-host 09:01:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:16 provisioning config files... 09:01:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-415@tmp/config3797501911807124693tmp [Pipeline] { [Pipeline] echo 09:01:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:01:17 ---> create-netrc.sh [Pipeline] } 09:01:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:01:17 ---> python-tools-install.sh [Pipeline] echo 09:01:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:01:18 ---> sudo-logs.sh 09:01:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:01:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:01:18 ---> job-cost.sh 09:01:18 lf-activate-venv: SKIPPING 09:01:18 DEBUG: total: 0.2199999988079071 09:01:18 INFO: Retrieving Stack Cost... 09:01:18 INFO: Retrieving Pricing Info for: v3-standard-8 09:01:19 INFO: Archiving Costs [Pipeline] echo 09:01:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:01:19 ---> logs-deploy.sh 09:01:19 lf-activate-venv: SKIPPING 09:01:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-415/1 09:01:19 INFO: archiving workspace using pattern(s): 09:01:20 Archives upload complete. 09:01:20 INFO: archiving logs to Nexus