Pull request #1214 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 46ace83fbd83e6729010ee50e972ab9dad0f6778+7a5456d65667bce537ee6e9ff0922bddc6112164 (5f4bdb8a8b3f431d42ed0727cc72c8c3174aa2e6) 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-ssh4955657452563278743.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8317201163505771657.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8551166940082158411.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1561859055481489629.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3968854300907092035.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-617 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1214 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7a5456d65667bce537ee6e9ff0922bddc6112164 into PR head commit 46ace83fbd83e6729010ee50e972ab9dad0f6778 Merge succeeded, producing 46ace83fbd83e6729010ee50e972ab9dad0f6778 Checking out Revision 46ace83fbd83e6729010ee50e972ab9dad0f6778 (PR-1214) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:39:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:39:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:39:06 ========================================================= 16:39:06 EdgeX Global Pipelines Version Info 16:39:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7a5456d65667bce537ee6e9ff0922bddc6112164 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 > git rev-list --no-walk d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 16:39:07 ------------------- 16:39:07 stable info: 16:39:07 ------------------- 16:39:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:39:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:39:07 Message: update stable to v1.0.239 16:39:07 ------------------- 16:39:07 experimental info: 16:39:07 ------------------- 16:39:07 Commited By: **** collab-it+edgex@linuxfoundation.org 16:39:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:39:07 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1214 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1214 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1214 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46ace83 [Pipeline] echo 16:39:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:08 provisioning config files... 16:39:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config3733768126458571594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:08 ---> docker-login.sh 16:39:08 nexus3.edgexfoundry.org:10001 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 nexus3.edgexfoundry.org:10002 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 nexus3.edgexfoundry.org:10003 16:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:09 Configure a credential helper to remove this warning. See 16:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:09 16:39:09 Login Succeeded 16:39:09 nexus3.edgexfoundry.org:10004 16:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:09 Configure a credential helper to remove this warning. See 16:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:09 16:39:09 Login Succeeded 16:39:09 docker.io 16:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:09 Configure a credential helper to remove this warning. See 16:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:09 16:39:09 Login Succeeded 16:39:09 ---> docker-login.sh ends [Pipeline] } 16:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:39:10 + git rev-list -1 --merges 46ace83fbd83e6729010ee50e972ab9dad0f6778~1..46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo 16:39:10 -----------> git rev-list -1 --merges 46ace83fbd83e6729010ee50e972ab9dad0f6778~1..46ace83fbd83e6729010ee50e972ab9dad0f6778 46ace83fbd83e6729010ee50e972ab9dad0f6778 [false] [Pipeline] sh 16:39:10 + git log --format=format:%s -1 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo 16:39:10 ========================================================= 16:39:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:39:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:39:10 + git log --format=format:%s -1 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo 16:39:10 [semverPrep] GIT_COMMIT: 46ace83fbd83e6729010ee50e972ab9dad0f6778, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 16:39:10 [semverPrep] This is not a build commit. [Pipeline] sh 16:39:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:39:11 + grep -v github /etc/ssh/ssh_known_hosts 16:39:11 + [ -e /tmp/ssh_known_hosts ] 16:39:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:39:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:39:11 sudo tee -a /etc/ssh/ssh_known_hosts 16:39:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:11 16:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:11 0.1.4: Pulling from edgex-devops/py-git-semver 16:39:11 b85a868b505f: Pulling fs layer 16:39:11 e2be974225ed: Pulling fs layer 16:39:11 339a4e72a1f5: Pulling fs layer 16:39:11 988bab9f4d93: Pulling fs layer 16:39:11 1469e6f7b9e6: Pulling fs layer 16:39:11 eaf3925da568: Pulling fs layer 16:39:11 bab4dde63d76: Pulling fs layer 16:39:11 bde34c3a00c8: Pulling fs layer 16:39:11 b352a97aabf1: Pulling fs layer 16:39:11 4872d77fe225: Pulling fs layer 16:39:11 5851b861e8e6: Pulling fs layer 16:39:11 988bab9f4d93: Waiting 16:39:11 1469e6f7b9e6: Waiting 16:39:11 eaf3925da568: Waiting 16:39:11 bab4dde63d76: Waiting 16:39:11 bde34c3a00c8: Waiting 16:39:11 b352a97aabf1: Waiting 16:39:11 4872d77fe225: Waiting 16:39:11 5851b861e8e6: Waiting 16:39:11 e2be974225ed: Download complete 16:39:11 988bab9f4d93: Verifying Checksum 16:39:11 988bab9f4d93: Download complete 16:39:12 1469e6f7b9e6: Verifying Checksum 16:39:12 1469e6f7b9e6: Download complete 16:39:12 eaf3925da568: Verifying Checksum 16:39:12 eaf3925da568: Download complete 16:39:12 339a4e72a1f5: Verifying Checksum 16:39:12 339a4e72a1f5: Download complete 16:39:12 bde34c3a00c8: Verifying Checksum 16:39:12 bde34c3a00c8: Download complete 16:39:12 b85a868b505f: Download complete 16:39:12 b352a97aabf1: Download complete 16:39:12 4872d77fe225: Verifying Checksum 16:39:12 4872d77fe225: Download complete 16:39:12 5851b861e8e6: Verifying Checksum 16:39:12 5851b861e8e6: Download complete 16:39:12 bab4dde63d76: Verifying Checksum 16:39:12 bab4dde63d76: Download complete 16:39:13 b85a868b505f: Pull complete 16:39:13 e2be974225ed: Pull complete 16:39:14 339a4e72a1f5: Pull complete 16:39:14 988bab9f4d93: Pull complete 16:39:14 1469e6f7b9e6: Pull complete 16:39:14 eaf3925da568: Pull complete 16:39:16 bab4dde63d76: Pull complete 16:39:16 bde34c3a00c8: Pull complete 16:39:16 b352a97aabf1: Pull complete 16:39:16 4872d77fe225: Pull complete 16:39:16 5851b861e8e6: Pull complete 16:39:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:16 prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container 16:39:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 16:39:18 $ docker top 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed -eo pid,comm 16:39:18 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). 16:39:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:39:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:18 [ssh-agent] Looking for ssh-agent implementation... 16:39:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:18 $ docker exec 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent 16:39:18 SSH_AUTH_SOCK=/tmp/ssh-GNAEnDKHEH3b/agent.32 16:39:18 SSH_AGENT_PID=38 16:39:18 Running ssh-add (command line suppressed) 16:39:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_16721901472665932500.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_16721901472665932500.key) 16:39:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:18 + git tag --points-at HEAD [Pipeline] } 16:39:18 $ docker exec --env ******** --env ******** 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent -k 16:39:19 unset SSH_AUTH_SOCK; 16:39:19 unset SSH_AGENT_PID; 16:39:19 echo Agent pid 38 killed; 16:39:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:39:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:19 [ssh-agent] Looking for ssh-agent implementation... 16:39:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:19 $ docker exec 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent 16:39:19 SSH_AUTH_SOCK=/tmp/ssh-VbmgcXDG0UkL/agent.72 16:39:19 SSH_AGENT_PID=78 16:39:19 Running ssh-add (command line suppressed) 16:39:19 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_14903911089869169541.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_14903911089869169541.key) 16:39:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:19 + git semver init 16:39:19 2022-09-22 16:39:19,881 [run_init] DEBUG init version:0.0.0 force:False 16:39:19 2022-09-22 16:39:19,882 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver 16:39:19 2022-09-22 16:39:19,883 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver 16:39:19 2022-09-22 16:39:19,883 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214, universal_newlines=False, shell=None, istream=None) 16:39:20 2022-09-22 16:39:20,868 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.git/info/exclude 16:39:20 2022-09-22 16:39:20,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 with force:False 16:39:20 2022-09-22 16:39:20,869 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 16:39:20 2022-09-22 16:39:20,873 [execute] INFO git cat-file --batch-check 16:39:20 2022-09-22 16:39:20,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) 16:39:20 2022-09-22 16:39:20,880 [execute] INFO git cat-file --batch 16:39:20 2022-09-22 16:39:20,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) 16:39:20 2022-09-22 16:39:20,885 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 16:39:20 0.0.0 [Pipeline] } 16:39:21 $ docker exec --env ******** --env ******** 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent -k 16:39:21 unset SSH_AUTH_SOCK; 16:39:21 unset SSH_AGENT_PID; 16:39:21 echo Agent pid 78 killed; 16:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:39:21 + git semver [Pipeline] } 16:39:21 $ docker stop --time=1 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed 16:39:23 $ docker rm -f 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed [Pipeline] // withDockerContainer [Pipeline] sh 16:39:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:39:23 Stashed 1 file(s) [Pipeline] echo 16:39:23 [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 16:39:23 provisioning config files... 16:39:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config6064754689471852958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:24 ---> docker-login.sh 16:39:24 nexus3.edgexfoundry.org:10001 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10002 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10003 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10004 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 docker.io 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 ---> docker-login.sh ends [Pipeline] } 16:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:39:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:25 ========================================================= 16:39:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:39:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:25 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:39:25 Sending build context to Docker daemon 9.881MB 16:39:25 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:39:25 Step 2/11 : FROM ${BASE} AS builder 16:39:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:39:25 2408cc74d12b: Pulling fs layer 16:39:25 ea60b727a1ce: Pulling fs layer 16:39:25 30c4a7721957: Pulling fs layer 16:39:25 370296b7ddb6: Pulling fs layer 16:39:25 7c6cee850709: Pulling fs layer 16:39:25 39a5fcdaea64: Pulling fs layer 16:39:25 d94ebbe4e438: Pulling fs layer 16:39:25 bcfd1f05c69d: Pulling fs layer 16:39:25 59ccb84bbe0f: Pulling fs layer 16:39:25 370296b7ddb6: Waiting 16:39:25 7c6cee850709: Waiting 16:39:25 39a5fcdaea64: Waiting 16:39:25 d94ebbe4e438: Waiting 16:39:25 bcfd1f05c69d: Waiting 16:39:25 59ccb84bbe0f: Waiting 16:39:25 30c4a7721957: Verifying Checksum 16:39:25 30c4a7721957: Download complete 16:39:25 ea60b727a1ce: Verifying Checksum 16:39:25 ea60b727a1ce: Download complete 16:39:25 7c6cee850709: Verifying Checksum 16:39:25 7c6cee850709: Download complete 16:39:25 39a5fcdaea64: Verifying Checksum 16:39:25 39a5fcdaea64: Download complete 16:39:25 2408cc74d12b: Verifying Checksum 16:39:25 2408cc74d12b: Download complete 16:39:25 d94ebbe4e438: Verifying Checksum 16:39:25 d94ebbe4e438: Download complete 16:39:25 2408cc74d12b: Pull complete 16:39:25 ea60b727a1ce: Pull complete 16:39:25 30c4a7721957: Pull complete 16:39:26 59ccb84bbe0f: Verifying Checksum 16:39:26 59ccb84bbe0f: Download complete 16:39:26 370296b7ddb6: Verifying Checksum 16:39:26 370296b7ddb6: Download complete 16:39:26 bcfd1f05c69d: Verifying Checksum 16:39:26 bcfd1f05c69d: Download complete 16:39:30 370296b7ddb6: Pull complete 16:39:30 7c6cee850709: Pull complete 16:39:30 39a5fcdaea64: Pull complete 16:39:30 d94ebbe4e438: Pull complete 16:39:32 bcfd1f05c69d: Pull complete 16:39:33 59ccb84bbe0f: Pull complete 16:39:33 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:39:33 ---> a4fb48ad2a94 16:39:33 Step 3/11 : ARG MAKE=make build 16:39:34 ---> Running in 86b9e0a24a3a 16:39:34 Removing intermediate container 86b9e0a24a3a 16:39:34 ---> 57fe379d82a0 16:39:34 Step 4/11 : WORKDIR /device-sdk-go 16:39:34 ---> Running in 5fe3f6c79759 16:39:34 Removing intermediate container 5fe3f6c79759 16:39:34 ---> a815cfd15631 16:39:34 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:39:34 ---> Running in 275c593b59fb 16:39:35 Removing intermediate container 275c593b59fb 16:39:35 ---> ddada5e7a428 16:39:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:39:35 ---> Running in c0ccac530054 16:39:35 Removing intermediate container c0ccac530054 16:39:35 ---> 68b97db451c2 16:39:35 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:39:35 ---> Running in b605006ad59d 16:39:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:39:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:39:37 OK: 211 MiB in 51 packages 16:39:37 Removing intermediate container b605006ad59d 16:39:37 ---> 23e615639bc9 16:39:37 Step 8/11 : COPY go.mod vendor* ./ 16:39:37 ---> d3fd2593b19e 16:39:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:39:37 ---> Running in f8c3d9a8fe6a 16:39:38 Still waiting to schedule task 16:39:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:39:55 Removing intermediate container f8c3d9a8fe6a 16:39:55 ---> a065bf039cb4 16:39:55 Step 10/11 : COPY . . 16:39:55 ---> a6cfc0e9f172 16:39:55 Step 11/11 : RUN ${MAKE} 16:39:55 ---> Running in e0f04d56b6fe 16:39:55 noop 16:39:55 Removing intermediate container e0f04d56b6fe 16:39:55 ---> 621cd133b628 16:39:55 Successfully built 621cd133b628 16:39:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:56 + docker inspect -f . ci-base-image-x86_64 16:39:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:56 prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container 16:39:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 16:39:56 $ docker top 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:56 + go version 16:39:56 go version go1.18.3 linux/amd64 [Pipeline] } 16:39:56 $ docker stop --time=1 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 16:39:58 $ docker rm -f 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:58 + docker inspect -f . ci-base-image-x86_64 16:39:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:58 prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container 16:39:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 16:39:59 $ docker top 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] fileExists [Pipeline] sh 16:39:59 + make test 16:39:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:40:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.727s coverage: 89.2% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:40:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.5% of statements 16:40:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:40:33 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:40:33 GO111MODULE=on go vet ./... 16:40:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:40:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:40:37 ./bin/test-attribution-txt.sh 16:40:37 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:40:37 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:40:37 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:40:37 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:40:37 $ docker stop --time=1 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d 16:40:39 $ docker rm -f 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d [Pipeline] // withDockerContainer [Pipeline] sh 16:40:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:40:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:40:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:40:40 + ls -al . 16:40:40 total 276 16:40:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:39 . 16:40:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:39 .. 16:40:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:39 .dockerignore 16:40:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:40 .git 16:40:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:39 .github 16:40:40 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:39 .gitignore 16:40:40 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:39 .golangci.yml 16:40:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:39 .semver 16:40:40 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:39 CHANGELOG.md 16:40:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:39 GOVERNANCE.md 16:40:40 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:39 Jenkinsfile 16:40:40 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:39 LICENSE 16:40:40 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:39 Makefile 16:40:40 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:39 OWNERS.md 16:40:40 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:39 README.md 16:40:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:39 VERSION 16:40:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:39 bin 16:40:40 -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:40 coverage.out 16:40:40 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:39 example 16:40:40 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 16:39 go.mod 16:40:40 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 16:39 go.sum 16:40:40 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:39 internal 16:40:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:39 openapi 16:40:40 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:39 pkg 16:40:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:39 snap 16:40:40 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:41 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 --label arch=amd64 --label version=0.0.0 . 16:40:41 Sending build context to Docker daemon 9.983MB 16:40:41 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:40:41 Step 2/25 : FROM ${BASE} AS builder 16:40:41 ---> 621cd133b628 16:40:41 Step 3/25 : ARG MAKE=make build 16:40:41 ---> Running in 957869865cc6 16:40:41 Removing intermediate container 957869865cc6 16:40:41 ---> 7136ffa597da 16:40:41 Step 4/25 : WORKDIR /device-sdk-go 16:40:41 ---> Running in 93947818e7ae 16:40:41 Removing intermediate container 93947818e7ae 16:40:41 ---> 94e5a0c29218 16:40:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:40:41 ---> Running in 0f1f24ec16e5 16:40:41 Removing intermediate container 0f1f24ec16e5 16:40:41 ---> 54fd2a6dd2a2 16:40:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:41 ---> Running in a7a3be3071f8 16:40:42 Removing intermediate container a7a3be3071f8 16:40:42 ---> c86ceff8902e 16:40:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:40:42 ---> Running in fada7edba7ae 16:40:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:40:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:40:43 OK: 211 MiB in 51 packages 16:40:44 Removing intermediate container fada7edba7ae 16:40:44 ---> 8e3aed806c0b 16:40:44 Step 8/25 : COPY go.mod vendor* ./ 16:40:44 ---> bb2b08cc1474 16:40:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:44 ---> Running in e438aae7e078 16:40:45 Removing intermediate container e438aae7e078 16:40:45 ---> 7615ccbe7dec 16:40:45 Step 10/25 : COPY . . 16:40:45 ---> 4d41611f4336 16:40:45 Step 11/25 : RUN ${MAKE} 16:40:45 ---> Running in d1941fe1906d 16:40:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:41:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:41:04 Removing intermediate container d1941fe1906d 16:41:04 ---> d2d8425747ec 16:41:04 Step 12/25 : FROM alpine:3.16 16:41:05 3.16: Pulling from library/alpine 16:41:05 213ec9aee27d: Pulling fs layer 16:41:05 213ec9aee27d: Verifying Checksum 16:41:05 213ec9aee27d: Download complete 16:41:05 213ec9aee27d: Pull complete 16:41:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:41:05 Status: Downloaded newer image for alpine:3.16 16:41:05 ---> 9c6f07244728 16:41:05 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:41:06 ---> Running in ba5f9c7d7d63 16:41:06 Removing intermediate container ba5f9c7d7d63 16:41:06 ---> 7799393812c2 16:41:06 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:41:06 ---> Running in 8cd824d6aee6 16:41:06 Removing intermediate container 8cd824d6aee6 16:41:06 ---> be9063d4f8cc 16:41:06 Step 15/25 : RUN apk add --update --no-cache zeromq 16:41:06 ---> Running in 0c9865283d6a 16:41:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:41:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:41:08 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:41:08 (2/5) Installing libsodium (1.0.18-r0) 16:41:08 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:41:08 (4/5) Installing libzmq (4.3.4-r0) 16:41:08 (5/5) Installing zeromq (4.3.4-r0) 16:41:08 Executing busybox-1.35.0-r17.trigger 16:41:08 OK: 8 MiB in 19 packages 16:41:08 Removing intermediate container 0c9865283d6a 16:41:08 ---> fade14960763 16:41:08 Step 16/25 : WORKDIR / 16:41:09 ---> Running in e8961975b566 16:41:09 Removing intermediate container e8961975b566 16:41:09 ---> 556b8212b756 16:41:09 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:41:09 ---> 62406a7d4ebd 16:41:09 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:41:09 ---> 292f7f5f60b6 16:41:09 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:41:09 ---> 3523586d2a04 16:41:09 Step 20/25 : EXPOSE 59999 16:41:09 ---> Running in 96b21b98e18a 16:41:09 Removing intermediate container 96b21b98e18a 16:41:09 ---> 4fee6396dad7 16:41:09 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:41:09 ---> Running in 54aaccbf7011 16:41:10 Removing intermediate container 54aaccbf7011 16:41:10 ---> b892b9aadb30 16:41:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:41:10 ---> Running in 6362aba36275 16:41:10 Removing intermediate container 6362aba36275 16:41:10 ---> af97f09ce82a 16:41:10 Step 23/25 : LABEL arch=amd64 16:41:10 ---> Running in 1967cdb2aff9 16:41:10 Removing intermediate container 1967cdb2aff9 16:41:10 ---> a8b0b46b83a6 16:41:10 Step 24/25 : LABEL git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 16:41:10 ---> Running in 448d2c77a403 16:41:10 Removing intermediate container 448d2c77a403 16:41:10 ---> 3998f5de6ac5 16:41:10 Step 25/25 : LABEL version=0.0.0 16:41:10 ---> Running in 7664adc9b2af 16:41:10 Removing intermediate container 7664adc9b2af 16:41:10 ---> 756020372aa8 16:41:10 [Warning] One or more build-args [ARCH] were not consumed 16:41:10 Successfully built 756020372aa8 16:41:10 Successfully tagged device-sdk-simple: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 16:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:11 16:41:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:11 latest: Pulling from edgex-lftools-log-publisher 16:41:11 5eb5b503b376: Pulling fs layer 16:41:11 5c69ac0246d0: Pulling fs layer 16:41:11 ec43610c2a17: Pulling fs layer 16:41:11 3a2ae6a8a46f: Pulling fs layer 16:41:11 33b1e0a273af: Pulling fs layer 16:41:11 5d3b04190fa2: Pulling fs layer 16:41:11 2f39f015ded8: Pulling fs layer 16:41:11 33b1e0a273af: Waiting 16:41:11 5d3b04190fa2: Waiting 16:41:11 3a2ae6a8a46f: Waiting 16:41:11 5c69ac0246d0: Download complete 16:41:11 3a2ae6a8a46f: Verifying Checksum 16:41:11 3a2ae6a8a46f: Download complete 16:41:11 ec43610c2a17: Verifying Checksum 16:41:11 ec43610c2a17: Download complete 16:41:11 5d3b04190fa2: Download complete 16:41:11 33b1e0a273af: Verifying Checksum 16:41:11 33b1e0a273af: Download complete 16:41:11 5eb5b503b376: Verifying Checksum 16:41:11 5eb5b503b376: Download complete 16:41:12 2f39f015ded8: Download complete 16:41:12 5eb5b503b376: Pull complete 16:41:12 5c69ac0246d0: Pull complete 16:41:13 ec43610c2a17: Pull complete 16:41:13 3a2ae6a8a46f: Pull complete 16:41:13 33b1e0a273af: Pull complete 16:41:13 5d3b04190fa2: Pull complete 16:41:17 2f39f015ded8: Pull complete 16:41:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:17 prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container 16:41:17 $ 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/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 16:41:19 $ docker top 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:19 ---> job-cost.sh 16:41:19 lf-activate-venv: SKIPPING 16:41:19 INFO: No Stack... 16:41:20 INFO: Retrieving Pricing Info for: v3-standard-8 16:41:20 INFO: Archiving Costs [Pipeline] sh 16:41:20 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/cost.csv 16:41:20 + cut -d, -f6 [Pipeline] lock 16:41:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] 16:41:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] did not exist. Created. 16:41:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:21 + echo total: 0.2199999988079071 [Pipeline] stash 16:41:21 Stashed 1 file(s) [Pipeline] } 16:41:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:21 $ docker stop --time=1 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 16:41:22 $ docker rm -f 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:43:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-621 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] { [Pipeline] ws 16:43:23 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:43:23 The recommended git tool is: git 16:43:29 using credential edgex-jenkins-ssh 16:43:30 Cloning the remote Git repository 16:43:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:43:30 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:43:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:43:30 > git --version # timeout=10 16:43:30 > git --version # 'git version 2.25.1' 16:43:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:30 Verifying host key using known hosts file 16:43:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:43:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:43:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:43:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:43:35 Merging remotes/origin/main commit 7a5456d65667bce537ee6e9ff0922bddc6112164 into PR head commit 46ace83fbd83e6729010ee50e972ab9dad0f6778 16:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:43:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:43:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:34 Verifying host key using known hosts file 16:43:34 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:43:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:43:35 > git config core.sparsecheckout # timeout=10 16:43:35 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 16:43:35 Merge succeeded, producing 46ace83fbd83e6729010ee50e972ab9dad0f6778 16:43:35 Checking out Revision 46ace83fbd83e6729010ee50e972ab9dad0f6778 (PR-1214) 16:43:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:43:35 > git remote # timeout=10 16:43:35 > git config --get remote.origin.url # timeout=10 16:43:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:35 Verifying host key using known hosts file 16:43:35 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:43:35 > git merge 7a5456d65667bce537ee6e9ff0922bddc6112164 # timeout=10 16:43:35 > git rev-parse HEAD^{commit} # timeout=10 16:43:35 > git config core.sparsecheckout # timeout=10 16:43:35 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 16:43:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:43:37 % Total % Received % Xferd Average Speed Time Time Time Current 16:43:37 Dload Upload Total Spent Left Speed 16:43:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72425 0 --:--:-- --:--:-- --:--:-- 72843 [Pipeline] sh 16:43:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:43:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:43:38 + sudo tee /etc/docker/daemon.new 16:43:38 { 16:43:38 "registry-mirrors": [ 16:43:38 "https://nexus3.edgexfoundry.org:10001" 16:43:38 ], 16:43:38 "bip": "10.250.0.254/24", 16:43:38 "hosts": [ 16:43:38 "tcp://0.0.0.0:5555", 16:43:38 "unix:///var/run/docker.sock" 16:43:38 ], 16:43:38 "mtu": 1458, 16:43:38 "selinux-enabled": true, 16:43:38 "seccomp-profile": "/etc/docker/seccomp.json" 16:43:38 } [Pipeline] sh 16:43:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:43:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:43:57 provisioning config files... 16:43:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15719823387074691020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:57 ---> docker-login.sh 16:43:57 nexus3.edgexfoundry.org:10001 16:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:58 Configure a credential helper to remove this warning. See 16:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:58 16:43:58 Login Succeeded 16:43:58 nexus3.edgexfoundry.org:10002 16:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:58 Configure a credential helper to remove this warning. See 16:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:58 16:43:58 Login Succeeded 16:43:58 nexus3.edgexfoundry.org:10003 16:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:59 Configure a credential helper to remove this warning. See 16:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:59 16:43:59 Login Succeeded 16:43:59 nexus3.edgexfoundry.org:10004 16:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:59 Configure a credential helper to remove this warning. See 16:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:59 16:43:59 Login Succeeded 16:43:59 docker.io 16:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:00 Configure a credential helper to remove this warning. See 16:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:00 16:44:00 Login Succeeded 16:44:00 ---> docker-login.sh ends [Pipeline] } 16:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:00 ========================================================= 16:44:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:44:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:01 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:44:01 Sending build context to Docker daemon 5.303MB 16:44:01 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:44:01 Step 2/11 : FROM ${BASE} AS builder 16:44:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:44:01 b3c136eddcbf: Pulling fs layer 16:44:01 c0a3192eca97: Pulling fs layer 16:44:01 a050256f5b6f: Pulling fs layer 16:44:01 656be50a0ddc: Pulling fs layer 16:44:01 2bbca73fdf42: Pulling fs layer 16:44:01 46d945488cbd: Pulling fs layer 16:44:01 8a5474983e97: Pulling fs layer 16:44:01 329c88fbcd65: Pulling fs layer 16:44:01 656be50a0ddc: Waiting 16:44:01 2bbca73fdf42: Waiting 16:44:01 46d945488cbd: Waiting 16:44:01 8a5474983e97: Waiting 16:44:01 329c88fbcd65: Waiting 16:44:01 a050256f5b6f: Verifying Checksum 16:44:01 a050256f5b6f: Download complete 16:44:01 c0a3192eca97: Verifying Checksum 16:44:01 c0a3192eca97: Download complete 16:44:01 2bbca73fdf42: Verifying Checksum 16:44:01 2bbca73fdf42: Download complete 16:44:01 46d945488cbd: Verifying Checksum 16:44:01 46d945488cbd: Download complete 16:44:01 b3c136eddcbf: Verifying Checksum 16:44:01 b3c136eddcbf: Download complete 16:44:03 329c88fbcd65: Verifying Checksum 16:44:03 329c88fbcd65: Download complete 16:44:03 b3c136eddcbf: Pull complete 16:44:03 c0a3192eca97: Pull complete 16:44:03 a050256f5b6f: Pull complete 16:44:04 8a5474983e97: Verifying Checksum 16:44:04 8a5474983e97: Download complete 16:44:04 656be50a0ddc: Verifying Checksum 16:44:04 656be50a0ddc: Download complete 16:44:17 656be50a0ddc: Pull complete 16:44:17 2bbca73fdf42: Pull complete 16:44:17 46d945488cbd: Pull complete 16:44:22 8a5474983e97: Pull complete 16:44:25 329c88fbcd65: Pull complete 16:44:25 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:44:25 ---> ff4287adb874 16:44:25 Step 3/11 : ARG MAKE=make build 16:44:27 ---> Running in 76024da0c2e5 16:44:27 Removing intermediate container 76024da0c2e5 16:44:27 ---> fe46b1210868 16:44:27 Step 4/11 : WORKDIR /device-sdk-go 16:44:27 ---> Running in 469191412fa2 16:44:27 Removing intermediate container 469191412fa2 16:44:27 ---> 76a96b3306a3 16:44:27 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:44:27 ---> Running in 519241b19f9c 16:44:28 Removing intermediate container 519241b19f9c 16:44:28 ---> 8f99806a070e 16:44:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:28 ---> Running in 100de1ac7498 16:44:30 Removing intermediate container 100de1ac7498 16:44:30 ---> d500a9fbca8b 16:44:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:44:30 ---> Running in 8a9e6371e84a 16:44:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:44:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:44:33 OK: 221 MiB in 51 packages 16:44:34 Removing intermediate container 8a9e6371e84a 16:44:34 ---> ea31e507a00f 16:44:34 Step 8/11 : COPY go.mod vendor* ./ 16:44:35 ---> 6d53ee513e36 16:44:35 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:44:35 ---> Running in 8fe164f00dfd 16:45:31 Removing intermediate container 8fe164f00dfd 16:45:31 ---> 8b0958a4310a 16:45:31 Step 10/11 : COPY . . 16:45:31 ---> a2ceb18f9204 16:45:31 Step 11/11 : RUN ${MAKE} 16:45:31 ---> Running in 52c08152da41 16:45:31 noop 16:45:31 Removing intermediate container 52c08152da41 16:45:31 ---> 5a8f37ef183a 16:45:31 Successfully built 5a8f37ef183a 16:45:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:32 + docker inspect -f . ci-base-image-arm64 16:45:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:32 prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container 16:45:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 16:45:33 $ docker top 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:34 + go version 16:45:34 go version go1.18.3 linux/arm64 [Pipeline] } 16:45:34 $ docker stop --time=1 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 16:45:36 $ docker rm -f 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:36 + docker inspect -f . ci-base-image-arm64 16:45:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container 16:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 16:45:38 $ docker top 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 16:45:39 + make test 16:45:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:46:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:48:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:48:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:48:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:48:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:48:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:48:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.467s coverage: 27.6% of statements 16:48:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.149s coverage: 78.9% of statements 16:48:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:48:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.626s coverage: 60.0% of statements 16:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:48:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.512s coverage: 54.4% of statements 16:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.436s coverage: 65.1% of statements 16:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.101s coverage: 89.2% of statements 16:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements 16:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:48:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:48:57 GO111MODULE=on go vet ./... 16:50:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:34 ./bin/test-attribution-txt.sh 16:50:34 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:50:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:50:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:50:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:50:34 $ docker stop --time=1 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d 16:50:36 $ docker rm -f 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d [Pipeline] // withDockerContainer [Pipeline] sh 16:50:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:37 Warning: overwriting stash ‘coverage-report’ 16:50:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:50:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:38 + ls -al . 16:50:38 total 272 16:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:45 . 16:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:43 .. 16:50:38 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:43 .dockerignore 16:50:38 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:43 .git 16:50:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:43 .github 16:50:38 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:43 .gitignore 16:50:38 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:43 .golangci.yml 16:50:38 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:43 CHANGELOG.md 16:50:38 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:43 GOVERNANCE.md 16:50:38 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:43 Jenkinsfile 16:50:38 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:43 LICENSE 16:50:38 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:43 Makefile 16:50:38 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:43 OWNERS.md 16:50:38 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:43 README.md 16:50:38 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:39 VERSION 16:50:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:43 bin 16:50:38 -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:48 coverage.out 16:50:38 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:43 example 16:50:38 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 16:43 go.mod 16:50:38 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 16:43 go.sum 16:50:38 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:43 internal 16:50:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:43 openapi 16:50:38 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:43 pkg 16:50:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:43 snap 16:50:38 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:39 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 --label arch=arm64 --label version=0.0.0 . 16:50:39 Sending build context to Docker daemon 5.406MB 16:50:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:50:39 Step 2/25 : FROM ${BASE} AS builder 16:50:39 ---> 5a8f37ef183a 16:50:39 Step 3/25 : ARG MAKE=make build 16:50:39 ---> Running in 3caa8097aaa9 16:50:40 Removing intermediate container 3caa8097aaa9 16:50:40 ---> 29a6b50aa90f 16:50:40 Step 4/25 : WORKDIR /device-sdk-go 16:50:40 ---> Running in c754ac882aa8 16:50:40 Removing intermediate container c754ac882aa8 16:50:40 ---> 2e022f91c22b 16:50:40 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:50:40 ---> Running in 3ba708a0ba0b 16:50:41 Removing intermediate container 3ba708a0ba0b 16:50:41 ---> 136ef74b0622 16:50:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:50:41 ---> Running in 06c62f7c4b2d 16:50:43 Removing intermediate container 06c62f7c4b2d 16:50:43 ---> 0ea055c4ce95 16:50:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:50:43 ---> Running in 2fbcdbd37860 16:50:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:50:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:50:46 OK: 221 MiB in 51 packages 16:50:47 Removing intermediate container 2fbcdbd37860 16:50:47 ---> fd46ea33c8ca 16:50:47 Step 8/25 : COPY go.mod vendor* ./ 16:50:47 ---> 767920290aa5 16:50:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:47 ---> Running in 61345cc46930 16:50:49 Removing intermediate container 61345cc46930 16:50:49 ---> e08d4fdbb783 16:50:49 Step 10/25 : COPY . . 16:50:51 ---> 4e57ea01dd7c 16:50:51 Step 11/25 : RUN ${MAKE} 16:50:51 ---> Running in 91529c96f280 16:50:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:53:29 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:53:29 Removing intermediate container 91529c96f280 16:53:29 ---> 3e2480833674 16:53:29 Step 12/25 : FROM alpine:3.16 16:53:29 3.16: Pulling from library/alpine 16:53:29 9b18e9b68314: Pulling fs layer 16:53:29 9b18e9b68314: Verifying Checksum 16:53:29 9b18e9b68314: Download complete 16:53:29 9b18e9b68314: Pull complete 16:53:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:53:29 Status: Downloaded newer image for alpine:3.16 16:53:29 ---> a6215f271958 16:53:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:53:29 ---> Running in 94f28847a02b 16:53:29 Removing intermediate container 94f28847a02b 16:53:29 ---> d5544159b07c 16:53:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:29 ---> Running in 5c2f55b556da 16:53:29 Removing intermediate container 5c2f55b556da 16:53:29 ---> 44d49c4dd2b3 16:53:29 Step 15/25 : RUN apk add --update --no-cache zeromq 16:53:29 ---> Running in e3d97b001d3f 16:53:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:53:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:53:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:53:30 (2/5) Installing libsodium (1.0.18-r0) 16:53:30 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:53:30 (4/5) Installing libzmq (4.3.4-r0) 16:53:30 (5/5) Installing zeromq (4.3.4-r0) 16:53:30 Executing busybox-1.35.0-r17.trigger 16:53:30 OK: 8 MiB in 19 packages 16:53:31 Removing intermediate container e3d97b001d3f 16:53:31 ---> aec6ff2aae47 16:53:31 Step 16/25 : WORKDIR / 16:53:31 ---> Running in e99f9d96b0db 16:53:31 Removing intermediate container e99f9d96b0db 16:53:31 ---> 8f9ce1977b36 16:53:31 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:53:32 ---> 3a2bda046fe6 16:53:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:53:33 ---> a8ae8f9c1f54 16:53:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:53:34 ---> 180362bda60a 16:53:34 Step 20/25 : EXPOSE 59999 16:53:34 ---> Running in 8ecdbfd158e7 16:53:34 Removing intermediate container 8ecdbfd158e7 16:53:34 ---> c770327510dd 16:53:34 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:53:34 ---> Running in d9979580e528 16:53:35 Removing intermediate container d9979580e528 16:53:35 ---> 925804730c68 16:53:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:53:35 ---> Running in 712fbe6d9f7c 16:53:35 Removing intermediate container 712fbe6d9f7c 16:53:35 ---> 0c06affe5844 16:53:35 Step 23/25 : LABEL arch=arm64 16:53:35 ---> Running in 5ad5c42090bc 16:53:36 Removing intermediate container 5ad5c42090bc 16:53:36 ---> dc9475de9466 16:53:36 Step 24/25 : LABEL git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 16:53:36 ---> Running in a8da05537adf 16:53:36 Removing intermediate container a8da05537adf 16:53:36 ---> a11434fb5940 16:53:36 Step 25/25 : LABEL version=0.0.0 16:53:36 ---> Running in 2cbd19ac6475 16:53:36 Removing intermediate container 2cbd19ac6475 16:53:36 ---> 73705e2e7cf2 16:53:36 [Warning] One or more build-args [ARCH] were not consumed 16:53:36 Successfully built 73705e2e7cf2 16:53:36 Successfully tagged device-sdk-simple-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 16:53:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:37 16:53:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:37 arm64: Pulling from edgex-lftools-log-publisher 16:53:37 8998bd30e6a1: Pulling fs layer 16:53:37 04944245beec: Pulling fs layer 16:53:37 699f458cf7ca: Pulling fs layer 16:53:37 765212b225bb: Pulling fs layer 16:53:37 f23df028b6ca: Pulling fs layer 16:53:37 d65c8cfc05b1: Pulling fs layer 16:53:37 2437ff75d9bd: Pulling fs layer 16:53:37 f23df028b6ca: Waiting 16:53:37 d65c8cfc05b1: Waiting 16:53:37 2437ff75d9bd: Waiting 16:53:37 765212b225bb: Waiting 16:53:37 04944245beec: Verifying Checksum 16:53:37 04944245beec: Download complete 16:53:37 765212b225bb: Verifying Checksum 16:53:37 765212b225bb: Download complete 16:53:38 f23df028b6ca: Download complete 16:53:38 d65c8cfc05b1: Verifying Checksum 16:53:38 d65c8cfc05b1: Download complete 16:53:38 699f458cf7ca: Verifying Checksum 16:53:38 699f458cf7ca: Download complete 16:53:38 8998bd30e6a1: Download complete 16:53:41 2437ff75d9bd: Verifying Checksum 16:53:41 2437ff75d9bd: Download complete 16:53:42 8998bd30e6a1: Pull complete 16:53:43 04944245beec: Pull complete 16:53:44 699f458cf7ca: Pull complete 16:53:45 765212b225bb: Pull complete 16:53:45 f23df028b6ca: Pull complete 16:53:45 d65c8cfc05b1: Pull complete 16:54:00 2437ff75d9bd: Pull complete 16:54:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:01 prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container 16:54:01 $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 16:54:03 $ docker top 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:04 ---> job-cost.sh 16:54:04 lf-activate-venv: SKIPPING 16:54:04 INFO: No Stack... 16:54:05 INFO: Retrieving Pricing Info for: v3-standard-4 16:54:05 INFO: Archiving Costs [Pipeline] sh 16:54:06 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 16:54:06 + cut -d, -f6 [Pipeline] lock 16:54:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] 16:54:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] did not exist. Created. 16:54:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:54:07 /w/workspace/device-sdk-go/2@tmp/durable-b64fb237/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:54:07 + echo total: 0.10999999940395355 [Pipeline] stash 16:54:07 Warning: overwriting stash ‘stack-cost’ 16:54:07 Stashed 1 file(s) [Pipeline] } 16:54:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:54:07 $ docker stop --time=1 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 16:54:09 $ docker rm -f 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 [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 16:54:09 provisioning config files... 16:54:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config1085366929485879962tmp [Pipeline] { [Pipeline] sh 16:54:10 + set +x 16:54:10 + curl -s https://codecov.io/bash 16:54:10 + bash -s -- 16:54:10 16:54:10 _____ _ 16:54:10 / ____| | | 16:54:10 | | ___ __| | ___ ___ _____ __ 16:54:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:54:10 | |___| (_) | (_| | __/ (_| (_) \ V / 16:54:10 \_____\___/ \__,_|\___|\___\___/ \_/ 16:54:10 Bash-1.0.6 16:54:10 16:54:10 16:54:10 ==> git version 2.25.1 found 16:54:10 ==> 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 16:54:10 Release-Date: 2020-01-08 16:54:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:54:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:54:10 ==> Jenkins CI detected. 16:54:10 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1214 16:54:10 project root: . 16:54:10 --> token set from env 16:54:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:54:10 ==> Running gcov in . (disable via -X gcov) 16:54:10 ==> Python coveragepy not found 16:54:10 ==> Searching for coverage reports in: 16:54:10 + . 16:54:10 -> Found 1 reports 16:54:10 ==> Detecting git/mercurial file structure 16:54:10 ==> Reading reports 16:54:10 + ./coverage.out bytes=101794 16:54:10 ==> Appending adjustments 16:54:10 https://docs.codecov.io/docs/fixing-reports 16:54:10 + Found adjustments 16:54:10 ==> Gzipping contents 16:54:10 16K /tmp/codecov.T8mPFu.gz 16:54:10 ==> Uploading reports 16:54:10 url: https://codecov.io 16:54:10 query: branch=PR-1214&commit=46ace83fbd83e6729010ee50e972ab9dad0f6778&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= 16:54:10 -> Pinging Codecov 16:54:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1214&commit=46ace83fbd83e6729010ee50e972ab9dad0f6778&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= 16:54:10 -> Uploading to 16:54:10 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/46ace83fbd83e6729010ee50e972ab9dad0f6778/0b1c80d2-aa07-4578-a782-b0a3e4c1166c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T165410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=140796204f21a399a2608b3e22a7587fb97070265f5a9552051c45ea3709662e 16:54:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:54:10 Dload Upload Total Spent Left Speed 16:54:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14579 0 0 100 14579 0 63942 --:--:-- --:--:-- --:--:-- 63942 16:54:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] } 16:54:11 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 16:54:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives ] 16:54:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 16:54:11 total 16 16:54:11 drwxr-xr-x 3 root root 4096 Sep 22 16:41 . 16:54:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:41 .. 16:54:11 drwxr-xr-x 2 root root 4096 Sep 22 16:41 cost 16:54:11 -rw-r--r-- 1 root root 86 Sep 22 16:41 cost.csv 16:54:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 16:54:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 16:54:11 total 16 16:54:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:41 . 16:54:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:41 .. 16:54:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:41 cost 16:54:11 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 16:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:54:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:54:12 ---> package-listing.sh 16:54:12 ++ facter osfamily 16:54:12 ++ tr '[:upper:]' '[:lower:]' 16:54:13 + OS_FAMILY=debian 16:54:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1214 16:54:13 + START_PACKAGES=/tmp/packages_start.txt 16:54:13 + END_PACKAGES=/tmp/packages_end.txt 16:54:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:54:13 + PACKAGES=/tmp/packages_start.txt 16:54:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' 16:54:13 + PACKAGES=/tmp/packages_end.txt 16:54:13 + case "${OS_FAMILY}" in 16:54:13 + dpkg -l 16:54:13 + grep '^ii' 16:54:13 + '[' -f /tmp/packages_start.txt ']' 16:54:13 + '[' -f /tmp/packages_end.txt ']' 16:54:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:54:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' 16:54:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ 16:54:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [Pipeline] echo 16:54:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:54:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:54:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:14 prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container 16:54:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 16:54:14 $ docker top ed345c660d408deda8919b33df1394389b717faec5a297f1ca418aa496bce96c -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:54:14 + mkdir -p /var/log/sysstat [Pipeline] sh 16:54:15 + ls /var/log/sa-host 16:54:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:15 provisioning config files... 16:54:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config10053569224408691669tmp [Pipeline] { [Pipeline] echo 16:54:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:54:15 ---> create-netrc.sh [Pipeline] } 16:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:54:15 ---> python-tools-install.sh [Pipeline] echo 16:54:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:54:16 ---> sudo-logs.sh 16:54:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:54:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:54:16 ---> job-cost.sh 16:54:16 lf-activate-venv: SKIPPING 16:54:16 DEBUG: total: 0.2199999988079071 16:54:16 INFO: Retrieving Stack Cost... 16:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:54:17 INFO: Archiving Costs [Pipeline] echo 16:54:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:54:17 ---> logs-deploy.sh 16:54:17 lf-activate-venv: SKIPPING 16:54:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1214/2 16:54:17 INFO: archiving workspace using pattern(s): 16:54:18 Archives upload complete. 16:54:18 INFO: archiving logs to Nexus 16:54:19 ---> uname -a: 16:54:19 Linux prd-ubuntu20-04-docker-8c-8g-617 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:54:19 16:54:19 16:54:19 ---> lscpu: 16:54:19 Architecture: x86_64 16:54:19 CPU op-mode(s): 32-bit, 64-bit 16:54:19 Byte Order: Little Endian 16:54:19 Address sizes: 40 bits physical, 48 bits virtual 16:54:19 CPU(s): 8 16:54:19 On-line CPU(s) list: 0-7 16:54:19 Thread(s) per core: 1 16:54:19 Core(s) per socket: 1 16:54:19 Socket(s): 8 16:54:19 NUMA node(s): 1 16:54:19 Vendor ID: AuthenticAMD 16:54:19 CPU family: 23 16:54:19 Model: 49 16:54:19 Model name: AMD EPYC-Rome Processor 16:54:19 Stepping: 0 16:54:19 CPU MHz: 2799.998 16:54:19 BogoMIPS: 5599.99 16:54:19 Virtualization: AMD-V 16:54:19 Hypervisor vendor: KVM 16:54:19 Virtualization type: full 16:54:19 L1d cache: 256 KiB 16:54:19 L1i cache: 256 KiB 16:54:19 L2 cache: 4 MiB 16:54:19 L3 cache: 128 MiB 16:54:19 NUMA node0 CPU(s): 0-7 16:54:19 Vulnerability Itlb multihit: Not affected 16:54:19 Vulnerability L1tf: Not affected 16:54:19 Vulnerability Mds: Not affected 16:54:19 Vulnerability Meltdown: Not affected 16:54:19 Vulnerability Mmio stale data: Not affected 16:54:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:54:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:54:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:54:19 Vulnerability Srbds: Not affected 16:54:19 Vulnerability Tsx async abort: Not affected 16:54:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:54:19 16:54:19