Pull request #352 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 623dd1ffd4298bea9848920c131d0f9ca3b39344+7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd (7d99a8e54f335a8fc15c63d8a3c8851582e7c3bf) 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-ssh9844758793549161776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4795923258065793615.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-352/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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1340735126864095086.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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6512189580386217946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6660774360780642476.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-352/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-352/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15370857389387824112.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9867 in /w/workspace/foundry_device-virtual-go_PR-352 [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-352 # 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/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd into PR head commit 623dd1ffd4298bea9848920c131d0f9ca3b39344 Merge succeeded, producing 623dd1ffd4298bea9848920c131d0f9ca3b39344 Checking out Revision 623dd1ffd4298bea9848920c131d0f9ca3b39344 (PR-352) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:58:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 623dd1ffd4298bea9848920c131d0f9ca3b39344 # 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 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 623dd1ffd4298bea9848920c131d0f9ca3b39344 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:58:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:58:22 ========================================================= 11:58:22 EdgeX Global Pipelines Version Info 11:58:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:58:23 ------------------- 11:58:23 stable info: 11:58:23 ------------------- 11:58:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:58:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:58:23 Message: update stable to v1.0.244 11:58:23 ------------------- 11:58:23 experimental info: 11:58:23 ------------------- 11:58:23 Commited By: **** collab-it+edgex@linuxfoundation.org 11:58:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:58:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:58:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 623dd1ffd4298bea9848920c131d0f9ca3b39344 [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 623dd1f [Pipeline] echo 11:58:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:25 provisioning config files... 11:58:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-352@tmp/config4410497041216950241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:25 ---> docker-login.sh 11:58:25 nexus3.edgexfoundry.org:10001 11:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:26 Configure a credential helper to remove this warning. See 11:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:26 11:58:26 Login Succeeded 11:58:26 nexus3.edgexfoundry.org:10002 11:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:26 Configure a credential helper to remove this warning. See 11:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:26 11:58:26 Login Succeeded 11:58:26 nexus3.edgexfoundry.org:10003 11:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:26 Configure a credential helper to remove this warning. See 11:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:26 11:58:26 Login Succeeded 11:58:26 nexus3.edgexfoundry.org:10004 11:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:26 Configure a credential helper to remove this warning. See 11:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:26 11:58:26 Login Succeeded 11:58:26 docker.io 11:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:26 Configure a credential helper to remove this warning. See 11:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:26 11:58:26 Login Succeeded 11:58:26 ---> docker-login.sh ends [Pipeline] } 11:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:58:27 + git rev-list -1 --merges 623dd1ffd4298bea9848920c131d0f9ca3b39344~1..623dd1ffd4298bea9848920c131d0f9ca3b39344 [Pipeline] echo 11:58:27 -----------> git rev-list -1 --merges 623dd1ffd4298bea9848920c131d0f9ca3b39344~1..623dd1ffd4298bea9848920c131d0f9ca3b39344 623dd1ffd4298bea9848920c131d0f9ca3b39344 [false] [Pipeline] sh 11:58:27 + git log --format=format:%s -1 623dd1ffd4298bea9848920c131d0f9ca3b39344 [Pipeline] echo 11:58:28 ========================================================= 11:58:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:58:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:28 + git log --format=format:%s -1 623dd1ffd4298bea9848920c131d0f9ca3b39344 [Pipeline] echo 11:58:28 [semverPrep] GIT_COMMIT: 623dd1ffd4298bea9848920c131d0f9ca3b39344, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:58:28 [semverPrep] This is not a build commit. [Pipeline] sh 11:58:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:58:28 + grep -v github /etc/ssh/ssh_known_hosts 11:58:28 + [ -e /tmp/ssh_known_hosts ] 11:58:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:58:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:58:28 + sudo tee -a /etc/ssh/ssh_known_hosts 11:58:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:29 11:58:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:29 0.1.4: Pulling from edgex-devops/py-git-semver 11:58:29 b85a868b505f: Pulling fs layer 11:58:29 e2be974225ed: Pulling fs layer 11:58:29 339a4e72a1f5: Pulling fs layer 11:58:29 988bab9f4d93: Pulling fs layer 11:58:29 1469e6f7b9e6: Pulling fs layer 11:58:29 eaf3925da568: Pulling fs layer 11:58:29 bab4dde63d76: Pulling fs layer 11:58:29 bde34c3a00c8: Pulling fs layer 11:58:29 b352a97aabf1: Pulling fs layer 11:58:29 4872d77fe225: Pulling fs layer 11:58:29 5851b861e8e6: Pulling fs layer 11:58:29 eaf3925da568: Waiting 11:58:29 bab4dde63d76: Waiting 11:58:29 bde34c3a00c8: Waiting 11:58:29 b352a97aabf1: Waiting 11:58:29 4872d77fe225: Waiting 11:58:29 988bab9f4d93: Waiting 11:58:29 5851b861e8e6: Waiting 11:58:29 1469e6f7b9e6: Waiting 11:58:29 e2be974225ed: Verifying Checksum 11:58:29 e2be974225ed: Download complete 11:58:29 988bab9f4d93: Verifying Checksum 11:58:29 988bab9f4d93: Download complete 11:58:30 1469e6f7b9e6: Verifying Checksum 11:58:30 1469e6f7b9e6: Download complete 11:58:30 339a4e72a1f5: Verifying Checksum 11:58:30 339a4e72a1f5: Download complete 11:58:30 eaf3925da568: Download complete 11:58:30 bde34c3a00c8: Download complete 11:58:30 b352a97aabf1: Verifying Checksum 11:58:30 b352a97aabf1: Download complete 11:58:30 4872d77fe225: Download complete 11:58:30 5851b861e8e6: Download complete 11:58:30 b85a868b505f: Download complete 11:58:30 bab4dde63d76: Verifying Checksum 11:58:30 bab4dde63d76: Download complete 11:58:31 b85a868b505f: Pull complete 11:58:31 e2be974225ed: Pull complete 11:58:32 339a4e72a1f5: Pull complete 11:58:32 988bab9f4d93: Pull complete 11:58:32 1469e6f7b9e6: Pull complete 11:58:32 eaf3925da568: Pull complete 11:58:34 bab4dde63d76: Pull complete 11:58:34 bde34c3a00c8: Pull complete 11:58:34 b352a97aabf1: Pull complete 11:58:34 4872d77fe225: Pull complete 11:58:34 5851b861e8e6: Pull complete 11:58:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:58:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:35 prd-ubuntu20.04-docker-8c-8g-9867 does not seem to be running inside a container 11:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-352 -v /w/workspace/foundry_device-virtual-go_PR-352:/w/workspace/foundry_device-virtual-go_PR-352:rw,z -v /w/workspace/foundry_device-virtual-go_PR-352@tmp:/w/workspace/foundry_device-virtual-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:58:36 $ docker top 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f -eo pid,comm 11:58:36 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). 11:58:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:58:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:58:36 [ssh-agent] Looking for ssh-agent implementation... 11:58:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:58:36 $ docker exec 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f ssh-agent 11:58:36 SSH_AUTH_SOCK=/tmp/ssh-SXwnGlIiWFGh/agent.32 11:58:36 SSH_AGENT_PID=38 11:58:36 Running ssh-add (command line suppressed) 11:58:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-352@tmp/private_key_13686792630482576672.key (/w/workspace/foundry_device-virtual-go_PR-352@tmp/private_key_13686792630482576672.key) 11:58:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:58:37 + git tag --points-at HEAD [Pipeline] } 11:58:37 $ docker exec --env ******** --env ******** 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f ssh-agent -k 11:58:37 unset SSH_AUTH_SOCK; 11:58:37 unset SSH_AGENT_PID; 11:58:37 echo Agent pid 38 killed; 11:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:58:37 [ssh-agent] Looking for ssh-agent implementation... 11:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:58:37 $ docker exec 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f ssh-agent 11:58:37 SSH_AUTH_SOCK=/tmp/ssh-PskgUTkdesGd/agent.70 11:58:37 SSH_AGENT_PID=76 11:58:37 Running ssh-add (command line suppressed) 11:58:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-352@tmp/private_key_11761043460955182537.key (/w/workspace/foundry_device-virtual-go_PR-352@tmp/private_key_11761043460955182537.key) 11:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:58:38 + git semver init 11:58:38 2023-03-13 11:58:38,356 [run_init] DEBUG init version:0.0.0 force:False 11:58:38 2023-03-13 11:58:38,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-352/.semver 11:58:38 2023-03-13 11:58:38,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-352/.semver 11:58:38 2023-03-13 11:58:38,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-352/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-352, universal_newlines=False, shell=None, istream=None) 11:58:39 2023-03-13 11:58:39,375 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-352/.git/info/exclude 11:58:39 2023-03-13 11:58:39,376 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-352/.semver/PR-352 with force:False 11:58:39 2023-03-13 11:58:39,376 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-352/.semver/PR-352 11:58:39 2023-03-13 11:58:39,382 [execute] INFO git cat-file --batch-check 11:58:39 2023-03-13 11:58:39,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) 11:58:39 2023-03-13 11:58:39,391 [execute] INFO git cat-file --batch 11:58:39 2023-03-13 11:58:39,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) 11:58:39 2023-03-13 11:58:39,398 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-352/.semver/PR-352 11:58:39 0.0.0 [Pipeline] } 11:58:39 $ docker exec --env ******** --env ******** 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f ssh-agent -k 11:58:39 unset SSH_AUTH_SOCK; 11:58:39 unset SSH_AGENT_PID; 11:58:39 echo Agent pid 76 killed; 11:58:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:58:40 + git semver [Pipeline] } 11:58:40 $ docker stop --time=1 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f 11:58:41 $ docker rm -f --volumes 697f2fc318938bc8441ca672878dd5817de96924f92a8ba5a32cd57dd885f61f [Pipeline] // withDockerContainer [Pipeline] sh 11:58:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:58:42 Stashed 1 file(s) [Pipeline] echo 11:58:42 [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 11:58:43 provisioning config files... 11:58:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-352@tmp/config5875594527819216089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:43 ---> docker-login.sh 11:58:43 nexus3.edgexfoundry.org:10001 11:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:43 Configure a credential helper to remove this warning. See 11:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:43 11:58:43 Login Succeeded 11:58:43 nexus3.edgexfoundry.org:10002 11:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:43 Configure a credential helper to remove this warning. See 11:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:43 11:58:43 Login Succeeded 11:58:43 nexus3.edgexfoundry.org:10003 11:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:43 Configure a credential helper to remove this warning. See 11:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:43 11:58:43 Login Succeeded 11:58:43 nexus3.edgexfoundry.org:10004 11:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:43 Configure a credential helper to remove this warning. See 11:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:43 11:58:43 Login Succeeded 11:58:43 docker.io 11:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:43 Configure a credential helper to remove this warning. See 11:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:43 11:58:43 Login Succeeded 11:58:43 ---> docker-login.sh ends [Pipeline] } 11:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:44 ========================================================= 11:58:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:58:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:58:44 Sending build context to Docker daemon 23.41MB 11:58:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:58:44 Step 2/12 : FROM ${BASE} AS builder 11:58:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:58:44 213ec9aee27d: Pulling fs layer 11:58:44 4583459ba037: Pulling fs layer 11:58:44 93c1e223e6f2: Pulling fs layer 11:58:44 53926ce57604: Pulling fs layer 11:58:44 21b2b0c7a3f4: Pulling fs layer 11:58:44 22ff95d597cd: Pulling fs layer 11:58:44 12d6caf4c0d1: Pulling fs layer 11:58:44 96b7cbca73a9: Pulling fs layer 11:58:44 a7acece74701: Pulling fs layer 11:58:44 22ff95d597cd: Waiting 11:58:44 12d6caf4c0d1: Waiting 11:58:44 96b7cbca73a9: Waiting 11:58:44 53926ce57604: Waiting 11:58:44 a7acece74701: Waiting 11:58:44 21b2b0c7a3f4: Waiting 11:58:44 93c1e223e6f2: Download complete 11:58:44 4583459ba037: Download complete 11:58:44 21b2b0c7a3f4: Verifying Checksum 11:58:44 21b2b0c7a3f4: Download complete 11:58:44 22ff95d597cd: Verifying Checksum 11:58:44 22ff95d597cd: Download complete 11:58:44 213ec9aee27d: Verifying Checksum 11:58:44 213ec9aee27d: Download complete 11:58:44 12d6caf4c0d1: Verifying Checksum 11:58:44 12d6caf4c0d1: Download complete 11:58:44 213ec9aee27d: Pull complete 11:58:45 4583459ba037: Pull complete 11:58:45 93c1e223e6f2: Pull complete 11:58:45 a7acece74701: Verifying Checksum 11:58:45 a7acece74701: Download complete 11:58:46 53926ce57604: Verifying Checksum 11:58:46 53926ce57604: Download complete 11:58:46 96b7cbca73a9: Download complete 11:58:50 53926ce57604: Pull complete 11:58:50 21b2b0c7a3f4: Pull complete 11:58:50 22ff95d597cd: Pull complete 11:58:50 12d6caf4c0d1: Pull complete 11:58:52 96b7cbca73a9: Pull complete 11:58:52 a7acece74701: Pull complete 11:58:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 11:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:58:52 ---> db6d94c90886 11:58:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:58:54 ---> Running in 9cb45d4eab3b 11:58:54 Removing intermediate container 9cb45d4eab3b 11:58:54 ---> 7aa898e6526c 11:58:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:58:54 ---> Running in 8074fc26f47d 11:58:54 Removing intermediate container 8074fc26f47d 11:58:54 ---> 1d1b2f7aa108 11:58:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:58:54 ---> Running in f797ab5601e3 11:58:54 Removing intermediate container f797ab5601e3 11:58:54 ---> b13384f1c751 11:58:54 Step 6/12 : WORKDIR /device-virtual-go 11:58:54 ---> Running in 2d553f018cb7 11:58:54 Removing intermediate container 2d553f018cb7 11:58:54 ---> 1395b0e26596 11:58:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:54 ---> Running in 73020ca2cd9f 11:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:58:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:58:55 (2/4) Installing libedit (20210910.3.1-r0) 11:58:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:58:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:58:55 Executing busybox-1.35.0-r17.trigger 11:58:55 OK: 216 MiB in 55 packages 11:58:56 Removing intermediate container 73020ca2cd9f 11:58:56 ---> e5a55990aa07 11:58:56 Step 8/12 : COPY go.mod vendor* ./ 11:58:56 ---> 018666f09111 11:58:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:56 ---> Running in fed666f9b82a 11:58:57 Still waiting to schedule task 11:58:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:59:28 Removing intermediate container fed666f9b82a 11:59:28 ---> 639841cc1eea 11:59:28 Step 10/12 : COPY . . 11:59:28 ---> d340b2ff75ac 11:59:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:59:28 ---> Running in 287710a0c929 11:59:28 Removing intermediate container 287710a0c929 11:59:28 ---> 6e3baaf0b4b0 11:59:28 Step 12/12 : RUN $MAKE 11:59:28 ---> Running in a02c260cf580 11:59:28 noop 11:59:28 Removing intermediate container a02c260cf580 11:59:28 ---> 833760eadcab 11:59:28 Successfully built 833760eadcab 11:59:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:28 + docker inspect -f . ci-base-image-x86_64 11:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:28 prd-ubuntu20.04-docker-8c-8g-9867 does not seem to be running inside a container 11:59:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-352 -v /w/workspace/foundry_device-virtual-go_PR-352:/w/workspace/foundry_device-virtual-go_PR-352:rw,z -v /w/workspace/foundry_device-virtual-go_PR-352@tmp:/w/workspace/foundry_device-virtual-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:29 $ docker top 41945486031f5e490a27b43ee4eb5c1077d999119b5fb2d458f5d4676934558c -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:29 + go version 11:59:29 go version go1.18.7 linux/amd64 [Pipeline] } 11:59:29 $ docker stop --time=1 41945486031f5e490a27b43ee4eb5c1077d999119b5fb2d458f5d4676934558c 11:59:30 $ docker rm -f --volumes 41945486031f5e490a27b43ee4eb5c1077d999119b5fb2d458f5d4676934558c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:31 + docker inspect -f . ci-base-image-x86_64 11:59:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:31 prd-ubuntu20.04-docker-8c-8g-9867 does not seem to be running inside a container 11:59:31 $ 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-352 -v /w/workspace/foundry_device-virtual-go_PR-352:/w/workspace/foundry_device-virtual-go_PR-352:rw,z -v /w/workspace/foundry_device-virtual-go_PR-352@tmp:/w/workspace/foundry_device-virtual-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:32 $ docker top 0fddcebf608feeaff3f113a401b7fba312bb46cf2c013e2c2645d319c9701dcc -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:32 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-352 [Pipeline] fileExists [Pipeline] sh 11:59:32 + make test 11:59:32 go test ./... -coverprofile=coverage.out 11:59:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:59:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:59:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 11:59:48 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:59:48 go vet ./... 11:59:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:59:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:59:51 ./bin/test-attribution-txt.sh [Pipeline] echo 11:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:59:51 $ docker stop --time=1 0fddcebf608feeaff3f113a401b7fba312bb46cf2c013e2c2645d319c9701dcc 11:59:53 $ docker rm -f --volumes 0fddcebf608feeaff3f113a401b7fba312bb46cf2c013e2c2645d319c9701dcc [Pipeline] // withDockerContainer [Pipeline] sh 11:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:59:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:59:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:59:54 + ls -al . 11:59:54 total 192 11:59:54 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 11:59 . 11:59:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 11:58 .. 11:59:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 11:59 .git 11:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 11:58 .github 11:59:54 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 11:58 .gitignore 11:59:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 11:58 .golangci.yml 11:59:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 11:58 .semver 11:59:54 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 11:58 Attribution.txt 11:59:54 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 11:58 CHANGELOG.md 11:59:54 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 11:58 Dockerfile 11:59:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 11:58 GOVERNANCE.md 11:59:54 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 11:58 Jenkinsfile 11:59:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 11:58 LICENSE 11:59:54 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 11:58 Makefile 11:59:54 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 11:58 OWNERS.md 11:59:54 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 11:58 README.md 11:59:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 11:58 VERSION 11:59:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 11:58 bin 11:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 11:58 cmd 11:59:54 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 11:59 coverage.out 11:59:54 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 11:58 go.mod 11:59:54 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 11:58 go.sum 11:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 11:58 internal 11:59:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 11:58 snap 11:59:54 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:55 + 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=623dd1ffd4298bea9848920c131d0f9ca3b39344 --label arch=amd64 --label version=0.0.0 . 11:59:55 Sending build context to Docker daemon 23.46MB 11:59:55 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:59:55 Step 2/25 : FROM ${BASE} AS builder 11:59:55 ---> 833760eadcab 11:59:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:59:55 ---> Running in 1c13ed6b3157 11:59:55 Removing intermediate container 1c13ed6b3157 11:59:55 ---> af92e4acd13c 11:59:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:59:55 ---> Running in cd776f53e9c2 11:59:55 Removing intermediate container cd776f53e9c2 11:59:55 ---> d665241212c0 11:59:55 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:59:55 ---> Running in 48cec011350f 11:59:55 Removing intermediate container 48cec011350f 11:59:55 ---> f772b71173e6 11:59:55 Step 6/25 : WORKDIR /device-virtual-go 11:59:55 ---> Running in 68de21047fd9 11:59:55 Removing intermediate container 68de21047fd9 11:59:55 ---> 13e3466abf52 11:59:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:59:55 ---> Running in 867f27d66997 11:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:59:56 OK: 216 MiB in 55 packages 11:59:57 Removing intermediate container 867f27d66997 11:59:57 ---> 63daa38a848f 11:59:57 Step 8/25 : COPY go.mod vendor* ./ 11:59:57 ---> 7e1e649087b7 11:59:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:57 ---> Running in 274fc3b1634b 11:59:57 Removing intermediate container 274fc3b1634b 11:59:57 ---> d298c43a2044 11:59:57 Step 10/25 : COPY . . 11:59:58 ---> 5cd4e4cbc57d 11:59:58 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:59:58 ---> Running in 7d1a97bc28c2 11:59:58 Removing intermediate container 7d1a97bc28c2 11:59:58 ---> 6779a54bc375 11:59:58 Step 12/25 : RUN $MAKE 11:59:58 ---> Running in 711220d3ecbb 11:59:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:00:16 Removing intermediate container 711220d3ecbb 12:00:16 ---> 0a36a0bd0144 12:00:16 Step 13/25 : FROM alpine:3.16 12:00:18 3.16: Pulling from library/alpine 12:00:18 ef5531b6e74e: Pulling fs layer 12:00:18 ef5531b6e74e: Verifying Checksum 12:00:18 ef5531b6e74e: Download complete 12:00:19 ef5531b6e74e: Pull complete 12:00:19 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:00:19 Status: Downloaded newer image for alpine:3.16 12:00:19 ---> dfd21b5a31f5 12:00:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:00:19 ---> Running in 2ac2d0d446c8 12:00:19 Removing intermediate container 2ac2d0d446c8 12:00:19 ---> 4d72a3cfd351 12:00:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:00:19 ---> Running in 77e280141d2e 12:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:00:19 (1/1) Installing dumb-init (1.2.5-r1) 12:00:19 Executing busybox-1.35.0-r17.trigger 12:00:19 OK: 6 MiB in 15 packages 12:00:20 Removing intermediate container 77e280141d2e 12:00:20 ---> d5089b64ee48 12:00:20 Step 16/25 : WORKDIR / 12:00:20 ---> Running in b0d3b3ac9fd9 12:00:20 Removing intermediate container b0d3b3ac9fd9 12:00:20 ---> 3046b0cc3109 12:00:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:00:20 ---> 26dbf9463ff6 12:00:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:00:20 ---> 668d92af0018 12:00:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:00:21 ---> ddc0c87f072f 12:00:21 Step 20/25 : EXPOSE 59900 12:00:21 ---> Running in cd72386820b4 12:00:21 Removing intermediate container cd72386820b4 12:00:21 ---> bece562ff97f 12:00:21 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:00:21 ---> Running in 0c5e06f99700 12:00:21 Removing intermediate container 0c5e06f99700 12:00:21 ---> 1a687cc6f882 12:00:21 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:00:21 ---> Running in 851c048572e4 12:00:21 Removing intermediate container 851c048572e4 12:00:21 ---> 183a1d374701 12:00:21 Step 23/25 : LABEL arch=amd64 12:00:21 ---> Running in aa41346d3c0e 12:00:21 Removing intermediate container aa41346d3c0e 12:00:21 ---> ded26a544d0a 12:00:21 Step 24/25 : LABEL git_sha=623dd1ffd4298bea9848920c131d0f9ca3b39344 12:00:21 ---> Running in 3abf29bc7eb0 12:00:21 Removing intermediate container 3abf29bc7eb0 12:00:21 ---> 6e8de7437496 12:00:21 Step 25/25 : LABEL version=0.0.0 12:00:21 ---> Running in b482c7e55376 12:00:21 Removing intermediate container b482c7e55376 12:00:21 ---> 8b3bd2b4cdb9 12:00:21 [Warning] One or more build-args [ARCH] were not consumed 12:00:21 Successfully built 8b3bd2b4cdb9 12:00:21 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 12:00:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:22 12:00:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:23 latest: Pulling from edgex-lftools-log-publisher 12:00:23 5eb5b503b376: Pulling fs layer 12:00:23 5c69ac0246d0: Pulling fs layer 12:00:23 ec43610c2a17: Pulling fs layer 12:00:23 3a2ae6a8a46f: Pulling fs layer 12:00:23 33b1e0a273af: Pulling fs layer 12:00:23 5d3b04190fa2: Pulling fs layer 12:00:23 2f39f015ded8: Pulling fs layer 12:00:23 3a2ae6a8a46f: Waiting 12:00:23 33b1e0a273af: Waiting 12:00:23 5d3b04190fa2: Waiting 12:00:23 2f39f015ded8: Waiting 12:00:23 5c69ac0246d0: Verifying Checksum 12:00:23 5c69ac0246d0: Download complete 12:00:23 3a2ae6a8a46f: Download complete 12:00:23 33b1e0a273af: Verifying Checksum 12:00:23 33b1e0a273af: Download complete 12:00:23 ec43610c2a17: Verifying Checksum 12:00:23 ec43610c2a17: Download complete 12:00:23 5d3b04190fa2: Verifying Checksum 12:00:23 5d3b04190fa2: Download complete 12:00:23 5eb5b503b376: Download complete 12:00:23 2f39f015ded8: Download complete 12:00:24 5eb5b503b376: Pull complete 12:00:24 5c69ac0246d0: Pull complete 12:00:24 ec43610c2a17: Pull complete 12:00:25 3a2ae6a8a46f: Pull complete 12:00:25 33b1e0a273af: Pull complete 12:00:25 5d3b04190fa2: Pull complete 12:00:29 2f39f015ded8: Pull complete 12:00:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:00:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:29 prd-ubuntu20.04-docker-8c-8g-9867 does not seem to be running inside a container 12:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-352 -v /w/workspace/foundry_device-virtual-go_PR-352:/w/workspace/foundry_device-virtual-go_PR-352:rw,z -v /w/workspace/foundry_device-virtual-go_PR-352@tmp:/w/workspace/foundry_device-virtual-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:00:31 $ docker top a6012249b417cb1bc633c9bd2e350f5f45e8b828034c725a1d21edb23a71285b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:31 ---> job-cost.sh 12:00:31 lf-activate-venv: SKIPPING 12:00:31 INFO: No Stack... 12:00:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:00:32 INFO: Archiving Costs [Pipeline] sh 12:00:32 + cat /w/workspace/foundry_device-virtual-go_PR-352/archives/cost.csv 12:00:32 + cut -d, -f6 [Pipeline] lock 12:00:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] 12:00:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] did not exist. Created. 12:00:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:00:33 + echo total: 0.2199999988079071 [Pipeline] stash 12:00:33 Stashed 1 file(s) [Pipeline] } 12:00:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:00:33 $ docker stop --time=1 a6012249b417cb1bc633c9bd2e350f5f45e8b828034c725a1d21edb23a71285b 12:00:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9869 in /w/workspace/foundry_device-virtual-go_PR-352 12:00:34 $ docker rm -f --volumes a6012249b417cb1bc633c9bd2e350f5f45e8b828034c725a1d21edb23a71285b [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 12:00:34 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:00:34 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:00:39 using credential edgex-jenkins-ssh 12:00:39 Cloning the remote Git repository 12:00:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:00:39 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:00:39 > git --version # timeout=10 12:00:39 > git --version # 'git version 2.25.1' 12:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:00:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:00:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:00:42 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:00:43 Merging remotes/origin/main commit 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd into PR head commit 623dd1ffd4298bea9848920c131d0f9ca3b39344 12:00:43 Merge succeeded, producing 623dd1ffd4298bea9848920c131d0f9ca3b39344 12:00:43 Checking out Revision 623dd1ffd4298bea9848920c131d0f9ca3b39344 (PR-352) 12:00:44 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 12:00:44 > git --version # timeout=10 12:00:44 > git --version # 'git version 2.25.1' 12:00:44 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 12:00:43 > git config core.sparsecheckout # timeout=10 12:00:43 > git checkout -f 623dd1ffd4298bea9848920c131d0f9ca3b39344 # timeout=10 12:00:43 > git remote # timeout=10 12:00:43 > git config --get remote.origin.url # timeout=10 12:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:43 > git merge 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd # timeout=10 12:00:43 > git rev-parse HEAD^{commit} # timeout=10 12:00:43 > git config core.sparsecheckout # timeout=10 12:00:43 > git checkout -f 623dd1ffd4298bea9848920c131d0f9ca3b39344 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:00:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:00:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:00:45 Dload Upload Total Spent Left Speed 12:00:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66759 0 --:--:-- --:--:-- --:--:-- 66759 [Pipeline] sh 12:00:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:00:46 + sudo tee /etc/docker/daemon.new 12:00:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:00:46 { 12:00:46 "registry-mirrors": [ 12:00:46 "https://nexus3.edgexfoundry.org:10001" 12:00:46 ], 12:00:46 "bip": "10.250.0.254/24", 12:00:46 "hosts": [ 12:00:46 "tcp://0.0.0.0:5555", 12:00:46 "unix:///var/run/docker.sock" 12:00:46 ], 12:00:46 "mtu": 1458, 12:00:46 "selinux-enabled": true, 12:00:46 "seccomp-profile": "/etc/docker/seccomp.json" 12:00:46 } [Pipeline] sh 12:00:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:00:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:05 provisioning config files... 12:01:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17185273102345592808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:05 ---> docker-login.sh 12:01:05 nexus3.edgexfoundry.org:10001 12:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:06 Configure a credential helper to remove this warning. See 12:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:06 12:01:06 Login Succeeded 12:01:06 nexus3.edgexfoundry.org:10002 12:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:06 Configure a credential helper to remove this warning. See 12:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:06 12:01:06 Login Succeeded 12:01:06 nexus3.edgexfoundry.org:10003 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10004 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 docker.io 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:08 Configure a credential helper to remove this warning. See 12:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:08 12:01:08 Login Succeeded 12:01:08 ---> docker-login.sh ends [Pipeline] } 12:01:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:08 ========================================================= 12:01:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:01:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:01:09 Sending build context to Docker daemon 11.86MB 12:01:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:01:09 Step 2/12 : FROM ${BASE} AS builder 12:01:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:01:13 9b18e9b68314: Pulling fs layer 12:01:13 35d82f9e3411: Pulling fs layer 12:01:13 e16973657156: Pulling fs layer 12:01:13 fc693d55d65f: Pulling fs layer 12:01:13 7e9fc2657dce: Pulling fs layer 12:01:13 dda99020689f: Pulling fs layer 12:01:13 db1c61fa0a46: Pulling fs layer 12:01:13 891c053d2c06: Pulling fs layer 12:01:13 dda99020689f: Waiting 12:01:13 db1c61fa0a46: Waiting 12:01:13 891c053d2c06: Waiting 12:01:13 fc693d55d65f: Waiting 12:01:13 7e9fc2657dce: Waiting 12:01:13 e16973657156: Verifying Checksum 12:01:13 e16973657156: Download complete 12:01:13 35d82f9e3411: Verifying Checksum 12:01:13 35d82f9e3411: Download complete 12:01:13 7e9fc2657dce: Verifying Checksum 12:01:13 7e9fc2657dce: Download complete 12:01:13 dda99020689f: Verifying Checksum 12:01:13 dda99020689f: Download complete 12:01:13 9b18e9b68314: Verifying Checksum 12:01:13 9b18e9b68314: Download complete 12:01:13 9b18e9b68314: Pull complete 12:01:14 891c053d2c06: Verifying Checksum 12:01:14 891c053d2c06: Download complete 12:01:14 35d82f9e3411: Pull complete 12:01:14 e16973657156: Pull complete 12:01:15 db1c61fa0a46: Verifying Checksum 12:01:15 db1c61fa0a46: Download complete 12:01:15 fc693d55d65f: Verifying Checksum 12:01:15 fc693d55d65f: Download complete 12:01:28 fc693d55d65f: Pull complete 12:01:28 7e9fc2657dce: Pull complete 12:01:28 dda99020689f: Pull complete 12:01:33 db1c61fa0a46: Pull complete 12:01:35 891c053d2c06: Pull complete 12:01:35 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:01:35 ---> f96f9c87975a 12:01:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:01:37 ---> Running in 9298f50eda12 12:01:37 Removing intermediate container 9298f50eda12 12:01:37 ---> 9fd0c0d4a34c 12:01:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:01:37 ---> Running in 1f450ed0f5c3 12:01:37 Removing intermediate container 1f450ed0f5c3 12:01:37 ---> 2b4656e91517 12:01:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:01:37 ---> Running in 84dbd02df355 12:01:38 Removing intermediate container 84dbd02df355 12:01:38 ---> e6b1c8668485 12:01:38 Step 6/12 : WORKDIR /device-virtual-go 12:01:38 ---> Running in 03904bef01eb 12:01:38 Removing intermediate container 03904bef01eb 12:01:38 ---> ffc92f555a21 12:01:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:38 ---> Running in 421dcad39df0 12:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:01:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:01:41 (2/4) Installing libedit (20210910.3.1-r0) 12:01:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:01:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:01:41 Executing busybox-1.35.0-r17.trigger 12:01:41 OK: 226 MiB in 55 packages 12:01:42 Removing intermediate container 421dcad39df0 12:01:42 ---> 222d1178bab3 12:01:42 Step 8/12 : COPY go.mod vendor* ./ 12:01:42 ---> 9d799335dbd5 12:01:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:42 ---> Running in 9f5c3322b30f 12:02:50 Removing intermediate container 9f5c3322b30f 12:02:50 ---> 1585dc77fabe 12:02:50 Step 10/12 : COPY . . 12:02:50 ---> 161e1d183da5 12:02:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:50 ---> Running in ee5b7f196ff3 12:02:50 Removing intermediate container ee5b7f196ff3 12:02:50 ---> d862b68b789d 12:02:50 Step 12/12 : RUN $MAKE 12:02:50 ---> Running in 915ffb839391 12:02:50 noop 12:02:50 Removing intermediate container 915ffb839391 12:02:50 ---> c3cc97eb0478 12:02:50 Successfully built c3cc97eb0478 12:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:51 + docker inspect -f . ci-base-image-arm64 12:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-9869 does not seem to be running inside a container 12:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:02:52 $ docker top 681888430c2a74b98806687b89a39185c6626d1e94ca6ce04dd610435dd88f45 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:53 + go version 12:02:53 go version go1.18.7 linux/arm64 [Pipeline] } 12:02:53 $ docker stop --time=1 681888430c2a74b98806687b89a39185c6626d1e94ca6ce04dd610435dd88f45 12:02:55 $ docker rm -f --volumes 681888430c2a74b98806687b89a39185c6626d1e94ca6ce04dd610435dd88f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:56 + docker inspect -f . ci-base-image-arm64 12:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-9869 does not seem to be running inside a container 12:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:02:58 $ docker top c548fc63b075497cc066890007c8eea5cd03eae0243c2f2d1b68567391d6ac12 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:59 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:02:59 + make test 12:02:59 go test ./... -coverprofile=coverage.out 12:03:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:04:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:04:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.165s coverage: 65.7% of statements 12:04:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:04:23 go vet ./... 12:04:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:04:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:45 $ docker stop --time=1 c548fc63b075497cc066890007c8eea5cd03eae0243c2f2d1b68567391d6ac12 12:04:47 $ docker rm -f --volumes c548fc63b075497cc066890007c8eea5cd03eae0243c2f2d1b68567391d6ac12 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:48 Warning: overwriting stash ‘coverage-report’ 12:04:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:49 + ls -al . 12:04:49 total 188 12:04:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 12:03 . 12:04:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 12:00 .. 12:04:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 12:00 .git 12:04:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 12:00 .github 12:04:49 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 12:00 .gitignore 12:04:49 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 12:00 .golangci.yml 12:04:49 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 12:00 Attribution.txt 12:04:49 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 12:00 CHANGELOG.md 12:04:49 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 12:00 Dockerfile 12:04:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 12:00 GOVERNANCE.md 12:04:49 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 12:00 Jenkinsfile 12:04:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 12:00 LICENSE 12:04:49 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 12:00 Makefile 12:04:49 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 12:00 OWNERS.md 12:04:49 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 12:00 README.md 12:04:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 11:58 VERSION 12:04:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 12:00 bin 12:04:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 12:00 cmd 12:04:49 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 12:04 coverage.out 12:04:49 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 12:00 go.mod 12:04:49 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 12:00 go.sum 12:04:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 12:00 internal 12:04:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 12:00 snap 12:04:49 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:50 + 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=623dd1ffd4298bea9848920c131d0f9ca3b39344 --label arch=arm64 --label version=0.0.0 . 12:04:50 Sending build context to Docker daemon 11.91MB 12:04:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 12:04:50 Step 2/25 : FROM ${BASE} AS builder 12:04:50 ---> c3cc97eb0478 12:04:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:04:50 ---> Running in a2e92f59deac 12:04:51 Removing intermediate container a2e92f59deac 12:04:51 ---> 7bbc08e4136e 12:04:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:04:51 ---> Running in d8c81070b7c0 12:04:51 Removing intermediate container d8c81070b7c0 12:04:51 ---> 2feb936d7eeb 12:04:51 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:04:51 ---> Running in f6dbab66bd5c 12:04:52 Removing intermediate container f6dbab66bd5c 12:04:52 ---> 54698eba32ac 12:04:52 Step 6/25 : WORKDIR /device-virtual-go 12:04:52 ---> Running in da63d80dc123 12:04:52 Removing intermediate container da63d80dc123 12:04:52 ---> 4738b93d6c72 12:04:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:52 ---> Running in c27fdebb35cf 12:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:04:55 OK: 226 MiB in 55 packages 12:04:56 Removing intermediate container c27fdebb35cf 12:04:56 ---> 9f89b64236e7 12:04:56 Step 8/25 : COPY go.mod vendor* ./ 12:04:56 ---> 5614be830edc 12:04:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:56 ---> Running in 9a9bc5cddb7a 12:05:00 Removing intermediate container 9a9bc5cddb7a 12:05:00 ---> a6e11e239477 12:05:00 Step 10/25 : COPY . . 12:05:00 ---> 7b78cc0ff46f 12:05:00 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:01 ---> Running in 3065764a6b09 12:05:01 Removing intermediate container 3065764a6b09 12:05:01 ---> 54e48140e6b9 12:05:01 Step 12/25 : RUN $MAKE 12:05:01 ---> Running in a80f2114cbfe 12:05:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:07:24 Removing intermediate container a80f2114cbfe 12:07:24 ---> 0dd89f79d89a 12:07:24 Step 13/25 : FROM alpine:3.16 12:07:24 3.16: Pulling from library/alpine 12:07:24 3760b48202b3: Pulling fs layer 12:07:24 3760b48202b3: Verifying Checksum 12:07:24 3760b48202b3: Download complete 12:07:24 3760b48202b3: Pull complete 12:07:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:07:24 Status: Downloaded newer image for alpine:3.16 12:07:24 ---> 4c81e5bf8899 12:07:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:07:24 ---> Running in 981696ff1de3 12:07:24 Removing intermediate container 981696ff1de3 12:07:24 ---> 6266de1c3c16 12:07:24 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:07:24 ---> Running in c3f0d9268a41 12:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:07:26 (1/1) Installing dumb-init (1.2.5-r1) 12:07:26 Executing busybox-1.35.0-r17.trigger 12:07:26 OK: 5 MiB in 15 packages 12:07:27 Removing intermediate container c3f0d9268a41 12:07:27 ---> df8241a7830c 12:07:27 Step 16/25 : WORKDIR / 12:07:27 ---> Running in c28103e8b4db 12:07:28 Removing intermediate container c28103e8b4db 12:07:28 ---> 98aa60055a15 12:07:28 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:07:28 ---> 70a9d8c9c908 12:07:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:07:28 ---> 3a75b746d044 12:07:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:07:30 ---> 4a3d1e08d377 12:07:30 Step 20/25 : EXPOSE 59900 12:07:30 ---> Running in 2ba4dc1dfc4e 12:07:30 Removing intermediate container 2ba4dc1dfc4e 12:07:30 ---> 4ac82e9018d2 12:07:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:07:30 ---> Running in cfdee259fe21 12:07:31 Removing intermediate container cfdee259fe21 12:07:31 ---> 80e67f9ae363 12:07:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:07:31 ---> Running in bd0e0c27435c 12:07:31 Removing intermediate container bd0e0c27435c 12:07:31 ---> 20cf84f1f308 12:07:31 Step 23/25 : LABEL arch=arm64 12:07:31 ---> Running in 4c7c554d7586 12:07:31 Removing intermediate container 4c7c554d7586 12:07:31 ---> 976614e43733 12:07:31 Step 24/25 : LABEL git_sha=623dd1ffd4298bea9848920c131d0f9ca3b39344 12:07:31 ---> Running in da3234a51023 12:07:31 Removing intermediate container da3234a51023 12:07:31 ---> fd3bff1abecc 12:07:31 Step 25/25 : LABEL version=0.0.0 12:07:32 ---> Running in 5d1bdae1e6b7 12:07:32 Removing intermediate container 5d1bdae1e6b7 12:07:32 ---> becf7419103b 12:07:32 [Warning] One or more build-args [ARCH] were not consumed 12:07:32 Successfully built becf7419103b 12:07:32 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 12:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:07:33 12:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:07:33 arm64: Pulling from edgex-lftools-log-publisher 12:07:33 8998bd30e6a1: Pulling fs layer 12:07:33 04944245beec: Pulling fs layer 12:07:33 699f458cf7ca: Pulling fs layer 12:07:33 765212b225bb: Pulling fs layer 12:07:33 f23df028b6ca: Pulling fs layer 12:07:33 d65c8cfc05b1: Pulling fs layer 12:07:33 2437ff75d9bd: Pulling fs layer 12:07:33 f23df028b6ca: Waiting 12:07:33 d65c8cfc05b1: Waiting 12:07:33 765212b225bb: Waiting 12:07:33 2437ff75d9bd: Waiting 12:07:33 04944245beec: Download complete 12:07:33 765212b225bb: Verifying Checksum 12:07:33 765212b225bb: Download complete 12:07:33 f23df028b6ca: Verifying Checksum 12:07:33 f23df028b6ca: Download complete 12:07:33 d65c8cfc05b1: Verifying Checksum 12:07:33 d65c8cfc05b1: Download complete 12:07:33 699f458cf7ca: Verifying Checksum 12:07:33 699f458cf7ca: Download complete 12:07:34 8998bd30e6a1: Verifying Checksum 12:07:34 8998bd30e6a1: Download complete 12:07:36 2437ff75d9bd: Verifying Checksum 12:07:36 2437ff75d9bd: Download complete 12:07:38 8998bd30e6a1: Pull complete 12:07:39 04944245beec: Pull complete 12:07:43 699f458cf7ca: Pull complete 12:07:43 765212b225bb: Pull complete 12:07:44 f23df028b6ca: Pull complete 12:07:44 d65c8cfc05b1: Pull complete 12:08:00 2437ff75d9bd: Pull complete 12:08:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:08:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:08:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:00 prd-ubuntu20.04-docker-arm64-4c-16g-9869 does not seem to be running inside a container 12:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:08:02 $ docker top 73f83fecc5deb152f3f76d02739485df6b1d2bd4dc99dac6105ad03fbb182ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:03 ---> job-cost.sh 12:08:03 lf-activate-venv: SKIPPING 12:08:03 INFO: No Stack... 12:08:04 INFO: Retrieving Pricing Info for: v3-standard-4 12:08:04 INFO: Archiving Costs [Pipeline] sh 12:08:05 + cut -d, -f6 12:08:05 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 12:08:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] 12:08:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] did not exist. Created. 12:08:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:08:06 /w/workspace/device-virtual-go/1@tmp/durable-492efe14/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:08:06 + echo total: 0.10999999940395355 [Pipeline] stash 12:08:06 Warning: overwriting stash ‘stack-cost’ 12:08:06 Stashed 1 file(s) [Pipeline] } 12:08:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:08:07 $ docker stop --time=1 73f83fecc5deb152f3f76d02739485df6b1d2bd4dc99dac6105ad03fbb182ecd 12:08:08 $ docker rm -f --volumes 73f83fecc5deb152f3f76d02739485df6b1d2bd4dc99dac6105ad03fbb182ecd [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 12:08:09 provisioning config files... 12:08:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-352@tmp/config8524040071696657937tmp [Pipeline] { [Pipeline] sh 12:08:09 + set +x 12:08:09 + bash -s -- 12:08:09 + curl -s https://codecov.io/bash 12:08:09 12:08:09 _____ _ 12:08:09 / ____| | | 12:08:09 | | ___ __| | ___ ___ _____ __ 12:08:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:08:09 | |___| (_) | (_| | __/ (_| (_) \ V / 12:08:09 \_____\___/ \__,_|\___|\___\___/ \_/ 12:08:09 Bash-1.0.6 12:08:09 12:08:09 12:08:09 ==> git version 2.25.1 found 12:08: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 12:08:09 Release-Date: 2020-01-08 12:08: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 12:08:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:08:09 ==> Jenkins CI detected. 12:08:09 current dir:  /w/workspace/foundry_device-virtual-go_PR-352 12:08:09 project root: . 12:08:09 --> token set from env 12:08:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:08:10 ==> Running gcov in . (disable via -X gcov) 12:08:10 ==> Python coveragepy not found 12:08:10 ==> Searching for coverage reports in: 12:08:10 + . 12:08:10 -> Found 1 reports 12:08:10 ==> Detecting git/mercurial file structure 12:08:10 ==> Reading reports 12:08:10 + ./coverage.out bytes=44127 12:08:10 ==> Appending adjustments 12:08:10 https://docs.codecov.io/docs/fixing-reports 12:08:10 + Found adjustments 12:08:10 ==> Gzipping contents 12:08:10 8.0K /tmp/codecov.rG8G8A.gz 12:08:10 ==> Uploading reports 12:08:10 url: https://codecov.io 12:08:10 query: branch=PR-352&commit=623dd1ffd4298bea9848920c131d0f9ca3b39344&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=352&job=&cmd_args= 12:08:10 -> Pinging Codecov 12:08:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-352&commit=623dd1ffd4298bea9848920c131d0f9ca3b39344&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=352&job=&cmd_args= 12:08:10 -> Uploading to 12:08:10 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/5E52B4B073DB2E39498172D8E973AA87/623dd1ffd4298bea9848920c131d0f9ca3b39344/77b4666a-4013-4775-9e96-1fdf172e0b77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T120810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af84bb9905eec693a567467c2181f8e87b8df2a3731ae2c982fedcc8bc1f307b 12:08:10 % Total % Received % Xferd Average Speed Time Time Time Current 12:08:10 Dload Upload Total Spent Left Speed 12:08:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5466 0 0 100 5466 0 18466 --:--:-- --:--:-- --:--:-- 18466 12:08:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/623dd1ffd4298bea9848920c131d0f9ca3b39344 [Pipeline] } 12:08: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 12:08:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-352/archives ] 12:08:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-352/archives 12:08:12 total 16 12:08:12 drwxr-xr-x 3 root root 4096 Mar 13 12:00 . 12:08:12 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 12:00 .. 12:08:12 drwxr-xr-x 2 root root 4096 Mar 13 12:00 cost 12:08:12 -rw-r--r-- 1 root root 89 Mar 13 12:00 cost.csv 12:08:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-352/archives 12:08:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-352/archives 12:08:12 total 16 12:08:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 12:00 . 12:08:12 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 12:00 .. 12:08:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 12:00 cost 12:08:12 -rw-r--r-- 1 jenkins jenkins 89 Mar 13 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:08:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:08:13 ---> package-listing.sh 12:08:13 ++ tr '[:upper:]' '[:lower:]' 12:08:13 ++ facter osfamily 12:08:13 + OS_FAMILY=debian 12:08:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-352 12:08:13 + START_PACKAGES=/tmp/packages_start.txt 12:08:13 + END_PACKAGES=/tmp/packages_end.txt 12:08:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:08:13 + PACKAGES=/tmp/packages_start.txt 12:08:13 + '[' /w/workspace/foundry_device-virtual-go_PR-352 ']' 12:08:13 + PACKAGES=/tmp/packages_end.txt 12:08:13 + case "${OS_FAMILY}" in 12:08:13 + dpkg -l 12:08:13 + grep '^ii' 12:08:13 + '[' -f /tmp/packages_start.txt ']' 12:08:13 + '[' -f /tmp/packages_end.txt ']' 12:08:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:08:13 + '[' /w/workspace/foundry_device-virtual-go_PR-352 ']' 12:08:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-352/archives/ 12:08:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-352/archives/ [Pipeline] echo 12:08: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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:08:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:08:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:15 prd-ubuntu20.04-docker-8c-8g-9867 does not seem to be running inside a container 12:08:15 $ 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-352/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-352 -v /w/workspace/foundry_device-virtual-go_PR-352:/w/workspace/foundry_device-virtual-go_PR-352:rw,z -v /w/workspace/foundry_device-virtual-go_PR-352@tmp:/w/workspace/foundry_device-virtual-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:08:15 $ docker top b47307fe5e25f393ace668285c98ad599d1020ab59a826a32785a46cc621d2c5 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:15 + touch /tmp/pre-build-complete [Pipeline] sh 12:08:15 + mkdir -p /var/log/sysstat [Pipeline] sh 12:08:16 + ls /var/log/sa-host 12:08:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:08:16 provisioning config files... 12:08:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-352@tmp/config15585847359417102029tmp [Pipeline] { [Pipeline] echo 12:08:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:08:16 ---> create-netrc.sh [Pipeline] } 12:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:08:17 ---> python-tools-install.sh [Pipeline] echo 12:08:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:08:17 ---> sudo-logs.sh 12:08:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:08:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:08:17 ---> job-cost.sh 12:08:17 lf-activate-venv: SKIPPING 12:08:17 DEBUG: total: 0.2199999988079071 12:08:17 INFO: Retrieving Stack Cost... 12:08:18 INFO: Retrieving Pricing Info for: v3-standard-8 12:08:18 INFO: Archiving Costs [Pipeline] echo 12:08:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:08:19 ---> logs-deploy.sh 12:08:19 lf-activate-venv: SKIPPING 12:08:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-352/1 12:08:19 INFO: archiving workspace using pattern(s): 12:08:20 Archives upload complete. 12:08:20 INFO: archiving logs to Nexus