Pull request #356 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from bd532ce08bfb17cab4da4369f8f61b4791d2b3d0+0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (f82ee080ed8b50d4c8adf716d4ba7cb5413f016f) 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-ssh3644125281513758967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10577224404421714138.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-356/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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10250035982258638824.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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6886618082957674469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh8973077263235298435.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-356/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-356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18140926912078676847.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-88 in /w/workspace/foundry_device-virtual-go_PR-356 [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-356 # 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/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 Merge succeeded, producing bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 Checking out Revision bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 (PR-356) > git config core.sparsecheckout # timeout=10 > git checkout -f bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 # 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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:03:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:03:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:03:37 ========================================================= 08:03:37 EdgeX Global Pipelines Version Info 08:03:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:03:38 ------------------- 08:03:38 stable info: 08:03:38 ------------------- 08:03:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:03:38 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:03:38 Message: update stable to v1.0.245 08:03:38 ------------------- 08:03:38 experimental info: 08:03:38 ------------------- 08:03:38 Commited By: **** collab-it+edgex@linuxfoundation.org 08:03:38 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:03:38 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:03:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:03:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-356 [Pipeline] echo 08:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-356 [Pipeline] echo 08:03:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-356 [Pipeline] echo 08:03:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [Pipeline] echo 08:03:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd532ce [Pipeline] echo 08:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:40 provisioning config files... 08:03:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-356@tmp/config15124905904533271050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:40 ---> docker-login.sh 08:03:40 nexus3.edgexfoundry.org:10001 08:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:40 Configure a credential helper to remove this warning. See 08:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:40 08:03:40 Login Succeeded 08:03:40 nexus3.edgexfoundry.org:10002 08:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 nexus3.edgexfoundry.org:10003 08:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 nexus3.edgexfoundry.org:10004 08:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 docker.io 08:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 ---> docker-login.sh ends [Pipeline] } 08:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:03:42 + git rev-list -1 --merges bd532ce08bfb17cab4da4369f8f61b4791d2b3d0~1..bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [Pipeline] echo 08:03:42 -----------> git rev-list -1 --merges bd532ce08bfb17cab4da4369f8f61b4791d2b3d0~1..bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [false] [Pipeline] sh 08:03:42 + git log --format=format:%s -1 bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [Pipeline] echo 08:03:42 ========================================================= 08:03:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:03:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:43 + git log --format=format:%s -1 bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [Pipeline] echo 08:03:43 [semverPrep] GIT_COMMIT: bd532ce08bfb17cab4da4369f8f61b4791d2b3d0, Commit Message: build(deps): bump device-sdk-go and go-mod-core-contracts [Pipeline] echo 08:03:43 [semverPrep] This is not a build commit. [Pipeline] sh 08:03:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:03:43 + grep -v github /etc/ssh/ssh_known_hosts 08:03:43 + [ -e /tmp/ssh_known_hosts ] 08:03:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:03:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 08:03:43 sudo tee -a /etc/ssh/ssh_known_hosts 08:03:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:03:44 08:03:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:03:44 0.1.4: Pulling from edgex-devops/py-git-semver 08:03:44 b85a868b505f: Pulling fs layer 08:03:44 e2be974225ed: Pulling fs layer 08:03:44 339a4e72a1f5: Pulling fs layer 08:03:44 988bab9f4d93: Pulling fs layer 08:03:44 1469e6f7b9e6: Pulling fs layer 08:03:44 eaf3925da568: Pulling fs layer 08:03:44 bab4dde63d76: Pulling fs layer 08:03:44 bde34c3a00c8: Pulling fs layer 08:03:44 b352a97aabf1: Pulling fs layer 08:03:44 4872d77fe225: Pulling fs layer 08:03:44 5851b861e8e6: Pulling fs layer 08:03:44 988bab9f4d93: Waiting 08:03:44 1469e6f7b9e6: Waiting 08:03:44 eaf3925da568: Waiting 08:03:44 bab4dde63d76: Waiting 08:03:44 b352a97aabf1: Waiting 08:03:44 bde34c3a00c8: Waiting 08:03:44 5851b861e8e6: Waiting 08:03:44 4872d77fe225: Waiting 08:03:44 e2be974225ed: Verifying Checksum 08:03:44 e2be974225ed: Download complete 08:03:44 988bab9f4d93: Verifying Checksum 08:03:44 988bab9f4d93: Download complete 08:03:44 339a4e72a1f5: Verifying Checksum 08:03:44 339a4e72a1f5: Download complete 08:03:44 eaf3925da568: Verifying Checksum 08:03:44 eaf3925da568: Download complete 08:03:44 1469e6f7b9e6: Download complete 08:03:44 bde34c3a00c8: Download complete 08:03:44 b352a97aabf1: Verifying Checksum 08:03:44 b352a97aabf1: Download complete 08:03:44 4872d77fe225: Verifying Checksum 08:03:44 4872d77fe225: Download complete 08:03:44 5851b861e8e6: Download complete 08:03:44 b85a868b505f: Verifying Checksum 08:03:44 b85a868b505f: Download complete 08:03:45 bab4dde63d76: Verifying Checksum 08:03:45 bab4dde63d76: Download complete 08:03:46 b85a868b505f: Pull complete 08:03:46 e2be974225ed: Pull complete 08:03:46 339a4e72a1f5: Pull complete 08:03:46 988bab9f4d93: Pull complete 08:03:47 1469e6f7b9e6: Pull complete 08:03:47 eaf3925da568: Pull complete 08:03:49 bab4dde63d76: Pull complete 08:03:49 bde34c3a00c8: Pull complete 08:03:49 b352a97aabf1: Pull complete 08:03:49 4872d77fe225: Pull complete 08:03:49 5851b861e8e6: Pull complete 08:03:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:03:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:03:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:49 prd-ubuntu20.04-docker-8c-8g-88 does not seem to be running inside a container 08:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-356 -v /w/workspace/foundry_device-virtual-go_PR-356:/w/workspace/foundry_device-virtual-go_PR-356:rw,z -v /w/workspace/foundry_device-virtual-go_PR-356@tmp:/w/workspace/foundry_device-virtual-go_PR-356@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-devops/py-git-semver:0.1.4 cat 08:03:51 $ docker top 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc -eo pid,comm 08:03:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:03:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:03:51 [ssh-agent] Looking for ssh-agent implementation... 08:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:03:51 $ docker exec 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc ssh-agent 08:03:51 SSH_AUTH_SOCK=/tmp/ssh-k4RyNDQwR5Pa/agent.31 08:03:51 SSH_AGENT_PID=37 08:03:51 Running ssh-add (command line suppressed) 08:03:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-356@tmp/private_key_10007910552564920147.key (/w/workspace/foundry_device-virtual-go_PR-356@tmp/private_key_10007910552564920147.key) 08:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:03:52 + git tag --points-at HEAD [Pipeline] } 08:03:52 $ docker exec --env ******** --env ******** 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc ssh-agent -k 08:03:52 unset SSH_AUTH_SOCK; 08:03:52 unset SSH_AGENT_PID; 08:03:52 echo Agent pid 37 killed; 08:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:03:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:03:52 [ssh-agent] Looking for ssh-agent implementation... 08:03:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:03:52 $ docker exec 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc ssh-agent 08:03:52 SSH_AUTH_SOCK=/tmp/ssh-ljTbCsbCVlaV/agent.69 08:03:52 SSH_AGENT_PID=75 08:03:52 Running ssh-add (command line suppressed) 08:03:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-356@tmp/private_key_9433034509205282036.key (/w/workspace/foundry_device-virtual-go_PR-356@tmp/private_key_9433034509205282036.key) 08:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:03:52 + git semver init 08:03:53 2023-03-14 08:03:53,099 [run_init] DEBUG init version:0.0.0 force:False 08:03:53 2023-03-14 08:03:53,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-356/.semver 08:03:53 2023-03-14 08:03:53,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-356/.semver 08:03:53 2023-03-14 08:03:53,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-356/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-356, universal_newlines=False, shell=None, istream=None) 08:03:54 2023-03-14 08:03:54,108 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-356/.git/info/exclude 08:03:54 2023-03-14 08:03:54,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-356/.semver/PR-356 with force:False 08:03:54 2023-03-14 08:03:54,109 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-356/.semver/PR-356 08:03:54 2023-03-14 08:03:54,112 [execute] INFO git cat-file --batch-check 08:03:54 2023-03-14 08:03:54,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-356/.semver, universal_newlines=False, shell=None, istream=) 08:03:54 2023-03-14 08:03:54,119 [execute] INFO git cat-file --batch 08:03:54 2023-03-14 08:03:54,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-356/.semver, universal_newlines=False, shell=None, istream=) 08:03:54 2023-03-14 08:03:54,125 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-356/.semver/PR-356 08:03:54 0.0.0 [Pipeline] } 08:03:54 $ docker exec --env ******** --env ******** 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc ssh-agent -k 08:03:54 unset SSH_AUTH_SOCK; 08:03:54 unset SSH_AGENT_PID; 08:03:54 echo Agent pid 75 killed; 08:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:03:54 + git semver [Pipeline] } 08:03:55 $ docker stop --time=1 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc 08:03:56 $ docker rm -f --volumes 2f987e278588fd889e022edd363e85c7373c974a656aa105f90e78be9e7f2cbc [Pipeline] // withDockerContainer [Pipeline] sh 08:03:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:03:57 Stashed 1 file(s) [Pipeline] echo 08:03:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:57 provisioning config files... 08:03:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-356@tmp/config13598515922208723905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:58 ---> docker-login.sh 08:03:58 nexus3.edgexfoundry.org:10001 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 nexus3.edgexfoundry.org:10002 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 nexus3.edgexfoundry.org:10003 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 nexus3.edgexfoundry.org:10004 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 docker.io 08:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:58 Configure a credential helper to remove this warning. See 08:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:58 08:03:58 Login Succeeded 08:03:58 ---> docker-login.sh ends [Pipeline] } 08:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:59 ========================================================= 08:03:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:03:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:03:59 Sending build context to Docker daemon 23.44MB 08:03:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:03:59 Step 2/12 : FROM ${BASE} AS builder 08:03:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:03:59 63b65145d645: Pulling fs layer 08:03:59 a2d21d5440eb: Pulling fs layer 08:03:59 935e6c44a52c: Pulling fs layer 08:03:59 94cc34f8dd06: Pulling fs layer 08:03:59 30dea6a524f1: Pulling fs layer 08:03:59 a2aff8979fd8: Pulling fs layer 08:03:59 6808be2612f2: Pulling fs layer 08:03:59 f25807f1079a: Pulling fs layer 08:03:59 30dea6a524f1: Waiting 08:03:59 94cc34f8dd06: Waiting 08:03:59 a2aff8979fd8: Waiting 08:03:59 f25807f1079a: Waiting 08:03:59 6808be2612f2: Waiting 08:03:59 a2d21d5440eb: Verifying Checksum 08:03:59 a2d21d5440eb: Download complete 08:03:59 94cc34f8dd06: Verifying Checksum 08:03:59 94cc34f8dd06: Download complete 08:03:59 30dea6a524f1: Download complete 08:03:59 63b65145d645: Verifying Checksum 08:03:59 63b65145d645: Download complete 08:03:59 a2aff8979fd8: Verifying Checksum 08:03:59 a2aff8979fd8: Download complete 08:04:00 63b65145d645: Pull complete 08:04:00 a2d21d5440eb: Pull complete 08:04:00 f25807f1079a: Verifying Checksum 08:04:00 f25807f1079a: Download complete 08:04:00 935e6c44a52c: Verifying Checksum 08:04:00 935e6c44a52c: Download complete 08:04:01 6808be2612f2: Verifying Checksum 08:04:01 6808be2612f2: Download complete 08:04:04 935e6c44a52c: Pull complete 08:04:04 94cc34f8dd06: Pull complete 08:04:04 30dea6a524f1: Pull complete 08:04:04 a2aff8979fd8: Pull complete 08:04:06 6808be2612f2: Pull complete 08:04:07 f25807f1079a: Pull complete 08:04:07 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:04:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:04:07 ---> 3b553350e43f 08:04:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:04:08 ---> Running in a0e6714919d7 08:04:08 Removing intermediate container a0e6714919d7 08:04:08 ---> 4ed504568756 08:04:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:04:08 ---> Running in da436bab49e2 08:04:08 Removing intermediate container da436bab49e2 08:04:08 ---> 47a17d6e2110 08:04:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:04:08 ---> Running in 262cc52120f0 08:04:09 Removing intermediate container 262cc52120f0 08:04:09 ---> 584976b0ca7f 08:04:09 Step 6/12 : WORKDIR /device-virtual-go 08:04:09 ---> Running in 77306407dae1 08:04:09 Removing intermediate container 77306407dae1 08:04:09 ---> b6510fdacc64 08:04:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:09 ---> Running in fe926bd019bf 08:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:04:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:04:09 (2/4) Installing libedit (20221030.3.1-r0) 08:04:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:04:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:04:09 Executing busybox-1.35.0-r29.trigger 08:04:09 OK: 269 MiB in 57 packages 08:04:10 Removing intermediate container fe926bd019bf 08:04:10 ---> f44c4b5b84fe 08:04:10 Step 8/12 : COPY go.mod vendor* ./ 08:04:10 ---> 3ee573f18eb1 08:04:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:10 ---> Running in 4f0ea75218e4 08:04:12 Still waiting to schedule task 08:04:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:04:36 Removing intermediate container 4f0ea75218e4 08:04:36 ---> e2dff93b111b 08:04:36 Step 10/12 : COPY . . 08:04:36 ---> 3c5751ee25fa 08:04:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:04:36 ---> Running in 99a43d09017b 08:04:36 Removing intermediate container 99a43d09017b 08:04:36 ---> d41b0b7eeb23 08:04:36 Step 12/12 : RUN $MAKE 08:04:36 ---> Running in 5d2486f91b94 08:04:36 noop 08:04:36 Removing intermediate container 5d2486f91b94 08:04:36 ---> 91b2ed5e7e7f 08:04:36 Successfully built 91b2ed5e7e7f 08:04:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:37 + docker inspect -f . ci-base-image-x86_64 08:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:37 prd-ubuntu20.04-docker-8c-8g-88 does not seem to be running inside a container 08:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-356 -v /w/workspace/foundry_device-virtual-go_PR-356:/w/workspace/foundry_device-virtual-go_PR-356:rw,z -v /w/workspace/foundry_device-virtual-go_PR-356@tmp:/w/workspace/foundry_device-virtual-go_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:04:37 $ docker top 71309bb0bc6e6f49368eac6ecdb8865516065f4528460492887d3ce5f41da5bf -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:38 + go version 08:04:38 go version go1.20.2 linux/amd64 [Pipeline] } 08:04:38 $ docker stop --time=1 71309bb0bc6e6f49368eac6ecdb8865516065f4528460492887d3ce5f41da5bf 08:04:39 $ docker rm -f --volumes 71309bb0bc6e6f49368eac6ecdb8865516065f4528460492887d3ce5f41da5bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:40 + docker inspect -f . ci-base-image-x86_64 08:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:40 prd-ubuntu20.04-docker-8c-8g-88 does not seem to be running inside a container 08:04:40 $ 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-356 -v /w/workspace/foundry_device-virtual-go_PR-356:/w/workspace/foundry_device-virtual-go_PR-356:rw,z -v /w/workspace/foundry_device-virtual-go_PR-356@tmp:/w/workspace/foundry_device-virtual-go_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:04:40 $ docker top 4562113c944256f25afceae916aee021feb678e765855592e6eb721ddff2c338 -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:41 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-356 [Pipeline] fileExists [Pipeline] sh 08:04:41 + make test 08:04:41 go test ./... -coverprofile=coverage.out 08:04:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:04:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:04:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.030s coverage: 65.7% of statements 08:05:01 go vet ./... 08:05:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:05:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:05:03 ./bin/test-attribution-txt.sh [Pipeline] echo 08:05:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:05:03 $ docker stop --time=1 4562113c944256f25afceae916aee021feb678e765855592e6eb721ddff2c338 08:05:05 $ docker rm -f --volumes 4562113c944256f25afceae916aee021feb678e765855592e6eb721ddff2c338 [Pipeline] // withDockerContainer [Pipeline] sh 08:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:05:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:05:07 + ls -al . 08:05:07 total 192 08:05:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 08:04 . 08:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:03 .. 08:05:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:03 .git 08:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:03 .github 08:05:07 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 08:03 .gitignore 08:05:07 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 08:03 .golangci.yml 08:05:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 08:03 .semver 08:05:07 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 08:03 Attribution.txt 08:05:07 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 08:03 CHANGELOG.md 08:05:07 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 08:03 Dockerfile 08:05:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 08:03 GOVERNANCE.md 08:05:07 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 08:03 Jenkinsfile 08:05:07 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 08:03 LICENSE 08:05:07 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 08:03 Makefile 08:05:07 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 08:03 OWNERS.md 08:05:07 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 08:03 README.md 08:05:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 08:03 VERSION 08:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 08:03 bin 08:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:03 cmd 08:05:07 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 08:04 coverage.out 08:05:07 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 08:03 go.mod 08:05:07 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 08:03 go.sum 08:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:03 internal 08:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:03 snap 08:05:07 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 08:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:07 + 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=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 --label arch=amd64 --label version=0.0.0 . 08:05:07 Sending build context to Docker daemon 23.48MB 08:05:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:05:07 Step 2/25 : FROM ${BASE} AS builder 08:05:07 ---> 91b2ed5e7e7f 08:05:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:05:08 ---> Running in bb04e123372a 08:05:08 Removing intermediate container bb04e123372a 08:05:08 ---> ed6a74f30022 08:05:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:05:08 ---> Running in 21038bf4f2a0 08:05:08 Removing intermediate container 21038bf4f2a0 08:05:08 ---> 97147a39cec6 08:05:08 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:05:08 ---> Running in 5f92f32cfd96 08:05:08 Removing intermediate container 5f92f32cfd96 08:05:08 ---> 85d571217764 08:05:08 Step 6/25 : WORKDIR /device-virtual-go 08:05:08 ---> Running in fc5fd7ea6521 08:05:08 Removing intermediate container fc5fd7ea6521 08:05:08 ---> 548fd0c48114 08:05:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:05:08 ---> Running in a6a2df731c31 08:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:05:09 OK: 269 MiB in 57 packages 08:05:09 Removing intermediate container a6a2df731c31 08:05:09 ---> e6a3c861da26 08:05:09 Step 8/25 : COPY go.mod vendor* ./ 08:05:09 ---> 771674db9f8a 08:05:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:05:09 ---> Running in 5f3e14c05aa5 08:05:10 Removing intermediate container 5f3e14c05aa5 08:05:10 ---> 3c32c174953c 08:05:10 Step 10/25 : COPY . . 08:05:10 ---> 6c8cb45654f5 08:05:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:05:10 ---> Running in f59eb4764fe9 08:05:10 Removing intermediate container f59eb4764fe9 08:05:10 ---> 317291141d22 08:05:10 Step 12/25 : RUN $MAKE 08:05:11 ---> Running in c6bdb8ed7216 08:05:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:05:29 Removing intermediate container c6bdb8ed7216 08:05:29 ---> 36d018d8de3b 08:05:29 Step 13/25 : FROM alpine:3.16 08:05:29 3.16: Pulling from library/alpine 08:05:29 ef5531b6e74e: Pulling fs layer 08:05:29 ef5531b6e74e: Verifying Checksum 08:05:29 ef5531b6e74e: Download complete 08:05:29 ef5531b6e74e: Pull complete 08:05:29 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 08:05:29 Status: Downloaded newer image for alpine:3.16 08:05:29 ---> dfd21b5a31f5 08:05:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:05:29 ---> Running in 180f1d1659b5 08:05:29 Removing intermediate container 180f1d1659b5 08:05:29 ---> 6b4fcff4413c 08:05:29 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:05:29 ---> Running in 969aa12c2d74 08:05:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:05:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:05:29 (1/1) Installing dumb-init (1.2.5-r1) 08:05:29 Executing busybox-1.35.0-r17.trigger 08:05:29 OK: 6 MiB in 15 packages 08:05:29 Removing intermediate container 969aa12c2d74 08:05:29 ---> 81e5dcee2c9c 08:05:29 Step 16/25 : WORKDIR / 08:05:29 ---> Running in 20c64d76631c 08:05:29 Removing intermediate container 20c64d76631c 08:05:29 ---> 4401f27eda6a 08:05:29 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:05:29 ---> d9d82dc7e286 08:05:29 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:05:29 ---> bd42ab939f0e 08:05:29 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:05:30 ---> b7577aa67a74 08:05:30 Step 20/25 : EXPOSE 59900 08:05:30 ---> Running in 1d6ff06b6653 08:05:30 Removing intermediate container 1d6ff06b6653 08:05:30 ---> 27dcb4e63f63 08:05:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:05:30 ---> Running in bcb029fc913f 08:05:30 Removing intermediate container bcb029fc913f 08:05:30 ---> d78307281b80 08:05:30 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:05:30 ---> Running in 62567a059170 08:05:30 Removing intermediate container 62567a059170 08:05:30 ---> 53d0d5eccf4b 08:05:30 Step 23/25 : LABEL arch=amd64 08:05:30 ---> Running in 67cab8f77b1f 08:05:30 Removing intermediate container 67cab8f77b1f 08:05:30 ---> e5234db5af35 08:05:30 Step 24/25 : LABEL git_sha=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 08:05:30 ---> Running in 5cb80718b2ef 08:05:30 Removing intermediate container 5cb80718b2ef 08:05:30 ---> bd538d9ce286 08:05:30 Step 25/25 : LABEL version=0.0.0 08:05:31 ---> Running in 2efa4bec32fc 08:05:31 Removing intermediate container 2efa4bec32fc 08:05:31 ---> 6eef0be3a26c 08:05:31 [Warning] One or more build-args [ARCH] were not consumed 08:05:31 Successfully built 6eef0be3a26c 08:05:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:31 08:05:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:32 latest: Pulling from edgex-lftools-log-publisher 08:05:32 5eb5b503b376: Pulling fs layer 08:05:32 5c69ac0246d0: Pulling fs layer 08:05:32 ec43610c2a17: Pulling fs layer 08:05:32 3a2ae6a8a46f: Pulling fs layer 08:05:32 33b1e0a273af: Pulling fs layer 08:05:32 5d3b04190fa2: Pulling fs layer 08:05:32 2f39f015ded8: Pulling fs layer 08:05:32 3a2ae6a8a46f: Waiting 08:05:32 33b1e0a273af: Waiting 08:05:32 5d3b04190fa2: Waiting 08:05:32 2f39f015ded8: Waiting 08:05:32 5c69ac0246d0: Verifying Checksum 08:05:32 5c69ac0246d0: Download complete 08:05:32 3a2ae6a8a46f: Download complete 08:05:32 33b1e0a273af: Verifying Checksum 08:05:32 33b1e0a273af: Download complete 08:05:32 5d3b04190fa2: Verifying Checksum 08:05:32 5d3b04190fa2: Download complete 08:05:32 ec43610c2a17: Verifying Checksum 08:05:32 ec43610c2a17: Download complete 08:05:32 5eb5b503b376: Verifying Checksum 08:05:32 5eb5b503b376: Download complete 08:05:33 2f39f015ded8: Download complete 08:05:33 5eb5b503b376: Pull complete 08:05:34 5c69ac0246d0: Pull complete 08:05:34 ec43610c2a17: Pull complete 08:05:34 3a2ae6a8a46f: Pull complete 08:05:34 33b1e0a273af: Pull complete 08:05:34 5d3b04190fa2: Pull complete 08:05:38 2f39f015ded8: Pull complete 08:05:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:38 prd-ubuntu20.04-docker-8c-8g-88 does not seem to be running inside a container 08:05:38 $ 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-356 -v /w/workspace/foundry_device-virtual-go_PR-356:/w/workspace/foundry_device-virtual-go_PR-356:rw,z -v /w/workspace/foundry_device-virtual-go_PR-356@tmp:/w/workspace/foundry_device-virtual-go_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:05:40 $ docker top 61f4b3cfac9332f7278b7d4ccb7c8ef4ec05ebc23d171bc59f17e39d9152c7d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:41 ---> job-cost.sh 08:05:41 lf-activate-venv: SKIPPING 08:05:41 INFO: No Stack... 08:05:41 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:41 INFO: Archiving Costs [Pipeline] sh 08:05:42 + cat /w/workspace/foundry_device-virtual-go_PR-356/archives/cost.csv 08:05:42 + cut -d, -f6 [Pipeline] lock 08:05:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] 08:05:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] did not exist. Created. 08:05:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:05:42 + echo total: 0.2199999988079071 [Pipeline] stash 08:05:42 Stashed 1 file(s) [Pipeline] } 08:05:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:05:42 $ docker stop --time=1 61f4b3cfac9332f7278b7d4ccb7c8ef4ec05ebc23d171bc59f17e39d9152c7d7 08:05:44 $ docker rm -f --volumes 61f4b3cfac9332f7278b7d4ccb7c8ef4ec05ebc23d171bc59f17e39d9152c7d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:05:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-90 in /w/workspace/foundry_device-virtual-go_PR-356 [Pipeline] { [Pipeline] ws 08:05:50 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:05:50 The recommended git tool is: git 08:05:56 using credential edgex-jenkins-ssh 08:05:56 Cloning the remote Git repository 08:05:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:05:56 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:05:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:05:56 > git --version # timeout=10 08:05:56 > git --version # 'git version 2.25.1' 08:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:05:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:05:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:06:00 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 08:06:00 Merge succeeded, producing bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 08:06:00 Checking out Revision bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 (PR-356) 08:05:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:05:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:06:00 > git config core.sparsecheckout # timeout=10 08:06:00 > git checkout -f bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 # timeout=10 08:06:00 > git remote # timeout=10 08:06:00 > git config --get remote.origin.url # timeout=10 08:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:06:00 > git merge 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 08:06:00 > git rev-parse HEAD^{commit} # timeout=10 08:06:00 > git config core.sparsecheckout # timeout=10 08:06:00 > git checkout -f bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 # timeout=10 08:06:03 Commit message: "build(deps): bump device-sdk-go and go-mod-core-contracts" 08:06:04 > git --version # timeout=10 08:06:04 > git --version # 'git version 2.25.1' 08:06:04 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:06:05 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:05 Dload Upload Total Spent Left Speed 08:06:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh 08:06:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:06:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:06:06 + sudo tee /etc/docker/daemon.new 08:06:06 { 08:06:06 "registry-mirrors": [ 08:06:06 "https://nexus3.edgexfoundry.org:10001" 08:06:06 ], 08:06:06 "bip": "10.250.0.254/24", 08:06:06 "hosts": [ 08:06:06 "tcp://0.0.0.0:5555", 08:06:06 "unix:///var/run/docker.sock" 08:06:06 ], 08:06:06 "mtu": 1458, 08:06:06 "selinux-enabled": true, 08:06:06 "seccomp-profile": "/etc/docker/seccomp.json" 08:06:06 } [Pipeline] sh 08:06:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:06:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:25 provisioning config files... 08:06:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9073422980634627849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:25 ---> docker-login.sh 08:06:25 nexus3.edgexfoundry.org:10001 08:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:26 Configure a credential helper to remove this warning. See 08:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:26 08:06:26 Login Succeeded 08:06:26 nexus3.edgexfoundry.org:10002 08:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:26 Configure a credential helper to remove this warning. See 08:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:26 08:06:26 Login Succeeded 08:06:26 nexus3.edgexfoundry.org:10003 08:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 nexus3.edgexfoundry.org:10004 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 docker.io 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 ---> docker-login.sh ends [Pipeline] } 08:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:06:28 ========================================================= 08:06:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:06:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:06:29 Sending build context to Docker daemon 11.88MB 08:06:29 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:06:29 Step 2/12 : FROM ${BASE} AS builder 08:06:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:06:29 af6eaf76a39c: Pulling fs layer 08:06:29 55522c791124: Pulling fs layer 08:06:29 ce5c4a1c91eb: Pulling fs layer 08:06:29 169dfbe0d373: Pulling fs layer 08:06:29 e1ff8fa3b103: Pulling fs layer 08:06:29 52ebb69f0ebf: Pulling fs layer 08:06:29 5abe8eddf0d5: Pulling fs layer 08:06:29 169dfbe0d373: Waiting 08:06:29 e1ff8fa3b103: Waiting 08:06:29 52ebb69f0ebf: Waiting 08:06:29 5abe8eddf0d5: Waiting 08:06:29 55522c791124: Verifying Checksum 08:06:29 55522c791124: Download complete 08:06:29 169dfbe0d373: Verifying Checksum 08:06:29 169dfbe0d373: Download complete 08:06:29 e1ff8fa3b103: Download complete 08:06:29 af6eaf76a39c: Verifying Checksum 08:06:29 af6eaf76a39c: Download complete 08:06:30 af6eaf76a39c: Pull complete 08:06:30 5abe8eddf0d5: Verifying Checksum 08:06:30 5abe8eddf0d5: Download complete 08:06:31 55522c791124: Pull complete 08:06:31 ce5c4a1c91eb: Verifying Checksum 08:06:31 ce5c4a1c91eb: Download complete 08:06:32 52ebb69f0ebf: Verifying Checksum 08:06:32 52ebb69f0ebf: Download complete 08:06:42 ce5c4a1c91eb: Pull complete 08:06:42 169dfbe0d373: Pull complete 08:06:42 e1ff8fa3b103: Pull complete 08:06:49 52ebb69f0ebf: Pull complete 08:06:51 5abe8eddf0d5: Pull complete 08:06:51 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:06:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:06:51 ---> 6cb57ee374ae 08:06:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:06:52 ---> Running in 2d7fda7be29b 08:06:53 Removing intermediate container 2d7fda7be29b 08:06:53 ---> 5ce93de726f0 08:06:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:06:53 ---> Running in 82c47c042c35 08:06:53 Removing intermediate container 82c47c042c35 08:06:53 ---> c75f1776a84c 08:06:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:06:53 ---> Running in 33c0913f58db 08:06:53 Removing intermediate container 33c0913f58db 08:06:53 ---> ee501445b703 08:06:53 Step 6/12 : WORKDIR /device-virtual-go 08:06:53 ---> Running in 3a0abd3563ab 08:06:54 Removing intermediate container 3a0abd3563ab 08:06:54 ---> e2a73379d605 08:06:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:54 ---> Running in fd66b1bbdcca 08:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:06:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:06:57 (2/4) Installing libedit (20221030.3.1-r0) 08:06:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:06:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:06:57 Executing busybox-1.35.0-r29.trigger 08:06:57 OK: 268 MiB in 57 packages 08:06:58 Removing intermediate container fd66b1bbdcca 08:06:58 ---> 5e418207397f 08:06:58 Step 8/12 : COPY go.mod vendor* ./ 08:06:58 ---> c02e90f4cf83 08:06:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:06:58 ---> Running in 1d7f73bb7401 08:08:06 Removing intermediate container 1d7f73bb7401 08:08:06 ---> 564cf30c097e 08:08:06 Step 10/12 : COPY . . 08:08:06 ---> a4e492244444 08:08:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:08:06 ---> Running in 1ce497021329 08:08:06 Removing intermediate container 1ce497021329 08:08:06 ---> 78b94f3132c5 08:08:06 Step 12/12 : RUN $MAKE 08:08:06 ---> Running in c09a42ec8c9c 08:08:06 noop 08:08:06 Removing intermediate container c09a42ec8c9c 08:08:06 ---> f703a6f487b4 08:08:06 Successfully built f703a6f487b4 08:08:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:07 + docker inspect -f . ci-base-image-arm64 08:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:07 prd-ubuntu20.04-docker-arm64-4c-16g-90 does not seem to be running inside a container 08:08:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:08:08 $ docker top 73c2e86a6651775c7b82839edbd9db2148106a83ebe11f7d9e0795c74ed4db57 -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:09 + go version 08:08:09 go version go1.20.2 linux/arm64 [Pipeline] } 08:08:09 $ docker stop --time=1 73c2e86a6651775c7b82839edbd9db2148106a83ebe11f7d9e0795c74ed4db57 08:08:11 $ docker rm -f --volumes 73c2e86a6651775c7b82839edbd9db2148106a83ebe11f7d9e0795c74ed4db57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:12 + docker inspect -f . ci-base-image-arm64 08:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:12 prd-ubuntu20.04-docker-arm64-4c-16g-90 does not seem to be running inside a container 08:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:08:13 $ docker top 26d56fb74b940ba2043c990235481a080a1e1863e54ba89ff25c910a03233c6a -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:14 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 08:08:15 + make test 08:08:15 go test ./... -coverprofile=coverage.out 08:08:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:10:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:10:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements 08:10:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:10:39 go vet ./... 08:11:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:11:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:11:11 ./bin/test-attribution-txt.sh [Pipeline] echo 08:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:11:12 $ docker stop --time=1 26d56fb74b940ba2043c990235481a080a1e1863e54ba89ff25c910a03233c6a 08:11:14 $ docker rm -f --volumes 26d56fb74b940ba2043c990235481a080a1e1863e54ba89ff25c910a03233c6a [Pipeline] // withDockerContainer [Pipeline] sh 08:11:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:11:15 Warning: overwriting stash ‘coverage-report’ 08:11:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:11:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:11:17 + ls -al . 08:11:17 total 188 08:11:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:08 . 08:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:05 .. 08:11:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 08:06 .git 08:11:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:06 .github 08:11:17 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 08:06 .gitignore 08:11:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 08:06 .golangci.yml 08:11:17 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 08:06 Attribution.txt 08:11:17 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 08:06 CHANGELOG.md 08:11:17 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 08:06 Dockerfile 08:11:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 08:06 GOVERNANCE.md 08:11:17 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 08:06 Jenkinsfile 08:11:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 08:06 LICENSE 08:11:17 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 08:06 Makefile 08:11:17 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 08:06 OWNERS.md 08:11:17 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 08:06 README.md 08:11:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 08:03 VERSION 08:11:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 08:06 bin 08:11:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:06 cmd 08:11:17 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 08:10 coverage.out 08:11:17 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 08:06 go.mod 08:11:17 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 08:06 go.sum 08:11:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 08:06 internal 08:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 08:06 snap 08:11:17 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 08:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:17 + 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=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 --label arch=arm64 --label version=0.0.0 . 08:11:18 Sending build context to Docker daemon 11.93MB 08:11:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:11:18 Step 2/25 : FROM ${BASE} AS builder 08:11:18 ---> f703a6f487b4 08:11:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:11:19 ---> Running in a4199e1342bf 08:11:19 Removing intermediate container a4199e1342bf 08:11:19 ---> 03d5c01898a8 08:11:19 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:11:19 ---> Running in 2f091c5a967e 08:11:20 Removing intermediate container 2f091c5a967e 08:11:20 ---> 13ad8f4bdc25 08:11:20 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:11:20 ---> Running in 5ada020896b1 08:11:20 Removing intermediate container 5ada020896b1 08:11:20 ---> 3621e039dc4d 08:11:20 Step 6/25 : WORKDIR /device-virtual-go 08:11:20 ---> Running in 6f9a463c2888 08:11:21 Removing intermediate container 6f9a463c2888 08:11:21 ---> 4e59634b3f37 08:11:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:21 ---> Running in 3426d1c0f227 08:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:11:23 OK: 268 MiB in 57 packages 08:11:24 Removing intermediate container 3426d1c0f227 08:11:24 ---> 776de1a8d6ba 08:11:24 Step 8/25 : COPY go.mod vendor* ./ 08:11:25 ---> 8a80258110a6 08:11:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:25 ---> Running in dbd42d0f4041 08:11:27 Removing intermediate container dbd42d0f4041 08:11:27 ---> be5cced4854b 08:11:27 Step 10/25 : COPY . . 08:11:28 ---> 91dce19c8426 08:11:28 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:11:28 ---> Running in e752213e081c 08:11:29 Removing intermediate container e752213e081c 08:11:29 ---> 9bfb22c372fb 08:11:29 Step 12/25 : RUN $MAKE 08:11:29 ---> Running in a2357fc5d0ba 08:11:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:13:36 Removing intermediate container a2357fc5d0ba 08:13:36 ---> 57a6abff5395 08:13:36 Step 13/25 : FROM alpine:3.16 08:13:36 3.16: Pulling from library/alpine 08:13:36 3760b48202b3: Pulling fs layer 08:13:36 3760b48202b3: Verifying Checksum 08:13:36 3760b48202b3: Download complete 08:13:36 3760b48202b3: Pull complete 08:13:36 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 08:13:36 Status: Downloaded newer image for alpine:3.16 08:13:36 ---> 4c81e5bf8899 08:13:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:13:36 ---> Running in 745c69071e5c 08:13:36 Removing intermediate container 745c69071e5c 08:13:36 ---> 675c972b04f0 08:13:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:13:36 ---> Running in 4655306bd696 08:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:13:37 (1/1) Installing dumb-init (1.2.5-r1) 08:13:37 Executing busybox-1.35.0-r17.trigger 08:13:37 OK: 5 MiB in 15 packages 08:13:39 Removing intermediate container 4655306bd696 08:13:39 ---> f2a3f98d21a3 08:13:39 Step 16/25 : WORKDIR / 08:13:39 ---> Running in 6cdc034506d4 08:13:39 Removing intermediate container 6cdc034506d4 08:13:39 ---> 7ffde58b3b03 08:13:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:13:40 ---> ebd01c81de38 08:13:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:13:40 ---> ad9d00b7957e 08:13:40 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:13:41 ---> 77fbf164c25d 08:13:41 Step 20/25 : EXPOSE 59900 08:13:41 ---> Running in 6b4017abc934 08:13:42 Removing intermediate container 6b4017abc934 08:13:42 ---> 4e6a9c25ac34 08:13:42 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:13:42 ---> Running in 623dabe6b2ea 08:13:42 Removing intermediate container 623dabe6b2ea 08:13:42 ---> 34994ba9cac0 08:13:42 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:13:42 ---> Running in 6ffc8d311b9c 08:13:42 Removing intermediate container 6ffc8d311b9c 08:13:42 ---> 464a59178296 08:13:42 Step 23/25 : LABEL arch=arm64 08:13:42 ---> Running in 7de7f3f462af 08:13:43 Removing intermediate container 7de7f3f462af 08:13:43 ---> 2d202c1eddfd 08:13:43 Step 24/25 : LABEL git_sha=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 08:13:43 ---> Running in 8849f7cdb480 08:13:43 Removing intermediate container 8849f7cdb480 08:13:43 ---> f4ec43344f9b 08:13:43 Step 25/25 : LABEL version=0.0.0 08:13:43 ---> Running in 61ed2c66271e 08:13:43 Removing intermediate container 61ed2c66271e 08:13:43 ---> 5748e5dbc5e4 08:13:43 [Warning] One or more build-args [ARCH] were not consumed 08:13:43 Successfully built 5748e5dbc5e4 08:13:43 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:44 08:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:44 arm64: Pulling from edgex-lftools-log-publisher 08:13:44 8998bd30e6a1: Pulling fs layer 08:13:44 04944245beec: Pulling fs layer 08:13:44 699f458cf7ca: Pulling fs layer 08:13:44 765212b225bb: Pulling fs layer 08:13:44 f23df028b6ca: Pulling fs layer 08:13:44 d65c8cfc05b1: Pulling fs layer 08:13:44 2437ff75d9bd: Pulling fs layer 08:13:44 765212b225bb: Waiting 08:13:44 f23df028b6ca: Waiting 08:13:44 d65c8cfc05b1: Waiting 08:13:45 04944245beec: Verifying Checksum 08:13:45 04944245beec: Download complete 08:13:45 765212b225bb: Verifying Checksum 08:13:45 765212b225bb: Download complete 08:13:45 f23df028b6ca: Verifying Checksum 08:13:45 f23df028b6ca: Download complete 08:13:45 d65c8cfc05b1: Verifying Checksum 08:13:45 d65c8cfc05b1: Download complete 08:13:45 699f458cf7ca: Verifying Checksum 08:13:45 699f458cf7ca: Download complete 08:13:45 8998bd30e6a1: Verifying Checksum 08:13:45 8998bd30e6a1: Download complete 08:13:47 2437ff75d9bd: Verifying Checksum 08:13:47 2437ff75d9bd: Download complete 08:13:49 8998bd30e6a1: Pull complete 08:13:51 04944245beec: Pull complete 08:13:53 699f458cf7ca: Pull complete 08:13:53 765212b225bb: Pull complete 08:13:53 f23df028b6ca: Pull complete 08:13:53 d65c8cfc05b1: Pull complete 08:14:08 2437ff75d9bd: Pull complete 08:14:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:14:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:14:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:09 prd-ubuntu20.04-docker-arm64-4c-16g-90 does not seem to be running inside a container 08:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:14:11 $ docker top 3a32ff78fd9a950adf8b29ff2e4e010c185f1e19c55e51dc7461e8337b7b256c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:12 ---> job-cost.sh 08:14:12 lf-activate-venv: SKIPPING 08:14:12 INFO: No Stack... 08:14:12 INFO: Retrieving Pricing Info for: v3-standard-4 08:14:13 INFO: Archiving Costs [Pipeline] sh 08:14:14 + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, 08:14:14 -f6 [Pipeline] lock 08:14:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] 08:14:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] did not exist. Created. 08:14:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:14:14 /w/workspace/device-virtual-go/1@tmp/durable-c654d82a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:14:15 + echo total: 0.10999999940395355 [Pipeline] stash 08:14:15 Warning: overwriting stash ‘stack-cost’ 08:14:15 Stashed 1 file(s) [Pipeline] } 08:14:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-356-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:14:15 $ docker stop --time=1 3a32ff78fd9a950adf8b29ff2e4e010c185f1e19c55e51dc7461e8337b7b256c 08:14:16 $ docker rm -f --volumes 3a32ff78fd9a950adf8b29ff2e4e010c185f1e19c55e51dc7461e8337b7b256c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:14:17 provisioning config files... 08:14:17 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-356@tmp/config4358400246866059733tmp [Pipeline] { [Pipeline] sh 08:14:18 + set +x 08:14:18 + bash -s -- 08:14:18 + curl -s https://codecov.io/bash 08:14:18 08:14:18 _____ _ 08:14:18 / ____| | | 08:14:18 | | ___ __| | ___ ___ _____ __ 08:14:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:14:18 | |___| (_) | (_| | __/ (_| (_) \ V / 08:14:18 \_____\___/ \__,_|\___|\___\___/ \_/ 08:14:18 Bash-1.0.6 08:14:18 08:14:18 08:14:18 ==> git version 2.25.1 found 08:14:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:14:18 Release-Date: 2020-01-08 08:14:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:14:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:14:18 ==> Jenkins CI detected. 08:14:18 current dir:  /w/workspace/foundry_device-virtual-go_PR-356 08:14:18 project root: . 08:14:18 --> token set from env 08:14:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:14:18 ==> Running gcov in . (disable via -X gcov) 08:14:18 ==> Python coveragepy not found 08:14:18 ==> Searching for coverage reports in: 08:14:18 + . 08:14:18 -> Found 1 reports 08:14:18 ==> Detecting git/mercurial file structure 08:14:18 ==> Reading reports 08:14:18 + ./coverage.out bytes=44127 08:14:18 ==> Appending adjustments 08:14:18 https://docs.codecov.io/docs/fixing-reports 08:14:18 + Found adjustments 08:14:18 ==> Gzipping contents 08:14:18 8.0K /tmp/codecov.Tv0eLH.gz 08:14:18 ==> Uploading reports 08:14:18 url: https://codecov.io 08:14:18 query: branch=PR-356&commit=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-356%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=356&job=&cmd_args= 08:14:18 -> Pinging Codecov 08:14:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-356&commit=bd532ce08bfb17cab4da4369f8f61b4791d2b3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-356%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=356&job=&cmd_args= 08:14:18 -> Uploading to 08:14:18 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/bd532ce08bfb17cab4da4369f8f61b4791d2b3d0/39400f31-1b5b-487f-9a88-747050dd5920.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T081418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6534a259b6e0a744d77b9aa5069c5b2c6da80df369e61359c4aa5a245168b84 08:14:18 % Total % Received % Xferd Average Speed Time Time Time Current 08:14:18 Dload Upload Total Spent Left Speed 08:14:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5414 0 0 100 5414 0 26539 --:--:-- --:--:-- --:--:-- 26409 100 5414 0 0 100 5414 0 22188 --:--:-- --:--:-- --:--:-- 22097 08:14:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/bd532ce08bfb17cab4da4369f8f61b4791d2b3d0 [Pipeline] } 08:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:14:20 + [ -d /w/workspace/foundry_device-virtual-go_PR-356/archives ] 08:14:20 + ls -al /w/workspace/foundry_device-virtual-go_PR-356/archives 08:14:20 total 16 08:14:20 drwxr-xr-x 3 root root 4096 Mar 14 08:05 . 08:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 08:05 .. 08:14:20 drwxr-xr-x 2 root root 4096 Mar 14 08:05 cost 08:14:20 -rw-r--r-- 1 root root 89 Mar 14 08:05 cost.csv 08:14:20 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-356/archives 08:14:20 + ls -al /w/workspace/foundry_device-virtual-go_PR-356/archives 08:14:20 total 16 08:14:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 08:05 . 08:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 08:05 .. 08:14:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 08:05 cost 08:14:20 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 08:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:14:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:14:21 ---> package-listing.sh 08:14:21 ++ facter osfamily 08:14:21 ++ tr '[:upper:]' '[:lower:]' 08:14:22 + OS_FAMILY=debian 08:14:22 + workspace=/w/workspace/foundry_device-virtual-go_PR-356 08:14:22 + START_PACKAGES=/tmp/packages_start.txt 08:14:22 + END_PACKAGES=/tmp/packages_end.txt 08:14:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:14:22 + PACKAGES=/tmp/packages_start.txt 08:14:22 + '[' /w/workspace/foundry_device-virtual-go_PR-356 ']' 08:14:22 + PACKAGES=/tmp/packages_end.txt 08:14:22 + case "${OS_FAMILY}" in 08:14:22 + dpkg -l 08:14:22 + grep '^ii' 08:14:22 + '[' -f /tmp/packages_start.txt ']' 08:14:22 + '[' -f /tmp/packages_end.txt ']' 08:14:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:14:22 + '[' /w/workspace/foundry_device-virtual-go_PR-356 ']' 08:14:22 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-356/archives/ 08:14:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-356/archives/ [Pipeline] echo 08:14:22 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-356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:14:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:23 prd-ubuntu20.04-docker-8c-8g-88 does not seem to be running inside a container 08:14:23 $ 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-356/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-356 -v /w/workspace/foundry_device-virtual-go_PR-356:/w/workspace/foundry_device-virtual-go_PR-356:rw,z -v /w/workspace/foundry_device-virtual-go_PR-356@tmp:/w/workspace/foundry_device-virtual-go_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:14:23 $ docker top 4af7beac806193eab5d104c7c75d359d6abb6a83c47fd5d2a6d3449f43af8b1b -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:14:24 + mkdir -p /var/log/sysstat [Pipeline] sh 08:14:24 + ls /var/log/sa-host 08:14:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:24 provisioning config files... 08:14:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-356@tmp/config13759075556868925480tmp [Pipeline] { [Pipeline] echo 08:14:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:14:24 ---> create-netrc.sh [Pipeline] } 08:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:14:25 ---> python-tools-install.sh [Pipeline] echo 08:14:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:14:25 ---> sudo-logs.sh 08:14:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:14:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:14:26 ---> job-cost.sh 08:14:26 lf-activate-venv: SKIPPING 08:14:26 DEBUG: total: 0.2199999988079071 08:14:26 INFO: Retrieving Stack Cost... 08:14:26 INFO: Retrieving Pricing Info for: v3-standard-8 08:14:26 INFO: Archiving Costs [Pipeline] echo 08:14:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:14:27 ---> logs-deploy.sh 08:14:27 lf-activate-venv: SKIPPING 08:14:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-356/1 08:14:27 INFO: archiving workspace using pattern(s): 08:14:28 Archives upload complete. 08:14:28 INFO: archiving logs to Nexus