Pull request #1226 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 94ac6d2266df18c991779d09973ee9ae491e9f24+86d27a5a876ae0ae85a91145bae5663558e9d985 (b9c8586cbcb3ff3bc2f2530efe0cc97c84635974) 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-ssh18425696471780668079.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-ssh1896606829960142807.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13523220753212165809.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15542720235085981985.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3316011982872200912.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5509059736596930994.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6944 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [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-1226 # 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/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 Merge succeeded, producing 94ac6d2266df18c991779d09973ee9ae491e9f24 Checking out Revision 94ac6d2266df18c991779d09973ee9ae491e9f24 (PR-1226) > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # 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 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 Commit message: "feat: Enable service metrics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:44 ========================================================= 22:19:44 EdgeX Global Pipelines Version Info 22:19:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:45 ------------------- 22:19:45 stable info: 22:19:45 ------------------- 22:19:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:45 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:19:45 Message: update stable to v1.0.239 22:19:45 ------------------- 22:19:45 experimental info: 22:19:45 ------------------- 22:19:45 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:45 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:19:45 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:19:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:19:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1226 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1226 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1226 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94ac6d2 [Pipeline] echo 22:19:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:46 provisioning config files... 22:19:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config13025606226168825933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:47 ---> docker-login.sh 22:19:47 nexus3.edgexfoundry.org:10001 22:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:47 Configure a credential helper to remove this warning. See 22:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:47 22:19:47 Login Succeeded 22:19:47 nexus3.edgexfoundry.org:10002 22:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:47 Configure a credential helper to remove this warning. See 22:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:47 22:19:47 Login Succeeded 22:19:47 nexus3.edgexfoundry.org:10003 22:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:48 Configure a credential helper to remove this warning. See 22:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:48 22:19:48 Login Succeeded 22:19:48 nexus3.edgexfoundry.org:10004 22:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:48 Configure a credential helper to remove this warning. See 22:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:48 22:19:48 Login Succeeded 22:19:48 docker.io 22:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:48 Configure a credential helper to remove this warning. See 22:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:48 22:19:48 Login Succeeded 22:19:48 ---> docker-login.sh ends [Pipeline] } 22:19:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:49 + git rev-list -1 --merges 94ac6d2266df18c991779d09973ee9ae491e9f24~1..94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo 22:19:49 -----------> git rev-list -1 --merges 94ac6d2266df18c991779d09973ee9ae491e9f24~1..94ac6d2266df18c991779d09973ee9ae491e9f24 94ac6d2266df18c991779d09973ee9ae491e9f24 [false] [Pipeline] sh 22:19:49 + git log --format=format:%s -1 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo 22:19:49 ========================================================= 22:19:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:50 + git log --format=format:%s -1 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo 22:19:50 [semverPrep] GIT_COMMIT: 94ac6d2266df18c991779d09973ee9ae491e9f24, Commit Message: feat: Enable service metrics [Pipeline] echo 22:19:50 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:50 + grep -v github /etc/ssh/ssh_known_hosts 22:19:50 + [ -e /tmp/ssh_known_hosts ] 22:19:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:50 + sudo tee -a /etc/ssh/ssh_known_hosts 22:19:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:51 22:19:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:51 0.1.4: Pulling from edgex-devops/py-git-semver 22:19:51 b85a868b505f: Pulling fs layer 22:19:51 e2be974225ed: Pulling fs layer 22:19:51 339a4e72a1f5: Pulling fs layer 22:19:51 988bab9f4d93: Pulling fs layer 22:19:51 1469e6f7b9e6: Pulling fs layer 22:19:51 eaf3925da568: Pulling fs layer 22:19:51 bab4dde63d76: Pulling fs layer 22:19:51 bde34c3a00c8: Pulling fs layer 22:19:51 988bab9f4d93: Waiting 22:19:51 1469e6f7b9e6: Waiting 22:19:51 eaf3925da568: Waiting 22:19:51 b352a97aabf1: Pulling fs layer 22:19:51 4872d77fe225: Pulling fs layer 22:19:51 bde34c3a00c8: Waiting 22:19:51 bab4dde63d76: Waiting 22:19:51 b352a97aabf1: Waiting 22:19:51 5851b861e8e6: Pulling fs layer 22:19:51 4872d77fe225: Waiting 22:19:51 5851b861e8e6: Waiting 22:19:51 e2be974225ed: Verifying Checksum 22:19:51 e2be974225ed: Download complete 22:19:51 988bab9f4d93: Download complete 22:19:51 1469e6f7b9e6: Verifying Checksum 22:19:51 1469e6f7b9e6: Download complete 22:19:51 eaf3925da568: Verifying Checksum 22:19:51 eaf3925da568: Download complete 22:19:51 339a4e72a1f5: Verifying Checksum 22:19:51 339a4e72a1f5: Download complete 22:19:51 bde34c3a00c8: Verifying Checksum 22:19:51 bde34c3a00c8: Download complete 22:19:51 b352a97aabf1: Verifying Checksum 22:19:51 b352a97aabf1: Download complete 22:19:51 4872d77fe225: Verifying Checksum 22:19:51 4872d77fe225: Download complete 22:19:51 5851b861e8e6: Verifying Checksum 22:19:51 b85a868b505f: Verifying Checksum 22:19:51 b85a868b505f: Download complete 22:19:52 bab4dde63d76: Verifying Checksum 22:19:52 bab4dde63d76: Download complete 22:19:52 b85a868b505f: Pull complete 22:19:53 e2be974225ed: Pull complete 22:19:53 339a4e72a1f5: Pull complete 22:19:53 988bab9f4d93: Pull complete 22:19:54 1469e6f7b9e6: Pull complete 22:19:54 eaf3925da568: Pull complete 22:19:55 bab4dde63d76: Pull complete 22:19:55 bde34c3a00c8: Pull complete 22:19:55 b352a97aabf1: Pull complete 22:19:55 4872d77fe225: Pull complete 22:19:56 5851b861e8e6: Pull complete 22:19:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:56 prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container 22:19:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@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 22:19:57 $ docker top a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d -eo pid,comm 22:19:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:19:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:57 [ssh-agent] Looking for ssh-agent implementation... 22:19:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:57 $ docker exec a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent 22:19:58 SSH_AUTH_SOCK=/tmp/ssh-E2aAGcVIxjeS/agent.32 22:19:58 SSH_AGENT_PID=38 22:19:58 Running ssh-add (command line suppressed) 22:19:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_4442633472744150448.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_4442633472744150448.key) 22:19:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:58 + git tag --points-at HEAD [Pipeline] } 22:19:58 $ docker exec --env ******** --env ******** a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent -k 22:19:58 unset SSH_AUTH_SOCK; 22:19:58 unset SSH_AGENT_PID; 22:19:58 echo Agent pid 38 killed; 22:19:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:58 [ssh-agent] Looking for ssh-agent implementation... 22:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:58 $ docker exec a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent 22:19:58 SSH_AUTH_SOCK=/tmp/ssh-TI3mwjyLhGkK/agent.70 22:19:58 SSH_AGENT_PID=76 22:19:58 Running ssh-add (command line suppressed) 22:19:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9993716532879489927.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9993716532879489927.key) 22:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:59 + git semver init 22:19:59 2022-10-03 22:19:59,505 [run_init] DEBUG init version:0.0.0 force:False 22:19:59 2022-10-03 22:19:59,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver 22:19:59 2022-10-03 22:19:59,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver 22:19:59 2022-10-03 22:19:59,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226, universal_newlines=False, shell=None, istream=None) 22:20:00 2022-10-03 22:20:00,497 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.git/info/exclude 22:20:00 2022-10-03 22:20:00,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 with force:False 22:20:00 2022-10-03 22:20:00,498 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 22:20:00 2022-10-03 22:20:00,502 [execute] INFO git cat-file --batch-check 22:20:00 2022-10-03 22:20:00,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) 22:20:00 2022-10-03 22:20:00,509 [execute] INFO git cat-file --batch 22:20:00 2022-10-03 22:20:00,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) 22:20:00 2022-10-03 22:20:00,515 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 22:20:00 0.0.0 [Pipeline] } 22:20:00 $ docker exec --env ******** --env ******** a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent -k 22:20:00 unset SSH_AUTH_SOCK; 22:20:00 unset SSH_AGENT_PID; 22:20:00 echo Agent pid 76 killed; 22:20:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:01 + git semver [Pipeline] } 22:20:01 $ docker stop --time=1 a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d 22:20:02 $ docker rm -f a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d [Pipeline] // withDockerContainer [Pipeline] sh 22:20:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:20:03 Stashed 1 file(s) [Pipeline] echo 22:20:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:04 provisioning config files... 22:20:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config16536613823734975508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:04 ---> docker-login.sh 22:20:04 nexus3.edgexfoundry.org:10001 22:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:04 Configure a credential helper to remove this warning. See 22:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:04 22:20:04 Login Succeeded 22:20:04 nexus3.edgexfoundry.org:10002 22:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:04 Configure a credential helper to remove this warning. See 22:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:04 22:20:04 Login Succeeded 22:20:04 nexus3.edgexfoundry.org:10003 22:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:04 Configure a credential helper to remove this warning. See 22:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:04 22:20:04 Login Succeeded 22:20:04 nexus3.edgexfoundry.org:10004 22:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:04 Configure a credential helper to remove this warning. See 22:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:04 22:20:04 Login Succeeded 22:20:04 docker.io 22:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:05 Configure a credential helper to remove this warning. See 22:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:05 22:20:05 Login Succeeded 22:20:05 ---> docker-login.sh ends [Pipeline] } 22:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:20:05 ========================================================= 22:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:06 + 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 . 22:20:06 Sending build context to Docker daemon 9.998MB 22:20:06 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:20:06 Step 2/11 : FROM ${BASE} AS builder 22:20:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:20:06 2408cc74d12b: Pulling fs layer 22:20:06 ea60b727a1ce: Pulling fs layer 22:20:06 30c4a7721957: Pulling fs layer 22:20:06 370296b7ddb6: Pulling fs layer 22:20:06 7c6cee850709: Pulling fs layer 22:20:06 aa9baa53a306: Pulling fs layer 22:20:06 8b309c321861: Pulling fs layer 22:20:06 d8d76fd02f46: Pulling fs layer 22:20:06 fa31f396de31: Pulling fs layer 22:20:06 7c6cee850709: Waiting 22:20:06 aa9baa53a306: Waiting 22:20:06 8b309c321861: Waiting 22:20:06 d8d76fd02f46: Waiting 22:20:06 fa31f396de31: Waiting 22:20:06 370296b7ddb6: Waiting 22:20:06 30c4a7721957: Download complete 22:20:06 ea60b727a1ce: Verifying Checksum 22:20:06 ea60b727a1ce: Download complete 22:20:06 7c6cee850709: Download complete 22:20:06 aa9baa53a306: Verifying Checksum 22:20:06 aa9baa53a306: Download complete 22:20:06 2408cc74d12b: Verifying Checksum 22:20:06 2408cc74d12b: Download complete 22:20:06 8b309c321861: Verifying Checksum 22:20:06 8b309c321861: Download complete 22:20:06 2408cc74d12b: Pull complete 22:20:06 ea60b727a1ce: Pull complete 22:20:06 30c4a7721957: Pull complete 22:20:06 fa31f396de31: Verifying Checksum 22:20:06 fa31f396de31: Download complete 22:20:06 d8d76fd02f46: Verifying Checksum 22:20:06 d8d76fd02f46: Download complete 22:20:07 370296b7ddb6: Download complete 22:20:11 370296b7ddb6: Pull complete 22:20:11 7c6cee850709: Pull complete 22:20:11 aa9baa53a306: Pull complete 22:20:11 8b309c321861: Pull complete 22:20:13 d8d76fd02f46: Pull complete 22:20:14 fa31f396de31: Pull complete 22:20:14 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 22:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:20:14 ---> cef68f9685f8 22:20:14 Step 3/11 : ARG MAKE=make build 22:20:15 ---> Running in 0153d972169b 22:20:15 Removing intermediate container 0153d972169b 22:20:15 ---> aff2b3b53a32 22:20:15 Step 4/11 : WORKDIR /device-sdk-go 22:20:15 ---> Running in 2b58b9349b26 22:20:15 Removing intermediate container 2b58b9349b26 22:20:15 ---> 7bdb76e451a9 22:20:15 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:20:15 ---> Running in 153fff8721a5 22:20:15 Removing intermediate container 153fff8721a5 22:20:15 ---> 934a6fa1b2a3 22:20:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:15 ---> Running in c3e3721761c0 22:20:16 Removing intermediate container c3e3721761c0 22:20:16 ---> 724f5d777508 22:20:16 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:20:16 ---> Running in a3d953a58352 22:20:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:20:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:20:17 OK: 211 MiB in 51 packages 22:20:18 Removing intermediate container a3d953a58352 22:20:18 ---> 998cb8856af8 22:20:18 Step 8/11 : COPY go.mod vendor* ./ 22:20:18 ---> b45bc00931a7 22:20:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:18 ---> Running in 44048a65be97 22:20:18 Still waiting to schedule task 22:20:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:20:36 Removing intermediate container 44048a65be97 22:20:36 ---> 89372fa852d6 22:20:36 Step 10/11 : COPY . . 22:20:36 ---> 029c6f63cadd 22:20:36 Step 11/11 : RUN ${MAKE} 22:20:36 ---> Running in 23a02901a5ea 22:20:36 noop 22:20:36 Removing intermediate container 23a02901a5ea 22:20:36 ---> 9a4559a46d6c 22:20:36 Successfully built 9a4559a46d6c 22:20:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:36 + docker inspect -f . ci-base-image-x86_64 22:20:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:36 prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container 22:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@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 22:20:37 $ docker top d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:37 + go version 22:20:37 go version go1.18.3 linux/amd64 [Pipeline] } 22:20:37 $ docker stop --time=1 d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 22:20:39 $ docker rm -f d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + docker inspect -f . ci-base-image-x86_64 22:20:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:39 prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container 22:20:39 $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@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 22:20:40 $ docker top 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] fileExists [Pipeline] sh 22:20:41 + make test 22:20:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:20:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 60.0% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.762s coverage: 89.2% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 22:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:21:20 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." 22:21:20 GO111MODULE=on go vet ./... 22:21:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:21 ./bin/test-attribution-txt.sh 22:21:21 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 22:21:21 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:21:21 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:21:21 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:21:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:21 $ docker stop --time=1 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f 22:21:24 $ docker rm -f 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f [Pipeline] // withDockerContainer [Pipeline] sh 22:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:26 + ls -al . 22:21:26 total 276 22:21:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 22:20 . 22:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:19 .. 22:21:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 22:19 .dockerignore 22:21:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 22:21 .git 22:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:19 .github 22:21:26 -rw-rw-r-- 1 jenkins jenkins 131 Oct 3 22:19 .gitignore 22:21:26 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 22:19 .golangci.yml 22:21:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 22:20 .semver 22:21:26 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 3 22:19 CHANGELOG.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 22:19 GOVERNANCE.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 880 Oct 3 22:19 Jenkinsfile 22:21:26 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 22:19 LICENSE 22:21:26 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 3 22:19 Makefile 22:21:26 -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 22:19 OWNERS.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 3 22:19 README.md 22:21:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 22:20 VERSION 22:21:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:19 bin 22:21:26 -rw-r--r-- 1 jenkins jenkins 101009 Oct 3 22:21 coverage.out 22:21:26 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 22:19 example 22:21:26 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 3 22:19 go.mod 22:21:26 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 3 22:19 go.sum 22:21:26 drwxrwxr-x 14 jenkins jenkins 4096 Oct 3 22:19 internal 22:21:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 22:19 openapi 22:21:26 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 22:19 pkg 22:21:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:19 snap 22:21:26 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:26 + 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=94ac6d2266df18c991779d09973ee9ae491e9f24 --label arch=amd64 --label version=0.0.0 . 22:21:26 Sending build context to Docker daemon 10.1MB 22:21:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:21:26 Step 2/25 : FROM ${BASE} AS builder 22:21:26 ---> 9a4559a46d6c 22:21:26 Step 3/25 : ARG MAKE=make build 22:21:26 ---> Running in 3098c685c938 22:21:26 Removing intermediate container 3098c685c938 22:21:26 ---> b3b8eb26f4e7 22:21:26 Step 4/25 : WORKDIR /device-sdk-go 22:21:26 ---> Running in e89f062d01f7 22:21:26 Removing intermediate container e89f062d01f7 22:21:26 ---> 9bdb0f6d6b2c 22:21:26 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:21:26 ---> Running in 2e23872bd0f4 22:21:26 Removing intermediate container 2e23872bd0f4 22:21:26 ---> 28330e15cfb3 22:21:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:21:26 ---> Running in 467466940a27 22:21:27 Removing intermediate container 467466940a27 22:21:27 ---> e16a8a34b6ff 22:21:27 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:21:27 ---> Running in 5cd785c16f93 22:21:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:21:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:21:29 OK: 211 MiB in 51 packages 22:21:29 Removing intermediate container 5cd785c16f93 22:21:29 ---> 9fd324ab950d 22:21:29 Step 8/25 : COPY go.mod vendor* ./ 22:21:29 ---> 2f02a2711df1 22:21:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:29 ---> Running in a35fc643b7ae 22:21:30 Removing intermediate container a35fc643b7ae 22:21:30 ---> f8ddf98b5d50 22:21:30 Step 10/25 : COPY . . 22:21:30 ---> c6a63c3747ca 22:21:30 Step 11/25 : RUN ${MAKE} 22:21:30 ---> Running in b5f730901717 22:21:30 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 22:21:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6945 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] { [Pipeline] ws 22:21:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:21:43 The recommended git tool is: git 22:21:48 using credential edgex-jenkins-ssh 22:21:48 Cloning the remote Git repository 22:21:48 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:21:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:21:48 > git init /w/workspace/device-sdk-go/1 # timeout=10 22:21:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:21:49 > git --version # timeout=10 22:21:49 > git --version # 'git version 2.25.1' 22:21:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:49 Verifying host key using known hosts file 22:21:49 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. 22:21:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:21:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:51 Removing intermediate container b5f730901717 22:21:51 ---> a55a77d7c11b 22:21:51 Step 12/25 : FROM alpine:3.16 22:21:51 3.16: Pulling from library/alpine 22:21:51 213ec9aee27d: Pulling fs layer 22:21:52 213ec9aee27d: Download complete 22:21:52 Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 22:21:52 213ec9aee27d: Pull complete 22:21:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:21:52 Status: Downloaded newer image for alpine:3.16 22:21:52 ---> 9c6f07244728 22:21:52 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:21:52 ---> Running in 6aabfa6ebbfa 22:21:52 Removing intermediate container 6aabfa6ebbfa 22:21:52 ---> d0a7f8934c16 22:21:52 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:21:52 ---> Running in b5320193b173 22:21:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:21:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:51 Verifying host key using known hosts file 22:21:51 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. 22:21:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:21:52 > git config core.sparsecheckout # timeout=10 22:21:52 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 22:21:52 > git remote # timeout=10 22:21:52 > git config --get remote.origin.url # timeout=10 22:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:52 Verifying host key using known hosts file 22:21:52 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. 22:21:52 > git merge 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 22:21:52 Merge succeeded, producing 94ac6d2266df18c991779d09973ee9ae491e9f24 22:21:52 Checking out Revision 94ac6d2266df18c991779d09973ee9ae491e9f24 (PR-1226) 22:21:52 Removing intermediate container b5320193b173 22:21:52 ---> f67c58611f31 22:21:52 Step 15/25 : RUN apk add --update --no-cache zeromq 22:21:53 ---> Running in 8457fdb2f8b0 22:21:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:21:52 > git rev-parse HEAD^{commit} # timeout=10 22:21:52 > git config core.sparsecheckout # timeout=10 22:21:52 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 22:21:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:21:54 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:21:54 (2/5) Installing libsodium (1.0.18-r0) 22:21:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:21:54 (4/5) Installing libzmq (4.3.4-r0) 22:21:54 (5/5) Installing zeromq (4.3.4-r0) 22:21:54 Executing busybox-1.35.0-r17.trigger 22:21:54 OK: 8 MiB in 19 packages 22:21:55 Removing intermediate container 8457fdb2f8b0 22:21:55 ---> d60ddd65888a 22:21:55 Step 16/25 : WORKDIR / 22:21:55 ---> Running in df418314e0ae 22:21:55 Removing intermediate container df418314e0ae 22:21:55 ---> 4238560daeb6 22:21:55 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:21:55 ---> b23a886eb240 22:21:55 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:21:56 Commit message: "feat: Enable service metrics" 22:21:56 > git --version # timeout=10 22:21:56 > git --version # 'git version 2.25.1' 22:21:56 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 22:21:56 ---> f1505372bc42 22:21:56 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:21:56 ---> 770b2ead4d11 22:21:56 Step 20/25 : EXPOSE 59999 22:21:56 ---> Running in d0de5be8adc3 22:21:56 Removing intermediate container d0de5be8adc3 22:21:56 ---> 32cfd9b7129a 22:21:56 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:21:56 ---> Running in 60d4b4f5a880 22:21:56 Removing intermediate container 60d4b4f5a880 22:21:56 ---> ef1e619134c7 22:21:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:21:56 ---> Running in b5253ece20c4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:56 Removing intermediate container b5253ece20c4 22:21:56 ---> 4d324aacab7c 22:21:56 Step 23/25 : LABEL arch=amd64 22:21:56 ---> Running in 307c58c12cf8 22:21:56 Removing intermediate container 307c58c12cf8 22:21:56 ---> 4c1e50aeca63 22:21:56 Step 24/25 : LABEL git_sha=94ac6d2266df18c991779d09973ee9ae491e9f24 22:21:56 ---> Running in ddbf3f51eb80 22:21:56 Removing intermediate container ddbf3f51eb80 22:21:56 ---> a796f4d8cff9 22:21:56 Step 25/25 : LABEL version=0.0.0 22:21:56 ---> Running in c1ae951e3666 22:21:57 Removing intermediate container c1ae951e3666 22:21:57 ---> 18068e13def5 22:21:57 [Warning] One or more build-args [ARCH] were not consumed 22:21:57 Successfully built 18068e13def5 22:21:57 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:21:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:21:57 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:57 Dload Upload Total Spent Left Speed 22:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 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 [Pipeline] sh 22:21:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:21:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:58 22:21:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:21:58 + sudo tee /etc/docker/daemon.new 22:21:58 { 22:21:58 "registry-mirrors": [ 22:21:58 "https://nexus3.edgexfoundry.org:10001" 22:21:58 ], 22:21:58 "bip": "10.250.0.254/24", 22:21:58 "hosts": [ 22:21:58 "tcp://0.0.0.0:5555", 22:21:58 "unix:///var/run/docker.sock" 22:21:58 ], 22:21:58 "mtu": 1458, 22:21:58 "selinux-enabled": true, 22:21:58 "seccomp-profile": "/etc/docker/seccomp.json" 22:21:58 } [Pipeline] sh 22:21:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:58 latest: Pulling from edgex-lftools-log-publisher 22:21:58 5eb5b503b376: Pulling fs layer 22:21:58 5c69ac0246d0: Pulling fs layer 22:21:58 ec43610c2a17: Pulling fs layer 22:21:58 3a2ae6a8a46f: Pulling fs layer 22:21:58 33b1e0a273af: Pulling fs layer 22:21:58 5d3b04190fa2: Pulling fs layer 22:21:58 2f39f015ded8: Pulling fs layer 22:21:58 3a2ae6a8a46f: Waiting 22:21:58 33b1e0a273af: Waiting 22:21:58 5d3b04190fa2: Waiting 22:21:58 2f39f015ded8: Waiting 22:21:58 5c69ac0246d0: Verifying Checksum 22:21:58 5c69ac0246d0: Download complete 22:21:58 3a2ae6a8a46f: Verifying Checksum 22:21:58 3a2ae6a8a46f: Download complete 22:21:58 33b1e0a273af: Verifying Checksum 22:21:58 33b1e0a273af: Download complete 22:21:58 5d3b04190fa2: Download complete 22:21:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:21:58 ec43610c2a17: Verifying Checksum 22:21:58 ec43610c2a17: Download complete 22:21:58 5eb5b503b376: Verifying Checksum 22:21:58 5eb5b503b376: Download complete 22:21:59 + sudo service docker restart 22:21:59 2f39f015ded8: Download complete 22:21:59 5eb5b503b376: Pull complete 22:21:59 5c69ac0246d0: Pull complete 22:22:00 ec43610c2a17: Pull complete 22:22:00 3a2ae6a8a46f: Pull complete 22:22:00 33b1e0a273af: Pull complete 22:22:00 5d3b04190fa2: Pull complete 22:22:04 2f39f015ded8: Pull complete 22:22:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:22:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:05 prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container 22:22:05 $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@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 22:22:07 $ docker top 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:07 ---> job-cost.sh 22:22:07 lf-activate-venv: SKIPPING 22:22:07 INFO: No Stack... 22:22:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:08 INFO: Archiving Costs [Pipeline] sh 22:22:08 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/cost.csv 22:22:08 cut -d, -f6 [Pipeline] lock 22:22:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] 22:22:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] did not exist. Created. 22:22:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:22:09 Stashed 1 file(s) [Pipeline] } 22:22:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:09 $ docker stop --time=1 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 22:22:10 $ docker rm -f 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:17 provisioning config files... 22:22:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5848448892771860726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:17 ---> docker-login.sh 22:22:17 nexus3.edgexfoundry.org:10001 22:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:18 Configure a credential helper to remove this warning. See 22:22:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:18 22:22:18 Login Succeeded 22:22:18 nexus3.edgexfoundry.org:10002 22:22:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:18 Configure a credential helper to remove this warning. See 22:22:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:18 22:22:18 Login Succeeded 22:22:18 nexus3.edgexfoundry.org:10003 22:22:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:19 Configure a credential helper to remove this warning. See 22:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:19 22:22:19 Login Succeeded 22:22:19 nexus3.edgexfoundry.org:10004 22:22:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:19 Configure a credential helper to remove this warning. See 22:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:19 22:22:19 Login Succeeded 22:22:19 docker.io 22:22:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:19 Configure a credential helper to remove this warning. See 22:22:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:19 22:22:19 Login Succeeded 22:22:19 ---> docker-login.sh ends [Pipeline] } 22:22:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:22:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:20 ========================================================= 22:22:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:22:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:20 + 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 . 22:22:21 Sending build context to Docker daemon 5.392MB 22:22:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:22:21 Step 2/11 : FROM ${BASE} AS builder 22:22:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:22:21 b3c136eddcbf: Pulling fs layer 22:22:21 c0a3192eca97: Pulling fs layer 22:22:21 a050256f5b6f: Pulling fs layer 22:22:21 656be50a0ddc: Pulling fs layer 22:22:21 2bbca73fdf42: Pulling fs layer 22:22:21 f607e4fc86c3: Pulling fs layer 22:22:21 4d572c569a2c: Pulling fs layer 22:22:21 fcf976331f73: Pulling fs layer 22:22:21 4d572c569a2c: Waiting 22:22:21 f607e4fc86c3: Waiting 22:22:21 fcf976331f73: Waiting 22:22:21 2bbca73fdf42: Waiting 22:22:21 656be50a0ddc: Waiting 22:22:21 a050256f5b6f: Verifying Checksum 22:22:21 a050256f5b6f: Download complete 22:22:21 c0a3192eca97: Verifying Checksum 22:22:21 c0a3192eca97: Download complete 22:22:21 2bbca73fdf42: Verifying Checksum 22:22:21 2bbca73fdf42: Download complete 22:22:21 f607e4fc86c3: Verifying Checksum 22:22:21 f607e4fc86c3: Download complete 22:22:21 b3c136eddcbf: Verifying Checksum 22:22:21 b3c136eddcbf: Download complete 22:22:22 b3c136eddcbf: Pull complete 22:22:22 fcf976331f73: Verifying Checksum 22:22:22 fcf976331f73: Download complete 22:22:22 c0a3192eca97: Pull complete 22:22:23 a050256f5b6f: Pull complete 22:22:23 4d572c569a2c: Verifying Checksum 22:22:23 4d572c569a2c: Download complete 22:22:24 656be50a0ddc: Verifying Checksum 22:22:24 656be50a0ddc: Download complete 22:22:36 656be50a0ddc: Pull complete 22:22:36 2bbca73fdf42: Pull complete 22:22:36 f607e4fc86c3: Pull complete 22:22:43 4d572c569a2c: Pull complete 22:22:44 fcf976331f73: Pull complete 22:22:44 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 22:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:22:44 ---> 3970a7415f9e 22:22:44 Step 3/11 : ARG MAKE=make build 22:22:46 ---> Running in 85a1a5250179 22:22:46 Removing intermediate container 85a1a5250179 22:22:46 ---> 8d460b0f477c 22:22:46 Step 4/11 : WORKDIR /device-sdk-go 22:22:46 ---> Running in 89e729ddcaa7 22:22:46 Removing intermediate container 89e729ddcaa7 22:22:46 ---> e3c000731421 22:22:46 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:22:47 ---> Running in efdbd3d0135f 22:22:47 Removing intermediate container efdbd3d0135f 22:22:47 ---> 3c13e01987f5 22:22:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:47 ---> Running in 3f512b1fdd16 22:22:49 Removing intermediate container 3f512b1fdd16 22:22:49 ---> a7982f127973 22:22:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:22:49 ---> Running in fcc111a56cca 22:22:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:22:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:22:51 OK: 221 MiB in 51 packages 22:22:52 Removing intermediate container fcc111a56cca 22:22:52 ---> afc640876c93 22:22:52 Step 8/11 : COPY go.mod vendor* ./ 22:22:52 ---> 0c359701b703 22:22:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:52 ---> Running in f540807ed370 22:23:49 Removing intermediate container f540807ed370 22:23:49 ---> 576729e2081d 22:23:49 Step 10/11 : COPY . . 22:23:49 ---> b601a2793aa4 22:23:49 Step 11/11 : RUN ${MAKE} 22:23:49 ---> Running in 9b2b43eb8330 22:23:49 noop 22:23:49 Removing intermediate container 9b2b43eb8330 22:23:49 ---> 85e42808884e 22:23:49 Successfully built 85e42808884e 22:23:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:49 + docker inspect -f . ci-base-image-arm64 22:23:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:50 prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container 22:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:51 $ docker top 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:52 + go version 22:23:52 go version go1.18.3 linux/arm64 [Pipeline] } 22:23:52 $ docker stop --time=1 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 22:23:53 $ docker rm -f 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:54 + docker inspect -f . ci-base-image-arm64 22:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:54 prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container 22:23:55 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:56 $ docker top c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 22:23:57 + make test 22:23:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:24:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:26:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements 22:26:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.485s coverage: 78.9% of statements 22:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 22:26:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.788s coverage: 60.0% of statements 22:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:26:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:26:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.853s coverage: 54.4% of statements 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:26:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.715s coverage: 65.1% of statements 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:26:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.978s coverage: 89.2% of statements 22:26:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:26:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.232s coverage: 4.7% of statements 22:26:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:26:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:26:37 GO111MODULE=on go vet ./... 22:28:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:28:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:28:13 ./bin/test-attribution-txt.sh 22:28:13 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 22:28:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:28:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:28:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:28:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:28:13 $ docker stop --time=1 c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa 22:28:15 $ docker rm -f c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa [Pipeline] // withDockerContainer [Pipeline] sh 22:28:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:28:17 Warning: overwriting stash ‘coverage-report’ 22:28:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:28:18 + ls -al . 22:28:18 total 272 22:28:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 22:23 . 22:28:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:21 .. 22:28:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 22:21 .dockerignore 22:28:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 22:21 .git 22:28:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:21 .github 22:28:18 -rw-rw-r-- 1 jenkins jenkins 131 Oct 3 22:21 .gitignore 22:28:18 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 22:21 .golangci.yml 22:28:18 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 3 22:21 CHANGELOG.md 22:28:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 22:21 GOVERNANCE.md 22:28:18 -rw-rw-r-- 1 jenkins jenkins 880 Oct 3 22:21 Jenkinsfile 22:28:18 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 22:21 LICENSE 22:28:18 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 3 22:21 Makefile 22:28:18 -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 22:21 OWNERS.md 22:28:18 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 3 22:21 README.md 22:28:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 22:20 VERSION 22:28:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:21 bin 22:28:18 -rw-r--r-- 1 jenkins jenkins 101009 Oct 3 22:26 coverage.out 22:28:18 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 22:21 example 22:28:18 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 3 22:21 go.mod 22:28:18 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 3 22:21 go.sum 22:28:18 drwxrwxr-x 14 jenkins jenkins 4096 Oct 3 22:21 internal 22:28:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 22:21 openapi 22:28:18 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 22:21 pkg 22:28:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:21 snap 22:28:18 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:19 + 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=94ac6d2266df18c991779d09973ee9ae491e9f24 --label arch=arm64 --label version=0.0.0 . 22:28:19 Sending build context to Docker daemon 5.494MB 22:28:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:28:19 Step 2/25 : FROM ${BASE} AS builder 22:28:19 ---> 85e42808884e 22:28:19 Step 3/25 : ARG MAKE=make build 22:28:19 ---> Running in e7064da0340e 22:28:19 Removing intermediate container e7064da0340e 22:28:19 ---> ef24f9c4542b 22:28:19 Step 4/25 : WORKDIR /device-sdk-go 22:28:19 ---> Running in 3fbb6135dcf7 22:28:20 Removing intermediate container 3fbb6135dcf7 22:28:20 ---> 48739e7eef9b 22:28:20 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:28:20 ---> Running in c9ac73851651 22:28:20 Removing intermediate container c9ac73851651 22:28:20 ---> df01a7c5b61a 22:28:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:28:20 ---> Running in e8a7252ce0da 22:28:22 Removing intermediate container e8a7252ce0da 22:28:22 ---> 48284bd55557 22:28:22 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:28:22 ---> Running in ad55f7be1d63 22:28:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:28:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:28:25 OK: 221 MiB in 51 packages 22:28:26 Removing intermediate container ad55f7be1d63 22:28:26 ---> 93a5ae352957 22:28:26 Step 8/25 : COPY go.mod vendor* ./ 22:28:26 ---> 67ab448d1351 22:28:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:26 ---> Running in c4368b8752ae 22:28:28 Removing intermediate container c4368b8752ae 22:28:28 ---> e1413ac0bd8b 22:28:28 Step 10/25 : COPY . . 22:28:29 ---> 29019bf54ee6 22:28:29 Step 11/25 : RUN ${MAKE} 22:28:29 ---> Running in 01e9ca9b395c 22:28:30 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 22:30:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:30:36 Removing intermediate container 01e9ca9b395c 22:30:36 ---> 599bb1d5ee8c 22:30:36 Step 12/25 : FROM alpine:3.16 22:30:36 3.16: Pulling from library/alpine 22:30:36 9b18e9b68314: Pulling fs layer 22:30:36 9b18e9b68314: Verifying Checksum 22:30:36 9b18e9b68314: Download complete 22:30:37 9b18e9b68314: Pull complete 22:30:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:30:37 Status: Downloaded newer image for alpine:3.16 22:30:37 ---> a6215f271958 22:30:37 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:30:37 ---> Running in 7451f40055a6 22:30:37 Removing intermediate container 7451f40055a6 22:30:37 ---> 1325590e2b1b 22:30:37 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:30:37 ---> Running in dc512e5ae9da 22:30:39 Removing intermediate container dc512e5ae9da 22:30:39 ---> ce1c602e8ae1 22:30:39 Step 15/25 : RUN apk add --update --no-cache zeromq 22:30:39 ---> Running in befb77af164d 22:30:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:30:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:30:42 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:30:42 (2/5) Installing libsodium (1.0.18-r0) 22:30:42 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:30:42 (4/5) Installing libzmq (4.3.4-r0) 22:30:42 (5/5) Installing zeromq (4.3.4-r0) 22:30:42 Executing busybox-1.35.0-r17.trigger 22:30:42 OK: 8 MiB in 19 packages 22:30:43 Removing intermediate container befb77af164d 22:30:43 ---> ad3324351930 22:30:43 Step 16/25 : WORKDIR / 22:30:43 ---> Running in 28154f6cb151 22:30:43 Removing intermediate container 28154f6cb151 22:30:43 ---> 309e8ec7d9c8 22:30:43 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:30:44 ---> 55e3f59b3523 22:30:44 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:30:45 ---> ecb82b1742f2 22:30:45 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:30:46 ---> 7f8d990e76ae 22:30:46 Step 20/25 : EXPOSE 59999 22:30:46 ---> Running in d4df16456f6f 22:30:46 Removing intermediate container d4df16456f6f 22:30:46 ---> 27a96121d8c2 22:30:46 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:30:46 ---> Running in 04c0fec5ec2f 22:30:46 Removing intermediate container 04c0fec5ec2f 22:30:46 ---> 42e0b7639dbf 22:30:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:30:46 ---> Running in b9cc807f3834 22:30:47 Removing intermediate container b9cc807f3834 22:30:47 ---> 549ff2e1c359 22:30:47 Step 23/25 : LABEL arch=arm64 22:30:47 ---> Running in 5aaa3534475e 22:30:47 Removing intermediate container 5aaa3534475e 22:30:47 ---> 654d9070ac09 22:30:47 Step 24/25 : LABEL git_sha=94ac6d2266df18c991779d09973ee9ae491e9f24 22:30:47 ---> Running in 3e9d988bc6a1 22:30:47 Removing intermediate container 3e9d988bc6a1 22:30:47 ---> 4c36a80c2683 22:30:47 Step 25/25 : LABEL version=0.0.0 22:30:47 ---> Running in c3b3f06dec4a 22:30:48 Removing intermediate container c3b3f06dec4a 22:30:48 ---> b201bd6655c2 22:30:48 [Warning] One or more build-args [ARCH] were not consumed 22:30:48 Successfully built b201bd6655c2 22:30:48 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 22:30:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:49 22:30:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:49 arm64: Pulling from edgex-lftools-log-publisher 22:30:49 8998bd30e6a1: Pulling fs layer 22:30:49 04944245beec: Pulling fs layer 22:30:49 699f458cf7ca: Pulling fs layer 22:30:49 765212b225bb: Pulling fs layer 22:30:49 f23df028b6ca: Pulling fs layer 22:30:49 d65c8cfc05b1: Pulling fs layer 22:30:49 2437ff75d9bd: Pulling fs layer 22:30:49 f23df028b6ca: Waiting 22:30:49 d65c8cfc05b1: Waiting 22:30:49 2437ff75d9bd: Waiting 22:30:49 765212b225bb: Waiting 22:30:49 04944245beec: Verifying Checksum 22:30:49 04944245beec: Download complete 22:30:49 765212b225bb: Verifying Checksum 22:30:49 765212b225bb: Download complete 22:30:49 f23df028b6ca: Verifying Checksum 22:30:49 f23df028b6ca: Download complete 22:30:49 d65c8cfc05b1: Verifying Checksum 22:30:49 d65c8cfc05b1: Download complete 22:30:49 699f458cf7ca: Verifying Checksum 22:30:49 699f458cf7ca: Download complete 22:30:50 8998bd30e6a1: Verifying Checksum 22:30:50 8998bd30e6a1: Download complete 22:30:52 2437ff75d9bd: Download complete 22:30:54 8998bd30e6a1: Pull complete 22:30:54 04944245beec: Pull complete 22:30:55 699f458cf7ca: Pull complete 22:30:55 765212b225bb: Pull complete 22:30:56 f23df028b6ca: Pull complete 22:30:56 d65c8cfc05b1: Pull complete 22:31:11 2437ff75d9bd: Pull complete 22:31:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:31:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:12 prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container 22:31:12 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:31:14 $ docker top 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:15 ---> job-cost.sh 22:31:15 lf-activate-venv: SKIPPING 22:31:15 INFO: No Stack... 22:31:16 INFO: Retrieving Pricing Info for: v3-standard-4 22:31:17 INFO: Archiving Costs [Pipeline] sh 22:31:17 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 22:31:17 + cut -d, -f6 [Pipeline] lock 22:31:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] 22:31:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] did not exist. Created. 22:31:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:18 /w/workspace/device-sdk-go/1@tmp/durable-429fd064/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:31:18 + echo total: 0.10999999940395355 [Pipeline] stash 22:31:18 Warning: overwriting stash ‘stack-cost’ 22:31:18 Stashed 1 file(s) [Pipeline] } 22:31:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:18 $ docker stop --time=1 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 22:31:20 $ docker rm -f 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:31:21 provisioning config files... 22:31:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config3555368958675690300tmp [Pipeline] { [Pipeline] sh 22:31:21 + set +x 22:31:21 + curl -s https://codecov.io/bash 22:31:21 + bash -s -- 22:31:21 22:31:21 _____ _ 22:31:21 / ____| | | 22:31:21 | | ___ __| | ___ ___ _____ __ 22:31:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:31:21 | |___| (_) | (_| | __/ (_| (_) \ V / 22:31:21 \_____\___/ \__,_|\___|\___\___/ \_/ 22:31:21 Bash-1.0.6 22:31:21 22:31:21 22:31:21 ==> git version 2.25.1 found 22:31:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:31:21 Release-Date: 2020-01-08 22:31:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:31:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:31:21 ==> Jenkins CI detected. 22:31:21 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1226 22:31:21 project root: . 22:31:21 --> token set from env 22:31:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:31:21 ==> Running gcov in . (disable via -X gcov) 22:31:21 ==> Python coveragepy not found 22:31:21 ==> Searching for coverage reports in: 22:31:21 + . 22:31:21 -> Found 1 reports 22:31:21 ==> Detecting git/mercurial file structure 22:31:21 ==> Reading reports 22:31:21 + ./coverage.out bytes=101009 22:31:21 ==> Appending adjustments 22:31:21 https://docs.codecov.io/docs/fixing-reports 22:31:22 + Found adjustments 22:31:22 ==> Gzipping contents 22:31:22 16K /tmp/codecov.bFT5pZ.gz 22:31:22 ==> Uploading reports 22:31:22 url: https://codecov.io 22:31:22 query: branch=PR-1226&commit=94ac6d2266df18c991779d09973ee9ae491e9f24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= 22:31:22 -> Pinging Codecov 22:31:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1226&commit=94ac6d2266df18c991779d09973ee9ae491e9f24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= 22:31:23 -> Uploading to 22:31:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/7E55EF52A471D76F132DFD9A03CDDE97/94ac6d2266df18c991779d09973ee9ae491e9f24/ea9147fa-1ab9-4252-a9c9-9d6d66bca04e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T223122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79ec7dc091cbdf89f4b741e44485e0134ef6f1c1d4fe1a75591daa55edc96237 22:31:23 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:23 Dload Upload Total Spent Left Speed 22:31:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14585 0 0 100 14585 0 62596 --:--:-- --:--:-- --:--:-- 62596 22:31:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] } 22:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:31:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives ] 22:31:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 22:31:25 total 16 22:31:25 drwxr-xr-x 3 root root 4096 Oct 3 22:22 . 22:31:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 22:22 .. 22:31:25 drwxr-xr-x 2 root root 4096 Oct 3 22:22 cost 22:31:25 -rw-r--r-- 1 root root 86 Oct 3 22:22 cost.csv 22:31:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 22:31:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 22:31:25 total 16 22:31:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 22:22 . 22:31:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 22:22 .. 22:31:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 22:22 cost 22:31:25 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:31:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:31:26 ---> package-listing.sh 22:31:26 ++ facter osfamily 22:31:26 ++ tr '[:upper:]' '[:lower:]' 22:31:26 + OS_FAMILY=debian 22:31:26 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1226 22:31:26 + START_PACKAGES=/tmp/packages_start.txt 22:31:26 + END_PACKAGES=/tmp/packages_end.txt 22:31:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:31:26 + PACKAGES=/tmp/packages_start.txt 22:31:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' 22:31:26 + PACKAGES=/tmp/packages_end.txt 22:31:26 + case "${OS_FAMILY}" in 22:31:26 + dpkg -l 22:31:26 + grep '^ii' 22:31:26 + '[' -f /tmp/packages_start.txt ']' 22:31:26 + '[' -f /tmp/packages_end.txt ']' 22:31:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:31:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' 22:31:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ 22:31:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [Pipeline] echo 22:31:26 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-1226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:31:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:27 prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container 22:31:27 $ 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-1226/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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@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 22:31:27 $ docker top 9350b8e4da2640ec8c5ef72faa119f6031c0f89d4aba5b0e0ce0e5099ecf57d1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:28 + touch /tmp/pre-build-complete [Pipeline] sh 22:31:28 + mkdir -p /var/log/sysstat [Pipeline] sh 22:31:28 + ls /var/log/sa-host 22:31:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:29 provisioning config files... 22:31:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config125962634706585618tmp [Pipeline] { [Pipeline] echo 22:31:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:31:29 ---> create-netrc.sh [Pipeline] } 22:31:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:31:29 ---> python-tools-install.sh [Pipeline] echo 22:31:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:31:30 ---> sudo-logs.sh 22:31:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:31:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:31:30 ---> job-cost.sh 22:31:30 lf-activate-venv: SKIPPING 22:31:30 DEBUG: total: 0.2199999988079071 22:31:30 INFO: Retrieving Stack Cost... 22:31:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:31 INFO: Archiving Costs [Pipeline] echo 22:31:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:31:31 ---> logs-deploy.sh 22:31:31 lf-activate-venv: SKIPPING 22:31:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1226/1 22:31:31 INFO: archiving workspace using pattern(s): 22:31:32 Archives upload complete. 22:31:32 INFO: archiving logs to Nexus